/* =========================================================
   SYNAVIA Academy — sistema de diseño v2
   Marca fija (manual): League Spartan + Work Sans, paleta navy / verde salvia / ámbar.
   Criterios aplicados: layouts asimétricos, menos cajas, estados completos,
   movimiento solo con transform/opacity, hover solo con puntero, movimiento reducido.
   ========================================================= */
:root {
  --ink: #0F2438; --ink-2: #0B1A28; --slate: #334155;
  --teal: #38A3A5; --teal-deep: #246E70; --teal-light: #80CED0;
  --mist: #E8F7F7; --tint: #F4FAFA;
  --amber: #F4A261; --amber-hover: #EE9144; --amber-ink: #8F4510;
  --paper: #FFFFFF;
  --line: rgba(15, 36, 56, .12); --line-strong: rgba(15, 36, 56, .22);
  --on-dark: #C3D5DC; --on-dark-2: #8FA7B3;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --r: 20px; --r-lg: 28px;
  --wrap: 1200px; --gut: clamp(20px, 4vw, 40px);
  --sec: clamp(72px, 9vw, 120px);
  --shadow: 0 28px 56px -32px rgba(15, 36, 56, .45);
  --font-h: 'League Spartan', 'Work Sans', system-ui, sans-serif;
  --font-b: 'Work Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 120px; }
body { margin: 0; background: var(--paper); color: var(--slate); font: 400 1.0625rem/1.7 var(--font-b); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-h); color: var(--ink); font-weight: 700; }
h1 { font-size: clamp(2.35rem, 4.6vw, 3.7rem); line-height: 1.04; letter-spacing: -.03em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); line-height: 1.1; letter-spacing: -.022em; max-width: 22ch; text-wrap: balance; }
h3 { font-size: 1.3rem; line-height: 1.2; letter-spacing: -.01em; }
.wrap { width: min(100% - var(--gut) * 2, var(--wrap)); margin-inline: auto; }
:focus-visible { outline: 2px solid var(--teal-deep); outline-offset: 3px; border-radius: 6px; }
.dark :focus-visible, .site-footer :focus-visible { outline-color: var(--amber); }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100; transition: transform .2s var(--ease-out); }
.skip:focus { transform: translateY(72px); }
::selection { background: var(--amber); color: var(--ink-2); }

/* ---------- secciones ---------- */
.sec { padding-block: var(--sec); }
.tint { background: var(--tint); }
.dark { background: var(--ink-2); color: var(--on-dark); }
.dark h2, .dark h3 { color: #fff; }
.eyebrow { display: block; font: 700 .74rem/1.3 var(--font-b); letter-spacing: .16em; text-transform: uppercase; color: var(--teal-deep); margin-bottom: 16px; }
.dark .eyebrow { color: var(--teal-light); }
.lead { font-size: 1.12rem; line-height: 1.7; margin-top: 18px; max-width: 58ch; }
.lead.sm { font-size: 1.02rem; }
.dark .lead, .dark p { color: var(--on-dark); }
.sec-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }

