@font-face { font-family: "Barlow Condensed"; src: url("fonts/barlow-condensed-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("fonts/barlow-condensed-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("fonts/figtree-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("fonts/figtree-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("fonts/figtree-600-normal.woff2") format("woff2"); font-weight: 600 700; font-display: swap; }

:root {
  --navy: #0b2559; --navy-2: #0f3172; --blue: #2f6db5; --blue-l: #dce9f8; --sky: #eef4fb;
  --yellow: #ffd60a; --yellow-d: #f2c200; --ink: #0c1a33; --muted: #52607a; --paper: #f7f9fd; --card: #fff; --line: #dde4ef;
  --wa: #1fae5b; --wa-d: #178a48;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif; --sans: "Figtree", system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1); --r: 22px; --head: 76px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head) + 8px); }
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--sans); overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--yellow); padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1240px, 100% - 40px); margin-inline: auto; }
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: var(--yellow); transform-origin: 0 50%; transform: scaleX(0); }

/* Tipografía */
.h2 { font: 700 clamp(2.4rem, 5.4vw, 4.6rem)/.95 var(--display); letter-spacing: -.01em; text-transform: uppercase; text-wrap: balance; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.eyebrow svg { width: 20px; height: 20px; }
.eyebrow--light { color: var(--yellow); }
.sec-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.sec-head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.sec-lead { margin-top: 16px; color: var(--muted); font-size: 1.12rem; max-width: 60ch; }
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }

/* Botones */
.btn { --bg: var(--navy); --fg: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border-radius: 999px; border: 0; background: var(--bg); color: var(--fg); font-weight: 600; text-decoration: none; cursor: pointer; transition: transform .35s var(--ease), background .25s, box-shadow .35s var(--ease); white-space: nowrap; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { box-shadow: 0 14px 30px -14px rgba(11, 37, 89, .55); }
.btn:active { transform: scale(.97); }
.btn--sm { min-height: 42px; padding: 0 16px; font-size: .94rem; }
.btn--lg { min-height: 58px; padding: 0 30px; font-size: 1.06rem; }
.btn--wa { --bg: var(--wa); }
.btn--wa:hover { --bg: var(--wa-d); }
.btn--yellow { --bg: var(--yellow); --fg: var(--navy); }
.btn--yellow:hover { --bg: var(--yellow-d); }
.btn--blue { --bg: var(--blue); }
.btn--ghost { --bg: transparent; --fg: var(--navy); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--navy); }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--navy); text-decoration: none; border-bottom: 2px solid var(--yellow); padding-bottom: 2px; }
.link svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.link:hover svg { transform: translateX(4px); }

