/* Hallmark · genre: atmospheric · macrostructure: Marquee Hero (marketing family, design.md) · theme: custom RG (dark navy · amber accent · Space Grotesk + Inter)
 * enrichment: Three.js network canvas (Tier B, existing) + built CSS/SVG scenes (AI answer, ranking climb, orbit, pins, waveform)
 * nav: N5 floating pill · footer: Ft1 mast-headed · redesign 2026-10-01: foco marketing digital + SEO + GEO
 * pre-emit critique: P4 H4 E4 S5 R4 V4
 */

:root {
  /* tokens propios de la home (se suman a assets/hallmark/tokens.css) */
  --color-paper-glass: oklch(15% 0.02 250 / .78);
  --color-paper-glass-2: oklch(19% 0.025 255 / .86);
  --color-card: oklch(100% 0 0 / .055);
  --color-card-hover: oklch(100% 0 0 / .085);
  --color-ink-3: oklch(72% 0.02 245);
  --color-accent-soft: oklch(77% 0.16 70 / .14);
  --color-accent-line: oklch(77% 0.16 70 / .35);
  --color-accent-2: oklch(70% 0.17 50);           /* ámbar oscuro, segundo tono del acento */
  --color-good: oklch(72% 0.15 160);
  --color-mid: oklch(80% 0.15 85);
  --color-bad: oklch(65% 0.19 25);
  --color-cool-soft: oklch(62% 0.14 240 / .16);
  --shadow-card: 0 18px 50px oklch(5% 0.02 250 / .55);
  --shadow-glow: 0 10px 40px oklch(77% 0.16 70 / .22);
  --text-xs: .75rem; --text-sm: .875rem; --text-md: 1.0625rem; --text-lg: 1.25rem;
  --text-xl: clamp(1.5rem, 1.1rem + 1.4vw, 2rem);
  --text-2xl: clamp(1.9rem, 1.2rem + 2.6vw, 3rem);
  --text-display: clamp(2.6rem, 1.4rem + 5vw, 5.4rem);
  --wrap: 1180px;

  /* nombres legacy que usa el widget de Luna (assets/home/luna-widget.css) */
  --c1: #0284c7; --c2: #6d28d9; --c3: #f59e0b; --c4: #059669; --c5: #e11d48;
  --bg0: rgba(9,13,22,.92); --bg1: rgba(12,17,31,.92); --bg2: #10162a; --bg3: #141b30;
  --border: rgba(255,255,255,.1); --border2: rgba(255,255,255,.16);
  --text: #dbe4f3; --soft: rgba(210,222,240,.7); --white: #f7fafc;
  --grad-main: linear-gradient(135deg, #00b8e6 0%, #6d28d9 100%);
  --r-lg: 28px; --shadow-lg: 0 20px 60px rgba(0,0,0,.5);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { background: oklch(9% 0.015 250); scroll-behavior: smooth; overflow-x: clip; scroll-padding-top: 96px; }
body {
  font-family: var(--font-body); font-size: var(--text-md); line-height: 1.65;
  color: var(--color-ink-2); background: transparent;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.skip { position: absolute; left: var(--space-sm); top: -60px; z-index: 300; background: var(--color-accent); color: var(--color-accent-ink); padding: var(--space-2xs) var(--space-sm); border-radius: var(--radius-pill); font-weight: 700; }
.skip:focus { top: var(--space-sm); }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(16px, 4vw, 32px); }

#siteCanvas { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: -1; opacity: .75; pointer-events: none; }
@media (max-width: 640px) { #siteCanvas { opacity: .45; } }

/* ── tipografía ── */
.h2 { font-family: var(--font-display); font-weight: 700; font-size: var(--text-2xl); line-height: 1.08; letter-spacing: -.03em; color: var(--color-ink); overflow-wrap: anywhere; min-width: 0; }
.h3 { font-family: var(--font-display); font-weight: 700; font-size: var(--text-xl); line-height: 1.15; letter-spacing: -.02em; color: var(--color-ink); }
.lead { margin-top: var(--space-sm); font-size: var(--text-md); color: var(--color-ink-3); max-width: 58ch; }
.head { margin-bottom: var(--space-xl); }
.head--center { text-align: center; }
.head--center .lead { margin-inline: auto; }

/* ── botones (8 estados) ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2xs);
  min-height: 48px; padding: 0 var(--space-md); border-radius: var(--radius-pill); border: 1.5px solid transparent;
  font-weight: 700; font-size: var(--text-sm); white-space: nowrap; cursor: pointer;
  transition: transform var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out);
}
.btn--sm { min-height: 40px; padding: 0 var(--space-sm); font-size: var(--text-xs); }
.btn--gold { background: var(--color-accent); color: var(--color-accent-ink); box-shadow: 0 6px 24px oklch(77% 0.16 70 / .28); }
.btn--gold:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.btn--ghost { background: transparent; color: var(--color-ink); border-color: var(--color-rule-2); }
.btn--ghost:hover { border-color: var(--color-accent-line); background: var(--color-accent-soft); transform: translateY(-2px); }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-busy="true"] { opacity: .55; cursor: progress; transform: none; box-shadow: none; }
.link, .linkbtn { color: var(--color-accent); font-weight: 600; font-size: var(--text-sm); background: none; border: 0; cursor: pointer; text-decoration: underline; text-decoration-color: var(--color-accent-line); text-underline-offset: 4px; transition: text-decoration-color var(--dur-short) var(--ease-out); }
.link:hover, .linkbtn:hover { text-decoration-color: var(--color-accent); }
.link { display: inline-block; margin-top: var(--space-sm); }

.card { background: var(--color-card); border: 1px solid var(--color-rule); border-radius: var(--radius-card); box-shadow: var(--shadow-card); }
.card--warm { background: linear-gradient(160deg, oklch(77% 0.16 70 / .09), var(--color-card) 55%); border-color: var(--color-accent-line); }
.card__label { display: flex; align-items: center; gap: var(--space-2xs); font-size: var(--text-xs); font-weight: 600; color: var(--color-ink-3); letter-spacing: .02em; }
.tag { font-style: normal; font-size: .68rem; padding: 1px 8px; border-radius: var(--radius-pill); border: 1px solid var(--color-rule-2); color: var(--color-ink-3); }
.ticks { list-style: none; display: grid; gap: var(--space-2xs); margin-top: var(--space-sm); }
.ticks li { position: relative; padding-left: 26px; font-size: var(--text-sm); color: var(--color-ink-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 16px; height: 16px; border-radius: 50%; background: var(--color-accent-soft) center/10px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f59e0b' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); border: 1px solid var(--color-accent-line); }

/* ═════════════ NAV · N5 */
.nav {
  position: fixed; top: 12px; left: 50%; transform: translateX(-50%); z-index: 200;
  width: min(var(--wrap), calc(100% - 24px));
  background: var(--color-paper-glass); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--color-rule); border-radius: var(--radius-pill);
  transition: background-color var(--dur-long) var(--ease-out), border-color var(--dur-long) var(--ease-out), top var(--dur-long) var(--ease-out);
}
.nav.scrolled { top: 8px; background: var(--color-paper-glass-2); border-color: var(--color-accent-line); }
.nav__inner { display: flex; align-items: center; gap: var(--space-md); height: 62px; padding: 0 var(--space-2xs) 0 var(--space-sm); }
.nav__brand { display: flex; align-items: center; gap: var(--space-2xs); flex-shrink: 0; }
.nav__brand img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.nav__name { font-family: var(--font-display); font-weight: 600; font-size: var(--text-sm); color: var(--color-ink); letter-spacing: -.01em; }
.nav__name b { font-weight: 700; color: var(--color-accent); margin-left: 1px; }
.nav__links { display: flex; gap: var(--space-md); list-style: none; margin-left: auto; }
.nav__links a { font-size: var(--text-sm); color: var(--color-ink-3); white-space: nowrap; transition: color var(--dur-short) var(--ease-out); }
.nav__links a:hover, .nav__links a.is-active { color: var(--color-ink); }
.nav__right { display: flex; align-items: center; gap: var(--space-2xs); }
.access { position: relative; }
.access__btn { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 var(--space-sm); border-radius: var(--radius-pill); background: transparent; border: 1px solid var(--color-rule-2); color: var(--color-ink); font-size: var(--text-xs); font-weight: 600; cursor: pointer; white-space: nowrap; transition: border-color var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.access__btn:hover, .access__btn[aria-expanded="true"] { border-color: var(--color-accent-line); background: var(--color-accent-soft); }
.access__btn svg { transition: transform var(--dur-short) var(--ease-out); }
.access__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.access__menu {
  position: absolute; right: 0; top: calc(100% + 10px); width: 300px; padding: var(--space-2xs);
  background: var(--bg2); border: 1px solid var(--color-rule-2); border-radius: 18px; box-shadow: var(--shadow-card);
  opacity: 0; transform: translateY(-6px); pointer-events: none;
  transition: opacity var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out);
}
.access__menu.open { opacity: 1; transform: none; pointer-events: auto; }
.access__menu a { display: flex; gap: var(--space-xs); align-items: center; padding: var(--space-xs); border-radius: 12px; transition: background-color var(--dur-short) var(--ease-out); }
.access__menu a:hover, .access__menu a:focus-visible { background: var(--color-card-hover); }
.access__menu b { display: block; font-size: var(--text-sm); color: var(--color-ink); }
.access__menu small { font-size: var(--text-xs); color: var(--color-ink-3); }
.access__ico { flex-shrink: 0; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; }
.access__ico svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.access__ico--luna { background: var(--color-cool-soft); color: oklch(78% 0.12 230); }
.access__ico--redes { background: var(--color-accent-soft); color: var(--color-accent); }
.nav__burger { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 50%; background: transparent; border: 0; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav__burger span { width: 20px; height: 2px; background: var(--color-ink); border-radius: 2px; transition: transform var(--dur-short) var(--ease-out), opacity var(--dur-short) var(--ease-out); }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav__mobile { display: flex; flex-direction: column; padding: var(--space-2xs) var(--space-md) var(--space-md); border-top: 1px solid var(--color-rule); }
.nav__mobile[hidden] { display: none; }
.nav__mobile a { padding: var(--space-xs) 0; font-weight: 600; color: var(--color-ink); border-bottom: 1px solid var(--color-rule); }
.nav__mobile-label { margin-top: var(--space-sm); font-size: var(--text-xs); color: var(--color-accent); font-weight: 700; }
@media (max-width: 1020px) { .nav__links { display: none; } .nav__right { margin-left: auto; } }
@media (max-width: 640px) {
  .nav { border-radius: 24px; }
  .nav__right { display: none; }
  .nav__burger { display: flex; }
  .nav__name { font-size: .8rem; }
}

/* ═════════════ HERO */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 72px; overflow: clip; }
.bloom { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(90px); z-index: 0; }
.bloom--a { width: 640px; height: 640px; background: oklch(77% 0.16 70 / .17); top: -160px; left: -120px; }
.bloom--b { width: 520px; height: 520px; background: oklch(55% 0.2 290 / .12); bottom: -200px; right: -120px; }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__kicker { display: inline-flex; align-items: center; gap: var(--space-2xs); font-size: var(--text-xs); font-weight: 600; color: var(--color-ink-3); padding: 6px 14px; border: 1px solid var(--color-rule); border-radius: var(--radius-pill); background: var(--color-card); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--color-accent); box-shadow: 0 0 10px var(--color-accent); }
.hero__h1 { margin-top: var(--space-md); font-family: var(--font-display); font-weight: 700; font-size: var(--text-display); line-height: 1; letter-spacing: -.045em; color: var(--color-ink); overflow-wrap: anywhere; min-width: 0; }
.mark { position: relative; color: var(--color-accent); white-space: nowrap; display: inline-block; }
.mark__line { position: absolute; left: -2%; bottom: -.06em; width: 104%; height: .2em; overflow: visible; }
.mark__line path { fill: none; stroke: var(--color-accent); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 220; stroke-dashoffset: 220; animation: draw 1.1s var(--ease-out) .9s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero__sub { margin-top: var(--space-md); font-size: var(--text-lg); line-height: 1.6; color: var(--color-ink-3); max-width: 50ch; }
.quick { margin-top: var(--space-lg); display: flex; align-items: center; gap: var(--space-2xs); max-width: 520px; padding: 6px; background: var(--color-paper-glass-2); border: 1px solid var(--color-rule-2); border-radius: var(--radius-pill); transition: border-color var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out); }
.quick:focus-within { border-color: var(--color-accent-line); box-shadow: 0 0 0 4px var(--color-accent-soft); }
.quick__pre { padding-left: var(--space-sm); color: var(--color-ink-3); font-size: var(--text-sm); }
.quick input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; font-size: var(--text-md); color: var(--color-ink); padding: var(--space-2xs) 0; }
.quick input::placeholder { color: oklch(60% 0.02 245); }
.hero__fine { margin-top: var(--space-xs); font-size: var(--text-xs); color: var(--color-ink-3); padding-left: var(--space-sm); }

