body{margin:0}img{max-width:100%}[hidden]{display:none!important}

/* La Vela Encendida, V2 — see DESIGN.md and .impeccable/surfaces/lucia-html.md.
   Centered editorial hero; the phone and two printed/branded objects float in one cempasúchil glow (the only gradient).
   Sections alternate centered / split / split-reversed. Action Green is reserved for "Agende una demostración". */
:root {
  --bg: #F3F5F2;
  --surface: #FFFFFF;
  --ink: #1A2A2E;
  --muted: #53646A;
  --line: #D8DFDA;
  --marigold: #9C5508;
  --marigold-bright: #E8901A;
  --marigold-soft: #FBEAD2;
  --glow: rgba(232, 144, 26, 0.42);
  --glow-soft: rgba(232, 144, 26, 0.16);
  --focus: #9C5508;
  --action: #137547;
  --action-hover: #0F6640;
  --action-ink: #FFFFFF;
  --status: #137547;
  --chat: #EAE5DB;
  --bubble-in: #FFFFFF;
  --bubble-out: #D6EFD9;
  --time: #53646A;
  --time-out: #44585A;
  --frame-a: #2B3B40;
  --frame-b: #0E1719;
  --object: #FFFFFF;
  --band-bg: #1A2A2E;
  --band-fg: #F3F5F2;
  --band-muted: #B9C6C4;
  --band-focus: #F0A447;
  --band-glow: rgba(240, 164, 71, 0.16);
  --logo-ground: #FFFFFF; /* the logo's own white ground, identical in both themes */
  --guard-bg: #FBEAD2;
  --guard-fg: #5E3305;
  --shadow: rgba(10, 25, 28, 0.42);
  --shadow-soft: rgba(10, 25, 28, 0.16);

  --font-display: "Young Serif", Georgia, "Times New Roman", serif;
  --font-body: "FAC Digits", "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: 0.9375rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.4rem, 3.2vw, 1.75rem);
  --step-3: clamp(1.9rem, 4.6vw, 3rem);
  --step-hero: clamp(2.6rem, 5.6vw, 4.4rem);
  --stage-top: clamp(12px, 1vw, 14px);

  --space-section: clamp(80px, 12vw, 148px);
  --radius: 16px;
  --header-h: 68px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0F181A; --surface: #162226; --ink: #E6ECE9; --muted: #9DAEB0; --line: #26363A;
    --marigold: #F0A447; --marigold-bright: #F0A447; --marigold-soft: #33240F;
    --glow: rgba(240, 164, 71, 0.30); --glow-soft: rgba(240, 164, 71, 0.11); --focus: #F0A447;
    --action: #1A8553; --action-hover: #146B43; --action-ink: #FFFFFF; --status: #5CC994;
    --chat: #10201E; --bubble-in: #1D2B2F; --bubble-out: #1B4632; --time: #9DAEB0; --time-out: #C3D3CB;
    --frame-a: #3A4B50; --frame-b: #070C0D; --object: #1B282C;
    --band-bg: #1B2B22; --band-fg: #EEF2EE; --band-muted: #A9BAB2; --band-focus: #F0A447; --band-glow: rgba(240, 164, 71, 0.16);
    --guard-bg: #33240F; --guard-fg: #F6D3A5;
    --shadow: rgba(0, 0, 0, 0.72); --shadow-soft: rgba(0, 0, 0, 0.4);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0F181A; --surface: #162226; --ink: #E6ECE9; --muted: #9DAEB0; --line: #26363A;
  --marigold: #F0A447; --marigold-bright: #F0A447; --marigold-soft: #33240F;
  --glow: rgba(240, 164, 71, 0.30); --glow-soft: rgba(240, 164, 71, 0.11); --focus: #F0A447;
  --action: #1A8553; --action-hover: #146B43; --action-ink: #FFFFFF; --status: #5CC994;
  --chat: #10201E; --bubble-in: #1D2B2F; --bubble-out: #1B4632; --time: #9DAEB0; --time-out: #C3D3CB;
  --frame-a: #3A4B50; --frame-b: #070C0D; --object: #1B282C;
  --band-bg: #1B2B22; --band-fg: #EEF2EE; --band-muted: #A9BAB2; --band-focus: #F0A447; --band-glow: rgba(240, 164, 71, 0.16);
  --guard-bg: #33240F; --guard-fg: #F6D3A5;
  --shadow: rgba(0, 0, 0, 0.72); --shadow-soft: rgba(0, 0, 0, 0.4);
  color-scheme: dark;
}

