/* =========================================================================
   VÉRTICE SERVICIOS EDUCATIVOS
   Sistema de diseño — mobile-first, accesible, sin dependencias
   ========================================================================= */

/* --- 1. TOKENS DEL DESIGN SYSTEM ------------------------------------- */
:root {
    /* Paleta de marca (extraída del logo) */
    --teal:        #2CA6A4;
    --teal-dark:   #1F8886;
    --teal-600:    #249089;
    --teal-light:  #E6F5F5;
    --teal-50:     #F2FAFA;

    --navy:        #1E3A5F;
    --navy-dark:   #152B46;
    --navy-light:  #4F6E8A;
    --navy-50:     #EEF2F7;

    --accent:      #F5A623;          /* acento cálido para CTAs */
    --accent-dark: #D98E10;

    /* Neutros */
    --ink:         #1A2433;
    --body:        #334155;
    --muted:       #64748B;
    --line:        #E2E8F0;
    --bg:          #FFFFFF;
    --bg-soft:     #F8FAFC;
    --bg-cream:    #FBF9F4;

    /* Tipografía */
    --font-display: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-body:    "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    /* Ritmo y forma */
    --radius-sm:   8px;
    --radius:      14px;
    --radius-lg:   22px;
    --radius-xl:   32px;

    --shadow-sm:   0 1px 2px rgba(15, 23, 42, .05);
    --shadow:      0 8px 24px rgba(15, 23, 42, .07);
    --shadow-lg:   0 20px 40px rgba(15, 23, 42, .10);

    --container:   1200px;
    --header-h:    72px;

    --ease:        cubic-bezier(.2, .8, .2, 1);
}

/* --- 2. RESET SOBRIO -------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    overflow-x: hidden;
}
body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--body);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    position: relative;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }
a { color: var(--teal-dark); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--navy); }
input, textarea, select { font: inherit; color: inherit; }
ul, ol { padding-left: 1.25rem; }
h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    color: var(--navy);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.015em;
}
p { max-width: 68ch; }

/* --- 3. UTILIDADES DE LAYOUT ----------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: clamp(1rem, 4vw, 2rem);
}
.section { padding-block: clamp(3rem, 8vw, 6rem); }
.section-sm { padding-block: clamp(2rem, 5vw, 3.5rem); }
.section--soft { background: var(--bg-soft); }
.section--cream { background: var(--bg-cream); }
.section--navy { background: var(--navy); color: #E2E8F0; }
.section--navy h1, .section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }

.grid { display: grid; gap: 1.5rem; }
.grid-2  { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-3  { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-4  { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* Forzados: para romper "auto-fit" cuando queremos simetría estricta */
.grid-3-fixed { grid-template-columns: 1fr; }
.grid-5-fixed { grid-template-columns: 1fr; }
@media (min-width: 640px) {
    .grid-3-fixed { grid-template-columns: repeat(2, 1fr); }
    .grid-5-fixed { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
    .grid-3-fixed { grid-template-columns: repeat(3, 1fr); }
    .grid-5-fixed { grid-template-columns: repeat(5, 1fr); }
}

.text-center { text-align: center; }
.stack > * + * { margin-top: 1rem; }
.stack-lg > * + * { margin-top: 1.5rem; }

/* --- 4. TIPOGRAFÍA ---------------------------------------------------- */
h1, .h1 { font-size: clamp(2rem, 5vw + .5rem, 3.5rem); }
h2, .h2 { font-size: clamp(1.6rem, 3vw + .5rem, 2.4rem); }
h3, .h3 { font-size: clamp(1.25rem, 1.5vw + .6rem, 1.5rem); }
h4, .h4 { font-size: 1.125rem; }

.eyebrow {
    display: inline-block;
    font-family: var(--font-display);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--teal-dark);
    margin-bottom: .75rem;
}
.lead { font-size: 1.125rem; color: var(--body); max-width: 62ch; }
.muted { color: var(--muted); }

