/* ==========================================================================
   CETPRO Dionisia Herrera Alvarado — Web pública
   Hoja de estilos principal
   --------------------------------------------------------------------------
   Índice
   01. Variables (tokens de diseño)
   02. Reset y base
   03. Utilidades y layout
   04. Botones
   05. Barra superior y cabecera
   06. Menú móvil (drawer)
   07. Hero principal (slider)
   08. Cabecera de páginas internas
   09. Secciones y encabezados
   10. Tarjetas (programas, eventos, noticias)
   11. Filtros / pestañas
   12. Bloques institucionales (split, timeline, valores, director)
   13. Carrusel de campañas
   14. Admisión (pasos, requisitos, FAQ)
   15. Contacto (canales, formulario, mapa)
   16. CTA y pie de página
   17. Modal y lightbox
   18. Botones flotantes y animaciones
   19. Responsive: tablet, laptop, desktop
   Historia de usuario relacionada: HU-01 (diseño responsive)
   ========================================================================== */

/* 01. VARIABLES ============================================================ */
:root {
    --navy-950: #051327;
    --navy-900: #071a33;
    --navy-800: #0b2545;
    --navy-700: #13315c;
    --navy-600: #1d4e89;
    --navy-100: #e6edf7;

    --green-700: #11643a;
    --green-600: #157f45;
    --green-500: #1c9b55;
    --green-100: #dcf3e5;
    --green-50:  #effaf3;

    --gold-600: #c98a0c;
    --gold-500: #e3a41f;
    --gold-100: #fdf3dc;

    --ink:   #0f172a;
    --text:  #3b4659;
    --muted: #64748b;
    --line:  #e3e8ef;
    --bg:    #f5f7fb;
    --white: #ffffff;

    --font-head: "Plus Jakarta Sans", "Segoe UI", Roboto, Arial, sans-serif;
    --font-body: "Inter", "Segoe UI", Roboto, Arial, sans-serif;

    --container: 1240px;
    --gutter: clamp(1rem, 4vw, 2rem);
    --header-h: 76px;

    --r-sm: 8px;
    --r-md: 14px;
    --r-lg: 22px;
    --r-full: 999px;

    --sh-xs: 0 1px 2px rgba(15, 23, 42, .06);
    --sh-sm: 0 4px 14px rgba(15, 23, 42, .07);
    --sh-md: 0 12px 32px rgba(15, 23, 42, .10);
    --sh-lg: 0 24px 60px rgba(7, 26, 51, .18);

    --ease: cubic-bezier(.2, .7, .2, 1);
    --t: .28s var(--ease);
}

/* 02. RESET Y BASE ========================================================= */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
    margin: 0;
    font-family: var(--font-head);
    color: var(--ink);
    line-height: 1.18;
    letter-spacing: -.015em;
}

p { margin: 0; }

:focus-visible {
    outline: 3px solid var(--gold-500);
    outline-offset: 3px;
    border-radius: 4px;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -60px;
    z-index: 200;
    padding: .7rem 1rem;
    background: var(--navy-800);
    color: var(--white);
    border-radius: var(--r-sm);
    transition: top var(--t);
}
.skip-link:focus { top: 1rem; }

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* 03. UTILIDADES Y LAYOUT ================================================== */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.grid { display: grid; gap: clamp(1rem, 2.5vw, 1.75rem); }
.grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }

.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
[hidden] { display: none !important; }