.hero__scene { position: relative; display: grid; gap: var(--space-sm); }
.ask { padding: var(--space-md); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--color-good); box-shadow: 0 0 0 0 oklch(72% 0.15 160 / .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px oklch(72% 0.15 160 / 0); } 100% { box-shadow: 0 0 0 0 oklch(72% 0.15 160 / 0); } }
.ask__q { margin-top: var(--space-sm); min-height: 3.2em; font-family: var(--font-display); font-weight: 600; font-size: var(--text-lg); line-height: 1.35; color: var(--color-ink); }
.ask__q::after { content: ""; display: inline-block; width: 2px; height: 1.05em; margin-left: 3px; vertical-align: -3px; background: var(--color-accent); animation: caret 1s steps(1) infinite; }
.ask__q.done::after { display: none; }
@keyframes caret { 50% { opacity: 0; } }
.ask__a { margin-top: var(--space-sm); min-height: 6.6em; font-size: var(--text-sm); line-height: 1.65; color: var(--color-ink-2); }
.ask__a b { color: var(--color-ink); background: var(--color-accent-soft); border-radius: 4px; padding: 0 4px; box-shadow: inset 0 -2px 0 var(--color-accent); }
.ask__a .w { opacity: 0; transition: opacity var(--dur-short) var(--ease-out); }
.ask__a .w.on { opacity: 1; }
.ask__src { display: flex; flex-wrap: wrap; gap: 6px; margin-top: var(--space-sm); min-height: 26px; }
.ask__src span { font-size: .7rem; padding: 3px 10px; border-radius: var(--radius-pill); border: 1px solid var(--color-rule-2); color: var(--color-ink-3); opacity: 0; transform: translateY(4px); transition: opacity var(--dur-short) var(--ease-out), transform var(--dur-short) var(--ease-out); }
.ask__src span.on { opacity: 1; transform: none; }
.ask__src span.you { border-color: var(--color-accent-line); color: var(--color-accent); }
.rank { padding: var(--space-sm) var(--space-md); }
.rank__list { list-style: none; margin-top: var(--space-2xs); position: relative; }
.rank__list li { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: center; gap: var(--space-2xs); height: 34px; font-size: var(--text-sm); color: var(--color-ink-3); border-bottom: 1px solid var(--color-rule); transition: transform .9s var(--ease-in-out), color var(--dur-long) var(--ease-out); }
.rank__list li:last-child { border-bottom: 0; }
.rank__list .pos { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--color-ink-3); }
.rank__list .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank__list li.you { color: var(--color-ink); font-weight: 600; }
.rank__list li.you .pos { color: var(--color-accent); }
.rank__list .up { font-size: .7rem; color: var(--color-good); font-weight: 700; opacity: 0; transition: opacity var(--dur-long) var(--ease-out); }
.rank__list li.you .up.on { opacity: 1; }

