/* ==========================================
   VARIABLES Y ESTILOS GLOBALES
   ========================================== */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-header: #2b537d;
    --pan-blue: #0033a0;
    --prd-yellow: #ffcc00;
    --turquesa: #2a9d8f;
    --menu-dark-bg: #212529;
    --white: #ffffff;
    --text-hover: #ffcc00;
    --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background-color: #f8fafc;
    color: #334155;
    overflow-x: hidden;
}

/* Badges Institucionales */
.badge-quiroga {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(42, 157, 143, 0.12);
    color: var(--turquesa);
    font-weight: 700;
    font-size: 0.8rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.badge-quiroga-hero {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 50px;
    letter-spacing: 1.2px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ==========================================
   HEADER Y MENÚ NAVEGACIÓN MODERNO (GLASS)
   ========================================== */
.site-header {
    background: rgba(43, 83, 125, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 8px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo img {
    height: 60px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.brand-logo:hover img {
    transform: scale(1.03);
}

.header-escudo img {
    height: 68px;
    object-fit: contain;
}

/* Menú Principal */
.nav-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    list-style: none;
    gap: 6px 12px;
    margin: 0;
    padding: 0;
}

.nav-link {
    position: relative;
    color: var(--white);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 8px 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
}

.nav-link i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--prd-yellow), var(--turquesa));
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateX(-50%);
}

.nav-link:hover,
.nav-link.active {
    color: var(--prd-yellow);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.dropdown-item:hover .nav-link i {
    transform: rotate(180deg);
}

/* Botón Predial Destacado */
.btn-predial {
    background: linear-gradient(135deg, var(--prd-yellow) 0%, #e6b800 100%) !important;
    color: #000000 !important;
    font-weight: 700 !important;
    padding: 7px 16px !important;
    border-radius: 30px !important;
    box-shadow: 0 4px 12px rgba(255, 204, 0, 0.3);
    transition: all 0.3s ease !important;
}

.btn-predial::after {
    display: none !important;
}

.btn-predial:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255, 204, 0, 0.5);
}

/* Submenús Nivel 1 (Animados) */
.dropdown-item,
.nested-dropdown-item {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--menu-dark-bg);
    min-width: 230px;
    list-style: none;
    padding: 10px;
    margin: 0;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(0.98);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.dropdown-item:hover>.dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.dropdown-menu a {
    color: var(--white);
    text-decoration: none;
    padding: 9px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.dropdown-menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--prd-yellow);
    padding-left: 18px;
}

/* Submenús Nivel 2 (Animados) */
.nested-toggle {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
}

.nested-menu {
    position: absolute;
    top: 0;
    left: 100%;
    background-color: var(--menu-dark-bg);
    min-width: 200px;
    max-height: 380px;
    overflow-y: auto;
    list-style: none;
    padding: 8px;
    margin-left: 8px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.nested-dropdown-item:hover>.nested-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
}

/* Responsivo Menú Móvil */
@media (max-width: 991px) {
    .mobile-menu-btn {
        display: block;
        background: transparent;
        border: none;
        color: var(--white);
        font-size: 1.8rem;
        cursor: pointer;
    }

    .header-escudo {
        display: none;
    }

    .main-nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 280px;
        height: calc(100vh - 70px);
        background-color: var(--bg-header);
        box-shadow: 10px 0 30px rgba(0, 0, 0, 0.2);
        transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        overflow-y: auto;
        padding: 20px;
    }

    .main-nav.open {
        left: 0;
    }

    .nav-menu {
        flex-direction: column;
        align-items: flex-start;
        max-width: 100%;
        gap: 10px;
    }

    .dropdown-menu,
    .nested-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background-color: rgba(0, 0, 0, 0.25);
        display: none;
        width: 100%;
        padding-left: 15px;
    }
}

/* ==========================================
   1. HERO SECTION (VIDEO & QUICK BAR)
   ========================================== */
.hero-section {
    position: relative;
    width: 100%;
    height: 75vh;
    min-height: 480px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000000;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(15, 23, 42, 0.7) 100%);
    z-index: 2;
}

.hero-content {
    position: absolute;
    top: 42%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 900px;
    z-index: 3;
    text-align: center;
}

