/* ===== RESPONSIVE DESIGN ===== */

/* Large Devices (Desktop) */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
}

/* Medium Devices (Tablet) */
@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content,
    .hero-image {
        width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Small Devices (Mobile) */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header-content {
        flex-wrap: wrap;
    }
    
    .menu-toggle {
        display: flex;
        order: 1;
    }
    
    .nav-menu {
        order: 3;
        width: 100%;
    }
    
    .nav-list {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow-lg);
        display: none;
        border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    }
    
    .nav-list.active {
        display: flex;
        animation: slideDown 0.3s ease;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        background-color: var(--light-gray);
        margin-top: 0.5rem;
        margin-left: 1rem;
        display: none;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
        animation: fadeIn 0.3s ease;
    }
    
    @keyframes fadeIn {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .services-grid,
    .announcement-cards,
    .links-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .whatsapp-btn span {
        display: none;
    }
    
    .whatsapp-btn {
        width: 50px;
        height: 50px;
        padding: 0;
        justify-content: center;
    }
    
    .whatsapp-btn i {
        font-size: 1.5rem;
    }
}

/* Extra Small Devices */
@media (max-width: 576px) {
    h1 {
        font-size: 1.5rem;
    }
    
    h2 {
        font-size: 1.25rem;
    }
    
    h3 {
        font-size: 1.125rem;
    }
    
    .btn-large {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .announcement-card {
        flex-direction: column;
    }
    
    .announcement-date {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
        min-height: 60px;
    }
    
    .process-step {
        flex-direction: column;
        gap: 1rem;
    }
    
    .process-steps::before {
        left: 30px;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .whatsapp-chat,
    .hero-buttons {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
    
    .page-break {
        page-break-before: always;
    }
}