/* BOSS · web comercial. Misma paleta "gris editorial" que la app, en claro y oscuro. */
:root {
  --bg: #ecebe7; --paper: #f6f5f2; --paper-2: #f1f0ec; --sand: #e3e1dc;
  --ink: #1f1e1c; --ink-2: #5f5d59; --ink-3: #6e6c68; --line: #d6d3cd;
  --brand: #2b2a28; --brand-hover: #1a1918; --on-brand: #f6f5f2;
  --ok: #3d5c43; --ok-bg: #e1e6df;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r-control: 3px; --r-card: 6px;
  --wrap: 1180px; --gutter: clamp(20px, 4vw, 48px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1d1c1b; --paper: #262523; --paper-2: #2c2b28; --sand: #2f2e2b;
    --ink: #ecebe7; --ink-2: #a9a6a0; --ink-3: #9c9993; --line: #3a3835;
    --brand: #e6e3dd; --brand-hover: #f6f5f2; --on-brand: #1d1c1b;
    --ok: #9fc2a6; --ok-bg: #26312a; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #1d1c1b; --paper: #262523; --paper-2: #2c2b28; --sand: #2f2e2b;
  --ink: #ecebe7; --ink-2: #a9a6a0; --ink-3: #9c9993; --line: #3a3835;
  --brand: #e6e3dd; --brand-hover: #f6f5f2; --on-brand: #1d1c1b;
  --ok: #9fc2a6; --ok-bg: #26312a; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; padding: 8px 14px; background: var(--brand); color: var(--on-brand); border-radius: var(--r-control); z-index: 50; }
.skip:focus { left: 12px; }

/* Tipografía */
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; margin: 0; color: var(--ink); }
h1 { font-size: clamp(52px, 8.4vw, 112px); line-height: 0.95; letter-spacing: -0.025em; }
h2 { font-size: clamp(38px, 5vw, 64px); line-height: 1.02; }
h3 { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.15; }
p { margin: 0; }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--ink-2); max-width: 36em; }
.muted { color: var(--ink-2); }
.small { font-size: 14px; color: var(--ink-3); }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: var(--r-control); border: 1px solid var(--brand); font: 600 15px/1 var(--sans); text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s; }
.btn-primary { background: var(--brand); color: var(--on-brand); }
.btn-primary:hover { background: var(--brand-hover); border-color: var(--brand-hover); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--sand); }

