/**
 * RESPONSIVE.CSS - Media Queries
 * Mobile-First Breakpoint Optimizations
 * @version 2.0
 */

/* ============================================ */
/* TABLET - 1024px */
/* ============================================ */

@media (max-width: 1024px) {
    .header-cta {
        display: none;
    }
}

/* ============================================ */
/* TABLET - 768px */
/* ============================================ */

@media (max-width: 768px) {
    /* Typography Adjustments */
    body {
        font-size: 15px;
    }
    
    /* Container */
    .container {
        padding: 0 16px;
    }
    
    /* Sections */
    section {
        padding: 50px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    /* Header */
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .logo img {
        height: 40px;
    }
    
    /* Mobile Sticky Bar - Always Visible */
    .mobile-sticky-bar {
        display: flex;
    }
    
    body {
        padding-bottom: 60px;
    }
    
    /* Hide Floating WhatsApp on Mobile */
    .floating-whatsapp {
        display: none !important;
    }
    
    /* Scroll to Top - Adjust Position */
    .scroll-to-top {
        bottom: 75px;
        right: 15px;
        width: 40px;
        height: 40px;
    }
    
    .scroll-to-top svg {
        width: 20px;
        height: 20px;
    }
    
    /* Hero Section */
    .hero {
        min-height: 500px;
        padding: 50px 0 40px;
    }
    
    .hero-title {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.05rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-stats {
        gap: 20px;
        justify-content: center;
        margin-bottom: 1.5rem;
        padding-top: 1.5rem;
    }
    
    .stat-item {
        min-width: 70px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .hero-badges {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-bottom: 1.5rem;
    }
    
    .badge-item {
        padding: 10px 12px;
        font-size: 0.85rem;
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }
    
    .badge-item svg {
        width: 18px;
        height: 18px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    /* Grids */
    .services-grid,
    .why-us-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    /* Cards */
    .service-card,
    .why-us-item,
    .testimonial-card {
        padding: 25px 20px;
    }
    
    .service-icon,
    .why-us-icon {
        width: 70px;
        height: 70px;
    }
    
    .service-icon svg,
    .why-us-icon svg {
        width: 36px;
        height: 36px;
    }
    
    .sidebar-card {
        padding: 25px 20px;
        margin-bottom: 25px;
    }
    
    /* FAQ */
    .faq-question {
        padding: 14px 45px 14px 14px;
        font-size: 0.95rem;
    }
    
    .faq-icon {
        right: 14px;
        width: 20px;
        height: 20px;
    }
    
    .faq-answer p {
        padding: 0 14px 14px;
        font-size: 0.9rem;
    }
    
    /* Footer */
    .footer {
        padding: 40px 0 0;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 30px;
    }
    
    .footer-brand {
        font-size: 1.375rem;
        margin-bottom: 12px;
    }
    
    .footer-about,
    .footer-links a,
    .footer-contact-item {
        font-size: 0.95rem;
    }
    
    .footer-title {
        font-size: 1.125rem;
        margin-bottom: 16px;
    }
    
    .footer-iskur {
        padding: 20px 16px;
        margin-bottom: 30px;
    }
    
    .iskur-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .iskur-icon svg {
        width: 40px;
        height: 40px;
    }
    
    .iskur-title {
        font-size: 1rem;
        margin-bottom: 8px;
    }
    
    .iskur-text p {
        font-size: 0.95rem;
    }
    
    .footer-bottom {
        padding: 20px 0;
    }
    
    .copyright {
        font-size: 0.875rem;
    }
    
    /* Content Pages */
    .page-hero {
        padding: 40px 0 30px;
    }
    
    .page-title {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }
    
    .page-subtitle {
        font-size: 1.05rem;
    }
    
    .breadcrumb {
        font-size: 0.85rem;
        margin-bottom: 16px;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .content-sidebar {
        position: static;
    }
    
    .content-block {
        margin-bottom: 40px;
    }
    
    .content-block h2 {
        font-size: 1.5rem;
        margin-bottom: 1.25rem;
    }
    
    .content-block h3 {
        font-size: 1.125rem;
        margin: 1.25rem 0 0.75rem;
    }
    
    .advantages-list li {
        flex-direction: column;
        gap: 10px;
        padding: 16px;
        margin-bottom: 12px;
    }
    
    .advantages-list svg {
        width: 22px;
        height: 22px;
    }
    
    .advantages-list strong {
        font-size: 1.0625rem;
        margin-bottom: 6px;
    }
    
    .advantages-list p {
        font-size: 0.95rem;
    }
}

/* ============================================ */
/* SMALL MOBILE - 480px */
/* ============================================ */

@media (max-width: 480px) {
    /* Base Typography */
    body {
        font-size: 14px;
    }
    
    /* Container */
    .container {
        padding: 0 12px;
    }
    
    /* Sections */
    section {
        padding: 40px 0;
    }
    
    .section-header {
        margin-bottom: 35px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-description {
        font-size: 0.95rem;
    }
    
    /* Logo */
    .logo img {
        height: 36px;
    }
    
    /* Hero */
    .hero {
        min-height: 450px;
        padding: 40px 0 30px;
    }
    
    .hero-title {
        font-size: 1.5rem;
        margin-bottom: 0.875rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 0.625rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 1.25rem;
    }
    
    .hero-stats {
        gap: 15px;
        margin-bottom: 1.25rem;
        padding-top: 1.25rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .hero-badges {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 1.25rem;
    }
    
    .badge-item {
        padding: 10px 12px;
        font-size: 0.8rem;
        flex-direction: row;
        justify-content: center;
        gap: 6px;
    }
    
    .badge-item svg {
        width: 16px;
        height: 16px;
    }
    
    .cta-buttons {
        gap: 10px;
    }
    
    /* Buttons */
    .btn {
        padding: 12px 18px;
        font-size: 0.9rem;
        min-height: 44px;
    }
    
    .btn-lg {
        padding: 14px 22px;
        font-size: 0.95rem;
        min-height: 48px;
    }
    
    /* Cards */
    .service-card,
    .why-us-item,
    .testimonial-card,
    .sidebar-card {
        padding: 20px 16px;
    }
    
    .service-icon,
    .why-us-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-icon svg,
    .why-us-icon svg {
        width: 32px;
        height: 32px;
    }
    
    .service-title {
        font-size: 1.0625rem;
        margin-bottom: 10px;
    }
    
    .service-description {
        font-size: 0.9rem;
        margin-bottom: 14px;
    }
    
    .service-link {
        font-size: 0.9rem;
    }
    
    .why-us-item h3 {
        font-size: 1.0625rem;
        margin-bottom: 8px;
    }
    
    .why-us-item p {
        font-size: 0.9rem;
    }
    
    .testimonial-stars svg {
        width: 16px;
        height: 16px;
    }
    
    .testimonial-text {
        font-size: 0.9rem;
        margin-bottom: 16px;
    }
    
    .testimonial-author strong {
        font-size: 0.95rem;
    }
    
    .testimonial-author span {
        font-size: 0.825rem;
    }
    
    /* FAQ */
    .faq-item {
        margin-bottom: 10px;
    }
    
    .faq-question {
        padding: 12px 42px 12px 12px;
        font-size: 0.9rem;
    }
    
    .faq-icon {
        right: 12px;
        width: 18px;
        height: 18px;
    }
    
    .faq-answer p {
        padding: 0 12px 12px;
        font-size: 0.875rem;
    }
    
    /* Footer */
    .footer {
        padding: 30px 0 0;
    }
    
    .footer-main {
        gap: 25px;
        margin-bottom: 25px;
    }
    
    .footer-brand {
        font-size: 1.25rem;
        margin-bottom: 10px;
    }
    
    .footer-about {
        font-size: 0.9rem;
        margin-bottom: 14px;
    }
    
    .footer-title {
        font-size: 1.0625rem;
        margin-bottom: 14px;
    }
    
    .footer-links li {
        margin-bottom: 8px;
    }
    
    .footer-links a {
        font-size: 0.9rem;
    }
    
    .footer-contact-item {
        font-size: 0.9rem;
        margin-bottom: 14px;
        gap: 10px;
    }
    
    .footer-contact-item svg {
        width: 16px;
        height: 16px;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
    }
    
    .social-link svg {
        width: 18px;
        height: 18px;
    }
    
    .footer-iskur {
        padding: 18px 14px;
        margin-bottom: 25px;
    }
    
    .iskur-icon svg {
        width: 36px;
        height: 36px;
    }
    
    .iskur-title {
        font-size: 0.95rem;
        margin-bottom: 6px;
    }
    
    .iskur-text p {
        font-size: 0.875rem;
    }
    
    .footer-bottom {
        padding: 18px 0;
    }
    
    .copyright {
        font-size: 0.8rem;
    }
    
    /* Content Pages */
    .page-hero {
        padding: 35px 0 25px;
    }
    
    .page-title {
        font-size: 1.5rem;
        margin-bottom: 0.625rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .breadcrumb {
        font-size: 0.8rem;
        margin-bottom: 14px;
    }
    
    .content-block {
        margin-bottom: 35px;
    }
    
    .content-block h2 {
        font-size: 1.375rem;
        margin-bottom: 1rem;
    }
    
    .content-block h3 {
        font-size: 1.0625rem;
        margin: 1rem 0 0.625rem;
    }
    
    .content-block h3 svg {
        width: 16px;
        height: 16px;
    }
    
    .content-block p {
        font-size: 0.9rem;
    }
    
    .advantages-list li {
        padding: 14px;
        margin-bottom: 10px;
    }
    
    .advantages-list svg {
        width: 20px;
        height: 20px;
    }
    
    .advantages-list strong {
        font-size: 1rem;
        margin-bottom: 5px;
    }
    
    .advantages-list p {
        font-size: 0.875rem;
    }
    
    .values-list li {
        padding: 10px 0;
    }
    
    .values-list strong {
        font-size: 0.95rem;
        margin-bottom: 5px;
    }
    
    .values-list svg {
        width: 16px;
        height: 16px;
    }
    
    .contact-info li {
        margin-bottom: 10px;
        gap: 8px;
    }
    
    .contact-info svg {
        width: 16px;
        height: 16px;
    }
    
    .contact-info strong,
    .contact-info a {
        font-size: 0.9rem;
    }
    
    .services-links a {
        padding: 8px 10px;
        font-size: 0.9rem;
    }
    
    .services-links a:hover {
        padding-left: 14px;
    }
    
    /* Mobile Menu */
    .mobile-menu-content {
        width: 280px;
    }
    
    .mobile-menu-header {
        padding: 14px;
    }
    
    .mobile-menu-logo img {
        height: 36px;
    }
    
    .mobile-menu-close {
        width: 36px;
        height: 36px;
    }
    
    .mobile-nav-link {
        padding: 14px 14px;
        font-size: 0.95rem;
    }
    
    .mobile-submenu-link {
        padding: 10px 14px 10px 42px;
        font-size: 0.875rem;
    }
    
    .mobile-submenu-link:hover {
        padding-left: 46px;
    }
    
    .mobile-menu-footer {
        padding: 14px;
    }
    
    .mobile-menu-footer .btn {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }
    
    /* Mobile Sticky Bar */
    .sticky-btn {
        padding: 14px 8px;
        font-size: 0.875rem;
        gap: 6px;
    }
    
    .sticky-btn svg {
        width: 18px;
        height: 18px;
    }
    
    .sticky-btn span {
        font-size: 0.8rem;
    }
    
    /* Floating Buttons */
    .scroll-to-top {
        width: 38px;
        height: 38px;
        bottom: 70px;
        right: 12px;
    }
    
    .scroll-to-top svg {
        width: 18px;
        height: 18px;
    }
}

/* ============================================ */
/* EXTRA SMALL - 360px */
/* ============================================ */

@media (max-width: 360px) {
    /* Base */
    body {
        font-size: 13px;
    }
    
    .container {
        padding: 0 10px;
    }
    
    /* Hero */
    .hero {
        min-height: 400px;
        padding: 35px 0 25px;
    }
    
    .hero-title {
        font-size: 1.375rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .hero-description {
        font-size: 0.875rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .badge-item {
        padding: 8px 10px;
        font-size: 0.75rem;
    }
    
    /* Mobile Menu */
    .mobile-menu-content {
        width: 100%;
        max-width: 280px;
    }
    
    /* Sticky Bar - Hide Text */
    .sticky-btn span {
        display: none;
    }
    
    .sticky-btn {
        padding: 16px 10px;
        justify-content: center;
    }
    
    .sticky-btn svg {
        width: 20px;
        height: 20px;
    }
}

/* ============================================ */
/* LANDSCAPE MOBILE - Height Optimization */
/* ============================================ */

@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 40px 0 30px;
    }
    
    .hero-stats {
        padding-top: 1rem;
        margin-bottom: 1rem;
    }
    
    .hero-badges {
        margin-bottom: 1rem;
    }
    
    .mobile-menu-content {
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* ============================================ */
/* PRINT STYLES */
/* ============================================ */

@media print {
    /* Hide Interactive Elements */
    .header,
    .mobile-menu,
    .mobile-menu-toggle,
    .floating-whatsapp,
    .scroll-to-top,
    .mobile-sticky-bar,
    .cta-section,
    .cta-buttons,
    .footer-social {
        display: none !important;
    }
    
    /* Reset Body */
    body {
        padding-bottom: 0;
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
        background: #fff;
    }
    
    /* Container */
    .container {
        max-width: 100%;
        padding: 0;
    }
    
    /* Sections */
    section {
        padding: 20pt 0;
        page-break-inside: avoid;
    }
    
    /* Typography */
    h1 { font-size: 24pt; }
    h2 { font-size: 20pt; }
    h3 { font-size: 16pt; }
    h4 { font-size: 14pt; }
    
    p {
        font-size: 11pt;
        orphans: 3;
        widows: 3;
    }
    
    /* Links */
    a {
        color: #000;
        text-decoration: underline;
    }
    
    a[href]:after {
        content: " (" attr(href) ")";
        font-size: 9pt;
        color: #666;
    }
    
    /* Images */
    img {
        max-width: 100% !important;
        page-break-inside: avoid;
    }
    
    /* Cards */
    .service-card,
    .testimonial-card,
    .sidebar-card {
        border: 1px solid #ddd;
        page-break-inside: avoid;
        box-shadow: none !important;
    }
    
    /* Footer */
    .footer {
        padding: 20pt 0;
        border-top: 2pt solid #000;
    }
    
    .footer-bottom {
        padding: 10pt 0;
    }
}

/* ============================================ */
/* HIGH CONTRAST MODE */
/* ============================================ */

@media (prefers-contrast: high) {
    .btn {
        border: 2px solid currentColor;
    }
    
    .service-card,
    .testimonial-card,
    .sidebar-card {
        border: 2px solid var(--text-dark);
    }
}

/* ============================================ */
/* REDUCED MOTION */
/* ============================================ */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .hero-overlay::before,
    .hero-overlay::after {
        animation: none !important;
    }
}