@media (max-width: 900px) {
  .hero { padding-top: 104px; min-height: auto; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .quick { flex-wrap: wrap; border-radius: 22px; }
  .quick__pre { display: none; }
  .quick input { padding: var(--space-2xs) var(--space-sm); }
  .quick .btn { width: 100%; }
  .ask, .rank { padding: var(--space-sm); }
}

/* ═════════════ MARQUEE de motores */
.engines { overflow: hidden; border-block: 1px solid var(--color-rule); background: var(--color-paper-glass); padding: var(--space-sm) 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.engines__track { display: flex; gap: var(--space-xl); width: max-content; animation: marquee 38s linear infinite; }
.engines:hover .engines__track { animation-play-state: paused; }
.engines span { font-family: var(--font-display); font-weight: 600; font-size: var(--text-lg); color: var(--color-ink-3); white-space: nowrap; display: inline-flex; align-items: center; gap: var(--space-xl); }
.engines span::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--color-accent); opacity: .6; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ═════════════ secciones base */
section { position: relative; }
.shift, .services, .audit, .kw, .voices, .work, .method, .plans, .access-sec, .faq, .contact { padding: clamp(72px, 10vw, 128px) 0; }
.shift, .audit, .voices, .plans, .faq { background: var(--color-paper-glass); }
.services, .kw, .work, .method, .access-sec, .contact { background: oklch(12% 0.018 250 / .82); }

/* ═════════════ EL CAMBIO */
.shift__title { font-size: var(--text-display); line-height: 1; letter-spacing: -.045em; max-width: 14ch; }
.shift__grid { margin-top: var(--space-2xl); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-md); }
.fact { padding-top: var(--space-md); border-top: 1px solid var(--color-rule-2); }
.fact__num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.6rem, 2rem + 2.5vw, 4rem); line-height: 1; letter-spacing: -.04em; color: var(--color-ink); font-variant-numeric: tabular-nums; }
.fact__num small { font-size: .5em; color: var(--color-ink-3); margin-left: 2px; }
.fact--warm .fact__num { color: var(--color-accent); }
.fact__bar { margin-top: var(--space-sm); height: 4px; border-radius: 4px; background: var(--color-rule); overflow: hidden; }
.fact__bar span { display: block; height: 100%; width: var(--from); border-radius: 4px; background: var(--color-accent); transition: width 1.6s var(--ease-in-out); }
.fact.in .fact__bar span { width: var(--to); }
.fact__txt { margin-top: var(--space-sm); font-size: var(--text-sm); color: var(--color-ink-2); }
.fact__src { margin-top: var(--space-2xs); font-size: .72rem; color: var(--color-ink-3); }
.shift__close { margin-top: var(--space-2xl); font-family: var(--font-display); font-weight: 600; font-size: var(--text-xl); line-height: 1.3; color: var(--color-ink); max-width: 40ch; }
@media (max-width: 900px) { .shift__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .shift__grid { grid-template-columns: minmax(0, 1fr); } }