/* --- 5. BOTONES ------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .85rem 1.5rem;
    border-radius: 999px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: .95rem;
    letter-spacing: .01em;
    line-height: 1;
    min-height: 48px;
    transition: transform .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease), color .2s var(--ease);
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
    background: var(--teal);
    color: #fff;
    box-shadow: 0 6px 20px rgba(44, 166, 164, .35);
}
.btn-primary:hover { background: var(--teal-dark); color: #fff; box-shadow: 0 10px 28px rgba(44, 166, 164, .45); }
.btn-secondary {
    background: var(--navy);
    color: #fff;
}
.btn-secondary:hover { background: var(--navy-dark); color: #fff; }
.btn-ghost {
    background: transparent;
    color: var(--navy);
    border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--teal); color: var(--teal-dark); }
.btn-accent {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 6px 20px rgba(245, 166, 35, .35);
}
.btn-accent:hover { background: var(--accent-dark); color: #fff; }
.btn-lg { padding: 1.05rem 1.9rem; font-size: 1rem; min-height: 54px; }

/* --- 6. HEADER / NAVEGACIÓN ------------------------------------------ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.site-header.is-scrolled {
    border-bottom-color: var(--line);
    box-shadow: var(--shadow-sm);
}
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header-h);
    gap: 1rem;
}
.nav-brand {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    font-family: var(--font-display);
}
.nav-brand:hover { transform: none; }
.brand-icon {
    flex-shrink: 0;
    height: 44px;
    width: auto;
}
.brand-text {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1;
    gap: 3px;
}
.brand-name {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--navy);
    letter-spacing: -.015em;
    line-height: 1;
}
.brand-tagline {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: .62rem;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: .14em;
    line-height: 1;
}
@media (min-width: 960px) {
    .brand-icon { height: 48px; }
    .brand-name { font-size: 1.5rem; }
    .brand-tagline { font-size: .68rem; letter-spacing: .15em; }
}

.nav-menu {
    display: none;
    list-style: none;
    gap: .25rem;
    padding: 0;
    margin: 0;
}
.nav-menu a {
    display: inline-flex;
    align-items: center;
    padding: .55rem .95rem;
    border-radius: 999px;
    color: var(--ink);
    font-family: var(--font-display);
    font-weight: 500;
    font-size: .95rem;
    position: relative;
}
.nav-menu a:hover { color: var(--teal-dark); background: var(--teal-50); }
.nav-menu a.is-active { color: var(--navy); background: var(--navy-50); }

.nav-cta { display: none; }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 240px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: .5rem;
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s;
}
.has-dropdown:hover > .dropdown,
.has-dropdown:focus-within > .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition-delay: 0s;
}
.dropdown a {
    display: block;
    padding: .55rem .75rem;
    border-radius: var(--radius-sm);
    font-size: .9rem;
}

/* Burger */
.nav-burger {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--navy-50);
}
.nav-burger span,
.nav-burger span::before,
.nav-burger span::after {
    content: "";
    display: block;
    width: 20px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    position: relative;
    transition: transform .25s var(--ease), top .2s var(--ease), opacity .15s var(--ease);
}
.nav-burger span::before { position: absolute; top: -6px; left: 0; }
.nav-burger span::after  { position: absolute; top:  6px; left: 0; }
body.nav-open .nav-burger span { background: transparent; }
body.nav-open .nav-burger span::before { top: 0; transform: rotate(45deg); }
body.nav-open .nav-burger span::after  { top: 0; transform: rotate(-45deg); }

/* Mobile drawer */
.nav-drawer {
    position: fixed;
    top: var(--header-h);
    right: 0;
    bottom: 0;
    left: 0;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    background: #fff;
    padding: 1.5rem 1.25rem 2rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(100%);
    transition: transform .3s var(--ease);
    z-index: 45;
}
body.nav-open .nav-drawer { transform: translateX(0); }
body.nav-open { overflow: hidden; }
.nav-drawer ul { list-style: none; padding: 0; margin: 0; }
.nav-drawer > ul > li + li { margin-top: .25rem; }
.nav-drawer a {
    display: block;
    padding: .9rem 1rem;
    border-radius: 12px;
    color: var(--navy);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.05rem;
}
.nav-drawer a:hover, .nav-drawer a.is-active {
    background: var(--teal-50);
    color: var(--teal-dark);
}
.nav-drawer .sub { padding-left: .75rem; margin: .25rem 0 .5rem; }
.nav-drawer .sub a {
    font-size: .95rem;
    font-weight: 500;
    color: var(--body);
    padding: .6rem 1rem;
}
.nav-drawer .drawer-cta { margin-top: 1.5rem; }

