/* ===== RESPONSIVE DESIGN ===== */

/* Tablet Portrait - 768px */
@media (max-width: 768px) {
    /* Container */
    .container {
        padding: 0 15px;
    }
    
    /* Typography */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }
    
    .section-title {
        font-size: 2rem;
    }
    
    /* Header */
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 2rem;
        transition: var(--transition);
        box-shadow: var(--shadow);
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .nav-link {
        display: block;
        padding: 1rem 0;
        border-bottom: 1px solid var(--gray-medium);
        width: 100%;
    }
    
    .hamburger {
        display: flex;
    }
    
    /* Hero Section */
    .hero {
        min-height: 90vh;
        padding-top: 80px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    /* Promo Banner */
    .promo-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .promo-text {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    /* About Section */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        width: calc(100% - 40px);
        left: 40px !important;
    }
    
    .timeline-item.left .timeline-marker,
    .timeline-item.right .timeline-marker {
        left: -30px;
    }
    
    .timeline-item.left .timeline-content::before,
    .timeline-item.right .timeline-content::before {
        left: -20px;
        border-left-color: var(--white);
        border-right-color: transparent;
    }
    
    .values-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    /* Services Section */
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .tabs-navigation {
        flex-direction: column;
    }
    
    .tab-btn {
        flex: none;
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .tab-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .process-steps {
        justify-content: center;
    }
    
    .reasons-grid {
        grid-template-columns: 1fr;
    }
    
    /* Contact Section */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-cards {
        grid-template-columns: 1fr;
    }
    
    /* Testimonials */
    .satisfaction-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .carousel-controls {
        padding: 0 0.5rem;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    /* Google Reviews */
    .google-reviews {
        padding: 2rem 1rem;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .footer-hours {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-actions {
        justify-content: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    /* WhatsApp Float */
    .whatsapp-text {
        display: none;
    }
    
    .whatsapp-btn {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        padding: 0;
        justify-content: center;
    }
    
    /* Legal Pages */
    .legal-content {
        padding: 2rem;
    }
    
    .legal-nav .container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Mobile Landscape - 576px */
@media (max-width: 576px) {
    /* Typography */
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    /* Hero */
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
    
    /* About */
    .about-card {
        padding: 1.5rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    /* Services */
    .service-card {
        padding: 1.5rem;
    }
    
    .tab-pane {
        padding: 2rem 1rem;
    }
    
    .step {
        min-width: 60px;
    }
    
    .step-number {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    /* Contact */
    .contact-form-section,
    .contact-card,
    .quick-actions,
    .business-hours {
        padding: 1.5rem;
    }
    
    .checkbox-label {
        font-size: 0.85rem;
    }
    
    /* Testimonials */
    .satisfaction-stats {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        padding: 2rem 1rem;
    }
    
    .quote-icon {
        font-size: 2rem;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
    
    /* Google Reviews */
    .google-reviews {
        padding: 1.5rem 1rem;
    }
    
    .google-logo h3 {
        font-size: 1.25rem;
    }
    
    .review-item {
        padding: 1rem;
    }
    
    .review-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    /* FAQ */
    .faq-question {
        padding: 1rem;
    }
    
    .faq-question h4 {
        font-size: 1rem;
    }
    
    .faq-answer p {
        padding: 1rem;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-stats {
        justify-content: center;
    }
    
    .hours-grid {
        align-items: center;
    }
    
    .hour-group {
        justify-content: space-between;
        padding: 0.25rem 0;
    }
    
    /* Buttons */
    .btn {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    /* Legal Pages */
    .legal-content {
        padding: 1.5rem;
    }
    
    .legal-header h1 {
        font-size: 2rem;
    }
    
    .legal-section h2 {
        font-size: 1.25rem;
    }
    
    .definition-item {
        padding: 1rem;
    }
    
    .contact-info {
        padding: 1.5rem;
    }
}

/* Mobile Portrait - 375px */
@media (max-width: 375px) {
    /* Container */
    .container {
        padding: 0 10px;
    }
    
    /* Typography */
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    /* Spacing */
    .section-header {
        margin-bottom: 2rem;
    }
    
    /* Hero */
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Cards */
    .service-card,
    .value-card,
    .contact-card,
    .stat-card {
        padding: 1rem;
    }
    
    /* Forms */
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px;
    }
    
    /* WhatsApp Float */
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-btn {
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-btn i {
        font-size: 1.25rem;
    }
    
    /* Back to Top */
    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 15px;
        left: 15px;
    }
}

/* Large Desktop - 1200px+ */
@media (min-width: 1200px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(4, 1fr);
        max-width: 800px;
        margin: 0 auto 3rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }
}

/* Landscape Orientation */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding-top: 60px;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 2rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .stat-item h3 {
        font-size: 1.5rem;
    }
    
    .stat-item p {
        font-size: 0.8rem;
    }
    
    .hero-buttons {
        gap: 0.5rem;
    }
    
    .btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .scroll-indicator {
        display: none;
    }
}

/* High Resolution Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-bg-img,
    .service-img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print Styles */
@media print {
    .header,
    .whatsapp-float,
    .back-to-top,
    .cookie-notice,
    .carousel-controls,
    .carousel-indicators {
        display: none !important;
    }
    
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .hero-background {
        display: none;
    }
    
    .hero-title,
    .hero-subtitle {
        color: var(--text-color) !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: #000 !important;
        background: #fff !important;
    }
    
    .section-title {
        font-size: 18pt;
        color: #000 !important;
    }
    
    .btn {
        border: 1px solid #000;
        background: transparent !important;
        color: #000 !important;
    }
} 