/* ═════════════ SERVICIOS · bento */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: minmax(180px, auto); gap: var(--space-sm); }
.tile { position: relative; padding: var(--space-md); border-radius: var(--radius-card); background: var(--color-card); border: 1px solid var(--color-rule); overflow: hidden; transition: border-color var(--dur-long) var(--ease-out), background-color var(--dur-long) var(--ease-out), box-shadow var(--dur-long) var(--ease-out); }
.tile:hover { border-color: var(--color-accent-line); background: var(--color-card-hover); box-shadow: var(--shadow-glow); }
.tile h3 { font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); color: var(--color-ink); letter-spacing: -.01em; }
.tile p { margin-top: var(--space-2xs); font-size: var(--text-sm); color: var(--color-ink-3); }
.tile__viz { position: relative; height: 140px; margin-bottom: var(--space-md); }
.tile--geo { grid-column: span 4; grid-row: span 2; }
.tile--geo .tile__viz { height: 320px; }
.tile--local, .tile--web { grid-column: span 2; }
.tile--kw { grid-column: span 3; }
.tile--voice { grid-column: span 3; }
.tile--luna { grid-column: span 6; display: flex; align-items: center; gap: var(--space-md); flex-wrap: wrap; background: linear-gradient(90deg, var(--color-cool-soft), var(--color-card) 60%); }
.tile--luna h3 { flex: 0 0 auto; }
.tile--luna p { flex: 1 1 320px; margin: 0; }
.tile--luna .link { margin: 0; }

.orbit { display: grid; place-items: center; }
.orbit__core { position: relative; z-index: 2; padding: var(--space-xs) var(--space-md); border-radius: var(--radius-pill); background: var(--color-accent); color: var(--color-accent-ink); font-family: var(--font-display); font-weight: 700; box-shadow: 0 0 60px oklch(77% 0.16 70 / .45); }
.orbit__ring { position: absolute; left: 50%; top: 50%; border: 1px dashed var(--color-rule-2); border-radius: 50%; animation: spin 26s linear infinite; }
.orbit__ring--1 { width: 170px; height: 170px; margin: -85px 0 0 -85px; }
.orbit__ring--2 { width: 280px; height: 280px; margin: -140px 0 0 -140px; animation-duration: 40s; animation-direction: reverse; }
.orbit__ring i { position: absolute; font-style: normal; font-size: .72rem; font-weight: 600; padding: 4px 10px; border-radius: var(--radius-pill); background: var(--bg2); border: 1px solid var(--color-rule-2); color: var(--color-ink-2); white-space: nowrap; animation: spin 26s linear infinite reverse; }
.orbit__ring--2 i { animation-duration: 40s; animation-direction: normal; }
.orbit__ring--1 i:nth-child(1) { left: 50%; top: -12px; margin-left: -30px; }
.orbit__ring--1 i:nth-child(2) { left: 50%; bottom: -12px; margin-left: -26px; }
.orbit__ring--2 i:nth-child(1) { left: 0; top: 50%; transform-origin: center; margin: -12px 0 0 -36px; }
.orbit__ring--2 i:nth-child(2) { right: 0; top: 14%; margin-right: -44px; }
.orbit__ring--2 i:nth-child(3) { right: 14%; bottom: 0; margin-bottom: -10px; }
@keyframes spin { to { transform: rotate(360deg); } }

.pins { border-radius: 14px; background: radial-gradient(circle at 50% 45%, oklch(62% 0.14 240 / .14), transparent 70%), repeating-linear-gradient(0deg, var(--color-rule) 0 1px, transparent 1px 22px), repeating-linear-gradient(90deg, var(--color-rule) 0 1px, transparent 1px 22px); }
.pin { position: absolute; left: var(--x); top: var(--y); width: 10px; height: 10px; margin: -5px; border-radius: 50%; background: var(--color-ink-3); }
.pin--you { width: 16px; height: 16px; margin: -8px; background: var(--color-accent); box-shadow: 0 0 0 0 oklch(77% 0.16 70 / .5); animation: ripple 2.4s var(--ease-out) infinite; }
@keyframes ripple { 0% { box-shadow: 0 0 0 0 oklch(77% 0.16 70 / .55); } 100% { box-shadow: 0 0 0 26px oklch(77% 0.16 70 / 0); } }
.pins__label { position: absolute; left: var(--x); top: var(--y); font-size: .68rem; color: var(--color-ink-3); }

.checks { display: grid; align-content: center; gap: 8px; }
.checks span { display: flex; align-items: center; gap: 8px; font-size: var(--text-xs); color: var(--color-ink-2); opacity: .35; transition: opacity var(--dur-long) var(--ease-out); }
.checks span::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--color-rule-2); flex-shrink: 0; transition: background-color var(--dur-long) var(--ease-out), border-color var(--dur-long) var(--ease-out); }
.checks span.on { opacity: 1; }
.checks span.on::before { background: var(--color-good) center/11px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23061a10' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); border-color: var(--color-good); }

.morph { display: flex; align-items: center; gap: var(--space-xs); flex-wrap: wrap; align-content: center; }
.morph__short { font-family: var(--font-display); font-weight: 600; padding: 6px 14px; border-radius: 10px; border: 1px solid var(--color-rule-2); color: var(--color-ink-2); font-size: var(--text-sm); }
.morph__arrow { color: var(--color-accent); font-weight: 700; }
.morph__long { flex: 1 1 220px; font-size: var(--text-sm); padding: 8px 14px; border-radius: 14px 14px 14px 4px; background: var(--color-accent-soft); border: 1px solid var(--color-accent-line); color: var(--color-ink); min-height: 3.4em; transition: opacity var(--dur-long) var(--ease-out); }

.bars { display: flex; align-items: center; gap: 5px; justify-content: center; }
.bars i { width: 7px; height: 30%; border-radius: 4px; background: var(--color-accent); opacity: .85; animation: eq 1.2s var(--ease-in-out) infinite alternate; }
.bars i:nth-child(odd) { background: oklch(70% 0.13 235); }
.bars i:nth-child(2n) { animation-delay: -.3s; } .bars i:nth-child(3n) { animation-delay: -.7s; } .bars i:nth-child(5n) { animation-delay: -.5s; }
@keyframes eq { 0% { height: 14%; } 100% { height: 92%; } }

@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile--geo, .tile--kw, .tile--voice, .tile--luna { grid-column: span 2; }
  .tile--local, .tile--web { grid-column: span 1; }
  .tile--geo { grid-row: auto; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: minmax(0, 1fr); }
  .tile--geo, .tile--kw, .tile--voice, .tile--luna, .tile--local, .tile--web { grid-column: auto; }
  .tile--geo .tile__viz { height: 260px; }
  .orbit__ring--2 { width: 200px; height: 200px; margin: -100px 0 0 -100px; }
  .orbit__ring--1 { width: 130px; height: 130px; margin: -65px 0 0 -65px; }
  .orbit__core { padding: var(--space-2xs) var(--space-sm); font-size: var(--text-sm); }
}