@media (min-width: 960px) {
    .nav-menu { display: flex; }
    .nav-cta  { display: inline-flex; }
    .nav-burger, .nav-drawer { display: none; }
}

/* --- 7. HERO ---------------------------------------------------------- */
.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    color: #fff;
    padding-block: clamp(4rem, 10vw, 7rem);
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at 85% 15%, rgba(44, 166, 164, .35) 0%, transparent 45%),
      radial-gradient(circle at 10% 90%, rgba(79, 110, 138, .35) 0%, transparent 50%);
    pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
    display: grid;
    gap: clamp(2rem, 4vw, 3rem);
    align-items: center;
}
@media (min-width: 960px) {
    .hero-grid { grid-template-columns: 1.1fr .9fr; }
}
.hero h1 {
    color: #fff;
    font-size: clamp(2.25rem, 5vw + .5rem, 3.75rem);
}
.hero h1 em {
    font-style: normal;
    color: var(--teal);
    display: inline-block;
}
.hero .lead { color: rgba(255, 255, 255, .82); font-size: 1.15rem; max-width: 52ch; }
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 2rem; }.hero-art {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.hero-art img { width: 100%; height: 100%; object-fit: cover; }
.hero-badges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .75rem;
    margin-top: 2.5rem;
    max-width: 520px;
}
.hero-badge {
    text-align: center;
    padding: 1rem .5rem;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: var(--radius);
}
.hero-badge strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--teal);
    line-height: 1.1;
}
.hero-badge span { font-size: .8rem; color: rgba(255, 255, 255, .7); }

/* Hero alternativo (páginas interiores) */
.page-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    color: #fff;
    padding-block: clamp(3rem, 7vw, 5rem);
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at 90% 50%, rgba(44, 166, 164, .3) 0%, transparent 40%);
    pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-bottom: .75rem; }
.page-hero p { color: rgba(255, 255, 255, .82); font-size: 1.1rem; max-width: 56ch; }
.breadcrumbs {
    font-size: .85rem;
    color: rgba(255, 255, 255, .6);
    margin-bottom: 1rem;
}
.breadcrumbs a { color: rgba(255, 255, 255, .85); }
.breadcrumbs a:hover { color: var(--teal); }
.breadcrumbs span { opacity: .45; margin: 0 .5rem; }

/* --- 8. TARJETAS / CARDS --------------------------------------------- */
.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: transparent;
}
.card h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.card p { color: var(--body); }

.icon-badge {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: var(--teal-light);
    color: var(--teal-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
.icon-badge svg { width: 28px; height: 28px; }

/* Card con imagen */
.card-media {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card-media:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-media-img {
    aspect-ratio: 16/10;
    background: var(--teal-light);
    position: relative;
    overflow: hidden;
}
.card-media-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card-media:hover .card-media-img img { transform: scale(1.04); }
.card-media-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.card-media h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.card-media p { font-size: .95rem; color: var(--body); }
.card-media .tag {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--teal-dark);
    background: var(--teal-light);
    padding: .3rem .65rem;
    border-radius: 999px;
    margin-bottom: .6rem;
    align-self: flex-start;
}

/* --- 9. SERVICIOS / FEATURE BLOCKS ----------------------------------- */
.service-card {
    position: relative;
    padding: 2rem;
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--line);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
    overflow: hidden;
}
.service-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--teal), var(--navy-light));
    opacity: 0;
    transition: opacity .3s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card:hover::before { opacity: 1; }
.service-card h3 { margin-bottom: .5rem; }

/* Step card (proceso creativo) */
.step-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.5rem;
    position: relative;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step-card h3 {
    font-size: 1.15rem;
    margin-bottom: .5rem;
    color: var(--teal-dark);
}
.step-card p { color: var(--body); font-size: .95rem; }

