@font-face { font-family: "Gabarito"; src: url("fonts/gabarito-var.woff2") format("woff2"); font-weight: 400 900; 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 {
  --azul: #1a27a8;
  --azul-2: #2537cc;
  --noche: #0b1361;
  --naranja: #f7941d;
  --naranja-2: #ffb347;
  --papel: #f7f6f2;
  --cielo: #e8ecff;
  --tinta: #141a3d;
  --gris: #5b6080;
  --linea: #dfe1ec;
  --wa: #1fa855;
  --r: 22px;
  --pad: clamp(16px, 4vw, 56px);
  --display: "Gabarito", "Figtree", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; background: var(--papel); color: var(--tinta); font: 400 17px/1.6 var(--body); overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.02; margin: 0; letter-spacing: -.02em; font-weight: 800; }
h2 { font-size: clamp(36px, 5.4vw, 76px); }
h3 { font-size: 22px; letter-spacing: -.01em; font-weight: 700; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--naranja); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1280px, 100%); margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { left: 8px; }
.eyebrow { font: 700 13px/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--azul-2); margin: 0 0 18px; display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 26px; height: 10px; border: 3px solid var(--naranja); border-top: 0; border-radius: 0 0 26px 26px; }
.sec-head { margin-bottom: clamp(36px, 5vw, 64px); max-width: 860px; }
.sec-head-row { max-width: none; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; }
.sec-lead { font-size: 19px; color: var(--gris); max-width: 560px; margin-top: 20px; }
.sec-head-row .sec-lead { margin: 0; }
.split .w { display: inline-block; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 22px; border-radius: 999px; border: 0; font: 600 16px/1 var(--body); text-decoration: none; cursor: pointer; transition: transform .35s var(--ease), background-color .25s, box-shadow .35s var(--ease), color .25s; white-space: nowrap; }
.btn svg { width: 20px; height: 20px; flex: none; transition: transform .35s var(--ease); }
.btn:active { transform: scale(.97); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 10px 24px -12px rgba(31, 168, 85, .8); }
.btn-wa:hover { background: #17924a; transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(31, 168, 85, .9); }
.btn-line { background: transparent; color: var(--azul); box-shadow: inset 0 0 0 2px currentColor; }
.btn-line:hover { background: var(--azul); color: #fff; box-shadow: inset 0 0 0 2px var(--azul); }
.btn-line:hover svg { transform: translateX(4px); }
.btn-navy { background: var(--noche); color: #fff; }
.btn-navy:hover { background: var(--azul); transform: translateY(-2px); }
.btn-full { width: 100%; }

/* Progreso y cabecera */
.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(--naranja); transform-origin: 0 50%; transform: scaleX(0); }
.top { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color .35s, box-shadow .35s, transform .45s var(--ease); }
.top-in { display: flex; align-items: center; gap: 28px; height: 76px; width: min(1280px, 100%); margin: 0 auto; padding: 0 var(--pad); }
.brand { position: relative; width: 104px; height: 58px; flex: none; }
.brand img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .3s; }
.brand-b { opacity: 0; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { position: relative; padding: 10px 14px; border-radius: 999px; color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; transition: background-color .25s, color .25s; }
.nav a:hover { background: rgba(255, 255, 255, .14); }
.nav a.is-on::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 16px; height: 6px; margin-left: -8px; border: 2px solid var(--naranja); border-top: 0; border-radius: 0 0 16px 16px; }
.top-cta { min-height: 44px; padding: 0 18px; font-size: 15px; }
.top.is-scrolled { background: rgba(247, 246, 242, .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--linea); }
.top.is-scrolled .brand-w { opacity: 0; }
.top.is-scrolled .brand-b { opacity: 1; }
.top.is-scrolled .nav a { color: var(--tinta); }
.top.is-scrolled .nav a:hover { background: var(--cielo); }
.top.is-hidden { transform: translateY(-100%); }
.menu { display: none; position: relative; }
.menu summary { list-style: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-content: center; gap: 6px; cursor: pointer; background: rgba(255, 255, 255, .16); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease); }
.top.is-scrolled .menu summary { background: var(--cielo); }
.top.is-scrolled .menu summary span { background: var(--tinta); }
.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(280px, calc(100vw - 32px)); background: #fff; border-radius: 20px; padding: 10px; box-shadow: 0 24px 60px -20px rgba(11, 19, 97, .45); display: grid; }
.menu-panel a { padding: 13px 16px; border-radius: 12px; text-decoration: none; font-weight: 600; color: var(--tinta); }
.menu-panel a:hover { background: var(--cielo); }

