/* TuPideme commercial site v3 (task #33): selector + /restaurantes + /tiendas.
   Brand = docs/marketing/BRAND_KIT.md. Cooper Black is not on Google Fonts:
   headlines use its free stand-in, Fraunces 900 soft. */

:root {
  --violet: #8d05cc;
  --violet-700: #6a0499;
  --violet-900: #2d0a54;
  --cyan: #00ffec;
  --deep: #0d0118;
  --lilac: #f8f2ff;
  --lilac-2: #ece0f8;
  --ink: #1d0f2b;
  --muted: #5d4f6d;
  --line: #e4d6f3;
  --white: #fff;
  --ok: #2e7d32;
  --wa: #128c4a;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(45, 10, 84, .12);
  --shadow-lg: 0 24px 60px rgba(13, 1, 24, .35);
  --head: "Fraunces", "Cooper Black", Georgia, serif;
  --body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 1rem; line-height: 1.6; color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--violet); }
h1, h2, h3 { line-height: 1.12; margin: 0 0 .6em; }
h1, h2, .display { font-family: var(--head); font-weight: 900; font-variation-settings: "SOFT" 100, "WONK" 0; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 3.8vw, 2.7rem); }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--deep); color: var(--white); padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.light :focus-visible, .section:not(.dark) :focus-visible { outline-color: var(--violet); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: .75em 1.5em;
  border-radius: 999px; border: 2px solid transparent; font: 600 1rem/1.2 var(--body); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease; text-align: center; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--violet); color: var(--white); box-shadow: 0 8px 20px rgba(141, 5, 204, .35); }
.btn-primary:hover { background: var(--violet-700); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .45); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.btn-outline { background: var(--white); color: var(--violet); border-color: var(--violet); }
.btn-outline:hover { background: var(--lilac); }
.btn-cyan { background: var(--cyan); color: var(--deep); }
.btn-sm { min-height: 40px; padding: .5em 1.1em; font-size: .92rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(13, 1, 24, .92); backdrop-filter: saturate(1.4) blur(10px); color: var(--white); }
.header .wrap { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { white-space: nowrap; color: rgba(255, 255, 255, .82); text-decoration: none; font-size: .93rem; padding: .45em .8em; border-radius: 999px; }
.nav a:hover, .nav a[aria-current] { color: var(--white); background: rgba(255, 255, 255, .08); }
.nav .switch { color: var(--cyan); }
.header .btn { flex: none; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .25);
  background: transparent; color: var(--white); cursor: pointer; }
.burger svg { width: 22px; height: 22px; margin: auto; }
.mobile-menu { display: none; }
/* Compact desktop header between the burger and wide screens: /tiendas (6 anchors + switch + Ayuda,
   task #579) pushed the CTA off-screen at 1200-1440 px. */
@media (min-width: 1200px) and (max-width: 1599px) {
  .header .wrap { gap: 12px; }
  .nav { gap: 0; }
  .nav a { padding: .45em .5em; font-size: .86rem; }
  .header .btn-desktop { padding: .5em .9em; font-size: .86rem; }
}
@media (max-width: 1199px) {
  .nav { display: none; }
  .burger { display: grid; place-items: center; }
  .header .btn-desktop { margin-left: auto; }
  .header .btn-desktop + .burger { margin-left: 0; }
  .mobile-menu[data-open] { display: grid; gap: 4px; padding: 8px 16px 18px; border-top: 1px solid rgba(255, 255, 255, .1); }
  .mobile-menu a { color: var(--white); text-decoration: none; padding: 12px 8px; border-radius: 10px; }
}
@media (max-width: 960px) {
  .header .btn-desktop { display: none; }
  .burger { display: grid; place-items: center; }
  .header .wrap { gap: 10px; }
  .header .btn-sm { padding: .45em .9em; }
  .mobile-menu[data-open] { display: grid; gap: 4px; padding: 8px 16px 18px; border-top: 1px solid rgba(255, 255, 255, .1); }
  .mobile-menu a { color: var(--white); text-decoration: none; padding: 12px 8px; border-radius: 10px; }
  .mobile-menu a:hover { background: rgba(255, 255, 255, .08); }
}
@media (max-width: 420px) { .brand img { height: 40px; } .header .btn-sm { font-size: .82rem; } }