/* --- 10. ACTIVIDADES (chips / pills / áreas) ------------------------- */
.area-nav {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
    justify-content: center;
}
.area-chip {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .6rem 1.1rem;
    border-radius: 999px;
    background: var(--bg-soft);
    color: var(--navy);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: .9rem;
    border: 1.5px solid transparent;
    transition: all .2s var(--ease);
}
.area-chip:hover { border-color: var(--teal); color: var(--teal-dark); }
.area-chip.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }

.area {
    scroll-margin-top: calc(var(--header-h) + 1rem);
    padding-top: 2rem;
}
.area-header {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--teal-light);
}
.area-header .icon-badge { width: 60px; height: 60px; flex-shrink: 0; margin: 0; }
.area-header .icon-badge svg { width: 32px; height: 32px; }

.activity-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all .25s var(--ease);
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 1.4rem;
}
.activity-card:has(.activity-card-body) { padding: 0; }
.activity-card:hover {
    border-color: var(--teal);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}
.activity-card-img {
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, var(--teal-light) 0%, var(--navy-50) 100%);
    overflow: hidden;
}
.activity-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s var(--ease);
}
.activity-card:hover .activity-card-img img { transform: scale(1.04); }
.activity-card-body {
    padding: 1.15rem 1.25rem 1.35rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.activity-card h4 { font-size: 1.05rem; margin-bottom: .4rem; color: var(--navy); }
.activity-card p { font-size: .92rem; color: var(--body); margin-bottom: 0; }

/* --- 11. LISTA CON BULLETS PERSONALIZADOS ---------------------------- */
.check-list {
    list-style: none;
    padding: 0;
    display: grid;
    gap: .85rem;
}
.check-list li {
    padding-left: 2rem;
    position: relative;
    line-height: 1.55;
}
.check-list li::before {
    content: "";
    position: absolute;
    left: 0; top: .1em;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--teal-light) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F8886' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center / 14px 14px no-repeat;
}
.check-list li strong { color: var(--navy); font-weight: 700; }

/* --- 12. FORMULARIO --------------------------------------------------- */
.form {
    display: grid;
    gap: 1.25rem;
}
.field { display: grid; gap: .4rem; }
.field label {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: .88rem;
    color: var(--navy);
}
.field label .req { color: var(--teal); }
.field input,
.field select,
.field textarea {
    width: 100%;
    padding: .85rem 1rem;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    background: #fff;
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
    font-size: 1rem;
    color: var(--ink);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 4px rgba(44, 166, 164, .15);
}
.field textarea { min-height: 140px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) {
    .field-row { grid-template-columns: 1fr 1fr; }
}
.form-check { display: flex; gap: .6rem; align-items: flex-start; font-size: .88rem; color: var(--body); }
.form-check input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--teal); margin-top: .15rem; }
.honeypot { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

.form-note { font-size: .85rem; color: var(--muted); }

.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    font-size: .95rem;
}
.alert-success { background: #ECFDF5; color: #065F46; border: 1px solid #A7F3D0; }
.alert-error   { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }

/* --- 13. CTA BAND / FAIXA FINAL -------------------------------------- */
.cta-band {
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
    color: #fff;
    border-radius: var(--radius-xl);
    padding: clamp(2rem, 5vw, 3.5rem);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at 10% 110%, rgba(255, 255, 255, .2) 0%, transparent 40%),
      radial-gradient(circle at 90% -10%, rgba(255, 255, 255, .15) 0%, transparent 40%);
    pointer-events: none;
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; margin-bottom: .5rem; }
.cta-band p { color: rgba(255, 255, 255, .92); max-width: 52ch; margin-inline: auto; }
.cta-band .btn { margin-top: 1.5rem; }