/* ---------- botones y enlaces ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .95rem 1.6rem; border-radius: 999px; background: var(--amber); color: var(--ink-2); font: 600 .97rem/1.1 var(--font-b); text-decoration: none; border: 0; cursor: pointer; white-space: nowrap; transition: transform .14s var(--ease-out), background-color .2s ease, box-shadow .2s ease; }
.btn:active { transform: scale(.97); }
.btn svg { transition: transform .2s var(--ease-out); }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.btn.sm { padding: .72rem 1.2rem; font-size: .9rem; }
.btn.lg { padding: 1.1rem 1.9rem; font-size: 1.05rem; }
.link { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; color: var(--teal-deep); text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; transition: opacity .2s ease; }
.dark .link { color: var(--teal-light); }
.link svg { transition: transform .2s var(--ease-out); }
.btn.loading { background: linear-gradient(90deg, var(--amber) 0%, #F9C79B 50%, var(--amber) 100%); background-size: 200% 100%; animation: shimmer 1.1s linear infinite; pointer-events: none; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- cabecera ---------- */
.topbar { background: var(--ink-2); color: var(--on-dark); font-size: .8rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.tb-info { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.tb-info a, .tb-info span { display: inline-flex; align-items: center; gap: 7px; color: inherit; text-decoration: none; white-space: nowrap; }
.tb-info svg { width: 14px; height: 14px; flex-shrink: 0; }
.tb-social { display: flex; align-items: center; gap: 4px; }
.tb-social span { margin-right: 6px; }
.tb-social a { width: 30px; height: 30px; display: grid; place-items: center; color: var(--on-dark); border-radius: 8px; transition: color .15s ease, background-color .15s ease; }
.tb-social svg { width: 15px; height: 15px; }
.site-header { position: sticky; top: 0; z-index: 40; }
.site-header::before { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.5) blur(14px); -webkit-backdrop-filter: saturate(1.5) blur(14px); box-shadow: 0 1px 0 var(--line), inset 0 -1px 0 rgba(255, 255, 255, .7); z-index: -1; }
.hdr { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 64px; width: auto; }
.brand b { display: block; font: 700 1.08rem/1 var(--font-h); letter-spacing: .03em; color: var(--ink); }
.brand small { display: block; font: 500 .62rem/1 var(--font-b); letter-spacing: .26em; color: var(--teal-deep); margin-top: 6px; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav > a, .dd-btn { position: relative; padding: 10px 14px; border-radius: 10px; font: 500 .95rem/1.2 var(--font-b); color: var(--slate); text-decoration: none; background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; transition: color .15s ease, background-color .15s ease; }
.nav > a[aria-current="page"], .dd.cur > .dd-btn { color: var(--ink); }
.nav > a[aria-current="page"]::after, .dd.cur > .dd-btn::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--amber); }
.dd { position: relative; }
.dd-btn svg { width: 14px; height: 14px; transition: transform .2s var(--ease-out); }
.dd.open .dd-btn svg { transform: rotate(180deg); }
.dd-menu { position: absolute; top: calc(100% + 6px); left: 0; min-width: 230px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: scale(.96); transform-origin: top left; transition: opacity .16s var(--ease-out), transform .16s var(--ease-out), visibility 0s linear .16s; }
.dd.open .dd-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.dd-menu a { display: block; padding: 10px 12px; border-radius: 9px; font-size: .93rem; text-decoration: none; color: var(--slate); transition: background-color .15s ease, color .15s ease; }
.nav > a.btn { margin-left: 8px; padding: .75rem 1.25rem; font-size: .9rem; background: var(--amber); color: var(--ink-2); font-weight: 600; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-strong); background: #fff; align-items: center; justify-content: center; cursor: pointer; transition: transform .14s var(--ease-out); }
.nav-toggle:active { transform: scale(.95); }
.nav-toggle svg { width: 22px; height: 22px; }

/* ---------- hero ---------- */
.hero { background: linear-gradient(180deg, var(--tint) 0%, #fff 92%); padding: clamp(36px, 5vw, 72px) 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 6vw, 96px); align-items: center; min-height: min(640px, calc(100dvh - 160px)); }
.hero h1 .tone { color: var(--teal-deep); }
.hero .lead { max-width: 44ch; }
.hero-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 32px; }
.points { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: .94rem; font-weight: 500; color: var(--ink); }
.points li { display: inline-flex; align-items: center; gap: 9px; }
.points li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }
.hero-visual { position: relative; }
.ph { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--mist); }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph.bar::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--amber); }
.ph.r45 { aspect-ratio: 4 / 5; } .ph.r34 { aspect-ratio: 3 / 4; } .ph.r43 { aspect-ratio: 4 / 3; } .ph.r32 { aspect-ratio: 3 / 2; }
.hero-visual .ph { max-height: 620px; margin-left: auto; box-shadow: var(--shadow); }
.note { position: absolute; left: -32px; bottom: 40px; max-width: 250px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px 20px; box-shadow: var(--shadow); }
.note b { display: block; font: 700 1.9rem/1 var(--font-h); color: var(--teal-deep); letter-spacing: -.02em; }
.note span { display: block; font-size: .88rem; line-height: 1.4; margin-top: 6px; }