.hero-title {
    font-size: 2.8rem;
    color: #ffffff;
    font-weight: 800;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    line-height: 1.2;
}

.hero-quick-bar {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 3;
    width: 90%;
    max-width: 850px;
    justify-content: center;
}

.quick-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 12px 20px;
    border-radius: 12px;
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.quick-card:hover {
    background: #ffffff;
    color: var(--pan-blue);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* ==========================================
   2. SECCIÓN NUESTRA PRESIDENTA
   ========================================== */
.presidenta-section {
    position: relative;
    width: 100%;
    padding: 80px 20px;
    background-color: #ffffff;
    overflow: hidden;
}

.presidenta-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('img/artesanias.png');
    background-size: cover;
    background-position: center;
    opacity: 0.08;
    z-index: 1;
}

.container-presidenta {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.header-presidenta {
    margin-bottom: 40px;
}

.header-presidenta h2 {
    font-size: 2rem;
    color: #2b3a4a;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.wave-divider-center {
    display: flex;
    justify-content: center;
    margin-top: 8px;
}

.wave-underline {
    width: 180px;
    height: 16px;
}

.presidenta-name {
    font-size: 2.4rem;
    color: var(--pan-blue);
    font-weight: 800;
    margin-top: 6px;
}

.body-presidenta {
    display: flex;
    align-items: center;
    gap: 45px;
}

.photo-box-presidenta {
    flex: 0 0 290px;
}

.photo-frame-modern {
    position: relative;
    background: #ffffff;
    padding: 8px;
    box-shadow: 0 15px 35px rgba(0, 51, 160, 0.15);
    border-radius: 16px;
    transform: rotate(-2deg);
    transition: transform 0.4s ease;
}

.photo-frame-modern:hover {
    transform: rotate(0deg) scale(1.02);
}

.photo-frame-modern img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.photo-badge {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: var(--pan-blue);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
}

.info-presidenta {
    flex: 1;
}

.sub-title-presi {
    font-size: 0.95rem;
    color: var(--turquesa);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: block;
    margin-bottom: 10px;
}

.lead-text {
    font-size: 1.05rem;
    color: #1e293b;
    line-height: 1.7;
    margin-bottom: 12px;
}

.desc-text {
    font-size: 0.98rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 25px;
}

.btn-ver-mas-glow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--pan-blue) 0%, #001f66 100%);
    color: #ffffff !important;
    padding: 13px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0, 51, 160, 0.3);
    transition: all 0.3s ease;
}

.btn-ver-mas-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 51, 160, 0.45);
}

/* ==========================================
   3. SECCIÓN ARTESANÍAS (ANIMACIÓN SCROLL)
   ========================================== */
.artesanias-section {
    padding: 80px 20px;
    background-color: #f8fafc;
    overflow: hidden;
}

.container-artesanias {
    max-width: 1200px;
    margin: 0 auto;
}

.artesanias-header {
    text-align: center;
    margin-bottom: 50px;
}

.artesanias-header .section-title {
    font-size: 2.3rem;
    color: var(--pan-blue);
    font-weight: 800;
    margin-top: 10px;
}

.artesanias-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.artesania-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.artesania-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.artesania-img-wrapper {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
}

.artesania-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.artesania-card:hover .artesania-img-wrapper img {
    transform: scale(1.06);
}

.card-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    color: #ffffff;
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 0.78rem;
    font-weight: 600;
}

.artesania-caption {
    padding: 22px;
    text-align: center;
}

.artesania-caption h3 {
    font-size: 1.3rem;
    color: #1e293b;
    margin-bottom: 8px;
    font-weight: 700;
}