/* Portada */
.hero { position: relative; min-height: 100svh; background: var(--azul); color: #fff; padding: 120px 0 90px; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 19, 97, 0) 55%, var(--noche) 100%), radial-gradient(120% 90% at 85% 10%, #3446e0 0%, var(--azul) 45%, var(--noche) 100%); }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.b1 { width: 46vw; height: 46vw; right: -12vw; top: -10vw; background: #3f55f0; }
.b2 { width: 30vw; height: 30vw; left: -8vw; bottom: -12vw; background: rgba(247, 148, 29, .35); }
.hero-in { width: min(1280px, 100%); margin: 0 auto; padding: 0 var(--pad); display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 64px); align-items: center; min-height: calc(100svh - 210px); }
.hero .eyebrow { color: #c9d0ff; }
.hero-title { font-size: clamp(48px, 6.3vw, 100px); line-height: .95; letter-spacing: -.035em; font-weight: 850; margin-bottom: 28px; }
.hero-title .ln { display: block; }
.smile-word { position: relative; font-style: normal; color: var(--naranja); display: inline-block; }
.smile { position: absolute; left: -2%; width: 104%; top: 84%; height: .42em; overflow: visible; pointer-events: none; }
.smile path { fill: none; stroke: var(--naranja); stroke-width: 14; stroke-linecap: round; }
.hero-lead { font-size: clamp(18px, 1.6vw, 21px); color: #dfe3ff; max-width: 540px; margin-bottom: 30px; }
.finder { max-width: 560px; position: relative; }
.finder label { display: block; font-weight: 600; margin-bottom: 10px; color: #fff; }
.finder-box { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 999px; padding: 6px 6px 6px 18px; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .6); transition: box-shadow .3s, transform .3s var(--ease); }
.finder-box:focus-within { box-shadow: 0 0 0 4px rgba(247, 148, 29, .55), 0 24px 50px -24px rgba(0, 0, 0, .6); transform: translateY(-2px); }
.finder-box > svg { width: 20px; height: 20px; color: var(--azul); flex: none; }
.finder-box input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; color: var(--tinta); height: 46px; font-size: 16px; }
.finder-box input::placeholder { color: #8b90ad; }
.finder-box button { border: 0; border-radius: 999px; background: var(--naranja); color: var(--noche); font-weight: 700; padding: 0 20px; height: 46px; cursor: pointer; transition: background-color .25s, transform .3s var(--ease); white-space: nowrap; }
.finder-box button:hover { background: var(--naranja-2); }
.finder-list { position: absolute; left: 0; right: 0; top: calc(100% - 34px); z-index: 5; list-style: none; margin: 0; padding: 8px; background: #fff; color: var(--tinta); border-radius: 20px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5); }
.finder-list li { padding: 12px 14px; border-radius: 12px; cursor: pointer; display: flex; justify-content: space-between; gap: 12px; }
.finder-list li small { color: var(--gris); }
.finder-list li[aria-selected="true"], .finder-list li:hover { background: var(--cielo); }
.finder-list li.none { cursor: default; display: block; }
.finder-list li.none:hover { background: none; }
.finder-list li.none a { color: var(--azul); font-weight: 600; }
.finder-help { margin: 14px 0 0; font-size: 14px; color: #c9d0ff; line-height: 2.1; }
.finder-help a { display: inline-block; color: #fff; text-decoration: none; padding: 2px 11px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .3); margin: 0 2px; line-height: 1.6; transition: background-color .25s, border-color .25s, transform .3s var(--ease); }
.finder-help a:hover { background: var(--naranja); border-color: var(--naranja); color: var(--noche); transform: translateY(-2px); }
.hero-stage { position: relative; height: min(620px, 70svh); perspective: 1200px; }
.card { position: absolute; margin: 0; border-radius: 26px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .65); background: var(--noche); will-change: transform; }
.card img { width: 100%; height: 100%; object-fit: cover; }
.c1 { width: 72%; aspect-ratio: 4 / 5; right: 4%; top: 2%; z-index: 2; }
.c1 img { object-position: 30% 50%; }
.c2 { width: 52%; aspect-ratio: 4 / 3; left: 0; bottom: 4%; z-index: 3; transform: rotate(-5deg); }
.c3 { width: 40%; aspect-ratio: 1; right: 0; bottom: -2%; z-index: 4; transform: rotate(6deg); border: 6px solid #fff; }
.badge { position: absolute; left: 8%; top: 6%; z-index: 5; width: 150px; height: 150px; border-radius: 50%; background: var(--naranja); color: var(--noche); display: grid; place-content: center; text-align: center; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6); }
.badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.badge text { font: 800 15.5px var(--body); letter-spacing: .16em; fill: var(--noche); }
.badge b { font: 900 54px/0.9 var(--display); }
.badge span { font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .1em; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-photo-note { position: absolute; right: var(--pad); bottom: 22px; margin: 0; font-size: 12px; color: rgba(255, 255, 255, .6); }

/* Bordes en sonrisa entre secciones */
.edge { position: relative; height: clamp(40px, 7vw, 110px); margin-top: -1px; pointer-events: none; z-index: 2; }
.edge svg { position: absolute; left: 0; top: -1px; width: 100%; height: calc(100% + 2px); display: block; }
.edge-blue path { fill: var(--noche); }
.edge-blue { background: var(--papel); }
.edge-down { background: var(--papel); margin-bottom: -1px; }
.edge-down path { fill: var(--noche); }
.edge-navy { background: var(--papel); }
.edge-navy path { fill: var(--noche); }

/* Sedes */
.sedes { padding: clamp(40px, 6vw, 90px) 0 clamp(70px, 9vw, 130px); }
.sedes-story { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.map-col { position: sticky; top: 96px; }
.map-box { background: var(--noche); border-radius: 30px; padding: clamp(16px, 2vw, 28px); color: #fff; box-shadow: 0 40px 80px -40px rgba(11, 19, 97, .6); }
.map { width: 100%; height: auto; max-height: calc(100svh - 190px); display: block; margin: 0 auto; overflow: visible; }
.map-land { fill: #17209a; stroke: rgba(255, 255, 255, .12); stroke-width: 2; }
.map-bogota { fill: rgba(247, 148, 29, .16); stroke: rgba(247, 148, 29, .5); stroke-width: 2; stroke-dasharray: 6 6; }
.map-city { fill: rgba(255, 255, 255, .55); font: 700 18px var(--body); letter-spacing: .1em; text-transform: uppercase; }
.map-route { fill: none; stroke: var(--naranja); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 2 10; opacity: .7; }
.map-route-on { fill: none; stroke: var(--naranja); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
html:not(.motion) .map-route-on { stroke-dashoffset: 0; opacity: .5; }
.dot { cursor: pointer; }
.dot-core { fill: #fff; transition: fill .3s; }
.dot-halo { fill: var(--naranja); opacity: 0; transform-origin: 0 0; transition: opacity .35s; }
.dot-label { fill: rgba(255, 255, 255, .78); font: 600 17px var(--body); transition: fill .3s; paint-order: stroke; stroke: var(--noche); stroke-width: 5px; }
.dot.is-on .dot-core { fill: var(--naranja); }
.dot.is-on .dot-halo { opacity: .3; animation: pulse 1.8s var(--ease) infinite; }
.dot.is-on .dot-label { fill: #fff; font-weight: 800; }
.dot:hover .dot-core { fill: var(--naranja-2); }
@keyframes pulse { 0% { transform: scale(.5); opacity: .55; } 100% { transform: scale(1.6); opacity: 0; } }
.map-note { font-size: 12px; color: rgba(255, 255, 255, .55); margin: 10px 0 0; text-align: center; }
.sedes-list { display: grid; gap: clamp(22px, 3vw, 36px); }
.sede { display: grid; grid-template-columns: 1fr; background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: 0 1px 0 var(--linea), 0 30px 60px -44px rgba(11, 19, 97, .5); transition: box-shadow .4s var(--ease), scale .4s var(--ease); scroll-margin-top: 96px; }
.sede.is-on { box-shadow: 0 0 0 3px var(--naranja), 0 40px 70px -40px rgba(11, 19, 97, .55); }
.sede.flash { animation: flash 1.4s var(--ease); }
@keyframes flash { 0%, 100% { scale: 1; } 30% { scale: 1.015; } }
.sede-foto { margin: 0; aspect-ratio: 16 / 8; overflow: hidden; background: var(--cielo); }
.sede-foto img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.sede:hover .sede-foto img { transform: scale(1.04); }
#sede-funza .sede-foto img { object-position: 50% 25%; }
.sede-txt { padding: clamp(20px, 2.4vw, 32px); }
.sede-n { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gris); margin-bottom: 8px; }
.sede-n span { color: var(--naranja); margin-right: 6px; }
.sede h3 { font-size: clamp(28px, 2.8vw, 38px); margin-bottom: 16px; }
.sede-dir { display: flex; gap: 10px; align-items: flex-start; font-size: 18px; font-weight: 600; margin-bottom: 12px; }
.sede-dir svg { width: 22px; height: 22px; color: var(--azul); flex: none; margin-top: 2px; }
.sede-dir small { display: block; font-weight: 400; color: var(--gris); font-size: 15px; }
.sede-tels { list-style: none; padding: 0; margin: 0 0 10px; display: flex; flex-wrap: wrap; gap: 8px; }
.sede-tels a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; background: var(--cielo); color: var(--azul); font-weight: 700; text-decoration: none; font-size: 15px; transition: background-color .25s, color .25s, transform .3s var(--ease); }
.sede-tels a:hover { background: var(--azul); color: #fff; transform: translateY(-2px); }
.sede-tels svg { width: 16px; height: 16px; }
.sede-hora { font-size: 14px; color: var(--gris); margin-bottom: 18px; }
.sede-acc { display: flex; flex-wrap: wrap; gap: 10px; }

@media (min-width: 1121px) {
  .sede { grid-template-columns: 42% 1fr; }
  .sede-foto { aspect-ratio: auto; height: 100%; min-height: 300px; }
  .sede h3 { font-size: 32px; }
}
.linea-foto { position: relative; width: clamp(260px, 22vw, 320px); border-radius: 26px; overflow: hidden; flex: none; }
.linea-foto img { width: 100%; height: 100%; object-fit: cover; }
.linea-foto span { position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 10px 14px; border-radius: 14px; background: var(--naranja); color: var(--noche); font-weight: 700; }

/* Tratamientos */
.trats { padding: 0 0 clamp(60px, 8vw, 110px); }
.trat-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.trat-big { grid-column: span 2; grid-row: span 2; }
.trat-link { position: relative; display: flex; flex-direction: column; height: 100%; min-height: 300px; border-radius: var(--r); overflow: hidden; text-decoration: none; color: #fff; background: var(--noche); isolation: isolate; transition: box-shadow .5s var(--ease); }
.trat-img { position: absolute; inset: 0; z-index: -1; }
.trat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.trat-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 19, 97, 0) 20%, rgba(11, 19, 97, .55) 55%, rgba(8, 13, 70, .94) 100%); transition: opacity .5s; }
.trat-body { margin-top: auto; padding: 22px; display: grid; gap: 6px; }
.trat-i { font: 800 13px var(--body); letter-spacing: .12em; color: var(--naranja); }
.trat-h { font: 800 24px/1.05 var(--display); letter-spacing: -.01em; }
.trat-big .trat-h { font-size: clamp(34px, 3.6vw, 54px); }
.trat-p { font-size: 15px; color: #dfe3ff; line-height: 1.45; }
.trat-big .trat-p { font-size: 18px; max-width: 440px; }
.trat-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; margin-top: 8px; color: var(--naranja-2); }
.trat-more svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.trat-link:hover { box-shadow: 0 30px 60px -30px rgba(11, 19, 97, .8); }
.trat-link:hover .trat-img img { transform: scale(1.08); }
.trat-link:hover .trat-more svg { transform: translateX(6px); }
.nojs-only { display: none; }

/* Ortodoncia */
.orto { background: var(--noche); color: #fff; overflow: hidden; }
.orto-pin { display: grid; grid-template-columns: minmax(300px, .8fr) 1.6fr; gap: clamp(24px, 4vw, 60px); align-items: center; min-height: 100svh; padding: 60px 0 60px var(--pad); max-width: 100%; }
.orto .eyebrow { color: #c9d0ff; }
.orto-intro h2 { margin-bottom: 22px; }
.orto-intro p { color: #cdd3ff; font-size: 18px; max-width: 420px; }
.orto-bar { height: 4px; background: rgba(255, 255, 255, .14); border-radius: 4px; max-width: 320px; margin-top: 30px; overflow: hidden; }
.orto-bar span { display: block; height: 100%; width: 100%; background: var(--naranja); transform-origin: 0 50%; transform: scaleX(.2); }
.orto-view { overflow: hidden; }
.orto-track { list-style: none; margin: 0; padding: 20px var(--pad) 20px 0; display: flex; gap: 20px; width: max-content; }
.linea { position: relative; width: clamp(280px, 26vw, 360px); min-height: 440px; border-radius: 26px; padding: 28px; background: linear-gradient(160deg, #1d2ab8 0%, #131c86 100%); border: 1px solid rgba(255, 255, 255, .12); display: flex; flex-direction: column; transition: translate .5s var(--ease), background-color .4s; overflow: hidden; }
.linea::before { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 80px; border: 10px solid var(--naranja); border-top: 0; border-radius: 0 0 160px 160px; opacity: .25; transition: opacity .4s, transform .6s var(--ease); }
.linea:hover { translate: 0 -8px; }
.linea:hover::before { opacity: .9; transform: rotate(-12deg) scale(1.1); }
.linea-n { font: 900 64px/1 var(--display); color: rgba(255, 255, 255, .14); }
.linea h3 { font-size: 32px; margin: 18px 0 6px; }
.linea-t { color: var(--naranja-2); font-weight: 600; margin-bottom: 18px; }
.linea ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; color: #dfe3ff; }
.linea ul li { display: flex; gap: 10px; }
.linea ul li::before { content: ""; flex: none; width: 12px; height: 6px; margin-top: 9px; border: 2px solid var(--naranja); border-top: 0; border-radius: 0 0 12px 12px; }
.linea-cta { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; text-decoration: none; }
.linea-cta svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.linea-cta:hover svg { transform: translateX(5px); }

/* Primera cita */
.cita { padding: clamp(50px, 7vw, 100px) 0 clamp(60px, 8vw, 110px); }
.cita-grid { position: relative; display: grid; grid-template-columns: 60px minmax(0, 1fr) minmax(0, 1fr); gap: 0 clamp(20px, 3vw, 48px); }
.cita-line { grid-column: 1; grid-row: 1; width: 40px; height: 100%; justify-self: center; }
.cita-line path { fill: none; stroke: var(--naranja); stroke-width: 4; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.steps { grid-column: 2; grid-row: 1; list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(36px, 5vw, 70px); }
.step { display: grid; grid-template-columns: 64px 1fr; gap: 20px; align-items: start; }
.step-n { width: 64px; height: 64px; border-radius: 50%; background: var(--azul); color: #fff; display: grid; place-content: center; font: 900 28px var(--display); margin-left: calc(-62px - clamp(20px, 3vw, 48px)); box-shadow: 0 0 0 8px var(--papel); position: relative; }
.step h3 { font-size: clamp(24px, 2.4vw, 32px); margin: 10px 0 10px; }
.step p { color: var(--gris); font-size: 18px; max-width: 460px; }
.cita-photos { grid-column: 3; grid-row: 1; position: relative; min-height: 560px; }
.cp { position: absolute; margin: 0; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px -36px rgba(11, 19, 97, .55); }
.cp img { width: 100%; height: 100%; object-fit: cover; }
.cp1 { width: 78%; aspect-ratio: 4 / 3; right: 0; top: 0; }
.cp2 { width: 58%; aspect-ratio: 1; left: 0; top: 36%; border: 6px solid var(--papel); }
.cp3 { width: 50%; aspect-ratio: 4 / 3; right: 4%; bottom: 0; border: 6px solid var(--papel); }
.pagos { margin-top: clamp(60px, 7vw, 100px); border-top: 1px solid var(--linea); padding-top: 28px; display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; }
.pagos-h { margin: 0; font-weight: 700; color: var(--gris); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; }
.pagos-row { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.pagos-track { display: flex; gap: 12px; width: max-content; }
.pagos-track span { padding: 10px 18px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--linea); font-weight: 600; font-size: 15px; white-space: nowrap; }

/* YabaKids */
.kids { background: var(--naranja); color: var(--noche); padding: clamp(70px, 9vw, 130px) 0; overflow: hidden; }
.kids-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.kids .eyebrow { color: var(--noche); }
.kids .eyebrow::before { border-color: var(--noche); }
.kids-copy p { font-size: 19px; max-width: 520px; }
.kids-copy h2 { margin-bottom: 22px; }
.kids-list { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.kids-list li { background: rgba(255, 255, 255, .55); padding: 9px 16px; border-radius: 999px; font-weight: 600; transition: background-color .25s, translate .3s var(--ease), rotate .3s var(--ease); }
.kids-list li:hover { background: #fff; translate: 0 -3px; rotate: -1deg; }
.kids-photos { position: relative; height: clamp(420px, 46vw, 620px); }
.kp { position: absolute; margin: 0; width: 56%; aspect-ratio: 2 / 3; border-radius: 200px 200px 26px 26px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(11, 19, 97, .6); }
.kp img { width: 100%; height: 100%; object-fit: cover; }
.kp1 { left: 0; top: 0; }
.kp2 { right: 0; bottom: 0; border: 8px solid var(--naranja); }

/* Nosotros */
.about { padding: clamp(70px, 9vw, 130px) 0 clamp(50px, 6vw, 80px); }
.about-top { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 5vw, 80px); align-items: center; margin-bottom: clamp(40px, 6vw, 80px); }
.about-photo { margin: 0; border-radius: 30px; overflow: hidden; aspect-ratio: 4 / 4.2; }
.about-photo img { width: 100%; height: 115%; object-fit: cover; }
.about-copy h2 { margin-bottom: 24px; }
.about-copy p { font-size: 19px; color: var(--gris); max-width: 560px; }
.about-mision { padding: 18px 22px; border-radius: 18px; background: var(--cielo); color: var(--tinta) !important; }
.values { list-style: none; padding: 0; margin: 0 0 clamp(40px, 6vw, 70px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.values li { background: #fff; border-radius: var(--r); padding: 26px; box-shadow: inset 0 0 0 1px var(--linea); transition: translate .45s var(--ease), box-shadow .45s var(--ease); }
.values li:hover { translate: 0 -6px; box-shadow: inset 0 0 0 2px var(--azul), 0 24px 40px -30px rgba(11, 19, 97, .6); }
.values span { font: 900 15px var(--display); color: var(--naranja); }
.values h3 { margin: 12px 0 10px; }
.values p { color: var(--gris); font-size: 16px; margin: 0; }
.gallery { overflow: hidden; border-radius: 26px; }
.gal-track { display: flex; gap: 14px; width: max-content; }
.gal-track img { height: clamp(200px, 24vw, 320px); width: auto; border-radius: 20px; object-fit: cover; aspect-ratio: 3 / 2; }

/* Agenda */
.agenda { background: var(--azul); color: #fff; padding: clamp(70px, 9vw, 130px) 0; }
.agenda-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
.agenda .eyebrow { color: #c9d0ff; }
.agenda-copy h2 { margin-bottom: 22px; }
.agenda-copy p { color: #dfe3ff; font-size: 19px; max-width: 500px; }
.agenda-copy a { color: #fff; font-weight: 700; }
.agenda-alt { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.agenda-alt a { text-decoration: none; border-bottom: 2px solid var(--naranja); }
.form { background: #fff; color: var(--tinta); border-radius: 28px; padding: clamp(22px, 3vw, 36px); display: grid; gap: 16px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .55); }
.field { display: grid; gap: 6px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-weight: 600; font-size: 15px; padding: 0; }
.field small { color: var(--gris); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; border: 1.5px solid var(--linea); border-radius: 14px; padding: 13px 14px; background: var(--papel); font-size: 16px; transition: border-color .25s, box-shadow .25s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--azul); box-shadow: 0 0 0 4px rgba(37, 55, 204, .15); }
.field.has-error input, .field.has-error select { border-color: #c4302b; }
.error { color: #c4302b; font-size: 14px; margin: 0; }
.field-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.field-chips legend { margin-bottom: 8px; width: 100%; }
.field-chips label { cursor: pointer; }
.field-chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.field-chips span { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--linea); font-weight: 600; transition: all .25s; }
.field-chips input:checked + span { background: var(--azul); border-color: var(--azul); color: #fff; }
.field-chips input:focus-visible + span { outline: 3px solid var(--naranja); outline-offset: 2px; }
.form-status { margin: 0; font-weight: 600; color: var(--wa); min-height: 1em; }
.form-note { margin: 0; font-size: 13px; color: var(--gris); }

/* Pie */
.foot { background: var(--noche); color: #cdd3ff; padding: clamp(60px, 7vw, 90px) 0 0; overflow: hidden; }
.foot-in { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 1.1fr; gap: 36px; }
.foot-brand img { width: 130px; height: auto; margin-bottom: 16px; }
.foot-brand p { max-width: 300px; font-size: 15px; }
.foot h2 { font: 700 14px var(--body); letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: 15px; }
.foot a { text-decoration: none; transition: color .2s; }
.foot a:hover { color: var(--naranja-2); }
.foot-sedes { grid-template-columns: 1fr 1fr; }
.foot-word { font: 900 clamp(120px, 26vw, 400px)/.8 var(--display); letter-spacing: -.05em; color: rgba(255, 255, 255, .05); margin: 40px 0 -.12em; text-align: center; white-space: nowrap; }
.foot-legal { font-size: 13px; padding-top: 18px; padding-bottom: 80px; border-top: 1px solid rgba(255, 255, 255, .1); color: #8f97d6; }

/* WhatsApp flotante */
.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-content: center; box-shadow: 0 16px 30px -12px rgba(31, 168, 85, .9); transition: scale .35s var(--ease), rotate .35s var(--ease); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { scale: 1.08; rotate: -6deg; }

/* Ficha de tratamiento */
html.has-dialog { overflow: hidden; }
html.has-dialog #banda-arquia, html.has-dialog .wa-float { visibility: hidden; }
.ficha { border: 0; padding: 0; width: min(760px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); border-radius: 28px; background: #fff; color: var(--tinta); overflow: hidden; box-shadow: 0 50px 100px -30px rgba(11, 19, 97, .7); }
.ficha::backdrop { background: rgba(8, 12, 60, .62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ficha-in { position: relative; display: flex; flex-direction: column; max-height: calc(100dvh - 48px); }
.ficha-img { margin: 0; flex: none; height: clamp(150px, 26vh, 260px); overflow: hidden; background: var(--cielo); }
.ficha-img img { width: 100%; height: 100%; object-fit: cover; }
.ficha-close { position: absolute; top: 14px; right: 14px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .94); color: var(--tinta); font-size: 30px; line-height: 1; cursor: pointer; box-shadow: 0 6px 20px -6px rgba(0, 0, 0, .4); transition: transform .3s var(--ease); }
.ficha-close:hover { transform: rotate(90deg); }
.ficha-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 26px clamp(20px, 4vw, 40px) 20px; }
.ficha-body h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 18px; }
.rich { font-size: 17px; }
.rich h3 { font-size: 20px; margin: 24px 0 10px; color: var(--azul); }
.rich ul { padding-left: 0; list-style: none; display: grid; gap: 8px; margin: 0 0 1em; }
.rich ul li { display: flex; gap: 10px; }
.rich ul li::before { content: ""; flex: none; width: 12px; height: 6px; margin-top: 10px; border: 2px solid var(--naranja); border-top: 0; border-radius: 0 0 12px 12px; }
.rich img { border-radius: 16px; margin: 16px 0 6px; width: 100%; height: auto; background: var(--cielo); }
.ficha-actions { flex: none; display: flex; gap: 10px; padding: 14px clamp(20px, 4vw, 40px) 18px; border-top: 1px solid var(--linea); background: #fff; }
.ficha-actions .btn-wa { flex: 1; }

/* Sin JavaScript */
html:not(.js) .nojs-only { display: block; margin-top: 30px; }
html:not(.js) .trat-link { pointer-events: none; }
.trat-nojs { background: #fff; border-radius: 16px; padding: 16px 22px; margin-bottom: 10px; box-shadow: inset 0 0 0 1px var(--linea); }
.trat-nojs summary { font-weight: 700; cursor: pointer; font-size: 18px; }

/* Movimiento: estados iniciales solo con animación activa */
html.motion .hero .eyebrow, html.motion .hero-lead, html.motion .finder { opacity: 0; }
html.motion .hero-stage .card, html.motion .badge { opacity: 0; }
html.motion .smile path { stroke-dasharray: 1; stroke-dashoffset: 1; }
html.motion .hero-title { visibility: hidden; }
html.motion .cita-line path { stroke-dasharray: 1; stroke-dashoffset: 1; }
html:not(.motion) .pagos-track, html:not(.motion) .gal-track { flex-wrap: wrap; width: auto; }
html:not(.motion) .pagos-row { -webkit-mask: none; mask: none; }
html:not(.motion) .gallery { overflow-x: auto; }
html:not(.motion) .gal-track { flex-wrap: nowrap; width: max-content; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}

/* Responsivo */
@media (max-width: 1120px) {
  .nav { display: none; }
  .menu { display: block; }
  .top-cta { margin-left: auto; }
  .trat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  .hero { padding-top: 110px; }
  .hero-in { grid-template-columns: 1fr; min-height: 0; }
  .hero-stage { height: clamp(320px, 70vw, 560px); max-width: 640px; width: 100%; margin: 10px auto 0; }
  .sec-head-row { grid-template-columns: 1fr; gap: 0; }
  .sec-head-row .sec-lead { margin-top: 18px; }
  .sedes-story { grid-template-columns: 1fr; }
  .map-col { position: relative; top: 0; }
  .map { max-height: 420px; }
  .orto-pin { grid-template-columns: 1fr; min-height: 0; padding: 70px 0; }
  .orto-intro { padding-right: var(--pad); }
  .orto-view { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .orto-view::-webkit-scrollbar { display: none; }
  .orto-track { padding-right: var(--pad); }
  .linea { scroll-snap-align: start; width: min(320px, 82vw); min-height: 0; }
  .cita-grid { grid-template-columns: 44px minmax(0, 1fr); }
  .step-n { margin-left: calc(-50px - clamp(20px, 3vw, 48px)); width: 56px; height: 56px; font-size: 24px; }
  .step { grid-template-columns: 30px 1fr; gap: 10px; }
  .cita-photos { grid-column: 1 / -1; grid-row: 2; min-height: clamp(360px, 80vw, 560px); margin-top: 50px; }
  .kids-in, .about-top, .agenda-in { grid-template-columns: 1fr; }
  .kids-photos { max-width: 560px; width: 100%; }
  .about-photo { aspect-ratio: 4 / 3; }
  .pagos { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  h2 { font-size: clamp(34px, 10vw, 46px); }
  .top-in { height: 66px; gap: 10px; }
  .brand { width: 84px; height: 48px; }
  .top-cta span { display: none; }
  .top-cta { width: 46px; min-height: 46px; padding: 0; }
  .hero-title { font-size: clamp(46px, 13.6vw, 64px); }
  .finder-box { padding-left: 14px; }
  .finder-box > svg { display: none; }
  .finder-box button { padding: 0 14px; font-size: 15px; }
  .badge { width: 104px; height: 104px; left: 0; top: 0; }
  .badge text { font-size: 15px; }
  .badge b { font-size: 38px; }
  .badge span { font-size: 11px; }
  .sede-foto { aspect-ratio: 16 / 10; }
  .sede-acc .btn { width: 100%; }
  .trat-grid { grid-template-columns: 1fr; }
  .trat-big { grid-column: auto; grid-row: auto; }
  .trat-link { min-height: 260px; }
  .trat-big .trat-link { min-height: 380px; }
  .values { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr; }
  .ficha { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; margin: 0; }
  .ficha-in { height: 100dvh; max-height: 100dvh; }
  .ficha-actions { padding-bottom: max(18px, env(safe-area-inset-bottom)); }
  .ficha-actions .btn { padding: 0 14px; }
  .wa-float { width: 54px; height: 54px; right: 14px; bottom: 14px; }
  .hero-photo-note { left: var(--pad); right: auto; }
}