/* ═════════════ AUDITORÍA */
.audit__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.audit__form { margin-top: var(--space-lg); }
.audit__form label { font-size: var(--text-xs); font-weight: 600; color: var(--color-ink-3); }
.audit__row { margin-top: 6px; display: flex; gap: var(--space-2xs); }
.audit__row input, .lead-form input, .fg input, .fg textarea, .studio textarea, .studio select {
  flex: 1; min-width: 0; min-height: 48px; padding: 0 var(--space-sm); border-radius: var(--radius-input);
  background: oklch(100% 0 0 / .05); border: 1.5px solid var(--color-rule-2); color: var(--color-ink); outline: 0;
  transition: border-color var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out);
}
.audit__row input:focus, .lead-form input:focus, .fg input:focus, .fg textarea:focus, .studio textarea:focus, .studio select:focus { border-color: var(--color-accent-line); box-shadow: 0 0 0 4px var(--color-accent-soft); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--color-bad) !important; }
.audit__err { min-height: 1.4em; margin-top: 6px; font-size: var(--text-xs); color: oklch(75% 0.15 30); }
.audit__try { font-size: var(--text-sm); color: var(--color-ink-3); }
.audit__what { list-style: none; margin-top: var(--space-lg); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xs); }
.audit__what li { font-size: var(--text-sm); padding: var(--space-xs) var(--space-sm); border-radius: 14px; background: var(--color-card); border: 1px solid var(--color-rule); }
.audit__credit { margin-top: var(--space-md); font-size: .72rem; color: var(--color-ink-3); }
.audit__credit a { text-decoration: underline; text-underline-offset: 3px; }

.report { padding: var(--space-lg); min-height: 460px; }
.report__empty { height: 100%; min-height: 400px; display: grid; place-content: center; justify-items: center; gap: var(--space-sm); color: var(--color-ink-3); text-align: center; }
.report__empty .gauge { width: 140px; }
.gauge { transform: rotate(-90deg); }
.gauge__bg { fill: none; stroke: var(--color-rule); stroke-width: 10; }
.gauge__fg { fill: none; stroke: var(--color-accent); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 326.7; transition: stroke-dashoffset 1.4s var(--ease-out), stroke var(--dur-long) var(--ease-out); }
.gauge__fg--idle { stroke-dashoffset: 245; opacity: .35; animation: idle 3s var(--ease-in-out) infinite alternate; }
@keyframes idle { to { stroke-dashoffset: 120; } }
.steps-live { list-style: none; display: grid; gap: var(--space-sm); padding: var(--space-md) 0; }
.steps-live li { display: flex; align-items: center; gap: var(--space-xs); font-size: var(--text-sm); color: var(--color-ink-3); opacity: .4; transition: opacity var(--dur-long) var(--ease-out), color var(--dur-long) var(--ease-out); }
.steps-live li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--color-rule-2); flex-shrink: 0; }
.steps-live li.now { opacity: 1; color: var(--color-ink); }
.steps-live li.now::before { border-color: var(--color-accent); border-top-color: transparent; animation: spin .8s linear infinite; }
.steps-live li.ok { opacity: 1; }
.steps-live li.ok::before { border-color: var(--color-good); background: var(--color-good); }
.report__top { display: flex; gap: var(--space-md); align-items: center; }
.gauge-wrap { position: relative; width: 132px; flex-shrink: 0; }
.gauge__num { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; font-family: var(--font-display); font-weight: 700; font-size: 2.4rem; line-height: 1; color: var(--color-ink); font-variant-numeric: tabular-nums; }
.gauge__num small { font-size: .8rem; color: var(--color-ink-3); font-weight: 500; }
.report__url { font-size: var(--text-xs); color: var(--color-ink-3); overflow-wrap: anywhere; }
.report__band { font-family: var(--font-display); font-weight: 700; font-size: var(--text-xl); color: var(--color-ink); }
.report__bandtxt { font-size: var(--text-sm); color: var(--color-ink-3); }
.platforms { margin-top: var(--space-md); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-2xs); }
.plat { padding: var(--space-xs); border-radius: 14px; background: oklch(100% 0 0 / .04); border: 1px solid var(--color-rule); }
.plat__n { font-size: .72rem; color: var(--color-ink-3); }
.plat__v { font-family: var(--font-display); font-weight: 700; font-size: var(--text-xl); color: var(--color-ink); font-variant-numeric: tabular-nums; }
.report__h { margin-top: var(--space-lg); font-size: var(--text-sm); font-weight: 700; color: var(--color-ink); }
.cats { margin-top: var(--space-xs); display: grid; gap: 10px; }
.cat { display: grid; grid-template-columns: minmax(0, 1fr) 54px; gap: 4px var(--space-sm); font-size: var(--text-xs); }
.cat__n { color: var(--color-ink-2); }
.cat__v { text-align: right; color: var(--color-ink-3); font-variant-numeric: tabular-nums; }
.cat__bar { grid-column: 1 / -1; height: 6px; border-radius: 6px; background: var(--color-rule); overflow: hidden; }
.cat__bar span { display: block; height: 100%; width: 0; border-radius: 6px; transition: width 1.1s var(--ease-out); }
.fixes { margin-top: var(--space-xs); list-style: none; display: grid; gap: var(--space-2xs); counter-reset: fx; }
.fixes li { counter-increment: fx; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 2px var(--space-xs); padding: var(--space-xs) var(--space-sm); border-radius: 14px; background: oklch(100% 0 0 / .035); border: 1px solid var(--color-rule); }
.fixes li::before { content: counter(fx); grid-row: span 2; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: .72rem; font-weight: 700; background: var(--color-card-hover); color: var(--color-ink); }
.fixes b { font-size: var(--text-sm); color: var(--color-ink); }
.fixes b em { font-style: normal; font-size: .64rem; font-weight: 700; margin-left: 6px; padding: 1px 7px; border-radius: var(--radius-pill); vertical-align: 2px; }
.imp-alto { background: oklch(65% 0.19 25 / .18); color: oklch(80% 0.12 30); }
.imp-medio { background: oklch(80% 0.15 85 / .16); color: oklch(85% 0.12 85); }
.imp-bajo { background: oklch(72% 0.15 160 / .14); color: oklch(82% 0.1 160); }
.fixes span { font-size: var(--text-xs); color: var(--color-ink-3); }
.lead-form { margin-top: var(--space-lg); padding-top: var(--space-md); border-top: 1px solid var(--color-rule); }
.lead-form__t { font-weight: 700; color: var(--color-ink); font-size: var(--text-sm); }
.lead-form__row { margin-top: var(--space-2xs); display: flex; gap: var(--space-2xs); }
.lead-form__ok { margin-top: var(--space-2xs); font-size: var(--text-sm); color: var(--color-good); }
@media (max-width: 900px) { .audit__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) {
  .audit__row, .lead-form__row { flex-direction: column; }
  .audit__what { grid-template-columns: minmax(0, 1fr); }
  .report { padding: var(--space-md); }
  .report__top { flex-direction: column; align-items: flex-start; }
  .platforms { grid-template-columns: minmax(0, 1fr); }
}