.artesania-caption p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Animaciones Entrada Fade-In */
.fade-in-left {
    opacity: 0;
    transform: translateX(-100px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(100px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-left.appear,
.fade-in-right.appear {
    opacity: 1;
    transform: translateX(0);
}

/* ==========================================
   4. SECCIÓN MUNICIPIO (ACORDEÓN PREMIUM)
   ========================================== */
.municipio-section {
    position: relative;
    padding: 80px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    overflow: hidden;
}

.municipio-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('img/artesanias.png');
    background-size: cover;
    background-position: center;
    opacity: 0.06;
    filter: blur(2px);
    z-index: 1;
}

.container-municipio {
    max-width: 950px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.header-municipio {
    margin-bottom: 35px;
}

.header-municipio h2 {
    font-size: 2.3rem;
    color: var(--pan-blue);
    font-weight: 800;
    position: relative;
    display: inline-block;
}

.header-line {
    border: none;
    height: 3px;
    background: linear-gradient(90deg, var(--pan-blue), var(--prd-yellow), transparent);
    margin-top: 15px;
    width: 250px;
    border-radius: 2px;
}

.accordion-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.accordion-item {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 12px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.accordion-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 51, 160, 0.08);
    border-color: rgba(0, 51, 160, 0.3);
}

.accordion-item.active {
    background: #ffffff;
    border-left: 4px solid var(--pan-blue);
    border-color: rgba(0, 51, 160, 0.4);
    box-shadow: 0 10px 30px rgba(0, 51, 160, 0.12);
}

.accordion-header {
    width: 100%;
    background: transparent;
    border: none;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    text-align: left;
}

.icon-toggle {
    width: 28px;
    height: 28px;
    background-color: #f1f5f9;
    color: var(--pan-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    border-radius: 8px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.accordion-item.active .icon-toggle {
    background-color: var(--pan-blue);
    color: var(--prd-yellow);
    transform: rotate(180deg);
}

.title-toggle {
    font-size: 1.1rem;
    color: #1e293b;
    font-weight: 600;
    transition: color 0.3s ease;
}

.accordion-item.active .title-toggle {
    color: var(--pan-blue);
    font-weight: 700;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
    padding: 0 20px 0 63px;
}

.accordion-item.active .accordion-content {
    max-height: 800px;
    padding: 5px 20px 22px 63px;
}

.sub-block {
    margin-bottom: 18px;
}

.sub-block h4 {
    font-size: 1rem;
    color: var(--pan-blue);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.timeline-list,
.tenencias-list {
    list-style: none;
    padding-left: 0;
}

.timeline-list li,
.tenencias-list li {
    padding: 8px 0;
    border-bottom: 1px dashed #e2e8f0;
    font-size: 0.95rem;
    color: #334155;
}

.presientes-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.presientes-grid ul {
    list-style: none;
    padding: 0;
}

.presientes-grid li {
    padding: 6px 0;
    font-size: 0.92rem;
    color: #334155;
    border-bottom: 1px dotted #cbd5e1;
}

.presientes-grid li span {
    font-weight: 700;
    color: var(--pan-blue);
    display: inline-block;
    width: 110px;
}

/* ==========================================
   5. SECCIÓN REDES SOCIALES (DARK NEON GLASS)
   ========================================== */
.social-section {
    position: relative;
    padding: 90px 20px;
    background: #0f172a;
    overflow: hidden;
}

.social-section::before {
    content: "";
    position: absolute;
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 51, 160, 0.45) 0%, rgba(0, 0, 0, 0) 70%);
    filter: blur(60px);
    pointer-events: none;
    z-index: 1;
}

.social-section::after {
    content: "";
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 204, 0, 0.35) 0%, rgba(0, 0, 0, 0) 70%);
    filter: blur(60px);
    pointer-events: none;
    z-index: 1;
}

.container-social {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.social-header .badge-quiroga {
    background: rgba(255, 204, 0, 0.2);
    color: var(--prd-yellow);
    border: 1px solid var(--prd-yellow);
}

.social-header .section-title {
    font-size: 2.5rem;
    color: #ffffff;
    font-weight: 800;
    margin: 15px 0;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.social-header .section-title i {
    color: #1877f2;
}

.social-header .section-desc {
    font-size: 1.05rem;
    color: #cbd5e1;
    line-height: 1.7;
    max-width: 750px;
    margin: 0 auto 30px auto;
}

.fb-card-container {
    background: rgba(255, 255, 255, 0.95);
    padding: 15px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(24, 119, 242, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: inline-block;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.fb-card-container:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(24, 119, 242, 0.35);
}

.fb-footer-btn {
    margin-top: 20px;
}

.btn-facebook-official {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #1877f2 0%, #0033a0 100%);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(24, 119, 242, 0.4);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-facebook-official:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(24, 119, 242, 0.6);
}

/* ==========================================
   6. BANNER SEPARADOR FULL-WIDTH (VIEJITOS)
   ========================================== */
.banner-separador-section {
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.banner-separador-container {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    height: 380px;
}

.banner-viejitos-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(15, 23, 42, 0.7) 100%);
    display: flex;
    align-items: flex-end;
    padding: 40px 20px;
}

.banner-caption {
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
    color: #ffffff;
}

.banner-caption h2 {
    font-size: 2.4rem;
    font-weight: 800;
    margin-top: 10px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

/* ==========================================
   7. SECCIÓN VISITA QUIROGA Y MAPA
   ========================================== */
.visita-quiroga-section {
    background-color: var(--turquesa);
    padding: 70px 20px;
    position: relative;
    overflow: hidden;
}

.visita-card-container {
    max-width: 1050px;
    margin: 0 auto;
    position: relative;
    padding: 45px 50px;
    background-color: rgba(255, 255, 255, 0.88);
    border-radius: 40px 10px 40px 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.visita-card-container::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('img/viejitos.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.18;
    border-radius: 40px 10px 40px 10px;
    pointer-events: none;
    z-index: 1;
}

.header-visita,
.visita-text-box,
.map-card-wrapper {
    position: relative;
    z-index: 2;
}

.header-visita {
    margin-bottom: 20px;
}

.header-visita h2 {
    font-size: 2.2rem;
    color: #1e293b;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.visita-text-box p {
    font-size: 1rem;
    color: #2d3748;
    line-height: 1.8;
    margin-bottom: 30px;
    background: rgba(167, 243, 208, 0.45);
    padding: 18px 22px;
    border-radius: 12px;
    font-style: italic;
}

.map-card-wrapper {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 3px solid #ffffff;
}

.map-card-wrapper iframe {
    width: 100%;
    display: block;
}

/* ==========================================
   8. FOOTER MODULAR CIAN
   ========================================== */
.site-footer-cyan {
    background-color: #00a8d6;
    color: #ffffff;
    padding: 35px 20px 20px 20px;
    width: 100%;
}

.footer-container {
    max-width: 1250px;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-social-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-social-icons a {
    width: 44px;
    height: 44px;
    background-color: #262626;
    color: #ffffff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.footer-social-icons a:hover {
    background-color: var(--pan-blue);
    transform: translateY(-3px);
}

.btn-footer-tel {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #ffffff;
    color: #00a8d6 !important;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 8px 18px;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.btn-footer-tel:hover {
    background-color: #262626;
    color: #ffffff !important;
}

.footer-logo-brand img {
    height: 60px;
    object-fit: contain;
}

.footer-divider {
    border: none;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.3);
    margin: 25px 0 15px 0;
}

.footer-bottom-text {
    text-align: center;
}

.footer-bottom-text p {
    font-size: 0.82rem;
    color: #ffffff;
    line-height: 1.7;
    margin: 0;
}

.footer-bottom-text a {
    color: #ffffff;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.2s ease;
}

.footer-bottom-text a:hover {
    color: var(--prd-yellow);
}

.valcorp-link {
    font-weight: 700 !important;
}

/* ==========================================
   AJUSTES RESPONSIVOS GLOBALES
   ========================================== */
@media (max-width: 850px) {
    .artesanias-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .artesania-img-wrapper {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .hero-quick-bar {
        display: none;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .body-presidenta {
        flex-direction: column;
        text-align: center;
    }

    .photo-box-presidenta {
        flex: 0 0 auto;
        width: 100%;
        max-width: 250px;
    }

    .presidenta-name {
        font-size: 1.8rem;
    }

    .presientes-grid {
        grid-template-columns: 1fr;
    }

    .banner-separador-container {
        height: 250px;
    }

    .banner-caption h2 {
        font-size: 1.6rem;
    }

    .visita-card-container {
        padding: 25px 20px;
        border-radius: 20px 10px 20px 10px;
    }

    .header-visita h2 {
        font-size: 1.7rem;
    }

    .visita-text-box p {
        font-size: 0.92rem;
        padding: 12px 15px;
    }

    .map-card-wrapper iframe {
        height: 260px !important;
    }

    .footer-top {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }

    .footer-bottom-text p {
        font-size: 0.78rem;
    }
}

/* ==========================================
   CORRECCIÓN DE Z-INDEX PARA SUBMENÚS
   ========================================== */
/* Eleva el ítem sobre el que se pasa el mouse por encima de los demás botones */
.nav-menu li:hover,
.dropdown-item:hover,
.nested-dropdown-item:hover {
    z-index: 1050;
}

/* Garantiza que el menú desplegable flota por encima de los elementos contiguos */
.dropdown-menu {
    z-index: 1060;
}

/* Garantiza que los submenús de nivel 2 (Tesorería, OOAPASQ, etc.) floten sobre todo */
.nested-menu {
    z-index: 1070;
}

/* Oculta por defecto el botón hamburguesa en pantallas de escritorio */
.mobile-menu-btn {
    display: none !important;
}

/* Solo se muestra en pantallas móviles y tabletas */
@media (max-width: 991px) {
    .mobile-menu-btn {
        display: block !important;
    }
}

/* ==========================================
   SECCIÓN BUZÓN CIUDADANO
   ========================================== */
.buzon-section {
    padding: 85px 20px;
    background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.container-buzon {
    max-width: 1050px;
    margin: 0 auto;
}

.buzon-header {
    margin-bottom: 40px;
}

.buzon-header .section-title {
    font-size: 2.3rem;
    color: var(--pan-blue);
    font-weight: 800;
    margin: 10px 0;
}

.buzon-header .section-title i {
    color: var(--turquesa);
}

.buzon-header .section-desc {
    font-size: 1.05rem;
    color: #475569;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
}

/* Tarjeta Contenedora del Buzón */
.buzon-card-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 15px 35px rgba(0, 51, 160, 0.08);
    border: 1px solid rgba(226, 232, 240, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.buzon-map-wrapper {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

.buzon-map-wrapper iframe {
    display: block;
    width: 100%;
}

/* Indicadores de Servicio */
.buzon-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 25px;
    padding: 10px 10px 5px 10px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f8fafc;
    padding: 15px 20px;
    border-radius: 12px;
    border-left: 4px solid var(--pan-blue);
}

.feature-item i {
    font-size: 1.5rem;
    color: var(--pan-blue);
}

.feature-item h4 {
    font-size: 0.95rem;
    color: #1e293b;
    font-weight: 700;
    margin-bottom: 2px;
}

.feature-item p {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

/* Responsivo Móvil */
@media (max-width: 768px) {
    .buzon-features {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .buzon-header .section-title {
        font-size: 1.8rem;
    }

    .buzon-card-container {
        padding: 12px;
    }
}

/* ==========================================
   PRESIDENTA.HTML - ESTILO IMPACTANTE Y FLOTANTE (AZUL PAN)
   ========================================== */

/* Hero Banner Impactante */
.presidenta-hero-bold {
    position: relative;
    padding: 90px 20px 70px 20px;
    background: linear-gradient(135deg, #001f66 0%, #0033a0 50%, #002270 100%);
    background-image: url('img/A5_1798.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #ffffff;
    overflow: hidden;
}

.hero-bold-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(0, 51, 160, 0.75) 0%, rgba(15, 23, 42, 0.9) 100%);
    z-index: 1;
}

.hero-bold-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.badge-pan-glow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    padding: 8px 22px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 0 20px rgba(0, 51, 160, 0.5);
    margin-bottom: 20px;
}

.hero-title-bold {
    font-size: 2.8rem;
    font-weight: 900;
    color: #ffffff;
    text-shadow: 0 4px 25px rgba(0, 0, 0, 0.6);
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.hero-subtitle-bold {
    font-size: 1.2rem;
    color: #cbd5e1;
    font-weight: 500;
}

.hero-decor-line {
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, #0033a0, var(--prd-yellow), #0033a0);
    margin: 22px auto 0 auto;
    border-radius: 2px;
    box-shadow: 0 0 12px var(--prd-yellow);
}

/* Sección Interactivas y Tarjetas */
.presidenta-interactive-section {
    padding: 60px 20px;
    background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
    position: relative;
}

.container-presidenta-bold {
    max-width: 1200px;
    margin: 0 auto;
}

.presidenta-grid-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 35px;
    align-items: start;
}

/* Sidebar Foto 3D (Scroll Fluido y Dinámico) */
.sidebar-photo-column {
    position: relative;
    /* Ajustado para un scroll libre sin trancarse */
}

.pan-photo-card-3d {
    background: #ffffff;
    border-radius: 22px;
    padding: 14px;
    box-shadow: 0 15px 35px rgba(0, 51, 160, 0.12);
    border: 1px solid rgba(0, 51, 160, 0.18);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.pan-photo-card-3d:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 45px rgba(0, 51, 160, 0.22);
}

.photo-glow-border {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.photo-glow-border img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.pan-photo-card-3d:hover img {
    transform: scale(1.04);
}

.photo-overlay-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0, 51, 160, 0.8) 100%);
}

.photo-badge-pan {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--pan-blue);
    padding: 8px 12px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 800;
}

.photo-card-info {
    margin-top: 12px;
    padding: 4px 0;
}

.photo-card-info h3 {
    font-size: 1.2rem;
    color: #0f172a;
    font-weight: 800;
}

.pan-role-tag {
    font-size: 0.82rem;
    color: var(--pan-blue);
    font-weight: 700;
    margin: 0;
}

/* Tarjeta Flotante de Contacto */
.pan-contact-floating-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 20px;
    margin-top: 18px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--pan-blue);
}

.pan-contact-floating-card h4 {
    font-size: 0.98rem;
    color: var(--pan-blue);
    font-weight: 800;
    margin-bottom: 12px;
}

.contact-line {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: #475569;
    margin-bottom: 8px;
}

.contact-line i {
    color: var(--pan-blue);
}

.btn-pan-fb-glow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #1877f2 0%, var(--pan-blue) 100%);
    color: #ffffff !important;
    padding: 11px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(24, 119, 242, 0.3);
    transition: all 0.3s ease;
    margin-top: 12px;
}

.btn-pan-fb-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(24, 119, 242, 0.45);
}

/* Tarjeta con Animación Typing Box */
.pan-typing-card {
    background: #0f172a;
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 15px 35px rgba(0, 51, 160, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.15);
    margin-bottom: 22px;
    position: relative;
    overflow: hidden;
}

.typing-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--prd-yellow);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 8px;
}

.typing-card-body {
    display: inline;
}

#typing-text-target {
    display: inline;
    font-size: 1rem;
    color: #ffffff;
    line-height: 1.7;
    font-weight: 500;
}

