/* ============================================================
   Cursia — /instituciones (landing con VSL)
   Tokens: sistema de diseño "Cursia" (Manual de marca v3.0)
   ============================================================ */
:root {
  --deep-navy: #030A26;
  --navy-800: #0B1638;
  --navy-700: #1E2A55;
  --indigo: #3A34DA;
  --indigo-700: #2E29B8;
  --electric-blue: #487AF5;
  --sky: #66B4F7;
  --indigo-50: #EEF0FE;
  --white: #FFFFFF;
  --off-white: #F8FAFD;
  --line: #E4E9F2;
  --line-strong: #C9D2E3;
  --ink: #030A26;
  --ink-muted: #4A5876;
  --ink-on-dark-muted: #A9B4CC;
  --success-600: #127A4B;
  --error-600: #C2283B;
  --pending-50: #FFF4D6;
  --pending-700: #7A4B00;
  --shadow-md: 0 8px 24px -8px rgba(3, 10, 38, .16);
  --shadow-lg: 0 32px 64px -24px rgba(3, 10, 38, .45);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; font-family: var(--font); font-optical-sizing: auto; color: var(--ink);
  background: var(--white); -webkit-font-smoothing: antialiased; line-height: 1.5;
}
body.modal-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--indigo); }
a:hover { color: var(--indigo-700); }
button { font: inherit; }
h1, h2, h3, p { margin: 0; }
button:focus-visible, a:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--indigo); outline-offset: 2px; }
.on-dark button:focus-visible, .on-dark a:focus-visible { outline-color: var(--sky); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.section { padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(64px, 9vw, 120px); }
.eyebrow { font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--indigo); }
.on-dark .eyebrow { color: var(--sky); }
.h2 { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.12; font-weight: 700; letter-spacing: -.01em; }
.lead { font-size: 17px; line-height: 28px; color: var(--ink-muted); }
.muted { color: var(--ink-muted); }
.center-head { max-width: 760px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; gap: 16px; align-items: center; }
.badge-pending { display: inline-block; font-size: 12px; line-height: 16px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--pending-50); color: var(--pending-700); }
.icon-box { flex: none; width: 48px; height: 48px; border-radius: 12px; background: var(--indigo-50); color: var(--indigo); display: grid; place-items: center; }
.icon-box.sm { width: 44px; height: 44px; }
.icon-box.dark { background: var(--deep-navy); color: var(--sky); }
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.icon.sm { width: 20px; height: 20px; }
.grid-bg { background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 56px 56px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 600; border-radius: 999px; cursor: pointer; text-decoration: none; transition: background-color .15s ease, border-color .15s ease; max-width: 100%; text-align: center; }
.btn-primary { border: 0; background: var(--indigo); color: var(--white); font-size: 16px; min-height: 52px; padding: 0 26px; }
.btn-primary:hover { background: var(--indigo-700); color: var(--white); }
.btn-primary[disabled] { background: #8F9BB8; cursor: not-allowed; }
.btn-lg { font-size: 17px; min-height: 56px; padding: 0 32px; }
.btn-sm { font-size: 15px; min-height: 44px; padding: 0 18px; }
.btn-secondary { border: 1px solid var(--line-strong); background: var(--white); color: var(--ink); font-size: 16px; min-height: 48px; padding: 0 22px; }
.btn-secondary:hover { border-color: var(--indigo); color: var(--ink); }
.btn-block { width: 100%; }
.link-btn { all: unset; color: var(--indigo); text-decoration: underline; cursor: pointer; font-weight: 600; }
.link-btn:focus-visible { outline: 3px solid var(--indigo); outline-offset: 2px; }

/* ---------- Header ---------- */
.site-top { position: sticky; top: 0; z-index: 50; background: rgba(3, 10, 38, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--navy-700); }
.site-top .wrap { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.site-top .logo img { height: 40px; width: auto; }
.top-nav { display: flex; gap: 28px; font-size: 15px; font-weight: 500; }
.top-nav a { color: var(--ink-on-dark-muted); text-decoration: none; }
.top-nav a:hover { color: var(--white); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background-color: var(--deep-navy); color: var(--white); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(55% 45% at 50% 72%, rgba(58,52,218,.30), rgba(72,122,245,.10) 50%, rgba(3,10,38,0) 78%); }
.hero-inner { position: relative; max-width: 1120px; margin: 0 auto; padding: clamp(40px, 7vw, 88px) 24px clamp(56px, 8vw, 112px); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 24px; }
.hero-chip { display: inline-flex; font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--navy-700); background: var(--navy-800); color: var(--sky); }
.hero h1 { max-width: 980px; font-size: clamp(36px, 5.2vw, 70px); line-height: 1.04; font-weight: 800; letter-spacing: -.02em; }
.hero h1 em { font-style: normal; color: var(--sky); }
.hero-sub { max-width: 760px; font-size: 19px; line-height: 30px; color: var(--ink-on-dark-muted); }
.hero-cta { display: flex; flex-direction: column; align-items: center; gap: 14px; width: 100%; }
.hero-note { font-size: 14px; line-height: 20px; color: var(--ink-on-dark-muted); }
.hero-video { width: 100%; max-width: 1040px; margin-top: 24px; }

/* ---------- VSL player ---------- */
.vsl { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: clamp(14px, 2vw, 24px); overflow: hidden; background-color: var(--navy-800); border: 1px solid var(--navy-700); box-shadow: 0 32px 64px -24px rgba(0,0,0,.55); color: var(--white); text-align: left; }
.vsl-poster { position: absolute; inset: 0; background-color: var(--navy-800); background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 48px 48px; }
.vsl-poster::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 72% 40%, rgba(58,52,218,.32), rgba(72,122,245,.12) 50%, rgba(11,22,56,0) 80%); }
.vsl-poster > img.vsl-poster-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vsl-badge { position: absolute; top: clamp(10px, 2vw, 20px); left: clamp(10px, 2vw, 20px); }
.vsl-caption { position: absolute; left: clamp(14px, 3vw, 40px); bottom: clamp(14px, 3vw, 36px); right: 45%; display: flex; flex-direction: column; gap: clamp(6px, 1vw, 12px); }
.vsl-kicker { font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--sky); }
.vsl-title { font-size: clamp(14px, 2.3vw, 28px); line-height: 1.2; font-weight: 700; letter-spacing: -.01em; }
.vsl-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: clamp(60px, 9vw, 92px); height: clamp(60px, 9vw, 92px); border-radius: 999px; border: 0; background: var(--white); color: var(--deep-navy); display: grid; place-items: center; cursor: pointer; box-shadow: 0 0 0 10px rgba(255,255,255,.12); transition: transform .15s ease; }
.vsl-play:hover { transform: translate(-50%, -50%) scale(1.05); }
.vsl-play svg { width: 30px; height: 30px; margin-left: 4px; fill: currentColor; }
.vsl-duration { position: absolute; right: clamp(10px, 2vw, 20px); bottom: clamp(10px, 2vw, 20px); font-size: 13px; font-weight: 600; padding: 5px 10px; border-radius: 8px; background: rgba(3,10,38,.8); font-variant-numeric: tabular-nums; }
.vsl video { position: absolute; inset: 0; width: 100%; height: 100%; background: var(--deep-navy); }
.vsl-soon { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center; background: rgba(3,10,38,.92); }
.vsl-soon p { max-width: 420px; color: var(--ink-on-dark-muted); font-size: 15px; line-height: 24px; }
.vsl-soon strong { display: block; color: var(--white); font-size: 18px; margin-bottom: 6px; }