/* Numerals: Atkinson Hyperlegible draws a slashed zero; digits use a plain system sans instead. */
@font-face { font-family: "FAC Digits"; src: local("Helvetica Neue"), local("HelveticaNeue"), local("Arial"), local("ArialMT"), local("Roboto"), local("Segoe UI"); font-weight: 400; unicode-range: U+0030-0039; }
@font-face { font-family: "FAC Digits"; src: local("Helvetica Neue Bold"), local("HelveticaNeue-Bold"), local("Arial Bold"), local("Arial-BoldMT"), local("Roboto Bold"), local("Segoe UI Bold"); font-weight: 700; unicode-range: U+0030-0039; }

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scrollbar-color: var(--line) var(--bg); }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: var(--step-0); line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent; caret-color: var(--marigold); accent-color: var(--action);
  overflow-x: clip;
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.12; text-wrap: balance; margin: 0; }
p, ul, ol { margin: 0; }
p { text-wrap: pretty; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a, button { touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 8px; }
[id] { scroll-margin-top: calc(var(--header-h) + 24px); }
::selection { background: var(--marigold-soft); color: var(--ink); }

.wrap { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: 20px; }
section { padding-block: var(--space-section); }
.rule { border-top: 1px solid var(--line); }
.stack { display: flex; flex-direction: column; gap: 20px; }
.h2 { font-size: var(--step-3); letter-spacing: -0.01em; }
.h3 { font-size: var(--step-2); }
.lede { font-size: var(--step-1); line-height: 1.5; max-width: 58ch; }
.terms { font-weight: 700; color: var(--marigold); }
.muted { color: var(--muted); }
.placeholder { color: var(--muted); font-style: italic; }
.tag { display: inline-block; font-size: 0.875rem; font-weight: 700; color: var(--muted); border: 1px solid var(--line); border-radius: 6px; padding: 1px 7px; }

/* Checks: marigold marks, never pills */
.checks { list-style: none; padding: 0; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; }
.checks svg { width: 22px; height: 22px; margin-top: 3px; color: var(--marigold); }

/* Button: the single action */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 14px 30px; border-radius: 999px;
  font: 700 var(--step-0)/1.25 var(--font-body); text-decoration: none; text-align: center;
  background: var(--action); color: var(--action-ink);
  box-shadow: 0 10px 22px -14px var(--shadow);
  transition: transform .3s var(--ease-out), background-color .2s ease, box-shadow .3s var(--ease-out);
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: scale(0.97); }
@media (hover: hover) {
  .btn:hover { background: var(--action-hover); transform: translateY(-2px); box-shadow: 0 16px 28px -16px var(--shadow); }
}
.note { color: var(--muted); font-size: var(--step--1); }
@media (max-width: 559px) { .btn.wide-sm { width: 100%; } }