/* Cabecera */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.header-row { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; color: var(--ink); }
.brand svg { width: 92px; height: auto; }
.nav { display: flex; gap: 26px; margin-left: 12px; }
.nav a { text-decoration: none; color: var(--ink-2); font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--ink); }
.header-tools { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.lang { display: flex; gap: 2px; }
.lang a { padding: 6px 8px; font-size: 13px; font-weight: 600; text-decoration: none; color: var(--ink-3); border-radius: var(--r-control); }
.lang a[aria-current="true"] { color: var(--ink); background: var(--sand); }
.icon-btn { width: 40px; height: 40px; display: inline-grid; place-items: center; border: 0; border-radius: var(--r-control); background: transparent; color: var(--ink-2); cursor: pointer; }
.icon-btn:hover { background: var(--sand); color: var(--ink); }
.icon-btn svg { width: 19px; height: 19px; }
.theme-toggle .moon { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .moon { display: block; }
.header-tools .btn { min-height: 40px; padding: 0 16px; }
.menu-toggle { display: none; }
.mobile-nav { border-top: 1px solid var(--line); padding: 12px 0 20px; }
.mobile-nav a { display: block; padding: 12px 0; font-size: 18px; text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-nav .btn { margin-top: 16px; width: 100%; }

/* Hero */
.hero { padding: clamp(56px, 9vw, 120px) 0 clamp(48px, 7vw, 96px); }
.hero h1 { max-width: 11ch; }
.hero-row { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: end; }
.hero-side { display: grid; gap: 26px; padding-bottom: 10px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* El recorrido de una sesión: puntos, línea y checks como en la app */
.journey { margin-top: clamp(48px, 7vw, 88px); padding: clamp(24px, 3vw, 36px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card); }
.journey-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.journey-head strong { font-family: var(--serif); font-size: 26px; font-weight: 500; }
.journey-head span { font-size: 14px; color: var(--ink-3); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.step { position: relative; display: grid; justify-items: start; gap: 12px; padding-right: 18px; }
.step::before { content: ""; position: absolute; top: 15px; left: 34px; right: 0; height: 2px; background: var(--line); }
.step:last-child::before { display: none; }
.step::after { content: ""; position: absolute; top: 15px; left: 34px; height: 2px; width: 0; background: var(--ink); transition: width .45s ease; }
.step:last-child::after { display: none; }
.dot { position: relative; z-index: 1; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--line); background: var(--paper); color: var(--ink-3); font-size: 13px; font-weight: 650; transition: background-color .3s, border-color .3s, color .3s; }
.dot svg { width: 16px; height: 16px; display: none; }
.step strong { font-size: 15px; font-weight: 650; line-height: 1.3; }
.step p { font-size: 14px; line-height: 1.45; color: var(--ink-2); max-width: 17em; }
.step.done .dot { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.step.done .dot span { display: none; }
.step.done .dot svg { display: block; }
.step.done::after { width: calc(100% - 34px); }
@media (prefers-reduced-motion: reduce) { .step::after, .dot { transition: none; } }

/* Secciones */
.section { padding: clamp(72px, 10vw, 136px) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 { max-width: 13ch; }
.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.split.reverse > :first-child { order: 2; }
.points { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 22px; }
.points li { display: grid; gap: 4px; padding-left: 22px; position: relative; }
.points li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.points strong { font-weight: 650; }
.points span { color: var(--ink-2); }

/* Cómo funciona: secuencia real, por eso va numerada */
.flow { list-style: none; margin: 0; padding: 0; counter-reset: flow; display: grid; gap: 0; }
.flow li { counter-increment: flow; display: grid; grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1.2fr); gap: 24px; padding: 28px 0; border-top: 1px solid var(--line); align-items: baseline; }
.flow li::before { content: counter(flow); font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--ink-3); }
.flow h3 { font-size: clamp(24px, 2.4vw, 32px); }
.flow p { color: var(--ink-2); }

/* Maquetas de la app */
.mock { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card); padding: 22px; box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .35); }
.mock-bar { display: flex; align-items: center; gap: 8px; padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.mock-bar b { margin-left: 8px; font-weight: 500; }
.mock-title { font-family: var(--serif); font-size: 28px; line-height: 1.1; margin-bottom: 4px; }
.mock-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r-control); background: var(--paper-2); margin-top: 8px; font-size: 14px; }
.mock-row .tag { margin-left: auto; font-size: 12px; font-weight: 650; padding: 3px 9px; border-radius: 999px; background: var(--sand); color: var(--ink-2); white-space: nowrap; }
.mock-row .tag.ok { background: var(--ok-bg); color: var(--ok); }
.mock-row svg { width: 17px; height: 17px; flex: none; color: var(--ink-3); }
.mock-sign { margin-top: 18px; padding: 18px; border: 1px dashed var(--line); border-radius: var(--r-control); }
.mock-sign svg { width: 100%; height: 52px; color: var(--ink); }
.mock-sign small { display: block; margin-top: 8px; color: var(--ink-3); font-size: 12px; }

/* Página de reservas */
.booking-mock .grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.booking-mock .tile { aspect-ratio: 4 / 5; border-radius: var(--r-control); background: linear-gradient(160deg, var(--sand), var(--paper-2)); display: flex; align-items: flex-end; padding: 10px; font-size: 13px; font-weight: 650; }
.booking-mock .tile:nth-child(2) { background: linear-gradient(200deg, var(--line), var(--paper-2)); }
.booking-mock .slots { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.booking-mock .slots span { padding: 7px 11px; border: 1px solid var(--line); border-radius: var(--r-control); font-size: 13px; }
.booking-mock .slots span.on { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }

/* Bossy */
.chat { display: grid; gap: 12px; }
.bubble { max-width: 88%; padding: 12px 16px; border-radius: 14px; font-size: 15px; line-height: 1.5; }
.bubble.me { justify-self: end; background: var(--brand); color: var(--on-brand); border-bottom-right-radius: 4px; }
.bubble.bossy { background: var(--paper-2); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.bubble.bossy b { display: block; font-size: 12px; color: var(--ink-3); margin-bottom: 2px; }
.providers { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.providers span { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--ink-2); }

/* Gestión: lista de definiciones a dos columnas */
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 5vw, 72px); margin: 0; }
.features div { padding: 24px 0; border-top: 1px solid var(--line); }
.features dt { font-family: var(--serif); font-size: 26px; line-height: 1.15; margin-bottom: 6px; }
.features dd { margin: 0; color: var(--ink-2); max-width: 32em; }

/* Precio */
.price { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.price-figure { font-family: var(--serif); font-size: clamp(88px, 12vw, 160px); line-height: .85; letter-spacing: -0.03em; }
.price-figure small { font-family: var(--sans); font-size: 18px; letter-spacing: 0; color: var(--ink-2); margin-left: 8px; }
.periods { width: 100%; border-collapse: collapse; font-size: 16px; }
.periods th, .periods td { text-align: left; padding: 16px 12px 16px 0; border-bottom: 1px solid var(--line); font-weight: 400; }
.periods thead th { font-size: 13px; color: var(--ink-3); font-weight: 500; }
.periods td:last-child, .periods th:last-child { text-align: right; padding-right: 0; }
.periods .save { color: var(--ok); font-weight: 600; }
.included { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.included span { padding: 7px 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; font-size: 14px; }

/* Preguntas */
.faq { display: grid; gap: 0; max-width: 860px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; font-family: var(--serif); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-size: 22px; color: var(--ink-3); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; color: var(--ink-2); max-width: 44em; }

/* Cierre y pie */
.closing { padding: clamp(80px, 11vw, 150px) 0; text-align: left; }
.closing h2 { font-size: clamp(44px, 6.4vw, 88px); max-width: 14ch; }
.closing .hero-actions { margin-top: 32px; }
.site-footer { border-top: 1px solid var(--line); padding: 36px 0 48px; font-size: 14px; color: var(--ink-2); }
.footer-row { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; justify-content: space-between; }
.footer-row nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-row a { text-decoration: none; }
.footer-row a:hover { color: var(--ink); text-decoration: underline; }

/* Páginas legales */
.legal { padding: clamp(48px, 7vw, 96px) 0; }
.legal-body { max-width: 760px; }
.legal-body h1 { font-size: clamp(44px, 6vw, 72px); margin-bottom: 32px; }
.legal-body h2 { font-size: clamp(30px, 3.4vw, 42px); margin: 56px 0 16px; padding-top: 24px; border-top: 1px solid var(--line); }
.legal-body h3 { font-size: 24px; margin: 28px 0 8px; }
.legal-body p, .legal-body li { color: var(--ink-2); }
.legal-body p + p { margin-top: 12px; }

/* Responsive */
@media (max-width: 980px) {
  .nav, .header-tools .btn, .header-tools .lang { display: none; }
  .menu-toggle { display: inline-grid; }
  .hero-row, .section-head, .split, .price { grid-template-columns: minmax(0, 1fr); }
  .split.reverse > :first-child { order: 0; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .step { grid-template-columns: 32px minmax(0, 1fr); column-gap: 16px; padding: 0 0 22px; }
  .step .dot { grid-row: span 2; }
  .step::before, .step::after { top: 34px; left: 15px; right: auto; width: 2px; height: calc(100% - 34px); }
  .step::after { height: 0; transition: height .45s ease; }
  .step.done::after { width: 2px; height: calc(100% - 34px); }
  .flow li { grid-template-columns: 48px minmax(0, 1fr); }
  .flow li p { grid-column: 2; }
  .features { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .booking-mock .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .booking-mock .tile:nth-child(3) { display: none; }
  .periods { font-size: 15px; }
}
@media (min-width: 981px) { .mobile-nav { display: none !important; } }
.legal-body > nav { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 20px; }
.legal-body > nav a { color: var(--ink); }
.legal-body h1 + p { color: var(--ink-3); font-size: 15px; margin-bottom: 16px; }
.legal-body ul { margin: 8px 0 0; padding-left: 20px; }
.legal-body li + li { margin-top: 6px; }
.legal-body p + ul, .legal-body ul + p { margin-top: 12px; }
.legal-body strong { color: var(--ink); font-weight: 600; }
.legal-body section { scroll-margin-top: 90px; }

/* Stripe dentro de Reservas */
.stripe-card { display: grid; grid-template-columns: minmax(180px, 280px) minmax(0, 1fr); margin-top: clamp(48px, 6vw, 80px); border: 1px solid var(--line); border-radius: var(--r-card); background: var(--paper); overflow: hidden; }
.stripe-mark { display: grid; place-content: center; justify-items: center; gap: 14px; padding: 36px 24px; background: #fff; border-right: 1px solid var(--line); }
.stripe-mark img { width: 150px; height: auto; }
.stripe-mark small { color: #6e6c68; font-size: 12px; letter-spacing: .08em; }
.stripe-body { padding: clamp(28px, 4vw, 44px); }
.stripe-body h3 { font-size: clamp(28px, 3vw, 36px); line-height: 1.1; }
.stripe-body > p { color: var(--ink-2); margin: 12px 0 0; max-width: 62ch; }
.stripe-steps { display: flex; flex-wrap: wrap; gap: 12px 28px; list-style: none; margin: 24px 0 0; padding: 0; }
.stripe-steps li { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.stripe-steps span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--sand); color: var(--ink-2); font-size: 13px; font-weight: 600; }
.stripe-body .stripe-note { color: var(--ink-3); font-size: 14px; margin-top: 22px; }
@media (max-width: 700px) {
  .stripe-card { grid-template-columns: minmax(0, 1fr); }
  .stripe-mark { border-right: 0; border-bottom: 1px solid var(--line); padding: 28px 24px; }
  .stripe-steps { flex-direction: column; }
}

/* Banda con ondas y eslogan */
.wave-band { position: relative; overflow: hidden; padding: clamp(88px, 12vw, 160px) 0; background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.wave-band + .section { border-top: 0; }
.wave-art { position: absolute; inset: 0; background: var(--ink); opacity: .55; -webkit-mask: url(/assets/waves.svg) center / 100% 100% no-repeat; mask: url(/assets/waves.svg) center / 100% 100% no-repeat; }
.wave-band .wrap { position: relative; }
.wave-title { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(48px, 7.4vw, 104px); line-height: .98; letter-spacing: -0.015em; color: var(--ink); }
.wave-lede { margin: 22px 0 0; max-width: 34ch; color: var(--ink-2); font-size: clamp(17px, 1.6vw, 20px); }
@media (max-width: 700px) { .wave-art { opacity: .35; -webkit-mask-size: 260% 100%; mask-size: 260% 100%; -webkit-mask-position: right center; mask-position: right center; } }

/* Reservas y banda de ondas en colores invertidos: oscura en tema claro y clara en tema oscuro */
#reservas, .wave-band:not(.closing) {
  --bg: #1d1c1b; --paper: #262523; --paper-2: #2c2b28; --sand: #2f2e2b;
  --ink: #ecebe7; --ink-2: #a9a6a0; --ink-3: #9c9993; --line: #3a3835;
  --brand: #e6e3dd; --brand-hover: #f6f5f2; --on-brand: #1d1c1b;
  --ok: #9fc2a6; --ok-bg: #26312a; color-scheme: dark;
  background: var(--bg); color: var(--ink); border-top-color: var(--line);
}
#reservas + .section { border-top: 0; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) #reservas, :root:not([data-theme="light"]) .wave-band:not(.closing) {
    --bg: #ecebe7; --paper: #f6f5f2; --paper-2: #f1f0ec; --sand: #e3e1dc;
    --ink: #1f1e1c; --ink-2: #5f5d59; --ink-3: #6e6c68; --line: #d6d3cd;
    --brand: #2b2a28; --brand-hover: #1a1918; --on-brand: #f6f5f2;
    --ok: #3d5c43; --ok-bg: #e1e6df; color-scheme: light;
  }
}
:root[data-theme="dark"] #reservas, :root[data-theme="dark"] .wave-band:not(.closing) {
  --bg: #ecebe7; --paper: #f6f5f2; --paper-2: #f1f0ec; --sand: #e3e1dc;
  --ink: #1f1e1c; --ink-2: #5f5d59; --ink-3: #6e6c68; --line: #d6d3cd;
  --brand: #2b2a28; --brand-hover: #1a1918; --on-brand: #f6f5f2;
  --ok: #3d5c43; --ok-bg: #e1e6df; color-scheme: light;
}

/* Degradados con grano detrás de las capturas (correo y precio) */
:root {
  --g-arena: radial-gradient(120% 90% at 15% 10%, #f3e6cf 0%, transparent 60%), radial-gradient(90% 80% at 85% 90%, #c99c62 0%, transparent 65%), linear-gradient(140deg, #ead6b5, #d7b483);
  --g-niebla: radial-gradient(110% 90% at 20% 15%, #f0f3f6 0%, transparent 60%), radial-gradient(90% 80% at 90% 85%, #8ea3b8 0%, transparent 65%), linear-gradient(140deg, #d5dee7, #a9b8c7);
  --grain-op: .34;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --g-arena: radial-gradient(120% 90% at 15% 10%, #6b5434 0%, transparent 60%), radial-gradient(90% 80% at 85% 90%, #a27a45 0%, transparent 65%), linear-gradient(140deg, #3a2f22, #22201c);
  --g-niebla: radial-gradient(110% 90% at 20% 15%, #46566a 0%, transparent 60%), radial-gradient(90% 80% at 90% 85%, #6a8099 0%, transparent 65%), linear-gradient(140deg, #232b34, #191c20);
  --grain-op: .24; } }
:root[data-theme="dark"] {
  --g-arena: radial-gradient(120% 90% at 15% 10%, #6b5434 0%, transparent 60%), radial-gradient(90% 80% at 85% 90%, #a27a45 0%, transparent 65%), linear-gradient(140deg, #3a2f22, #22201c);
  --g-niebla: radial-gradient(110% 90% at 20% 15%, #46566a 0%, transparent 60%), radial-gradient(90% 80% at 90% 85%, #6a8099 0%, transparent 65%), linear-gradient(140deg, #232b34, #191c20);
  --grain-op: .24;
}
.grain-stage { position: relative; isolation: isolate; overflow: hidden; padding: clamp(20px, 4vw, 52px); border-radius: var(--r-card); }
.grain-stage.g-arena { background: var(--g-arena); }
.grain-stage.g-niebla { background: var(--g-niebla); }
.grain-stage::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: var(--grain-op); mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1.6 -.3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.grain-stage > * { position: relative; z-index: 1; box-shadow: 0 28px 56px -30px rgba(30, 25, 20, .55); }

/* Ondas animadas de la banda: el lienzo sustituye al dibujo fijo cuando hay JavaScript */
.wave-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: none; }
.wave-band.live .wave-canvas { display: block; }
.wave-band.live .wave-art { display: none; }

/* Instrument Serif solo tiene un peso: los titulares van en regular para no forzar una negrita falsa */
h1, h2, h3, .wave-title, .price-figure, .serif { font-weight: 400; letter-spacing: 0; }

/* Tus datos, a salvo: banda azul con grano y tres puntos (el último con banderas) */
.trust-band { border-radius: 0; padding: clamp(72px, 10vw, 136px) 0; }
.trust-band .section-head { margin-bottom: clamp(32px, 4vw, 48px); }
.trust-band, .trust-band + .section { border-top: 0; }
.trust-points { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.trust-points li { display: grid; gap: 6px; padding: 22px 24px; border-radius: var(--r-card); background: color-mix(in srgb, var(--paper) 72%, transparent); border: 1px solid color-mix(in srgb, var(--line) 70%, transparent); box-shadow: none; }
.trust-points strong { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 17px; }
.trust-points span { color: var(--ink-2); font-size: 15px; }
.trust-points .flags { display: inline-flex; gap: 5px; order: 2; }
.trust-points .flags svg { width: 24px; height: 16px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
@media (max-width: 980px) { .trust-points { grid-template-columns: minmax(0, 1fr); } }

/* Cierre con el mismo fondo de ondas que la banda del eslogan */
.closing.wave-band { position: relative; overflow: hidden; border-top: 0; border-bottom: 0; }
.closing.wave-band .wrap { position: relative; z-index: 1; }
.trust-band > .wrap { box-shadow: none; }

/* Banderas en los puntos de la página de reservas */
.points .flags { display: inline-flex; gap: 5px; margin-left: 10px; vertical-align: -2px; }
.points .flags svg { width: 22px; height: 15px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.trust-points { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Cierre: degradado arena con grano y ondas animadas encima */
.closing.grain-stage { padding: clamp(80px, 11vw, 150px) 0; border-radius: 0; color: var(--ink); }
.closing.grain-stage > .wrap { box-shadow: none; }
.closing.grain-stage > .wave-canvas { position: absolute; inset: 0; z-index: 0; box-shadow: none; }

/* Bocadillo «esto se puede tocar»: cantos rectos y pico hacia la demo */
.demo-hint { position: relative; display: inline-flex; align-items: center; gap: 8px; width: fit-content; margin: 0 0 16px; padding: 8px 13px 8px 10px; border: 1px solid var(--line); border-radius: 0; background: var(--paper); color: var(--ink); font-size: 14px; font-weight: 500; line-height: 1.3; box-shadow: 0 10px 22px -16px rgba(20, 18, 15, .45); }
.demo-hint::after { content: ""; position: absolute; left: 20px; bottom: -6px; width: 10px; height: 10px; background: var(--paper); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transform: rotate(45deg); }
.demo-hint .hand { width: 18px; height: 18px; flex: none; }
.demo-hint.hero-hint { margin-top: clamp(40px, 6vw, 72px); }
.hero-hint + .app-window { margin-top: 0; }
.demo-controls::before, .chips::before { content: ""; flex-basis: 100%; height: 0; order: 1; }
.demo-controls > *, .chips > * { order: 2; }
.demo-controls > .demo-hint, .chips > .demo-hint { order: 0; margin-bottom: 6px; }
.demo-hint.in { animation: hint-in .6s cubic-bezier(.2, .8, .2, 1) both, hint-float 3.2s ease-in-out .6s infinite; }
.demo-hint.in .hand { animation: hint-tap 2.4s ease .5s infinite; transform-origin: 40% 90%; }
@keyframes hint-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes hint-tap { 0%, 30%, 100% { transform: none; } 15% { transform: translateY(2px) scale(.9); } }
@keyframes hint-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }

/* Etiqueta «Interactivo» en la barra de las ventanas */
.live-tag { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: .02em; color: var(--ok); white-space: nowrap; }
.live-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: live-dot 2.2s ease-out infinite; }
@keyframes live-dot { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, currentColor 55%, transparent); } 70%, 100% { box-shadow: 0 0 0 7px transparent; } }

/* Latido del primer control la primera vez que la demo aparece */
.nudge { animation: nudge 1.8s ease-out infinite; }
@keyframes nudge { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ink) 45%, transparent); } 70%, 100% { box-shadow: 0 0 0 12px transparent; } }
@media (prefers-reduced-motion: reduce) { .demo-hint.in, .demo-hint.in .hand, .live-tag::before, .nudge { animation: none; } }

/* Bossy: escenario negro con rejilla de puntos y una esfera de partículas encima del chat */
.ai-stage { position: relative; isolation: isolate; overflow: hidden; display: grid; justify-items: center; padding: clamp(270px, 25vw, 340px) clamp(18px, 3vw, 36px) clamp(18px, 3vw, 36px); border-radius: var(--r-card); background:
  radial-gradient(70% 40% at 50% 22%, rgba(255,255,255,.11), transparent 70%),
  radial-gradient(circle, rgba(255,255,255,.13) 1px, transparent 1.3px) 0 0 / 22px 22px,
  #1d1c1b; }
.ai-orb { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.ai-stage > .mock { position: relative; z-index: 1; width: 100%; box-shadow: 0 30px 60px -28px rgba(0,0,0,.8); }

/* Panel de Bossy (como en la app): resumen con la salud del estudio y pestaña de chat */
.bossy-demo { gap: 14px; }
.bp-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.bp-head .bp-bot { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-control); background: var(--sand); color: var(--ink); }
.bp-head .bp-bot svg { width: 20px; height: 20px; }
.bp-head b { display: block; font-size: 17px; line-height: 1.2; }
.bp-head small { color: var(--ink-3); font-size: 13px; }
.bossy-demo > .seg { justify-self: start; }
.bp-summary { display: grid; gap: 10px; }
.bp-health { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; border-radius: var(--r-card); background: var(--brand); color: var(--on-brand); }
.bp-health small { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; opacity: .8; }
.bp-health p { margin: 2px 0 0; line-height: 1; }
.bp-health p b { font-size: 46px; font-weight: 700; letter-spacing: -.03em; }
.bp-health p span { font-size: 20px; opacity: .55; margin-left: 2px; }
.bp-health em { display: block; font-style: normal; margin-top: 4px; font-size: 15px; opacity: .9; }
.bp-ring { width: 76px; height: 76px; flex: none; transform: rotate(-90deg); }
.bp-ring circle { fill: none; stroke: color-mix(in srgb, var(--on-brand) 18%, transparent); stroke-width: 7; }
.bp-ring circle.v { stroke: var(--on-brand); stroke-linecap: butt; }
.bp-subs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.bp-subs div { padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-control); background: var(--paper-2); }
.bp-subs small { display: block; font-size: 11.5px; color: var(--ink-3); }
.bp-subs b { font-size: 19px; }
.bp-ceo { padding: 16px 18px; border-radius: var(--r-card); background: var(--brand); color: var(--on-brand); }
.bp-ceo-top { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; margin-bottom: 8px; }
.bp-ceo-top span { font-size: 13px; opacity: .75; }
.bp-ceo-top small { font-size: 11.5px; font-weight: 600; }
.bp-ceo b { display: block; font-size: 16px; line-height: 1.3; }
.bp-ceo p { margin: 6px 0 0; font-size: 13.5px; line-height: 1.45; opacity: .85; }
.bp-plan strong { display: block; font-size: 14px; margin: 4px 0 8px; }
.bp-plan ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.bp-plan li { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: var(--r-control); background: var(--paper-2); border: 1px solid var(--line); }
.bp-plan li > span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--sand); font-size: 12px; font-weight: 600; flex: none; }
.bp-plan li b { display: block; font-size: 14px; }
.bp-plan li small { font-size: 12px; color: var(--ink-3); }
.bp-chat { position: relative; display: grid; gap: 18px; padding-bottom: 64px; }
.ai-stage .bossy-demo { padding-bottom: clamp(18px, 2.4vw, 26px); }
@media (max-width: 560px) { .bp-subs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Bossy: la esfera de partículas pasa a ser el fondo de la columna de texto */
.ai-copy { position: relative; isolation: isolate; overflow: hidden; align-self: stretch; display: grid; align-content: center; padding: clamp(32px, 4.5vw, 60px); border-radius: var(--r-card); background:
  radial-gradient(60% 50% at 66% 50%, rgba(255,255,255,.09), transparent 70%),
  radial-gradient(circle, rgba(255,255,255,.13) 1px, transparent 1.3px) 0 0 / 22px 22px,
  #1d1c1b;
  --ink: #f2f1ed; --ink-2: #c2bfb8; --ink-3: #a9a6a0; --line: #3a3835; --paper: #1c1b1a; --brand: #f2f1ed; --on-brand: #121211; color: var(--ink); }
.ai-copy::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(29,28,27,.72) 0%, rgba(29,28,27,.28) 55%, rgba(29,28,27,0) 100%); pointer-events: none; }
.ai-copy .ai-orb { z-index: -1; }
.ai-text { position: relative; z-index: 1; }
.ai-copy .providers span { border-color: var(--line); color: var(--ink-2); }
#bossy .split { align-items: stretch; }

/* Sección completa con degradado y grano (correo) */
.section.grain-band { border-radius: 0; padding: clamp(72px, 10vw, 136px) 0; }
.section.grain-band, .grain-band + .section { border-top: 0; }
.grain-band > .wrap { box-shadow: none; }
.grain-band .mock { box-shadow: 0 28px 56px -30px rgba(30, 25, 20, .55); }

.closing h2 { max-width: none; }

/* Cierre: fondo oscuro tecnológico con partículas que se mueven y se unen con líneas */
.tech-band { position: relative; overflow: hidden; isolation: isolate; border: 0; color: var(--ink); background:
  radial-gradient(70% 90% at 80% 50%, rgba(255,255,255,.07), transparent 70%),
  radial-gradient(circle, rgba(255,255,255,.10) 1px, transparent 1.3px) 0 0 / 24px 24px,
  #1d1c1b;
  --ink: #f2f1ed; --ink-2: #c2bfb8; --ink-3: #a9a6a0; --line: #3a3835; --paper: #1c1b1a; --brand: #f2f1ed; --brand-hover: #ffffff; --on-brand: #121211; }
.tech-band::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(90deg, rgba(29,28,27,.85) 0%, rgba(29,28,27,.4) 45%, rgba(29,28,27,0) 75%); }
.net-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.tech-band .wrap { position: relative; z-index: 1; }

/* Portada con el fondo de partículas */
.hero.tech-band { padding: clamp(110px, 15vw, 210px) 0 clamp(96px, 13vw, 180px); }
.hero.tech-band h1 { max-width: none; font-size: clamp(64px, 9.5vw, 136px); line-height: .95; }
.hero.tech-band .lede { max-width: 34em; margin-top: clamp(22px, 2.6vw, 32px); }
.hero.tech-band .hero-actions { margin-top: 34px; }
.hero-app { padding: 0 0 clamp(56px, 8vw, 110px); }
.hero-app .demo-hint.hero-hint { margin-top: clamp(40px, 5vw, 64px); }

/* Reservas en el mismo negro que la portada (en el tema oscuro sigue invertida a claro) */
#reservas { --bg: #1d1c1b; }

/* Botón secundario sobre fondo oscuro: al pasar el ratón, fondo claro y texto oscuro */
.tech-band .btn-ghost:hover, .ai-copy .btn-ghost:hover { background: #f2f1ed; border-color: #f2f1ed; color: #1d1c1b; }

.price-offer { margin: 14px 0 0; padding: 10px 14px; border-radius: 10px; background: color-mix(in srgb, var(--ok) 12%, transparent); color: var(--ok); font-weight: 600; font-size: 15px; }
.price-offer[hidden] { display: none; }
/* Precio con decimales (22,50 €): más pequeño para que quepa con «al mes» en la misma línea */
.price-figure { font-size: clamp(56px, 7vw, 108px); white-space: nowrap; }
.price-figure small { white-space: nowrap; }

.hero-trial { display: flex; align-items: center; gap: 8px; margin: 16px 0 0; font-size: 15px; color: var(--ink-2); }
.hero-trial svg { width: 16px; height: 16px; color: var(--ok); flex: none; }
.price-founder { display: grid; gap: 4px; margin: 14px 0 18px; padding: 14px 16px; border: 1px solid var(--line); border-left: 3px solid var(--ink); border-radius: var(--r-card); font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.price-founder strong { color: var(--ink); font-size: 16px; }

/* ===================== Pantallas de la app e interacción ===================== */
.gap { margin-top: 20px; }
.serif { font-family: var(--serif); font-weight: 500; }
.caption { margin-top: 12px; font-size: 13px; color: var(--ink-3); }
figure { margin: 0; }
.small.demo-label { margin-bottom: 12px; }
.sticky { position: sticky; top: 96px; }

/* Selector segmentado (pestañas) */
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: var(--sand); border-radius: 8px; }
.seg button { border: 0; background: transparent; color: var(--ink-2); font: 600 14px/1 var(--sans); padding: 9px 14px; border-radius: 6px; cursor: pointer; }
.seg button:hover { color: var(--ink); }
.seg button[aria-selected="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }

.pill { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; background: var(--sand); color: var(--ink-2); font-size: 12px; font-weight: 650; white-space: nowrap; }
.pill.ok { background: var(--ok-bg); color: var(--ok); }
.pill svg { width: 13px; height: 13px; }
.fake-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 38px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r-control); font-size: 14px; font-weight: 600; color: var(--ink); background: var(--paper); }
.fake-btn.primary { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }
.fake-btn svg { width: 16px; height: 16px; }

/* Ventana de la app */
.app-window { margin-top: clamp(48px, 7vw, 88px); border: 1px solid var(--line); border-radius: 10px; background: var(--bg); overflow: hidden; box-shadow: 0 50px 100px -60px rgba(0, 0, 0, .55); }
.app-window figcaption { padding: 10px 18px; font-size: 13px; color: var(--ink-3); border-top: 1px solid var(--line); background: var(--paper); }
.app-chrome { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: var(--paper); border-bottom: 1px solid var(--line); }
.app-chrome i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.app-chrome span { margin: 0 auto; padding: 4px 14px; border-radius: 6px; background: var(--sand); font-size: 12px; color: var(--ink-3); }
.app-body { display: grid; grid-template-columns: 210px minmax(0, 1fr); min-height: 520px; }
.app-side { display: flex; flex-direction: column; gap: 2px; padding: 22px 14px; background: var(--paper); border-right: 1px solid var(--line); }
.app-logo { color: var(--ink); padding: 0 10px 18px; }
.app-logo svg { width: 78px; }
.side-link { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 6px; font-size: 14px; color: var(--ink-2); }
.side-link svg { width: 17px; height: 17px; }
.side-link.on { background: var(--sand); color: var(--ink); font-weight: 600; }
.side-user { margin-top: auto; padding: 14px 10px 0; border-top: 1px solid var(--line); font-size: 13px; }
.app-main { padding: 22px clamp(16px, 2.4vw, 32px) 28px; min-width: 0; }
.app-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.app-search { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-3); font-size: 14px; }
.app-search svg { width: 16px; height: 16px; }
.panel[hidden] { display: none !important; }

/* Tarjeta de resumen de la sesión (igual que en la app: color principal) */
.summary { background: var(--brand); color: var(--on-brand); border-radius: var(--r-card); padding: clamp(18px, 2.4vw, 28px); }
.summary-top { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.summary-top small { display: block; font-size: 12px; opacity: .6; font-weight: 600; }
.summary-top strong { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.1; margin: 2px 0 10px; }
.status { display: inline-block; padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--on-brand) 16%, transparent); font-size: 12px; font-weight: 650; }
.dates { display: flex; gap: 10px; flex-wrap: wrap; }
.dates span { display: grid; grid-template-columns: auto 1fr; column-gap: 9px; align-items: center; padding: 10px 14px; border-radius: 6px; background: color-mix(in srgb, var(--on-brand) 10%, transparent); }
.dates svg { width: 17px; height: 17px; grid-row: span 2; opacity: .8; }
.dates i { font-style: normal; font-size: 11px; opacity: .7; }
.dates b { font-size: 14px; }
.bar-label { display: flex; justify-content: space-between; margin-top: 22px; padding-top: 18px; border-top: 1px solid color-mix(in srgb, var(--on-brand) 18%, transparent); font-size: 14px; }
.bar { height: 8px; border-radius: 999px; background: color-mix(in srgb, var(--on-brand) 22%, transparent); margin-top: 8px; overflow: hidden; }
.bar span { display: block; height: 100%; width: 0; background: var(--on-brand); border-radius: inherit; transition: width .6s ease; }
.steps.on-brand { margin-top: 22px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.on-brand .step { justify-items: center; text-align: center; padding: 0; gap: 8px; grid-template-columns: none; }
.on-brand .step .dot { grid-row: auto; }
.on-brand .step::before { left: calc(50% + 18px); right: auto; width: calc(100% - 36px); height: 2px; top: 15px; background: color-mix(in srgb, var(--on-brand) 22%, transparent); }
.on-brand .step::after { left: calc(50% + 18px); top: 15px; height: 2px; width: 0; background: var(--on-brand); transition: width .45s ease; }
.on-brand .step.done::after { width: calc(100% - 36px); height: 2px; }
.on-brand .dot { background: var(--brand); border-color: color-mix(in srgb, var(--on-brand) 32%, transparent); color: color-mix(in srgb, var(--on-brand) 70%, transparent); }
.on-brand .step.done .dot { background: var(--on-brand); border-color: var(--on-brand); color: var(--brand); }
.on-brand .step em { font-style: normal; font-size: 13px; color: color-mix(in srgb, var(--on-brand) 75%, transparent); }
.on-brand .step.done em { color: var(--on-brand); }

/* Tareas */
.task-list { margin-top: 16px; display: grid; gap: 8px; }
.task { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card); }
.task svg { width: 18px; height: 18px; }
.task-check { color: var(--ink-3); display: grid; }
.task-kind { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 6px; background: var(--sand); color: var(--ink-2); flex: none; }
.task-kind svg { width: 16px; height: 16px; }
.task-body { display: grid; min-width: 0; margin-right: auto; }
.task-body b { font-size: 14px; }
.task-body small { font-size: 12.5px; color: var(--ink-3); }

