/* HeadBook — página de venta (headbook.app). Sitio estático aparte de la app: ver site/README.md. */
:root {
  --ink: #17171a;
  --ink-2: #45454c;
  --muted: #5e5e66;
  --faint: #75757d;
  --line: #ececef;
  --line-2: #e2e2e7;
  --bg: #fafafb;
  --card: #ffffff;
  --sunken: #f1f1f3;
  --sunken-2: #f4f4f6;
  --dark: #17171a;
  --dark-2: #222226;
  --dark-line: #2a2a2f;
  --on-dark-muted: #a9a9b2;
  --ok: #15803d;
  --warn-ring: #ca8a04;
  --warn-text: #b45309;
  --danger: #c62828;
  --radius-xl: 26px;
  --radius-l: 20px;
  --radius-m: 14px;
  --max: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: Geist, system-ui, -apple-system, 'Segoe UI', sans-serif; line-height: 1.5; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; cursor: pointer; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 104px 0; }
.section--tight { padding-top: 0; }
.stack { display: flex; flex-direction: column; }
.num { font-variant-numeric: tabular-nums; }

/* Tipografía */
.eyebrow { font-size: 14px; font-weight: 600; color: var(--faint); }
.h1 { font-size: clamp(46px, 8vw, 104px); line-height: 0.95; letter-spacing: -0.055em; font-weight: 800; }
.h2 { font-size: clamp(34px, 5vw, 60px); line-height: 1.02; letter-spacing: -0.045em; font-weight: 800; }
.h3 { font-size: 22px; letter-spacing: -0.03em; font-weight: 700; line-height: 1.15; }
.lead { font-size: 18px; line-height: 1.6; color: var(--muted); }
.soft { color: var(--faint); }
.head { display: flex; flex-direction: column; gap: 14px; max-width: 820px; margin-bottom: 36px; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 15px 26px; border-radius: var(--radius-m); font-weight: 600; font-size: 16px; transition: transform .15s, opacity .15s; }
.btn:hover { transform: translateY(-1px); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); border: 1px solid var(--line-2); }
.btn--white { background: #fff; color: var(--ink); }
.btn--sm { padding: 10px 18px; font-size: 15px; border-radius: 12px; }

/* Marca */
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; letter-spacing: -0.04em; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(250,250,251,0.86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.nav__links { display: flex; align-items: center; gap: 22px; font-size: 15px; color: var(--ink-2); }
.nav__links .hide-sm { display: inline; }
@media (max-width: 767px) { .nav__links .hide-sm { display: none; } .nav__links { gap: 14px; } }

/* Hero */
.hero { padding: 88px 0 0; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.pill { display: inline-flex; gap: 8px; align-items: center; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; font-size: 14px; color: var(--ink-2); }
.dot { width: 8px; height: 8px; border-radius: 999px; background: var(--ok); flex-shrink: 0; }
.hero .lead { font-size: 20px; max-width: 700px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.checks { display: flex; gap: 8px 22px; flex-wrap: wrap; justify-content: center; font-size: 14px; color: var(--muted); }

/* Ventana de la app */
.window { margin-top: 56px; border-radius: 22px; background: #fff; border: 1px solid var(--line-2); box-shadow: 0 40px 100px rgba(23,23,26,0.14); overflow: hidden; text-align: left; }
.window__bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: #f6f6f8; }
.window__bar i { width: 11px; height: 11px; border-radius: 999px; background: var(--line-2); }
.window__url { margin: 0 auto; padding: 5px 40px; border-radius: 8px; background: #fff; border: 1px solid var(--line); font-size: 12px; color: var(--faint); }
.window__body { display: flex; gap: 16px; padding: 16px; background: #e1e1e5; flex-wrap: wrap; }
.rail { flex: 0 0 52px; border-radius: 16px; background: var(--dark); padding: 14px 0; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.rail i { width: 22px; height: 22px; border-radius: 7px; background: #2a2a2f; }
.rail i:first-child { background: #3a3a40; }
@media (max-width: 767px) { .rail { display: none; } }
.today { flex: 1 1 420px; min-width: 0; border-radius: 18px; background: var(--sunken-2); padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.today__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.appt { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px; background: #fff; }
.appt__time { font-size: 14px; font-weight: 600; width: 46px; }
.appt__bar { width: 4px; align-self: stretch; border-radius: 4px; }
.appt strong { display: block; font-size: 15px; }
.appt span { font-size: 13px; color: var(--faint); }
.running { flex: 0 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.running__list { display: flex; gap: 10px; flex-wrap: wrap; }

/* Tarjeta "En curso", igual que en la app */
.timer-card { flex: 1 1 130px; border-radius: 16px; background: linear-gradient(90deg, #ededf0, #e6e6ea); box-shadow: inset 0 1px 4px rgba(23,23,26,0.13), 0 1px 0 rgba(255,255,255,0.8); border: 1px solid rgba(23,23,26,0.08); padding: 12px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.timer-card > span { font-size: 14px; }
.timer-card > span:first-child { font-weight: 500; }
.timer-card > span:last-child { color: var(--faint); }
.ring { position: relative; width: 72px; height: 72px; display: flex; align-items: center; justify-content: center; }
.ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.ring b { position: relative; font-size: 19px; font-weight: 600; font-variant-numeric: tabular-nums; }
.ring--sm { width: 66px; height: 66px; }
.ring--sm b { font-size: 15px; }

/* Grillas y tarjetas */
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.grid--5 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 12px; }
.card { border-radius: var(--radius-xl); background: var(--card); border: 1px solid var(--line); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.card--sunken { background: var(--sunken); border-color: transparent; }
.card--dark { background: var(--dark); color: #fff; border-color: transparent; }
.card--dark .muted { color: var(--on-dark-muted); }
.card p, .muted { font-size: 15px; line-height: 1.6; color: var(--muted); }
.mini { border-radius: 18px; background: var(--sunken-2); padding: 16px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.row { display: flex; justify-content: space-between; gap: 12px; }
.row--total { padding-top: 9px; border-top: 1px solid var(--line-2); }
.chip { display: inline-flex; padding: 5px 9px; border-radius: 8px; font-size: 12px; font-weight: 600; background: var(--sunken-2); }
.chip--danger { background: #fdecec; color: var(--danger); }
.chip--ok { background: #e6f4ea; color: var(--ok); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.swatch { width: 22px; height: 22px; border-radius: 999px; flex-shrink: 0; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.08); }
.tag { flex-shrink: 0; padding: 3px 9px; border-radius: 8px; font-size: 12px; font-weight: 600; }
.tag--pro { background: var(--ink); color: #fff; }
.tag--salon { border: 1.5px solid var(--ink); padding: 2px 8px; }
.label { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }

/* Hechos */
.fact { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: var(--radius-l); background: #fff; border: 1px solid var(--line); }
.fact i { flex-shrink: 0; width: 10px; height: 10px; margin-top: 7px; border-radius: 999px; background: var(--ink); }
.fact p { font-size: 15px; color: var(--muted); }

/* Oscuro */
.dark { background: var(--dark); color: #fff; }
.dark .lead { color: var(--on-dark-muted); }
.dark .eyebrow { color: #8a8a92; }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 1px; background: var(--dark-line); border-radius: 22px; overflow: hidden; }
.quotes > div { background: var(--dark); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.quotes strong { font-size: 19px; line-height: 1.3; }
.quotes p { font-size: 15px; line-height: 1.6; color: var(--on-dark-muted); }
.closing { font-size: clamp(20px, 2.4vw, 26px); font-weight: 700; letter-spacing: -0.02em; margin-top: 40px; }
.closing span { color: var(--on-dark-muted); }

/* Destacados (colorimetría, historial, corte) */
.feature { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.feature__text { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.feature__visual { flex: 1 1 440px; min-width: 0; }
.ticks { list-style: none; padding: 0; margin: 6px 0 0; display: flex; flex-direction: column; gap: 12px; }
.ticks li .tag { align-self: flex-start; margin-left: auto; }
.ticks li { display: flex; gap: 12px; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.ticks li::before { content: ''; flex-shrink: 0; width: 18px; height: 18px; margin-top: 2px; border-radius: 6px; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.calc { border-radius: var(--radius-l); background: #fff; border: 1px solid var(--line); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.calc__top { display: flex; align-items: center; gap: 10px; }
.calc__icon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 14px; }
.phases { display: flex; gap: 6px; }
.phases span { flex: 1; height: 8px; border-radius: 4px; background: var(--line-2); }
.history { display: flex; flex-direction: column; gap: 10px; }
.visit { display: flex; gap: 14px; padding: 14px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.visit__bar { width: 4px; border-radius: 4px; flex-shrink: 0; }
.visit strong { display: block; font-size: 15px; }
.visit small { display: block; font-size: 13px; color: var(--faint); }
.visit em { display: block; font-style: normal; font-size: 13px; color: var(--muted); margin-top: 4px; }
.steps { counter-reset: paso; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.steps li { counter-increment: paso; display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-size: 15px; }
.steps li::before { content: counter(paso); width: 28px; height: 28px; border-radius: 9px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.steps li.opt { color: var(--muted); border-style: dashed; }
.steps li.opt::before { content: '+'; background: var(--sunken); color: var(--ink); }
.ways { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); margin-top: 40px; }

/* Un día */
.day { border-radius: var(--radius-l); background: #fff; border: 1px solid var(--line); padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.day b { align-self: flex-start; padding: 4px 10px; border-radius: 8px; background: var(--ink); color: #fff; font-size: 13px; font-variant-numeric: tabular-nums; }
.day strong { font-size: 17px; }
.day p { font-size: 14px; color: var(--muted); }

/* Mosaico */
.bento { display: flex; flex-wrap: wrap; gap: 16px; }
.bento > * { flex: 1 1 280px; min-width: 0; }
.bento > .wide { flex: 2 1 560px; }
.cal { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.cal span { border-radius: 8px; border-left: 3px solid; }

/* Pestañas */
.band { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; padding: 6px; border-radius: 16px; background: var(--sunken); align-self: flex-start; margin-bottom: 24px; }
.tab { border: 0; padding: 11px 18px; border-radius: 12px; background: transparent; color: var(--ink-2); font-size: 15px; font-weight: 500; }
.tab span { opacity: 0.55; }
.tab[aria-selected='true'] { background: var(--ink); color: #fff; font-weight: 600; }
.panel { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.panel[hidden] { display: none; }
.item { border-radius: var(--radius-l); background: var(--bg); border: 1px solid var(--line); padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.item__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.item strong { font-size: 17px; line-height: 1.3; }
.item p { font-size: 15px; color: var(--muted); }
.cta-strip { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding: 24px 28px; border-radius: var(--radius-l); background: var(--sunken); margin-top: 24px; }

/* Equipo */
.people { border-radius: var(--radius-l); background: #fff; border: 1px solid var(--line); padding: 18px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.person { display: flex; align-items: center; gap: 10px; }
.avatar { width: 32px; height: 32px; border-radius: 999px; background: var(--line-2); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; flex-shrink: 0; }

/* Planes */
.plan { border-radius: 24px; background: #fff; border: 1px solid var(--line); padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.plan--dark { background: var(--dark); color: #fff; border-color: transparent; }
.plan--dark .muted { color: var(--on-dark-muted); }
.plan__name { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.plan__name strong { font-size: 26px; letter-spacing: -0.03em; }
.plan__buy { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.plan--dark .plan__buy { border-top-color: var(--dark-line); }
.plan__buy .btn { margin-top: 8px; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.price__num { font-size: 44px; font-weight: 800; letter-spacing: -0.045em; line-height: 1; }
.price__per { font-size: 15px; color: var(--faint); }
.price__ars { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.plan--dark .price__per, .plan--dark .price__ars { color: var(--on-dark-muted); }
.compare { margin-top: 16px; overflow-x: auto; border-radius: 24px; border: 1px solid var(--line); background: #fff; }
.compare table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 13px 16px; text-align: left; border-top: 1px solid var(--sunken); font-weight: 400; }
.compare thead th { border-top: 0; font-weight: 700; padding-top: 18px; padding-bottom: 18px; }
.compare th:first-child { padding-left: 24px; width: 46%; }
.compare .pro { background: #f6f6f8; }
.yes { color: var(--ok); font-weight: 700; }
.no { color: #b4b4bc; }

/* Preguntas */
.faq { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 0 40px; border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); padding: 20px 0; }
.faq summary { display: flex; justify-content: space-between; gap: 16px; font-size: 17px; font-weight: 600; line-height: 1.35; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex-shrink: 0; font-size: 22px; line-height: 1; color: var(--faint); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin-top: 12px; font-size: 15px; line-height: 1.65; color: var(--muted); }

/* Cierre y pie */
.final { border-radius: 32px; background: var(--sunken); padding: 80px 32px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.footer { border-top: 1px solid var(--line); }
.footer__in { padding-top: 32px; padding-bottom: 44px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: 14px; color: var(--faint); align-items: center; }
.footer__links { display: flex; gap: 20px; flex-wrap: wrap; }