/* Guard: visible only while CONFIG.bookingUrl is empty */
.guard { background: var(--guard-bg); color: var(--guard-fg); font-size: var(--step--1); font-weight: 700; text-align: center; padding: 8px 20px; }
.guard-note { font-size: var(--step--1); font-weight: 700; color: var(--band-focus); }
.alt-contact { font-size: var(--step--1); color: var(--band-muted); }
.alt-contact a { display: inline-flex; align-items: center; min-height: 44px; color: var(--band-fg); font-weight: 700; }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: var(--header-h); }
.brand { display: flex; flex-direction: column; justify-content: center; min-height: 44px; text-decoration: none; line-height: 1.1; }
.brand b { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.3rem, 4.6vw, 1.6rem); letter-spacing: -0.01em; white-space: nowrap; }
.brand small { font-size: 0.875rem; color: var(--muted); }
.site-header .btn { min-height: 46px; padding: 10px 20px; font-size: 0.95rem; box-shadow: none; white-space: nowrap; }
@media (max-width: 559px) { .site-header .btn { display: none; } }

/* 1. Hero */
.hero { padding-block: clamp(20px, 2.4vw, 28px) 0; text-align: center; overflow: hidden; position: relative; }
.hero-copy { max-width: 1160px; margin-inline: auto; display: flex; flex-direction: column; align-items: center; gap: 12px; position: relative; z-index: 2; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: var(--step-0); color: var(--muted); }
.eyebrow svg { width: 16px; height: 16px; color: var(--marigold-bright); flex: none; }
.hero h1 { font-size: var(--step-hero); letter-spacing: -0.02em; line-height: 1.04; max-width: 30ch; }
.hero .lede { max-width: 66ch; color: var(--muted); }
.hero .action { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 4px; width: 100%; }

/* Stage: phone rising from the bottom edge, inside the candle glow */
.stage-wrap { position: relative; }
.stage { overflow: hidden; position: relative; height: clamp(460px, 46vw, 660px); margin-top: var(--stage-top); perspective: 1500px; }
.stage::before {
  content: ""; position: absolute; left: 50%; top: -6%; width: min(1180px, 150vw); height: 150%;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, var(--glow), var(--glow-soft) 55%, transparent 100%);
  pointer-events: none;
}
.device-tilt { position: absolute; left: 50%; top: 0; transform: translateX(-50%) rotateY(-14deg) rotateX(10deg) rotateZ(3deg) scale(var(--phone-scale, 1.24)); transform-origin: 50% 0; }
.device {
  position: relative; width: clamp(272px, 30vw, 372px); aspect-ratio: 9 / 19.3;
  border-radius: 58px; padding: 12px;
  background: linear-gradient(150deg, var(--frame-a), var(--frame-b) 60%);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.10), inset 0 0 0 5px rgba(0, 0, 0, 0.5),
              0 60px 90px -40px var(--shadow), 0 24px 40px -30px var(--shadow);
}
.device::before, .device::after { content: ""; position: absolute; width: 4px; border-radius: 2px; background: var(--frame-a); }
.device::before { left: -4px; top: 20%; height: 9%; }
.device::after { right: -4px; top: 26%; height: 14%; }
.screen { position: relative; height: 100%; border-radius: 46px; overflow: hidden; background: var(--chat); display: flex; flex-direction: column; text-align: left; }
.island { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 31%; height: 30px; border-radius: 20px; background: #05090A; z-index: 3; }
.statusbar { display: flex; justify-content: space-between; align-items: center; padding: 11px 26px 2px; font-size: 0.875rem; font-weight: 700; background: var(--surface); font-variant-numeric: tabular-nums; }
.statusbar i { display: inline-block; width: 22px; height: 11px; border: 1.5px solid currentColor; border-radius: 3px; position: relative; opacity: .8; }
.statusbar i::after { content: ""; position: absolute; inset: 1.5px 6px 1.5px 1.5px; background: currentColor; border-radius: 1px; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 8px 16px 10px; background: var(--surface); border-bottom: 1px solid var(--line); }
.chat-head .back { width: 18px; height: 18px; color: var(--status); flex: none; }
.avatar { width: 38px; height: 38px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--marigold-soft); color: var(--marigold); font-family: var(--font-display); font-size: 1.1rem; }
.avatar svg { width: 18px; height: 18px; }
.chat-id { min-width: 0; line-height: 1.25; }
.chat-name { display: block; font-weight: 700; font-size: 1rem; }
.chat-status { font-size: 0.875rem; color: var(--status); font-weight: 700; }
.chat { display: flex; flex-direction: column; gap: 8px; padding: 10px 12px; flex: 1; }
.day { align-self: center; font-size: 0.75rem; color: var(--time); background: var(--surface); padding: 2px 10px; border-radius: 8px; }
.msg { max-width: 88%; padding: 8px 11px 6px; border-radius: 12px; font-size: 0.9375rem; line-height: 1.42; box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06); }
.msg time { display: block; text-align: right; font-size: 0.72rem; color: var(--time); margin-top: 2px; font-variant-numeric: tabular-nums; }
.msg.in { align-self: flex-start; background: var(--bubble-in); border-top-left-radius: 4px; }
.msg.out { align-self: flex-end; background: var(--bubble-out); border-top-right-radius: 4px; }
.msg.out time { color: var(--time-out); }
.typing { align-self: flex-start; display: none; gap: 4px; padding: 12px 14px; border-radius: 12px; border-top-left-radius: 4px; background: var(--bubble-in); }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--time); animation: blink 1s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }

/* Floating objects: the hero's printed card and branded assistance card */
.object {
  position: absolute; background: var(--object); border-radius: var(--radius); text-align: left;
  box-shadow: 0 30px 50px -28px var(--shadow), 0 2px 6px var(--shadow-soft), 0 0 0 1px color-mix(in srgb, var(--ink) 8%, transparent);
  transform: translateY(calc(var(--py, 0px) + var(--enter, 0px))) rotate(var(--rot, 0deg));
}
.qr-card { --rot: -6deg; width: 206px; padding: 18px; left: calc(50% - clamp(440px, 37vw, 520px)); top: calc(var(--stage-top) + 4%); display: flex; flex-direction: column; gap: 12px; }
.qr-brand { display: flex; align-items: center; gap: 8px; }
.qr-brand svg { width: 18px; height: 18px; color: var(--marigold-bright); flex: none; }
.qr-brand b { font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; line-height: 1.15; }
.qr-sub { font-size: 0.875rem; color: var(--muted); line-height: 1.35; }
.qr { width: 100%; aspect-ratio: 1; background: #FFFFFF; border-radius: 10px; padding: 10px; }
.qr svg { width: 100%; height: 100%; display: block; }
.qr-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 0.875rem; font-weight: 700; }
.assist-card { --rot: 3deg; width: 268px; padding: 16px 18px 18px; left: calc(50% + clamp(230px, 20vw, 300px)); top: calc(var(--stage-top) + 16%); display: flex; flex-direction: column; gap: 10px; }
.assist-head { display: flex; align-items: center; gap: 10px; font-size: 0.875rem; font-weight: 700; line-height: 1.25; }
.assist-head .avatar { width: 30px; height: 30px; font-size: 0.95rem; }
.progress { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; }
.progress i { height: 5px; border-radius: 3px; background: var(--line); }
.progress i.on { background: var(--marigold-bright); }
.assist-step { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.875rem; color: var(--muted); font-weight: 700; }
.assist-title { font-family: var(--font-display); font-size: 1.35rem; line-height: 1.15; }
.assist-item { display: grid; grid-template-columns: 20px 1fr; gap: 8px; font-size: 0.9375rem; line-height: 1.4; }
.assist-item svg { width: 18px; height: 18px; margin-top: 2px; color: var(--status); }
.demo-note { text-align: center; padding: 18px 20px 0; font-size: var(--step--1); color: var(--muted); position: relative; z-index: 2; }