/* 04. BOTONES ============================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    min-height: 48px;
    padding: .75rem 1.35rem;
    border: 2px solid transparent;
    border-radius: var(--r-full);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: .95rem;
    line-height: 1.2;
    white-space: nowrap;
    transition: background var(--t), color var(--t), border-color var(--t), transform var(--t), box-shadow var(--t);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--green-600); color: var(--white); box-shadow: 0 8px 20px rgba(21, 127, 69, .28); }
.btn-primary:hover { background: var(--green-700); }

.btn-navy { background: var(--navy-800); color: var(--white); }
.btn-navy:hover { background: var(--navy-700); }

.btn-gold { background: var(--gold-500); color: var(--navy-900); }
.btn-gold:hover { background: #f0b632; }

.btn-ghost { border-color: rgba(255, 255, 255, .55); color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--navy-800); border-color: var(--white); }

.btn-outline { border-color: var(--navy-800); color: var(--navy-800); }
.btn-outline:hover { background: var(--navy-800); color: var(--white); }

.btn-block { width: 100%; }
.btn-sm { min-height: 40px; padding: .5rem 1rem; font-size: .88rem; }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-family: var(--font-head);
    font-weight: 700;
    color: var(--green-600);
    background: none;
    border: 0;
    padding: 0;
}
.link-arrow i { transition: transform var(--t); }
.link-arrow:hover i { transform: translateX(4px); }

/* 05. BARRA SUPERIOR Y CABECERA ============================================ */
.topbar {
    display: none;
    background: var(--navy-900);
    color: #c9d6ea;
    font-size: .84rem;
}
.topbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 40px;
}
.topbar-info, .topbar-social { display: flex; align-items: center; gap: 1.4rem; }
.topbar-info span, .topbar-info a { display: inline-flex; align-items: center; gap: .45rem; }
.topbar i { color: var(--gold-500); }
.topbar-social a { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; transition: background var(--t); }
.topbar-social a:hover { background: rgba(255, 255, 255, .12); }
.topbar-social i { color: #c9d6ea; }

.header {
    position: sticky;
    top: 0;
    z-index: 90;
    background: rgba(255, 255, 255, .97);
    backdrop-filter: saturate(180%) blur(10px);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid transparent;
    transition: box-shadow var(--t), border-color var(--t);
}
.header.is-scrolled { box-shadow: var(--sh-sm); border-color: var(--line); }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: .7rem; min-width: 0; }
.brand img { width: 50px; height: 50px; object-fit: contain; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand-text strong {
    font-family: var(--font-head);
    font-size: 1.12rem;
    font-weight: 800;
    color: var(--navy-800);
    letter-spacing: .04em;
}
.brand-text span {
    font-size: .8rem;
    font-weight: 600;
    color: var(--green-600);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav { display: none; }

.nav-list { display: flex; align-items: center; gap: .15rem; }
.nav-link {
    position: relative;
    display: block;
    padding: .55rem .75rem;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: .93rem;
    color: var(--ink);
    border-radius: var(--r-sm);
    transition: color var(--t), background var(--t);
}
.nav-link::after {
    content: "";
    position: absolute;
    left: .75rem; right: .75rem; bottom: .2rem;
    height: 2px;
    background: var(--green-600);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform var(--t);
}
.nav-link:hover { color: var(--green-600); }
.nav-link.active { color: var(--green-600); }
.nav-link.active::after, .nav-link:hover::after { transform: scaleX(1); }

.btn-sistema { margin-left: .6rem; }

.menu-toggle {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
    color: var(--navy-800);
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* 06. MENÚ MÓVIL (DRAWER) ================================================= */
.drawer-backdrop {
    position: fixed; inset: 0; z-index: 110;
    background: rgba(5, 19, 39, .55);
    opacity: 0; visibility: hidden;
    transition: opacity var(--t), visibility var(--t);
}
.drawer {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 120;
    width: min(86vw, 360px);
    display: flex; flex-direction: column;
    background: var(--white);
    box-shadow: var(--sh-lg);
    transform: translateX(100%);
    transition: transform .35s var(--ease);
}
.drawer-open .drawer { transform: translateX(0); }
.drawer-open .drawer-backdrop { opacity: 1; visibility: visible; }

.drawer-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1rem 1.25rem; border-bottom: 1px solid var(--line);
}
.drawer-close {
    width: 42px; height: 42px; border: 0; border-radius: 10px;
    background: var(--bg); color: var(--ink); font-size: 1.15rem;
}
.drawer-nav { flex: 1; overflow-y: auto; padding: .75rem; }
.drawer-nav a {
    display: flex; align-items: center; gap: .85rem;
    padding: .85rem 1rem; border-radius: 12px;
    font-family: var(--font-head); font-weight: 600; color: var(--ink);
}
.drawer-nav a i { width: 20px; color: var(--muted); text-align: center; }
.drawer-nav a.active, .drawer-nav a:hover { background: var(--green-50); color: var(--green-700); }
.drawer-nav a.active i, .drawer-nav a:hover i { color: var(--green-600); }
.drawer-foot { padding: 1.25rem; border-top: 1px solid var(--line); display: grid; gap: .9rem; }
.drawer-foot p { font-size: .85rem; color: var(--muted); display: flex; gap: .5rem; align-items: flex-start; }
.drawer-foot p i { color: var(--green-600); margin-top: .25rem; }

/* 07. HERO PRINCIPAL ====================================================== */
.hero {
    position: relative;
    min-height: clamp(560px, 88vh, 760px);
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--navy-900);
    color: var(--white);
}
.hero-slides, .hero-slide { position: absolute; inset: 0; }
.hero-slide {
    opacity: 0;
    transition: opacity 1.1s ease;
}
.hero-slide.is-active { opacity: 1; }
.hero-slide img {
    width: 100%; height: 100%; object-fit: cover;
    transform: scale(1.06);
    transition: transform 7s ease-out;
}
.hero-slide.is-active img { transform: scale(1); }

.hero::after {
    content: "";
    position: absolute; inset: 0;
    background:
        linear-gradient(90deg, rgba(5, 19, 39, .92) 0%, rgba(7, 26, 51, .78) 45%, rgba(7, 26, 51, .35) 100%),
        linear-gradient(0deg, rgba(5, 19, 39, .7) 0%, transparent 40%);
}

.hero-content { position: relative; z-index: 2; padding-block: 4rem 9rem; }
.hero-content > * { max-width: 680px; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .4rem .9rem;
    border-radius: var(--r-full);
    font-family: var(--font-head);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.eyebrow-light { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); color: #fff; }
.eyebrow-light i { color: var(--gold-500); }

.hero h1 {
    margin-top: 1.1rem;
    color: var(--white);
    font-size: clamp(2.1rem, 6.2vw, 3.9rem);
    font-weight: 800;
}
.hero h1 em { font-style: normal; color: var(--gold-500); }
.hero-lead {
    margin-top: 1.1rem;
    font-size: clamp(1rem, 2.2vw, 1.18rem);
    color: #d5deeb;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

.hero-badges { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: 2rem; font-size: .9rem; color: #c9d6ea; }
.hero-badges span { display: inline-flex; align-items: center; gap: .45rem; }
.hero-badges i { color: var(--green-500); }

.hero-controls {
    position: absolute; z-index: 3;
    left: 0; right: 0; bottom: 4.6rem;
}
.hero-controls .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.hero-dots { display: flex; gap: .5rem; }
.hero-dot {
    width: 10px; height: 10px; padding: 0;
    border: 0; border-radius: var(--r-full);
    background: rgba(255, 255, 255, .4);
    transition: width var(--t), background var(--t);
}
.hero-dot.is-active { width: 34px; background: var(--gold-500); }
.hero-arrows { display: flex; gap: .5rem; }
.hero-arrow {
    width: 46px; height: 46px; border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .35);
    background: rgba(255, 255, 255, .08);
    color: var(--white);
    transition: background var(--t), color var(--t);
}
.hero-arrow:hover { background: var(--white); color: var(--navy-800); }

/* Tarjetas de acceso rápido que se superponen al hero */
.quick {
    position: relative; z-index: 5;
    margin-top: -3.2rem;
}
.quick-grid {
    display: grid;
    grid-template-columns: 1fr;
    background: var(--white);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-md);
    overflow: hidden;
}
.quick-item {
    display: flex; gap: 1rem; align-items: flex-start;
    padding: 1.4rem 1.5rem;
    border-bottom: 1px solid var(--line);
    transition: background var(--t);
}
.quick-item:last-child { border-bottom: 0; }
.quick-item:hover { background: var(--bg); }
.quick-icon {
    display: grid; place-items: center; flex-shrink: 0;
    width: 50px; height: 50px; border-radius: 14px;
    background: var(--green-50); color: var(--green-600); font-size: 1.25rem;
}
.quick-item:nth-child(2) .quick-icon { background: var(--navy-100); color: var(--navy-600); }
.quick-item:nth-child(3) .quick-icon { background: var(--gold-100); color: var(--gold-600); }
.quick-item h3 { font-size: 1.05rem; }
.quick-item p { font-size: .9rem; color: var(--muted); margin-top: .2rem; }


/* 07b. SLIDER: progreso, contador y botones (cambio cada 3 s) ============= */
.hero-progress {
    position: absolute; top: 0; left: 0; right: 0; z-index: 4;
    height: 4px; background: rgba(255, 255, 255, .15);
}
.hero-progress span { display: block; width: 0; height: 100%; background: var(--gold-500); }
.hero-nav-left { display: flex; align-items: center; gap: 1rem; }
.hero-counter {
    font-family: var(--font-head); font-weight: 700; font-size: .9rem;
    color: var(--white); letter-spacing: .08em; font-variant-numeric: tabular-nums;
}
.hero-arrow { width: 50px; height: 50px; font-size: 1rem; backdrop-filter: blur(4px); }
.hero:focus-visible { outline-offset: -4px; }

/* Botón de Facebook */
.btn-facebook { background: #1877f2; color: var(--white); box-shadow: 0 8px 20px rgba(24, 119, 242, .25); }
.btn-facebook:hover { background: #0f63d6; }
.socials a[aria-label^="Facebook"]:hover, .topbar-social a[aria-label^="Facebook"]:hover { background: #1877f2; }

/* Sección Facebook */
.fb-section { display: grid; gap: 2.5rem; align-items: center; }
.fb-box {
    width: 100%; max-width: 500px; min-height: 560px; margin-inline: auto;
    display: flex; justify-content: center;
    background: var(--white); border: 1px solid var(--line);
    border-radius: var(--r-lg); box-shadow: var(--sh-md); overflow: hidden;
}
.fb-box iframe { display: block; }
.fb-placeholder {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem;
    width: 100%; padding: 2rem; text-align: center; color: var(--ink);
    background: linear-gradient(160deg, #e7f0fe, #fff 60%);
}
.fb-placeholder i { font-size: 3.5rem; color: #1877f2; }
.fb-placeholder strong { font-family: var(--font-head); font-size: 1.1rem; }
.fb-placeholder span { color: var(--muted); font-size: .9rem; }
.fb-alt { grid-column: 1 / -1; text-align: center; font-size: .88rem; color: var(--muted); }
.fb-alt i { color: #1877f2; }
.fb-alt a { color: #1877f2; font-weight: 600; text-decoration: underline; }
@media (min-width: 992px) { .fb-alt { grid-column: 2; } }
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom a:hover { color: var(--white); }

@media (max-width: 575px) {
    .hero-counter { display: none; }
    .hero-arrow { width: 44px; height: 44px; }
    .fb-box { min-height: 480px; }
}
@media (min-width: 992px) {
    .fb-section { grid-template-columns: 1fr 500px; gap: 4rem; }
}

/* 08. CABECERA DE PÁGINAS INTERNAS ========================================= */
.page-hero {
    position: relative;
    padding-block: clamp(4rem, 10vw, 6.5rem) clamp(3rem, 7vw, 4.5rem);
    color: var(--white);
    background: var(--navy-900);
    overflow: hidden;
}
.page-hero > img {
    position: absolute; inset: 0;
    width: 100%; height: 100%; object-fit: cover;
}
.page-hero::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(100deg, rgba(5, 19, 39, .94) 0%, rgba(11, 37, 69, .8) 55%, rgba(11, 37, 69, .45) 100%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 5.5vw, 3.2rem); margin-top: 1rem; max-width: 760px; }
.page-hero p { margin-top: .9rem; max-width: 640px; color: #d5deeb; font-size: clamp(1rem, 2vw, 1.12rem); }

.breadcrumb { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.5rem; font-size: .88rem; color: #aebcd2; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; opacity: .6; }
.breadcrumb [aria-current] { color: var(--gold-500); }

/* 09. SECCIONES ============================================================ */
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section-alt { background: var(--bg); }
.section-dark { background: var(--navy-900); color: #c9d6ea; }
.section-dark h2, .section-dark h3 { color: var(--white); }

.section-head { max-width: 720px; margin-bottom: clamp(2rem, 5vw, 3rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { background: var(--green-50); color: var(--green-700); }
.section-dark .section-head .eyebrow { background: rgba(255, 255, 255, .1); color: var(--gold-500); }
.section-head h2 { margin-top: .85rem; font-size: clamp(1.75rem, 4.2vw, 2.6rem); font-weight: 800; }
.section-head p { margin-top: .85rem; font-size: 1.05rem; color: var(--muted); }
.section-dark .section-head p { color: #aebcd2; }

.section-row {
    display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.25rem;
    margin-bottom: clamp(2rem, 5vw, 3rem);
}
.section-row .section-head { margin-bottom: 0; }

/* Estadísticas */
.stats { background: var(--navy-800); color: var(--white); }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.stat {
    padding: 1.8rem 1rem;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, .1);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.stat:nth-child(2n) { border-right: 0; }
.stat strong {
    display: block;
    font-family: var(--font-head);
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 800;
    color: var(--gold-500);
    line-height: 1;
}
.stat span { display: block; margin-top: .55rem; font-size: .9rem; color: #c9d6ea; }

/* 10. TARJETAS ============================================================= */
.card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--sh-xs);
    transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--sh-md); border-color: transparent; }

.card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy-100); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card-media img { transform: scale(1.06); }

.card-tag {
    position: absolute; top: 1rem; left: 1rem;
    padding: .3rem .75rem;
    border-radius: var(--r-full);
    font-family: var(--font-head); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    background: var(--white); color: var(--navy-800);
    box-shadow: var(--sh-sm);
}
.card-tag.is-tecnico { background: var(--navy-800); color: var(--white); }
.card-tag.is-auxiliar { background: var(--green-600); color: var(--white); }

.card-body { display: flex; flex-direction: column; flex: 1; padding: 1.4rem 1.4rem 1.5rem; }
.card-kicker { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green-600); }
.card-body h3 { margin-top: .4rem; font-size: 1.18rem; }
.card-body p { margin-top: .55rem; font-size: .94rem; color: var(--muted); }
.card-meta {
    display: flex; flex-wrap: wrap; gap: .4rem 1rem;
    margin-top: 1rem; padding-top: 1rem;
    border-top: 1px dashed var(--line);
    font-size: .85rem; color: var(--muted);
}
.card-meta span { display: inline-flex; align-items: center; gap: .4rem; }
.card-meta i { color: var(--green-600); }
.card-foot { margin-top: auto; padding-top: 1.1rem; }

/* Fecha en tarjetas de eventos */
.date-badge {
    position: absolute; right: 1rem; bottom: -1.6rem; z-index: 2;
    display: grid; place-items: center;
    width: 64px; height: 64px;
    border-radius: 16px;
    background: var(--gold-500); color: var(--navy-900);
    font-family: var(--font-head); line-height: 1; text-align: center;
    box-shadow: var(--sh-sm);
}
.date-badge strong { display: block; font-size: 1.45rem; font-weight: 800; }
.date-badge small { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-top: -.6rem; }
.card-event .card-media { overflow: visible; }
.card-event .card-media img { border-radius: var(--r-lg) var(--r-lg) 0 0; }
.card-event .card-body { padding-top: 1.9rem; }

/* Noticias */
.news-featured {
    display: grid;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--sh-sm);
}
.news-featured .card-media { aspect-ratio: 16 / 9; }
.news-featured .card-body { padding: clamp(1.4rem, 3vw, 2.4rem); justify-content: center; }
.news-featured h3 { font-size: clamp(1.35rem, 3vw, 1.9rem); }

.news-item {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 1rem;
    align-items: center;
    padding: .9rem;
    border-radius: var(--r-md);
    background: var(--white);
    border: 1px solid var(--line);
    text-align: left;
    width: 100%;
    transition: box-shadow var(--t), transform var(--t);
}
.news-item:hover { box-shadow: var(--sh-sm); transform: translateY(-2px); }
.news-item img { width: 96px; height: 76px; border-radius: 10px; object-fit: cover; }
.news-item h4 { font-size: .98rem; line-height: 1.3; }
.news-item small { display: block; margin-top: .3rem; color: var(--muted); font-size: .8rem; }

/* 11. FILTROS ============================================================== */
.filters {
    display: flex; gap: .5rem;
    overflow-x: auto;
    padding-bottom: .4rem;
    margin-bottom: 2rem;
    scrollbar-width: none;
}
.filters::-webkit-scrollbar { display: none; }
.chip {
    flex-shrink: 0;
    padding: .6rem 1.1rem;
    border: 1px solid var(--line);
    border-radius: var(--r-full);
    background: var(--white);
    font-family: var(--font-head);
    font-size: .9rem;
    font-weight: 600;
    color: var(--text);
    transition: all var(--t);
}
.chip:hover { border-color: var(--navy-800); color: var(--navy-800); }
.chip.is-active { background: var(--navy-800); border-color: var(--navy-800); color: var(--white); }
.chip .count { margin-left: .35rem; opacity: .65; font-weight: 500; }

.search-box { position: relative; margin-bottom: 1rem; max-width: 420px; }
.search-box i { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search-box input {
    width: 100%; min-height: 48px;
    padding: .7rem 1rem .7rem 2.7rem;
    border: 1px solid var(--line); border-radius: var(--r-full);
    font: inherit; background: var(--white);
}
.search-box input:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 4px var(--green-100); }

.empty-state { padding: 3rem 1rem; text-align: center; color: var(--muted); }
.empty-state i { font-size: 2rem; color: var(--line); margin-bottom: .75rem; }

/* 12. BLOQUES INSTITUCIONALES ============================================= */
.split { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split-media { position: relative; }
.split-media > img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--r-lg);
    box-shadow: var(--sh-md);
}
.split-badge {
    position: absolute; left: -.5rem; bottom: -1.5rem;
    display: flex; align-items: center; gap: .9rem;
    padding: 1rem 1.2rem;
    background: var(--white);
    border-radius: var(--r-md);
    box-shadow: var(--sh-md);
}
.split-badge strong { font-family: var(--font-head); font-size: 2rem; font-weight: 800; color: var(--green-600); line-height: 1; }
.split-badge span { font-size: .85rem; line-height: 1.3; color: var(--text); font-weight: 600; }

.check-list { display: grid; gap: .8rem; margin-top: 1.5rem; }
.check-list li { display: flex; gap: .75rem; align-items: flex-start; }
.check-list i {
    flex-shrink: 0; display: grid; place-items: center;
    width: 24px; height: 24px; margin-top: .1rem;
    border-radius: 50%;
    background: var(--green-100); color: var(--green-700); font-size: .72rem;
}

.feature {
    padding: 1.75rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    transition: transform var(--t), box-shadow var(--t);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
.feature-icon {
    display: grid; place-items: center;
    width: 56px; height: 56px; border-radius: 16px;
    background: var(--navy-800); color: var(--gold-500); font-size: 1.35rem;
}
.feature h3 { margin-top: 1.2rem; font-size: 1.2rem; }
.feature p { margin-top: .6rem; color: var(--muted); font-size: .95rem; }

/* Línea de tiempo */
.timeline { position: relative; display: grid; gap: 1.5rem; padding-left: 2rem; }
.timeline::before {
    content: ""; position: absolute; left: 9px; top: .5rem; bottom: .5rem;
    width: 2px; background: linear-gradient(var(--green-600), var(--navy-600));
}
.timeline-item { position: relative; }
.timeline-item::before {
    content: ""; position: absolute; left: -2rem; top: .35rem;
    width: 20px; height: 20px; border-radius: 50%;
    background: var(--white); border: 4px solid var(--green-600);
}
.timeline-item .year { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: var(--green-600); }
.timeline-item h3 { font-size: 1.1rem; margin-top: .2rem; }
.timeline-item p { margin-top: .35rem; color: var(--muted); font-size: .95rem; }

/* Mensaje del director */
.director {
    display: grid; gap: 2rem; align-items: center;
    padding: clamp(1.5rem, 4vw, 3rem);
    background: var(--white);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-md);
}
.director-photo { position: relative; max-width: 320px; margin-inline: auto; }
.director-photo img { border-radius: var(--r-lg); aspect-ratio: 4 / 5; object-fit: cover; object-position: top; width: 100%; }
.director-photo figcaption {
    position: absolute; left: 1rem; right: 1rem; bottom: 1rem;
    padding: .8rem 1rem; border-radius: var(--r-md);
    background: rgba(7, 26, 51, .9); color: var(--white);
    text-align: center; font-size: .85rem;
}
.director-photo figcaption strong { display: block; font-family: var(--font-head); font-size: 1rem; }
.director blockquote { margin: 0; }
.director blockquote > i { font-size: 2.4rem; color: var(--green-100); }
.director blockquote p { margin-top: 1rem; font-size: 1.05rem; }
.director blockquote p + p { margin-top: .9rem; }
.director cite { display: block; margin-top: 1.5rem; font-style: normal; font-family: var(--font-head); font-weight: 700; color: var(--ink); }
.director cite span { display: block; font-family: var(--font-body); font-weight: 500; color: var(--muted); font-size: .9rem; }

/* 13. CARRUSEL DE CAMPAÑAS ================================================= */
.carousel { position: relative; }
.carousel-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 88%;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: .5rem;
    scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide {
    scroll-snap-align: start;
    border: 0; padding: 0; background: none;
    border-radius: var(--r-md);
    overflow: hidden;
    box-shadow: var(--sh-sm);
    cursor: zoom-in;
}
.carousel-slide img { width: 100%; aspect-ratio: 1600 / 667; object-fit: cover; transition: transform .5s var(--ease); }
.carousel-slide:hover img { transform: scale(1.03); }
.carousel-nav { display: flex; gap: .5rem; }
.carousel-btn {
    width: 46px; height: 46px; border-radius: 50%;
    border: 1px solid var(--line); background: var(--white); color: var(--navy-800);
    transition: all var(--t);
}
.carousel-btn:hover { background: var(--navy-800); color: var(--white); border-color: var(--navy-800); }

/* Galería */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.gallery button { padding: 0; border: 0; border-radius: var(--r-md); overflow: hidden; cursor: zoom-in; background: var(--navy-100); }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .5s var(--ease); }
.gallery button:hover img { transform: scale(1.06); }

/* 14. ADMISIÓN ============================================================= */
.steps { counter-reset: step; display: grid; gap: 1.25rem; }
.step {
    position: relative;
    padding: 1.6rem 1.5rem 1.5rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
}
.step::before {
    counter-increment: step;
    content: counter(step, decimal-leading-zero);
    display: grid; place-items: center;
    width: 52px; height: 52px; border-radius: 14px;
    background: var(--green-600); color: var(--white);
    font-family: var(--font-head); font-weight: 800; font-size: 1.1rem;
}
.step h3 { margin-top: 1rem; font-size: 1.12rem; }
.step p { margin-top: .5rem; color: var(--muted); font-size: .94rem; }

.req-card {
    padding: clamp(1.5rem, 4vw, 2.25rem);
    background: var(--white);
    border-radius: var(--r-lg);
    border-top: 5px solid var(--green-600);
    box-shadow: var(--sh-sm);
}
.req-card.is-navy { border-top-color: var(--navy-700); }
.req-card h3 { font-size: 1.3rem; display: flex; align-items: center; gap: .6rem; }
.req-card h3 i { color: var(--green-600); }
.req-card.is-navy h3 i { color: var(--navy-600); }

.faq { display: grid; gap: .75rem; max-width: 860px; margin-inline: auto; }
.faq details {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    transition: box-shadow var(--t);
}
.faq details[open] { box-shadow: var(--sh-sm); border-color: transparent; }
.faq summary {
    display: flex; justify-content: space-between; align-items: center; gap: 1rem;
    padding: 1.1rem 1.3rem;
    font-family: var(--font-head); font-weight: 700; color: var(--ink);
    cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { color: var(--green-600); transition: transform var(--t); }
.faq details[open] summary i { transform: rotate(45deg); }
.faq details p { padding: 0 1.3rem 1.2rem; color: var(--muted); }

/* 15. CONTACTO ============================================================= */
.channel {
    display: flex; gap: 1rem; align-items: flex-start;
    padding: 1.4rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    transition: box-shadow var(--t), transform var(--t);
}
a.channel:hover { box-shadow: var(--sh-md); transform: translateY(-3px); }
.channel .quick-icon { background: var(--navy-800); color: var(--gold-500); }
.channel h3 { font-size: 1.02rem; }
.channel p { margin-top: .25rem; font-size: .93rem; color: var(--muted); word-break: break-word; }

.form-card {
    padding: clamp(1.5rem, 4vw, 2.5rem);
    background: var(--white);
    border-radius: var(--r-lg);
    box-shadow: var(--sh-md);
}
.form-grid { display: grid; gap: 1rem; margin-top: 1.5rem; }
.field label { display: block; margin-bottom: .4rem; font-size: .88rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
    width: 100%; min-height: 50px;
    padding: .75rem 1rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--bg);
    font: inherit; color: var(--ink);
    transition: border-color var(--t), box-shadow var(--t), background var(--t);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none; background: var(--white);
    border-color: var(--green-600); box-shadow: 0 0 0 4px var(--green-100);
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #dc2626; }
.field-error { display: block; min-height: 1.2rem; margin-top: .3rem; font-size: .82rem; line-height: 1.2rem; color: #b91c1c; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: .75rem; }
.form-alert {
    display: none; margin-top: 1rem; padding: .9rem 1rem;
    border-radius: 12px; background: var(--green-50); color: var(--green-700); font-weight: 600;
}
.form-alert.is-visible { display: block; }

.map-wrap {
    border-radius: var(--r-lg); overflow: hidden;
    box-shadow: var(--sh-sm); border: 1px solid var(--line);
    min-height: 360px;
}
.map-wrap iframe { display: block; width: 100%; height: 100%; min-height: 360px; border: 0; }

.team-card { text-align: center; padding: 1.75rem 1.25rem; }
.team-card .avatar {
    width: 92px; height: 92px; margin: 0 auto 1rem;
    border-radius: 50%; overflow: hidden;
    display: grid; place-items: center;
    background: var(--navy-100); color: var(--navy-600); font-size: 2rem;
}
.team-card .avatar img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.team-card h3 { font-size: 1.08rem; }
.team-card p { margin-top: .35rem; color: var(--muted); font-size: .92rem; }

/* 16. CTA Y PIE DE PÁGINA ================================================== */
.cta {
    position: relative;
    padding: clamp(2.5rem, 6vw, 4rem);
    border-radius: var(--r-lg);
    background:
        radial-gradient(circle at 90% 10%, rgba(227, 164, 31, .25), transparent 40%),
        linear-gradient(120deg, var(--navy-800), var(--navy-700) 60%, var(--green-700));
    color: var(--white);
    overflow: hidden;
    display: grid; gap: 1.5rem; align-items: center;
}
.cta h2 { color: var(--white); font-size: clamp(1.6rem, 4vw, 2.4rem); }
.cta p { margin-top: .75rem; color: #d5deeb; max-width: 560px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.footer { background: var(--navy-950); color: #aebcd2; font-size: .94rem; }
.footer-top { display: grid; gap: 2.5rem; padding-block: clamp(3rem, 7vw, 4.5rem); }
.footer .brand-text strong { color: var(--white); }
.footer .brand-text span { color: var(--gold-500); }
.footer-about p { margin-top: 1rem; max-width: 340px; }
.footer h4 { color: var(--white); font-size: 1rem; margin-bottom: 1.1rem; }
.footer-links { display: grid; gap: .6rem; }
.footer-links a { display: inline-flex; gap: .5rem; align-items: center; transition: color var(--t); }
.footer-links a:hover { color: var(--white); }
.footer-contact li { display: flex; gap: .7rem; margin-bottom: .8rem; }
.footer-contact i { color: var(--gold-500); margin-top: .3rem; width: 16px; }
.socials { display: flex; gap: .5rem; margin-top: 1.25rem; }
.socials a {
    display: grid; place-items: center;
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255, 255, 255, .08); color: var(--white);
    transition: background var(--t), transform var(--t);
}
.socials a:hover { background: var(--green-600); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-bottom .container {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem;
    padding-block: 1.3rem; font-size: .85rem;
}

/* 17. MODAL Y LIGHTBOX ===================================================== */
.modal {
    position: fixed; inset: 0; z-index: 150;
    display: flex; align-items: flex-end; justify-content: center;
    visibility: hidden;
}
.modal.is-open { visibility: visible; }
.modal-backdrop {
    position: absolute; inset: 0;
    background: rgba(5, 19, 39, .7);
    backdrop-filter: blur(3px);
    opacity: 0; transition: opacity .3s ease;
}
.modal.is-open .modal-backdrop { opacity: 1; }

.modal-dialog {
    position: relative;
    width: 100%;
    max-height: 92vh;
    display: flex; flex-direction: column;
    background: var(--white);
    border-radius: var(--r-lg) var(--r-lg) 0 0;
    box-shadow: var(--sh-lg);
    transform: translateY(100%);
    transition: transform .38s var(--ease);
    overflow: hidden;
}
.modal.is-open .modal-dialog { transform: translateY(0); }
.modal-dialog::before {
    content: ""; position: absolute; top: 8px; left: 50%; z-index: 3;
    width: 44px; height: 5px; margin-left: -22px;
    border-radius: 3px; background: rgba(255, 255, 255, .85);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .08);
}
.modal-close {
    position: absolute; top: .85rem; right: .85rem; z-index: 4;
    width: 42px; height: 42px; border: 0; border-radius: 50%;
    background: rgba(255, 255, 255, .95); color: var(--ink); font-size: 1.1rem;
    box-shadow: var(--sh-sm);
    transition: transform var(--t);
}
.modal-close:hover { transform: rotate(90deg); }
.modal-scroll { overflow-y: auto; overscroll-behavior: contain; }
.modal-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.modal-body { padding: 1.5rem 1.4rem 2rem; }
.modal-body h2 { font-size: clamp(1.4rem, 4vw, 1.9rem); margin-top: .6rem; }
.modal-body .lead { margin-top: .8rem; font-size: 1.02rem; }
.modal-body h4 { margin-top: 1.5rem; margin-bottom: .6rem; font-size: 1rem; color: var(--navy-800); }
.modal-facts {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem;
    margin-top: 1.25rem;
}
.modal-facts div { padding: .85rem 1rem; border-radius: 12px; background: var(--bg); }
.modal-facts small { display: block; font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.modal-facts strong { display: block; margin-top: .15rem; font-family: var(--font-head); color: var(--ink); font-size: .95rem; }
.tags { display: flex; flex-wrap: wrap; gap: .45rem; }
.tags span { padding: .35rem .75rem; border-radius: var(--r-full); background: var(--green-50); color: var(--green-700); font-size: .85rem; font-weight: 600; }
.modal-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.modal-source { margin-top: 1.25rem; font-size: .85rem; color: var(--muted); }
.modal-source a { color: var(--navy-600); text-decoration: underline; }

/* Variante lightbox (solo imagen) */
.modal-lightbox .modal-dialog {
    background: transparent; box-shadow: none; border-radius: 0;
    max-width: 1200px; align-self: center;
}
.modal-lightbox .modal-dialog::before { display: none; }
.modal-lightbox .modal-media img { aspect-ratio: auto; max-height: 82vh; object-fit: contain; border-radius: var(--r-md); }
.modal-lightbox .modal-body { display: none; }
.modal-lightbox.has-caption .modal-body { display: block; padding: .9rem 0 0; color: #d5deeb; text-align: center; }

/* 18. FLOTANTES Y ANIMACIONES ============================================= */
.float-whatsapp, .to-top {
    position: fixed; right: 1rem; z-index: 80;
    display: grid; place-items: center;
    width: 54px; height: 54px; border-radius: 50%;
    box-shadow: var(--sh-md);
    transition: transform var(--t), opacity var(--t), visibility var(--t);
}
.float-whatsapp { bottom: 1rem; background: #25d366; color: var(--white); font-size: 1.6rem; }
.float-whatsapp:hover { transform: scale(1.08); }
.to-top {
    bottom: 5rem; border: 0;
    background: var(--navy-800); color: var(--white);
    width: 46px; height: 46px; right: 1.25rem;
    opacity: 0; visibility: hidden;
}
.to-top.is-visible { opacity: 1; visibility: visible; }
.no-whatsapp .to-top { bottom: 1rem; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}

/* 19. RESPONSIVE ===========================================================
   Celular:  < 576px  (estilos base de arriba)
   Tablet:   ≥ 576px y ≥ 768px
   Laptop:   ≥ 992px
   Desktop:  ≥ 1280px
   ========================================================================== */

/* Celular pequeño */
@media (max-width: 380px) {
    .brand img { width: 42px; height: 42px; }
    .brand-text strong { font-size: 1rem; }
    .brand-text span { font-size: .72rem; }
    .hero-actions .btn { width: 100%; }
    .modal-facts { grid-template-columns: 1fr; }
}

/* Tablet vertical */
@media (min-width: 576px) {
    .grid-2 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .carousel-track { grid-auto-columns: 75%; }
    .gallery { grid-template-columns: repeat(3, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .form-grid { grid-template-columns: repeat(2, 1fr); }
    .form-grid .field-full { grid-column: 1 / -1; }
}

/* Tablet horizontal */
@media (min-width: 768px) {
    .topbar { display: block; }
    .stats-grid { grid-template-columns: repeat(4, 1fr); }
    .stat { border-bottom: 0; }
    .stat:nth-child(2n) { border-right: 1px solid rgba(255, 255, 255, .1); }
    .stat:last-child { border-right: 0; }
    .quick-grid { grid-template-columns: repeat(3, 1fr); }
    .quick-item { border-bottom: 0; border-right: 1px solid var(--line); }
    .quick-item:last-child { border-right: 0; }
    .news-featured { grid-template-columns: 1.1fr 1fr; }
    .news-featured .card-media { aspect-ratio: auto; height: 100%; min-height: 320px; }
    .director { grid-template-columns: 300px 1fr; }
    .director-photo { margin: 0; }
    .modal { align-items: center; padding: 1.5rem; }
    .modal-dialog {
        max-width: 760px;
        border-radius: var(--r-lg);
        transform: translateY(30px) scale(.97);
        opacity: 0;
        transition: transform .35s var(--ease), opacity .3s ease;
    }
    .modal.is-open .modal-dialog { transform: none; opacity: 1; }
    .modal-dialog::before { display: none; }
    .modal-body { padding: 2rem 2.25rem 2.25rem; }
    .modal-facts { grid-template-columns: repeat(4, 1fr); }
    .gallery { grid-template-columns: repeat(4, 1fr); }
    .cta { grid-template-columns: 1fr auto; }
    .footer-top { grid-template-columns: 1.4fr 1fr 1fr; }
}

/* Laptop */
@media (min-width: 992px) {
    :root { --header-h: 84px; }
    .menu-toggle { display: none; }
    .nav { display: flex; align-items: center; }
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .grid-4 { grid-template-columns: repeat(4, 1fr); }
    .split { grid-template-columns: 1fr 1fr; }
    .split.is-reverse .split-media { order: 2; }
    .carousel-track { grid-auto-columns: calc(50% - .5rem); }
    .steps { grid-template-columns: repeat(4, 1fr); }
    .footer-top { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; }
    .hero-content { padding-block: 5.5rem 10rem; }
    .float-whatsapp { right: 1.5rem; bottom: 1.5rem; }
    .to-top { right: 1.75rem; bottom: 6rem; }
    .no-whatsapp .to-top { bottom: 1.5rem; }
}

/* Laptop: compactar la navegación para que entre completa */
@media (min-width: 992px) and (max-width: 1199px) {
    .brand-text span { display: none; }
    .nav-link { padding: .5rem .5rem; font-size: .88rem; }
    .btn-sistema { padding-inline: 1rem; font-size: .86rem; }
}

/* Desktop */
@media (min-width: 1280px) {
    .nav-link { padding-inline: .85rem; }
    .carousel-track { grid-auto-columns: calc(50% - .5rem); }
}

/* Impresión */
@media print {
    .topbar, .header, .drawer, .drawer-backdrop, .float-whatsapp, .to-top, .hero-controls { display: none !important; }
    .reveal { opacity: 1; transform: none; }
}

/* Mapa de Contacto: todo el mapa es un enlace que abre Google Maps en una pestaña nueva */
.map-wrap { position: relative; }
.map-open { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; padding: 1rem; background: transparent; cursor: pointer; text-decoration: none; }
.map-open span { display: inline-flex; align-items: center; gap: .5rem; background: var(--green-600, #157f45); color: #fff; font-weight: 700; border-radius: 999px; padding: .7rem 1.3rem; box-shadow: 0 10px 24px rgba(5, 19, 39, .28); transition: transform .2s ease, background .2s ease; }
.map-open:hover span, .map-open:focus-visible span { transform: translateY(-2px); background: var(--green-700, #11643a); }
.map-open:focus-visible { outline: 3px solid var(--gold-500, #e3a41f); outline-offset: -3px; }