/* ═════════════ PALABRAS CLAVE */
.kw__tabs { display: flex; flex-wrap: wrap; gap: var(--space-2xs); margin-bottom: var(--space-md); }
.kw__tabs button, .vfilter button { min-height: 40px; padding: 0 var(--space-sm); border-radius: var(--radius-pill); border: 1px solid var(--color-rule-2); background: transparent; color: var(--color-ink-3); font-size: var(--text-sm); font-weight: 600; cursor: pointer; white-space: nowrap; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out); }
.kw__tabs button:hover, .vfilter button:hover { color: var(--color-ink); border-color: var(--color-accent-line); }
.kw__tabs button[aria-selected="true"], .vfilter button.is-on { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); }
.kw__panes { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.3fr) minmax(0, .9fr); gap: var(--space-sm); }
.kw__col { padding: var(--space-md); }
.kw__list { list-style: none; margin-top: var(--space-sm); display: grid; gap: var(--space-2xs); }
.kw__list li { opacity: 0; transform: translateY(8px); transition: opacity var(--dur-long) var(--ease-out), transform var(--dur-long) var(--ease-out); }
.kw__list li.on { opacity: 1; transform: none; }
.kw__list--short li { font-family: var(--font-display); font-weight: 600; padding: 6px 12px; border-radius: 10px; border: 1px solid var(--color-rule-2); width: fit-content; max-width: 100%; color: var(--color-ink-2); font-size: var(--text-sm); }
.kw__list--long li { font-size: var(--text-sm); color: var(--color-ink); padding: 10px 14px; border-radius: 16px 16px 16px 4px; background: oklch(100% 0 0 / .05); border: 1px solid var(--color-rule); }
.kw__list--do li { font-size: var(--text-sm); color: var(--color-ink-2); padding-left: 22px; position: relative; }
.kw__list--do li::before { content: "→"; position: absolute; left: 0; color: var(--color-accent); font-weight: 700; }
.kw__note { margin-top: var(--space-md); font-size: .75rem; color: var(--color-ink-3); }
@media (max-width: 900px) { .kw__panes { grid-template-columns: minmax(0, 1fr); } }