@media (max-width: 1023px) {
  .device-tilt { --phone-scale: 1.15; }
  .qr-card { left: 2%; top: calc(var(--stage-top) + 6%); width: 180px; }
  .assist-card { left: auto; right: 2%; top: calc(var(--stage-top) + 30%); width: 240px; }
}
@media (max-width: 759px) {
  .stage { height: clamp(400px, 118vw, 500px); }
  .device-tilt { --phone-scale: 1; transform: translateX(-50%) rotateY(-8deg) rotateX(8deg) rotateZ(2deg); }
  .device { width: min(76vw, 300px); border-radius: 48px; padding: 10px; }
  .screen { border-radius: 38px; }
  .hero-objects { display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 12px; align-items: start; padding: 0 20px; margin-top: 18px; position: relative; z-index: 3; }
  .hero-objects .object { position: relative; left: auto; right: auto; top: auto; width: auto; --rot: 0deg; }
  .hero-objects .qr-card { padding: 11px; gap: 7px; }
  .hero-objects .qr-card .qr-sub, .hero-objects .qr-card .qr-foot .tag { display: none; }
  .hero-objects .qr-brand b { font-size: 0.9rem; }
  .hero-objects .qr { padding: 5px; }
  .hero-objects .qr-foot { font-size: 0.875rem; line-height: 1.25; }
  .hero-objects .assist-card { padding: 12px 14px 14px; gap: 8px; }
  .hero-objects .assist-title { font-size: 1.15rem; }
  .hero .msg { font-size: 1rem; }
}
@media (min-width: 760px) { .hero-objects { display: contents; } }

/* 2. Opportunity */
.statement { font-family: var(--font-display); font-size: var(--step-3); line-height: 1.15; letter-spacing: -0.01em; text-align: center; max-width: 22ch; margin-inline: auto; }
.statement-sub { text-align: center; max-width: 56ch; margin: 22px auto 0; color: var(--muted); font-size: var(--step-1); line-height: 1.5; }
.compare { display: grid; gap: 40px; margin-top: clamp(48px, 7vw, 80px); }
@media (min-width: 880px) { .compare { grid-template-columns: 1fr 1fr; gap: 0; } .compare > div + div { border-left: 1px solid var(--line); padding-left: 56px; } .compare > div:first-child { padding-right: 56px; } }
.compare h3 { font-size: var(--step-2); margin-bottom: 20px; }
.needs { list-style: none; padding: 0; display: grid; }
.needs li { padding-block: 14px; border-top: 1px solid var(--line); display: flex; gap: 14px; align-items: baseline; }
.needs li:last-child { border-bottom: 1px solid var(--line); }
.needs span { font-family: var(--font-display); color: var(--marigold); min-width: 1.6em; }
.gains { list-style: none; padding: 0; display: grid; }
.gains li { padding-block: 14px; border-top: 1px solid var(--line); display: grid; gap: 2px; }
.gains li:last-child { border-bottom: 1px solid var(--line); }
.gains strong { font-size: var(--step-1); }

