/* Botigo. Grafito, blanco y un solo acento latón. Titulares en Newsreader, texto en Hanken Grotesk.
   Lo memorable es el asistente contestando en directo; el resto es sobrio y preciso. */
:root {
  --ink: #16181c;
  --ink-2: #202329;
  --ink-line: #34373e;
  --on-dark: #f4f2ec;
  --on-dark-muted: #aeaba3;
  --paper: #ffffff;
  --mist: #f6f5f2;
  --line: #e6e4df;
  --text: #16181c;
  --muted: #5d6067;
  --brass: #c9a35b;
  --brass-ink: #7d5f24;
  --good: #2e7d4f;
  --ok: #6b8a1f;
  --warn: #b5541c;
  --bad: #b3261e;
  --wa: #1d7a4c;
  --track: #ebe9e4;
  /* nombres antiguos que usan el informe y los paneles */
  --cobalt: var(--ink); --cobalt-deep: var(--ink); --coral: var(--brass); --bg: var(--mist); --card: var(--paper);
  --radius: 14px;
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --font: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
  font-family: var(--font);
  color: var(--text);
  background: var(--mist);
}
* { box-sizing: border-box; min-width: 0; }
html { scroll-padding-top: 1rem; scrollbar-color: #bdbab3 var(--mist); }
body { margin: 0; line-height: 1.6; font-size: 16.5px; -webkit-font-smoothing: antialiased; overflow-x: clip; }
body.landing { background: var(--paper); }
a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0 0 .5em; text-wrap: balance; }
h1, h2 { font-family: var(--serif); font-weight: 460; letter-spacing: -0.018em; line-height: 1.08; font-variation-settings: "opsz" 72; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); }
h2 { font-size: clamp(1.75rem, 3.3vw, 2.6rem); }
h3 { font-size: 1.08rem; font-weight: 650; letter-spacing: -0.01em; line-height: 1.3; }
p { margin: 0 0 .75em; text-wrap: pretty; }
.muted { color: var(--muted); }
.sub { font-size: 1.12rem; color: var(--muted); max-width: 46ch; }
.wrap { max-width: 1160px; margin: 0 auto; padding-inline: clamp(1.1rem, 4vw, 2rem); }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.15rem 1.25rem; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
::selection { background: #ecdcb8; color: var(--ink); }
.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; }
.demo-banner { background: #f3e7cc; color: #5a4214; text-align: center; font-size: .85rem; padding: .45rem 1rem; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px;
  background: var(--ink); color: var(--on-dark); border: 1px solid transparent; border-radius: 10px;
  padding: .75rem 1.35rem; font: inherit; font-weight: 600; letter-spacing: -.005em; cursor: pointer; text-decoration: none;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .15s var(--ease);
}
.btn:hover { background: #2a2d33; }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .6; cursor: wait; }
.btn-sm { min-height: 40px; padding: .45rem 1rem; font-size: .93rem; }
.btn-brass, .btn-coral { background: var(--brass); color: var(--ink); }
.btn-brass:hover, .btn-coral:hover { background: #d6b371; }
.btn-ink { background: var(--ink); color: var(--on-dark); }
.btn-line { background: transparent; color: var(--on-dark); border-color: rgba(244, 242, 236, .32); }
.btn-line:hover { background: rgba(244, 242, 236, .08); border-color: rgba(244, 242, 236, .6); }
.btn-line-ink, .btn-ghost { background: var(--paper); color: var(--ink); border-color: #cfccc5; }
.btn-line-ink:hover, .btn-ghost:hover { background: var(--mist); border-color: var(--ink); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #17633d; }
input:not([type=radio]):not([type=checkbox]):not([type=range]):not([type=file]):not([type=color]), select, textarea {
  font: inherit; font-size: 16px; padding: .8rem .95rem; border: 1px solid #d6d3cc; border-radius: 10px;
  background: var(--paper); color: var(--text); width: 100%; caret-color: var(--brass-ink);
}
input:not([type=radio]):not([type=checkbox]):focus, select:focus, textarea:focus { outline: 2px solid var(--brass); outline-offset: 0; border-color: transparent; }

/* ---------- Superficies oscuras ---------- */
.dark, .on-cobalt { background: var(--ink); color: var(--on-dark); }
.dark .muted, .on-cobalt .muted, .dark .sub, .on-cobalt .sub { color: var(--on-dark-muted); }
.on-cobalt .btn:not(.btn-wa):not(.btn-ghost) { background: var(--brass); color: var(--ink); }
.dark ::selection, .on-cobalt ::selection { background: var(--brass); color: var(--ink); }

/* ---------- Cabecera ---------- */
.topbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem clamp(1.1rem, 4vw, 2rem); max-width: 1160px; margin: 0 auto; }
.brand-link { text-decoration: none; display: inline-flex; border-radius: 8px; padding: 4px 2px; }
.topnav { display: flex; align-items: center; gap: clamp(.6rem, 2vw, 1.6rem); }
.nav-link { color: var(--on-dark-muted); text-decoration: none; font-weight: 500; font-size: .95rem; padding: .4rem 0; transition: color .2s; }
.nav-link:hover { color: var(--on-dark); }
.lang-switch { display: inline-flex; gap: 0; border: 1px solid var(--ink-line); border-radius: 8px; overflow: hidden; }
.lang-switch button { font: inherit; font-size: .78rem; font-weight: 600; letter-spacing: .04em; min-width: 40px; min-height: 36px; padding: 0 .6rem; border: 0; background: transparent; color: var(--on-dark-muted); cursor: pointer; transition: background .2s, color .2s; }
.lang-switch button + button { border-left: 1px solid var(--ink-line); }
.lang-switch button:hover { color: var(--on-dark); }
.lang-switch button[aria-pressed="true"] { background: var(--on-dark); color: var(--ink); }
.on-cobalt .topbar > .muted { font-size: .92rem; }
@media (max-width: 860px) { .hide-sm { display: none; } }
@media (max-width: 480px) { .hide-xs { display: none; } }

/* ---------- Portada: asistente ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; padding-block: clamp(2.5rem, 7vw, 5.5rem) clamp(3.5rem, 8vw, 6.5rem); }
.hero h1 { max-width: 15ch; }
.hero .sub { margin-top: 1.4rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2rem; }
.hero-note { margin-top: 1rem; font-size: .92rem; color: var(--on-dark-muted); }
.chat-stage { width: 100%; max-width: 480px; justify-self: end; }
.chat-tabs { position: relative; display: flex; flex-wrap: nowrap; margin-bottom: .9rem; border-bottom: 1px solid var(--ink-line); }
.chat-tabs button { font: inherit; font-size: .9rem; font-weight: 500; color: var(--on-dark-muted); background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: .55rem .7rem; min-height: 44px; cursor: pointer; transition: color .2s, border-color .2s; white-space: nowrap; }
.chat-tabs > button:first-child { padding-left: 0; }
.chat-tabs button:hover { color: var(--on-dark); }
.chat-tabs button[aria-pressed="true"] { color: var(--on-dark); border-bottom-color: var(--brass); }
.chat-more { position: relative; display: inline-flex; }
.chat-more-btn { display: inline-flex; align-items: center; gap: .35rem; }
.chat-more-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.chat-more-btn svg { transition: transform .2s var(--ease); }
.chat-menu { position: absolute; top: calc(100% + 6px); right: 0; z-index: 5; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; width: min(380px, calc(100vw - 2.4rem)); padding: 6px; background: var(--ink-2); border: 1px solid var(--ink-line); border-radius: 12px; box-shadow: 0 18px 30px -12px rgba(0, 0, 0, .6); }
.chat-menu[hidden] { display: none; }
.chat-menu button { text-align: left; border: 0; margin: 0; padding: .55rem .75rem; min-height: 40px; border-radius: 8px; color: var(--on-dark); }
.chat-menu button:hover, .chat-menu button:focus-visible { background: rgba(244, 242, 236, .08); }
.chat-menu button[aria-current="true"] { color: var(--brass); }
.chat-other { grid-column: 1 / -1; display: grid; gap: .4rem; margin-top: 4px; padding: .7rem .75rem .5rem; border-top: 1px solid var(--ink-line); }
.chat-other label { font-size: .85rem; color: var(--on-dark-muted); }
.chat-other-row { display: flex; gap: .4rem; }
.chat-other input { background: var(--ink); border-color: var(--ink-line); color: var(--on-dark); padding: .55rem .7rem; min-height: 40px; }
.chat-menu .chat-other button { flex: none; background: var(--brass); color: var(--ink); font-weight: 600; padding: .5rem .85rem; border-bottom: 0; }
.chat-menu .chat-other button:hover { background: #d6b371; }
.chat-other-err { color: #f0a58f; font-size: .82rem; min-height: 1em; }
.chat-other-err:empty { display: none; }
@media (max-width: 560px) { .chat-tabs { flex-wrap: wrap; } .chat-menu { right: auto; left: 0; } }
.chat { background: var(--on-dark); color: var(--ink); border-radius: 20px; overflow: hidden; box-shadow: 0 40px 60px -40px rgba(0, 0, 0, .7); }
.chat-head { display: flex; align-items: center; gap: .75rem; padding: .9rem 1.1rem; border-bottom: 1px solid #e2dfd7; background: #fbfaf7; }
.chat-head b { display: block; font-weight: 650; font-size: .98rem; line-height: 1.2; }
.chat-head small { color: var(--good); font-size: .8rem; font-weight: 500; }
.chat-avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--brass); font-family: var(--serif); font-size: 1.15rem; flex: none; }
.chat-body { display: flex; flex-direction: column; gap: .55rem; padding: 1.1rem; height: 372px; overflow: hidden; justify-content: flex-end; }
.chat-day { align-self: center; margin: 0 0 auto; font-size: .78rem; color: var(--muted); background: #ebe8e1; padding: .2rem .65rem; border-radius: 99px; }
.msg { margin: 0; max-width: 84%; padding: .6rem .85rem; border-radius: 14px; font-size: .94rem; line-height: 1.45; opacity: 0; transform: translateY(6px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.msg.in { opacity: 1; transform: none; }
.msg-c { align-self: flex-start; background: var(--paper); border: 1px solid #e2dfd7; border-bottom-left-radius: 4px; }
.msg-b { align-self: flex-end; background: var(--ink); color: var(--on-dark); border-bottom-right-radius: 4px; }
.msg-photo { display: flex; align-items: center; gap: .4rem; font-size: .82rem; color: var(--muted); background: var(--mist); border-radius: 8px; padding: .5rem .6rem; margin-bottom: .4rem; }
.typing { align-self: flex-end; margin: 0; display: inline-flex; gap: 4px; padding: .7rem .85rem; background: var(--ink); border-radius: 14px; border-bottom-right-radius: 4px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--on-dark-muted); animation: dot 1s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 80%, 100% { opacity: .3; transform: none; } 40% { opacity: 1; transform: translateY(-2px); } }
.chat-caption { margin: .8rem 0 0; font-size: .8rem; color: var(--on-dark-muted); text-align: center; }
@media (prefers-reduced-motion: reduce) { .msg { opacity: 1; transform: none; } }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .chat-stage { justify-self: stretch; max-width: 520px; }
  .chat-body { height: 400px; }
}

/* ---------- Auditoría ---------- */
.audit { background: var(--mist); border-bottom: 1px solid var(--line); }
.audit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.8rem, 5vw, 4rem); align-items: center; padding-block: clamp(3rem, 7vw, 5.5rem); }
.search .btn { flex: none; white-space: nowrap; }
.search { display: flex; gap: .4rem; margin-top: 1.6rem; background: var(--paper); padding: .35rem; border-radius: 12px; border: 1px solid #d6d3cc; }
.search input { border: 0; font-size: 1.05rem; background: transparent; }
.search input:focus { outline: none; }
.search:focus-within { outline: 2px solid var(--brass); outline-offset: 2px; }
.note { font-size: .9rem; color: var(--muted); margin-top: .7rem; }
.err { color: var(--bad); margin-top: .6rem; font-weight: 600; }
.err:empty { display: none; }
.results { list-style: none; padding: 0; margin: .8rem 0 0; display: grid; gap: .45rem; }
.results .pick-title { color: var(--muted); font-size: .95rem; }
.results button { width: 100%; text-align: left; background: var(--paper); color: var(--text); border: 1px solid var(--line); border-radius: 12px; padding: .55rem; font: inherit; cursor: pointer; display: grid; grid-template-columns: 64px 1fr; gap: .8rem; align-items: center; transition: border-color .2s; }
.results button:hover, .results button:focus-visible { border-color: var(--ink); }
.thumb { width: 64px; height: 48px; border-radius: 8px; overflow: hidden; position: relative; background: #e9e6df; }
.thumb > svg, .thumb > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.results small { color: var(--muted); display: block; }
.steps { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .6rem; }
.steps li { display: flex; gap: .7rem; align-items: center; color: var(--muted); transition: color .3s; }
.steps li.on { color: var(--text); font-weight: 600; }
.steps li.done { color: var(--good); }
.steps li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; flex: none; }
.steps li.on::before { border-color: var(--brass); border-right-color: transparent; animation: spin .8s linear infinite; }
.steps li.done::before { background: var(--good); border-color: var(--good); }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 860px) { .audit-grid { grid-template-columns: 1fr; } .audit-grid .shopfront { max-width: 520px; } }
@media (max-width: 520px) { .search { flex-direction: column; } }

/* ---------- Fachada / foto ---------- */
.shopfront { position: relative; border-radius: 16px; overflow: hidden; background: #2a2d33; aspect-ratio: 4 / 3; box-shadow: 0 30px 50px -36px rgba(22, 24, 28, .55); }
.shopfront > svg.facade, .shopfront > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shopfront .scan { position: absolute; inset: 0; pointer-events: none; display: none; }
.shopfront.scanning .scan { display: block; background: linear-gradient(180deg, transparent 0 46%, rgba(201, 163, 91, .55) 50%, transparent 54%); background-size: 100% 220%; animation: scan 1.6s linear infinite; }
@keyframes scan { from { background-position: 0 100%; } to { background-position: 0 -10%; } }
.shopfront > .pin-q { position: absolute; top: 5%; right: 5%; width: clamp(46px, 14%, 70px); height: auto; filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .25)); }
.pin-q path { fill: var(--ink); }
.pin-q text { font: 600 24px var(--serif); fill: var(--ink); }
.shopfront > svg.facade { transform: scale(1.06); transform-origin: 50% 60%; }
.shopfront .px-back, .shopfront .px-mid, .shopfront .px-front { transition: transform .5s var(--ease); }
.shopfront .px-back { transform: translate(calc(var(--px, 0) * -5px), calc(var(--py, 0) * -3px)); }
.shopfront .px-mid { transform: translate(calc(var(--px, 0) * -10px), calc(var(--py, 0) * -5px)); }
.shopfront .px-front { transform: translate(calc(var(--px, 0) * -18px), calc(var(--py, 0) * -8px)); }
.shopfront .sign-glow, .shopfront .lamp-light { opacity: 0; transition: opacity .9s var(--ease); }
.shopfront.lit .sign-glow { opacity: .9; }
.shopfront.lit .lamp-light { opacity: 1; }
.shopfront > .pin-q { transition: transform .5s var(--ease); transform: translate(calc(var(--px, 0) * -22px), calc(var(--py, 0) * -10px)); }