/* ---------- Problem ---------- */
.problem-grid { display: flex; flex-wrap: wrap; gap: clamp(32px, 6vw, 96px); align-items: flex-start; }
.problem-intro { flex: 1 1 360px; display: flex; flex-direction: column; gap: 20px; }
.problem-list { flex: 1.4 1 480px; list-style: none; margin: 0; padding: 0; }
.problem-list li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 20px; padding: 28px 0; border-top: 1px solid var(--line); }
.problem-list li:last-child { border-bottom: 1px solid var(--line); }
.problem-list h3 { font-size: 20px; line-height: 28px; font-weight: 600; }
.problem-list p { font-size: 16px; line-height: 26px; color: var(--ink-muted); margin-top: 6px; }
.callout { margin-top: clamp(48px, 6vw, 80px); padding: clamp(28px, 4vw, 48px); border-radius: 24px; background: var(--off-white); border: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.callout p { flex: 1 1 520px; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.3; font-weight: 600; letter-spacing: -.015em; }
.callout p span { color: var(--indigo); }

/* ---------- Solution bento ---------- */
.solution { background: var(--off-white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stack { display: flex; flex-direction: column; gap: clamp(40px, 5vw, 64px); }
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 14px; transition: box-shadow .2s ease, border-color .2s ease; }
.card:hover { box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.card h3 { font-size: 20px; line-height: 28px; font-weight: 600; }
.card p { font-size: 15px; line-height: 24px; color: var(--ink-muted); }
.card.row { flex-direction: row; gap: 18px; align-items: flex-start; }
.card.row > div { display: flex; flex-direction: column; gap: 8px; }
.span-4 { grid-column: span 4; grid-row: span 2; padding: clamp(24px, 3vw, 32px); gap: 20px; }
.span-4 h3 { font-size: 24px; line-height: 32px; letter-spacing: -.01em; }
.span-4 p { font-size: 16px; line-height: 26px; }
.span-2 { grid-column: span 2; }
.span-3 { grid-column: span 3; }
.shot { flex-grow: 1; min-height: 260px; border-radius: 12px; border: 1px solid var(--line); background: var(--deep-navy); overflow: hidden; }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.chip-outline { font-size: 12px; line-height: 16px; font-weight: 600; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--indigo); color: var(--indigo); }
.solution-foot { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; justify-content: space-between; padding-top: 8px; }
.note { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 24px; color: var(--ink-muted); flex: 1 1 420px; }
.note svg { flex: none; margin-top: 2px; color: var(--indigo); }

/* ---------- Process ---------- */
.process-head { display: flex; flex-wrap: wrap; gap: 24px 64px; align-items: flex-end; justify-content: space-between; }
.process-head > div { flex: 1 1 520px; display: flex; flex-direction: column; gap: 16px; }
.process-head > p { flex: 1 1 320px; max-width: 420px; font-size: 16px; line-height: 26px; color: var(--ink-muted); }
.transform { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 28px; padding: clamp(24px, 4vw, 40px); border-radius: 24px; background: var(--deep-navy); color: var(--white); }
.tf-card { flex: 1 1 260px; max-width: 360px; border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.tf-card.src { background: var(--navy-800); border: 1px solid var(--navy-700); }
.tf-card.out { background: var(--white); color: var(--ink); gap: 10px; }
.tf-label { display: flex; gap: 10px; align-items: center; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-on-dark-muted); }
.tf-card.out .tf-label { color: var(--indigo); }
.bar { display: block; height: 7px; border-radius: 4px; background: var(--navy-700); }
.tf-arrow { display: flex; gap: 6px; align-items: center; color: var(--sky); }
.tf-arrow span { width: 8px; height: 8px; border-radius: 99px; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tags span { font-size: 13px; padding: 5px 10px; border-radius: 8px; background: var(--indigo-50); color: var(--indigo-700); font-weight: 500; }
.progress { display: block; height: 6px; border-radius: 99px; background: var(--indigo); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 32px 28px; }
.steps li { border-top: 2px solid var(--line); padding-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.steps li:first-child { border-top-color: var(--indigo); }
.steps .num { font-size: 14px; font-weight: 700; color: var(--indigo); letter-spacing: .04em; }
.steps h3 { font-size: 22px; line-height: 30px; font-weight: 600; }
.steps p { font-size: 16px; line-height: 26px; color: var(--ink-muted); }

/* ---------- Demo tabs ---------- */
.demo { background: var(--deep-navy); color: var(--white); }
.demo .lead { color: var(--ink-on-dark-muted); }
.tabs-row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.tab { font-size: 15px; font-weight: 600; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--navy-700); background: transparent; color: var(--ink-on-dark-muted); cursor: pointer; white-space: nowrap; transition: background-color .15s ease, color .15s ease; }
.tab:hover { color: var(--white); border-color: var(--sky); }
.tab[aria-selected="true"] { background: var(--white); color: var(--deep-navy); border-color: var(--white); }
.demo-panel { max-width: 1040px; width: 100%; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }
.browser { border-radius: 20px; background: var(--white); overflow: hidden; box-shadow: 0 32px 64px -24px rgba(0,0,0,.55); border: 1px solid var(--navy-700); }
.browser-bar { height: 44px; background: var(--off-white); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 7px; padding: 0 16px; }
.browser-bar i { width: 10px; height: 10px; border-radius: 99px; background: var(--line-strong); }
.browser-bar span { margin-left: 14px; font-size: 12px; color: var(--ink-muted); background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 3px 12px; }
.screen { position: relative; aspect-ratio: 16 / 9; background: var(--off-white); color: var(--ink); }
.screen > div[role="tabpanel"] { position: absolute; inset: 0; }
.screen img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.screen .badge-pending { position: absolute; top: 16px; right: 16px; }
.mock { position: absolute; inset: 0; }
.mock i { display: block; border-radius: 10px; background: var(--white); border: 1px solid var(--line); }
.demo-caption { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: baseline; }
.demo-caption p:first-child { font-size: 18px; line-height: 28px; font-weight: 600; }
.demo-caption p:last-child { font-size: 15px; line-height: 24px; color: var(--ink-on-dark-muted); max-width: 560px; }

/* ---------- Audience ---------- */
.audience { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.audience .card { padding: 32px; }
.audience h3 { font-size: 21px; line-height: 29px; }
.audience p { font-size: 16px; line-height: 26px; }
.audience .disclaimer { margin-top: auto; display: flex; gap: 8px; font-size: 13px; line-height: 20px; background: var(--off-white); border-radius: 10px; padding: 12px 14px; }
.audience .disclaimer svg { flex: none; margin-top: 2px; color: var(--indigo); }

/* ---------- Investment ---------- */
.investment { background: var(--off-white); border-top: 1px solid var(--line); }
.inv-grid { display: flex; flex-wrap: wrap; gap: clamp(40px, 6vw, 80px); align-items: flex-start; }
.inv-grid > div:first-child { flex: 1.2 1 460px; display: flex; flex-direction: column; gap: 20px; }
.inv-grid > div:last-child { flex: 1 1 380px; }
.vars { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px; }
.vars li { display: flex; gap: 12px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; font-size: 15px; line-height: 22px; font-weight: 500; }
.vars svg { flex: none; color: var(--indigo); }
.inv-card { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 20px; box-shadow: 0 8px 24px -8px rgba(3,10,38,.12); }
.inv-card .title { font-size: 14px; font-weight: 600; color: var(--ink-muted); }
.inv-range { border: 1.5px dashed var(--line-strong); border-radius: 14px; padding: 20px; background: var(--off-white); display: flex; flex-direction: column; gap: 6px; }
.inv-range strong { font-size: clamp(26px, 3vw, 34px); line-height: 1.15; font-weight: 600; letter-spacing: -.02em; }
.inv-range span { font-size: 14px; line-height: 22px; color: var(--ink-muted); }
.inv-note { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 12px; background: var(--deep-navy); color: var(--white); font-size: 15px; line-height: 24px; }
.inv-note svg { flex: none; margin-top: 1px; color: var(--sky); }
.inv-card .after { text-align: center; font-size: 14px; line-height: 20px; color: var(--ink-muted); }

/* ---------- FAQ ---------- */
.faq-grid { display: flex; flex-wrap: wrap; gap: clamp(32px, 6vw, 96px); align-items: flex-start; }
.faq-grid > div:first-child { flex: 1 1 300px; display: flex; flex-direction: column; gap: 16px; }
.faq-list { flex: 2 1 560px; border-top: 1px solid var(--line); }
.faq-row { border-bottom: 1px solid var(--line); }
.faq-row h3 { margin: 0; }
.faq-btn { all: unset; box-sizing: border-box; width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-size: 18px; line-height: 26px; font-weight: 600; color: var(--ink); cursor: pointer; }
.faq-btn:focus-visible { outline: 3px solid var(--indigo); outline-offset: 2px; }
.faq-plus { flex: none; width: 32px; height: 32px; border-radius: 999px; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--indigo); transition: transform .2s ease; }
.faq-btn[aria-expanded="true"] .faq-plus { transform: rotate(45deg); background: var(--indigo-50); border-color: var(--indigo); }
.faq-panel { padding: 0 48px 24px 0; font-size: 16px; line-height: 26px; color: var(--ink-muted); }

/* ---------- Final CTA + footer ---------- */
.final { position: relative; overflow: hidden; background-color: var(--deep-navy); color: var(--white); }
.final::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 70% at 50% 100%, rgba(58,52,218,.28), rgba(72,122,245,.08) 55%, rgba(3,10,38,0) 80%); }
.final .iso { position: absolute; top: -48px; right: -40px; width: 260px; height: auto; pointer-events: none; user-select: none; }
.final-inner { position: relative; max-width: 820px; margin: 0 auto; padding: clamp(72px, 10vw, 136px) 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.final h2 { font-size: clamp(36px, 4.6vw, 60px); line-height: 1.06; font-weight: 800; letter-spacing: -.02em; }
.final p { max-width: 620px; font-size: 19px; line-height: 30px; color: var(--ink-on-dark-muted); }
.final .small { font-size: 14px; line-height: 20px; }
.site-foot { background: var(--deep-navy); border-top: 1px solid var(--navy-700); color: var(--ink-on-dark-muted); }
.site-foot .wrap { padding-top: 32px; padding-bottom: 40px; display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; font-size: 14px; line-height: 22px; }
.site-foot img { height: 40px; width: auto; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-foot a { color: var(--ink-on-dark-muted); }
.site-foot a:hover { color: var(--white); }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(3,10,38,.94); border-top: 1px solid var(--navy-700); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }

/* ---------- Modal + form ---------- */
.modal { position: fixed; inset: 0; z-index: 100; background: rgba(3,10,38,.72); overflow-y: auto; padding: 24px 12px; }
.modal[hidden] { display: none; }
.modal-dialog { max-width: 760px; margin: 0 auto; }
.form-card { width: 100%; background: var(--white); border-radius: 24px; border: 1px solid var(--line); box-shadow: 0 32px 64px -24px rgba(3,10,38,.35); padding: clamp(20px, 4vw, 40px); display: flex; flex-direction: column; gap: 28px; }
.form-card [hidden] { display: none !important; }
.f-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.f-head > div { display: flex; flex-direction: column; gap: 8px; }
.f-title { font-size: clamp(24px, 3vw, 30px); line-height: 1.2; font-weight: 700; letter-spacing: -.01em; outline: none; }
.f-intro { font-size: 15px; line-height: 24px; color: var(--ink-muted); }
.x-btn { all: unset; box-sizing: border-box; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: var(--ink-muted); cursor: pointer; flex: none; }
.x-btn:hover { background: var(--off-white); color: var(--ink); }
.x-btn:focus-visible { outline: 3px solid var(--indigo); outline-offset: 2px; }
.f-progress { display: flex; flex-direction: column; gap: 8px; }
.f-progress > div:first-child { display: flex; justify-content: space-between; font-size: 13px; line-height: 18px; font-weight: 500; color: var(--ink-muted); }
.f-bar { height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; }
.f-bar > div { height: 6px; border-radius: 999px; background: var(--indigo); width: 50%; transition: width .2s ease; }
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; background: #FDECEE; border: 1px solid #F3B9C1; color: #8E1B2A; font-size: 14px; line-height: 21px; font-weight: 500; }
.alert svg { flex: none; }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.flabel { font-size: 14px; line-height: 20px; font-weight: 600; }
.fin { width: 100%; font: inherit; font-size: 16px; height: 50px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--white); color: var(--ink); transition: border-color .15s ease; }
.fin:hover { border-color: #8F9BB8; }
.fin:focus { outline: 3px solid rgba(58,52,218,.35); outline-offset: 0; border-color: var(--indigo); }
.fin[aria-invalid="true"] { border-color: var(--error-600); box-shadow: inset 0 0 0 1px var(--error-600); }
textarea.fin { height: auto; min-height: 96px; padding: 12px 14px; line-height: 22px; resize: vertical; }
.fhint { font-weight: 400; color: var(--ink-muted, #4A5B74); }
select.fin { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234A5B74' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.phone-row { display: flex; gap: 8px; }
.phone-row select { width: 128px; flex: none; }
.phone-row input { min-width: 0; }
.ferr { font-size: 13px; line-height: 18px; font-weight: 500; color: var(--error-600); }
.f-foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px solid var(--line); }
.f-foot p { font-size: 13px; line-height: 20px; color: var(--ink-muted); display: flex; gap: 8px; align-items: center; }
.qs { display: flex; flex-direction: column; gap: 28px; }
.fs { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.fs legend { padding: 0; font-size: 16px; line-height: 24px; font-weight: 600; margin-bottom: 12px; }
.opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 10px; }
.opt { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--white); font-size: 15px; line-height: 21px; cursor: pointer; transition: border-color .15s ease, background-color .15s ease; }
.opt:hover { border-color: var(--indigo); }
.opt input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--indigo); }
.opt:has(input:checked) { border-color: var(--indigo); background: var(--indigo-50); box-shadow: inset 0 0 0 1px var(--indigo); }
.opt:focus-within { outline: 3px solid rgba(58,52,218,.35); outline-offset: 1px; }
.consents { display: flex; flex-direction: column; gap: 14px; padding: 20px; border-radius: 14px; background: var(--off-white); border: 1px solid var(--line); }
.chk { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 21px; color: var(--ink-muted); cursor: pointer; }
.chk input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--indigo); }
.chk strong { color: var(--ink); font-weight: 600; }
.f-actions { display: flex; flex-wrap: wrap-reverse; gap: 12px; align-items: center; justify-content: space-between; }
.f-actions .btn-primary { flex: 1 1 280px; }
.f-legal { font-size: 12px; line-height: 18px; color: var(--ink-muted); }
.hp-field { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.done { display: flex; flex-direction: column; gap: 24px; }
.done-icon { width: 56px; height: 56px; border-radius: 999px; display: grid; place-items: center; }
.done-icon.ok { background: #E6F4EC; color: var(--success-600); }
.done-icon.info { background: var(--indigo-50); color: var(--indigo); }
.done-text { display: flex; flex-direction: column; gap: 10px; }
.done-text p { font-size: 16px; line-height: 26px; color: var(--ink-muted); }
.done-text .ref { font-size: 13px; line-height: 20px; }
.done-text .ref strong { color: var(--ink); }
.box { border: 1px solid var(--line); border-radius: 16px; padding: clamp(18px, 3vw, 28px); display: flex; flex-direction: column; gap: 18px; }
.box-title { display: flex; gap: 10px; align-items: center; font-size: 16px; font-weight: 600; }
.box-title svg { color: var(--indigo); }
.calendar-frame { width: 100%; height: 640px; border: 0; border-radius: 12px; background: var(--off-white); }
.status-ok { font-size: 14px; line-height: 22px; color: var(--success-600); font-weight: 500; }
.guide { display: flex; gap: 18px; align-items: flex-start; flex-wrap: wrap; }
.guide > div { flex: 1 1 260px; display: flex; flex-direction: column; gap: 8px; }
.guide h3 { font-size: 18px; line-height: 26px; font-weight: 600; }
.guide p { font-size: 14px; line-height: 22px; color: var(--ink-muted); }
.ask-contact { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; padding: 20px; border-radius: 14px; background: var(--off-white); }
.ask-contact p { flex: 1 1 260px; font-size: 15px; line-height: 23px; }

/* ---------- Responsive ---------- */
.show-sm { display: none; }
@media (max-width: 960px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .span-4 { grid-column: span 2; grid-row: auto; }
  .span-2, .span-3 { grid-column: span 1; }
}
@media (max-width: 760px) {
  .hide-sm { display: none !important; }
  .show-sm { display: block; }
  span.show-sm { display: inline; }
  .sticky-cta.is-visible { display: block; }
  .hero-video { order: 4; margin-top: 0; }
  .hero-cta { order: 5; }
  .tabs-row { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 4px; scrollbar-width: none; }
  .vsl-hide-xs { display: none; }
  .modal { padding: 0; background: var(--white); }
  .form-card { border-radius: 0; border: 0; box-shadow: none; min-height: 100vh; padding: 20px 16px 32px; }
  .phone-row select { width: 112px; }
  .site-foot .wrap { padding-bottom: 104px; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: minmax(0, 1fr); }
  .span-4, .span-2, .span-3 { grid-column: auto; }
  .card.row { flex-direction: column; }
  .faq-panel { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