/* Reservas */
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.panel-head strong { font-family: var(--serif); font-size: 28px; font-weight: 500; }
.filters { display: flex; gap: 6px; }
.filters span { padding: 7px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--ink-2); background: var(--paper); }
.filters span.on { background: var(--sand); color: var(--ink); }
.res-table { width: 100%; border-collapse: collapse; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; font-size: 14px; }
.res-table th { text-align: left; font-size: 12px; font-weight: 600; color: var(--ink-3); padding: 12px 14px; border-bottom: 1px solid var(--line); }
.res-table td { padding: 13px 14px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.res-table tr:last-child td { border-bottom: 0; }
.res-table td b { color: var(--ink); }

/* Contrato */
.contract-sheet { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; padding: 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card) var(--r-card) 0 0; }
.contract-sheet strong { display: block; font-size: 28px; }
.contract-sheet small { color: var(--ink-3); }
.signature-line { padding: 18px 20px; background: var(--paper); border: 1px solid var(--line); border-top: 0; }
.signature-line svg { height: 56px; width: 100%; max-width: 360px; color: var(--ink); }
.record { margin: 0 0 14px; padding: 14px 20px; display: grid; gap: 8px; background: var(--paper-2); border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--r-card) var(--r-card); }
.record div { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }
.record dt { color: var(--ink-3); }
.record dd { margin: 0; font-weight: 600; }