/* ═════════════ VOCES */
.vfilter { display: flex; flex-wrap: wrap; gap: var(--space-2xs); margin-bottom: var(--space-md); }
.vgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-sm); }
.vcard { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: var(--space-2xs) var(--space-sm); padding: var(--space-md); border-radius: var(--radius-card); background: var(--color-card); border: 1px solid var(--color-rule); transition: border-color var(--dur-long) var(--ease-out), background-color var(--dur-long) var(--ease-out), opacity var(--dur-long) var(--ease-out), transform var(--dur-long) var(--ease-out); }
.vcard.is-hidden { display: none; }
.vmore { margin-top: var(--space-md); text-align: center; }
.vcard:hover { border-color: var(--color-rule-2); background: var(--color-card-hover); }
.vcard.is-playing { border-color: var(--color-accent-line); background: linear-gradient(160deg, oklch(77% 0.16 70 / .1), var(--color-card) 60%); }
.vplay { width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; background: var(--color-accent); color: var(--color-accent-ink); transition: transform var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out); }
.vplay:hover { transform: scale(1.06); box-shadow: var(--shadow-glow); }
.vplay:active { transform: scale(.96); }
.vplay svg { width: 20px; height: 20px; fill: currentColor; }
.vplay .i-pause { display: none; }
.is-playing .vplay .i-play { display: none; }
.is-playing .vplay .i-pause { display: block; }
.vmeta b { display: block; font-family: var(--font-display); font-size: var(--text-lg); color: var(--color-ink); line-height: 1.2; }
.vmeta span { font-size: var(--text-xs); color: var(--color-ink-3); }
.vbadges { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.vbadges em { font-style: normal; font-size: .66rem; font-weight: 700; padding: 2px 8px; border-radius: var(--radius-pill); border: 1px solid var(--color-rule-2); color: var(--color-ink-3); }
.vbadges em.eng-orpheus { border-color: oklch(70% 0.15 300 / .5); color: oklch(80% 0.1 300); }
.vbadges em.eng-piper { border-color: oklch(70% 0.13 235 / .5); color: oklch(82% 0.09 235); }
.vbadges em.emo { border-color: var(--color-accent-line); color: var(--color-accent); }
.vwave { grid-column: 1 / -1; width: 100%; height: 40px; }
.vtext { grid-column: 1 / -1; font-size: var(--text-xs); color: var(--color-ink-3); line-height: 1.55; }
.vtext::before { content: "«"; } .vtext::after { content: "»"; }
.studio { margin-top: var(--space-xl); padding: var(--space-lg); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: var(--space-lg); align-items: start; }
.studio__copy p { margin-top: var(--space-2xs); font-size: var(--text-sm); color: var(--color-ink-3); }
.studio textarea { width: 100%; min-height: 96px; padding: var(--space-sm); line-height: 1.5; resize: vertical; }
.studio__row { margin-top: var(--space-2xs); display: flex; flex-wrap: wrap; gap: var(--space-2xs); align-items: center; }
.studio select { flex: 0 1 220px; cursor: pointer; }
.studio select option { background: var(--bg2); }
.studio__count { font-size: var(--text-xs); color: var(--color-ink-3); font-variant-numeric: tabular-nums; margin-left: auto; }
.studio__wave { width: 100%; height: 56px; margin-top: var(--space-sm); }
.tools { margin-top: var(--space-xl); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-md); }
.tool { padding-top: var(--space-md); border-top: 1px solid var(--color-rule-2); }
.tool h3 { font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); color: var(--color-ink); }
.tool__tag { margin-top: 2px; font-size: var(--text-xs); color: var(--color-accent); font-weight: 600; }
.tool p:last-child { margin-top: var(--space-2xs); font-size: var(--text-sm); color: var(--color-ink-3); }
@media (max-width: 1000px) { .vgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .studio, .tools { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .vgrid { grid-template-columns: minmax(0, 1fr); } .studio { padding: var(--space-md); } .studio__row .btn { width: 100%; } .studio select { flex: 1 1 100%; } }

/* ═════════════ TRABAJOS */
.work__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-md); }
.job { padding: var(--space-lg) var(--space-md); border-radius: var(--radius-card); background: var(--color-card); border: 1px solid var(--color-rule); transition: border-color var(--dur-long) var(--ease-out), transform var(--dur-long) var(--ease-out); }
.job:hover { border-color: var(--color-accent-line); transform: translateY(-3px); }
.job__sector { font-size: var(--text-xs); color: var(--color-accent); font-weight: 600; }
.job h3 { margin-top: 4px; font-family: var(--font-display); font-size: var(--text-xl); color: var(--color-ink); letter-spacing: -.02em; }
.job p { margin-top: var(--space-2xs); font-size: var(--text-sm); color: var(--color-ink-3); }
.job__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: var(--space-sm) !important; }
.job__tags span { font-size: .7rem; padding: 2px 10px; border-radius: var(--radius-pill); border: 1px solid var(--color-rule-2); color: var(--color-ink-2); }
@media (max-width: 900px) { .work__list { grid-template-columns: minmax(0, 1fr); } }

/* ═════════════ MÉTODO (stepper — hooks #procesoSteps, #progFill, .step[data-step], .paso-active) */
.stepper { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-md); }
.stepper__track { position: absolute; left: 12.5%; right: 12.5%; top: 27px; height: 2px; background: var(--color-rule); border-radius: 2px; }
.stepper__fill { height: 100%; width: 0; background: var(--color-accent); border-radius: 2px; box-shadow: 0 0 12px oklch(77% 0.16 70 / .6); transition: width .55s var(--ease-in-out); }
.step { position: relative; display: grid; justify-items: center; text-align: center; gap: var(--space-2xs); background: none; border: 0; cursor: pointer; padding: 0 var(--space-2xs); color: inherit; opacity: .45; transition: opacity var(--dur-long) var(--ease-out); }
.step.paso-active { opacity: 1; }
.step__num { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); background: var(--bg2); border: 2px solid var(--color-rule-2); color: var(--color-ink); transition: background-color var(--dur-long) var(--ease-out), border-color var(--dur-long) var(--ease-out), transform var(--dur-long) var(--ease-out), color var(--dur-long) var(--ease-out); }
.step.paso-active .step__num { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); transform: scale(1.08); box-shadow: 0 0 0 8px var(--color-accent-soft); }
.step__title { margin-top: var(--space-2xs); font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); color: var(--color-ink); }
.step__text { font-size: var(--text-sm); color: var(--color-ink-3); max-width: 28ch; }
@media (max-width: 760px) {
  .stepper { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); }
  .stepper__track { left: 27px; right: auto; top: 28px; bottom: 28px; width: 2px; height: auto; }
  .stepper__fill { width: 100% !important; height: var(--fill-h, 0%); transition: height .55s var(--ease-in-out); }
  .step { grid-template-columns: 56px minmax(0, 1fr); justify-items: start; text-align: left; column-gap: var(--space-sm); padding: 0; }
  .step__num { grid-row: span 2; }
  .step__title { margin: 0; align-self: end; }
}

/* ═════════════ PLANES */
.plans__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-sm); align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: var(--space-lg) var(--space-md); border-radius: var(--radius-card); background: var(--color-card); border: 1px solid var(--color-rule); }
.plan h3 { font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); color: var(--color-ink); }
.plan__price { margin-top: var(--space-sm); font-family: var(--font-display); font-weight: 700; font-size: 2.2rem; line-height: 1; letter-spacing: -.03em; color: var(--color-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.plan__price--ask { font-size: 1.7rem; color: var(--color-accent); }
.plan__price small { font-size: .8rem; font-weight: 500; color: var(--color-ink-3); letter-spacing: 0; }
.plan__for { margin-top: 6px; font-size: var(--text-xs); color: var(--color-ink-3); }
.plan .ticks { flex: 1; align-content: start; margin-bottom: var(--space-lg); }
.plan--feat { border-color: var(--color-accent-line); background: linear-gradient(170deg, oklch(77% 0.16 70 / .12), var(--color-card) 50%); box-shadow: var(--shadow-glow); }
.plan__badge { position: absolute; top: -12px; left: var(--space-md); font-size: .7rem; font-weight: 700; padding: 3px 12px; border-radius: var(--radius-pill); background: var(--color-accent); color: var(--color-accent-ink); }
@media (max-width: 1000px) { .plans__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--space-lg); } }
@media (max-width: 560px) { .plans__grid { grid-template-columns: minmax(0, 1fr); } }