/* ---------- Qué hacemos ---------- */
.do { padding-block: clamp(3.5rem, 8vw, 6rem) 1rem; }
.do h2 { max-width: 22ch; }
.do-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 2.2rem; border-top: 1px solid var(--line); }
.do-grid > div { padding: 1.6rem 1.4rem 0 0; }
.do-grid > div + div { padding-left: 1.4rem; border-left: 1px solid var(--line); }
.do-ico { display: inline-flex; color: var(--brass-ink); margin-bottom: .9rem; }
.do-grid p { color: var(--muted); font-size: .97rem; margin: 0; }
@media (max-width: 900px) {
  .do-grid { grid-template-columns: 1fr 1fr; }
  .do-grid > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .do-grid > div:nth-child(n+3) { margin-top: 1.4rem; border-top: 1px solid var(--line); }
}
@media (max-width: 520px) { .do-grid { grid-template-columns: 1fr; } .do-grid > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 1.4rem; } }

/* ---------- Calculadora ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: clamp(1.5rem, 5vw, 3.5rem); align-items: center; background: var(--ink); color: var(--on-dark); border-radius: 22px; padding: clamp(1.6rem, 5vw, 3.5rem); margin-top: clamp(3.5rem, 8vw, 6rem); }
.calc .muted { color: var(--on-dark-muted); }
.calc label { display: block; font-weight: 500; margin: 1.4rem 0 .35rem; }
.calc output { float: right; font-weight: 650; color: var(--brass); font-variant-numeric: tabular-nums; }
.calc input[type=range] { padding: 0; border: 0; background: none; accent-color: var(--brass); height: 30px; }
.calc-result { border: 1px solid var(--ink-line); border-radius: 16px; padding: 2rem 1.6rem; text-align: center; }
.calc-result .big { font-family: var(--serif); font-size: clamp(2.8rem, 7vw, 4.6rem); font-weight: 450; line-height: 1; color: var(--brass); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.calc-result p { margin: .7rem 0 0; }
.calc-note { font-size: .85rem; }
@media (max-width: 760px) { .calc { grid-template-columns: 1fr; } }

/* ---------- Precios ---------- */
.packs-sec { padding-top: clamp(3.5rem, 8vw, 6rem); }
.packs-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.billing { display: inline-flex; border: 1px solid #d6d3cc; border-radius: 10px; padding: 3px; gap: 3px; }
.billing button { font: inherit; font-weight: 600; font-size: .93rem; border: 0; background: transparent; color: var(--muted); border-radius: 7px; padding: .5rem 1rem; min-height: 42px; cursor: pointer; }
.billing button[aria-pressed="true"] { background: var(--ink); color: var(--on-dark); }
.billing button[aria-pressed="true"] small { color: var(--brass); }
.billing small { color: var(--brass-ink); font-weight: 600; }
.packs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; align-items: stretch; }
@media (max-width: 900px) { .packs { grid-template-columns: 1fr; } }
.pack { display: flex; flex-direction: column; gap: .2rem; position: relative; padding: 1.8rem 1.6rem; border-radius: 18px; }
.pack h3 { font-family: var(--serif); font-weight: 500; font-size: 1.6rem; letter-spacing: -0.01em; margin: 0; }
.pack.featured { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.pack.featured .muted, .pack.featured .pack-price span { color: var(--on-dark-muted); }
.pack-badge { position: absolute; top: 1.6rem; right: 1.4rem; color: var(--brass); font-weight: 600; font-size: .82rem; }
@media (min-width: 901px) { .pack > p.muted:first-of-type { min-height: 3.2em; margin-bottom: 0; } }
.pack-price { margin: 1rem 0 0; display: flex; align-items: baseline; gap: .3rem; }
.pack-price b { font-family: var(--serif); font-size: 3rem; font-weight: 450; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.pack-price span { color: var(--muted); font-weight: 500; }
.pack-bill { font-size: .88rem; margin: 0 0 .8rem; min-height: 1.3em; }
.pack .btn { margin-top: auto; }
.pack:not(.featured) .btn { background: var(--paper); color: var(--ink); border-color: #cfccc5; }
.pack:not(.featured) .btn:hover { border-color: var(--ink); background: var(--mist); }
.ticks { list-style: none; padding: 0; margin: .4rem 0 1.4rem; display: grid; gap: .5rem; }
.ticks li { padding-left: 1.6rem; position: relative; line-height: 1.45; font-size: .97rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .45rem; width: .8rem; height: .45rem; border-left: 2px solid var(--brass-ink); border-bottom: 2px solid var(--brass-ink); transform: rotate(-45deg); }
.pack.featured .ticks li::before { border-color: var(--brass); }
.extras-note { margin-top: 1.1rem; text-align: center; font-size: .95rem; }
.webonly { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, .8fr); gap: clamp(1.2rem, 4vw, 2.5rem); align-items: start; margin-top: 2.2rem; background: var(--mist); border: 1px solid var(--line); border-radius: 18px; padding: clamp(1.5rem, 4vw, 2.2rem); }
.webonly h3 { font-family: var(--serif); font-weight: 500; font-size: 1.6rem; margin: 0 0 .4rem; }
.webonly-price { display: flex; align-items: baseline; gap: .45rem; margin: 1rem 0 .1rem; }
.webonly-price b { font-family: var(--serif); font-size: 2.6rem; font-weight: 450; line-height: 1; letter-spacing: -0.02em; }
.webonly-price span, .webonly-price + p { color: var(--muted); }
.webonly .ticks { margin: .3rem 0 0; }
.webonly-cta { display: grid; gap: .7rem; align-self: center; }
.webonly-cta p { font-size: .9rem; margin: 0; }
@media (max-width: 900px) { .webonly { grid-template-columns: 1fr; } }

/* ---------- Expositor (misma tarjeta que se imprime) ---------- */
.stand-sec { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: center; margin-top: clamp(3.5rem, 8vw, 6rem); padding-top: clamp(3rem, 6vw, 4rem); border-top: 1px solid var(--line); }
@media (max-width: 760px) { .stand-sec { grid-template-columns: 1fr; } }
.stand-stage { position: relative; display: flex; justify-content: center; align-items: flex-end; min-height: 440px; padding: 1rem 0 2rem; background: var(--mist); border-radius: 20px; overflow-x: clip; }
.acrylic { position: relative; transform: perspective(1100px) rotateY(-12deg) rotateX(3deg); transition: transform .6s var(--ease); }
.stand-stage:hover .acrylic { transform: perspective(1100px) rotateY(-4deg) rotateX(1deg); }
.acrylic::before { content: ""; position: absolute; inset: -10px -10px 8px; border-radius: 20px; background: linear-gradient(120deg, rgba(255, 255, 255, .8), rgba(255, 255, 255, .2) 40%, rgba(255, 255, 255, .6)); box-shadow: inset 0 0 0 1px rgba(150, 146, 136, .5), 0 30px 40px -26px rgba(0, 0, 0, .4); }
.acrylic-base { position: relative; width: 250px; height: 16px; margin: 0 auto; border-radius: 3px 3px 10px 10px; background: linear-gradient(#f1efe9, #c4c0b6); box-shadow: 0 14px 18px -10px rgba(0, 0, 0, .3); }
.nfc-card { position: relative; width: 236px; aspect-ratio: 90 / 128; background: #fff; border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; align-items: center; text-align: center; box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.nfc-top { width: 100%; background: var(--ink); color: var(--on-dark); padding: 16px 14px 14px; }
.nfc-stars { display: block; line-height: 0; }
.nfc-q { margin: 8px 0 0; font-family: var(--serif); font-weight: 480; font-size: 1.18rem; line-height: 1.12; text-wrap: balance; }
.nfc-name { margin: 12px 12px 0; font-weight: 650; font-size: 1rem; min-height: 1.3em; }
.nfc-qr { width: 104px; height: 104px; margin-top: 8px; fill: var(--ink); }
.nfc-hint { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 10px 10px 0; color: var(--brass-ink); font-weight: 600; font-size: .74rem; line-height: 1.2; }
.nfc-hint svg { flex: none; }
.nfc-foot { margin: auto 0 0; padding: 8px; font-size: .62rem; color: var(--muted); }
.phone { position: absolute; right: max(2%, calc(50% - 250px)); bottom: 56px; width: 128px; height: 252px; border-radius: 26px; background: var(--ink); padding: 8px; box-shadow: 0 24px 40px -18px rgba(0, 0, 0, .55); opacity: 0; transform: translate(70px, 30px) rotate(12deg); pointer-events: none; }
.phone-screen { width: 100%; height: 100%; border-radius: 19px; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 10px; text-align: center; }
.phone-name { margin: 0; font-weight: 650; font-size: .82rem; }
.phone-stars { line-height: 0; transform: scale(.7); }
.phone-stars path { opacity: .18; }
.phone-thanks { margin: 0; font-size: .74rem; font-weight: 600; color: var(--good); opacity: 0; }
.ripple { position: absolute; left: 50%; top: 52%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; border: 2px solid var(--brass); opacity: 0; pointer-events: none; }
.stand-stage.tapping .phone { animation: phoneIn 2.6s var(--ease) forwards; }
.stand-stage.tapping .ripple { animation: ripple 1s .7s ease-out 2; }
.stand-stage.tapping .phone-stars path { animation: starOn .3s ease-out forwards; }
.stand-stage.tapping .phone-stars path:nth-child(1) { animation-delay: 1.2s; }
.stand-stage.tapping .phone-stars path:nth-child(2) { animation-delay: 1.32s; }
.stand-stage.tapping .phone-stars path:nth-child(3) { animation-delay: 1.44s; }
.stand-stage.tapping .phone-stars path:nth-child(4) { animation-delay: 1.56s; }
.stand-stage.tapping .phone-stars path:nth-child(5) { animation-delay: 1.68s; }
.stand-stage.tapping .phone-thanks { animation: fadeIn .4s 1.9s ease-out forwards; }
.stand-stage.done .phone { opacity: 1; transform: translate(46px, 6px) rotate(-6deg); }
.stand-stage.done .phone-stars path { opacity: 1; }
.stand-stage.done .phone-thanks { opacity: 1; }
@keyframes phoneIn {
  0% { opacity: 0; transform: translate(70px, 30px) rotate(12deg); }
  30% { opacity: 1; transform: translate(-120px, -110px) rotate(-6deg); }
  62% { opacity: 1; transform: translate(-120px, -110px) rotate(-6deg); }
  100% { opacity: 1; transform: translate(46px, 6px) rotate(-6deg); }
}
@keyframes ripple { from { opacity: .7; transform: scale(.6); } to { opacity: 0; transform: scale(3.2); } }
@keyframes starOn { to { opacity: 1; } }
@keyframes fadeIn { to { opacity: 1; } }
@media (max-width: 560px) { .phone { right: 0; width: 108px; height: 214px; } .stand-stage { min-height: 400px; } }

/* ---------- Cómo funciona ---------- */
.how { margin-top: clamp(3.5rem, 8vw, 6rem); }
.how-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2.5rem); counter-reset: step; }
.how-list li { counter-increment: step; border-top: 1px solid var(--ink); padding-top: 1.1rem; }
.how-list li::before { content: counter(step); display: block; font-family: var(--serif); font-size: 2.4rem; line-height: 1; color: var(--brass-ink); margin-bottom: .8rem; }
.how-list p { color: var(--muted); margin: 0; }
@media (max-width: 760px) { .how-list { grid-template-columns: 1fr; } }

/* ---------- Preguntas ---------- */
.faq { max-width: 780px; margin: clamp(3.5rem, 8vw, 6rem) auto clamp(4rem, 9vw, 7rem); }
.faq h2 { margin-bottom: 1.2rem; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 10px; height: 10px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(45deg) translateY(-3px); transition: transform .25s var(--ease); flex: none; }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.faq details p { margin: 0 0 1.2rem; color: var(--muted); max-width: 62ch; }

/* ---------- Cierre ---------- */
.foot-cta { padding-top: clamp(4rem, 9vw, 6.5rem); text-align: center; }
.foot-cta h2 { max-width: 18ch; margin-inline: auto; }
.foot-cta .sub { margin: 0 auto 1.8rem; }
.site-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: clamp(3.5rem, 8vw, 5rem); padding-block: 1.6rem; border-top: 1px solid var(--ink-line); color: var(--on-dark-muted); font-size: .9rem; text-align: left; }

/* ---------- Informe y paneles ---------- */
/* ---------- Informe ---------- */
.report-hero { padding-block: .5rem 2.5rem; }
.report-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(1.2rem, 4vw, 3rem); align-items: center; }
.report-grid .place { color: var(--on-dark-muted); }
.score-row { display: flex; gap: 1.2rem; align-items: center; margin-top: 1rem; flex-wrap: wrap; }
.gauge { width: 150px; height: 150px; flex: none; }
.gauge-num { font: 500 38px var(--serif); font-stretch: 125%; fill: #fff; }
.gauge-of { font: 500 12px var(--font); fill: var(--on-dark-muted); }
.gauge-arc { transition: stroke-dashoffset 1.2s cubic-bezier(.2, .8, .2, 1); }
.headline { font-size: 1.1rem; font-weight: 600; max-width: 34ch; margin: 0; }
.grade { display: inline-block; font-weight: 800; padding: .2rem .65rem; border-radius: 99px; background: #fff; margin-bottom: .5rem; }
@media (max-width: 760px) { .report-grid { grid-template-columns: 1fr; } }

.cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .7rem; margin-top: -1.6rem; position: relative; }
@media (max-width: 860px) { .cats { grid-template-columns: 1fr 1fr; } }
.cat-head { display: flex; justify-content: space-between; font-size: .95rem; margin-bottom: .55rem; gap: .5rem; }
.bar { height: 10px; background: var(--track); border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 99px; }
section > h2, .webkit-head h2 { margin-top: 2.6rem; }

.issues { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.issue { display: grid; grid-template-columns: 6.4rem minmax(0, 1fr); gap: .9rem; align-items: start; }
.issue p { margin: .2rem 0 0; color: var(--muted); }
.issue .fix { color: var(--cobalt-deep); font-weight: 650; }
.chip { justify-self: start; font-size: .78rem; font-weight: 700; padding: .25rem .6rem; border-radius: 99px; white-space: nowrap; margin-top: .1rem; }
.sev-alta .chip { background: #ffe3e3; color: #a51111; }
.sev-media .chip { background: #ffe8cc; color: #8a3a00; }
.sev-baja .chip { background: #e9f5db; color: #3b6a00; }

.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: .8rem; }
.service-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--mist); border: 1px solid var(--line); color: var(--cobalt-deep); display: grid; place-items: center; flex: none; }
.service h3 { margin-top: .7rem; }
.service p { color: var(--muted); font-size: .95rem; }
.service .solves { color: var(--ink); font-size: .88rem; font-weight: 600; margin: 0; }
.price { font-weight: 700; color: var(--cobalt-deep); font-size: .9rem; }

.strengths { margin-top: 1.5rem; }
.strengths summary { cursor: pointer; font-weight: 700; min-height: 30px; }
.strengths ul { list-style: none; padding: 0; margin: .8rem 0 0; color: var(--muted); display: grid; gap: .35rem; }

.cta { margin-top: 2.6rem; background: var(--cobalt); color: #fff; border-radius: 28px; padding: clamp(1.6rem, 4vw, 2.6rem); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; align-items: center; }
.cta .muted { color: var(--on-dark-muted); }
.cta .or { margin: .8rem 0 0; font-size: .9rem; }
.lead-form { display: grid; gap: .5rem; }
.form-msg { min-height: 1.2em; color: #ffd8a8; margin: 0; }
.ok-msg { font-weight: 700; font-size: 1.15rem; }
.foot { font-size: .85rem; margin: 1.5rem 0 2.5rem; text-align: center; }
@media (max-width: 760px) { .cta { grid-template-columns: 1fr; } }

/* ---------- Panel del cliente ---------- */
.client-hero { padding-block: .5rem 2.5rem; }
.client-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 1.6rem; align-items: center; }
.client-grid .shopfront { border-radius: 18px; }
.progress-score { display: flex; align-items: center; gap: .8rem; margin-top: 1rem; flex-wrap: wrap; }
.progress-score .from, .progress-score .to { font-size: 2.2rem; font-weight: 800; font-stretch: 125%; line-height: 1; }
.progress-score .from { color: var(--on-dark-muted); text-decoration: line-through; text-decoration-thickness: 3px; }
.progress-score .arrow { font-size: 1.5rem; color: var(--brass); }
@media (max-width: 680px) { .client-grid { grid-template-columns: 1fr; } .client-grid .shopfront { max-width: 320px; } }

.stepper { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .5rem; counter-reset: s; }
.stepper li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: .9rem; font-size: .92rem; font-weight: 600; }
.stepper li::before { content: counter(s); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--track); color: var(--muted); font-weight: 800; margin-bottom: .5rem; }
.stepper li.done::before { content: "✓"; background: var(--good); color: #fff; }
.stepper li.next { border-color: var(--cobalt); box-shadow: 0 0 0 2px var(--cobalt) inset; }
.stepper li.next::before { background: var(--cobalt); color: #fff; }
@media (max-width: 860px) { .stepper { grid-template-columns: 1fr; } .stepper li { display: flex; gap: .7rem; align-items: center; } .stepper li::before { margin: 0; flex: none; } }

.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: .7rem; }
.tile b { display: block; font-size: 2rem; font-weight: 800; font-stretch: 112%; line-height: 1.1; }
.tile span { color: var(--muted); font-size: .92rem; }
.tile .from { font-size: .85rem; color: var(--muted); }
.modules { display: grid; gap: .5rem; }
.module { display: flex; align-items: center; gap: .9rem; }
.module .grow { flex: 1; }
.module p { margin: 0; color: var(--muted); font-size: .92rem; }
.state { font-size: .8rem; font-weight: 700; padding: .25rem .65rem; border-radius: 99px; white-space: nowrap; }
.state-activo { background: #d3f9d8; color: #1b5e20; }
.state-configurando { background: #efe6d2; color: var(--cobalt-deep); }
.state-solicitado { background: #fff3bf; color: #6b4a00; }
.feed { list-style: none; padding: 0; margin: 0; display: grid; gap: .1rem; }
.feed li { display: grid; grid-template-columns: 7.5em 1fr; gap: .8rem; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.feed time { color: var(--muted); font-size: .88rem; white-space: nowrap; }
.two { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 1.2rem; align-items: start; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.feed.card { padding: .2rem 1.1rem; }
.feed li:last-child { border-bottom: 0; }
.service { display: flex; flex-direction: column; }
.service .price-row { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: .6rem; flex-wrap: wrap; }
@media (max-width: 520px) { .topbar > .muted { display: none; } }
.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; }
.how > .sr-only { counter-increment: none; }
.how > .sr-only::before { content: none; }



/* ---------- Formularios ---------- */
.small { font-size: .88rem; }
.field { display: grid; gap: .35rem; font-weight: 550; font-size: .95rem; }
.field input, .field textarea { font-weight: 400; }
.field textarea { resize: vertical; line-height: 1.5; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem 1rem; }
@media (max-width: 640px) { .field-grid { grid-template-columns: 1fr; } }
[aria-invalid="true"] { outline: 2px solid var(--bad); outline-offset: 0; }
.check { display: flex; gap: .6rem; align-items: flex-start; margin: 1.4rem 0 .4rem; line-height: 1.45; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: .1rem; accent-color: var(--ink); flex: none; }
.form-err { color: var(--bad); font-weight: 600; margin: .4rem 0; }
.form-err:empty { display: none; }
.btn-wide { width: 100%; margin-top: .6rem; }
.btn-link { font: inherit; font-weight: 550; background: none; border: 0; padding: .5rem 0; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: 44px; }
.btn-link:hover { color: var(--ink); }
.btn-link.danger { color: var(--bad); }
.signup-alert { background: #f3e7cc; color: #5a4214; border-radius: 10px; padding: .8rem 1rem; margin: 1.2rem 0 0; }
fieldset { border: 0; margin: 0 0 1.6rem; padding: 0; min-width: 0; }
legend { font-weight: 650; font-size: 1.05rem; margin-bottom: .8rem; padding: 0; }

/* ---------- Alta ---------- */
.signup { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; padding-block: clamp(2rem, 5vw, 3.5rem) 4rem; }
.signup h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.signup-main > .muted { max-width: 56ch; margin-bottom: 1.8rem; }
.plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; margin-bottom: 1rem; }
.plan-opt { position: relative; cursor: pointer; }
.plan-opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.plan-opt-in { display: grid; gap: .2rem; height: 100%; padding: 1rem 1.1rem; border: 1px solid #d6d3cc; border-radius: 14px; background: var(--paper); transition: border-color .2s, box-shadow .2s; }
.plan-opt-in b { font-family: var(--serif); font-weight: 500; font-size: 1.25rem; }
.plan-opt-price { font-weight: 650; font-variant-numeric: tabular-nums; }
.plan-opt-price small { font-weight: 450; color: var(--muted); }
.plan-opt input:checked + .plan-opt-in { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.plan-opt input:focus-visible + .plan-opt-in { outline: 2px solid var(--brass); outline-offset: 2px; }
.plan-opt:hover .plan-opt-in { border-color: #9c988f; }
.billing-sm button { min-height: 40px; padding: .4rem .9rem; }
.billing-sm[hidden] { display: none; }
.signup-side { position: sticky; top: 1.2rem; padding: 1.6rem; }
.signup-side h2 { font-size: 1.6rem; margin-bottom: .2rem; }
.sum-price { display: flex; align-items: baseline; gap: .35rem; margin: .6rem 0 .2rem; }
.sum-price b { font-family: var(--serif); font-weight: 450; font-size: 2.6rem; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.sum-price span { color: var(--muted); }
.signup-side h3 { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
@media (max-width: 860px) { .signup { grid-template-columns: 1fr; } .signup-side { position: static; order: -1; } }
@media (max-width: 480px) { .plan-grid { grid-template-columns: 1fr; } }
.signup-done { max-width: 640px; padding-block: clamp(3rem, 8vw, 6rem); }
.signup-done .btn { margin: 1rem 0; }
.terms { max-width: 760px; padding-block: clamp(2rem, 5vw, 3.5rem) 4rem; }
.terms h2 { font-size: 1.35rem; margin-top: 2rem; }
.terms p { color: #34373d; }

/* ---------- Panel del cliente: tu web y tu plan ---------- */
.webkit-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; }
.webkit-head .muted { max-width: 62ch; }
.save-state { font-size: .88rem; min-height: 1.4em; margin: 0; }
.webkit-actions { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; }
.webkit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.2rem; align-items: start; }
@media (max-width: 860px) { .webkit-grid { grid-template-columns: 1fr; } }
.webkit-files h3, .webkit-brief h3 { margin-top: 0; }
.webkit-files h3 + .logo-slot { margin-bottom: 1.4rem; }
.webkit-files h3 small { font-weight: 450; margin-left: .3rem; }
.webkit-brief { display: grid; gap: 1rem; }
.logo-slot { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.logo-slot .thumb-up { width: 120px; aspect-ratio: 3 / 2; background: var(--mist); }
.logo-slot .thumb-up img { object-fit: contain; padding: 8px; }
.drop { display: grid; place-items: center; text-align: center; min-height: 112px; padding: 1rem; border: 1.5px dashed #c4c0b6; border-radius: 12px; background: var(--mist); color: var(--muted); cursor: pointer; transition: border-color .2s, background .2s; }
.drop b { color: var(--ink); }
.drop:hover, .drop.over { border-color: var(--ink); background: #efede8; }
.drop:focus-within { outline: 2px solid var(--brass); outline-offset: 2px; }
.drop-sm { min-height: 48px; padding: .5rem 1rem; font-weight: 600; color: var(--ink); }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: .5rem; margin-top: .9rem; }
.thumb-up { position: relative; margin: 0; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: #e9e6df; display: grid; place-items: center; }
.thumb-up img { width: 100%; height: 100%; object-fit: cover; }
.thumb-up.is-loading span { font-size: .8rem; color: var(--muted); }
.thumb-del { position: absolute; top: 4px; right: 4px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(22, 24, 28, .78); color: #fff; font-size: 1.1rem; line-height: 1; cursor: pointer; }
.thumb-del:hover { background: var(--ink); }
.style-pick { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; }
.style-pick legend { font-weight: 550; font-size: .95rem; margin-bottom: .5rem; }
.style-pick label { position: relative; display: inline-flex; align-items: center; padding: .5rem 1rem; border: 1px solid #d6d3cc; border-radius: 99px; cursor: pointer; font-size: .93rem; min-height: 42px; white-space: nowrap; transition: border-color .2s, background .2s, color .2s; }
.style-pick label:hover { border-color: var(--ink); }
.style-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.style-pick label:has(input:checked) { border-color: var(--ink); background: var(--ink); color: var(--on-dark); }
.style-pick label:has(input:focus-visible) { outline: 2px solid var(--brass); outline-offset: 2px; }
.plan-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.2rem 2rem; align-items: start; padding: 1.5rem 1.6rem; }
.plan-card-name { font-family: var(--serif); font-size: 1.5rem; margin: 0; display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; }
.plan-card-name .state { font-family: var(--font); }
.plan-card-price { margin: .2rem 0 .8rem; color: var(--muted); }
.plan-card-price b { color: var(--ink); font-size: 1.2rem; }
.plan-card .ticks { margin-bottom: 0; }
.plan-card-actions { display: grid; gap: .3rem; justify-items: start; }
@media (max-width: 640px) { .plan-card { grid-template-columns: 1fr; } }
.cancel-box { margin-top: .8rem; padding: 1.4rem 1.6rem; border-color: #e3c9c4; }
.cancel-box[hidden] { display: none; }
.cancel-actions { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }



/* ---------- Conversación (cliente y equipo) ---------- */
.webkit-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.webkit-side { display: grid; gap: 1.2rem; }
.site-card { display: flex; align-items: center; gap: .7rem; }
.site-card[hidden] { display: none; }
.chat-box { display: flex; flex-direction: column; padding: 0; overflow: hidden; height: min(72vh, 680px); position: sticky; top: 1rem; }
.chat-log { flex: 1; overflow-y: auto; padding: 1.2rem 1.1rem; display: flex; flex-direction: column; gap: .6rem; background: var(--mist); scroll-behavior: smooth; }
.chat-log:focus-visible { outline-offset: -2px; }
.chat-empty { margin: auto; text-align: center; max-width: 30ch; }
.cm { display: flex; flex-direction: column; max-width: 82%; gap: .2rem; }
.cm-me { align-self: flex-end; align-items: flex-end; }
.cm-them { align-self: flex-start; }
.cm-b { padding: .6rem .85rem; border-radius: 14px; line-height: 1.45; font-size: .95rem; overflow-wrap: anywhere; }
.cm-b p { margin: 0; }
.cm-b a { color: inherit; }
.cm-me .cm-b { background: var(--ink); color: var(--on-dark); border-bottom-right-radius: 4px; }
.cm-them .cm-b { background: var(--paper); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.cm-file .cm-b { padding: 4px; background: var(--paper); border: 1px solid var(--line); }
.cm-img img { display: block; max-width: 220px; max-height: 220px; border-radius: 10px; object-fit: cover; }
.cm-file small { display: block; padding: .3rem .4rem .1rem; color: var(--muted); }
.cm time { font-size: .74rem; color: var(--muted); padding-inline: .2rem; }
.cm-note { align-self: center; margin: .2rem 0; font-size: .8rem; color: var(--muted); background: #ebe8e1; padding: .25rem .7rem; border-radius: 99px; text-align: center; }
.cm-note time { opacity: .75; margin-left: .3rem; }
.cm-web { background: var(--paper); border: 1px solid var(--line); border-left: 0; border-radius: 14px; padding: 1rem 1.1rem; display: grid; gap: .5rem; box-shadow: inset 0 3px 0 var(--brass); }
.cm-web b { font-family: var(--serif); font-size: 1.25rem; font-weight: 500; }
.cm-web p { margin: 0; }
.cm-web small { color: var(--muted); overflow-wrap: anywhere; }
.cm-web .btn { justify-self: start; }
.chat-form { display: flex; align-items: flex-end; gap: .5rem; padding: .7rem; border-top: 1px solid var(--line); background: var(--paper); }
.chat-form textarea { resize: none; height: 44px; min-height: 44px; max-height: 160px; padding: .65rem .8rem; line-height: 1.4; }
.chat-form .btn { min-height: 44px; flex: none; }
.chat-attach { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; border: 1px solid #d6d3cc; cursor: pointer; font-size: 1.3rem; color: var(--muted); }
.chat-attach:hover { border-color: var(--ink); color: var(--ink); }
.chat-attach:focus-within { outline: 2px solid var(--brass); outline-offset: 2px; }
.chat-box + .form-err, .chat-box .form-err { padding: 0 .9rem .6rem; margin: 0; }
@media (max-width: 860px) { .webkit-grid { grid-template-columns: 1fr; } .chat-box { position: static; height: 70vh; } }

/* ---------- Logotipo ---------- */
.logo{display:inline-flex;align-items:center;gap:.32em;font-size:var(--lg,26px);line-height:1;text-decoration:none;white-space:nowrap}
.lg-dark{color:#f4f2ec}.lg-light{color:#16181c}
.lg-a{font-family:"Newsreader",Georgia,serif;font-weight:560;letter-spacing:-.025em;font-variation-settings:"opsz" 72}
.lg-i{position:relative;display:inline-block}
.lg-i i{position:absolute;left:52%;top:.075em;width:.165em;height:.165em;margin-left:-.0825em;border-radius:50%;background:#c9a35b}
.lg-b{font-family:"Hanken Grotesk",system-ui,sans-serif;font-weight:400;letter-spacing:-.04em;font-size:.94em}
.lg-b b{font-weight:760}
.lg-dark .lg-b{color:#a9a69e}.lg-dark .lg-b b{color:#f4f2ec}
.lg-light .lg-b{color:#6a6d73}.lg-light .lg-b b{color:#16181c}
.lg-tile{position:relative;display:inline-grid;place-items:center;width:1.18em;height:1.18em;border-radius:.26em;font-family:"Newsreader",Georgia,serif;font-weight:600;font-size:.92em;padding-bottom:.08em}
.lg-dark .lg-tile{background:#f4f2ec;color:#16181c}.lg-light .lg-tile{background:#16181c;color:#f4f2ec}
.lg-tile i{position:absolute;right:.16em;bottom:.16em;width:.17em;height:.17em;border-radius:50%;background:#c9a35b}
.lg-tile-s{font-size:1em;width:1.12em;height:1.12em;border-radius:.24em;margin-right:.06em}
.lg-c{font-family:"Hanken Grotesk",system-ui,sans-serif;font-weight:640;letter-spacing:-.035em;font-size:.9em}

.feed.card { padding: .2rem 1.1rem; }
.feed li:last-child { border-bottom: 0; }
.service { display: flex; flex-direction: column; }
.service .price-row { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: .6rem; flex-wrap: wrap; }
@media (max-width: 520px) { .topbar > .muted { display: none; } }
.pack-price b, .calc-result .big, #lost, .tile b, .gauge-num { font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .acrylic, .stand-stage:hover .acrylic { transform: none; }
}

/* ---------- Ventanita de WhatsApp (web pública y panel del cliente) ---------- */
.faq-more { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 1.2rem; margin-top: 1.6rem; padding: 1.1rem 1.25rem; background: var(--mist); border-radius: var(--radius); }
.faq-more p { margin: 0; font-weight: 600; }
.foot .btn-link[data-wa-open] { padding: 0; min-height: 0; color: inherit; }
.wa-widget { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: .75rem; }
.wa-fab { display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 50%; border: 0; background: var(--wa); color: #fff; cursor: pointer; box-shadow: 0 10px 28px -8px rgba(22, 24, 28, .45), 0 2px 6px rgba(22, 24, 28, .18); transition: transform .2s var(--ease), background .2s; }
.wa-fab:hover { background: #17633d; transform: translateY(-2px); }
.wa-fab:active { transform: scale(.96); }
.wa-fab-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wa-panel { width: min(360px, calc(100vw - 32px)); max-height: calc(100dvh - 110px); overflow: auto; background: var(--paper); color: var(--text); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 60px -18px rgba(22, 24, 28, .45); transform-origin: bottom right; }
.wa-panel.wa-in { animation: wa-in .28s var(--ease); }
@keyframes wa-in { from { opacity: 0; transform: translateY(10px) scale(.97); } }
.wa-head { display: flex; align-items: center; gap: .75rem; padding: .9rem .9rem .9rem 1rem; background: var(--wa); color: #fff; border-radius: 17px 17px 0 0; }
.wa-head h2 { font-family: var(--font); font-size: 1rem; font-weight: 650; letter-spacing: 0; line-height: 1.25; margin: 0; }
.wa-sub { margin: .1rem 0 0; font-size: .85rem; opacity: .9; }
.wa-head > div { flex: 1; }
.wa-avatar { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.wa-close { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 10px; background: transparent; color: #fff; cursor: pointer; }
.wa-close:hover { background: rgba(255, 255, 255, .14); }
.wa-close:focus-visible { outline-color: #fff; }
.wa-body { padding: 1rem; display: grid; gap: .75rem; background: var(--mist); border-radius: 0 0 17px 17px; }
.wa-bubble { margin: 0; padding: .7rem .85rem; background: var(--paper); border: 1px solid var(--line); border-radius: 4px 14px 14px 14px; font-size: .95rem; }
.wa-topics { display: flex; flex-wrap: wrap; gap: .45rem; }
.wa-topic { font: inherit; font-size: .9rem; font-weight: 550; min-height: 40px; padding: .4rem .8rem; border-radius: 999px; border: 1px solid #cfccc5; background: var(--paper); color: var(--ink); cursor: pointer; }
.wa-topic:hover { border-color: var(--ink); }
.wa-topic[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.wa-label { font-size: .85rem; font-weight: 600; color: var(--muted); margin-bottom: -.4rem; }
.wa-body textarea { font: inherit; font-size: .95rem; resize: vertical; min-height: 84px; padding: .65rem .75rem; border: 1px solid #cfccc5; border-radius: 10px; }
.wa-send { justify-content: center; gap: .55rem; width: 100%; }
.wa-note { margin: 0; font-size: .8rem; color: var(--muted); }
@media (prefers-reduced-motion: reduce) {
  .wa-fab, .wa-fab:hover { transition: none; transform: none; }
  .wa-panel.wa-in { animation: none; }
}
@media print { .wa-widget { display: none; } }