/* 3. Stage 1 — modular demo grid */
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.grid6 { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px; justify-content: flex-start; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.tile h3 { font-family: var(--font-body); font-weight: 700; font-size: var(--step-1); display: flex; gap: 10px; align-items: baseline; }
.tile h3 span { font-family: var(--font-display); font-weight: 400; color: var(--marigold); }
.tile-copy { display: flex; flex-direction: column; gap: 14px; }
.tile-copy p, .tile > p { color: var(--muted); }
.mini { background: var(--chat); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 8px; flex: 0 0 auto; }
.mini .msg { max-width: 100%; font-size: 0.9375rem; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { background: var(--surface); color: var(--status); border: 1px solid color-mix(in srgb, var(--status) 35%, transparent); border-radius: 10px; padding: 5px 10px; font-size: 0.875rem; font-weight: 700; }
.doclist { list-style: none; padding: 0; display: grid; gap: 6px; font-size: 0.9375rem; }
.doclist li { display: flex; align-items: center; gap: 8px; background: var(--surface); border-radius: 8px; padding: 6px 10px; }
.doclist svg { width: 16px; height: 16px; flex: none; }
.doclist .ok svg { color: var(--status); }
.doclist .miss { color: var(--muted); }
.doclist .miss svg { color: var(--muted); }
.count { font-size: 0.875rem; font-weight: 700; color: var(--marigold); }
.steps-mini { list-style: none; padding: 0; display: grid; gap: 8px; }
.steps-mini li { display: grid; grid-template-columns: 22px 1fr; gap: 8px; font-size: 0.9375rem; background: var(--surface); border-radius: 10px; padding: 8px 10px; }
.steps-mini li svg { width: 18px; height: 18px; margin-top: 2px; color: var(--status); }
.steps-mini li.key { background: var(--marigold-soft); font-weight: 700; }
.steps-mini li.key svg { color: var(--marigold); }
.warn { background: var(--marigold-soft); color: var(--ink); border-radius: 12px; padding: 10px 12px; display: grid; grid-template-columns: 20px 1fr; gap: 8px; font-size: 0.9375rem; line-height: 1.42; }
.warn svg { width: 18px; height: 18px; margin-top: 2px; color: var(--marigold); }
.draft { background: var(--surface); border-radius: 12px; padding: 14px; font-size: 0.9375rem; line-height: 1.5; }
.draft .slot { color: var(--marigold); font-weight: 700; }
.draft-actions { display: flex; gap: 8px; flex-wrap: wrap; font-size: 0.875rem; font-weight: 700; }
.draft-actions span { border: 1px solid var(--line); border-radius: 10px; padding: 5px 10px; background: var(--surface); }

@media (max-width: 1023px) {
  .grid6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 679px) {
  .grid6 { grid-template-columns: minmax(0, 1fr); }
}
.legend { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--muted); font-size: var(--step--1); }

/* Splits */
.split { display: grid; gap: clamp(40px, 6vw, 80px); align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; } .split.reverse > :first-child { order: 2; } }