/* ---------- sections ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section.alt { background: var(--lilac); }
.section.dark, .hero, .closing { background: var(--deep); color: var(--white); }
.dark p, .hero p, .closing p { color: rgba(255, 255, 255, .82); }
.eyebrow { display: inline-block; font: 700 .78rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--violet); margin-bottom: 14px; }
.dark .eyebrow, .hero .eyebrow, .closing .eyebrow { color: var(--cyan); }
.lead { font-size: clamp(1.02rem, 1.6vw, 1.18rem); max-width: 40em; }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head.center { margin-inline: auto; text-align: center; }
.highlight { font-family: var(--head); font-weight: 900; font-variation-settings: "SOFT" 100; font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  line-height: 1.25; color: var(--violet); margin: 1.2em 0 .4em; }
.dark .highlight, .hero .highlight, .closing .highlight { color: var(--cyan); }
.accent { color: var(--cyan); }
.light-accent { color: var(--violet); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 8vw, 110px); }
.hero::before { content: ""; position: absolute; inset: auto -20% -40% 30%; height: 90%; background: radial-gradient(closest-side, rgba(141, 5, 204, .55), transparent); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { color: var(--white); }
.hero h1 .accent { display: block; }
.benefits { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 10px; }
.benefits li { display: flex; gap: 10px; align-items: flex-start; }
.benefits svg { width: 22px; height: 22px; flex: none; color: var(--cyan); margin-top: 2px; }
.support { font-size: .95rem; color: rgba(255, 255, 255, .7) !important; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }

/* device composition */
.devices { position: relative; min-height: 380px; }
.frame-desk { border-radius: 14px; background: #1b1026; padding: 10px 10px 12px; box-shadow: var(--shadow-lg); }
.frame-desk::before { content: ""; display: block; height: 10px; margin: 0 0 8px 4px; width: 46px;
  background: radial-gradient(circle, #ff5f57 3px, transparent 3.5px) 0 50%/16px 10px repeat-x; opacity: .9; }
.frame-desk img { border-radius: 8px; width: 100%; }
.frame-phone { width: 34%; max-width: 230px; border-radius: 30px; background: #120a1c; padding: 8px; box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .12); }
.frame-phone img { border-radius: 23px; width: 100%; }
.devices .frame-desk { width: 88%; margin-left: auto; }
.devices .frame-desk.second { position: absolute; width: 52%; left: 0; bottom: -6%; }
.devices .frame-phone { position: absolute; right: -2%; bottom: -10%; }
@media (max-width: 900px) {
  .devices { min-height: 0; padding-bottom: 18%; }
  .devices .frame-desk { width: 92%; }
  .devices .frame-phone { width: 32%; right: 0; }
}

/* ---------- selector (home) ---------- */
.selector { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; background: var(--deep); color: var(--white); position: relative; overflow: hidden; }
.selector::before { content: ""; position: absolute; inset: -30% 0 auto; height: 80%; background: radial-gradient(closest-side, rgba(141, 5, 204, .5), transparent); pointer-events: none; }
.selector main { flex: 1; display: flex; align-items: center; position: relative; padding: 24px 0 28px; }
.selector .top { position: relative; padding: 18px 0 0; }
.selector .top .wrap { display: flex; justify-content: center; }
.selector .top img { width: 124px; }
.selector .kicker { text-align: center; font-family: var(--head); font-weight: 900; font-variation-settings: "SOFT" 100; color: var(--cyan); font-size: clamp(1.05rem, 2vw, 1.3rem); margin: 0 0 6px; }
.selector h1 { text-align: center; color: var(--white); font-size: clamp(1.9rem, 4.4vw, 3rem); margin-bottom: 8px; }
.selector .intro { text-align: center; color: rgba(255, 255, 255, .78); max-width: 38em; margin: 0 auto clamp(18px, 3vh, 32px); }
/* Two equal, fully clickable surfaces (#481): restaurants violet/white, stores cyan/deep. */
.choices { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2.4vw, 28px); max-width: 1080px; margin-inline: auto; }
.choice { position: relative; display: flex; flex-direction: column; gap: 18px; min-height: clamp(260px, 40vh, 400px); border-radius: 24px;
  padding: clamp(22px, 3vw, 40px); text-decoration: none; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.choice-rest { background: var(--violet); color: var(--white); }
.choice-store { background: var(--cyan); color: var(--deep); }
.choice:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(0, 0, 0, .45); }
.choice:focus-visible { outline: 4px solid var(--white); outline-offset: 4px; border-radius: 24px; }
.choice-ico { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; flex: none; }
.choice-rest .choice-ico { background: rgba(255, 255, 255, .16); }
.choice-store .choice-ico { background: rgba(13, 1, 24, .1); }
.choice-ico svg { width: 36px; height: 36px; }
.choice-body { flex: 1; }
.choice h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); color: inherit; margin-bottom: 10px; }
.choice-line { font-size: clamp(1rem, 1.5vw, 1.15rem); font-weight: 600; margin: 0 0 10px; max-width: 24em; }
.choice .chips { font-size: .9rem; margin: 0; }
.choice-rest .chips { color: rgba(255, 255, 255, .82); }
.choice-store .chips { color: rgba(13, 1, 24, .75); }
.choice-go { align-self: flex-end; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; transition: transform .2s ease; }
.choice-rest .choice-go { background: var(--white); color: var(--violet); }
.choice-store .choice-go { background: var(--deep); color: var(--cyan); }
.choice-go svg { width: 24px; height: 24px; }
.choice:hover .choice-go { transform: translateX(4px); }
.logistics-link { text-align: center; margin: clamp(16px, 3vh, 28px) 0 0; font-size: .95rem; color: rgba(255, 255, 255, .78); }
.logistics-link a { color: var(--cyan); }
.selector footer { position: relative; text-align: center; font-size: .8rem; color: rgba(255, 255, 255, .5); padding: 0 0 16px; }
@media (max-width: 720px) {
  .choices { grid-template-columns: 1fr; grid-auto-rows: 1fr; gap: 12px; }
  .choice { min-height: 0; flex-direction: row; align-items: center; gap: 14px; padding: 18px; border-radius: 20px; }
  .choice:focus-visible { border-radius: 20px; }
  .choice-ico { width: 48px; height: 48px; border-radius: 14px; }
  .choice-ico svg { width: 28px; height: 28px; }
  .choice h2 { font-size: 1.45rem; margin-bottom: 4px; }
  .choice-line { font-size: .92rem; margin: 0; }
  .choice .chips { display: none; }
  .choice-go { align-self: center; width: 40px; height: 40px; flex: none; }
  .choice-go svg { width: 20px; height: 20px; }
}

/* ---------- problem (before/after) ---------- */
.problem { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.ba { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: center; }
.ba .col { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; min-height: 220px; }
.ba .col h3 { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.ba .before ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ba .before li { background: var(--lilac); border: 1px dashed #c9b3e2; border-radius: 10px; padding: 6px 10px; font-size: .88rem; transform: rotate(var(--r, 0deg)); }
.ba .after { background: var(--deep); color: var(--white); border-color: transparent; }
.ba .after h3 { color: var(--cyan); }
.ba .after ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ba .after li { display: flex; align-items: center; gap: 10px; font-size: .92rem; padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, .06); }
.ba .after li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); flex: none; }
.ba .arrow { color: var(--violet); }
.ba .arrow svg { width: 34px; height: 34px; }
@media (max-width: 900px) { .problem { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .ba { grid-template-columns: 1fr; } .ba .arrow { justify-self: center; transform: rotate(90deg); } .ba .col { min-height: 0; } }

/* ---------- demo steps ----------
   Desktop: WAI-ARIA tablist with the panel beside it. <=900px: site.js turns it into an accordion
   (aria-expanded, one step open). Panels stay [hidden] when closed at every width (#481: the old
   mobile rule showed every panel and left the tabs doing nothing). Section sits on a light tint. */
.section.tint { background: linear-gradient(180deg, var(--lilac-2), var(--lilac)); }
.demo { display: grid; grid-template-columns: minmax(280px, 0.9fr) 1.3fr; gap: 12px clamp(24px, 4vw, 56px); list-style: none; padding: 0; margin: 0; }
.demo > li { display: contents; }
.demo .step { grid-column: 1; text-align: left; width: 100%; display: grid; grid-template-columns: 40px 1fr; gap: 4px 14px; align-items: start;
  background: transparent; border: 1px solid transparent; border-radius: 16px; padding: 14px 16px; color: inherit; font: inherit; cursor: pointer; transition: background-color .2s, border-color .2s; }
.demo .step:hover { background: rgba(141, 5, 204, .06); }
.demo .step[aria-selected="true"], .demo .step[aria-expanded="true"] { background: var(--white); border-color: var(--violet); box-shadow: var(--shadow); }
.demo .num { grid-row: span 2; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 700;
  background: var(--white); color: var(--violet); border: 1px solid var(--line); }
.demo .step[aria-selected="true"] .num, .demo .step[aria-expanded="true"] .num { background: var(--violet); color: var(--white); border-color: var(--violet); }
.demo .step strong { font-size: 1.05rem; color: var(--ink); }
.demo .step span.txt { font-size: .93rem; color: var(--muted); }
.demo .panel { grid-column: 2; grid-row: 1 / span 5; align-self: center; margin: 0; }
.demo .panel[hidden] { display: none; }
.demo .panel figcaption { font-size: .85rem; color: var(--muted); margin-top: 10px; text-align: center; }
.demo .panel .frame-phone { margin-inline: auto; width: 46%; max-width: 280px; }
/* a step without a real capture yet: its own text, never a mock of the UI */
.demo .panel-text { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: clamp(24px, 3vw, 40px); box-shadow: var(--shadow); }
.demo .panel-text .num { width: 52px; height: 52px; font-size: 1.2rem; margin-bottom: 16px; background: var(--violet); color: var(--white); border-color: var(--violet); }
.demo .panel-text h3 { font-family: var(--head); font-weight: 900; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.demo .panel-text p { color: var(--muted); margin: 0; }
.flow-note { max-width: 46em; margin: 32px auto 0; text-align: center; font-weight: 600; color: var(--violet-900); }
.flow-note small { display: block; font-weight: 400; font-size: .9rem; color: var(--muted); margin-top: 6px; }
@media (max-width: 900px) {
  .demo { grid-template-columns: 1fr; gap: 10px; }
  .demo > li { display: block; }
  .demo .step { background: var(--white); border-color: var(--line); }
  .demo .step strong { align-self: center; }
  .demo .step[aria-expanded="false"] span.txt { display: none; }
  .demo .step[aria-expanded="false"] .num { grid-row: auto; }
  .demo .panel { margin-top: 10px; }
  .demo .panel .frame-phone { width: 62%; }
  .demo .panel.text-only { display: none; }
}

/* ---------- split / showcase ---------- */
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split.flip > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.flip > :first-child { order: 0; } }
.share { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; padding: 0; list-style: none; }
.share li { font-size: .85rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--lilac-2); color: var(--violet-900); }
.note { font-size: .92rem; color: var(--muted); }

/* ---------- tiles (inventory) ---------- */
.tile { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: clamp(18px, 2.4vw, 24px); box-shadow: 0 2px 0 rgba(45, 10, 84, .03); overflow: hidden; }
.tile .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--lilac); color: var(--violet); margin-bottom: 14px; }
.tile .ico svg { width: 24px; height: 24px; }
.tile p { font-size: .94rem; color: var(--muted); margin: 0; }
.inv { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(20px, 3vw, 36px); align-items: start; }
.inv-shot { position: sticky; top: calc(var(--header-h) + 20px); }
.inv-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tile-more { margin-top: 12px; }
.tile-more summary { cursor: pointer; font-size: .88rem; font-weight: 600; color: var(--violet); }
.tile-more img { margin-top: 10px; border-radius: 10px; border: 1px solid var(--line); }
@media (max-width: 960px) { .inv { grid-template-columns: 1fr; } .inv-shot { position: static; } }
@media (max-width: 560px) { .inv-tiles { grid-template-columns: 1fr; } }