/* ---------- franja de datos ---------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.fact { padding: 30px 28px 32px; border-left: 1px solid var(--line); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact svg { width: 26px; height: 26px; color: var(--teal-deep); margin-bottom: 16px; }
.fact h3 { font-size: 1.1rem; margin-bottom: 8px; }
.fact p { font-size: .95rem; line-height: 1.6; }

/* ---------- bloques partidos ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(36px, 7vw, 104px); align-items: center; }
.split.rev { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
.split.top { align-items: start; }
.split .ph { box-shadow: var(--shadow); }
.drop { margin-top: clamp(0px, 4vw, 56px); }
.nos { margin-top: 32px; display: grid; gap: 14px; max-width: 46ch; }
.nos p { padding: 4px 0 4px 20px; border-left: 4px solid var(--amber); font-weight: 600; color: var(--ink); line-height: 1.45; }
.sello { background: var(--teal); color: var(--ink-2); padding-block: clamp(72px, 9vw, 112px); }
.sello .eyebrow, .sello p { color: var(--ink-2); }
.sello h2 { color: var(--ink-2); max-width: 24ch; font-size: clamp(1.9rem, 4vw, 3.1rem); }
.sello h2 em { font-style: italic; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.pill { background: var(--ink-2); color: #fff; font: 700 .78rem/1 var(--font-b); letter-spacing: .14em; text-transform: uppercase; padding: 13px 22px; border-radius: 999px; }
.sello p.sub { margin-top: 24px; font-size: 1.12rem; max-width: 50ch; }

/* ---------- listas con divisores ---------- */
.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: minmax(0, .62fr) minmax(0, 1.38fr); gap: 12px 32px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.row h3 { font-size: 1.45rem; }
.row .q { font-style: italic; color: var(--teal-deep); font-weight: 500; margin-top: 4px; }
.row .verbs { margin-top: 10px; font-weight: 700; color: var(--ink); font-size: .93rem; }
.row .tagline { margin-top: 12px; display: inline-block; font-weight: 600; font-size: .86rem; color: var(--teal-deep); background: var(--mist); padding: 6px 12px; border-radius: 8px; }
.row .code { font: 700 .76rem/1 var(--font-b); letter-spacing: .14em; color: var(--amber-ink); display: block; margin-bottom: 10px; }
.dark .rows, .dark .row { border-color: rgba(255, 255, 255, .14); }
.dark .row h3 { font-size: 1.15rem; }
.center-note { margin-top: 28px; font-weight: 700; color: var(--teal-deep); font-size: 1.05rem; }

