/* Brindis · sistema visual
   Layout: editorial asimétrico en la web; paneles con riel lateral en la app.
   Paleta: marfil, salvia y vino profundo con detalles en champán. */
:root {
  --bg: #f8f5ef;
  --bg-2: #efe9de;
  --surface: #fffdf9;
  --ink: #2b1a22;
  --muted: #5a4d52;
  --faint: #847671;
  --line: #e7ddcf;
  --accent: #7a2348;
  --accent-ink: #ffffff;
  --accent-soft: #f1e1e6;
  --gold: #8a6631;
  --sage: #e7ebdd;
  --sage-ink: #5d6f4c;
  --wine-deep: #2a1520;
  --ok: #24704a; --ok-bg: #def1e6;
  --warn: #8f5a0b; --warn-bg: #fbeed5;
  --bad: #a3302f; --bad-bg: #f9e0df;
  --info: #3a5a86; --info-bg: #e2eaf6;
  --shadow-sm: 0 1px 2px rgba(36, 20, 31, .06);
  --shadow: 0 1px 2px rgba(36, 20, 31, .05), 0 10px 30px -12px rgba(36, 20, 31, .18);
  --f-display: 'Newsreader', Georgia, 'Times New Roman', serif;
  --f-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --r: 14px;
  --r-lg: 22px;
  --wrap: 1160px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #140d12; --bg-2: #1c1219; --surface: #1f151d; --ink: #f4e9ef; --muted: #bba7b4; --faint: #9a8794; --line: #3a2a35;
    --accent: #e996bd; --accent-ink: #2b0d1c; --accent-soft: #3b2130; --gold: #d8b27a; --sage: #1f2419; --sage-ink: #b6c6a2; --wine-deep: #0f080c;
    --ok: #86d3a6; --ok-bg: #173226; --warn: #ecbd6f; --warn-bg: #362812; --bad: #f29a95; --bad-bg: #3a1c1e; --info: #9fc0ef; --info-bg: #1b2a40;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3); --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px -12px rgba(0, 0, 0, .55);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #140d12; --bg-2: #1c1219; --surface: #1f151d; --ink: #f4e9ef; --muted: #bba7b4; --faint: #9a8794; --line: #3a2a35;
  --accent: #e996bd; --accent-ink: #2b0d1c; --accent-soft: #3b2130; --gold: #d8b27a; --sage: #1f2419; --sage-ink: #b6c6a2; --wine-deep: #0f080c;
  --ok: #86d3a6; --ok-bg: #173226; --warn: #ecbd6f; --warn-bg: #362812; --bad: #f29a95; --bad-bg: #3a1c1e; --info: #9fc0ef; --info-bg: #1b2a40;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3); --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 30px -12px rgba(0, 0, 0, .55);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: 16.5px; line-height: 1.65; font-weight: 400; letter-spacing: 0; font-optical-sizing: auto; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body.no-scroll { overflow: hidden; }
img, svg, video { max-width: 100%; display: block; }
.ic { width: 20px; height: 20px; flex: none; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 500; line-height: 1.06; margin: 0; letter-spacing: -.015em; text-wrap: balance; font-optical-sizing: auto; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 400; }
p { margin: 0; }
a { color: inherit; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--accent-soft); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(18px, env(safe-area-inset-left, 0px)); padding-right: max(18px, env(safe-area-inset-right, 0px)); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.tnum { font-variant-numeric: tabular-nums; }
.eyebrow { font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--gold); }
.stack { display: grid; gap: 14px; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.spacer { flex: 1; }
.center { text-align: center; }
[hidden] { display: none !important; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 500; font-size: 15.5px; letter-spacing: .02em; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s, transform .08s, box-shadow .15s; }
.btn:hover { border-color: var(--accent); }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; pointer-events: none; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 18px -8px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-dark { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn-ghost { background: transparent; border-color: transparent; }
.btn-ghost:hover { background: var(--bg-2); border-color: transparent; }
.btn-danger { background: var(--bad); border-color: var(--bad); color: #fff; }
.btn-wa { background: #17804a; border-color: #17804a; color: #fff; }
.btn-wa:hover { filter: brightness(1.08); border-color: #17804a; }
.btn-sm { min-height: 34px; padding: 6px 12px; font-size: 13.5px; }
.btn-lg { min-height: 52px; padding: 14px 26px; font-size: 16.5px; }
.btn-block { width: 100%; }
.btn .ic { width: 18px; height: 18px; flex: none; }
.btn.loading { position: relative; color: transparent !important; pointer-events: none; }
.btn.loading::after { content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; border-color: var(--accent-ink) transparent var(--accent-ink) transparent; animation: spin .7s linear infinite; }
.btn:not(.btn-primary).loading::after { border-color: var(--ink) transparent var(--ink) transparent; }
.link { background: none; border: 0; padding: 0; color: var(--accent); font-weight: 500; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Formularios ---------- */
.field { display: grid; gap: 6px; min-width: 0; align-content: start; }
.field > span, .field > label, .lbl { font-size: 14px; font-weight: 500; }
.hint { font-size: 13px; color: var(--muted); font-weight: 400; }
.input, .select, .textarea { width: 100%; min-height: 46px; border: 1px solid var(--line); background: var(--surface); border-radius: 12px; padding: 10px 13px; font-size: 16px; transition: border-color .15s, box-shadow .15s; }
.textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.input[aria-invalid="true"], .select[aria-invalid="true"] { border-color: var(--bad); }
.err { color: var(--bad); font-size: 13px; font-weight: 600; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 640px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); flex: none; }
.choice { display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid var(--line); border-radius: 14px; padding: 14px; background: var(--surface); cursor: pointer; transition: border-color .15s, background .15s; }
.choice:has(input:checked) { border-color: var(--accent); background: color-mix(in srgb, var(--accent-soft) 55%, var(--surface)); }
.choice input { accent-color: var(--accent); margin-top: 3px; flex: none; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { border: 1px solid var(--line); background: var(--surface); padding: 7px 15px; border-radius: 999px; font-size: 14px; font-weight: 600; cursor: pointer; color: var(--muted); }
.chip[aria-pressed="true"], .chip[aria-checked="true"], .chip.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ---------- Estados ---------- */
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; padding: 3px 10px; border-radius: 999px; white-space: nowrap; line-height: 1.6; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.ok { background: var(--ok-bg); color: var(--ok); }
.pill.warn { background: var(--warn-bg); color: var(--warn); }
.pill.bad { background: var(--bad-bg); color: var(--bad); }
.pill.info { background: var(--info-bg); color: var(--info); }
.pill.neutral { background: var(--bg-2); color: var(--muted); }
.tag { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; background: var(--bg-2); color: var(--muted); }
.tag.accent { background: var(--accent-soft); color: color-mix(in srgb, var(--accent) 82%, #000); }
.notice { border-radius: 14px; padding: 14px 16px; background: var(--info-bg); color: var(--ink); font-size: 14.5px; display: grid; gap: 4px; }
.notice.warn { background: var(--warn-bg); }
.notice.ok { background: var(--ok-bg); }
.notice.bad { background: var(--bad-bg); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; min-width: 0; }
.empty { border: 1.5px dashed var(--line); border-radius: 16px; padding: 28px 18px; text-align: center; color: var(--muted); display: grid; gap: 10px; justify-items: center; }
.skeleton { background: linear-gradient(90deg, var(--bg-2), var(--surface), var(--bg-2)); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: 10px; }
@keyframes sk { to { background-position: -200% 0; } }

/* ---------- Toast y modal ---------- */
.toast { position: fixed; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 16px); background: var(--ink); color: var(--bg); padding: 11px 18px; border-radius: 14px; font-size: 14.5px; font-weight: 600; opacity: 0; transition: opacity .2s, transform .2s; z-index: 200; pointer-events: none; max-width: min(520px, calc(100% - 32px)); text-align: center; box-shadow: var(--shadow); }
.toast[data-kind="error"] { background: var(--bad); color: #fff; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.modal { position: fixed; inset: 0; z-index: 150; background: rgba(20, 8, 16, .55); display: grid; place-items: center; padding: max(14px, env(safe-area-inset-top, 0px)) max(14px, env(safe-area-inset-right, 0px)) max(14px, env(safe-area-inset-bottom, 0px)) max(14px, env(safe-area-inset-left, 0px)); animation: fade .15s; }
.modal-box { background: var(--surface); color: var(--ink); border-radius: 22px; width: min(540px, 100%); max-height: calc(100dvh - 28px); overflow: auto; padding: 24px; display: grid; gap: 16px; box-shadow: 0 30px 80px rgba(0, 0, 0, .3); }
.modal-box.wide { width: min(820px, 100%); }
.modal-box h2 { font-size: 26px; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
@keyframes fade { from { opacity: 0; } }

/* ---------- Encabezado ---------- */
.promo { background: var(--ink); color: var(--bg); font-size: 14px; text-align: center; padding: 8px 16px; }
.promo a { color: inherit; font-weight: 600; }
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 22px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-family: var(--f-display); font-style: italic; font-weight: 500; font-size: 27px; letter-spacing: -.01em; color: var(--ink); }
.logo svg { width: 30px; height: 30px; color: var(--accent); }
.nav { display: flex; gap: 2px; margin-left: 8px; }
.nav a { text-decoration: none; padding: 8px 12px; border-radius: 999px; color: var(--muted); font-weight: 600; font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: var(--bg-2); }
.head-cta { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); align-items: center; justify-content: center; cursor: pointer; }
.mobile-nav { display: none; }
@media (max-width: 900px) {
  .nav, .head-cta .hide-m { display: none; }
  .menu-btn { display: inline-flex; }
  .mobile-nav.open { display: grid; gap: 4px; padding: 6px max(18px, env(safe-area-inset-right, 0px)) 16px max(18px, env(safe-area-inset-left, 0px)); border-top: 1px solid var(--line); background: var(--bg); }
  .mobile-nav a { text-decoration: none; padding: 12px 6px; font-weight: 500; font-size: 17px; border-bottom: 1px solid var(--line); }
}

/* ---------- Portada ---------- */
.hero { padding-block: 44px 72px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(44px, 6.6vw, 86px); letter-spacing: -.03em; line-height: .98; font-weight: 500; }
.hero h1 em { font-style: italic; font-weight: 400; color: var(--accent); letter-spacing: -.02em; }
.hero .lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 33em; margin-top: 22px; }
.hero-ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }
.hero-proof { display: flex; gap: 8px 20px; flex-wrap: wrap; margin-top: 24px; color: var(--muted); font-size: 14.5px; font-weight: 600; }
.hero-proof span { display: inline-flex; gap: 7px; align-items: center; }
.hero-proof svg { width: 18px; height: 18px; color: var(--ok); flex: none; }
.stage { position: relative; display: grid; justify-items: center; gap: 16px; min-width: 0; }
.phone { position: relative; width: 300px; max-width: 100%; aspect-ratio: 9 / 18.6; border-radius: 44px; background: #1a1117; padding: 11px; box-shadow: 0 40px 80px -30px rgba(70, 20, 50, .55), inset 0 0 0 1.5px #3b2c35; }
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; width: 82px; height: 22px; border-radius: 12px; background: #0b0709; transform: translateX(-50%); z-index: 3; }
.phone-screen { width: 100%; height: 100%; border-radius: 34px; overflow: hidden; position: relative; background: #fff; }
.phone-screen .phone-scroll { position: absolute; inset: 0; overflow-y: auto; scrollbar-width: none; }
.phone-screen .phone-scroll::-webkit-scrollbar { display: none; }
.tpl-switch { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.tpl-switch button { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 5px 12px 5px 6px; font-size: 13.5px; font-weight: 500; cursor: pointer; color: var(--muted); }
.tpl-switch button i { width: 18px; height: 18px; border-radius: 50%; display: block; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .6); }
.tpl-switch button[aria-pressed="true"] { color: var(--ink); border-color: var(--ink); }
.float-card { position: absolute; left: -26px; bottom: 70px; width: 236px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; box-shadow: var(--shadow); font-size: 13px; z-index: 4; }
.float-card .n { font-family: var(--f-display); font-size: 30px; line-height: 1; }
.float-card .rows { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.float-card .bar { display: flex; height: 7px; border-radius: 99px; overflow: hidden; margin-top: 12px; background: var(--bg-2); }
.float-card .bar span { display: block; }
.float-card.top { left: auto; right: -20px; top: 60px; bottom: auto; width: 210px; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding-block: 24px 48px; }
  .float-card { left: 0; }
  .float-card.top { right: 0; }
}
@media (max-width: 420px) { .float-card { display: none; } }

.trust { border-block: 1px solid var(--line); background: var(--surface); }
.trust .wrap { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; padding-block: 20px; }
.trust div { display: grid; gap: 2px; }
.trust b { font-family: var(--f-display); font-weight: 400; font-size: 21px; }
.trust span { font-size: 13.5px; color: var(--muted); }
@media (max-width: 900px) { .trust .wrap { grid-template-columns: repeat(2, 1fr); } .trust div:last-child { grid-column: 1 / -1; } }

.sec { padding-block: 84px; }
.sec + .sec { border-top: 1px solid var(--line); }
.sec.alt { background: var(--surface); }
.sec-head { display: grid; gap: 12px; max-width: 680px; margin-bottom: 40px; }
.sec-head h2 { font-size: clamp(32px, 4.4vw, 52px); }
.sec-head p { color: var(--muted); font-size: 18.5px; font-weight: 400; }
.sec-head h2 em { color: var(--accent); }
.sec-head .eyebrow { color: var(--gold); font-size: 12.5px; }
@media (max-width: 640px) { .sec { padding-block: 60px; } }

.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.versus > div { border-radius: var(--r-lg); padding: 26px; display: grid; gap: 14px; align-content: start; }
.versus .before { background: var(--bg-2); }
.versus .after { background: var(--ink); color: var(--bg); }
.versus h3 { font-size: 26px; }
.versus ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.versus li { display: flex; gap: 10px; align-items: flex-start; }
.versus li svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.versus .before li svg { color: var(--bad); }
.versus .after li svg { color: #8fd8ac; }
@media (max-width: 760px) { .versus { grid-template-columns: 1fr; } }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.steps li { counter-increment: s; display: grid; gap: 10px; align-content: start; padding-top: 18px; border-top: 2px solid var(--ink); }
.steps li::before { content: "Paso " counter(s); font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--gold); }
.steps h3 { font-size: 23px; }
.steps p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.feature { background: var(--surface); padding: 24px; display: grid; gap: 10px; align-content: start; }
.feature svg { width: 28px; height: 28px; color: var(--accent); }
.feature h3 { font-family: var(--f-display); font-weight: 500; font-size: 21px; letter-spacing: -.005em; }
.feature p { color: var(--muted); font-size: 14.5px; }
.feature .tag { justify-self: start; }
@media (max-width: 980px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .features { grid-template-columns: 1fr; } }

.showcase { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.showcase ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.showcase li { display: flex; gap: 10px; }
.showcase li svg { width: 20px; height: 20px; color: var(--ok); flex: none; margin-top: 3px; }
.mock { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); padding: 18px; display: grid; gap: 14px; min-width: 0; }
.mock-top { display: flex; gap: 6px; }
.mock-top i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-kpis div { border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.mock-kpis b { font-family: var(--f-display); font-weight: 400; font-size: 30px; display: block; line-height: 1.1; }
.mock-kpis span { font-size: 12.5px; color: var(--muted); }
.mock-list { display: grid; }
.mock-list div { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 10px 2px; border-top: 1px solid var(--line); font-size: 14px; }
.mock-list small { color: var(--muted); display: block; font-size: 12.5px; }
@media (max-width: 900px) { .showcase { grid-template-columns: 1fr; } }

.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .models { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .models { grid-template-columns: 1fr; } }
.model { border-radius: var(--r-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); display: grid; grid-template-rows: auto 1fr; transition: transform .2s, box-shadow .2s; }
.model:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.model-prev { text-decoration: none; color: inherit; position: relative; aspect-ratio: 4 / 3.4; overflow: hidden; display: grid; place-items: center; padding: 18px; }
.model-prev .mini-phone { width: 58%; aspect-ratio: 9 / 15; border-radius: 22px; overflow: hidden; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .45); position: relative; }
.model-info { padding: 14px 16px 16px; display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.model-info > .btn { flex: none; margin-top: 2px; }
.model-info :is(h2, h3) { font-size: 22px; }
.model-info p { font-size: 13.5px; color: var(--muted); }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 520px; } }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px 24px; display: grid; gap: 18px; align-content: start; }
.plan.rec { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.plan .badge { position: absolute; top: -13px; left: 22px; background: var(--accent); color: var(--accent-ink); font-size: 12.5px; font-weight: 600; padding: 4px 12px; border-radius: 999px; }
.plan h3 { font-size: 32px; }
.price { font-family: var(--f-display); font-weight: 500; font-size: 52px; line-height: 1; letter-spacing: -.02em; font-variant-numeric: lining-nums; }
.price small { font-family: var(--f-body); font-size: 14.5px; color: var(--muted); letter-spacing: 0; }
.plan .alt { font-size: 14px; color: var(--muted); margin-top: 8px; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 15px; }
.plan li { display: flex; gap: 9px; align-items: flex-start; }
.plan li svg { width: 18px; height: 18px; color: var(--ok); margin-top: 3px; flex: none; }
.plan li.off { color: var(--faint); }
.plan li.off svg { color: var(--faint); }
.addons { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.addons span { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; font-size: 14px; color: var(--muted); }
.addons b { color: var(--ink); }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 36px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.cmp { width: 100%; border-collapse: collapse; min-width: 600px; font-size: 15px; }
.cmp th, .cmp td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: center; }
.cmp tr:last-child td { border-bottom: 0; }
.cmp th:first-child, .cmp td:first-child { text-align: left; }
.cmp thead th { font-family: var(--f-display); font-weight: 400; font-size: 21px; }
.cmp .y { color: var(--ok); } .cmp .n { color: var(--faint); }
.cmp svg { width: 20px; height: 20px; display: inline-block; }

.guarantee { display: grid; grid-template-columns: auto 1fr auto; gap: 26px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; }
.guarantee .seal { width: 92px; height: 92px; border-radius: 50%; border: 2px solid var(--gold); display: grid; place-items: center; text-align: center; font-family: var(--f-display); color: var(--gold); line-height: 1; }
.guarantee .seal b { font-size: 34px; display: block; font-weight: 400; }
.guarantee .seal small { font-family: var(--f-body); font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.guarantee h3 { font-size: 28px; margin-bottom: 6px; }
@media (max-width: 760px) { .guarantee { grid-template-columns: 1fr; text-align: left; } }

.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.quote { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 14px; }
.quote p { font-family: var(--f-display); font-style: italic; font-size: 21px; line-height: 1.4; }
.quote small { color: var(--muted); }

.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 14px; font-size: 16.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--accent); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding-bottom: 18px; color: var(--muted); display: grid; gap: 8px; }

.cta-band { background: var(--ink); color: var(--bg); }
.cta-band .wrap { padding-block: 70px; display: flex; gap: 28px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(30px, 4vw, 48px); max-width: 15em; }
.cta-band .btn { border-color: color-mix(in srgb, var(--bg) 40%, transparent); background: transparent; color: var(--bg); }
.cta-band .btn-primary { background: var(--bg); color: var(--ink); border-color: var(--bg); box-shadow: none; }

/* ---------- Pie ---------- */
.site-footer { padding-block: 64px 36px; font-size: 14.5px; color: #cdbfc3; background: var(--wine-deep); }
.site-footer .logo { color: #f6ece6; }
.site-footer .logo svg { color: #e2bfa0; }
.site-footer .foot-grid :is(h4, .foot-h) { color: #f6ece6; }
.site-footer .foot-grid a:hover { color: #fff; }
.site-footer .foot-legal { border-color: rgba(255,255,255,.12); }
.site-footer .book-link { background: transparent; color: #f6ece6; border-color: rgba(255,255,255,.2); }
.site-footer .book-link svg { color: #e2bfa0; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 28px; }
.foot-grid :is(h4, .foot-h) { font-family: var(--f-body); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); margin-bottom: 12px; font-weight: 600; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { color: var(--ink); text-decoration: underline; }
.foot-legal { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; gap: 12px 24px; flex-wrap: wrap; justify-content: space-between; align-items: center; font-size: 13px; }
.book-link { display: inline-flex; gap: 10px; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; text-decoration: none; color: var(--ink); background: var(--surface); font-weight: 500; }
.book-link svg { width: 26px; height: 26px; color: var(--accent); }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

.wa-float { position: fixed; right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #1f9d55; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 26px -8px rgba(15, 90, 50, .6); transition: transform .15s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Páginas de contenido ---------- */
.page-head { padding-block: 48px 28px; }
.page-head h1 { font-size: clamp(36px, 5vw, 58px); }
.page-head p { color: var(--muted); font-size: 18px; margin-top: 12px; max-width: 40em; }
.prose { max-width: 760px; padding-bottom: 80px; }
.prose h2 { font-size: 28px; margin: 36px 0 12px; }
.prose h3 { font-family: var(--f-body); font-weight: 600; font-size: 18px; margin: 22px 0 8px; letter-spacing: 0; }
.prose p, .prose li { color: var(--ink); margin: 0 0 12px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose .muted { color: var(--muted); }

/* ---------- Reserva ---------- */
.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; padding-bottom: 80px; }
.checkout .summary { position: sticky; top: 88px; }
@media (max-width: 960px) { .checkout { grid-template-columns: 1fr; } .checkout .summary { position: static; } }
.step-card { display: grid; gap: 16px; }
.step-card > h2 { font-size: 24px; display: flex; gap: 12px; align-items: baseline; }
.step-card > h2 .num { font-family: var(--f-body); font-size: 13px; font-weight: 600; color: var(--gold); letter-spacing: .1em; }
.tpl-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.tpl-pick label { cursor: pointer; border: 2px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--surface); display: grid; }
.tpl-pick label:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.tpl-pick .sw { aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 10px; text-align: center; }
.tpl-pick .sw .n { font-size: 26px; line-height: 1; }
.tpl-pick b { padding: 8px 12px; font-size: 14px; display: block; }
.tpl-pick input, .plan-pick input { position: absolute; opacity: 0; pointer-events: none; }
.plan-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.plan-pick label { position: relative; cursor: pointer; border: 2px solid var(--line); border-radius: 16px; padding: 14px; display: grid; gap: 4px; background: var(--surface); }
.plan-pick label:has(input:checked) { border-color: var(--accent); background: color-mix(in srgb, var(--accent-soft) 55%, var(--surface)); }
.plan-pick b { font-family: var(--f-display); font-weight: 400; font-size: 24px; }
.plan-pick small { color: var(--muted); font-size: 13px; }
@media (max-width: 640px) { .plan-pick { grid-template-columns: 1fr; } }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: 15px; }
.sum-row.total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 14px; font-weight: 600; font-size: 19px; }
.pay-box { display: grid; gap: 10px; background: var(--bg-2); border-radius: 16px; padding: 16px; }
.pay-box .num { font-family: var(--f-display); font-size: 30px; }
.copyline { display: flex; gap: 10px; align-items: center; justify-content: space-between; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-weight: 500; }
.copyline span { min-width: 0; overflow-wrap: anywhere; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; } }
.coupon-box { border-top: 1px solid var(--line); padding-top: 14px; }
/* Catálogo: etiquetas, nuevo y subfiltros */
.model-new { position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--ink); color: #fbf6ef; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.model-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.model-tags span { font-size: 11.5px; font-weight: 700; color: var(--muted); background: color-mix(in srgb, var(--ink) 6%, transparent); padding: 2px 8px; border-radius: 999px; }
.subchips { align-items: center; padding: 12px 14px; border-radius: 18px; background: color-mix(in srgb, var(--ink) 4%, transparent); }
.subchips .sub-l { font-size: 13px; font-weight: 800; color: var(--muted); margin-right: 4px; }
.chip.sm { min-height: 34px; padding: 5px 13px; font-size: 14px; }
.model-prev .mini-phone .i-dk-top { margin-top: 0; }
.model-prev .mini-phone .inv { height: 100%; }
.model-prev .mini-phone .i-cover { min-height: 100%; }
/* Selector de diseño en la reserva: mini portada real */
.tpl-pick { grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); }
.tpl-pick .tp-mini { display: block; aspect-ratio: 9 / 14; overflow: hidden; background: var(--i-bg); pointer-events: none; }
.tpl-pick .tp-mini .inv { display: block; height: 100%; box-shadow: none; }
.tpl-pick .tp-mini .i-cover { min-height: 100%; }
.tpl-pick b a { pointer-events: auto; }
.summary .i-cover { min-height: 0; }

/* Miniaturas: la portada se dibuja al ancho de un celular (360 px) y se reduce con zoom (ver catalog.js · fitMinis) */
.mini-phone.fit > .inv, .tp-mini.fit > .inv { width: 360px; max-width: none; zoom: var(--z, .4); }
.mini-phone.fit > .inv { height: 600px; }
.tp-mini.fit > .inv { height: 560px; }

/* ===== Marcas e íconos del sitio hechos 100% con CSS ===== */
.lg-mark { position: relative; display: inline-block; width: 26px; height: 26px; flex: none; color: var(--oro, var(--accent)); }
.lg-mark i { position: absolute; bottom: 1px; width: 2px; height: 11px; background: currentColor; }
.lg-mark i::before { content: ""; position: absolute; left: -4px; bottom: 10px; width: 10px; height: 13px; border: 1.4px solid currentColor; border-radius: 1px 1px 6px 6px; background: color-mix(in srgb, currentColor 18%, transparent); }
.lg-mark i::after { content: ""; position: absolute; left: -3px; bottom: -1px; width: 8px; height: 1.4px; background: currentColor; }
.lg-mark i:first-child { left: 8px; transform: rotate(-14deg); transform-origin: bottom; } .lg-mark i:last-child { left: 16px; transform: rotate(14deg); transform-origin: bottom; }
.k-burger { position: relative; display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor; }
.k-book { position: relative; display: inline-block; width: 16px; height: 20px; border: 1.6px solid currentColor; border-radius: 2px 4px 4px 2px; box-shadow: inset 3px 0 0 -1.6px currentColor; flex: none; }
.k-book::after { content: ""; position: absolute; left: 4px; right: 3px; top: 5px; height: 6px; border-top: 1.4px solid currentColor; border-bottom: 1.4px solid currentColor; }
.k-wa { position: relative; display: inline-block; width: 26px; height: 26px; border: 2.2px solid currentColor; border-radius: 50%; flex: none; }
.k-wa::before { content: ""; position: absolute; left: -3px; bottom: -3px; width: 9px; height: 9px; background: inherit; border-left: 2.2px solid currentColor; border-bottom: 2.2px solid currentColor; transform: skewX(-20deg); background: var(--wa-bg, #25d366); }
.k-wa::after { content: ""; position: absolute; left: 6px; top: 5px; width: 10px; height: 10px; border: 2.4px solid currentColor; border-color: currentColor transparent transparent currentColor; border-radius: 50%; transform: rotate(-45deg); }
.k-tick { display: inline-block; width: 6px; height: 11px; margin: 0 5px 0 4px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translateY(-2px); flex: none; }
.k-minus { display: inline-block; width: 10px; height: 1.6px; background: currentColor; margin: 0 4px; vertical-align: middle; flex: none; }
.k-shield { display: inline-block; width: 13px; height: 15px; vertical-align: -3px; background: currentColor; clip-path: polygon(50% 0, 100% 16%, 92% 62%, 50% 100%, 8% 62%, 0 16%); opacity: .8; }
.k-dia { display: inline-block; }

/* ---------- Catálogo v7.8: cada diseño en un celular completo, sobre un fondo con sus propios colores ---------- */
.model-prev { aspect-ratio: 1 / 1.08; padding: 22px 0 20px; place-items: center;
  background: radial-gradient(70% 55% at 50% 42%, color-mix(in srgb, #fff 55%, transparent), transparent 70%), linear-gradient(165deg, var(--i-g1, var(--i-bg)), var(--i-g2, var(--i-bg)) 55%, var(--i-g3, var(--i-bg))); }
.model-prev::after { content: ""; position: absolute; left: 50%; bottom: 12px; width: 46%; height: 18px; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .22), transparent); pointer-events: none; }
.model-prev .mini-phone { width: auto; height: 100%; aspect-ratio: 9 / 18.5; border-radius: 30px; border: 5px solid #1f1b1e; background: #1f1b1e; overflow: hidden; position: relative; z-index: 1;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .18), 0 28px 44px -24px rgba(30, 20, 25, .55); transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.model-prev .mini-phone::before { content: ""; position: absolute; top: 7px; left: 50%; z-index: 5; width: 30%; height: 13px; transform: translateX(-50%); border-radius: 999px; background: #1f1b1e; }
.model-prev .mini-phone > .inv { border-radius: 25px; overflow: hidden; }
.model-prev .mini-phone.fit > .inv { height: 740px; }
.model:hover .model-prev .mini-phone { transform: translateY(-6px) rotate(-1.5deg); }
.model-prev .model-new { z-index: 6; }
@media (prefers-reduced-motion: reduce) { .model:hover .model-prev .mini-phone { transform: none; } }

/* Miniaturas fieles (v7.9): iframe con la invitación real a 390 × 844 px, reducida con --z (catalog.js · fitMinis) */
.mini-phone.live, .tp-mini.live { position: relative; overflow: hidden; background: linear-gradient(170deg, var(--i-g1, var(--i-bg)), var(--i-g2, var(--i-bg))); }
.mini-phone.live > iframe, .tp-mini.live > iframe { position: absolute; left: 0; top: 0; width: 390px; height: 844px; border: 0; transform: scale(var(--z, .4)); transform-origin: 0 0; pointer-events: none; background: transparent; }
.model-prev .mini-phone.live { aspect-ratio: 390 / 844; }
.model-prev .mini-phone.live > iframe { border-radius: 0; }
.tpl-pick .tp-mini.live { aspect-ratio: 390 / 802; } /* portada completa, con los nombres (antes 700: se cortaban) */

/* Miniaturas como imagen (v8.6): carga inmediata */
.mini-phone.live > img, .tp-mini.live > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; display: block; }
.model-prev .mini-phone.live { aspect-ratio: 390 / 802; }