/* ---------- feature groups (restaurants): four equal cards; <details> so phones can fold them ---------- */
.fgroups { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fgroup { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: clamp(18px, 2.2vw, 24px); }
.fgroup summary { display: flex; align-items: center; gap: 12px; list-style: none; cursor: default; }
.fgroup summary::-webkit-details-marker { display: none; }
.fgroup summary h3 { margin: 0; font-family: var(--head); font-weight: 900; font-size: 1.3rem; }
.fgroup .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--lilac); color: var(--violet); flex: none; }
.fgroup .ico svg { width: 24px; height: 24px; }
.fitems { list-style: none; padding: 0; margin: 14px 0 0; }
.fitems li { padding: 10px 0; border-top: 1px solid var(--line); }
.fitems b { display: block; font-size: .95rem; }
.fitems span { font-size: .88rem; color: var(--muted); }
.plan-note { font-size: .88rem; color: var(--muted); margin: 16px 0 0; }
@media (max-width: 1099px) { .fgroups { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) {
  .fgroups { grid-template-columns: 1fr; gap: 10px; align-items: start; }
  .fgroup summary { cursor: pointer; padding-right: 30px; position: relative; }
  .fgroup summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--violet); border-bottom: 2px solid var(--violet); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
  .fgroup[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
}

/* ---------- small blocks (#481) ---------- */
.coverage-card { background: var(--lilac); border-radius: 20px; padding: clamp(20px, 3vw, 32px); }
.coverage-card .highlight { margin-top: 0; }
.start-note { max-width: 46em; margin: 0 0 24px; }
.start-note b { color: var(--violet); }
.branch-note { margin: 14px 0 0; font-weight: 600; font-size: .94rem; color: var(--violet-900); }
.android-callout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 48px); align-items: center; margin-bottom: 28px; }
.android-callout .highlight { margin-top: 0; }
.android-callout figure { margin: 0; }
.android-callout figcaption { margin-top: 10px; text-align: center; }
@media (max-width: 900px) { .android-callout { grid-template-columns: 1fr; } }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .cards-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cards-4 { grid-template-columns: 1fr; } }

