/* ============================================
   Lic. Julián Girón — tokens
   Colores de su logo real (cerebro azul marino con la Ψ sobre celeste):
   azul marino como único color de marca + celeste suave del mismo logo.
   Rubro salud mental: sobrio, sin acentos decorativos.
   Firma: "Pedí tu primera entrevista" (arma el WhatsApp solo).
   ============================================ */
:root {
  --navy-900: #0b1533;
  --navy-800: #111f45;
  --navy-700: #1d2f63;
  --navy-500: #4a5d93;
  --sky-300: #b3e3f9;
  --sky-100: #e4f4fc;
  --sky-50: #f3f9fd;
  --white: #ffffff;
  --ink: #141b2e;
  --ink-soft: #55607a;
  --line: rgba(17, 31, 69, .12);
  --shadow: 0 30px 60px -36px rgba(11, 21, 51, .55);
  --r: 14px;
  --r-lg: 24px;
  --font-display: 'Instrument Serif', 'Times New Roman', Georgia, serif;
  --font-body: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { font-family: var(--font-body); color: var(--ink); background: var(--white); line-height: 1.65; font-size: 1.02rem; overflow-x: hidden; }
@supports (overflow-x: clip) { body { overflow-x: clip; } }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; color: var(--navy-800); line-height: 1.05; letter-spacing: -.005em; text-wrap: balance; }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.1rem); margin-bottom: 14px; }
h3 { font-size: 1.55rem; }
p + p { margin-top: 12px; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible + span { outline: 3px solid var(--navy-500); outline-offset: 3px; border-radius: 10px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy-800); color: #fff; padding: 10px 18px; border-radius: 999px; text-decoration: none; }
.skip:focus { top: 12px; }
.eyebrow { font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--navy-500); margin-bottom: 12px; }
.eyebrow--light { color: var(--sky-300); }
.stars { color: var(--navy-700); letter-spacing: 2px; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 12px 26px; border-radius: 999px; font: 600 .98rem/1.2 var(--font-body); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .18s, background .18s, color .18s; text-align: center; }
.btn:hover { transform: translateY(-2px); }
.btn--solid { background: var(--navy-800); color: #fff; box-shadow: 0 16px 28px -18px rgba(11, 21, 51, .9); }
.btn--solid:hover { background: var(--navy-900); }
.btn--line { border-color: var(--navy-800); color: var(--navy-800); }
.btn--line:hover { background: var(--navy-800); color: #fff; }
.btn--wide { width: 100%; }

/* Topbar + header */
.topbar { background: var(--navy-900); color: #cfd8ee; font-size: .84rem; }
.topbar__in { display: flex; justify-content: space-between; gap: 12px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: #fff; }
.top { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); border-bottom: 1px solid transparent; transition: box-shadow .2s, border-color .2s; }
.top.is-scrolled { border-color: var(--line); box-shadow: 0 10px 30px -24px rgba(11, 21, 51, .6); }
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand__logo { width: 44px; height: 44px; object-fit: contain; flex-shrink: 0; }
.brand__txt { display: flex; flex-direction: column; min-width: 0; }
.brand__name { font-family: var(--font-display); font-size: 1.5rem; line-height: 1; color: var(--navy-800); white-space: nowrap; }
.brand__sub { font-size: .78rem; color: var(--ink-soft); letter-spacing: .04em; margin-top: 3px; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a { text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--ink); }
.nav a:hover { color: var(--navy-500); }
.nav .nav__cta { background: var(--navy-800); color: #fff; padding: 10px 18px; border-radius: 999px; }
.nav .nav__cta:hover { background: var(--navy-900); color: #fff; }
.burger { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.burger span { display: block; width: 20px; height: 2px; background: var(--navy-800); border-radius: 2px; }

/* Hero */
.hero { padding: 56px 0 40px; background: linear-gradient(180deg, var(--sky-50) 0%, #fff 100%); }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(3rem, 7vw, 5.4rem); margin-bottom: 18px; }
.lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 560px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.rating { margin-top: 22px; font-size: .95rem; color: var(--ink-soft); }
.hero__media { position: relative; margin: 0; }
.hero__media > img:first-child { border-radius: var(--r-lg); aspect-ratio: 4 / 3.4; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.hero__badge { position: absolute; left: -22px; bottom: -22px; width: 92px; height: 92px; padding: 14px; background: var(--navy-800); border-radius: 50%; box-shadow: var(--shadow); object-fit: contain; }

/* Resumen */
.resumen { padding: 36px 0 12px; }
.resumen__card { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 30px; display: grid; grid-template-columns: 180px 1fr; gap: 22px; align-items: start; background: #fff; }
.resumen__title { font-size: 1.9rem; margin: 0; }
.resumen__list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 28px; }
.resumen__list li { display: flex; flex-direction: column; }
.resumen__list b { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--navy-500); }

/* Puertas */
.doors { padding: 44px 0 20px; }
.doors__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.door { position: relative; display: block; min-height: 380px; border-radius: var(--r-lg); overflow: hidden; text-decoration: none; color: #fff; isolation: isolate; }
.door img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s; }
.door::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 21, 51, .05) 20%, rgba(11, 21, 51, .88) 100%); }
.door:hover img { transform: scale(1.04); }
.door__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px; display: flex; flex-direction: column; gap: 6px; }
.door__tag { align-self: flex-start; background: var(--sky-300); color: var(--navy-900); font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.door__title { font-family: var(--font-display); font-size: 2.3rem; line-height: 1.05; }
.door__text { color: #dfe6f5; max-width: 380px; }
.door__go { font-weight: 600; margin-top: 6px; }

/* Secciones */
.section { padding: 84px 0; }
.section--soft { background: var(--sky-50); }
.intro { color: var(--ink-soft); max-width: 640px; margin-bottom: 30px; }
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.split--map { align-items: stretch; }
.topics { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 20px; }
.topics li { background: var(--sky-100); color: var(--navy-800); font-weight: 600; padding: 9px 16px; border-radius: 999px; }
.pull { border-left: 3px solid var(--navy-800); padding: 6px 0 6px 28px; }
.pull p { font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.2; color: var(--navy-800); font-style: italic; }
.pull footer { margin-top: 14px; color: var(--ink-soft); font-size: .92rem; }

.evals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.eval { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; }
.eval__ico { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--sky-100); color: var(--navy-800); margin-bottom: 16px; }
.eval__ico svg { width: 24px; height: 24px; }
.eval p { color: var(--ink-soft); margin-top: 6px; }

/* Planner (firma) */
.planner { background: var(--navy-800); color: #dfe6f5; }
.planner h2 { color: #fff; }
.planner__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.planner__steps { margin: 26px 0 0 20px; display: grid; gap: 8px; color: #fff; }
.planner__card { background: #fff; color: var(--ink); border-radius: var(--r-lg); padding: 28px; box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .7); }
.planner fieldset { border: 0; margin-bottom: 20px; min-width: 0; }
.planner legend { font-weight: 700; color: var(--navy-800); margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-flex; align-items: center; min-height: 42px; padding: 8px 16px; border: 1.5px solid var(--line); border-radius: 999px; font-size: .93rem; font-weight: 500; transition: background .15s, border-color .15s, color .15s; }
.chips label:hover span { border-color: var(--navy-500); }
.chips input:checked + span { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.chips--days span { min-width: 58px; justify-content: center; }
.planner__preview { background: var(--sky-50); border: 1px dashed var(--navy-500); border-radius: var(--r); padding: 14px 16px; margin-bottom: 16px; }
.planner__label { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--navy-500); margin-bottom: 4px; }
.planner__preview p { font-size: .97rem; }

.steps { list-style: none; counter-reset: s; display: grid; gap: 16px; margin-top: 10px; }
.steps li { counter-increment: s; position: relative; padding: 18px 20px 18px 70px; border: 1px solid var(--line); border-radius: var(--r); }
.steps li::before { content: counter(s); position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-800); color: #fff; font-family: var(--font-display); font-size: 1.3rem; }

.quotes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.quotes figure { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; }
.quotes blockquote { font-family: var(--font-display); font-size: 1.45rem; line-height: 1.3; color: var(--navy-800); }
.quotes figcaption { font-size: .9rem; color: var(--ink-soft); font-weight: 600; }

.faq { display: grid; gap: 10px; margin-top: 10px; }
.faq details { border: 1px solid var(--line); border-radius: var(--r); padding: 4px 20px; background: #fff; }
.faq summary { cursor: pointer; list-style: none; padding: 14px 28px 14px 0; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--navy-500); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 16px; color: var(--ink-soft); }
.note { margin-top: 26px; padding: 16px 20px; border-radius: var(--r); background: var(--sky-100); font-size: .95rem; }

.table { width: 100%; border-collapse: collapse; margin-top: 10px; }
.table th, .table td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { width: 38%; font-weight: 600; color: var(--navy-800); padding-right: 12px; }
.map { border-radius: var(--r-lg); overflow: hidden; min-height: 340px; box-shadow: var(--shadow); }
.map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

/* Footer */
.foot { background: var(--navy-900); color: #b9c4de; padding: 44px 0 110px; }
.foot__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.foot__brand { display: flex; align-items: center; gap: 14px; }
.foot__brand img { width: 40px; height: 40px; object-fit: contain; }
.foot strong { color: #fff; }
.share { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; padding: 10px 18px; font: 500 .9rem var(--font-body); cursor: pointer; }
.demo-note { width: 100%; font-size: .8rem; opacity: .7; }
.demo-note a { color: #fff; }

.sticky-cta { display: none; }
.sticky-cta.is-hidden { opacity: 0; transform: translateY(120%); pointer-events: none; }

/* Responsive */
@media (max-width: 960px) {
  .hero__grid, .split, .planner__grid { grid-template-columns: 1fr; gap: 36px; }
  .hero__media > img:first-child { aspect-ratio: 16 / 10; }
  .hero__badge { left: auto; right: 16px; bottom: -26px; width: 76px; height: 76px; }
  .evals { grid-template-columns: 1fr; }
  .resumen__card { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .burger { display: flex; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 24px 18px; display: none; }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav .nav__cta { margin-top: 12px; text-align: center; border-bottom: 0; }
  .top__in { position: relative; }
}
@media (max-width: 720px) {
  .topbar__right { display: none; }
  .section { padding: 64px 0; }
  .hero { padding-top: 28px; }
  .doors__grid, .quotes, .resumen__list { grid-template-columns: 1fr; }
  .door { min-height: 320px; }
  .sticky-cta { display: flex; align-items: center; justify-content: center; position: fixed; left: 14px; right: 14px; bottom: 14px; z-index: 60; min-height: 54px; border-radius: 999px; background: var(--navy-800); color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 16px 30px -12px rgba(11, 21, 51, .7); transition: opacity .25s, transform .25s; }
}
@media (max-width: 400px) {
  .wrap { padding: 0 16px; }
  .brand__name { font-size: 1.28rem; }
  .brand__logo { width: 38px; height: 38px; }
  .planner__card { padding: 20px 16px; }
  .chips span { padding: 8px 13px; font-size: .9rem; }
  .actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
