    /* ============================================
       RESET Y BASE
       ============================================ */
    * { margin: 0; padding: 0; box-sizing: border-box; }

    body {
        font-family: 'Poppins', sans-serif;
        background: #f8f9fa;
        overflow-x: hidden;
    }

    /* ============================================
       HEADER / TOP BAR
       ============================================ */
    .muni-header { position: relative; }

    .top-bar {
        background: #063B00;
        color: white;
        padding: 8px 20px;
        font-size: 13.5px;
        position: relative;
        z-index: 1001;
    }

    .top-bar-content {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    .contact-info {
        display: flex;
        align-items: center;
        gap: 18px;
        flex-wrap: wrap;
    }

    .contact-item { display: flex; align-items: center; gap: 6px; }
    .top-bar a { color: white; text-decoration: none; transition: color 0.3s ease; }
    .top-bar a:hover { color: #90B800; }

    .social-icons { display: flex; gap: 14px; }

    .social-icons a {
        width: 28px; height: 28px;
        background: rgba(255,255,255,0.15);
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
    }

    .social-icons a:hover {
        background: #90B800;
        color: #063B00;
        transform: translateY(-2px);
    }

    /* ============================================
       HERO SECTION
       ============================================ */
    .hero-section {
        position: relative;
        height: 100vh;
        min-height: 600px;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .video-background {
        position: absolute;
        top: 0; left: 0;
        width: 100%; height: 100%;
        z-index: 1;
        background-color: #000;
    }

    .video-background video {
        width: 100%; height: 100%;
        object-fit: cover;
        object-position: center;
        opacity: 0.85;
        transition: opacity 0.5s ease;
    }

    .video-overlay-header {
        position: absolute;
        top: 0; left: 0;
        width: 100%; height: 220px;
        background: linear-gradient(180deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
        z-index: 2;
        pointer-events: none;
    }

    /* ============================================
       NAVBAR
       ============================================ */
    .nav-bar {
        position: absolute;
        top: 0; left: 0; right: 0;
        background: transparent;
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        z-index: 1000;
        padding: 12px 0;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-bar.scrolled {
        background: rgba(6, 59, 0, 0.95) !important;
        backdrop-filter: blur(15px) !important;
        padding: 8px 0 !important;
        box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    }

    .nav-content {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 20px;
        gap: 20px;
    }

    .logo {
        width: 62px;
        height: auto;
        flex-shrink: 0;
        filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.8));
        transition: transform 0.3s ease;
    }

    .logo:hover { transform: scale(1.05); }

    .nav-center {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-grow: 1;
    }

    .nav-links {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 40px;
    }

    .nav-item {
        text-decoration: none;
        color: white;
        font-weight: 600;
        font-size: 15px;
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 8px 14px;
        transition: all 0.3s ease;
        white-space: nowrap;
        border-radius: 6px;
        text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
    }

    .nav-item:hover {
        color: #90B800;
        background: rgba(255, 255, 255, 0.12);
        transform: translateY(-2px);
    }

    .dropdown { position: relative; }

    .dropdown-content {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        box-shadow: 0px 8px 32px rgba(0,0,0,0.3);
        min-width: 260px;
        z-index: 10;
        padding: 18px;
        border-radius: 10px;
        opacity: 0;
        transform: translateY(10px);
        transition: all 0.3s ease;
        border: 1px solid rgba(6, 59, 0, 0.1);
    }

    .dropdown:hover .dropdown-content {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 18px;
        opacity: 1;
        transform: translateY(0);
    }

    .dropdown-section {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .dropdown-section-title {
        font-weight: 700;
        color: #063B00;
        margin-bottom: 4px;
        font-size: 14px;
        border-bottom: 2px solid #90B800;
        padding-bottom: 4px;
    }

    .dropdown-link {
        text-decoration: none;
        color: #333333;
        font-size: 13.5px;
        padding: 6px 10px;
        border-radius: 6px;
        transition: all 0.25s ease;
        font-weight: 500;
    }

    .dropdown-link:hover {
        color: #063B00;
        background-color: #F7FAF2;
        transform: translateX(4px);
    }

    .portal-transparencia {
        background: linear-gradient(45deg, #063B00, #266210);
        color: #90B800 !important;
        padding: 10px 18px;
        text-decoration: none;
        font-weight: 700;
        border-radius: 6px;
        font-size: 13.5px;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(0,0,0,0.4);
        border: 1px solid rgba(144, 184, 0, 0.3);
    }

    .portal-transparencia:hover {
        background: linear-gradient(45deg, #266210, #063B00);
        color: #ffffff !important;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0,0,0,0.5);
    }

    .menu-toggle {
        display: none;
        font-size: 22px;
        cursor: pointer;
        color: white;
        border: none;
        background: rgba(255,255,255,0.15);
        padding: 8px 12px;
        border-radius: 6px;
    }

    /* ============================================
       HERO CONTENT
       ============================================ */
    .hero-content {
        position: absolute;
        top: 55%; left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        z-index: 3;
        color: white;
        width: 90%;
        max-width: 900px;
    }

    .hero-title {
        font-size: clamp(3.5rem, 7vw, 7.5rem);
        font-weight: 700;
        margin-bottom: 15px;
        text-shadow: 3px 3px 12px rgba(0,0,0,0.9);
        letter-spacing: 6px;
        color: #ffffff;
    }

    .hero-subtitle {
        font-size: clamp(1.4rem, 2.8vw, 2.2rem);
        font-weight: 300;
        font-style: italic;
        margin-bottom: 35px;
        text-shadow: 2px 2px 8px rgba(0,0,0,0.9);
        min-height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: opacity 0.5s ease;
    }

    .hero-button {
        background: rgba(255, 255, 255, 0.95);
        color: #063B00;
        border: none;
        padding: 14px 36px;
        font-size: 15px;
        font-weight: 600;
        border-radius: 50px;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 8px 30px rgba(0,0,0,0.4);
        text-decoration: none;
        display: inline-block;
    }

    .hero-button:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 35px rgba(0,0,0,0.5);
        background: #ffffff;
        color: #266210;
    }

    .text-fade-out { opacity: 0; transform: translateY(-10px); }
    .text-fade-in { opacity: 1; transform: translateY(0); }

    /* ============================================
       SECCIONES PRINCIPALES
       ============================================ */
    .main-sections {
        background: #f8f9fa;
        position: relative;
        overflow: hidden;
    }

    .main-sections::before {
        content: '';
        position: absolute;
        top: 0; left: 0;
        width: 100%; height: 100%;
        background: linear-gradient(45deg, rgba(6, 59, 0, 0.025) 25%, transparent 25%),
                    linear-gradient(-45deg, rgba(6, 59, 0, 0.025) 25%, transparent 25%),
                    linear-gradient(45deg, transparent 75%, rgba(6, 59, 0, 0.025) 75%),
                    linear-gradient(-45deg, transparent 75%, rgba(6, 59, 0, 0.025) 75%);
        background-size: 20px 20px;
        background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
        opacity: 0.5;
        z-index: 0;
    }

    .section-container {
        max-width: 1400px;
        margin: 0 auto;
        padding: 4rem 2rem;
        position: relative;
        z-index: 1;
    }

    .section-title {
        font-size: 2.5rem;
        font-weight: 700;
        color: #063B00;
        margin-bottom: 1rem;
        text-align: center;
        position: relative;
        padding-bottom: 1rem;
        font-family: 'Poppins', sans-serif;
    }

    .section-title::after {
        content: '';
        position: absolute;
        bottom: 0; left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 4px;
        background: linear-gradient(90deg, #063B00 0%, #E1E100 100%);
        border-radius: 2px;
    }

    .section-subtitle {
        font-size: 1.1rem;
        color: #495057;
        text-align: center;
        margin-bottom: 3rem;
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
        line-height: 1.6;
        font-family: 'Poppins', sans-serif;
    }

    .cards-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 2rem;
    }

    /* ============================================
       SERVICE CARDS
       ============================================ */
    .service-card {
        background: white;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 8px 32px rgba(6, 59, 0, 0.09);
        transition: all 0.3s ease;
        position: relative;
        z-index: 1;
        border: none;
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    .service-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 40px rgba(6, 59, 0, 0.14);
    }

    .service-card-header {
        background: linear-gradient(135deg, #063B00 0%, #266210 100%);
        padding: 1.5rem;
        color: white;
        display: flex;
        align-items: center;
        min-height: 100px;
        position: relative;
        overflow: hidden;
    }

    .service-card-header::after {
        content: '';
        position: absolute;
        top: -50%; right: -50%;
        width: 100%; height: 200%;
        background: rgba(255, 255, 255, 0.1);
        transform: rotate(30deg);
    }

    .service-card:nth-child(6n+1) .service-card-header { background: linear-gradient(135deg, #063B00 0%, #266210 100%); }
    .service-card:nth-child(6n+2) .service-card-header { background: linear-gradient(135deg, #1F6F5B 0%, #3C8D73 100%); }
    .service-card:nth-child(6n+3) .service-card-header { background: linear-gradient(135deg, #3F7D20 0%, #65A30D 100%); }
    .service-card:nth-child(6n+4) .service-card-header { background: linear-gradient(135deg, #6B5B95 0%, #8A76B5 100%); }
    .service-card:nth-child(6n+5) .service-card-header { background: linear-gradient(135deg, #7C4D73 0%, #B86B8B 100%); }
    .service-card:nth-child(6n+6) .service-card-header { background: linear-gradient(135deg, #B58B17 0%, #D4B23C 100%); }

    .service-icon {
        font-size: 2rem;
        margin-right: 1.5rem;
        background: rgba(255, 255, 255, 0.2);
        width: 60px; height: 60px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        flex-shrink: 0;
    }

    .service-card:hover .service-icon {
        transform: rotate(10deg) scale(1.1);
        background: rgba(255, 255, 255, 0.3);
    }

    .service-card-body {
        padding: 1.5rem;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
    }

    .service-title {
        font-size: 1.25rem;
        font-weight: 600;
        margin: 0;
        flex: 1;
    }

    .service-description {
        color: #4b5563;
        line-height: 1.6;
        margin-bottom: 1.5rem;
        font-size: 0.95rem;
    }

    .service-footer {
        margin-top: auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .service-badge {
        background: #f8f9fa;
        color: #495057;
        padding: 0.4rem 0.8rem;
        border-radius: 20px;
        font-size: 0.75rem;
        font-weight: 600;
        border: 1px solid #e9ecef;
    }

    .service-link {
        display: inline-flex;
        align-items: center;
        text-decoration: none;
        background-color: #063B00;
        color: white;
        font-weight: 500;
        font-size: 0.9rem;
        padding: 0.5rem 1.25rem;
        border-radius: 8px;
        transition: all 0.2s ease;
        gap: 6px;
    }

    .service-link:hover {
        background-color: #266210;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(6, 59, 0, 0.26);
    }

    .section-divider {
        height: 1px;
        background: linear-gradient(90deg, transparent 0%, rgba(6, 59, 0, 0.18) 50%, transparent 100%);
        margin: 0 auto;
        max-width: 1200px;
    }

    /* ============================================
       EMERGENCY CARDS
       ============================================ */
    .emergency-glass-card {
        position: relative;
        background: rgba(248, 251, 239, 0.90);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-radius: 20px;
        border: 1.5px solid #90B800;
        box-shadow: 0 8px 32px 0 rgba(128, 0, 0, 0.10);
        display: flex;
        flex-direction: column;
        overflow: hidden;
        transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        margin-bottom: 1.5rem;
    }

    .emergency-glass-card:hover {
        transform: translateY(-10px) scale(1.02);
        box-shadow: 0 20px 40px 0 rgba(128, 0, 0, 0.18);
        border-color: #90B800;
    }

    .emergency-glass-header {
        display: flex;
        align-items: center;
        padding: 1.5rem;
        gap: 1.5rem;
    }

    .emergency-glass-icon {
        flex-shrink: 0;
        width: 70px; height: 70px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2.2rem;
        box-shadow: 0 2px 10px rgba(6, 59, 0, 0.12);
        border: 3px solid #ffffff;
        background: #E1E100;
        color: #063B00;
    }

    .emergency-glass-title h3 {
        color: #063B00;
        font-size: 1.5rem;
        font-weight: 700;
        margin: 0;
        letter-spacing: 1px;
    }

    .emergency-glass-title p {
        color: #266210;
        font-size: 0.95rem;
        margin: 0;
        font-weight: 500;
    }

    .emergency-glass-footer {
        background: linear-gradient(90deg, #063B00 0%, #266210 100%);
        color: #F8FBEF;
        padding: 1.25rem 1.5rem;
        text-align: center;
        margin-top: auto;
        border-top: 1.5px solid #266210;
    }

    .emergency-glass-footer a {
        color: #E1E100;
        text-decoration: none;
        font-size: 2rem;
        font-weight: 700;
        letter-spacing: 2px;
        transition: letter-spacing 0.3s, color 0.3s;
    }

    .emergency-glass-footer a:hover {
        letter-spacing: 4px;
        color: #ffffff;
    }

    /* ============================================
       RESPONSIVE
       ============================================ */
    @media (max-width: 968px) {
        .nav-links { gap: 20px; }
        .contact-info, .social-icons { justify-content: center; width: 100%; }
    }

    @media (max-width: 768px) {
        .menu-toggle { display: block; margin-left: auto; }
        .nav-center { margin: 0; }
        .nav-links {
            display: none;
            position: absolute;
            top: 100%; left: 0; right: 0;
            background: rgba(6, 59, 0, 0.98);
            backdrop-filter: blur(15px);
            padding: 20px;
            flex-direction: column;
            align-items: flex-start;
            gap: 15px;
        }
        .nav-links.active { display: flex; }
        .dropdown { width: 100%; }
        .dropdown-content {
            position: static;
            display: none;
            background: rgba(255,255,255,0.08);
            padding: 10px 15px;
            grid-template-columns: 1fr;
            opacity: 1;
            transform: none;
        }
        .dropdown.active .dropdown-content { display: grid; }
        .portal-transparencia { width: 100%; text-align: center; }
        .section-container { padding: 2rem 1rem; }
        .section-title { font-size: 2rem; }
        .cards-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    }