/* --- 14. FOOTER ------------------------------------------------------- */
.site-footer {
    background: var(--navy-dark);
    color: rgba(226, 232, 240, .75);
    padding-top: clamp(3rem, 6vw, 5rem);
    padding-bottom: 1.5rem;
    margin-top: auto;
}
.footer-grid {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: 1fr;
    margin-bottom: 3rem;
}
@media (min-width: 720px) {
    .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
.site-footer h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 1rem;
    letter-spacing: .02em;
}
.site-footer img.foot-logo { height: 56px; margin-bottom: 1rem; filter: brightness(0) invert(1); }
.footer-brand p { max-width: 38ch; font-size: .92rem; line-height: 1.6; }
.footer-nav ul { list-style: none; padding: 0; display: grid; gap: .55rem; }
.footer-nav a { color: rgba(226, 232, 240, .75); font-size: .95rem; }
.footer-nav a:hover { color: var(--teal); }
.footer-contact li {
    list-style: none;
    display: flex; gap: .75rem; align-items: flex-start;
    margin-bottom: .85rem;
    font-size: .95rem;
    line-height: 1.5;
}
.footer-contact ul { padding: 0; }
.footer-contact svg { flex-shrink: 0; color: var(--teal); margin-top: .2rem; }
.footer-contact a { color: rgba(226, 232, 240, .9); }
.footer-contact a:hover { color: var(--teal); }

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, .08);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
    font-size: .85rem;
    color: rgba(226, 232, 240, .55);
}
@media (min-width: 720px) { .footer-bottom { flex-direction: row; } }
.footer-bottom .legal-links { display: flex; gap: 1.25rem; flex-wrap: wrap; justify-content: center; }
.footer-bottom a { color: rgba(226, 232, 240, .7); }
.footer-bottom a:hover { color: var(--teal); }

.socials { display: inline-flex; gap: .5rem; margin-top: 1rem; }
.socials a {
    width: 40px; height: 40px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    color: #fff;
    transition: background .2s var(--ease);
}
.socials a:hover { background: var(--teal); color: #fff; }
.socials svg { width: 18px; height: 18px; }

/* --- 15. ANIMACIONES (scroll reveal) --------------------------------- */
/* Progressive enhancement: solo ocultamos cuando hay JS para revelar.
   Sin JS → contenido visible siempre. */
.js .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .js .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

/* --- 16. HELPERS MISC ------------------------------------------------- */
.badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .35rem .8rem;
    background: var(--teal-light);
    color: var(--teal-dark);
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.badge--navy { background: var(--navy-50); color: var(--navy); }
.badge--accent { background: #FFF6E5; color: var(--accent-dark); }

.divider {
    width: 64px;
    height: 3px;
    background: var(--teal);
    border-radius: 999px;
    margin: 1rem 0 1.5rem;
}
.section-head { margin-bottom: clamp(2rem, 4vw, 3rem); max-width: 800px; }
.section-head.text-center { margin-inline: auto; }
.section-head.text-center .divider { margin-inline: auto; }
.section-title-icon {
    display: flex;
    align-items: center;
    gap: .65rem;
    flex-wrap: wrap;
}
.section-title-icon .icon-badge {
    width: 44px;
    height: 44px;
    margin-bottom: 0;
    flex-shrink: 0;
}
.section-title-icon .icon-badge svg { width: 24px; height: 24px; }
@media (min-width: 640px) {
    .section-title-icon .icon-badge { width: 52px; height: 52px; }
    .section-title-icon .icon-badge svg { width: 28px; height: 28px; }
}

/* Schedule table for escuelas vacacionales */
.schedule {
    display: grid;
    gap: .5rem;
    max-width: 520px;
    margin: 1.5rem 0;
}
.schedule-row {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 1rem;
    padding: .85rem 1.1rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    align-items: center;
}
.schedule-row strong {
    font-family: var(--font-display);
    color: var(--teal-dark);
    font-size: .95rem;
}

/* Logo ornament (decorative V) */
.v-shape {
    position: absolute;
    opacity: .06;
    pointer-events: none;
    color: var(--teal);
}

/* Skip link — accesibilidad */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--navy);
    color: #fff;
    padding: .75rem 1rem;
    border-radius: 0 0 var(--radius) 0;
    z-index: 100;
}
.skip-link:focus { left: 0; color: #fff; }

/* Image placeholder gradient (hero fallback) */
.img-placeholder {
    background: linear-gradient(135deg, var(--teal-light) 0%, var(--navy-50) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy-light);
    aspect-ratio: 16/10;
}