/* 4. Stage 2 — the handoff */
.handoff { display: flex; flex-direction: column; gap: 14px; max-width: 460px; margin-inline: auto; width: 100%; }
.thread { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.thread .chat { background: var(--chat); padding: 12px; }
.consent { align-self: center; display: inline-flex; align-items: center; gap: 8px; font-size: 0.9375rem; font-weight: 700; color: var(--status); }
.consent svg { width: 18px; height: 18px; }
.consent::before, .consent::after { content: ""; width: 28px; height: 1px; background: var(--line); }
.inventory { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 18px; display: grid; gap: 10px; }
.inventory-head { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.inventory-head b { font-size: var(--step-0); }
.inv-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 12px; background: var(--chat); border-radius: 10px; font-size: 0.9375rem; }
.inv-row em { font-style: normal; font-weight: 700; color: var(--marigold); white-space: nowrap; }
.reviewed { display: flex; align-items: center; gap: 8px; font-size: 0.875rem; color: var(--muted); }
.reviewed svg { width: 16px; height: 16px; color: var(--status); flex: none; }
.limit { font-family: var(--font-display); font-size: var(--step-2); line-height: 1.3; }
.fine { font-size: var(--step-0); color: var(--muted); max-width: 62ch; }
#etapa-2 .eyebrow { align-self: flex-start; font-weight: 700; color: var(--marigold); }
.handoff-step { display: flex; align-items: baseline; gap: 10px; font-size: 0.9375rem; font-weight: 700; color: var(--muted); }
.handoff-step b { font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; color: var(--marigold); line-height: 1; }
.avatar-logo { width: 48px; height: 48px; border-radius: 12px; background: var(--logo-ground); object-fit: contain; padding: 0; }
.thread-lucia { border-color: color-mix(in srgb, var(--marigold) 35%, var(--line)); }
.thread-lucia .chat-status { color: var(--muted); }

/* 5. White label */
.brand-visual { position: relative; min-height: 440px; display: grid; place-items: center; }
.brand-visual::before { content: ""; position: absolute; inset: 6% 10%; background: radial-gradient(closest-side, var(--glow-soft), transparent); pointer-events: none; }
.brand-visual .qr-card { position: relative; left: auto; top: auto; --rot: -3deg; width: 270px; padding: 22px; margin-right: 26%; }
.brand-visual .qr-card .qr-brand b { font-size: 1.4rem; }
.brand-visual .greet { position: absolute; right: 0; top: 34%; width: min(280px, 72%); padding: 14px; --rot: 2deg; background: var(--chat); }
.brand-visual .greet .msg { max-width: 100%; }
@media (max-width: 759px) {
  .brand-visual { min-height: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; padding-block: 8px; }
  .brand-visual .qr-card { width: 230px; margin-right: 0; --rot: 0deg; }
  .brand-visual .greet { --rot: 0deg; }
  .brand-visual .greet { position: relative; right: auto; bottom: auto; align-self: flex-end; width: min(280px, 86%); }
}
.onboard-title { margin-top: clamp(56px, 7vw, 88px); }
.onboard { list-style: none; padding: 0; display: grid; gap: 24px; counter-reset: step; margin-top: 28px; }
@media (min-width: 760px) { .onboard { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.onboard li { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line); font-size: var(--step-1); line-height: 1.4; }
.onboard li::before { counter-increment: step; content: counter(step); font-family: var(--font-display); color: var(--marigold); font-size: 2.2rem; line-height: 1; }
.invite { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; margin-top: clamp(40px, 5vw, 56px); padding: clamp(22px, 3vw, 30px); background: var(--surface); border: 1px solid var(--line); border-radius: 20px; }
.invite p { font-family: var(--font-display); font-size: var(--step-2); }

/* 6. Trust */
.trust { display: grid; gap: 40px; margin-top: clamp(32px, 4vw, 48px); }
@media (min-width: 880px) { .trust { grid-template-columns: 1fr 1fr; gap: 64px; } }
.trust h3 { font-size: var(--step-2); margin-bottom: 18px; }

/* 7. Founding partners */
.founders { background: var(--band-bg); color: var(--band-fg); text-align: center; position: relative; overflow: hidden; }
.founders::before { content: ""; position: absolute; left: 50%; bottom: -30%; width: min(900px, 140vw); height: 90%; transform: translateX(-50%); background: radial-gradient(closest-side, var(--band-glow), transparent); pointer-events: none; }
.founders .wrap { position: relative; display: flex; flex-direction: column; align-items: center; gap: 24px; max-width: 820px; }
.founders .h2 { font-size: clamp(2.1rem, 5.4vw, 3.6rem); color: var(--band-fg); max-width: 18ch; }
.founders p { color: var(--band-muted); max-width: 56ch; }
.founders .lede strong { color: var(--band-fg); }
.founders :focus-visible { outline-color: var(--band-focus); }
.seats { display: flex; gap: 10px; align-items: center; }
.seats i { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--band-focus); }
.seats span { font-size: var(--step--1); margin-left: 6px; color: var(--band-muted); }

/* Footer */
footer { padding-block: 44px 64px; font-size: var(--step--1); color: var(--muted); }
footer .wrap { display: grid; gap: 20px; }
@media (min-width: 760px) { footer .wrap { grid-template-columns: 1fr 1fr; } }
footer .stack { gap: 6px; }
footer strong { color: var(--ink); }

/* Sticky booking bar (phones) */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .4s var(--ease-out);
}
.dock .btn { width: 100%; min-height: 52px; box-shadow: none; }
.dock.show { transform: none; }
@media (min-width: 560px) { .dock { display: none; } }
@media (max-width: 559px) { footer { padding-bottom: 120px; } html { scroll-padding-bottom: 96px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