/* cards grid */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card h3 { margin-bottom: 6px; }
.card p { font-size: .93rem; color: var(--muted); margin: 0; }
.alt .card { border-color: transparent; box-shadow: var(--shadow); }
.dark .card { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .1); }
.dark .card h3 { color: var(--white); }
.dark .card p { color: rgba(255, 255, 255, .72); }
.card .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--lilac); color: var(--violet); margin-bottom: 12px; }
.dark .card .ico { background: rgba(0, 255, 236, .12); color: var(--cyan); }
.card .ico svg { width: 22px; height: 22px; }

/* tool table */
.tools { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.tools div { padding: 18px 20px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.tools b { display: block; margin-bottom: 4px; }
.tools span { font-size: .92rem; color: var(--muted); }

/* ---------- steps (how to start) ---------- */
.start { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; list-style: none; padding: 0; margin: 0 0 32px; }
.start li { background: var(--white); border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); position: relative; }
.start li::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--violet); color: var(--white); font-weight: 700; margin-bottom: 14px; }
.start p { color: var(--muted); font-size: .94rem; margin: 0; }
@media (max-width: 820px) { .start { grid-template-columns: 1fr; } }

/* ---------- pricing ---------- */
.pricing { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.price-card { background: var(--deep); color: var(--white); border-radius: 24px; padding: clamp(24px, 3.4vw, 40px); box-shadow: var(--shadow-lg); }
.price-card .eyebrow { color: var(--cyan); }
.price { font-family: var(--head); font-weight: 900; font-size: clamp(2.6rem, 6vw, 3.6rem); line-height: 1; margin: 6px 0 14px; color: var(--white); }
.price small { font-family: var(--body); font-size: 1rem; font-weight: 600; color: rgba(255, 255, 255, .7); }
.price-card p { color: rgba(255, 255, 255, .82); }
.price-card ul { padding-left: 1.1em; margin: 0 0 22px; color: rgba(255, 255, 255, .82); font-size: .95rem; }
.conditions { background: var(--white); border: 2px solid var(--violet); border-radius: 20px; padding: clamp(20px, 3vw, 30px); }
.conditions h3 { font-family: var(--head); font-weight: 900; font-size: 1.35rem; }
.conditions .key { background: var(--lilac); border-radius: 14px; padding: 14px 16px; margin-bottom: 14px; }
.conditions .key b { color: var(--violet); }
.conditions ul { padding-left: 1.1em; margin: 0; font-size: .94rem; }
.conditions li { margin-bottom: 8px; }
@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 10px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 16px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; font-weight: 600; position: relative; border-radius: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--violet); border-bottom: 2px solid var(--violet); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 20px 18px; margin: 0; color: var(--muted); }
.faq details.money { border-color: var(--violet); }