/* ═════════════ ACCESO CLIENTES */
.access-sec__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-sm); }
.portal { display: flex; align-items: center; gap: var(--space-md); padding: var(--space-lg) var(--space-md); border-radius: var(--radius-card); background: var(--color-card); border: 1px solid var(--color-rule); transition: border-color var(--dur-long) var(--ease-out), background-color var(--dur-long) var(--ease-out), transform var(--dur-long) var(--ease-out); }
.portal:hover { border-color: var(--color-accent-line); background: var(--color-card-hover); transform: translateY(-3px); }
.portal__ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; flex-shrink: 0; }
.portal__ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.portal__body { flex: 1; min-width: 0; }
.portal__body b { display: block; font-family: var(--font-display); font-size: var(--text-lg); color: var(--color-ink); }
.portal__body span { font-size: var(--text-sm); color: var(--color-ink-3); }
.portal__go { font-size: 1.4rem; color: var(--color-accent); transition: transform var(--dur-short) var(--ease-out); }
.portal:hover .portal__go { transform: translateX(4px); }
@media (max-width: 760px) { .access-sec__grid { grid-template-columns: minmax(0, 1fr); } .portal { padding: var(--space-md); } }

/* ═════════════ FAQ */
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: var(--space-xl); align-items: start; }
.faq__list { display: grid; gap: var(--space-2xs); }
.qa { border-radius: 18px; background: var(--color-card); border: 1px solid var(--color-rule); transition: border-color var(--dur-long) var(--ease-out); }
.qa[open] { border-color: var(--color-accent-line); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--space-sm); padding: var(--space-sm) var(--space-md); font-weight: 600; color: var(--color-ink); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--color-accent); transition: transform var(--dur-short) var(--ease-out); flex-shrink: 0; }
.qa[open] summary::after { transform: rotate(45deg); }
.qa p { padding: 0 var(--space-md) var(--space-md); font-size: var(--text-sm); color: var(--color-ink-3); }
@media (max-width: 900px) { .faq__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-md); } }

/* ═════════════ CONTACTO */
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact__list { list-style: none; margin-top: var(--space-lg); display: grid; gap: var(--space-xs); }
.contact__list a { font-size: var(--text-md); color: var(--color-ink); border-bottom: 1px solid var(--color-accent-line); padding-bottom: 2px; transition: border-color var(--dur-short) var(--ease-out); }
.contact__list a:hover { border-color: var(--color-accent); }
.form-card { padding: var(--space-lg); }
.fg { margin-bottom: var(--space-sm); display: grid; gap: 6px; }
.fg label { font-size: var(--text-xs); font-weight: 600; color: var(--color-ink-3); }
.fg textarea { padding: var(--space-sm); min-height: 110px; resize: vertical; }
.form-submit { width: 100%; }
.form-success { text-align: center; padding: var(--space-xl) 0; }
.form-success__mark { width: 60px; height: 60px; margin: 0 auto var(--space-sm); border-radius: 50%; display: grid; place-items: center; font-size: 1.6rem; color: var(--color-good); border: 2px solid var(--color-good); }
.form-success h3 { color: var(--color-ink); font-family: var(--font-display); }
.form-success p { color: var(--color-ink-3); font-size: var(--text-sm); }
@media (max-width: 900px) { .contact__grid { grid-template-columns: minmax(0, 1fr); } .form-card { padding: var(--space-md); } }

/* ═════════════ FOOTER · Ft1 */
.footer { background: oklch(8% 0.015 250); border-top: 1px solid var(--color-rule); padding: var(--space-2xl) 0 var(--space-lg); }
.footer__mast { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 1rem + 5vw, 4.8rem); line-height: 1; letter-spacing: -.045em; color: var(--color-ink); overflow-wrap: anywhere; }
.footer__cols { margin-top: var(--space-xl); display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: var(--space-lg); }
.footer__brand { display: flex; align-items: center; gap: var(--space-2xs); font-family: var(--font-display); font-weight: 600; color: var(--color-ink); }
.footer__brand img { border-radius: 50%; }
.footer__brand b { color: var(--color-accent); }
.footer__tag { margin-top: var(--space-2xs); font-size: var(--text-sm); color: var(--color-ink-3); max-width: 30ch; }
.footer__h { font-size: var(--text-xs); font-weight: 700; color: var(--color-ink); margin-bottom: var(--space-2xs); }
.footer ul { list-style: none; display: grid; gap: 6px; }
.footer ul a { font-size: var(--text-sm); color: var(--color-ink-3); white-space: nowrap; transition: color var(--dur-short) var(--ease-out); }
.footer ul a:hover { color: var(--color-accent); }
.footer__bottom { margin-top: var(--space-xl); padding-top: var(--space-md); border-top: 1px solid var(--color-rule); display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--space-2xs); font-size: var(--text-xs); color: var(--color-ink-3); }
.footer__bottom a:hover { color: var(--color-ink); }
@media (max-width: 760px) { .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .footer__cols { grid-template-columns: minmax(0, 1fr); } }

/* ═════════════ entradas al hacer scroll (una vez, solo transform/opacity) */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.rv.in { opacity: 1; transform: none; }

/* cookie (creado por JS, sin texto oculto en el HTML) */
.cookie { position: fixed; left: 16px; bottom: 16px; z-index: 990; max-width: 380px; padding: var(--space-sm) var(--space-md); border-radius: 18px; background: var(--bg2); border: 1px solid var(--color-rule-2); box-shadow: var(--shadow-card); font-size: var(--text-xs); color: var(--color-ink-3); display: flex; gap: var(--space-sm); align-items: center; }
.cookie a { color: var(--color-accent); text-decoration: underline; }
.cookie .btn { min-height: 36px; }
@media (max-width: 640px) { .cookie { right: 88px; max-width: none; } }

/* ═════════════ reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: 120ms !important; scroll-behavior: auto !important; }
  .engines__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .engines span[aria-hidden="true"] { display: none; }
  .mark__line path { stroke-dashoffset: 0; animation: none; }
  .rv { opacity: 1; transform: none; }
}

/* quiénes somos */
.about { margin-top: var(--space-lg); padding: var(--space-md); border-radius: var(--radius-card); background: var(--color-card); border: 1px solid var(--color-rule); }
.about p { margin-top: var(--space-2xs); font-size: var(--text-sm); color: var(--color-ink-3); }
.about b { color: var(--color-ink); font-weight: 600; }