/* Encabezado */
.top { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--head); transition: background .35s, box-shadow .35s, transform .45s var(--ease); }
.top.is-solid { background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.top.is-hidden { transform: translateY(-100%); }
.top-in { width: min(1320px, 100% - 32px); margin-inline: auto; height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font: 700 1.5rem/1 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.brand img { width: 48px; height: 48px; border-radius: 50%; }
.brand b { color: var(--yellow); }
.top.is-solid .brand { color: var(--navy); }
.top.is-solid .brand b { color: var(--blue); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { position: relative; padding: 8px 12px; color: rgba(255, 255, 255, .9); text-decoration: none; font-weight: 500; font-size: .96rem; border-radius: 999px; transition: background .2s, color .2s; }
.nav a:hover { background: rgba(255, 255, 255, .12); }
.nav a.is-active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; background: var(--yellow); border-radius: 2px; }
.top.is-solid .nav a { color: var(--ink); }
.top.is-solid .nav a:hover { background: var(--sky); }
.menu { display: none; position: relative; }
.menu summary { list-style: none; width: 46px; height: 46px; border-radius: 50%; background: var(--yellow); display: grid; place-content: center; gap: 6px; cursor: pointer; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .3s var(--ease); }
.menu[open] summary span:first-child { transform: translateY(4px) rotate(45deg); }
.menu[open] summary span:last-child { transform: translateY(-4px) rotate(-45deg); }
.menu-panel { position: absolute; right: 0; top: 56px; width: min(300px, calc(100vw - 32px)); background: #fff; border-radius: 20px; padding: 10px; box-shadow: 0 24px 60px -20px rgba(11, 37, 89, .45); display: grid; }
.menu-panel a { padding: 12px 14px; border-radius: 12px; text-decoration: none; font-weight: 600; color: var(--navy); }
.menu-panel a:hover { background: var(--sky); }

/* Portada */
.hero { position: relative; min-height: 100svh; background: radial-gradient(120% 90% at 85% 10%, #18468f 0%, var(--navy) 55%, #071a40 100%); color: #fff; padding: calc(var(--head) + 36px) 0 0; overflow: hidden; display: flex; flex-direction: column; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1.4px); background-size: 26px 26px; mask-image: linear-gradient(180deg, #000 30%, transparent 90%); pointer-events: none; }
.hero-grid { position: relative; flex: 1; width: min(1320px, 100% - 40px); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(20px, 4vw, 64px); align-items: center; padding-bottom: 64px; }
.hero-title { font: 700 clamp(3.4rem, 7.6vw, 7rem)/.86 var(--display); text-transform: uppercase; letter-spacing: -.015em; }
.hero-title .line { display: block; }
.hero-title .line--sm { font-size: .42em; line-height: 1.1; letter-spacing: .02em; color: var(--blue-l); margin-top: .3em; font-weight: 600; }
.hl { font-style: normal; color: var(--yellow); position: relative; display: inline-block; }
.hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .1em; background: var(--yellow); border-radius: 99px; transform-origin: 0 50%; opacity: .9; }
.hero-lead { margin-top: 22px; max-width: 46ch; font-size: clamp(1.05rem, 1.3vw, 1.2rem); color: rgba(255, 255, 255, .84); }
.finder { margin-top: 30px; display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 999px; padding: 6px 6px 6px 20px; max-width: 560px; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .55); transition: box-shadow .3s; }
.finder:focus-within { box-shadow: 0 0 0 4px rgba(255, 214, 10, .6), 0 30px 60px -24px rgba(0, 0, 0, .55); }
.finder > svg { width: 22px; height: 22px; color: var(--blue); flex: none; }
.finder input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); padding: 10px 4px; font-size: 1rem; }
.finder input::placeholder { color: #8390a6; }
.hero-facts { display: flex; gap: clamp(20px, 3vw, 44px); margin-top: 34px; flex-wrap: wrap; }
.hero-facts li { display: grid; }
.hero-facts b { font: 700 clamp(2rem, 3vw, 2.8rem)/1 var(--display); color: #fff; }
.hero-facts span { font-size: .84rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .64); order: -1; margin-bottom: 4px; }
.hero-map { position: relative; margin: 0; }
.hero-map figcaption { position: absolute; right: 8px; bottom: -4px; font-size: .74rem; color: rgba(255, 255, 255, .45); }
.map { width: 100%; height: auto; overflow: visible; }
.map-city { fill: rgba(47, 109, 181, .22); stroke: rgba(160, 196, 240, .55); stroke-width: 1.5; }
.map-grid path { stroke: rgba(255, 255, 255, .07); stroke-width: 1; fill: none; }
.map-road { fill: none; stroke: rgba(255, 214, 10, .5); stroke-width: 2; stroke-dasharray: 5 6; }
.map-route { fill: none; stroke: var(--yellow); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: .75; }
.map-inset rect { fill: rgba(255, 255, 255, .06); stroke: rgba(255, 255, 255, .25); stroke-dasharray: 4 4; }
.map-inset text, .map-label { fill: rgba(255, 255, 255, .7); font: 600 15px var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.map-label--big { fill: rgba(255, 255, 255, .1); font: 700 64px var(--display); letter-spacing: .04em; }
.dot { cursor: pointer; }
.dot-core { fill: #fff; stroke: var(--yellow); stroke-width: 3; transition: r .3s var(--ease), fill .3s; }
.dot-ring { pointer-events: none; fill: rgba(255, 214, 10, .18); stroke: rgba(255, 214, 10, .5); stroke-width: 1; transform-box: fill-box; transform-origin: center; }
.dot:hover .dot-core, .dot.is-on .dot-core { fill: var(--yellow); r: 9; }
.dot.is-dim { opacity: .22; }
.dot { transition: opacity .35s; }
.map-tip { position: absolute; pointer-events: none; transform: translate(-50%, calc(-100% - 18px)); background: #fff; color: var(--navy); font-weight: 600; font-size: .9rem; padding: 6px 12px; border-radius: 10px; white-space: nowrap; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5); opacity: 0; transition: opacity .2s; }
.map-tip.is-on { opacity: 1; }
.ticker { position: relative; background: var(--yellow); color: var(--navy); overflow: hidden; padding: 14px 0; transform: rotate(-1.2deg); margin: 0 -10px -6px; }
.ticker-track { display: flex; width: max-content; gap: 0; animation: ticker 38s linear infinite; }
.ticker span { font: 700 1.5rem/1 var(--display); text-transform: uppercase; letter-spacing: .04em; padding: 0 22px; display: inline-flex; align-items: center; gap: 44px; }
.ticker span::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--navy); margin-left: 22px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Edades */
.ages { background: var(--paper); padding-top: clamp(80px, 10vw, 140px); overflow: hidden; }
.ages-head { width: min(1240px, 100% - 40px); margin: 0 auto clamp(30px, 4vw, 50px); }
.ages-pin { position: relative; }
.ages-track { display: flex; gap: 24px; width: min(1240px, 100% - 40px); margin-inline: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 20px; }
.age { flex: 0 0 min(86vw, 1000px); scroll-snap-align: start; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(20px, 4vw, 60px); background: #fff; border-radius: 32px; padding: clamp(24px, 4vw, 56px); min-height: 520px; box-shadow: 0 30px 70px -40px rgba(11, 37, 89, .35); }
.age--1 { --c: #ffe57a; } .age--2 { --c: #bcd6f5; } .age--3 { --c: #ffd0a8; } .age--4 { --c: #c9ead6; }
.age-media { position: relative; aspect-ratio: 1; display: grid; place-items: end center; }
.age-blob { position: absolute; inset: 8%; border-radius: 46% 54% 50% 50% / 52% 46% 54% 48%; background: var(--c); }
.age-media img { position: relative; width: 92%; height: auto; }
.age-media .age-photo { width: 78%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; place-self: center; border: 10px solid #fff; box-shadow: 0 20px 40px -20px rgba(0,0,0,.35); }
.age-n { display: flex; align-items: baseline; gap: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-size: .9rem; }
.age-n span { font: 700 4.2rem/1 var(--display); color: var(--navy); letter-spacing: 0; }
.age h3 { font: 700 clamp(2.6rem, 4.6vw, 4.4rem)/.95 var(--display); text-transform: uppercase; color: var(--navy); margin: 10px 0 16px; }
.age-copy p:not(.age-n) { color: var(--muted); font-size: 1.1rem; margin-bottom: 22px; max-width: 40ch; }
.ages-bar { display: none; }

/* Especialidades */
.esp-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(220px, auto); gap: 16px; }
.esp-grid li:first-child { grid-column: span 2; grid-row: span 2; }
.esp-card { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 26px; border-radius: var(--r); background: #fff; text-decoration: none; overflow: hidden; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .4s var(--ease), transform .5s var(--ease); transform-style: preserve-3d; isolation: isolate; }
.esp-card:hover { box-shadow: 0 0 0 1px var(--blue), 0 30px 50px -30px rgba(11, 37, 89, .5); }
.esp-num { position: absolute; top: 20px; left: 24px; font: 700 1rem/1 var(--display); color: var(--blue); letter-spacing: .1em; }
.esp-card h3 { font: 700 clamp(1.7rem, 2.4vw, 2.3rem)/1 var(--display); text-transform: uppercase; color: var(--navy); }
.esp-card p { color: var(--muted); margin-top: 6px; }
.esp-go { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--sky); color: var(--navy); transition: background .3s, transform .4s var(--ease); }
.esp-go svg { width: 20px; height: 20px; transition: transform .4s var(--ease); }
.esp-card:hover .esp-go { background: var(--yellow); transform: rotate(-45deg); }
.esp-card--big { background: var(--navy); color: #fff; box-shadow: none; }
.esp-card--big h3 { color: #fff; font-size: clamp(2.6rem, 4.4vw, 4.2rem); }
.esp-card--big p { color: rgba(255,255,255,.75); }
.esp-card--big .esp-num { color: var(--yellow); }
.esp-card--big { background: radial-gradient(90% 80% at 80% 20%, #2a5fae 0%, var(--navy) 70%); }
.esp-brackets { position: absolute; right: 6%; top: 10%; width: 62%; aspect-ratio: 1.3; z-index: -1; pointer-events: none; }
.esp-brackets img { position: absolute; width: 58%; height: auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.45)); transition: transform 1.2s var(--ease); }
.esp-brackets img:first-child { left: 0; top: 4%; transform: rotate(-12deg); }
.esp-brackets img:last-child { right: 0; top: 24%; transform: rotate(10deg); }
.esp-card--big:hover .esp-brackets img:first-child { transform: rotate(-4deg) translateY(-10px); }
.esp-card--big:hover .esp-brackets img:last-child { transform: rotate(18deg) translateY(8px); }
.esp-card--photo { color: #fff; box-shadow: none; }
.esp-card--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.esp-card--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,37,89,.05) 20%, rgba(11,37,89,.85) 90%); }
.esp-card--photo h3 { color: #fff; } .esp-card--photo p { color: rgba(255,255,255,.82); } .esp-card--photo .esp-num { color: #fff; }
.esp-card:hover img { transform: scale(1.06); }

/* Promociones */
.promos { background: var(--navy); color: #fff; border-radius: 40px 40px 0 0; margin-top: -40px; }
.promos .h2 { color: #fff; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { border: 0; cursor: pointer; padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #fff; font-weight: 600; font-size: .94rem; transition: background .25s, color .25s, transform .3s var(--ease); }
.chip:hover { background: rgba(255, 255, 255, .2); }
.chip.is-on { background: var(--yellow); color: var(--navy); }
.chips--dark .chip { background: #fff; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--line); }
.chips--dark .chip:hover { box-shadow: inset 0 0 0 1.5px var(--navy); }
.chips--dark .chip.is-on { background: var(--navy); color: #fff; box-shadow: none; }
.promo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
.promo[hidden] { display: none; }
.promo a { position: relative; height: 100%; display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: var(--r); background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); text-decoration: none; overflow: hidden; transition: background .35s, box-shadow .35s, transform .5s var(--ease); }
.promo a::before { content: ""; position: absolute; inset: auto -30% -60% auto; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(255,214,10,.28), transparent 70%); opacity: 0; transition: opacity .4s; }
.promo a:hover { background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 214, 10, .6); transform: translateY(-4px); }
.promo a:hover::before { opacity: 1; }
.promo-cat { font-size: .76rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); }
.promo h3 { font: 600 1.5rem/1.05 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.promo-price { display: grid; margin: 6px 0 2px; }
.promo-price small { font-size: .8rem; color: rgba(255,255,255,.64); letter-spacing: .08em; text-transform: uppercase; order: 2; }
.promo-price b { font: 700 2.8rem/1 var(--display); color: #fff; }
.promo-desc { color: rgba(255, 255, 255, .72); font-size: .96rem; flex: 1; }
.promo-go { margin-top: 10px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--yellow); font-size: .95rem; }
.promo-go svg { width: 18px; height: 18px; }
.promo-legal { margin-top: 26px; color: rgba(255, 255, 255, .58); font-size: .88rem; max-width: 80ch; }

/* Sedes */
.sedes { background: var(--sky); }
.sedes-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 26px; }
.sedes-search { position: relative; flex: 1 1 320px; max-width: 460px; }
.sedes-search svg { position: absolute; left: 18px; top: 50%; translate: 0 -50%; width: 20px; height: 20px; color: var(--blue); }
.sedes-search input { width: 100%; min-height: 52px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; padding: 0 18px 0 48px; outline: 0; transition: border-color .2s, box-shadow .2s; }
.sedes-search input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(47, 109, 181, .18); }
.sedes-count { margin-left: auto; font: 700 1.6rem/1 var(--display); color: var(--navy); text-transform: uppercase; }
.sede-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.sede { background: #fff; border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .35s var(--ease), transform .45s var(--ease); }
.sede[hidden] { display: none; }
.sede:hover, .sede.is-on { box-shadow: 0 0 0 2px var(--blue), 0 24px 40px -28px rgba(11, 37, 89, .5); }
.sede-top { display: flex; gap: 8px; }
.sede-zona, .sede-badge { font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); background: var(--sky); padding: 4px 10px; border-radius: 999px; }
.sede-badge { background: var(--yellow); color: var(--navy); }
.sede h3 { font: 700 1.9rem/1 var(--display); text-transform: uppercase; color: var(--navy); margin-top: 4px; }
.sede-dir { display: flex; gap: 8px; color: var(--ink); }
.sede-dir svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--blue); }
.sede-tel { color: var(--muted); font-size: .94rem; }
.sede-actions { display: flex; gap: 8px; margin-top: auto; padding-top: 8px; flex-wrap: wrap; }
.sedes-empty { padding: 30px; background: #fff; border-radius: 20px; text-align: center; }
.sedes-hours { margin-top: 26px; color: var(--muted); }

/* Financiación */
.fin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.fin-grid .btn { margin-top: 28px; }
.fin-cards { display: grid; gap: 16px; }
.fin-box { background: #fff; border-radius: var(--r); padding: 28px; box-shadow: 0 0 0 1px var(--line); }
.fin-box--alt { background: var(--yellow); box-shadow: none; }
.fin-box h3 { font: 700 1.5rem/1 var(--display); text-transform: uppercase; color: var(--navy); margin-bottom: 16px; }
.fin-list { display: flex; flex-wrap: wrap; gap: 8px; }
.fin-list li { padding: 9px 16px; border-radius: 999px; background: var(--sky); font-weight: 600; color: var(--navy); font-size: .96rem; }
.fin-box--alt .fin-list li { background: rgba(255, 255, 255, .6); }

/* Seguridad */
.safe { background: var(--navy-2); color: #fff; border-radius: 40px; margin: 0 clamp(8px, 1.4vw, 20px); }
.safe .sec-lead { color: rgba(255, 255, 255, .74); }
.safe-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; counter-reset: s; border-top: 1px solid rgba(255, 255, 255, .16); }
.safe-list li { counter-increment: s; padding: 30px 26px 30px 0; border-bottom: 1px solid rgba(255, 255, 255, .16); position: relative; }
.safe-list li:not(:nth-child(3n+1)) { padding-left: 26px; border-left: 1px solid rgba(255, 255, 255, .16); }
.safe-list li::before { content: counter(s, decimal-leading-zero); display: block; font: 700 2.6rem/1 var(--display); color: var(--yellow); margin-bottom: 12px; }
.safe-list h3 { font: 600 1.45rem/1.05 var(--display); text-transform: uppercase; margin-bottom: 8px; }
.safe-list p { color: rgba(255, 255, 255, .72); font-size: .98rem; }

/* Nosotros */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.about-media { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.about-photo { margin: 0; border-radius: 24px; overflow: hidden; position: relative; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 4; }
.about-photo--b { margin-top: 70px; }
.about-photo figcaption { position: absolute; left: 10px; right: 10px; bottom: 10px; background: rgba(255, 255, 255, .92); color: var(--ink); font-size: .78rem; padding: 6px 10px; border-radius: 10px; }
.about-copy > p { color: var(--muted); font-size: 1.12rem; margin: 18px 0 26px; }
.values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.values li { background: #fff; border-radius: 16px; padding: 16px 18px; box-shadow: 0 0 0 1px var(--line); display: grid; }
.values b { font: 700 1.3rem/1.1 var(--display); text-transform: uppercase; color: var(--navy); }
.values span { color: var(--muted); font-size: .92rem; }

/* Opiniones */
.voices { padding-top: 0; }
.voice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.voice { background: #fff; border-radius: var(--r); padding: 30px; box-shadow: 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 18px; }
.voice blockquote { font-size: 1.1rem; color: var(--ink); flex: 1; }
.voice p { font-weight: 600; color: var(--blue); }

/* Contacto */
.contact { background: radial-gradient(100% 120% at 0% 0%, #18468f, var(--navy) 60%); color: #fff; border-radius: 40px 40px 0 0; }
.contact .sec-lead { color: rgba(255, 255, 255, .78); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.contact-list { margin-top: 30px; display: grid; gap: 14px; }
.contact-list li { display: grid; gap: 2px; }
.contact-list span { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); font-weight: 600; }
.contact-list a, .contact-list b { font-weight: 600; font-size: 1.1rem; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { text-decoration: underline; text-decoration-color: var(--yellow); }
.form { background: #fff; color: var(--ink); border-radius: 28px; padding: clamp(22px, 3.4vw, 40px); display: grid; grid-template-columns: 1fr 1fr; gap: 16px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6); }
.field { display: grid; gap: 6px; }
.field--full, .form .btn, .form-status { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .92rem; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--paper); padding: 10px 14px; outline: 0; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 90px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(47, 109, 181, .16); }
.field.is-bad input, .field.is-bad select { border-color: #c62828; }
.field--check { grid-template-columns: auto 1fr; align-items: start; gap: 10px; }
.field--check input { width: 22px; min-height: 22px; height: 22px; margin-top: 2px; accent-color: var(--blue); }
.field--check label { font-weight: 400; color: var(--muted); }
.field--check .error { grid-column: 1 / -1; }
.error { color: #c62828; font-size: .86rem; font-weight: 600; }
.form-status { font-weight: 600; color: var(--wa-d); min-height: 1.4em; }

/* Detalle (sin JavaScript se ve como sección; con JavaScript alimenta la ficha) */
.details { padding: 80px 0; }
.det { max-width: 760px; padding: 28px 0; border-top: 1px solid var(--line); }
.det h3 { font: 700 2.2rem/1 var(--display); text-transform: uppercase; color: var(--navy); margin-bottom: 12px; }
.det h4, .ficha-text h4 { font-weight: 600; color: var(--navy); margin: 18px 0 6px; font-size: 1.06rem; }
.det p, .ficha-text p { margin-bottom: 10px; color: var(--ink); }
.det ul, .ficha-text ul { list-style: disc; padding-left: 22px; margin-bottom: 10px; }
html.js .details { display: none; }

/* Pie */
.foot { background: #061638; color: rgba(255, 255, 255, .78); padding: 70px 0 30px; overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: auto 1fr; gap: 30px 60px; }
.foot-brand { display: flex; gap: 14px; align-items: center; }
.foot-brand img { width: 64px; height: 64px; border-radius: 50%; }
.foot-brand b { color: #fff; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 10px 24px; align-content: center; justify-content: flex-end; }
.foot-nav a { text-decoration: none; font-weight: 500; }
.foot-nav a:hover { color: var(--yellow); }
.foot-word { grid-column: 1 / -1; font: 700 clamp(4rem, 15vw, 15rem)/.8 var(--display); text-transform: uppercase; color: rgba(255, 255, 255, .06); white-space: nowrap; margin: 20px 0 0; letter-spacing: -.01em; }
.foot-legal { grid-column: 1 / -1; font-size: .86rem; color: rgba(255, 255, 255, .5); }

.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(23, 138, 72, .7); transition: transform .4s var(--ease); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.08) rotate(-6deg); }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }

/* Ficha de especialidad */
.ficha { padding: 0; border: 0; border-radius: 28px; width: min(720px, calc(100vw - 40px)); height: min(760px, calc(100dvh - 40px)); max-width: none; max-height: none; background: #fff; color: var(--ink); overflow: hidden; overscroll-behavior: contain; }
.ficha::backdrop { background: rgba(6, 22, 56, .66); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.ficha-in { position: relative; display: flex; flex-direction: column; height: 100%; min-height: 0; }
.ficha-close { position: absolute; right: 14px; top: 14px; z-index: 4; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--sky); display: grid; place-items: center; cursor: pointer; transition: transform .35s var(--ease), background .2s; }
.ficha-close svg { width: 20px; height: 20px; }
.ficha-close:hover { transform: rotate(90deg); background: var(--yellow); }
.ficha-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: clamp(26px, 4vw, 44px) clamp(22px, 4vw, 44px) 24px; outline: none; }
.ficha-tag { font-weight: 600; color: var(--blue); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; padding-right: 52px; }
.ficha-body h2 { font: 700 clamp(2.6rem, 6vw, 4rem)/.95 var(--display); text-transform: uppercase; color: var(--navy); margin: 8px 0 18px; padding-right: 40px; }
.ficha-text { font-size: 1.04rem; }
.ficha-actions { flex: none; display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 14px clamp(16px, 3vw, 28px) calc(14px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); transition: box-shadow .3s; }
.ficha-actions.is-more { box-shadow: 0 -16px 24px -14px rgba(11, 37, 89, .28); }
.ficha-wa { min-height: 52px; }
html.has-dialog { overflow: hidden; }
html.has-dialog #banda-arquia, body.modal-abierto #banda-arquia, html.has-dialog .wa-float { visibility: hidden; }

/* Movimiento: estados iniciales solo con GSAP activo */
html.motion .reveal { opacity: 0; }
html.motion .hero-title .line { overflow: hidden; }

/* Edades fijadas en escritorio con animación */
@media (min-width: 981px) {
  html.motion .ages { padding-bottom: 0; }
  html.motion .ages-pin { height: 100vh; display: flex; flex-direction: column; justify-content: center; }
  html.motion .ages-track { overflow: visible; scroll-snap-type: none; width: max-content; margin: 0; padding: 0 0 0 max(20px, calc((100vw - 1240px) / 2)); }
  html.motion .age { flex-basis: min(78vw, 1000px); min-height: min(560px, 68vh); }
  html.motion .ages-bar { display: block; width: min(1240px, 100% - 40px); margin: 28px auto 0; height: 4px; background: var(--line); border-radius: 4px; overflow: hidden; }
  html.motion .ages-bar span { display: block; height: 100%; background: var(--navy); transform-origin: 0 50%; transform: scaleX(0); }
}

@media (max-width: 1100px) {
  .nav { display: none; }
  .menu { display: block; }
  .top-cta { margin-left: auto; }
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 10px; }
  .hero-map { max-width: 560px; width: 100%; margin: 10px auto 0; }
  .age { grid-template-columns: 1fr; min-height: 0; text-align: left; }
  .age-media { max-width: 380px; width: 100%; margin: 0 auto; }
  .esp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fin-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .safe-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .safe-list li:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .safe-list li:nth-child(2n) { padding-left: 22px; border-left: 1px solid rgba(255,255,255,.16); }
  .voice-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-nav { justify-content: flex-start; }
}
@media (max-width: 640px) {
  :root { --head: 66px; }
  .wrap { width: calc(100% - 32px); }
  .top-cta span { display: none; }
  .top-cta { width: 46px; height: 46px; min-height: 46px; padding: 0; }
  .brand { font-size: 1.25rem; }
  .brand img { width: 42px; height: 42px; }
  .hero-grid { width: calc(100% - 32px); }
  .hero-title { font-size: clamp(3rem, 15vw, 4.4rem); }
  .finder { flex-wrap: wrap; border-radius: 22px; padding: 10px; }
  .finder > svg { margin-left: 8px; }
  .finder .btn { width: 100%; }
  .hero-facts { gap: 22px; }
  .ticker span { font-size: 1.2rem; }
  .ages-track, .ages-head { width: calc(100% - 32px); }
  .age { flex-basis: 88vw; border-radius: 26px; }
  .esp-grid { grid-template-columns: 1fr; grid-auto-rows: minmax(180px, auto); }
  .esp-grid li:first-child { grid-column: auto; grid-row: auto; }
  .esp-card--big { min-height: 340px; }
  .safe-list { grid-template-columns: 1fr; }
  .safe-list li, .safe-list li:nth-child(2n) { padding-left: 0; border-left: 0; padding-right: 0; }
  .values { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .sedes-count { margin-left: 0; width: 100%; }
  .promos, .contact { border-radius: 28px 28px 0 0; }
  .safe { border-radius: 28px; margin: 0 8px; }
  .ficha { width: 100vw; height: 100dvh; border-radius: 0; margin: 0; max-height: 100dvh; }
  .ficha-actions { grid-template-columns: 1fr; }
  .wa-float { right: 12px; bottom: 12px; width: 54px; height: 54px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto !important; }
}