/* Formulario de email */
.email-form { display: grid; gap: 14px; }
.form-head { display: flex; justify-content: space-between; align-items: center; }
.form-head strong { font-family: var(--serif); font-size: 24px; font-weight: 500; }
.field { display: grid; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field > span, .field legend { font-size: 13px; font-weight: 600; color: var(--ink-2); padding: 0; margin-bottom: 4px; }
.input, .field select { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-control); background: var(--paper-2); color: var(--ink); font: 15px/1.3 var(--sans); }
.field select { cursor: pointer; }
.radio { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 14px; cursor: pointer; }
.radio input { width: 17px; height: 17px; margin: 0; accent-color: var(--brand); }
.form-summary { padding-top: 14px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.form-summary small { color: var(--ink-3); font-size: 12px; }
.form-summary .task { background: var(--paper-2); }

/* Página de reservas */
.demo-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; }
.demo-controls .small { width: 100%; }
.booking-page { padding: 0 0 20px; overflow: hidden; }
.booking-page .mock-bar { margin: 0; padding: 12px 18px; }
.bp-header { display: flex; align-items: center; gap: 18px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.bp-logo { font-family: var(--serif); font-size: 22px; font-weight: 600; }
.bp-header nav { display: flex; gap: 14px; margin-left: auto; font-size: 13px; color: var(--ink-2); }
[data-logo="center"] .bp-header { flex-direction: column; gap: 8px; }
[data-logo="center"] .bp-header nav { margin-left: 0; }
.bp-hero { padding: 20px 20px 8px; display: grid; gap: 4px; }
.bp-hero strong { font-size: 26px; line-height: 1.1; }
.bp-hero small { color: var(--ink-2); }
.bp-tiles { display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: 12px; padding: 12px 20px; overflow: hidden; }
.bp-tile { display: grid; gap: 3px; font-size: 13px; align-content: start; }
.bp-img { aspect-ratio: 4 / 3; border-radius: var(--r-control); margin-bottom: 6px; background: radial-gradient(120% 80% at 30% 20%, #e9dfd4, transparent 60%), linear-gradient(160deg, #b8a99a, #6f6459); }
.t1 .bp-img { background: radial-gradient(90% 70% at 70% 30%, #e7ddd2, transparent 60%), linear-gradient(200deg, #9aa3a6, #4f5658); }
.t2 .bp-img { background: radial-gradient(90% 80% at 40% 40%, #f3ebe4, transparent 60%), linear-gradient(170deg, #d8c6b8, #8d7b6f); }
.bp-tile small { color: var(--ink-3); }
.bp-tile span { justify-self: start; margin-top: 4px; font-size: 12px; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
[data-layout="grid"] .bp-tiles, [data-layout="cards"] .bp-tiles { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(3, minmax(0, 1fr)); }
[data-layout="cards"] .bp-tile { padding: 10px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--paper-2); }
[data-layout="cards"] .bp-img { aspect-ratio: 1; }
.bp-slots { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 20px 14px; }
.bp-slots span { padding: 7px 11px; border: 1px solid var(--line); border-radius: var(--r-control); font-size: 13px; }
.bp-slots .day { border-color: transparent; padding-left: 0; font-weight: 650; }
.bp-slots span.on { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }
.booking-page .fake-btn { margin: 0 20px; }

/* Firma */
.sign-demo { display: grid; gap: 12px; }
.doc-title { font-size: 26px; }
.doc-body { font-size: 14px; color: var(--ink-2); }
.pad { position: relative; height: 150px; border: 1px dashed var(--ink-3); border-radius: var(--r-card); background: var(--paper-2); touch-action: none; }
.pad canvas { width: 100%; height: 100%; display: block; cursor: crosshair; }
.pad-hint { position: absolute; inset: auto 0 12px; text-align: center; font-size: 13px; color: var(--ink-3); pointer-events: none; }
.pad.has-ink .pad-hint { display: none; }
.pad-actions { display: flex; gap: 10px; justify-content: flex-end; }
.pad-actions .btn:disabled { opacity: .45; cursor: not-allowed; }
.signed-msg { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 14px; border-radius: var(--r-card); background: var(--ok-bg); color: var(--ok); font-size: 14px; font-weight: 600; }
.signed-msg[hidden] { display: none; }
.signed-msg svg { width: 18px; height: 18px; }
.link-btn { margin-left: auto; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
.sign-demo.signed .pad { border-style: solid; border-color: var(--ok); }

/* Correo */
.mail-demo { display: grid; gap: 14px; justify-items: stretch; }
.mail-demo .seg { justify-self: start; }
.mail-demo .panel { display: grid; gap: 12px; }
.mail-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }

/* Bossy */
.bossy-demo { position: relative; display: grid; gap: 18px; padding-bottom: 76px; }
.bossy-demo .chat { min-height: 190px; align-content: start; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips .small { width: 100%; }
.chip { border: 1px solid var(--line); background: var(--paper-2); color: var(--ink); border-radius: 999px; padding: 8px 14px; font: 500 14px/1.3 var(--sans); cursor: pointer; text-align: left; }
.chip:hover { background: var(--sand); }
.chip[aria-pressed="true"] { background: var(--brand); color: var(--on-brand); border-color: var(--brand); }
.launcher { position: absolute; right: 18px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; background: var(--brand); color: var(--on-brand); font-size: 14px; font-weight: 650; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .5); }
.launcher svg { width: 17px; height: 17px; }
.bubble span { display: block; }

/* Gestión */
.manage-demo { display: grid; gap: 18px; }
.manage-demo .seg { justify-self: start; }
.result { padding: 20px; border-radius: var(--r-card); background: color-mix(in srgb, var(--ok) 14%, var(--paper)); border: 1px solid color-mix(in srgb, var(--ok) 30%, transparent); display: grid; gap: 2px; }
.result small { color: var(--ok); font-weight: 650; font-size: 12px; }
.result strong { font-size: 52px; line-height: 1; color: var(--ink); }
.result span { color: var(--ink-2); font-size: 13px; }
.chart { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; height: 150px; margin-top: 18px; }
.chart span { display: grid; grid-template-rows: 1fr auto; height: 100%; gap: 6px; }
.chart i { align-self: end; height: var(--h); background: var(--ink); border-radius: 4px 4px 0 0; opacity: .85; }
.chart span:last-child i { opacity: .4; }
.chart b { font-size: 12px; font-weight: 500; color: var(--ink-3); text-align: center; }
.row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.row.total { border-bottom: 0; padding-top: 18px; }
.row.total b { font-size: 34px; font-weight: 500; }
.q-title { display: block; font-size: 24px; margin-bottom: 6px; }
.row.client { justify-content: flex-start; }
.row.client .pill { margin-left: auto; }
.row.client small { display: block; color: var(--ink-3); font-size: 12px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); font-weight: 650; flex: none; }
.features.one { grid-template-columns: minmax(0, 1fr); }

/* Precio */
.price-demo { display: grid; gap: 18px; justify-items: start; padding: clamp(22px, 3vw, 36px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-card); }
.price-demo .price-figure { margin: 4px 0 0; }
.price-lines { display: grid; gap: 4px; font-size: 15px; color: var(--ink-2); }
.price-lines .save { color: var(--ok); font-weight: 600; }
.price-lines [hidden] { display: none; }
.included span { display: inline-flex; align-items: center; gap: 6px; }
.included svg { width: 14px; height: 14px; color: var(--ok); }

/* Cómo funciona con el formulario al lado */
.how-split .flow li { grid-template-columns: 56px minmax(0, 1fr); }
.how-split .flow li > div { display: grid; gap: 8px; }

@media (max-width: 980px) {
  .sticky { position: static; }
  .app-body { grid-template-columns: minmax(0, 1fr); }
  .app-side { display: none; }
}
@media (max-width: 640px) {
  .on-brand .step em { font-size: 11px; }
  .res-table th:nth-child(2), .res-table td:nth-child(2) { display: none; }
  [data-layout="grid"] .bp-tiles, [data-layout="cards"] .bp-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  [data-layout="grid"] .bp-tile.t2, [data-layout="cards"] .bp-tile.t2 { display: none; }
  .dates { width: 100%; }
  .chart { height: 120px; }
  .result strong { font-size: 42px; }
}
.signed-msg span { flex: 1 1 220px; }
.signed-msg .link-btn { margin-left: 0; }

/* Vende más / Clientes que vuelven */
.sales-demo, .clients-demo { display: grid; gap: 18px; }
.sales-demo .seg, .clients-demo .seg { justify-self: start; }
.coupon-code { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px dashed var(--ok); border-radius: 10px; margin-bottom: 6px; }
.coupon-code b { letter-spacing: .08em; }
.gift-voucher { display: grid; gap: 6px; justify-items: center; text-align: center; padding: 26px 20px; border: 1px solid var(--line); border-radius: 12px; background: #f5f2ed; color: #33302e; }
.gift-voucher .gv-logo svg { height: 22px; width: auto; }
.gift-voucher strong { font-size: 30px; }
.gift-voucher small { color: #6e6c68; letter-spacing: .08em; }
.gift-voucher .gv-code { margin-top: 10px; padding: 10px 18px; border: 1px solid #8a847c; background: #fff; letter-spacing: .06em; }
.wa-to { display: flex; align-items: center; gap: 8px; }
.wa-to svg { width: 18px; height: 18px; color: #25d366; }
.wa-msg { margin: 0; padding: 14px 16px; border-radius: 12px 12px 12px 2px; background: #dcf8c6; color: #1f1e1c; line-height: 1.5; }
.wa-foot { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.wa-foot small { color: var(--ink-3); }
.row.qa span { color: var(--ink-2); }
@media (max-width: 520px) { .sales-demo .seg { flex-wrap: nowrap; } .sales-demo .seg [data-tab] { padding-inline: 9px; font-size: 13px; white-space: nowrap; } }