/* diagrama trinodal */
.diagram { position: relative; width: min(100%, 420px); aspect-ratio: 1; margin-top: 36px; }
.diagram::before { content: ""; position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(circle, rgba(56, 163, 165, .14), rgba(56, 163, 165, 0) 70%); }
.diagram svg.links { position: absolute; inset: 0; width: 100%; height: 100%; }
.diagram .flow { fill: none; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 5 7; }
.node { position: absolute; width: 44%; aspect-ratio: 1; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 10px; color: #fff; }
.node svg { width: 22px; height: 22px; margin-bottom: 8px; opacity: .95; }
.node b { font: 700 1.02rem/1.1 var(--font-h); }
.node small { font-size: .7rem; line-height: 1.3; margin-top: 4px; opacity: .92; max-width: 14ch; }
.node.n1 { top: 0; left: 28%; background: radial-gradient(circle at 32% 28%, #2f8688, var(--teal-deep) 75%); box-shadow: 0 18px 36px -18px rgba(36, 110, 112, .7); }
.node.n2 { bottom: 0; left: 2%; background: radial-gradient(circle at 32% 28%, #F9BE8E, #EE9144 78%); color: var(--ink-2); box-shadow: 0 18px 36px -18px rgba(238, 145, 68, .7); }
.node.n3 { bottom: 0; right: 2%; background: radial-gradient(circle at 32% 28%, #1c3d56, var(--ink) 75%); box-shadow: 0 18px 36px -18px rgba(15, 36, 56, .75); }

/* pasos del proyecto */
.psteps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 40px; margin-top: 8px; }
.pstep { border-top: 2px solid var(--amber); padding-top: 18px; }
.pstep:nth-child(n+3):nth-child(-n+4) { border-top-color: var(--teal); }
.pstep:nth-child(5) { border-top-color: #6FA3D6; }
.pstep:nth-child(6) { border-top-color: var(--teal-light); }
.pstep i { display: block; font: 700 2.4rem/1 var(--font-h); font-style: normal; color: var(--amber); margin-bottom: 12px; }
.pstep h3 { font: 600 1.05rem/1.3 var(--font-b); color: #fff; margin-bottom: 8px; }
.pstep p { font-size: .94rem; line-height: 1.6; }

/* evidencia */
.ev-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(36px, 7vw, 96px); align-items: start; }
.ev-main { position: sticky; top: 130px; }
.ev-main .big { font: 700 clamp(4.4rem, 11vw, 8rem)/.9 var(--font-h); color: var(--teal-deep); letter-spacing: -.04em; margin: 8px 0 20px; }
.ev-main p { max-width: 42ch; }
.ev-item { padding: 22px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 8px 24px; align-items: baseline; }
.ev-item:last-of-type { border-bottom: 1px solid var(--line); }
.ev-item small { display: block; font: 700 .7rem/1.3 var(--font-b); letter-spacing: .14em; text-transform: uppercase; color: var(--slate); margin-bottom: 6px; }
.ev-item b { font: 700 1.9rem/1 var(--font-h); color: var(--amber-ink); letter-spacing: -.02em; }
.ev-item p { font-size: .95rem; line-height: 1.6; }
.ev-line { margin-top: 28px; display: grid; gap: 14px; }
.ev-line p { padding-left: 20px; border-left: 4px solid var(--teal); color: var(--ink); font-weight: 500; font-size: 1rem; }
.ev-teal { margin-top: 28px; background: var(--ink); color: #fff; border-radius: var(--r); padding: 24px 28px; font: 600 1.25rem/1.35 var(--font-h); letter-spacing: -.005em; }
.sources { margin-top: 28px; font-size: .78rem; line-height: 1.7; color: #5B6B7C; max-width: 90ch; }

/* respaldo */
.origin { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1.2fr); gap: 20px 24px; align-items: stretch; }
.origin .op { align-self: center; font: 300 2.2rem/1 var(--font-h); color: var(--teal); }
.org { padding-top: 20px; border-top: 4px solid var(--amber); }
.org.t { border-top-color: var(--teal); }
.org .role { display: block; font: 700 .72rem/1.3 var(--font-b); letter-spacing: .14em; text-transform: uppercase; margin: 8px 0 14px; color: var(--amber-ink); }
.org.t .role { color: var(--teal-deep); }
.org .quote { margin-top: 14px; font-style: italic; color: var(--teal-deep); font-size: .96rem; }
.org.syn { background: var(--ink-2); border-top: 0; border-radius: var(--r); padding: 28px; }
.org.syn h3 { color: #fff; }
.org.syn p { color: var(--on-dark); margin-top: 10px; }
.org.syn .hl { color: var(--amber); font-weight: 500; }

/* admisión + formulario */
.adm-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: clamp(36px, 7vw, 96px); align-items: start; }
.timeline { list-style: none; margin: 36px 0 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 17px; top: 14px; bottom: 14px; width: 2px; background: linear-gradient(var(--amber) 0 50%, var(--teal) 50% 100%); opacity: .5; }
.timeline li { position: relative; padding: 0 0 26px 58px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline .n { position: absolute; left: 0; top: -2px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--amber); color: var(--ink-2); font: 700 .95rem/1 var(--font-h); box-shadow: 0 0 0 6px #fff; }
.tint .timeline .n { box-shadow: 0 0 0 6px var(--tint); }
.timeline li:nth-child(n+3) .n { background: var(--teal); }
.timeline b { display: block; color: var(--ink); font-weight: 600; }
.timeline p { font-size: .96rem; line-height: 1.6; margin-top: 2px; }

/* formularios */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 40px); box-shadow: var(--shadow); }
.adm-grid .form-card { position: sticky; top: 124px; }
.form-card h3 { font-size: 1.45rem; }
.form-card .sub { font-size: .95rem; margin: 6px 0 22px; }
.field { margin-bottom: 18px; }
.field label { display: block; font: 600 .88rem/1.3 var(--font-b); color: var(--ink); margin-bottom: 8px; }
.field .opt { font-weight: 400; color: #5B6B7C; }
.field input, .field select, .field textarea { width: 100%; padding: 13px 15px; border-radius: 12px; border: 1.5px solid var(--line-strong); background: #fff; color: var(--ink); font: 400 1rem/1.4 var(--font-b); transition: border-color .15s ease, box-shadow .15s ease; appearance: none; -webkit-appearance: none; }
.field select { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23334155' stroke-width='2'><path d='M5 7l5 5 5-5'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 40px; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal-deep); box-shadow: 0 0 0 4px rgba(56, 163, 165, .2); }
.field [aria-invalid="true"] { border-color: #B4432B; box-shadow: 0 0 0 4px rgba(180, 67, 43, .12); }
.help { font-size: .82rem; line-height: 1.45; color: #5B6B7C; margin-top: 7px; }
.err { font-size: .84rem; line-height: 1.4; color: #A33A24; margin-top: 7px; font-weight: 500; animation: errIn .18s var(--ease-out); }
@keyframes errIn { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: none; } }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.other { display: none; margin-top: 10px; } .other.show { display: block; }
.form-card .btn { width: 100%; margin-top: 6px; padding-block: 1.05rem; }
.trust { text-align: center; font-size: .85rem; margin-top: 14px; color: #4a5b6d; }
.form-msg { display: none; margin-top: 16px; padding: 18px 20px; border-radius: 14px; background: var(--mist); color: var(--teal-deep); font-size: .96rem; line-height: 1.55; }
.form-msg.show { display: block; animation: errIn .25s var(--ease-out); }
.form-msg strong { display: block; color: var(--ink); font-size: 1.05rem; margin-bottom: 4px; }
.form-msg .btn { width: auto; margin-top: 12px; }
form.done > :not(.form-msg) { display: none; }

/* cierre */
.closing { background: var(--ink-2); color: var(--on-dark); padding-block: clamp(64px, 8vw, 104px); }
.closing-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; align-items: end; }
.closing h2 { color: #fff; max-width: 18ch; font-size: clamp(1.9rem, 3.8vw, 3rem); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chip { padding: 9px 16px; border-radius: 999px; font-size: .9rem; font-weight: 500; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .22); }
.closing-cta { display: grid; gap: 14px; justify-items: start; }
.closing-cta .meta { color: var(--amber); font-weight: 600; }

/* ---------- pie ---------- */
.site-footer { background: var(--ink-2); color: var(--on-dark); padding-top: clamp(56px, 7vw, 88px); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 56px; }
.foot-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin-bottom: 18px; }
.foot-brand img { height: 60px; width: auto; }
.foot-brand b { font: 700 1.1rem/1 var(--font-h); color: #fff; letter-spacing: .03em; }
.foot-tag { max-width: 30ch; font-size: .95rem; line-height: 1.6; }
.foot-social { display: flex; gap: 8px; margin-top: 22px; }
.foot-social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .2); color: var(--on-dark); transition: background-color .15s ease, color .15s ease; }
.foot-social svg { width: 17px; height: 17px; }
.foot-col h4 { color: #fff; font: 700 .74rem/1.2 var(--font-b); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.foot-col a, .foot-col span { display: block; color: var(--on-dark); text-decoration: none; font-size: .95rem; margin-bottom: 12px; line-height: 1.4; transition: color .15s ease; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 24px; font-size: .82rem; color: var(--on-dark-2); }

/* ---------- páginas interiores ---------- */
.phead { background: linear-gradient(180deg, var(--tint), #fff); padding: clamp(36px, 5vw, 64px) 0 clamp(40px, 5vw, 72px); overflow: hidden; }
.phead-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 6vw, 88px); align-items: center; }
.crumb { font-size: .85rem; color: #5B6B7C; margin-bottom: 18px; }
.crumb a { text-decoration: none; }
.crumb span { margin: 0 8px; opacity: .6; }
.crumb b { font-weight: 600; color: var(--amber-ink); }
.phead h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); max-width: 18ch; }
.phead .lead { max-width: 46ch; }
.phead .ph { max-height: 420px; margin-left: auto; width: 100%; box-shadow: var(--shadow); }
.big5 { display: flex; gap: 18px; align-items: flex-start; margin-top: 26px; }
.big5 .n { font: 700 4.2rem/.9 var(--font-h); color: var(--teal); letter-spacing: -.04em; white-space: nowrap; }
.big5 .n.w { font-size: 3.3rem; padding-top: 6px; }
.big5 p { padding-top: 6px; font-size: 1.05rem; max-width: 36ch; }
.feat { list-style: none; padding: 0; margin: 28px 0 0; border-top: 1px solid var(--line); }
.feat li { display: grid; grid-template-columns: 28px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: start; }
.feat svg { width: 24px; height: 24px; color: var(--teal-deep); margin-top: 2px; }
.feat p { font-size: 1rem; line-height: 1.6; }
.feat strong { color: var(--ink); }
.dark .feat, .dark .feat li { border-color: rgba(255, 255, 255, .14); }
.dark .feat svg { color: var(--amber); } .dark .feat strong { color: #fff; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; margin-top: 28px; border-top: 1px solid var(--line); }
.cell { padding: 22px 0; border-bottom: 1px solid var(--line); }
.cell h3 { font: 700 1.05rem/1.3 var(--font-b); color: var(--ink); margin-bottom: 6px; }
.cell p { font-size: .96rem; line-height: 1.6; }
.cols3 { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 0 40px; border-top: 1px solid var(--line); }
.cols3 .cell svg { width: 26px; height: 26px; color: var(--teal-deep); margin-bottom: 14px; }
.cols4 { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.cols4 .cell { padding: 24px 24px 26px; border-left: 1px solid var(--line); }
.cols4 .cell:first-child { border-left: 0; padding-left: 0; }
.cols4 .cell .code { display: block; font: 700 .76rem/1 var(--font-b); letter-spacing: .14em; color: var(--amber-ink); margin-bottom: 12px; }
.cols5 { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); }
.cols5 .cell { padding: 24px 20px 26px; border-left: 1px solid var(--line); }
.cols5 .cell:first-child { border-left: 0; padding-left: 0; }
.cols5 .cell svg { width: 26px; height: 26px; color: var(--teal-deep); margin-bottom: 14px; }
.dark .cols5, .dark .cols5 .cell { border-color: rgba(255, 255, 255, .14); }
.dark .cols5 .cell svg { color: var(--amber); }
.dark .cell h3 { color: #fff; font: 600 1.02rem/1.35 var(--font-b); }
.dark .cell p { color: var(--on-dark); }
.softs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.soft { background: var(--ink); color: #fff; font-weight: 600; font-size: .9rem; padding: 10px 18px; border-radius: 999px; }
.soft-title { margin-top: 40px; font: 700 1.1rem/1.3 var(--font-b); color: var(--teal-deep); }
.big-line { font: 700 clamp(1.5rem, 2.8vw, 2.2rem)/1.25 var(--font-h); color: #fff; margin-top: 44px; max-width: 28ch; letter-spacing: -.01em; }
.big-line span { color: var(--amber); }
.quote-amber { font: italic 600 1.2rem/1.45 var(--font-h); color: var(--amber); margin-top: 28px; max-width: 34ch; }
.proj-q { font-style: italic; color: var(--amber-ink); font-size: 1.1rem; margin-top: 12px; max-width: 60ch; }
.proj { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 6vw, 80px); align-items: center; margin-top: 32px; }
.proj img { width: 100%; border-radius: var(--r); box-shadow: var(--shadow); }
.olist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.olist li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; font-size: .98rem; line-height: 1.5; }
.olist .num { width: 34px; height: 34px; border-radius: 50%; background: var(--amber); color: var(--ink-2); font: 700 .9rem/1 var(--font-h); display: grid; place-items: center; }
.olist li:nth-child(n+3):nth-child(-n+4) .num { background: var(--teal); }
.olist li:nth-child(5) .num { background: #9DBBDD; } .olist li:nth-child(6) .num { background: #B6A9DD; }
.olist strong { color: var(--ink); }
.gym { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 28px; margin-top: 32px; }
.gym img { width: 100%; aspect-ratio: 5 / 3; object-fit: cover; border-radius: 16px; margin-bottom: 16px; }
.gym .lbl { font: 700 .72rem/1 var(--font-b); letter-spacing: .14em; text-transform: uppercase; color: var(--teal-deep); }
.gym h3 { font: 600 1.1rem/1.3 var(--font-b); margin: 8px 0; }
.gym p { font-size: .95rem; line-height: 1.6; }
.eng { display: flex; align-items: flex-end; gap: 12px; margin-top: 30px; max-width: 640px; }
.eng div { flex: 1; border-radius: 14px; padding: 16px 18px; color: var(--ink-2); }
.eng h3 { font: 700 1.05rem/1.2 var(--font-b); margin-bottom: 4px; } .eng p { font-size: .88rem; line-height: 1.45; color: inherit; }
.eng .e1 { height: 112px; background: #D6EBEA; } .eng .e2 { height: 152px; background: #A8D6D6; }
.eng .e3 { height: 192px; background: var(--teal); } .eng .e4 { height: 232px; background: var(--ink); color: #fff; }
.eng .e4 h3 { color: var(--amber); } .eng .e4 p { color: #fff; }
.eng.two .e2 { height: 150px; } .eng.two .e4 { height: 214px; }
.note-line { margin-top: 20px; max-width: 60ch; }
.callout { margin-top: 36px; padding: 20px 24px; border-left: 4px solid var(--teal); background: #fff; border-radius: 0 14px 14px 0; max-width: 64ch; color: var(--ink); }
.simple { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.simple li { padding: 18px 0 18px 30px; border-bottom: 1px solid var(--line); position: relative; line-height: 1.6; }
.simple li::before { content: ""; position: absolute; left: 0; top: 28px; width: 9px; height: 9px; border-radius: 50%; background: var(--teal); }
.simple strong { color: var(--ink); }
.simple a { color: inherit; text-decoration: none; border-bottom: 1.5px solid var(--teal-light); }
.steps-big { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 0; border-top: 1px solid var(--line); }
.steps-big li { counter-increment: s; display: grid; grid-template-columns: 74px 1fr; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--line); align-items: start; }
.steps-big li::before { content: counter(s); font: 700 2.6rem/1 var(--font-h); color: var(--amber); }
.steps-big li:nth-child(n+3)::before { color: var(--teal); }
.steps-big strong { color: var(--ink); }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.socials { display: flex; gap: 10px; margin-top: 14px; }
.socials a { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; color: var(--teal-deep); box-shadow: inset 0 0 0 1.5px var(--line-strong); transition: background-color .15s ease; }
.socials svg { width: 19px; height: 19px; }
.contact-h { font: 700 1.05rem/1.3 var(--font-b); color: var(--ink); margin: 30px 0 4px; }

/* ---------- landing ---------- */
.lhero { background: linear-gradient(180deg, var(--tint), #fff 90%); padding: clamp(32px, 5vw, 64px) 0 clamp(56px, 7vw, 88px); }
.lhero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.lhero h1 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); max-width: 17ch; }
.micro { margin-top: 18px; font-size: .88rem; line-height: 1.6; color: #4a5b6d; max-width: 54ch; }
.lhero .timeline { margin-top: 36px; }
.lbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 84px; }
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 7vw, 96px); align-items: start; }
.faq-wrap .sticky { position: sticky; top: 130px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; background: none; border: 0; padding: 22px 0; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; font: 600 1.05rem/1.4 var(--font-b); color: var(--ink); }
.faq-q svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--teal-deep); transition: transform .22s var(--ease-out); }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .26s var(--ease-out); }
.faq-a p { padding: 0 0 24px; max-width: 60ch; }
.faq-end { margin-top: 36px; color: var(--ink); font-weight: 500; max-width: 56ch; }

/* ---------- movimiento ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js .diagram .node { opacity: 0; transform: scale(.94); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
.js .diagram .flow { stroke-dashoffset: 24; opacity: 0; transition: opacity .6s ease .5s; }
.js .diagram.in .node { opacity: 1; transform: none; }
.js .diagram.in .flow { opacity: 1; }

/* ---------- hover: solo dispositivos con puntero ---------- */
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--amber-hover); transform: translateY(-1px); box-shadow: 0 14px 26px -14px rgba(143, 69, 16, .6); }
  .btn:hover svg { transform: translateX(3px); }
  .btn-line:hover { background: var(--tint); box-shadow: inset 0 0 0 1.5px var(--ink); }
  .btn-light:hover { background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1.5px #fff; }
  .link:hover { opacity: .75; } .link:hover svg { transform: translateX(3px); }
  .nav > a:not(.btn):hover, .dd-btn:hover { background: var(--tint); color: var(--ink); }
  .dd:not(.shut):hover .dd-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .dd-menu a:hover { background: var(--tint); color: var(--ink); }
  .tb-social a:hover { color: #fff; background: rgba(255, 255, 255, .1); }
  .foot-social a:hover { background: var(--amber); color: var(--ink-2); box-shadow: none; }
  .foot-col a:hover { color: var(--amber); }
  .socials a:hover { background: var(--tint); }
  .faq-q:hover { color: var(--teal-deep); }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .origin { grid-template-columns: 1fr; } .origin .op { display: none; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .cols5 { grid-template-columns: repeat(3, 1fr); } .cols5 .cell:nth-child(4) { border-left: 0; padding-left: 0; }
}
@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .nav { position: fixed; top: var(--nav-top, 124px); left: 0; right: 0; bottom: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; padding: 12px var(--gut) 40px; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .32s var(--ease-drawer), visibility 0s linear .32s; z-index: 39; }
  .nav.open { transform: none; visibility: visible; transition-delay: 0s; }
  .nav > a, .dd-btn { width: 100%; padding: 16px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; justify-content: space-between; }
  .nav > a[aria-current="page"]::after, .dd.cur > .dd-btn::after { display: none; }
  .dd-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 14px; min-width: 0; display: none; }
  .dd.open .dd-menu { display: block; }
  .dd-menu a { padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav > a.btn { margin: 18px 0 0; padding: 1rem; border-bottom: 0; border-radius: 999px; justify-content: center; width: 100%; }
  .hero-grid, .split, .split.rev, .phead-grid, .adm-grid, .ev-grid, .lhero-grid, .faq-wrap, .closing-grid, .proj { grid-template-columns: 1fr; }
  .hero-grid { min-height: 0; }
  .hero-visual .ph { margin-inline: 0; max-height: 520px; aspect-ratio: 4 / 3; }
  .note { left: 16px; bottom: -22px; }
  .phead .ph { max-height: 300px; aspect-ratio: 16 / 10; margin-left: 0; order: -1; }
  .split.rev .ph { order: -1; } .split .ph.r45 { max-height: 520px; }
  .adm-grid .form-card, .ev-main, .faq-wrap .sticky { position: static; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { border-left: 0; padding-left: 0; } .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .psteps { grid-template-columns: 1fr 1fr; }
  .row { grid-template-columns: 1fr; }
  .cols3 { grid-template-columns: 1fr; } .cols4 { grid-template-columns: 1fr 1fr; }
  .cols4 .cell:nth-child(3) { border-left: 0; padding-left: 0; } .cols4 .cell:nth-child(n+3) { border-top: 1px solid var(--line); }
  .gym { grid-template-columns: 1fr; }
  .tb-info .hide-m { display: none; }
}
@media (max-width: 640px) {
  .topbar .tb-social span { display: none; }
  .hdr { min-height: 76px; } .brand img { height: 54px; }
  .psteps, .grid2, .cols4, .cols5 { grid-template-columns: 1fr; }
  .cols4 .cell, .cols5 .cell { border-left: 0; padding-left: 0; padding-right: 0; border-top: 0; }
  .facts { grid-template-columns: 1fr; } .fact { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); } .fact:first-child { border-top: 0; }
  .ev-item { grid-template-columns: 1fr; } .foot-grid { grid-template-columns: 1fr; }
  .steps-big li { grid-template-columns: 52px 1fr; }
  .eng { flex-direction: column; align-items: stretch; } .eng div { height: auto !important; }
  .hero-actions .btn { width: 100%; }
}

/* ---------- movimiento reducido: menos y más suave, no cero ---------- */
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: reduce) {
  .btn:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal], .js .diagram .node { transform: none; transition: opacity .25s ease; transition-delay: 0s; }
  .btn:active { transform: none; }
  .btn.loading { animation: none; }
  .nav, .dd-menu, .faq-a { transition-duration: .01ms; }
}

.dato { margin-top: 32px; padding: 20px 24px; border-left: 4px solid var(--amber); background: var(--tint); border-radius: 0 14px 14px 0; max-width: 72ch; font-size: .98rem; line-height: 1.65; color: var(--ink); }
.dato small { display: block; margin-top: 8px; font-size: .8rem; color: #5B6B7C; }
.tint .dato { background: #fff; }
.note-line .link { margin-left: 10px; }