.typing-cursor {
    display: inline-block;
    color: var(--prd-yellow);
    font-weight: 800;
    font-size: 1.1rem;
    animation: blink-caret 0.75s infinite;
}

@keyframes blink-caret {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* Tarjetas Flotantes de Ejes (Compactas) */
.pan-eje-floating-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 22px;
    margin-bottom: 18px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
    border: 1px solid #e2e8f0;
    display: flex;
    gap: 18px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pan-eje-floating-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 51, 160, 0.1);
    border-color: rgba(0, 51, 160, 0.25);
}

.eje-badge-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--pan-blue) 0%, #001f66 100%);
    color: #ffffff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(0, 51, 160, 0.25);
}

.eje-card-body {
    flex: 1;
}

.eje-num-tag {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--pan-blue);
    background: #e0f2fe;
    padding: 3px 10px;
    border-radius: 30px;
    letter-spacing: 0.8px;
}

.eje-card-body h3 {
    font-size: 1.1rem;
    color: #0f172a;
    font-weight: 800;
    margin: 8px 0 10px 0;
}

.eje-sub-lead {
    font-size: 0.92rem;
    color: #475569;
    margin-bottom: 8px;
}

.pan-list-check {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pan-list-check li {
    font-size: 0.92rem;
    color: #334155;
    line-height: 1.6;
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.pan-list-check li i {
    color: var(--pan-blue);
    font-size: 0.95rem;
    margin-top: 3px;
    flex-shrink: 0;
}

/* Tarjeta Resumen en Tabla */
.pan-summary-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    margin-top: 25px;
}

.summary-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.summary-header h3 {
    font-size: 1.15rem;
    color: #0f172a;
    font-weight: 800;
    margin: 0;
}

.pan-table-custom {
    width: 100%;
    border-collapse: collapse;
}

.pan-table-custom th {
    background-color: var(--pan-blue);
    color: #ffffff;
    padding: 12px 15px;
    font-size: 0.85rem;
    font-weight: 700;
    text-align: left;
}

.pan-table-custom th:first-child {
    border-top-left-radius: 10px;
}

.pan-table-custom th:last-child {
    border-top-right-radius: 10px;
}

.pan-table-custom td {
    padding: 12px 15px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.9rem;
    color: #334155;
}

.pan-table-custom tr:hover td {
    background-color: #f8fafc;
}

/* Ajustes Responsivos */
@media (max-width: 991px) {
    .presidenta-grid-layout {
        grid-template-columns: 1fr;
    }

    .sidebar-photo-column {
        max-width: 360px;
        margin: 0 auto 25px auto;
    }

    .pan-eje-floating-card {
        flex-direction: column;
        gap: 12px;
    }

    .hero-title-bold {
        font-size: 2rem;
    }
}

/* ==========================================
   PÁGINA CUENTA PÚBLICA (CUENTA-PUBLICA.HTML)
   ========================================== */
.cuenta-publica-section {
    padding: 60px 20px;
    background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
    position: relative;
    min-height: 80vh;
}

.container-cuenta-publica {
    max-width: 1250px;
    margin: 0 auto;
}

/* Tarjeta Flotante para el Iframe */
.cuenta-publica-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 25px;
    box-shadow: 0 20px 50px rgba(0, 51, 160, 0.12);
    border: 1px solid rgba(0, 51, 160, 0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.cuenta-publica-card:hover {
    box-shadow: 0 25px 60px rgba(0, 51, 160, 0.18);
}

.card-status-bar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e0f2fe;
    color: var(--pan-blue);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 30px;
}

.status-badge i {
    color: #0284c7;
}

/* Envoltorio del Iframe */
.iframe-container-wrapper {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.iframe-container-wrapper iframe {
    display: block;
    width: 100%;
}

/* Responsivo en pantallas pequeñas */
@media (max-width: 768px) {
    .cuenta-publica-section {
        padding: 30px 12px;
    }

    .cuenta-publica-card {
        padding: 15px 10px;
        border-radius: 16px;
    }
}

/* ==========================================
   PÁGINA SEVAC (SEVAC.HTML)
   ========================================== */
.sevac-section {
    padding: 60px 20px;
    background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
    position: relative;
    min-height: 80vh;
}

.container-sevac {
    max-width: 1250px;
    margin: 0 auto;
}

/* Selector de Pestañas (Tabs) */
.sevac-tabs-wrapper {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.sevac-tab-btn {
    background: #ffffff;
    color: #475569;
    border: 2px solid #cbd5e1;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.sevac-tab-btn i {
    font-size: 1.1rem;
    color: var(--pan-blue);
    transition: color 0.3s ease;
}

.sevac-tab-btn:hover {
    border-color: var(--pan-blue);
    color: var(--pan-blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 51, 160, 0.12);
}

.sevac-tab-btn.active {
    background: linear-gradient(135deg, var(--pan-blue) 0%, #001f66 100%);
    color: #ffffff !important;
    border-color: var(--pan-blue);
    box-shadow: 0 8px 25px rgba(0, 51, 160, 0.3);
}

.sevac-tab-btn.active i {
    color: var(--prd-yellow);
}

/* Control de Visualización de Contenidos */
.sevac-tab-content {
    display: none;
}

.sevac-tab-content.active {
    display: block;
}

/* Badge especial para la sección de Agua Potable */
.status-badge.status-water {
    background: #e0f2fe;
    color: #0284c7;
}

.status-badge.status-water i {
    color: #0284c7;
}

/* Responsivo Móvil */
@media (max-width: 768px) {
    .sevac-tab-btn {
        width: 100%;
        justify-content: center;
        padding: 10px 18px;
        font-size: 0.88rem;
    }
}