/* =======================
   RESPONSIVE STYLES
   ======================= */

/* Tablet & Mobile */
@media (max-width: 1024px) {
    .container {
        padding: 0 var(--spacing-md);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

/* Mobile */
@media (max-width: 768px) {
    /* Typography */
    :root {
        --font-size-base: 15px;
    }
    
    /* Header */
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--color-bg);
        flex-direction: column;
        align-items: stretch;
        padding: var(--spacing-md);
        box-shadow: var(--shadow-xl);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .nav-menu.active {
        max-height: 500px;
    }
    
    .nav-menu a {
        padding: var(--spacing-sm) 0;
        border-bottom: 1px solid var(--color-border);
    }
    
    .nav-menu a:last-child {
        border-bottom: none;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    /* Hero */
    .hero {
        padding: var(--spacing-2xl) 0;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-trust {
        flex-direction: column;
        align-items: center;
    }
    
    /* Sections */
    section {
        padding: var(--spacing-2xl) 0;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    /* Services Grid */
    .services-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .service-card {
        padding: var(--spacing-lg);
    }
    
    /* Why Grid */
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    /* Stats Grid */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    /* CTA */
    .cta-content h2 {
        font-size: 1.75rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    /* Floating Buttons */
    .float-whatsapp,
    .float-phone {
        width: 50px;
        height: 50px;
    }
    
    .float-whatsapp {
        bottom: 80px;
        right: 15px;
    }
    
    .float-phone {
        bottom: 15px;
        right: 15px;
    }
    
    .float-whatsapp svg,
    .float-phone svg {
        width: 20px;
        height: 20px;
    }
    
    /* Cookie Notice */
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-content p {
        min-width: auto;
    }
    
    .btn-cookie-accept {
        width: 100%;
    }
    
    /* Page Header */
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    /* About */
    .about-intro h2 {
        font-size: 1.75rem;
    }
    
    .lead {
        font-size: 1.125rem;
    }
    
    .vision-mission {
        grid-template-columns: 1fr;
    }
    
    /* Values */
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    /* Service Detail */
    .service-detail-card {
        padding: var(--spacing-lg);
    }
    
    .service-detail-content h2 {
        font-size: 1.75rem;
    }
    
    .service-detail-content h3 {
        font-size: 1.25rem;
    }
    
    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .contact-info h2,
    .contact-form-wrapper h2 {
        font-size: 1.75rem;
    }
    
    .contact-method {
        flex-direction: row;
        padding: var(--spacing-md);
    }
    
    .quick-actions {
        gap: var(--spacing-sm);
    }
    
    .contact-form-wrapper {
        padding: var(--spacing-lg);
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    /* Typography */
    :root {
        --font-size-base: 14px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    /* Buttons */
    .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }
    
    /* Service Cards */
    .service-card {
        padding: var(--spacing-md);
    }
    
    .service-icon {
        width: 56px;
        height: 56px;
    }
    
    .service-icon svg {
        width: 28px;
        height: 28px;
    }
    
    /* Stats */
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    /* Testimonials */
    .testimonial-card {
        padding: var(--spacing-md);
    }
    
    /* FAQ */
    .faq-question {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 0.9375rem;
    }
    
    /* Page Header */
    .page-header {
        padding: var(--spacing-lg) 0;
    }
    
    .page-header h1 {
        font-size: 1.75rem;
    }
    
    /* CTA */
    .cta-content h2 {
        font-size: 1.5rem;
    }
    
    /* Footer */
    .footer {
        padding: var(--spacing-xl) 0 var(--spacing-md);
    }
    
    .social-links a {
        width: 36px;
        height: 36px;
    }
    
    /* Contact Method */
    .contact-method {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Landscape Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: var(--spacing-lg) 0;
    }
    
    section {
        padding: var(--spacing-lg) 0;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .float-whatsapp,
    .float-phone,
    .cookie-notice,
    .cta-section {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
    }
    
    a {
        text-decoration: underline;
    }
    
    .page-header {
        background: none;
        border-bottom: 2px solid #000;
    }
}
