/* Sirius · sitio en blanco. Layout: portal de tres cuadrantes animados; cada línea con su página y su color; todo termina en el diagnóstico por WhatsApp. */
:root {
  --bg: #FFFFFF;
  --bg-soft: #F6F5F2;
  --ink: #0A0A0A;
  --muted: #5A5A57;
  --rule: #E5E3DD;
  --health: #12A57A;
  --business: #6C4CF5;
  --food: #EF5A33;
  --line: #0A0A0A;
  --font-display: "Sora", "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 22px;
  color-scheme: light;
}
body.l-health { --line: var(--health); }
body.l-business { --line: var(--business); }
body.l-food { --line: var(--food); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--bg); }
h1, h2, h3 { font-family: var(--font-display); margin: 0; text-wrap: balance; letter-spacing: -0.025em; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--line); outline-offset: 3px; border-radius: 8px; }
.wrap {
  width: 100%; max-width: 1180px; margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.label { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

/* Logo */
.wm { display: inline-flex; align-items: baseline; line-height: 1; letter-spacing: -0.02em; font-family: var(--font-display); font-weight: 700; color: var(--ink); text-decoration: none; }
.wm .i { position: relative; display: inline-block; }
.wm .i::after { content: ""; position: absolute; left: 50%; top: .13em; width: .15em; height: .15em; margin-left: -.075em; border-radius: 50%; background: var(--line); }
.wm.cycle .i::after { animation: dotcycle 6s infinite; }
.wm.cycle .i + span + .i::after { animation-delay: -3s; }
@keyframes dotcycle {
  0%, 45% { background: var(--health); }
  50%, 95% { background: var(--business); }
  100% { background: var(--health); }
}
.brand { display: inline-flex; flex-direction: column; gap: 3px; text-decoration: none; }
.brand .wm { font-size: 30px; }
.brand small { font-size: 8.5px; font-weight: 600; letter-spacing: .32em; color: var(--muted); padding-left: 2px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px;
  border-radius: 999px; font: 600 15px var(--font-body); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--ink); color: #fff; }
body.l-health .btn-primary, body.l-business .btn-primary, body.l-food .btn-primary { background: var(--line); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn-ghost:hover { border-color: var(--ink); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.switcher { display: flex; gap: 6px; padding: 4px; border: 1px solid var(--rule); border-radius: 999px; background: var(--bg-soft); }
.switcher a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border-radius: 999px;
  text-decoration: none; font-size: 13px; font-weight: 600; color: var(--muted); transition: background .2s ease, color .2s ease;
}
.switcher a i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.switcher a:hover { color: var(--ink); }
.switcher a[aria-current="page"] { background: var(--c); color: #fff; }
.switcher a[aria-current="page"] i { background: #fff; }
.site-header .btn { min-height: 40px; padding: 0 18px; font-size: 14px; }
@media (max-width: 860px) { .site-header .btn { display: none; } }
@media (max-width: 520px) {
  .site-header .wrap { flex-wrap: wrap; row-gap: 10px; }
  .switcher { width: 100%; justify-content: space-between; }
  .switcher a { flex: 1; justify-content: center; padding: 0 8px; }
}

/* Portal: los tres cuadrantes */
.portal { padding-block: 56px 72px; }
.portal-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.portal-head h1 { font-size: clamp(40px, 6.6vw, 84px); line-height: .98; font-weight: 700; max-width: 11em; }
.portal-head p { color: var(--muted); font-size: 18px; max-width: 24em; }
.choices { display: flex; gap: 14px; height: 560px; }
.choice {
  --c: var(--ink);
  position: relative; flex: 1 1 0; min-width: 0; border-radius: 28px; overflow: hidden; text-decoration: none; color: var(--ink);
  background: color-mix(in srgb, var(--c) 7%, var(--bg)); border: 1px solid color-mix(in srgb, var(--c) 22%, var(--rule));
  transition: flex-grow .7s cubic-bezier(.2,.8,.2,1), transform .4s ease, box-shadow .4s ease;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.choice canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.choice .c-body { position: relative; padding: 28px; display: flex; flex-direction: column; gap: 12px; background: linear-gradient(0deg, color-mix(in srgb, var(--c) 7%, var(--bg)) 55%, transparent); }
.choice .c-tag { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .2em; color: var(--c); }
.choice .c-tag i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.choice h2 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.08; font-weight: 700; }
.choice p { color: var(--muted); font-size: 15px; max-width: 26em; }
.choice .c-go { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--c); }
.choice .c-go svg { width: 18px; height: 18px; transition: transform .3s ease; }
.choice:hover, .choice:focus-visible { flex-grow: 1.7; box-shadow: 0 30px 70px -40px var(--c); }
.choice:hover .c-go svg { transform: translateX(4px); }
.choices:hover .choice:not(:hover) { transform: scale(.985); }
@media (max-width: 860px) {
  .choices { flex-direction: column; height: auto; }
  .choice { min-height: 300px; flex: none; }
  .choice:hover, .choice:focus-visible { flex-grow: 0; }
  .choices:hover .choice:not(:hover) { transform: none; }
}

/* Line hero */
.line-hero { padding-block: 40px 24px; }
.line-hero .panel {
  position: relative; border-radius: 32px; overflow: hidden; min-height: 520px;
  background: color-mix(in srgb, var(--line) 8%, var(--bg)); border: 1px solid color-mix(in srgb, var(--line) 22%, var(--rule));
  display: flex; align-items: flex-end;
}
.line-hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.line-hero .h-body { position: relative; padding: 48px; display: flex; flex-direction: column; gap: 20px; max-width: 760px; }
.line-hero .c-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .22em; color: var(--line); }
.line-hero .c-tag i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.line-hero h1 { font-size: clamp(38px, 6vw, 76px); line-height: 1; font-weight: 700; }
.line-hero .lead { font-size: clamp(17px, 1.6vw, 20px); color: #3A3A38; max-width: 34em; }
.line-hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 600px) { .line-hero .panel { min-height: 460px; } .line-hero .h-body { padding: 26px; } }

/* Sections */
section.band { padding-block: 88px; }
.band-head { display: flex; flex-direction: column; gap: 14px; max-width: 46em; margin-bottom: 44px; }
.band-head h2 { font-size: clamp(30px, 4.2vw, 50px); line-height: 1.05; font-weight: 700; }
.band-head p { color: var(--muted); font-size: 18px; }
@media (max-width: 600px) { section.band { padding-block: 60px; } .band-head { margin-bottom: 30px; } }

/* Benefits */
.benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.benefit { padding: 30px; border-radius: var(--radius); border: 1px solid var(--rule); display: flex; flex-direction: column; gap: 14px; background: var(--bg); }
.benefit .b-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: color-mix(in srgb, var(--line) 12%, var(--bg)); color: var(--line); }
.benefit .b-icon svg { width: 26px; height: 26px; }
.benefit h3 { font-size: 21px; font-weight: 600; line-height: 1.2; }
.benefit p { color: var(--muted); font-size: 15px; }
@media (max-width: 900px) { .benefits { grid-template-columns: 1fr; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.step { display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: var(--radius); background: var(--bg-soft); position: relative; overflow: hidden; }
.step-top { display: flex; align-items: center; justify-content: space-between; }
.step-num { font-family: var(--font-display); font-size: 13px; font-weight: 700; letter-spacing: .14em; color: var(--muted); }
.step svg { width: 28px; height: 28px; color: var(--line); }
.step h3 { font-size: 20px; font-weight: 600; }
.step p { color: var(--muted); font-size: 15px; }
.step.first { background: var(--ink); color: #fff; }
.step.first p, .step.first .step-num { color: #C9C9C4; }
.step.first svg { color: #fff; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Example / testimonial */
.example { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
.ex-card { padding: 34px; border-radius: var(--radius); border: 1px solid var(--rule); display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.ex-card .tag { align-self: flex-start; padding: 6px 12px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .16em; background: color-mix(in srgb, var(--line) 12%, var(--bg)); color: var(--line); }
.ex-card h3 { font-size: 26px; font-weight: 700; line-height: 1.15; }
.ex-card .where { color: var(--muted); font-size: 15px; margin-top: -8px; }
.ex-card ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.ex-card li { display: flex; gap: 12px; }
.ex-card li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--line); margin-top: 10px; flex: none; }
.quote { padding: 34px; border-radius: var(--radius); background: var(--ink); color: #fff; display: flex; flex-direction: column; gap: 20px; justify-content: space-between; min-width: 0; position: relative; overflow: hidden; }
.quote .q-mark { font-family: var(--font-display); font-size: 96px; line-height: .6; color: var(--line); height: 44px; }
.quote blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(20px, 2vw, 26px); line-height: 1.35; font-weight: 500; }
.quote .pending { display: inline-block; margin-top: 6px; padding: 4px 10px; border-radius: 999px; border: 1px dashed #6B6B66; font: 600 11px var(--font-body); letter-spacing: .14em; color: #C9C9C4; }
.quote cite { font-style: normal; color: #C9C9C4; font-size: 14px; }
.quote cite b { color: #fff; display: block; font-size: 16px; }
@media (max-width: 860px) { .example { grid-template-columns: 1fr; } }

/* Food demo */
.demo { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; }
.menu-card { border: 1px solid var(--rule); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.menu-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.menu-head h3 { font-size: 24px; font-weight: 700; }
.menu-head span { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--food); }
.dish { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--rule); }
.dish b { display: block; font-weight: 600; }
.dish small { color: var(--muted); font-size: 13px; }
.dish .price { font-variant-numeric: tabular-nums; font-weight: 600; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--rule); border-radius: 999px; }
.qty button { width: 40px; height: 40px; border: 0; background: transparent; font-size: 20px; cursor: pointer; color: var(--ink); border-radius: 999px; }
.qty button:hover { background: var(--bg-soft); }
.qty output { min-width: 22px; text-align: center; font-variant-numeric: tabular-nums; font-weight: 600; }
.mode { display: flex; gap: 10px; flex-wrap: wrap; }
.mode label { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid var(--rule); border-radius: 999px; font-size: 14px; cursor: pointer; }
.mode input { accent-color: var(--food); }
.phone { background: #ECE7DF; border-radius: 28px; padding: 18px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.phone .ph-top { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; }
.phone .ph-top i { width: 32px; height: 32px; border-radius: 50%; background: var(--food); display: block; }
.bubble { align-self: flex-end; max-width: 92%; background: #DCF8C6; color: #111; border-radius: 16px 16px 4px 16px; padding: 12px 14px; font-size: 14px; line-height: 1.5; white-space: pre-wrap; font-variant-numeric: tabular-nums; }
.bubble.empty { background: #fff; color: var(--muted); align-self: stretch; text-align: center; border-radius: 16px; }
.total { display: flex; justify-content: space-between; font-weight: 700; font-size: 18px; font-variant-numeric: tabular-nums; padding-top: 10px; border-top: 1px solid var(--rule); }
.demo-note { font-size: 13px; color: var(--muted); }
@media (max-width: 860px) { .demo { grid-template-columns: 1fr; } }

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.05; font-weight: 700; }
.about p { color: #3A3A38; font-size: 18px; }
.about-copy { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.people { display: flex; flex-wrap: wrap; gap: 12px; }
.person { padding: 14px 18px; border-radius: 16px; border: 1px solid var(--rule); }
.person b { display: block; font-family: var(--font-display); font-size: 17px; }
.person span { color: var(--muted); font-size: 14px; }
.photo-slot { aspect-ratio: 4 / 3; max-width: 100%; border-radius: 28px; border: 1px dashed #CFCCC4; background: var(--bg-soft); display: grid; place-items: center; color: var(--muted); font-size: 14px; text-align: center; padding: 24px; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; gap: 28px; } }

/* Diagnóstico */
.diag { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.diag-intro { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.diag-intro h2 { font-size: clamp(30px, 4.2vw, 50px); line-height: 1.05; font-weight: 700; }
.diag-intro p { color: var(--muted); font-size: 17px; }
.contact-lines { display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
.contact-line { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.contact-line svg { width: 20px; height: 20px; flex: none; color: var(--line); }
.sel { user-select: all; font-weight: 600; }
form.diag-form { background: var(--bg-soft); border-radius: 26px; padding: 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; min-width: 0; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 14px; font-weight: 600; }
.field input, .field select, .field textarea { font: inherit; font-size: 15px; color: var(--ink); background: #fff; border: 1px solid var(--rule); border-radius: 12px; padding: 12px 14px; min-height: 48px; width: 100%; }
.field textarea { min-height: 88px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--line); }
fieldset.field { border: 0; padding: 0; margin: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 10px; }
.checks label { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; background: #fff; border: 1px solid var(--rule); border-radius: 999px; font-weight: 500; font-size: 14px; cursor: pointer; }
.checks input { accent-color: var(--line); width: 16px; height: 16px; }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.form-hint { color: var(--muted); font-size: 13px; }
.result { grid-column: 1 / -1; border: 1px solid var(--line); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 14px; background: #fff; }
.result[hidden] { display: none; }
.result pre { margin: 0; white-space: pre-wrap; font: 14px/1.6 var(--font-body); color: #3A3A38; max-height: 220px; overflow: auto; }
.result .row { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 860px) { .diag { grid-template-columns: 1fr; gap: 30px; } }
@media (max-width: 560px) { form.diag-form { grid-template-columns: 1fr; padding: 22px; } }

/* Footer */
footer { border-top: 1px solid var(--rule); }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; padding-block: 40px; color: var(--muted); font-size: 14px; }
footer .f-cols { display: flex; flex-wrap: wrap; gap: 32px; }
footer .f-cols div { display: flex; flex-direction: column; gap: 6px; }
footer .f-cols a { text-decoration: none; }
footer .f-cols a:hover { color: var(--ink); }
footer b { color: var(--ink); font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wm.cycle .i::after { animation: none; }
  .choice, .btn { transition: none; }
}

/* Portal: entrada directa a la elección */
.portal-header .btn { display: inline-flex; min-height: 40px; padding: 0 16px; font-size: 14px; }
main.portal { padding-block: 36px 28px; min-height: calc(100vh - 70px); display: flex; flex-direction: column; justify-content: center; }
main.portal .portal-head { margin-bottom: 26px; }
main.portal .portal-head h1 { font-size: clamp(38px, 5.6vw, 72px); }
main.portal .portal-head p { font-size: 18px; }
main.portal .portal-head p b { color: var(--ink); font-weight: 600; }
main.portal .choices { height: clamp(380px, 58vh, 560px); }
.portal-foot { margin-top: 20px; color: var(--muted); font-size: 14px; text-align: center; }
@media (max-width: 860px) {
  main.portal { min-height: 0; padding-block: 24px; }
  main.portal .portal-head { margin-bottom: 18px; gap: 10px; }
  main.portal .portal-head p { font-size: 16px; }
  main.portal .choices { height: auto; gap: 12px; }
  main.portal .choice { min-height: 172px; }
  main.portal .choice .c-body { padding: 20px; gap: 6px; }
  main.portal .choice h2 { font-size: 22px; }
  main.portal .choice p { font-size: 13.5px; }
}

/* Intro 3D */
html.intro-on, html.intro-on body { overflow: hidden; }
.intro { position: fixed; inset: 0; z-index: 100; background: #FFFFFF; transition: opacity .7s ease; }
.intro.done { opacity: 0; pointer-events: none; }
.intro canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.intro-progress { position: absolute; left: 0; right: 0; top: env(safe-area-inset-top, 0px); height: 3px; }
.intro-progress i { display: block; height: 100%; width: 0; background: var(--ink); }
.intro-skip {
  position: absolute; top: calc(env(safe-area-inset-top, 0px) + 16px); right: max(16px, env(safe-area-inset-right, 0px));
  min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--rule); background: #FFFFFF;
  color: var(--ink); font: 600 14px var(--font-body); cursor: pointer;
}
.intro-skip:hover { border-color: var(--ink); }
.intro-ui {
  position: absolute; left: 0; right: 0; bottom: calc(env(safe-area-inset-bottom, 0px) + max(6vh, 32px));
  display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; pointer-events: none;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.intro-line {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 5vw, 66px); line-height: 1.05; letter-spacing: -0.03em;
  max-width: 17ch; text-wrap: balance; color: var(--ink); transition: opacity .25s ease, transform .25s ease;
}
.intro-line.out { opacity: 0; transform: translateY(10px); }
.intro-search {
  --q: #0A0A0A;
  display: inline-flex; align-items: center; gap: 12px; padding: 14px 24px; border-radius: 999px; background: #FFFFFF;
  border: 2.5px solid var(--q); color: var(--ink); font: 500 clamp(18px, 2.4vw, 28px) var(--font-body);
  box-shadow: 0 24px 50px -28px var(--q); transition: border-color .12s, box-shadow .12s, opacity .3s;
}
.intro-search b { color: var(--q); font-weight: 700; transition: color .12s; }
.intro-search svg { width: 24px; height: 24px; color: var(--muted); flex: none; }
.intro-search .caret { width: 2px; height: 1.1em; background: var(--q); animation: caret 1s steps(1) infinite; }
.intro-search.off { opacity: 0; }
@keyframes caret { 50% { opacity: 0; } }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
html.portal-enter main.portal .choice { animation: choiceIn .8s cubic-bezier(.2,.8,.2,1) both; }
html.portal-enter main.portal .choice:nth-child(2) { animation-delay: .08s; }
html.portal-enter main.portal .choice:nth-child(3) { animation-delay: .16s; }
@keyframes choiceIn { from { opacity: 0; transform: translateY(40px) scale(.96); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .intro { display: none; } html.portal-enter main.portal .choice { animation: none; } }
@media (max-width: 860px) { main.portal .choice canvas { opacity: .55; } }

/* Cinco pasos */
ol.steps { list-style: none; margin: 0; padding: 0; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.step > svg { width: 30px; height: 30px; color: var(--line); }
.step.first > svg { color: #fff; }
.step .free { font-size: 10.5px; font-weight: 700; letter-spacing: .16em; padding: 4px 9px; border-radius: 999px; background: var(--line); color: #fff; }
body:not([class]) .step .free, .step.first .free { background: #fff; color: var(--ink); }
.loop { margin-top: 18px; display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 15px; }
.loop svg { width: 22px; height: 22px; color: var(--line); flex: none; }
@media (max-width: 1100px) { ol.steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } ol.steps .step.first { grid-column: 1 / -1; } }
@media (max-width: 560px) { ol.steps { grid-template-columns: 1fr; } }

/* Cinco pasos en versión compacta */
section#como { padding-block: 48px; }
#como .band-head { margin-bottom: 20px; gap: 8px; }
#como .band-head h2 { font-size: clamp(22px, 2.6vw, 30px); }
#como ol.steps { gap: 10px; }
#como .step { padding: 16px 18px; gap: 6px; border-radius: 16px; display: grid; grid-template-columns: auto 1fr; grid-template-areas: "top top" "ico name" "txt txt"; column-gap: 10px; align-items: center; }
#como .step-top { grid-area: top; }
#como .step > svg { grid-area: ico; width: 20px; height: 20px; }
#como .step h3 { grid-area: name; font-size: 16px; }
#como .step p { grid-area: txt; font-size: 13.5px; line-height: 1.45; }
#como .step-num { font-size: 11px; }
#como .step .free { font-size: 9.5px; padding: 3px 8px; }
#como .loop { margin-top: 12px; font-size: 13.5px; }
#como .loop svg { width: 18px; height: 18px; }
@media (max-width: 1100px) { #como ol.steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } #como ol.steps .step.first { grid-column: auto; } }
@media (max-width: 760px) { #como ol.steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } #como ol.steps .step.first { grid-column: 1 / -1; } }
@media (max-width: 420px) { section#como { padding-block: 36px; } #como .step { padding: 14px; } }
#como .step { align-content: start; }

/* Lo que trabajamos: versión compacta */
section.ben { padding-block: 40px 24px; }
section.ben .band-head { margin-bottom: 18px; gap: 8px; }
section.ben .band-head h2 { font-size: clamp(22px, 2.6vw, 30px); }
section.ben .benefits { gap: 10px; }
section.ben .benefit { padding: 16px 18px; border-radius: 16px; display: grid; grid-template-columns: auto 1fr; grid-template-areas: "ico name" "txt txt"; column-gap: 12px; row-gap: 6px; align-items: center; align-content: start; }
section.ben .benefit .b-icon { grid-area: ico; width: 36px; height: 36px; border-radius: 10px; }
section.ben .benefit .b-icon svg { width: 20px; height: 20px; }
section.ben .benefit h3 { grid-area: name; font-size: 16px; }
section.ben .benefit p { grid-area: txt; font-size: 13.5px; line-height: 1.45; }
@media (max-width: 420px) { section.ben { padding-block: 32px 16px; } section.ben .benefit { padding: 14px; } }

/* Diagnóstico como ventana que se abre con el botón */
dialog.diag-dialog {
  width: min(1100px, calc(100% - 32px)); max-height: calc(100% - 48px); padding: 0; border: 0; border-radius: 28px;
  background: var(--bg); color: var(--ink); overflow: auto; box-shadow: 0 40px 120px -40px rgba(0,0,0,.45);
}
dialog.diag-dialog::backdrop { background: rgba(10,10,10,.45); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
dialog.diag-dialog[open] { animation: dlgIn .35s cubic-bezier(.2,.8,.2,1); }
@keyframes dlgIn { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
dialog.diag-dialog .diag { padding: 44px; }
.diag-close {
  position: sticky; top: 14px; float: right; margin: 14px 14px 0 0; z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--rule); background: var(--bg); color: var(--ink);
  display: grid; place-items: center; cursor: pointer;
}
.diag-close svg { width: 20px; height: 20px; }
.diag-close:hover { border-color: var(--ink); }
html.dlg-open, html.dlg-open body { overflow: hidden; }
@media (max-width: 760px) {
  dialog.diag-dialog { width: 100%; max-width: 100%; max-height: 92%; margin: auto 0 0; border-radius: 24px 24px 0 0; }
  dialog.diag-dialog .diag { padding: 8px 18px calc(24px + env(safe-area-inset-bottom, 0px)); }
  dialog.diag-dialog[open] { animation-name: sheetIn; }
  @keyframes sheetIn { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
}
@media (prefers-reduced-motion: reduce) { dialog.diag-dialog[open] { animation: none; } }
.diag-close { float: none; position: sticky; top: 12px; margin: 12px 12px -56px auto; }
dialog.diag-dialog .diag-intro .label { padding-right: 56px; }
@media (max-width: 760px) { dialog.diag-dialog .diag { padding-top: 20px; } }

/* Caso con la página del cliente desplazándose en un celular */
.example.ex3 { grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: center; }
.ex-stack { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; min-width: 0; }
.device-wrap { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.device-wrap figcaption { font-size: 13px; color: var(--muted); }
.device {
  --sw: 248px; width: calc(var(--sw) + 20px); padding: 10px; border-radius: 42px; background: #0A0A0A;
  box-shadow: 0 40px 80px -40px color-mix(in srgb, var(--line) 70%, transparent), inset 0 0 0 2px #2A2A2A;
}
.device .screen { width: var(--sw); height: calc(var(--sw) * 2.164); border-radius: 32px; overflow: hidden; background: #fff; position: relative; }
.device .screen img { display: block; width: 100%; height: auto; max-width: none; animation: scrollSite 26s ease-in-out infinite alternate; will-change: transform; }
.device:hover .screen img { animation-play-state: paused; }
@keyframes scrollSite {
  0%, 8% { transform: translateY(0); }
  92%, 100% { transform: translateY(calc(-100% + var(--sw) * 2.164)); }
}
@media (max-width: 860px) { .example.ex3 { grid-template-columns: 1fr; } .device { --sw: 220px; } }
@media (prefers-reduced-motion: reduce) { .device .screen img { animation: none; } }

/* Tres botones: diagnóstico, WhatsApp y correo */
.cta-trio { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.cta-trio.compact { gap: 8px; flex-wrap: nowrap; }
.site-header .cta-trio .btn { display: inline-flex; min-height: 40px; padding: 0 16px; font-size: 14px; }
.site-header .cta-trio .btn-icon, .btn-icon { width: 40px; min-height: 40px; padding: 0; border-radius: 50%; }
.btn-icon svg { width: 19px; height: 19px; }
@media (max-width: 860px) { .site-header .cta-trio .btn { display: inline-flex; } }
@media (max-width: 520px) {
  .site-header .cta-trio .btn-primary { padding: 0 14px; font-size: 13px; }
  .site-header:not(.portal-header) .cta-trio { order: 1; }
  .site-header:not(.portal-header) .switcher { order: 2; }
}
@media (max-width: 370px) { .site-header .cta-trio .btn-primary { padding: 0 10px; font-size: 12px; } }
@media (max-width: 520px) {
  .brand .wm { font-size: 24px; }
  .brand small { font-size: 7px; letter-spacing: .26em; }
  .site-header .cta-trio .btn-icon { width: 38px; min-height: 38px; }
  .site-header .cta-trio .btn-primary { min-height: 38px; }
}
@media (max-width: 600px) { .line-hero canvas { opacity: .35; } }

/* Camino corto al diagnóstico */
.cta-main { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.btn-big { min-height: 56px; padding: 0 28px; font-size: 16px; }
.cta-alt { font-size: 14px; color: var(--muted); }
.cta-alt a { color: var(--ink); text-underline-offset: 3px; }
.case-cta { justify-self: start; }
.demo-cta { margin-top: 18px; }
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar {
    display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
    background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--rule);
  }
  .mbar .btn-primary { flex: 1; min-height: 50px; }
  .mbar .btn-icon { width: 50px; min-height: 50px; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  html.intro-on .mbar { display: none; }
}

/* Diagnóstico en 5 pasos */
dialog.diag-dialog { width: min(680px, calc(100% - 32px)); }
dialog.diag-dialog[data-line="health"] { --line: var(--health); }
dialog.diag-dialog[data-line="business"] { --line: var(--business); }
dialog.diag-dialog[data-line="food"] { --line: var(--food); }
dialog.diag-dialog .btn-primary { background: var(--line); }
.wiz { padding: 40px 44px 32px; display: flex; flex-direction: column; gap: 22px; }
.wiz [hidden] { display: none !important; }
.wiz-head { display: flex; flex-direction: column; gap: 10px; }
.wiz-head .label, .wiz-head h2 { padding-right: 56px; }
.wiz-head h2 { font-family: var(--font-display); font-size: clamp(26px, 3.4vw, 36px); line-height: 1.1; font-weight: 700; margin: 0; letter-spacing: -.01em; }
.wiz-progress { height: 6px; border-radius: 99px; background: var(--bg-soft); overflow: hidden; margin-top: 6px; }
.wiz-progress i { display: block; height: 100%; width: 20%; background: var(--line); border-radius: inherit; transition: width .35s cubic-bezier(.2,.8,.2,1), background-color .3s; }
.wiz-count { font-size: 13px; color: var(--muted); margin: 0; }
.wiz-form { display: flex; flex-direction: column; gap: 18px; }
.wiz-step { border: 0; padding: 0; margin: 0; min-width: 0; display: flex; flex-direction: column; gap: 18px; animation: stepIn .3s ease; }
@keyframes stepIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.wiz-step legend, .wiz-done h3 { font-family: var(--font-display); font-size: 20px; font-weight: 600; padding: 0; margin: 0 0 4px; }
.wiz-help { margin: -8px 0 0; color: var(--muted); font-size: 14.5px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.flabel { font-size: 14px; font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip > span { display: inline-block; padding: 11px 16px; border: 1px solid var(--rule); border-radius: 999px; background: #fff; font-size: 14.5px; font-weight: 500; line-height: 1.25; transition: background-color .15s, border-color .15s, color .15s; }
.chip:hover > span { border-color: var(--ink); }
.chip input:checked + span { background: var(--line); border-color: var(--line); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--line); outline-offset: 2px; }
.links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
.links:empty { display: none; }
.wiz-nav { display: flex; gap: 10px; justify-content: space-between; align-items: center; }
.wiz-nav #wizNext { margin-left: auto; }
.wiz-hint { margin: -4px 0 0; font-size: 13px; color: var(--muted); }
.wiz-done { gap: 14px; }
.wiz-done p { margin: -6px 0 0; color: var(--muted); }
.wiz-done pre { margin: 0; white-space: pre-wrap; font: 14px/1.6 var(--font-body); color: #3A3A38; background: var(--bg-soft); border-radius: 16px; padding: 16px 18px; max-height: 240px; overflow: auto; }
.wiz-done .row { display: flex; flex-wrap: wrap; gap: 10px; }
.wiz-done .linkish { align-self: flex-start; }
.wiz-direct { margin: 0; padding-top: 16px; border-top: 1px solid var(--rule); font-size: 14px; color: var(--muted); }
.wiz-direct a { color: var(--ink); text-underline-offset: 3px; }
@media (max-width: 760px) {
  .wiz { padding: 22px 18px calc(22px + env(safe-area-inset-bottom, 0px)); gap: 18px; }
  .grid2, .links { grid-template-columns: 1fr; }
  .chip > span { padding-block: 12px; }
  .wiz-done .row .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { .wiz-step { animation: none; } .wiz-progress i { transition: none; } }

/* Eslogan: tres golpes, el último resalta */
.portal-head h1 { max-width: 14em; }
.portal-head h1 span { white-space: nowrap; }

.portal-head h1 .gold { color: #C38624; }

/* ---- Claridad: lo que hacemos, planes, trabajos, preguntas ---- */
.home-band { --line: #C38624; }
.benefits.b4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.plan { padding: 32px; border-radius: var(--radius); border: 1px solid var(--rule); background: var(--bg); display: flex; flex-direction: column; gap: 12px; }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan h3 { font-size: 28px; font-weight: 700; }
.plan .plan-sub { color: var(--muted); font-size: 15px; margin-top: -4px; }
.plan ul { margin: 8px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.plan li { display: flex; gap: 12px; }
.plan li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--line); margin-top: 9px; flex: none; }
.plan.featured { background: var(--ink); color: #fff; border-color: var(--ink); }
.plan.featured .plan-sub { color: #C9C7C1; }
.plan.featured li::before { background: #F5D12D; }
.plan .rec { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: #F5D12D; color: var(--ink); }
.works { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.work { --c: var(--ink); display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 24px; align-items: center; padding: 22px; border-radius: var(--radius); border: 1px solid color-mix(in srgb, var(--c) 22%, var(--rule)); background: color-mix(in srgb, var(--c) 5%, var(--bg)); text-decoration: none; color: var(--ink); transition: box-shadow .3s ease, transform .3s ease; }
.work:hover { transform: translateY(-2px); box-shadow: 0 24px 60px -40px var(--c); }
.work .w-img { height: 220px; border-radius: 18px; overflow: hidden; border: 1px solid var(--rule); background: #fff; }
.work .w-img img { width: 100%; height: auto; display: block; }
.work .w-body { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.work .c-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .2em; color: var(--c); }
.work .c-tag i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.work h3 { font-size: 24px; font-weight: 700; line-height: 1.15; }
.work p { color: var(--muted); font-size: 15px; }
.work .c-go { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--c); }
.work .c-go svg { width: 18px; height: 18px; }
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 40px; align-items: start; }
.faq .band-head { margin-bottom: 0; }
.faq-list { display: flex; flex-direction: column; border-top: 1px solid var(--rule); }
.faq-item { border-bottom: 1px solid var(--rule); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 2px; font-weight: 600; font-size: 17px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary span { width: 22px; height: 22px; flex: none; color: var(--muted); transition: transform .25s ease; }
.faq-item summary span svg { width: 22px; height: 22px; display: block; }
.faq-item[open] summary span { transform: rotate(45deg); }
.faq-item p { color: var(--muted); padding: 0 2px 20px; max-width: 40em; }
@media (max-width: 980px) {
  .benefits.b4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans, .works { grid-template-columns: minmax(0, 1fr); }
  .faq { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 560px) {
  .benefits.b4 { grid-template-columns: minmax(0, 1fr); }
  .work { grid-template-columns: 110px minmax(0, 1fr); gap: 16px; padding: 16px; }
  .work .w-img { height: 170px; }
  .work h3 { font-size: 20px; }
}
/* En las páginas de línea, planes y preguntas con el mismo ritmo compacto */
body[class*="l-"] section#planes { padding-block: 40px 24px; }
body[class*="l-"] #planes .band-head, body[class*="l-"] #preguntas .band-head { gap: 8px; }
body[class*="l-"] #planes .band-head { margin-bottom: 18px; }
body[class*="l-"] #planes .band-head h2, body[class*="l-"] #preguntas .band-head h2 { font-size: clamp(22px, 2.6vw, 30px); }
body[class*="l-"] #planes .band-head p { font-size: 15px; }
body[class*="l-"] .plan { padding: 22px 24px; gap: 8px; border-radius: 16px; }
body[class*="l-"] .plan h3 { font-size: 22px; }
body[class*="l-"] .plan ul { font-size: 14.5px; gap: 8px; }
body[class*="l-"] .plans { gap: 10px; }
@media (max-width: 560px) {
  .home-band .benefits.b4 { gap: 10px; }
  .home-band .benefit { padding: 16px 18px; border-radius: 16px; display: grid; grid-template-columns: auto 1fr; grid-template-areas: "ico name" "txt txt"; column-gap: 12px; row-gap: 6px; align-items: center; }
  .home-band .benefit .b-icon { grid-area: ico; width: 36px; height: 36px; border-radius: 10px; }
  .home-band .benefit .b-icon svg { width: 20px; height: 20px; }
  .home-band .benefit h3 { grid-area: name; font-size: 17px; }
  .home-band .benefit p { grid-area: txt; font-size: 14px; line-height: 1.45; }
}
/* Trabajos recientes compacto */
section#trabajos { padding-block: 8px 32px; }
#trabajos .band-head { margin-bottom: 14px; gap: 6px; }
#trabajos .band-head h2 { font-size: clamp(20px, 2.2vw, 26px); }
#trabajos .works { gap: 10px; }
#trabajos .work { grid-template-columns: 64px minmax(0, 1fr); gap: 14px; padding: 12px 16px; border-radius: 16px; }
#trabajos .work .w-img { height: 84px; border-radius: 10px; }
#trabajos .work .w-body { gap: 3px; }
#trabajos .work .c-tag { font-size: 10.5px; letter-spacing: .16em; }
#trabajos .work .c-tag i { width: 7px; height: 7px; }
#trabajos .work h3 { font-size: 17px; }
#trabajos .work p { font-size: 13.5px; line-height: 1.35; }
#trabajos .work .c-go { font-size: 13.5px; }
#trabajos .work .c-go svg { width: 15px; height: 15px; }
@media (max-width: 980px) { #trabajos .works { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { #trabajos .works { grid-template-columns: minmax(0, 1fr); } }

/* ===== Lo que hacemos · motion ===== */
.qh { --g: #C38624; --g2: #F5D12D; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; align-items: center; }
.qh-list { display: flex; flex-direction: column; gap: 10px; }
.qh-item { all: unset; box-sizing: border-box; cursor: pointer; position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; row-gap: 2px; align-items: center; padding: 18px 20px; border-radius: 18px; border: 1px solid var(--rule); background: var(--bg); overflow: hidden; transition: background .35s ease, border-color .35s ease, box-shadow .35s ease, transform .35s ease; }
.qh-item .b-icon { grid-row: span 2; width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: color-mix(in srgb, var(--g) 12%, var(--bg)); color: var(--g); transition: background .35s ease, color .35s ease; }
.qh-item .b-icon svg { width: 23px; height: 23px; }
.qh-item b { font-family: var(--font-display); font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.qh-item small { grid-column: 2; font-size: 14.5px; color: var(--muted); line-height: 1.45; }
.qh-item:hover { border-color: color-mix(in srgb, var(--g) 30%, var(--rule)); }
.qh-item.on { border-color: color-mix(in srgb, var(--g) 45%, var(--rule)); background: color-mix(in srgb, var(--g) 5%, var(--bg)); box-shadow: 0 20px 44px -30px rgba(195,134,36,.7); transform: translateX(6px); }
.qh-item.on .b-icon { background: var(--g); color: #fff; }
.qh-item:focus-visible { outline: 2px solid var(--g); outline-offset: 3px; }
.qh-bar { position: absolute; left: 20px; right: 20px; bottom: 0; height: 3px; }
.qh-bar i { display: block; height: 100%; width: 0; border-radius: 3px; background: var(--g); }
.qh-item.on .qh-bar i { animation: qhbar var(--qh-dur, 4.8s) linear both; }
@keyframes qhbar { from { width: 0; } to { width: 100%; } }

.qh-stage { position: relative; height: 610px; display: grid; place-items: center; }
.qh-glow { position: absolute; width: 540px; height: 540px; max-width: 100%; border-radius: 50%; background: radial-gradient(circle, rgba(245,209,45,.30), rgba(195,134,36,.10) 45%, transparent 70%); animation: qhbreath 6s ease-in-out infinite; }
.qh-orbit { position: absolute; width: 470px; height: 470px; border-radius: 50%; border: 1.5px dashed rgba(195,134,36,.45); animation: qhspin 38s linear infinite; }
.qh-orbit::before, .qh-orbit::after { content: ""; position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--g); top: -6px; left: calc(50% - 6px); box-shadow: 0 0 0 6px rgba(195,134,36,.15); }
.qh-orbit::after { top: auto; bottom: 18%; left: 4%; width: 9px; height: 9px; background: var(--g2); }
@keyframes qhspin { to { transform: rotate(360deg); } }
@keyframes qhbreath { 50% { transform: scale(1.06); } }
.qh-phone { position: relative; z-index: 1; width: 272px; height: 556px; padding: 9px; border-radius: 44px; background: #0A0A0A; box-shadow: 0 50px 90px -40px rgba(10,10,10,.55), 0 0 0 1px rgba(0,0,0,.06); }
.qh-phone::before { content: ""; position: absolute; z-index: 3; top: 18px; left: 50%; width: 78px; height: 22px; border-radius: 12px; background: #0A0A0A; transform: translateX(-50%); }
.qh-screen { position: relative; width: 100%; height: 100%; border-radius: 35px; overflow: hidden; background: #fff; color: #0A0A0A; font-family: var(--font-body); line-height: 1.3; }
.qh-scene { position: absolute; inset: 0; padding: 52px 16px 16px; opacity: 0; transition: opacity .35s ease; }
.qh-scene.on { opacity: 1; }
.qh.paused *, .qh.paused *::before, .qh.paused *::after { animation-play-state: paused !important; }

.qh-float { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 10px 15px; border-radius: 999px; background: #fff; border: 1px solid var(--rule); box-shadow: 0 18px 40px -20px rgba(10,10,10,.4); font-size: 13.5px; font-weight: 600; white-space: nowrap; opacity: 0; transform: translateY(10px) scale(.95); transition: opacity .4s ease, transform .55s cubic-bezier(.2,.8,.2,1); pointer-events: none; }
.qh-float i { width: 9px; height: 9px; border-radius: 50%; background: var(--g); box-shadow: 0 0 0 4px rgba(195,134,36,.18); }
.qh-float.on { opacity: 1; transform: none; transition-delay: 1s; }
.qh-float.f0 { left: 0; top: 20%; } .qh-float.f1 { right: 0; top: 62%; } .qh-float.f2 { left: 2%; bottom: 16%; } .qh-float.f3 { right: 2%; top: 16%; }

@keyframes qhUp { from { opacity: 0; transform: translateY(18px); } }
@keyframes qhPop { from { opacity: 0; transform: scale(.55); } 70% { opacity: 1; transform: scale(1.06); } }
@keyframes qhGrow { from { transform: scaleX(0); } }
@keyframes qhFade { from { opacity: 0; } }

/* Página web */
.s-web .w-url { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 0 22px 16px; padding: 6px 10px; border-radius: 999px; background: #F6F5F2; font-size: 11px; color: #5A5A57; }
.s-web .w-url i { width: 7px; height: 7px; border-radius: 50%; background: #12A57A; }
.s-web .w-hero { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.s-web .w-logo { width: 56px; height: 56px; border-radius: 50%; background: conic-gradient(from 200deg, #C38624, #F5D12D, #C38624); box-shadow: inset 0 0 0 7px #fff, 0 0 0 1px #E5E3DD; }
.s-web .w-title { font-family: var(--font-display); font-weight: 700; font-size: 23px; letter-spacing: -.02em; }
.s-web .w-line { height: 8px; border-radius: 4px; background: #E9E6DF; } .s-web .l1 { width: 150px; } .s-web .l2 { width: 104px; }
.s-web .w-photo { position: relative; overflow: hidden; height: 150px; margin: 16px 0 14px; border-radius: 18px; background: linear-gradient(140deg, #0A0A0A, #2C2C2C); }
.s-web .w-photo::before { content: ""; position: absolute; width: 130px; height: 130px; right: -24px; top: -34px; border-radius: 50%; background: radial-gradient(circle, #F5D12D, #C38624); }
.s-web .w-photo::after { content: ""; position: absolute; left: 16px; bottom: 18px; width: 96px; height: 10px; border-radius: 5px; background: rgba(255,255,255,.75); box-shadow: 0 -20px 0 -1px rgba(255,255,255,.35); }
.s-web .w-cta { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; border-radius: 14px; background: #1FAF5A; color: #fff; font-size: 14px; font-weight: 600; }
.s-web .w-cta svg { width: 18px; height: 18px; }
.s-web .w-tap { position: absolute; left: 50%; top: 50%; width: 24px; height: 24px; margin: -12px; border-radius: 50%; background: rgba(255,255,255,.6); opacity: 0; }
.s-web .w-chat { position: absolute; left: 14px; right: 14px; bottom: 16px; display: flex; flex-direction: column; gap: 3px; padding: 11px 13px; border-radius: 16px; background: #fff; border: 1px solid #E5E3DD; box-shadow: 0 16px 34px -16px rgba(0,0,0,.35); font-size: 12.5px; }
.s-web .w-chat b { font-size: 10px; letter-spacing: .12em; color: #1FAF5A; }
.s-web.on .w-url { animation: qhUp .5s .05s both; }
.s-web.on .w-logo { animation: qhPop .55s .2s both; }
.s-web.on .w-title { animation: qhUp .5s .35s both; }
.s-web.on .l1 { animation: qhGrow .5s .5s both; } .s-web.on .l2 { animation: qhGrow .5s .6s both; }
.s-web.on .w-photo { animation: qhUp .6s .75s both; }
.s-web.on .w-cta { animation: qhPop .5s 1.1s both, qhPulse 1.1s 1.7s 2 ease-out; }
.s-web.on .w-tap { animation: qhTap .7s 2.3s both; }
.s-web.on .w-chat { animation: qhUp .5s 2.7s both; }
@keyframes qhPulse { 0% { box-shadow: 0 0 0 0 rgba(31,175,90,.5); } 100% { box-shadow: 0 0 0 16px rgba(31,175,90,0); } }
@keyframes qhTap { 0% { opacity: 0; transform: scale(.4); } 25% { opacity: 1; } 100% { opacity: 0; transform: scale(7); } }

/* Google y Maps */
.s-map { padding: 0; }
.s-map .m-map { position: absolute; inset: 0; background: #EFEDE6; }
.s-map .m-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.s-map .m-pin { position: absolute; width: 18px; height: 18px; border-radius: 50% 50% 50% 0; background: #B5B0A6; transform: rotate(-45deg); }
.s-map .p1 { left: 40px; top: 150px; } .s-map .p2 { left: 182px; top: 262px; } .s-map .p3 { left: 56px; top: 330px; } .s-map .p4 { left: 196px; top: 132px; }
.s-map .m-me { position: absolute; left: 110px; top: 226px; width: 34px; height: 34px; border-radius: 50% 50% 50% 0; background: #C38624; transform: rotate(-45deg); box-shadow: -4px 8px 18px -6px rgba(195,134,36,.8); }
.s-map .m-me::after { content: ""; position: absolute; left: 11px; top: 11px; width: 12px; height: 12px; border-radius: 50%; background: #fff; }
.s-map .m-ring { position: absolute; left: 100px; top: 262px; width: 54px; height: 20px; border-radius: 50%; border: 2px solid #C38624; opacity: 0; }
.s-map .m-search { position: absolute; left: 12px; right: 12px; top: 46px; display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border-radius: 999px; background: #fff; box-shadow: 0 12px 26px -14px rgba(0,0,0,.45); font-size: 13px; }
.s-map .m-search svg { width: 16px; height: 16px; color: #8A8A86; flex: none; }
.s-map .m-q { white-space: nowrap; }
.s-map .m-card { position: absolute; left: 10px; right: 10px; bottom: 12px; display: flex; flex-direction: column; gap: 4px; padding: 14px 15px; border-radius: 20px; background: #fff; box-shadow: 0 -12px 34px -18px rgba(0,0,0,.35); }
.s-map .m-card b { font-family: var(--font-display); font-size: 18px; }
.s-map .m-stars { font-size: 12px; letter-spacing: 1px; color: #C38624; } .s-map .m-stars em { font-style: normal; color: #0A0A0A; letter-spacing: 0; font-weight: 600; }
.s-map .m-open { font-size: 12px; font-weight: 600; color: #0E7A5A; }
.s-map .m-btns { display: flex; gap: 8px; margin-top: 8px; } .s-map .m-btns span { flex: 1; padding: 8px 0; border-radius: 999px; background: #F6F5F2; text-align: center; font-size: 12px; font-weight: 600; } .s-map .m-btns span:first-child { background: #0A0A0A; color: #fff; }
.s-map.on .m-map { animation: qhZoom 4.8s ease-out both; }
.s-map.on .m-search { animation: qhUp .45s .05s both; }
.s-map.on .m-q { animation: qhType 1s .4s steps(20) both; }
.s-map.on .p1 { animation: qhDrop .45s 1.4s both; } .s-map.on .p2 { animation: qhDrop .45s 1.52s both; } .s-map.on .p3 { animation: qhDrop .45s 1.64s both; } .s-map.on .p4 { animation: qhDrop .45s 1.76s both; }
.s-map.on .m-me { animation: qhDropBig .65s 2s both; }
.s-map.on .m-ring { animation: qhRing 1.4s 2.5s infinite ease-out; }
.s-map.on .m-card { animation: qhUp .5s 2.7s both; }
@keyframes qhZoom { from { transform: scale(1.18); } }
@keyframes qhType { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes qhDrop { from { opacity: 0; transform: translateY(-34px) rotate(-45deg); } 70% { opacity: 1; transform: translateY(3px) rotate(-45deg); } }
@keyframes qhDropBig { from { opacity: 0; transform: translateY(-80px) rotate(-45deg) scale(.7); } 65% { opacity: 1; transform: translateY(5px) rotate(-45deg) scale(1.08); } }
@keyframes qhRing { 0% { opacity: .9; transform: scale(.4); } 100% { opacity: 0; transform: scale(1.7); } }

/* Redes */
.s-soc .r-head { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.s-soc .r-av { position: relative; flex: none; width: 58px; height: 58px; border-radius: 50%; background: #0A0A0A; box-shadow: 0 0 0 3px #fff, 0 0 0 5px #C38624; }
.s-soc .r-av::after { content: ""; position: absolute; inset: 19px; border-radius: 50%; background: #F5D12D; }
.s-soc .r-stats { display: flex; gap: 10px; font-size: 9.5px; color: #5A5A57; }
.s-soc .r-stats span { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.s-soc .r-stats i { width: 22px; height: 9px; border-radius: 4px; background: #0A0A0A; }
.s-soc .r-name, .s-soc .r-bio { display: block; height: 9px; border-radius: 4px; background: #0A0A0A; width: 110px; margin-bottom: 6px; }
.s-soc .r-bio { height: 7px; background: #DDD9D1; width: 190px; } .s-soc .r-bio.b2 { width: 140px; }
.s-soc .r-btn { display: block; margin-top: 10px; padding: 8px 0; border-radius: 10px; background: #0A0A0A; color: #fff; text-align: center; font-size: 12px; font-weight: 600; }
.s-soc .r-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; margin-top: 12px; }
.s-soc .r-grid i { position: relative; aspect-ratio: 1; border-radius: 5px; overflow: hidden; display: grid; place-items: center; }
.s-soc .t1 { background: linear-gradient(135deg, #F5D12D, #C38624); } .s-soc .t2 { background: #0A0A0A; } .s-soc .t3 { background: #EFE7D6; }
.s-soc .t4 { background: #2B2B2B; } .s-soc .t5 { background: linear-gradient(160deg, #C38624, #8A6A0B); } .s-soc .t6 { background: #F6F5F2; }
.s-soc .t7 { background: #EFE7D6; } .s-soc .t8 { background: #0A0A0A; } .s-soc .t9 { background: linear-gradient(135deg, #2B2B2B, #0A0A0A); }
.s-soc .t2::after, .s-soc .t7::after, .s-soc .t9::after { content: ""; width: 40%; height: 40%; border-radius: 50%; background: #F5D12D; }
.s-soc .t3::after, .s-soc .t6::after { content: ""; width: 56%; height: 9px; border-radius: 4px; background: #0A0A0A; box-shadow: 0 14px 0 -2px #C38624; }
.s-soc .r-heart { font-size: 42px; line-height: 1; color: #fff; text-shadow: 0 6px 16px rgba(0,0,0,.35); opacity: 0; }
.s-soc .r-notif { position: absolute; left: 10px; right: 10px; top: 46px; display: flex; align-items: center; gap: 10px; padding: 11px 13px; border-radius: 16px; background: rgba(255,255,255,.96); border: 1px solid #E5E3DD; box-shadow: 0 18px 36px -16px rgba(0,0,0,.4); font-size: 12px; }
.s-soc .r-notif b { display: block; font-size: 12.5px; }
.s-soc .r-dot { flex: none; width: 26px; height: 26px; border-radius: 8px; background: #0A0A0A; box-shadow: inset 0 0 0 8px #0A0A0A, inset 0 0 0 13px #F5D12D; }
.s-soc.on .r-head { animation: qhUp .45s .05s both; }
.s-soc.on .r-name { animation: qhGrow .4s .3s both; transform-origin: left; } .s-soc.on .r-bio { animation: qhGrow .4s .4s both; transform-origin: left; } .s-soc.on .r-bio.b2 { animation-delay: .48s; }
.s-soc.on .r-btn { animation: qhUp .4s .55s both; }
.s-soc.on .r-grid i { animation: qhPop .4s both; }
.s-soc.on .t1 { animation-delay: .7s; } .s-soc.on .t2 { animation-delay: .8s; } .s-soc.on .t3 { animation-delay: .9s; } .s-soc.on .t4 { animation-delay: 1s; } .s-soc.on .t5 { animation-delay: 1.1s; } .s-soc.on .t6 { animation-delay: 1.2s; } .s-soc.on .t7 { animation-delay: 1.3s; } .s-soc.on .t8 { animation-delay: 1.4s; } .s-soc.on .t9 { animation-delay: 1.5s; }
.s-soc.on .r-heart { animation: qhHeart 1s 2.1s both; }
.s-soc.on .r-notif { animation: qhNotif .55s 2.8s both cubic-bezier(.2,.9,.3,1.2); }
@keyframes qhHeart { 0% { opacity: 0; transform: scale(.3); } 30% { opacity: 1; transform: scale(1.25); } 60% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.1); } }
@keyframes qhNotif { from { opacity: 0; transform: translateY(-80px); } }

/* Logo e imagen */
.s-logo { display: flex; flex-direction: column; align-items: center; gap: 14px; padding-top: 70px; }
.s-logo .g-mark { width: 124px; height: 124px; overflow: visible; }
.s-logo .g-ring { fill: none; stroke: #0A0A0A; stroke-width: 5; stroke-linecap: round; stroke-dasharray: 315; stroke-dashoffset: 0; transform: rotate(-90deg); transform-origin: 60px 60px; }
.s-logo .g-star { fill: #C38624; transform-box: fill-box; transform-origin: center; }
.s-logo .g-word { font-family: var(--font-display); font-size: 30px; font-weight: 700; letter-spacing: -.02em; display: flex; }
.s-logo .g-word span { display: inline-block; }
.s-logo .g-sw { display: flex; gap: 8px; }
.s-logo .g-sw i { width: 28px; height: 28px; border-radius: 50%; box-shadow: 0 0 0 1px #E5E3DD; }
.s-logo .g-sw i:nth-child(1) { background: #0A0A0A; } .s-logo .g-sw i:nth-child(2) { background: #C38624; } .s-logo .g-sw i:nth-child(3) { background: #F5D12D; } .s-logo .g-sw i:nth-child(4) { background: #EFE7D6; }
.s-logo .g-mocks { display: flex; align-items: flex-end; gap: 14px; margin-top: 14px; }
.s-logo .g-card { display: flex; align-items: center; justify-content: center; gap: 7px; width: 124px; height: 74px; border-radius: 10px; background: #0A0A0A; color: #fff; font-family: var(--font-display); font-size: 13px; font-weight: 700; transform: rotate(-5deg); box-shadow: 0 16px 30px -16px rgba(0,0,0,.6); }
.s-logo .g-bag { position: relative; display: grid; place-items: center; width: 80px; height: 94px; border-radius: 8px 8px 14px 14px; background: #EFE7D6; transform: rotate(6deg); box-shadow: 0 16px 30px -18px rgba(0,0,0,.45); }
.s-logo .g-bag::before { content: ""; position: absolute; top: -14px; left: 50%; width: 34px; height: 22px; border: 3px solid #C38624; border-bottom: 0; border-radius: 18px 18px 0 0; transform: translateX(-50%); }
.s-logo .g-mini { width: 16px; height: 16px; background: #F5D12D; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.s-logo .g-bag .g-mini { width: 26px; height: 26px; background: #C38624; }
.s-logo.on .g-ring { animation: qhDraw 1s .15s both ease-in-out; }
.s-logo.on .g-star { animation: qhStar .6s 1s both cubic-bezier(.2,.9,.3,1.3); }
.s-logo.on .g-word span { animation: qhUp .4s calc(1.35s + var(--k) * .05s) both; }
.s-logo.on .g-sw i { animation: qhPop .35s both; }
.s-logo.on .g-sw i:nth-child(1) { animation-delay: 2s; } .s-logo.on .g-sw i:nth-child(2) { animation-delay: 2.1s; } .s-logo.on .g-sw i:nth-child(3) { animation-delay: 2.2s; } .s-logo.on .g-sw i:nth-child(4) { animation-delay: 2.3s; }
.s-logo.on .g-card { animation: qhUp .5s 2.6s both; } .s-logo.on .g-bag { animation: qhUp .5s 2.8s both; }
@keyframes qhDraw { from { stroke-dashoffset: 315; } }
@keyframes qhStar { from { opacity: 0; transform: scale(0) rotate(-120deg); } }

@media (max-width: 980px) {
  .qh { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .qh-stage { order: -1; height: 500px; }
  .qh-phone { transform: scale(.84); }
  .qh-glow { width: 420px; height: 420px; } .qh-orbit { width: 380px; height: 380px; }
  .qh-item.on { transform: none; }
}
@media (max-width: 560px) {
  .qh-stage { height: 470px; margin-inline: -8px; }
  .qh-phone { transform: scale(.8); }
  .qh-orbit { width: 330px; height: 330px; }
  .qh-float { font-size: 12px; padding: 8px 12px; }
  .qh-float.f0 { top: 14%; } .qh-float.f1 { top: 66%; } .qh-float.f2 { bottom: 10%; } .qh-float.f3 { top: 10%; }
  .qh-item { padding: 13px 15px; border-radius: 15px; }
  .qh-item .b-icon { width: 38px; height: 38px; border-radius: 11px; }
  .qh-item .b-icon svg { width: 20px; height: 20px; }
  .qh-item b { font-size: 16px; }
  .qh-item small { font-size: 13.5px; }
  .qh-item:not(.on) small { display: none; }
  .qh-item:not(.on) .b-icon { grid-row: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .qh *, .qh *::before, .qh *::after { animation: none !important; }
  .qh-scene, .qh-float { transition: none; }
}
@media (min-width: 981px) {
  .qh-float.f0, .qh-float.f2 { left: auto; right: calc(50% + 150px); }
  .qh-float.f1, .qh-float.f3 { right: auto; left: calc(50% + 150px); }
}
@media (max-width: 560px) {
  .qh-stage { height: 480px; margin-inline: 0; margin-bottom: 8px; }
  .qh-float.f1, .qh-float.f3 { right: 0; } .qh-float.f0, .qh-float.f2 { left: 0; }
}

/* Ejemplo dental: identidad del cliente ficticio */
.qh { --dt: #0F5E6B; --dt2: #3CC6C0; --dt3: #F4EFE6; }
.band-head .qh-ex { color: var(--ink); font-weight: 600; }
.qh .tooth { display: block; fill: currentColor; }
.s-web .w-logo { display: grid; place-items: center; background: var(--dt); box-shadow: 0 0 0 4px #fff, 0 0 0 5px #DCE9EA; color: #fff; }
.s-web .w-logo .tooth { width: 30px; height: 30px; }
.s-web .w-title { color: var(--dt); }
.s-web .w-sub { width: auto !important; height: auto; background: none; font-size: 12px; color: #5A5A57; border-radius: 0; }
.s-web .w-sub.l2 { font-size: 11px; font-weight: 600; letter-spacing: .04em; color: var(--dt); }
.s-web .w-photo { background: linear-gradient(150deg, var(--dt), #17808F 60%, var(--dt2)); display: grid; place-items: center; color: rgba(255,255,255,.95); }
.s-web .w-photo::before { width: 150px; height: 150px; right: -40px; top: -50px; background: radial-gradient(circle, rgba(255,255,255,.28), rgba(255,255,255,0) 70%); }
.s-web .w-photo::after { display: none; }
.s-web .w-photo .tooth { width: 74px; height: 74px; filter: drop-shadow(0 10px 18px rgba(0,0,0,.25)); }
.s-web .w-badge { position: absolute; left: 12px; bottom: 12px; padding: 5px 10px; border-radius: 999px; background: #fff; color: var(--dt); font-size: 10.5px; font-weight: 700; }
.s-web.on .w-sub { animation: qhUp .45s .5s both !important; } .s-web.on .w-sub.l2 { animation-delay: .6s !important; }
.s-web.on .w-photo .tooth { animation: qhPop .55s 1s both; }
.s-map .m-cat { font-size: 11.5px; color: #5A5A57; margin-top: -2px; }
.s-soc .r-av { background: var(--dt); box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--dt2); display: grid; place-items: center; color: #fff; }
.s-soc .r-av::after { display: none; }
.s-soc .r-av .tooth { width: 28px; height: 28px; }
.s-soc .r-name { background: none; height: auto; width: auto; font-size: 12.5px; font-weight: 700; color: #0A0A0A; }
.s-soc .r-btn { background: var(--dt); }
.s-soc .r-grid i { color: #fff; }
.s-soc .r-grid i .tooth { width: 46%; height: 46%; }
.s-soc .r-grid i em { font-style: normal; font-family: var(--font-display); font-weight: 700; font-size: 12px; line-height: 1.1; text-align: center; padding: 0 6px; color: var(--dt); }
.s-soc .t1 { background: linear-gradient(135deg, var(--dt2), var(--dt)); } .s-soc .t2 { background: var(--dt); } .s-soc .t3 { background: var(--dt3); }
.s-soc .t4 { background: #E3F5F4; } .s-soc .t5 { background: linear-gradient(160deg, #17808F, var(--dt)); } .s-soc .t6 { background: var(--dt3); }
.s-soc .t7 { background: #E3F5F4; } .s-soc .t8 { background: var(--dt2); } .s-soc .t9 { background: linear-gradient(135deg, var(--dt), #0A3D46); }
.s-soc .t2::after, .s-soc .t8::after { content: ""; width: 38%; height: 38%; border-radius: 50%; background: #fff; opacity: .9; }
.s-soc .t7::after, .s-soc .t9::after, .s-soc .t3::after { display: none; }
.s-soc .t4::after { content: ""; width: 56%; height: 9px; border-radius: 4px; background: var(--dt); box-shadow: 0 14px 0 -2px var(--dt2); }
.s-soc .t5 { position: relative; } .s-soc .t5 .r-heart { position: absolute; }
.s-soc .r-dot { background: var(--dt); box-shadow: inset 0 0 0 8px var(--dt), inset 0 0 0 13px #fff; }
.s-logo .g-ring { stroke: var(--dt); }
.s-logo .g-star { fill: var(--dt2); }
.s-logo .g-word { font-size: 26px; color: var(--dt); }
.s-logo .g-sw i:nth-child(1) { background: var(--dt); } .s-logo .g-sw i:nth-child(2) { background: var(--dt2); } .s-logo .g-sw i:nth-child(3) { background: var(--dt3); } .s-logo .g-sw i:nth-child(4) { background: #0A0A0A; }
.s-logo .g-mini { width: auto; height: auto; background: none; clip-path: none; color: var(--dt2); }
.s-logo .g-mini .tooth { width: 15px; height: 15px; }
.s-logo .g-card { background: var(--dt); font-size: 12.5px; }
.s-logo .g-bag { background: var(--dt3); flex-direction: column; gap: 4px; display: flex; align-items: center; justify-content: center; }
.s-logo .g-bag::before { border-color: var(--dt2); }
.s-logo .g-bag .g-mini { width: auto; height: auto; background: none; color: var(--dt); }
.s-logo .g-bag .g-mini .tooth { width: 28px; height: 28px; }
.s-logo .g-bag small { font-size: 8.5px; font-weight: 700; letter-spacing: .06em; color: var(--dt); text-transform: uppercase; }
.s-web .w-url { margin-bottom: 12px; }
.s-web .w-hero { gap: 6px; }
.s-web .w-photo { height: 118px; margin: 12px 0 12px; }
.s-web .w-photo .tooth { width: 60px; height: 60px; }
.s-web .w-chat { bottom: 14px; }
.s-soc .t6::after { background: var(--dt); box-shadow: 0 14px 0 -2px var(--dt2); }

/* Tarjetas del inicio: íconos de cada tipo de negocio */
.c-art { position: absolute; inset: 0 0 auto 0; height: 62%; pointer-events: none; }
.c-art .cb { position: absolute; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.c-art .cb-i { --s: 80px; width: var(--s); height: var(--s); border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--c); border: 1px solid color-mix(in srgb, var(--c) 22%, var(--rule)); box-shadow: 0 18px 36px -22px color-mix(in srgb, var(--c) 70%, transparent); transition: background .45s ease, color .45s ease, transform .5s cubic-bezier(.2,.9,.3,1.3), box-shadow .45s ease; animation: cbBob 5s ease-in-out infinite; }
.c-art .cb-i svg { width: 44%; height: 44%; }
.c-art .cb em { font-style: normal; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; color: var(--c); background: #fff; padding: 5px 11px; border-radius: 999px; box-shadow: 0 8px 20px -12px rgba(0,0,0,.35); opacity: 0; transform: translateY(-6px); transition: opacity .35s ease, transform .4s ease; white-space: nowrap; }
.c-art .cb.on .cb-i { background: var(--c); color: #fff; transform: scale(1.14); box-shadow: 0 22px 44px -18px var(--c), 0 0 0 8px color-mix(in srgb, var(--c) 14%, transparent); }
.c-art .cb.on em { opacity: 1; transform: none; }
.c-art .b0 { left: 7%; top: 12%; } .c-art .b0 .cb-i { --s: 86px; }
.c-art .b1 { left: 30%; top: 44%; } .c-art .b1 .cb-i { --s: 68px; animation-delay: -1.2s; }
.c-art .b2 { left: 48%; top: 7%; } .c-art .b2 .cb-i { --s: 96px; animation-delay: -2.4s; }
.c-art .b3 { left: 70%; top: 42%; } .c-art .b3 .cb-i { --s: 74px; animation-delay: -.6s; }
.c-art .b4 { left: 80%; top: 6%; } .c-art .b4 .cb-i { --s: 62px; animation-delay: -3.1s; }
.c-art .b5 { left: 10%; top: 60%; } .c-art .b5 .cb-i { --s: 58px; animation-delay: -1.8s; }
@keyframes cbBob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -9px; } }
.choice:hover .c-art .cb-i { box-shadow: 0 22px 44px -20px var(--c); }
@media (max-width: 860px) {
  main.portal .choice { min-height: 250px; }
  .c-art { height: 112px; display: flex; justify-content: space-between; align-items: flex-start; padding: 18px 20px 0; }
  .c-art .cb { position: static; gap: 6px; flex: none; }
  .c-art .cb .cb-i, .c-art .b0 .cb-i, .c-art .b1 .cb-i, .c-art .b2 .cb-i, .c-art .b3 .cb-i, .c-art .b4 .cb-i, .c-art .b5 .cb-i { --s: 44px; }
  .c-art .cb em { font-size: 10.5px; padding: 3px 8px; }
  .c-art .cb:first-child em { align-self: flex-start; } .c-art .cb:last-child em { align-self: flex-end; }
  main.portal .choice canvas { display: none; }
}
@media (max-width: 380px) { .c-art .b5 { display: none; } }
@media (prefers-reduced-motion: reduce) { .c-art .cb-i { animation: none; } }
@media (max-width: 860px) {
  .c-art { height: 104px; padding: 16px 20px 0; }
  .c-art .cb { position: relative; width: 44px; }
  .c-art .cb em { position: absolute; top: calc(100% + 6px); left: 50%; transform: translate(-50%, -6px); }
  .c-art .cb.on em { transform: translate(-50%, 0); }
  .c-art .cb:first-child em { left: -4px; transform: translate(0, -6px); } .c-art .cb:first-child.on em { transform: none; }
  .c-art .cb:last-child em { left: auto; right: -4px; transform: translate(0, -6px); } .c-art .cb:last-child.on em { transform: none; }
  .c-art .cb.on .cb-i { transform: scale(1.1); box-shadow: 0 14px 28px -14px var(--c), 0 0 0 5px color-mix(in srgb, var(--c) 14%, transparent); }
}
@media (max-width: 860px) { .c-art .cb.b0, .c-art .cb.b1, .c-art .cb.b2, .c-art .cb.b3, .c-art .cb.b4, .c-art .cb.b5 { left: auto; top: auto; } }

/* ===== Ritmo de espacios unificado ===== */
main.portal { min-height: 0; padding-block: 32px 8px; }
/* Inicio */
section#que-hacemos { padding-block: 64px 8px; }
section#trabajos { padding-block: 40px 8px; }
body:not([class*="l-"]) section#preguntas { padding-block: 56px 80px; }
#que-hacemos .band-head, #trabajos .band-head, body:not([class*="l-"]) #preguntas .band-head { gap: 10px; }
#que-hacemos .band-head h2, #trabajos .band-head h2, body:not([class*="l-"]) #preguntas .band-head h2 { font-size: clamp(26px, 3vw, 38px); line-height: 1.08; }
#que-hacemos .band-head { margin-bottom: 4px; }
#trabajos .band-head { margin-bottom: 18px; }
.qh-stage { height: 590px; }
/* Páginas de línea: mismo ritmo en todas las secciones */
body[class*="l-"] main > section.band { padding-block: 40px 16px !important; }
body[class*="l-"] main > section#preguntas { padding-block: 40px 72px !important; }
body[class*="l-"] .band-head { margin-bottom: 18px; gap: 8px; }
body[class*="l-"] .band-head h2 { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.12; }
@media (max-width: 860px) {
  main.portal { padding-block: 20px 4px; }
  section#que-hacemos { padding-block: 44px 4px; }
  section#trabajos { padding-block: 28px 4px; }
  body:not([class*="l-"]) section#preguntas { padding-block: 40px 56px; }
  .qh-stage { height: 480px; }
  body[class*="l-"] main > section.band { padding-block: 32px 8px !important; }
  body[class*="l-"] main > section#preguntas { padding-block: 32px 56px !important; }
}
section#trabajos { padding-top: 48px !important; }
body:not([class*="l-"]) section#preguntas { padding-top: 64px !important; }
@media (max-width: 860px) { section#trabajos { padding-top: 32px !important; } body:not([class*="l-"]) section#preguntas { padding-top: 44px !important; } }
@media (min-width: 981px) { .qh-stage { height: 570px; } .qh-list { margin-top: -10px; } }

/* Cómo trabajamos en el inicio y cierre con botón */
body:not([class*="l-"]) section#como { padding-block: 64px 8px; }
body:not([class*="l-"]) #como .band-head { gap: 10px; margin-bottom: 18px; }
body:not([class*="l-"]) #como .band-head h2 { font-size: clamp(26px, 3vw, 38px); line-height: 1.08; }
body:not([class*="l-"]) #como .step svg, body:not([class*="l-"]) #como .step > svg { color: #C38624; }
body:not([class*="l-"]) #como .step .free { background: #C38624; }
section#cierre { padding-block: 24px 80px !important; }
.cierre-box { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding: 40px 44px; border-radius: 28px; background: color-mix(in srgb, var(--line) 7%, var(--bg)); border: 1px solid color-mix(in srgb, var(--line) 22%, var(--rule)); }
body:not([class*="l-"]) .cierre-box { background: color-mix(in srgb, #C38624 8%, var(--bg)); border-color: color-mix(in srgb, #C38624 30%, var(--rule)); }
.cierre-copy { display: flex; flex-direction: column; gap: 10px; max-width: 34em; }
.cierre-copy h2 { font-size: clamp(26px, 3vw, 38px); line-height: 1.08; font-weight: 700; }
.cierre-copy p { color: var(--muted); font-size: 17px; }
.cierre-box .cta-main { align-items: flex-start; }
body:not([class*="l-"]) section#preguntas { padding-bottom: 24px; }
body[class*="l-"] main > section#preguntas { padding-bottom: 16px !important; }
@media (max-width: 860px) {
  body:not([class*="l-"]) section#como { padding-block: 44px 4px; }
  section#cierre { padding-block: 16px 56px !important; }
  .cierre-box { padding: 26px 22px; border-radius: 22px; gap: 20px; }
  .cierre-copy p { font-size: 15.5px; }
}
.plans { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; } @media (max-width: 980px) { .plans { grid-template-columns: minmax(0, 1fr); max-width: none; } }

/* Inicio: frase arriba, luego Lo que hacemos y después las tarjetas */
main.portal { padding-block: 40px 0; }
main.portal .portal-head { margin-bottom: 0; }
section#que-hacemos { padding-top: 40px !important; }
section#lineas { padding-block: 64px 8px; }
#lineas .band-head { gap: 10px; margin-bottom: 18px; }
#lineas .band-head h2 { font-size: clamp(26px, 3vw, 38px); line-height: 1.08; }
#lineas .choices { height: clamp(380px, 58vh, 540px); }
@media (max-width: 860px) {
  main.portal { padding-block: 24px 0; }
  section#que-hacemos { padding-top: 28px !important; }
  section#lineas { padding-block: 44px 4px; }
  #lineas .choices { height: auto; gap: 12px; }
  #lineas .choice { min-height: 250px; }
  #lineas .choice .c-body { padding: 20px; gap: 6px; }
  #lineas .choice h2 { font-size: 22px; }
  #lineas .choice p { font-size: 13.5px; }
}