/* ---------- closing ---------- */
.closing { padding: clamp(64px, 9vw, 120px) 0; text-align: center; position: relative; overflow: hidden; }
.closing::before { content: ""; position: absolute; inset: 30% -20% -40%; background: radial-gradient(closest-side, rgba(141, 5, 204, .5), transparent); }
.closing .wrap { position: relative; }
.closing h2 { color: var(--white); font-size: clamp(2rem, 4.6vw, 3.2rem); }
.closing p { max-width: 38em; margin-inline: auto; }
.closing .cta-row { justify-content: center; margin-top: 18px; }
.trio { display: grid; grid-template-columns: 1.3fr 1.3fr .6fr; gap: 16px; align-items: end; margin: 40px auto 0; max-width: 980px; }
.trio .frame-phone { width: 100%; }
@media (max-width: 720px) { .trio { grid-template-columns: 1fr 1fr; } .trio > :first-child { grid-column: 1 / -1; } }

/* ---------- footer ---------- */
.footer { background: #08000f; color: rgba(255, 255, 255, .7); padding: 40px 0 28px; font-size: .9rem; }
.footer .cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: flex-start; }
.footer img { width: 120px; margin-bottom: 10px; }
.footer a { color: rgba(255, 255, 255, .85); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer .bottom { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .82rem; }

/* sticky mobile CTA: only below the hero, never over the footer links */
.sticky-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; display: none; }
.sticky-cta .btn { width: 100%; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
@media (max-width: 720px) { .sticky-cta[data-show] { display: block; } body.has-sticky { padding-bottom: 76px; } }

/* ---------- missing-asset placeholders (Plan B, brief §18) ---------- */
.shot-missing { display: grid; place-items: center; text-align: center; aspect-ratio: var(--ar, 16 / 10); border-radius: 12px;
  background: repeating-linear-gradient(45deg, rgba(141, 5, 204, .12) 0 12px, rgba(141, 5, 204, .05) 12px 24px); border: 2px dashed rgba(141, 5, 204, .5);
  color: var(--muted); font-size: .85rem; padding: 16px; }
.dark .shot-missing, .hero .shot-missing, .closing .shot-missing, .frame-desk .shot-missing, .frame-phone .shot-missing { color: rgba(255, 255, 255, .7); border-color: rgba(0, 255, 236, .45); background: repeating-linear-gradient(45deg, rgba(0, 255, 236, .08) 0 12px, rgba(0, 255, 236, .02) 12px 24px); }
.shot-missing b { display: block; font-size: .95rem; color: inherit; }

/* review flags: visible only while <html data-review> is set (preview). Remove the attribute for production. */
.review-flag { display: none; }
html[data-review] .review-flag { display: inline-block; font: 700 .7rem/1.2 var(--body); letter-spacing: .04em; text-transform: uppercase;
  background: #ffe08a; color: #4a3200; border-radius: 6px; padding: 3px 7px; margin: 0 4px; vertical-align: middle; }
html:not([data-review]) .shot-missing .prod-label { display: none; }

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

picture { display: block; }
@media (max-width: 600px) { .devices .frame-desk.second { display: none; } .devices { padding-bottom: 30%; } }

/* ---------- colour by vertical (#481) ----------
   Restaurants: violet leads, white/lilac content, cyan only as small accents.
   Stores: cyan leads (dark text on cyan, never white on cyan), violet supports.
   Cyan text is for dark backgrounds only: inside light sections accents turn violet. */
.section:not(.dark) .accent { color: var(--violet); }
html[data-vertical="tiendas"] .btn-primary { background: var(--cyan); color: var(--deep); box-shadow: 0 8px 20px rgba(0, 255, 236, .28); }
html[data-vertical="tiendas"] .btn-primary:hover { background: #2bfff0; }
html[data-vertical="tiendas"] .hero::before, html[data-vertical="tiendas"] .closing::before { background: radial-gradient(closest-side, rgba(0, 255, 236, .28), transparent); }
html[data-vertical="tiendas"] .section.alt { background: #eafffd; }
html[data-vertical="tiendas"] .section.tint { background: linear-gradient(180deg, #d4fffa, #f0fffe); }
html[data-vertical="tiendas"] .tile .ico { background: #d4fffa; color: var(--deep); }
html[data-vertical="tiendas"] .demo .step[aria-selected="true"], html[data-vertical="tiendas"] .demo .step[aria-expanded="true"] { border-color: var(--deep); }
html[data-vertical="tiendas"] .demo .step[aria-selected="true"] .num, html[data-vertical="tiendas"] .demo .step[aria-expanded="true"] .num,
html[data-vertical="tiendas"] .demo .panel-text .num { background: var(--cyan); color: var(--deep); border-color: var(--deep); }
html[data-vertical="tiendas"] .demo .num { color: var(--deep); }
html[data-vertical="tiendas"] .start li::before { background: var(--cyan); color: var(--deep); }
html[data-vertical="tiendas"] .price-card { background: var(--cyan); color: var(--deep); }
html[data-vertical="tiendas"] .price-card .eyebrow, html[data-vertical="tiendas"] .price-card .price { color: var(--deep); }
html[data-vertical="tiendas"] .price-card .price small, html[data-vertical="tiendas"] .price-card p { color: rgba(13, 1, 24, .78); }
html[data-vertical="tiendas"] .price-card .btn-cyan { background: var(--deep); color: var(--cyan); }
html[data-vertical="tiendas"] .flow-note { color: var(--deep); }

/* ---------- logistics: /reparto + /courier (#489) ----------
   Deep leads (approved by msa 2026-10-21): the demo section goes deep instead of lilac, cyan is the
   accent on dark only, CTAs stay violet with white text, light sections keep violet accents.
   Both pages share these rules. .section.tint.dark = demo steps on a deep background. */
.section.tint.dark { background: linear-gradient(180deg, var(--deep), #170429); }
.dark .section-head h2 { color: var(--white); }
.dark .demo .step:hover { background: rgba(255, 255, 255, .06); }
.dark .demo .step[aria-selected="true"], .dark .demo .step[aria-expanded="true"] { background: rgba(255, 255, 255, .08); border-color: var(--cyan); box-shadow: none; }
.dark .demo .num { background: transparent; color: var(--cyan); border-color: rgba(0, 255, 236, .45); }
.dark .demo .step[aria-selected="true"] .num, .dark .demo .step[aria-expanded="true"] .num,
.dark .demo .panel-text .num { background: var(--cyan); color: var(--deep); border-color: var(--cyan); }
.dark .demo .step strong { color: var(--white); }
.dark .demo .step span.txt { color: rgba(255, 255, 255, .72); }
.dark .demo .panel figcaption { color: rgba(255, 255, 255, .65); }
.dark .demo .panel-text { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); box-shadow: none; }
.dark .demo .panel-text h3 { color: var(--white); }
.dark .demo .panel-text p { color: rgba(255, 255, 255, .78); }
.dark .flow-note { color: var(--white); }
.dark .flow-note small { color: rgba(255, 255, 255, .65); }
@media (max-width: 900px) { .dark .demo .step { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .14); } }
/* a narrow capture (form, phone) inside a demo panel: don't stretch it to the full column */
.demo .panel .frame-desk.narrow { max-width: 460px; margin-inline: auto; }
.split .frame-desk.narrow { max-width: 460px; justify-self: center; }
html[data-vertical="reparto"] .hero::before, html[data-vertical="courier"] .hero::before,
html[data-vertical="reparto"] .closing::before, html[data-vertical="courier"] .closing::before { background: radial-gradient(closest-side, rgba(0, 255, 236, .2), rgba(141, 5, 204, .25) 55%, transparent); }
html[data-vertical="reparto"] .coverage-card h2, html[data-vertical="courier"] .coverage-card h2 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); }
