/* ============================================================
   TYM DIGITAL — Sistema de diseño
   ============================================================ */
:root {
  /* Acentos (Tweakables) */
  --accent: #F4531C;          /* naranja de marca */
  --accent-press: #D8410F;
  --accent-soft: rgba(244, 83, 28, .12);
  --blue: #2E8FFF;            /* azul del anillo */
  --blue-soft: rgba(46, 143, 255, .12);
  --grad: linear-gradient(100deg, #2E8FFF 0%, #6B6BFF 38%, #F4531C 100%);
  --grad-ring: conic-gradient(from 210deg, #2E8FFF, #5B7BFF 25%, #F4531C 55%, #FF7A3D 70%, #2E8FFF 100%);

  /* Neutros oscuros (mundo del logo) */
  --ink: #070B16;
  --navy: #0A1020;
  --navy-2: #0E1730;
  --navy-card: #121C38;
  --navy-line: rgba(255, 255, 255, .09);
  --navy-text: #E9EDF6;
  --navy-muted: #93A0BC;

  /* Neutros claros */
  --paper: #FFFFFF;
  --paper-2: #F4F6FB;
  --paper-3: #EAEFF7;
  --line: rgba(12, 19, 34, .10);
  --line-2: rgba(12, 19, 34, .06);
  --text: #0C1322;
  --text-2: #3A4660;
  --muted: #69748C;

  /* Tipografía */
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Manrope', sans-serif;

  /* Forma */
  --r: 16px;
  --r-lg: 22px;
  --r-sm: 11px;
  --shadow-sm: 0 1px 2px rgba(12,19,34,.06), 0 4px 14px rgba(12,19,34,.05);
  --shadow: 0 2px 6px rgba(12,19,34,.06), 0 18px 50px -18px rgba(12,19,34,.22);
  --shadow-accent: 0 14px 38px -12px rgba(244,83,28,.55);

  /* Layout */
  --maxw: 1200px;
  --gut: 24px;

  /* Easing premium (transiciones suaves) */
  --ease: cubic-bezier(.22,.61,.36,1);
}

[data-heading="sora"] { --font-display: 'Sora', sans-serif; }

/* Variantes del hero (Tweaks) */
[data-hero="glow"] .ring svg { display: none; }
[data-hero="glow"] .ring__logo { width: 66%; }
[data-hero="glow"] .ring { filter: drop-shadow(0 0 70px rgba(244,83,28,.4)) drop-shadow(0 0 50px rgba(46,143,255,.35)); }
[data-hero="minimal"] .hero__visual { display: none; }
[data-hero="minimal"] .hero__inner { grid-template-columns: 1fr; text-align: center; max-width: 800px; margin: 0 auto; }
[data-hero="minimal"] .hero h1 { font-size: clamp(40px, 6vw, 72px); }
[data-hero="minimal"] .hero__sub { margin-left: auto; margin-right: auto; }
[data-hero="minimal"] .hero__cta { justify-content: center; }
[data-hero="minimal"] .hero__stats { max-width: 580px; margin-left: auto; margin-right: auto; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
/* Red de seguridad anti-desborde horizontal en móvil */
html, body { max-width: 100%; overflow-x: clip; }

/* ---------- Focus (a11y) ---------- */
:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}
.bg-ink :focus-visible, .hero :focus-visible, .audit :focus-visible {
  outline-color: #fff;
}

/* ---------- Skip link ---------- */
.skip {
  position: absolute; left: 12px; top: -100px;
  background: var(--accent); color: #fff; font-weight: 700;
  padding: 12px 18px; border-radius: 10px; z-index: 200;
  transition: top .2s;
}
.skip:focus { top: 12px; outline: 3px solid #fff; outline-offset: 2px; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--text);
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: #fff; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
  overflow-wrap: break-word;
  word-break: normal;
  min-width: 0;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }
.section { padding: clamp(72px, 9vw, 132px) 0; position: relative; }
.section--tight { padding: clamp(56px, 6vw, 88px) 0; }
.bg-paper2 { background: var(--paper-2); }
.bg-ink { background: var(--ink); color: var(--navy-text); }

/* ---------- Eyebrow / kicker ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-body);
  font-weight: 700; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent);
  padding: 7px 14px 7px 12px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--paper);
}
.bg-ink .kicker, .hero .kicker { color: #fff; background: rgba(255,255,255,.05); border-color: var(--navy-line); }
.kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.kicker--blue { color: var(--blue); }
.kicker--blue .dot { background: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }

/* ---------- Section heads ---------- */
.head { max-width: 760px; }
.head--center { margin: 0 auto; text-align: center; }
.head h2 {
  font-size: clamp(31px, 4.6vw, 52px);
  margin: 20px 0 0;
}
.head p {
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 19px);
  margin: 18px 0 0;
  max-width: 620px;
}
.head--center p { margin-left: auto; margin-right: auto; }
.bg-ink .head p { color: var(--navy-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-body); font-weight: 700; font-size: 16px;
  padding: 14px 24px; border-radius: 12px; border: 1px solid transparent;
  cursor: pointer; transition: transform .18s var(--ease), box-shadow .25s, background .2s, color .2s, border-color .2s;
  white-space: nowrap; line-height: 1;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-accent); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 46px -12px rgba(244,83,28,.7); background: var(--accent-press); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--text); transform: translateY(-2px); }
.bg-ink .btn-ghost, .hero .btn-ghost { color: #fff; border-color: var(--navy-line); background: rgba(255,255,255,.04); }
.bg-ink .btn-ghost:hover, .hero .btn-ghost:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.5); }
.btn-wa { background: #1FB855; color: #fff; border-color: #1FB855; box-shadow: 0 14px 38px -12px rgba(31,184,85,.55); }
.btn-wa:hover { background: #19a64a; border-color: #19a64a; transform: translateY(-2px); box-shadow: 0 20px 46px -12px rgba(31,184,85,.7); }
.btn-wa svg { color: #fff; }
.bg-ink .btn-wa, .hero .btn-wa { background: #1FB855; color: #fff; border-color: #1FB855; }
.bg-ink .btn-wa:hover, .hero .btn-wa:hover { background: #19a64a; border-color: #19a64a; }
.btn-lg { padding: 17px 30px; font-size: 17px; }
.btn-block { width: 100%; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.nav.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -16px rgba(12,19,34,.4); }
.nav__inner { display: flex; align-items: center; gap: 20px; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -.02em; margin-right: 14px; }
.brand img { width: 40px; height: 40px; border-radius: 11px; }
.brand b { color: var(--accent); }
.nav__links { display: flex; align-items: center; gap: 4px; margin-left: 6px; }
.nav__links a {
  position: relative;
  font-weight: 600; font-size: 15px; color: var(--text-2); white-space: nowrap;
  padding: 9px 12px; transition: color .3s var(--ease);
}
.nav__links a::after {
  content: ''; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px;
  background: var(--accent); border-radius: 2px;
  transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__links a[aria-current="page"] { color: var(--text); }
.nav__links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__menu { display: none; }
.nav__cta { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.nav__burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 11px; background: var(--paper); cursor: pointer; align-items: center; justify-content: center; }
.nav__burger span, .nav__burger span::before, .nav__burger span::after { content:''; display:block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; position: relative; transition: .25s; }
.nav__burger span::before { position: absolute; top: -6px; } .nav__burger span::after { position: absolute; top: 6px; }
.nav.open .nav__burger span { background: transparent; }
.nav.open .nav__burger span::before { top: 0; transform: rotate(45deg); }
.nav.open .nav__burger span::after { top: 0; transform: rotate(-45deg); }

/* ============================================================
   HERO — dinámico, con orbs, parallax y depth
   ============================================================ */
.hero { position: relative; background: var(--navy); color: var(--navy-text); overflow: hidden; padding: clamp(56px,7vw,96px) 0 clamp(56px,6vw,88px); isolation: isolate; }
.hero::before { /* radial vignette base */
  content:''; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(900px 540px at 78% 18%, rgba(46,143,255,.18), transparent 60%),
    radial-gradient(760px 520px at 22% 92%, rgba(244,83,28,.18), transparent 60%),
    linear-gradient(180deg, #0B1224 0%, #070B16 100%);
}
.hero__grid-bg { position: absolute; inset: 0; opacity: .5; z-index: 0;
  background-image: linear-gradient(var(--navy-line) 1px, transparent 1px), linear-gradient(90deg, var(--navy-line) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(circle at 50% 35%, #000 0%, transparent 72%);
}

/* Orbes de luz animados */
.hero__orbs { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hero__orbs .orb {
  position: absolute; border-radius: 50%;
  filter: blur(70px); opacity: .55;
  will-change: transform;
}
.orb--1 { width: 480px; height: 480px; background: #F4531C; top: -120px; right: -120px; animation: orbA 18s ease-in-out infinite alternate; }
.orb--2 { width: 540px; height: 540px; background: #2E8FFF; bottom: -160px; left: -140px; animation: orbB 22s ease-in-out infinite alternate; }
.orb--3 { width: 320px; height: 320px; background: #6B6BFF; top: 30%; left: 40%; opacity: .25; animation: orbC 26s ease-in-out infinite alternate; }
@keyframes orbA { to { transform: translate3d(-80px, 60px, 0) scale(1.15); } }
@keyframes orbB { to { transform: translate3d(120px, -50px, 0) scale(1.1); } }
@keyframes orbC { to { transform: translate3d(-60px, 90px, 0) scale(.85); } }

/* Estrellas/partículas sutiles */
.hero__stars { position: absolute; inset: 0; z-index: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 14% 22%, rgba(255,255,255,.7) 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 38% 78%, rgba(255,255,255,.5) 50%, transparent 51%),
    radial-gradient(1.8px 1.8px at 72% 14%, rgba(255,255,255,.6) 50%, transparent 51%),
    radial-gradient(1px 1px at 86% 64%, rgba(255,255,255,.5) 50%, transparent 51%),
    radial-gradient(1.6px 1.6px at 56% 42%, rgba(255,255,255,.4) 50%, transparent 51%),
    radial-gradient(1px 1px at 24% 58%, rgba(255,255,255,.4) 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 92% 32%, rgba(255,255,255,.55) 50%, transparent 51%);
  animation: twinkle 4s ease-in-out infinite alternate;
}
@keyframes twinkle { from { opacity: .35; } to { opacity: .9; } }

.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero__inner > * { min-width: 0; }
.hero__copy { min-width: 0; }
.hero h1 { font-size: clamp(40px, 6vw, 72px); letter-spacing: -.035em; }
.hero h1 .g {
  background: var(--grad);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gradFlow 8s ease-in-out infinite alternate;
}
@keyframes gradFlow { to { background-position: 100% 0; } }
.hero__sub { color: #C3CCE0; font-size: clamp(17px, 1.9vw, 21px); margin: 24px 0 0; max-width: 540px; }
.hero__sub b { color: #fff; font-weight: 700; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* Badge "vs competencia" */
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 14px; border-radius: 100px;
  background: linear-gradient(120deg, rgba(31,184,85,.18), rgba(46,143,255,.1));
  border: 1px solid rgba(52,211,107,.35);
  font-size: 13px; font-weight: 700; color: #C9F2D8;
  margin-bottom: 18px; backdrop-filter: blur(6px);
}
.hero__badge .pulse {
  width: 8px; height: 8px; border-radius: 50%; background: #34d36b;
  box-shadow: 0 0 0 0 rgba(52,211,107,.7);
  animation: pulseDot 1.8s cubic-bezier(.66,0,0,1) infinite;
}
@keyframes pulseDot { 70% { box-shadow: 0 0 0 10px rgba(52,211,107,0); } 100% { box-shadow: 0 0 0 0 rgba(52,211,107,0); } }
.hero__badge s { color: #93A0BC; font-weight: 600; }
.hero__badge b { color: #fff; }

.hero__stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 48px; border-top: 1px solid var(--navy-line); padding-top: 28px; }
.hero__stats .s { padding-right: 18px; }
.hero__stats .s + .s { padding-left: 22px; border-left: 1px solid var(--navy-line); }
.hero__stats .n { font-family: var(--font-display); font-weight: 600; font-size: clamp(24px,3vw,34px); letter-spacing: -.02em; }
.hero__stats .n.acc { color: var(--accent); } .hero__stats .n.blu { color: var(--blue); } .hero__stats .n.grn { color: #34d36b; }
.hero__stats .l { color: var(--navy-muted); font-size: 13px; margin-top: 4px; line-height: 1.3; }

/* ---- Ring motif: ahora con parallax + halo pulsante ---- */
/* align-self start + offset para centrar el ring con el bloque título+sub+CTA
   (no con la columna completa, que el ticker/stats estiran hacia abajo) */
.hero__visual { position: relative; aspect-ratio: 1/1; display: grid; place-items: center; perspective: 1200px; align-self: start; margin-top: clamp(8px, 3vw, 56px); }
.ring {
  position: relative; width: min(100%, 420px); aspect-ratio: 1/1;
  transform-style: preserve-3d;
  transition: transform .5s var(--ease);
}
/* Glow de fondo (capa profunda) */
.ring__glow {
  position: absolute; inset: -14%; border-radius: 50%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(circle at 50% 50%, rgba(46,143,255,.28) 0%, transparent 55%),
    radial-gradient(circle at 60% 40%, rgba(244,83,28,.22) 0%, transparent 60%);
  filter: blur(14px);
  animation: halo 5s ease-in-out infinite alternate;
}
@keyframes halo { from { opacity: .6; transform: scale(.94); } to { opacity: 1; transform: scale(1.1); } }

/* Anillo gradiente cónico (el "eclipse" girando) */
.ring__conic {
  position: absolute; inset: 4%; border-radius: 50%; z-index: 1; pointer-events: none;
  background: conic-gradient(from 210deg, #2E8FFF, #5B7BFF 22%, transparent 38%, transparent 52%, #F4531C 70%, #FF7A3D 82%, #2E8FFF 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 6px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 7px), #000 calc(100% - 6px));
  filter: drop-shadow(0 0 24px rgba(46,143,255,.5)) drop-shadow(0 0 16px rgba(244,83,28,.4));
  animation: spin 18s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Anillo SVG punteado */
.ring__svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1;
  filter: drop-shadow(0 0 20px rgba(46,143,255,.3));
  animation: spin 60s linear infinite; }

/* Anillo interior contrarotando */
.ring__inner {
  position: absolute; inset: 24%; border-radius: 50%; pointer-events: none; z-index: 1;
  border: 1px dashed rgba(255,255,255,.12);
  animation: spinBack 45s linear infinite;
}
@keyframes spinBack { to { transform: rotate(-360deg); } }

/* Núcleo con logo + pulso */
.ring__core { position: absolute; inset: 0; display: grid; place-items: center; z-index: 3; }
.ring__pulse {
  position: absolute; width: 46%; aspect-ratio: 1; border-radius: 28px;
  border: 1.5px solid rgba(46,143,255,.5);
  animation: corePulse 3s ease-out infinite;
}
@keyframes corePulse { 0% { transform: scale(.9); opacity: .8; } 100% { transform: scale(1.5); opacity: 0; } }
.ring__logo {
  position: relative; width: 42%; border-radius: 24px;
  box-shadow: 0 28px 80px -16px rgba(0,0,0,.9), 0 0 40px -6px rgba(46,143,255,.4), 0 0 0 1px rgba(255,255,255,.06) inset;
  animation: float 6s ease-in-out infinite alternate;
}
@keyframes float { from { transform: translateY(-7px); } to { transform: translateY(7px); } }

/* Floating chips */
.chip {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 15px; border-radius: 14px;
  background: rgba(14,23,48,.82); border: 1px solid rgba(255,255,255,.09); backdrop-filter: blur(14px);
  box-shadow: 0 18px 44px -14px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,.04) inset;
  font-size: 13.5px; color: #fff; white-space: nowrap; z-index: 3;
  animation: chipFloat 5s ease-in-out infinite alternate;
}
.chip .ic { width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.chip .ic svg { width: 16px; height: 16px; }
.chip small { display: block; color: var(--navy-muted); font-size: 11.5px; font-weight: 600; letter-spacing: .02em; }
.chip b { font-weight: 700; font-size: 13.5px; }
.chip--1 { top: 4%; left: -10%; animation-delay: -.5s; }
.chip--2 { top: 56%; right: -10%; animation-delay: -1.5s; }
.chip--3 { bottom: 6%; left: -6%; animation-delay: -2.5s; }
@keyframes chipFloat { from { transform: translateY(-5px); } to { transform: translateY(5px); } }
.chip .ic.g { background: rgba(31,184,85,.18); color: #34d36b; }
.chip .ic.b { background: var(--blue-soft); color: var(--blue); }
.chip .ic.o { background: var(--accent-soft); color: var(--accent); }

/* ============================================================
   HERO DERECHO: TELÉFONO PREMIUM (dashboard en vivo)
   Todos los estilos van scoped bajo .tym-final-hero para no
   colisionar con el resto del sistema de diseño.
   ============================================================ */
.tym-final-hero {
  --tfh-orange: #FF6B00;
  --tfh-orange-soft: #FF8A2A;
  --tfh-blue: #4EA2FF;
  --tfh-green: #22C55E;
  position: relative;
  width: min(100%, 560px);
  aspect-ratio: 1 / 1.04;
  margin: 0 auto;
  isolation: isolate;
}

/* Capas decorativas (halo, órbitas, sombra, líneas) */
.tym-final-hero .tfh-halo {
  position: absolute; inset: 10% 7%; border-radius: 50%; z-index: -5;
  background:
    radial-gradient(circle at 64% 18%, rgba(255,107,0,.22), transparent 31%),
    radial-gradient(circle at 30% 78%, rgba(78,162,255,.16), transparent 38%),
    radial-gradient(circle, rgba(255,255,255,.035), transparent 62%);
  filter: blur(4px);
  animation: tfh-halo 8s ease-in-out infinite;
}
.tym-final-hero .tfh-orbit {
  position: absolute; inset: 10% 8% 11% 6%; border-radius: 50%; z-index: -4;
  border: 1px solid rgba(255,255,255,.08);
  transform: rotate(-14deg);
  animation: tfh-orbit 10s ease-in-out infinite;
}
.tym-final-hero .tfh-orbit::before,
.tym-final-hero .tfh-orbit::after {
  content: ""; position: absolute; inset: 15%; border-radius: inherit;
  border: 1px solid rgba(255,107,0,.15);
}
.tym-final-hero .tfh-orbit::after { inset: 29%; border-color: rgba(78,162,255,.14); }
.tym-final-hero .tfh-shadow {
  position: absolute; left: 50%; bottom: 6%; width: 270px; height: 58px;
  transform: translateX(-50%); border-radius: 50%; z-index: 1;
  background: radial-gradient(ellipse, rgba(0,0,0,.42), transparent 70%);
  filter: blur(6px);
  animation: tfh-shadow 7s ease-in-out infinite;
}
.tym-final-hero .tfh-line {
  position: absolute; width: 170px; height: 1px; z-index: 2;
  background: linear-gradient(90deg, transparent, rgba(255,107,0,.78), transparent);
  opacity: .32; transform: rotate(-24deg);
  animation: tfh-line 8s ease-in-out infinite;
}
.tym-final-hero .tfh-line--1 { left: 8%; top: 37%; }
.tym-final-hero .tfh-line--2 { right: 8%; bottom: 33%; animation-delay: 1.3s; }

/* Dispositivo (marco + pantalla) */
.tym-final-hero .tfh-device {
  position: absolute; left: 50%; top: 50%;
  width: 296px; height: 592px;
  transform: translate(-50%, -50%) rotate(-1.25deg);
  z-index: 20;
  animation: tfh-device 7s ease-in-out infinite;
}
.tym-final-hero .tfh-frame {
  position: relative; height: 100%; padding: 11px; border-radius: 48px;
  background: linear-gradient(135deg, #FFFFFF 0%, #B5C0D0 8%, #4E5967 23%, #151C27 55%, #050810 100%);
  box-shadow:
    0 46px 105px rgba(0,0,0,.46),
    inset 0 1px 0 rgba(255,255,255,.84),
    inset 4px 0 10px rgba(255,255,255,.20);
}
.tym-final-hero .tfh-frame::after {
  content: ""; position: absolute; right: -5px; top: 116px;
  width: 5px; height: 86px; border-radius: 0 12px 12px 0;
  background: linear-gradient(180deg, #C4CCD8, #566273);
}
.tym-final-hero .tfh-frame::before {
  content: ""; position: absolute; left: 22px; right: 22px; bottom: -6px;
  height: 16px; border-radius: 50%; background: rgba(255,255,255,.12); filter: blur(9px);
}
.tym-final-hero .tfh-screen {
  position: relative; height: 100%; border-radius: 38px; overflow: hidden;
  background:
    radial-gradient(circle at 78% 0%, rgba(255,107,0,.12), transparent 30%),
    linear-gradient(180deg, #071B42 0%, #061225 49%, #050D1B 100%);
  border: 1px solid rgba(255,255,255,.105);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.035);
}
.tym-final-hero .tfh-screen::before {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: .42;
  background:
    linear-gradient(115deg, rgba(255,255,255,.15), transparent 30%, transparent 72%, rgba(255,255,255,.04)),
    linear-gradient(rgba(255,255,255,.024) 1px, transparent 1px);
  background-size: 100% 100%, 100% 34px;
}
.tym-final-hero .tfh-notch {
  position: absolute; left: 50%; top: 15px; transform: translateX(-50%);
  width: 98px; height: 28px; border-radius: 999px; z-index: 10;
  background: #020611; box-shadow: inset 0 -1px 0 rgba(255,255,255,.06);
}

/* Header dentro de la pantalla */
.tym-final-hero .tfh-header {
  position: relative; z-index: 5; padding: 56px 20px 13px;
  display: flex; justify-content: space-between; align-items: center;
}
.tym-final-hero .tfh-brand { display: flex; flex-direction: column; line-height: 1; }
.tym-final-hero .tfh-brand strong { color: #fff; font-size: 30px; letter-spacing: -2px; font-weight: 900; }
.tym-final-hero .tfh-brand strong span { color: var(--tfh-orange); }
.tym-final-hero .tfh-brand small { margin-top: 4px; color: #fff; font-size: 8px; letter-spacing: 4px; font-weight: 900; }
.tym-final-hero .tfh-live {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 10px; border-radius: 999px;
  background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.12);
  color: #E6EEF9; font-size: 11px; font-weight: 900; backdrop-filter: blur(10px);
}
.tym-final-hero .tfh-live i {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--tfh-green);
  box-shadow: 0 0 0 0 rgba(34,197,94,.6);
  animation: tfh-pulse 1.8s ease-out infinite;
}

/* Window con scroll auto del feed */
.tym-final-hero .tfh-window {
  position: relative; z-index: 4;
  height: 426px; margin: 0 14px; border-radius: 30px; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 83%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 0%, #000 83%, transparent 100%);
}
.tym-final-hero .tfh-feed { display: grid; gap: 13px; animation: tfh-feed 18s ease-in-out infinite; }

/* Paneles del feed */
.tym-final-hero .tfh-panel {
  min-height: 128px; padding: 15px; border-radius: 22px;
  background: rgba(255,255,255,.955);
  border: 1px solid rgba(255,255,255,.72);
  color: #0B1426; box-shadow: 0 12px 30px rgba(0,0,0,.15);
}
.tym-final-hero .tfh-panel--dark {
  color: #fff;
  background: linear-gradient(145deg, rgba(255,255,255,.13), rgba(255,255,255,.07));
  border: 1px solid rgba(255,255,255,.13);
}
.tym-final-hero .tfh-panel__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 11px; }
.tym-final-hero .tfh-panel__head h4 { margin: 0; font-size: 15px; line-height: 1.2; font-weight: 900; letter-spacing: -.2px; }
.tym-final-hero .tfh-pill {
  display: inline-flex; align-items: center; padding: 6px 8px; border-radius: 999px;
  background: rgba(34,197,94,.12); color: #16A34A;
  font-size: 10px; font-weight: 900; white-space: nowrap;
}
.tym-final-hero .tfh-pill--green { background: rgba(34,197,94,.13); color: #86EFAC; }
.tym-final-hero .tfh-pill--orange { background: rgba(255,107,0,.14); color: #FDBA74; }
.tym-final-hero .tfh-main-num { font-size: 30px; line-height: 1; color: var(--tfh-orange); font-weight: 900; letter-spacing: -1px; }
.tym-final-hero .tfh-main-num--dark { color: #0B1426; font-size: 27px; }
.tym-final-hero .tfh-caption { margin-top: 5px; color: #64748B; font-size: 12px; font-weight: 800; }

/* Barras animadas */
.tym-final-hero .tfh-bars { height: 52px; display: flex; align-items: flex-end; gap: 6px; margin-top: 13px; }
.tym-final-hero .tfh-bars i {
  display: block; flex: 1; border-radius: 8px 8px 3px 3px;
  background: linear-gradient(180deg, #FF9B45, #FF6B00);
  transform-origin: bottom; animation: tfh-bars 2.7s ease-in-out infinite;
}
.tym-final-hero .tfh-bars i:nth-child(even) { background: linear-gradient(180deg, #72B8FF, #1E68E8); animation-delay: .16s; }
.tym-final-hero .tfh-bars i:nth-child(1) { height: 24%; }
.tym-final-hero .tfh-bars i:nth-child(2) { height: 38%; }
.tym-final-hero .tfh-bars i:nth-child(3) { height: 35%; }
.tym-final-hero .tfh-bars i:nth-child(4) { height: 56%; }
.tym-final-hero .tfh-bars i:nth-child(5) { height: 74%; }
.tym-final-hero .tfh-bars i:nth-child(6) { height: 88%; }

/* Visibilidad local con dona */
.tym-final-hero .tfh-visibility { display: grid; grid-template-columns: 1fr 78px; gap: 12px; align-items: center; }
.tym-final-hero .tfh-g {
  width: 34px; height: 34px; border-radius: 50%; margin-bottom: 8px;
  background: conic-gradient(#4285F4 0 25%, #34A853 0 50%, #FBBC05 0 75%, #EA4335 0);
}
.tym-final-hero .tfh-circle {
  width: 78px; height: 78px; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(var(--tfh-blue) 0 78%, #E5E7EB 78% 100%);
  animation: tfh-circle 3.6s ease-in-out infinite;
}
.tym-final-hero .tfh-circle::before {
  content: "78%"; width: 58px; height: 58px; border-radius: 50%;
  background: #fff; color: #0B1426; display: grid; place-items: center;
  font-size: 17px; font-weight: 900;
}

/* Mensajes WhatsApp */
.tym-final-hero .tfh-messages { display: grid; gap: 9px; margin-top: 10px; }
.tym-final-hero .tfh-msg {
  width: fit-content; max-width: 94%; padding: 9px 11px; border-radius: 16px;
  font-size: 12.5px; line-height: 1.35; font-weight: 800;
}
.tym-final-hero .tfh-msg--in { background: #F1F5F9; color: #0F172A; }
.tym-final-hero .tfh-msg--out {
  margin-left: auto; color: #fff;
  background: rgba(34,197,94,.16); border: 1px solid rgba(34,197,94,.28);
}

/* Tareas */
.tym-final-hero .tfh-tasks { display: grid; gap: 8px; margin-top: 9px; }
.tym-final-hero .tfh-task { display: flex; align-items: center; gap: 8px; color: #DCE7F7; font-size: 12.5px; font-weight: 800; }
.tym-final-hero .tfh-task i { position: relative; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,.25); flex: 0 0 auto; }
.tym-final-hero .tfh-task--done i { background: var(--tfh-orange); border-color: var(--tfh-orange); }
.tym-final-hero .tfh-task--done i::after { content: "✓"; position: absolute; left: 2px; top: -1px; font-size: 10px; font-weight: 900; color: #fff; }

/* Stats fijos abajo de la pantalla */
.tym-final-hero .tfh-stats {
  position: absolute; z-index: 5; left: 16px; right: 16px; bottom: 16px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
}
.tym-final-hero .tfh-stat {
  padding: 10px; border-radius: 16px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.70);
  color: #0B1426; box-shadow: 0 8px 18px rgba(0,0,0,.10);
}
.tym-final-hero .tfh-stat small { display: block; color: #64748B; font-size: 9px; font-weight: 900; margin-bottom: 4px; }
.tym-final-hero .tfh-stat strong { display: block; font-size: 16px; font-weight: 900; letter-spacing: -.4px; }

/* Badges flotantes alrededor del teléfono */
.tym-final-hero .tfh-badge {
  position: absolute; z-index: 30; width: 132px; padding: 10px 11px; border-radius: 18px;
  color: #fff;
  background: linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.075));
  border: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 38px rgba(0,0,0,.18);
}
.tym-final-hero .tfh-badge small { display: block; color: #D4DEEC; font-size: 9px; text-transform: uppercase; letter-spacing: .75px; font-weight: 900; margin-bottom: 7px; }
.tym-final-hero .tfh-badge strong { display: block; font-size: 18px; line-height: 1; font-weight: 900; letter-spacing: -.4px; margin-bottom: 6px; }
.tym-final-hero .tfh-badge p { margin: 0; color: #D3DDEC; font-size: 10px; line-height: 1.35; font-weight: 600; }
.tym-final-hero .tfh-meter { height: 4px; margin-top: 9px; border-radius: 999px; background: rgba(255,255,255,.12); overflow: hidden; }
.tym-final-hero .tfh-meter span {
  display: block; height: 100%; border-radius: inherit;
  background: linear-gradient(90deg, var(--tfh-orange), var(--tfh-orange-soft));
  animation: tfh-meter 3.4s ease-in-out infinite;
}
.tym-final-hero .tfh-badge--google  { left: 2%;  top: 22%;     animation: tfh-floatA 8s   ease-in-out infinite; }
.tym-final-hero .tfh-badge--web     { left: 2%;  bottom: 22%;  animation: tfh-floatB 8.4s ease-in-out infinite; }
.tym-final-hero .tfh-badge--ia      { right: 2%; top: 30%;     animation: tfh-floatC 7.6s ease-in-out infinite; }
.tym-final-hero .tfh-badge--leads   { right: 2%; bottom: 23%;  animation: tfh-floatD 8.8s ease-in-out infinite; }
.tym-final-hero .tfh-badge--google strong { color: #7DBBFF; }
.tym-final-hero .tfh-badge--web    strong { color: #FFB074; }
.tym-final-hero .tfh-badge--ia     strong { color: #86EFAC; }
.tym-final-hero .tfh-badge--leads  strong { color: #FFB074; }

/* Animaciones del hero */
@keyframes tfh-halo    { 0%,100% { transform: scale(1);     opacity: .86; } 50% { transform: scale(1.032);  opacity: 1; } }
@keyframes tfh-orbit   { 0%,100% { transform: rotate(-14deg) scale(1); opacity: .72; } 50% { transform: rotate(-11deg) scale(1.018); opacity: 1; } }
@keyframes tfh-shadow  { 0%,100% { transform: translateX(-50%) scale(1);   opacity: .72; } 50% { transform: translateX(-50%) scale(.92); opacity: .55; } }
@keyframes tfh-device  { 0%,100% { transform: translate(-50%,-50%) rotate(-1.25deg) translateY(0); }
                          50%    { transform: translate(-50%,-50%) rotate(-.45deg)  translateY(-11px); } }
@keyframes tfh-pulse   { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.6); } 80%,100% { box-shadow: 0 0 0 10px rgba(34,197,94,0); } }
@keyframes tfh-feed    {
  0%,12%   { transform: translateY(0); }
  20%,33%  { transform: translateY(-141px); }
  42%,55%  { transform: translateY(-282px); }
  64%,77%  { transform: translateY(-423px); }
  86%,100% { transform: translateY(0); }
}
@keyframes tfh-bars    { 0%,100% { transform: scaleY(.82); opacity: .88; } 50% { transform: scaleY(1); opacity: 1; } }
@keyframes tfh-circle  { 0%,100% { transform: scale(.97); } 50% { transform: scale(1.035); } }
@keyframes tfh-meter   { 0%,100% { transform: scaleX(.72); opacity: .82; } 50% { transform: scaleX(1); opacity: 1; } }
@keyframes tfh-floatA  { 0%,100% { transform: translate(0,0); } 50% { transform: translate( 6px,-8px); } }
@keyframes tfh-floatB  { 0%,100% { transform: translate(0,0); } 50% { transform: translate( 8px, 6px); } }
@keyframes tfh-floatC  { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-7px,-9px); } }
@keyframes tfh-floatD  { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-9px, 7px); } }
@keyframes tfh-line    { 0%,100% { transform: rotate(-24deg) translateX(0); opacity: .18; } 50% { transform: rotate(-24deg) translateX(20px); opacity: .58; } }

/* Live ticker — banda inferior del hero */
.ticker {
  position: relative; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  margin-top: 28px; padding: 12px 18px;
  border: 1px solid var(--navy-line); border-radius: 100px;
  background: rgba(14,23,48,.55); backdrop-filter: blur(10px);
  max-width: 100%; width: max-content;
}
.ticker__live {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: #34d36b; flex: none;
}
.ticker__live::before { content:''; width: 7px; height: 7px; border-radius: 50%; background: #34d36b; box-shadow: 0 0 8px #34d36b; animation: blinkLive 1.4s ease-in-out infinite; }
@keyframes blinkLive { 50% { opacity: .35; } }
.ticker__text { font-size: 13.5px; color: #C3CCE0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; flex: 1; min-width: 0; }
.ticker__text b { color: #fff; }
.ticker__text span { display: inline-block; animation: tickerSlide .5s var(--ease); }
@keyframes tickerSlide { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Scroll cue */
.scroll-cue {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  z-index: 2; color: var(--navy-muted); font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  opacity: .8;
}
.scroll-cue__line { width: 1.5px; height: 28px; background: linear-gradient(to bottom, transparent, #93A0BC, transparent); animation: scrollLine 2.2s ease-in-out infinite; }
@keyframes scrollLine { 0%, 100% { transform: scaleY(.4); opacity: .4; } 50% { transform: scaleY(1); opacity: 1; } }

/* logos / trust strip */
.trust { position: relative; z-index: 2; border-top: 1px solid var(--navy-line); margin-top: 56px; }
.trust__row { display: flex; align-items: center; justify-content: center; gap: 18px 36px; flex-wrap: wrap; padding-top: 32px; }
.trust__label { color: var(--navy-muted); font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.trust__logo {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px; border: 1px solid var(--navy-line); border-radius: 12px;
  background: rgba(14,23,48,.4);
  color: #C3CCE0; font-family: var(--font-display); font-weight: 600; font-size: 14.5px;
  transition: border-color .2s, transform .2s, background .2s;
}
.trust__logo:hover { border-color: rgba(255,255,255,.25); transform: translateY(-2px); background: rgba(14,23,48,.7); }
.trust__logo img { height: 24px; width: auto; max-width: 110px; object-fit: contain; opacity: .95; transition: opacity .25s; }
.trust__logo:hover img { opacity: 1; }
.trust__logo svg { width: 22px; height: 22px; color: #fff; opacity: .85; }
.trust__count { color: #fff; font-weight: 700; }
.trust__count i { font-style: normal; color: var(--accent); font-weight: 800; }

/* ============================================================
   MARQUEE — cinta de precios/servicios (derecha → izquierda)
   ============================================================ */
.marquee {
  position: relative; overflow: hidden; width: 100%; max-width: 100%;
  background: linear-gradient(90deg, #070B16, #0E1730 50%, #070B16);
  border-top: 1px solid var(--navy-line);
  border-bottom: 1px solid var(--navy-line);
  padding: 14px 0;
}
/* Degradados de borde con pseudo-elementos (iOS-safe, no rompen el overflow:hidden) */
.marquee::before, .marquee::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 48px; z-index: 2; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, #070B16, transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, #070B16, transparent); }
.marquee__track {
  display: flex; width: max-content;
  animation: marqueeScroll 38s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; flex: none; }
.marquee__item {
  font-family: var(--font-display); font-weight: 500; font-size: 15px;
  color: #C3CCE0; white-space: nowrap; letter-spacing: -.01em;
}
.marquee__item b { color: #fff; font-weight: 700; }
.marquee__item--hot {
  color: #fff; font-weight: 600;
  background: var(--accent); padding: 5px 14px; border-radius: 100px;
  box-shadow: 0 6px 18px -6px rgba(244,83,28,.6);
}
.marquee__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); margin: 0 26px; flex: none; opacity: .9;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (max-width: 680px) {
  .marquee { padding: 11px 0; }
  .marquee__item { font-size: 13.5px; }
  .marquee__dot { margin: 0 16px; }
  .marquee__track { animation-duration: 26s; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; transform: translateX(0); }
}

/* ============================================================
   CARDS GRID — Servicios
   ============================================================ */
.grid { display: grid; gap: 22px; }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 28px;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
  overflow: hidden; transform-style: preserve-3d;
}
.card::before {
  content:''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px 260px at var(--mx, 50%) var(--my, 0%), var(--accent-soft), transparent 55%);
  opacity: 0; transition: opacity .4s;
}
.card::after { content:''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::after { transform: scaleX(1); }
.card:hover::before { opacity: 1; }
.card__ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--paper-2); border: 1px solid var(--line); margin-bottom: 20px; color: var(--accent); transition: background .3s, color .3s, transform .3s; position: relative; z-index: 1; }
.card:hover .card__ic { background: var(--accent); color: #fff; border-color: var(--accent); transform: rotate(-6deg) scale(1.05); }
.card__ic svg { width: 24px; height: 24px; }
.card h3 { font-size: 21px; position: relative; z-index: 1; }
.card p { color: var(--muted); font-size: 15.5px; margin: 10px 0 0; position: relative; z-index: 1; }
.card__price { margin-top: 18px; font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--text); position: relative; z-index: 1; }
.card__price s { color: var(--muted); font-weight: 500; margin-right: 6px; }
.card__link { margin-top: 18px; display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 14.5px; color: var(--accent); position: relative; z-index: 1; }
.card__link svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.card:hover .card__link svg { transform: translateX(6px); }
.card.feat { border-color: var(--accent); box-shadow: 0 18px 50px -22px rgba(244,83,28,.4); }
.card .tag { position: absolute; top: 18px; right: 18px; font-size: 11.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); padding: 5px 10px; border-radius: 100px; z-index: 2; }

/* feature list */
.flist { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 9px; }
.flist li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--text-2); }
.flist li svg { width: 17px; height: 17px; color: var(--accent); flex: none; margin-top: 2px; }
.bg-ink .flist li { color: #C3CCE0; }

/* ============================================================
   PROBLEMA — sección oscura con profundidad
   ============================================================ */
.section--problem { position: relative; overflow: hidden; }
.section--problem .head h2 { color: #fff; }
.section--problem .head p { color: var(--navy-muted); }
.section--problem .head p b { color: #fff; }
.problem__hl {
  background: linear-gradient(100deg, #FF8A4D, #F4531C);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.kicker--alert { color: #FF8A4D; background: rgba(244,83,28,.1); border-color: rgba(244,83,28,.3); }
.kicker--alert .dot { background: #FF8A4D; box-shadow: 0 0 0 4px rgba(244,83,28,.18); animation: blinkLive 1.6s ease-in-out infinite; }
/* glow ambiental */
.problem__glow {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(680px 420px at 85% 8%, rgba(244,83,28,.16), transparent 60%),
    radial-gradient(620px 420px at 8% 100%, rgba(46,143,255,.12), transparent 60%);
}
.section--problem .wrap { position: relative; z-index: 2; }

.prob { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.prob__c {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #121C38 0%, #0E1730 100%);
  border: 1px solid rgba(255,255,255,.08); border-radius: var(--r-lg);
  padding: 28px 26px 26px;
  transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
}
.prob__c::before {
  content:''; position: absolute; left: 0; top: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), #FF7A3D);
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease);
}
.prob__c::after {
  content:''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: radial-gradient(360px 200px at 50% 0%, rgba(244,83,28,.14), transparent 60%);
  opacity: 0; transition: opacity .4s;
}
.prob__c:hover { transform: translateY(-6px); border-color: rgba(244,83,28,.4); box-shadow: 0 26px 60px -28px rgba(0,0,0,.8); }
.prob__c:hover::before { transform: scaleX(1); }
.prob__c:hover::after { opacity: 1; }
.prob__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.prob__n {
  font-family: var(--font-display); font-weight: 700; font-size: 30px; letter-spacing: -.02em;
  background: linear-gradient(180deg, #FF8A4D, #F4531C);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1;
}
.prob__ic {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(244,83,28,.14); color: #FF8A4D; flex: none;
  transition: transform .4s var(--ease), background .3s, color .3s;
}
.prob__ic svg { width: 22px; height: 22px; }
.prob__c:hover .prob__ic { transform: rotate(-8deg) scale(1.08); background: var(--accent); color: #fff; }
.prob__c h4 { font-size: 18.5px; color: #fff; margin: 0 0 8px; }
.prob__c p { color: var(--navy-muted); font-size: 14.5px; margin: 0 0 18px; line-height: 1.55; }
.prob__stat {
  display: inline-flex; align-items: baseline; gap: 7px;
  padding: 8px 13px; border-radius: 100px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  font-size: 13px; color: var(--navy-muted); font-weight: 600;
}
.prob__stat b { font-family: var(--font-display); font-size: 17px; color: #FF8A4D; font-weight: 700; }

/* ============================================================
   IA section (dark)
   ============================================================ */
.ia__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.ia-card {
  position: relative; background: var(--navy-card); border: 1px solid var(--navy-line);
  border-radius: var(--r-lg); padding: 28px 26px;
  transition: transform .35s var(--ease), border-color .35s, background .35s;
  overflow: hidden; isolation: isolate;
}
.ia-card::before {
  content:''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1;
  background: radial-gradient(420px 260px at var(--mx, 50%) var(--my, 0%), rgba(46,143,255,.16), transparent 55%);
  opacity: 0; transition: opacity .4s;
}
.ia-card::after {
  content:''; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--accent), transparent);
  transform: scaleX(0); transform-origin: center; transition: transform .45s var(--ease);
}
.ia-card:hover { transform: translateY(-5px); border-color: rgba(46,143,255,.45); background: #16234B; }
.ia-card:hover::before { opacity: 1; }
.ia-card:hover::after { transform: scaleX(1); }
.ia-card h3 { font-size: 19px; color: #fff; transition: color .25s; }
.ia-card p { color: var(--navy-muted); font-size: 14.5px; margin: 9px 0 0; line-height: 1.5; }
.ia-card__ic {
  width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center;
  background: var(--blue-soft); color: var(--blue); margin-bottom: 18px;
  transition: transform .35s var(--ease), background .25s, color .25s;
}
.ia-card:hover .ia-card__ic { transform: rotate(-6deg) scale(1.08); background: var(--blue); color: #fff; }
.ia-card__ic svg { width: 24px; height: 24px; }

/* Chat bubbles stagger reveal */
.chatmock__body .bub { opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .35s; }
.chatmock.in .bub { opacity: 1; transform: none; }
.chatmock.in .bub:nth-child(1) { transition-delay: .1s; }
.chatmock.in .bub:nth-child(2) { transition-delay: .6s; }
.chatmock.in .bub:nth-child(3) { transition-delay: 1.4s; }
.chatmock.in .bub:nth-child(4) { transition-delay: 2.1s; }
.chatmock.in .bub:nth-child(5) { transition-delay: 2.8s; }
.ia-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-top: 52px; padding-top: 40px; border-top: 1px solid var(--navy-line); }
.ia-stats .n { font-family: var(--font-display); font-weight: 600; font-size: clamp(30px,4vw,44px); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ia-stats .l { color: var(--navy-muted); font-size: 14px; margin-top: 6px; }

/* chat mock */
.chatmock { background: var(--navy-2); border: 1px solid var(--navy-line); border-radius: 24px; padding: 18px; box-shadow: 0 40px 90px -40px rgba(0,0,0,.8); }
.chatmock__top { display: flex; align-items: center; gap: 11px; padding: 4px 6px 16px; border-bottom: 1px solid var(--navy-line); }
.chatmock__av { width: 38px; height: 38px; border-radius: 11px; background: var(--grad); display: grid; place-items: center; font-size: 19px; }
.chatmock__top b { color: #fff; font-size: 15px; display: block; }
.chatmock__top small { color: #34d36b; font-size: 12px; font-weight: 600; }
.chatmock__body { padding: 18px 4px 4px; display: flex; flex-direction: column; gap: 12px; }
.bub { max-width: 82%; padding: 11px 15px; border-radius: 15px; font-size: 14.5px; line-height: 1.45; }
.bub.in { background: var(--navy-card); color: #E9EDF6; border-bottom-left-radius: 5px; align-self: flex-start; }
.bub.out { background: var(--accent); color: #fff; border-bottom-right-radius: 5px; align-self: flex-end; }
.bub.typing { display: inline-flex; gap: 5px; align-self: flex-start; background: var(--navy-card); }
.bub.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--navy-muted); animation: blink 1.2s infinite; }
.bub.typing i:nth-child(2){animation-delay:.2s} .bub.typing i:nth-child(3){animation-delay:.4s}
@keyframes blink { 0%,60%,100%{opacity:.3;transform:translateY(0)} 30%{opacity:1;transform:translateY(-3px)} }

/* ============================================================
   PRICING — Dark theme con cards profundas
   ============================================================ */
.section--pricing { position: relative; overflow: hidden; }
.section--pricing::before {
  content:''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(800px 500px at 20% 0%, rgba(46,143,255,.10), transparent 60%),
    radial-gradient(700px 480px at 100% 100%, rgba(244,83,28,.12), transparent 60%);
}
.section--pricing .wrap { position: relative; z-index: 2; }
.section--pricing .head h2 { color: #fff; max-width: 760px; }
.section--pricing .head p { color: var(--navy-muted); }
.section--pricing .head .kicker { color: #fff; background: rgba(255,255,255,.05); border-color: var(--navy-line); }

.price-toggle {
  display: inline-flex; padding: 5px; background: rgba(14,23,48,.6); backdrop-filter: blur(10px);
  border: 1px solid var(--navy-line); border-radius: 100px; margin: 26px auto 0; gap: 2px;
}
.price-toggle button { border: none; background: transparent; font-family: var(--font-body); font-weight: 700; font-size: 14px; color: var(--navy-muted); padding: 10px 22px; border-radius: 100px; cursor: pointer; transition: .25s; letter-spacing: .01em; }
.price-toggle button:hover { color: #fff; }
.price-toggle button.on { background: var(--accent); color: #fff; box-shadow: 0 8px 22px -6px rgba(244,83,28,.55); }

/* Pricing grid */
.pgrid { display: grid; gap: 22px; }
#pricesUnico.pgrid { grid-template-columns: repeat(4, 1fr); }
#pricesMensual.pgrid, #pricesMantencion.pgrid { grid-template-columns: repeat(3, 1fr); }

.pcard {
  position: relative; background: #0E1730; border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-lg); padding: 28px 26px; display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s, background .35s;
  overflow: hidden;
}
.pcard::before {
  content:''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(540px 280px at var(--mx, 50%) var(--my, 0%), rgba(244,83,28,.16), transparent 55%);
  opacity: 0; transition: opacity .4s;
}
.pcard:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.18); background: #121C38; box-shadow: 0 30px 80px -28px rgba(0,0,0,.8); }
.pcard:hover::before { opacity: 1; }
.pcard.feat {
  border-color: rgba(244,83,28,.6);
  background: linear-gradient(180deg, #1A1428 0%, #0E1730 100%);
  box-shadow: 0 30px 80px -24px rgba(244,83,28,.45), 0 0 0 1px rgba(244,83,28,.25) inset;
}
.pcard.feat::after {
  content:''; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  padding: 1px;
  background: linear-gradient(135deg, rgba(244,83,28,.7), transparent 50%, rgba(244,83,28,.5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.pcard--ultra {
  background: linear-gradient(140deg, #1F1024 0%, #100924 50%, #0A0E22 100%);
}

.pcard__tag {
  align-self: flex-start;
  font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: #fff; background: var(--accent);
  padding: 5px 11px; border-radius: 100px; margin-bottom: 16px;
}
.pcard__tag--blue { background: rgba(46,143,255,.18); color: #6DAFFF; }
.pcard__tag--free { background: rgba(52,211,107,.18); color: #5BE08A; }

.pcard h3 { color: #fff; font-size: 19px; margin-top: 4px; }
.pcard .amt { font-family: var(--font-display); display: flex; align-items: baseline; gap: 6px; margin: 12px 0 12px; }
.pcard .amt .cur {
  font-size: 32px; font-weight: 700; letter-spacing: -.03em; color: var(--accent);
  background: linear-gradient(180deg, #FF8A4D 0%, #F4531C 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.pcard--free .amt .cur, .pcard__tag--free + h3 ~ .amt .cur {
  background: linear-gradient(180deg, #5BE08A 0%, #34d36b 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.pcard .amt .per { color: var(--navy-muted); font-size: 14px; font-weight: 600; font-family: var(--font-body); -webkit-text-fill-color: var(--navy-muted); }
.pcard .desc { color: var(--navy-muted); font-size: 14px; margin: 4px 0 20px; line-height: 1.5; min-height: 60px; }
.pcard .flist { flex: 1; margin-bottom: 22px; }
.pcard .flist li { color: #C3CCE0; font-size: 14px; }
.pcard .flist li svg { color: var(--accent); }
.pcard .btn { margin-top: auto; }

/* Bens row */
.price-bens {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px;
  margin-top: 40px; color: var(--navy-muted); font-size: 13.5px; font-weight: 600;
}
.price-bens span { display: inline-flex; align-items: center; gap: 6px; }
.price-bens svg { width: 14px; height: 14px; color: #34d36b; }

/* ============================================================
   OFFER CARDS (Servicios + Precios + Mantenciones consolidados)
   Diseño con precio anterior tachado + precio actual destacado
   ============================================================ */
.section--offer { padding: 88px 0; }

/* Banner de oferta debajo del head */
.offer-banner {
  display: inline-flex; align-items: flex-start; gap: 12px;
  max-width: 740px; margin: 22px auto 0; padding: 14px 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(244,83,28,.10), rgba(46,143,255,.07));
  border: 1px solid rgba(244,83,28,.28);
  color: #FFD7BD; font-size: 14.5px; line-height: 1.5; text-align: left;
}
.offer-banner__icon {
  width: 30px; height: 30px; border-radius: 9px; flex: none;
  display: grid; place-items: center;
  background: rgba(244,83,28,.20); color: #FFB074;
}
.offer-banner__icon svg { width: 16px; height: 16px; }
.offer-banner b { color: #fff; }
.offer-banner s { color: rgba(255,255,255,.5); }

/* Subhead para mantenciones */
.offer-sub {
  margin-top: 64px; padding-top: 48px; border-top: 1px solid var(--navy-line);
  text-align: center;
}
.offer-sub__title { color: #fff; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.1; letter-spacing: -.02em; margin: 12px 0 14px; font-family: var(--font-display); font-weight: 700; }
.offer-sub__title .g {
  background: linear-gradient(90deg, var(--blue), var(--accent));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.offer-sub__lead { color: var(--navy-muted); font-size: 16.5px; line-height: 1.6; max-width: 720px; margin: 0 auto; }
.offer-sub__lead b { color: #fff; }

/* Grid de cards (3 cols desktop) */
.ogrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* Card individual */
.ocard {
  position: relative;
  display: flex; flex-direction: column;
  padding: 26px 24px;
  border-radius: 22px;
  background: linear-gradient(155deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border: 1px solid var(--navy-line);
  box-shadow: 0 18px 48px rgba(0,0,0,.20);
  transition: transform .3s var(--ease), border-color .3s, background .3s;
  overflow: hidden;
  isolation: isolate;
}
.ocard::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(circle at 88% 0%, rgba(244,83,28,.13), transparent 38%);
  opacity: 0; transition: opacity .3s;
  pointer-events: none;
}
.ocard:hover { transform: translateY(-6px); border-color: rgba(244,83,28,.35); }
.ocard:hover::before { opacity: 1; }

/* Card destacada (oferta principal / recomendada) */
.ocard--feat {
  border-color: rgba(244,83,28,.55);
  background: linear-gradient(155deg, rgba(244,83,28,.07), rgba(46,143,255,.04));
  box-shadow: 0 0 0 1px rgba(244,83,28,.18), 0 24px 70px rgba(244,83,28,.12);
}
.ocard--feat::before { opacity: .6; }

/* Card extra-ancha (Full 360 ocupa toda la fila) */
.ocard--full {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 32px;
  padding: 32px 32px;
}
.ocard--full .ocard__col { display: flex; flex-direction: column; }

/* Tag (badge superior) */
.ocard__tag {
  display: inline-flex; align-items: center;
  align-self: flex-start;
  padding: 6px 11px; margin-bottom: 14px;
  border-radius: 999px;
  background: rgba(244,83,28,.16); color: #FFB074;
  border: 1px solid rgba(244,83,28,.35);
  font-size: 11.5px; font-weight: 800; letter-spacing: .02em;
  text-transform: uppercase;
}
.ocard__tag--blue { background: rgba(46,143,255,.16); color: #7DBBFF; border-color: rgba(46,143,255,.32); }
.ocard__tag--free { background: rgba(52,211,107,.16); color: #5BE08A; border-color: rgba(52,211,107,.32); }

/* Icono de cabecera */
.ocard__ic {
  width: 50px; height: 50px; border-radius: 14px;
  display: grid; place-items: center;
  background: rgba(244,83,28,.13); color: var(--accent);
  border: 1px solid rgba(244,83,28,.35);
  margin-bottom: 14px;
}
.ocard__ic svg { width: 24px; height: 24px; }

/* Título y descripción */
.ocard h3 {
  margin: 0 0 8px; color: #fff;
  font-size: 21px; line-height: 1.2; font-weight: 700;
  font-family: var(--font-display); letter-spacing: -.01em;
}
.ocard p {
  margin: 0; color: var(--navy-muted);
  font-size: 14.5px; line-height: 1.55;
  min-height: 64px;
}
.ocard--full p { min-height: auto; }

/* Bloque precio (antes tachado + ahora destacado) */
.ocard__price {
  display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap;
  margin: 18px 0 14px;
}
.ocard__price--lg { margin: 22px 0 14px; }
.ocard__before {
  color: var(--navy-muted); font-size: 13.5px; font-weight: 700;
}
.ocard__before s { color: #6B7693; }
.ocard__now {
  color: var(--accent); font-size: 30px; line-height: 1;
  font-weight: 800; letter-spacing: -.01em;
  font-family: var(--font-display);
}
.ocard__price--lg .ocard__now { font-size: 38px; }
.ocard__per {
  color: var(--navy-muted); font-size: 14px; font-weight: 600; margin-left: 4px;
  -webkit-text-fill-color: var(--navy-muted);
}
.ocard--feat .ocard__now { color: #FF8E50; }

/* Horas mensuales incluidas (planes de mantención) */
.ocard__hours {
  display: flex; align-items: center; gap: 8px;
  margin: 8px 0 14px; padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  color: #E6EEF9; font-size: 13.5px; font-weight: 700;
}
.ocard__hours b { color: var(--accent); font-weight: 800; }

/* Lista de features dentro de la card */
.ocard .flist { flex: 1; margin: 0 0 22px; padding: 0; list-style: none; display: grid; gap: 8px; }
.ocard .flist li {
  display: flex; align-items: flex-start; gap: 8px;
  color: #C3CCE0; font-size: 14px; line-height: 1.4;
}
.ocard .flist li svg { width: 16px; height: 16px; color: var(--accent); flex: none; margin-top: 2px; }

/* Botón al pie */
.ocard .btn { margin-top: auto; }

/* ============================================================
   PROCESS
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 26px; position: relative; }
/* Línea conectora que se "dibuja" al entrar */
.steps__line { position: absolute; left: 8%; right: 8%; top: 32px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.steps__line-fill { position: absolute; inset: 0; width: 0; background: var(--grad); transition: width 1.6s var(--ease) .2s; }
.steps.in .steps__line-fill { width: 100%; }

.step { position: relative; padding-top: 4px; }
.step__node {
  position: relative; width: 66px; height: 66px; margin-bottom: 20px;
  display: grid; place-items: center; border-radius: 20px;
  background: var(--paper); border: 1px solid var(--line); color: var(--accent);
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), background .3s, color .3s, border-color .3s, box-shadow .4s;
  z-index: 1;
}
.step__node svg { width: 28px; height: 28px; position: relative; z-index: 1; }
/* anillo pulsante alrededor del nodo */
.step__ring { position: absolute; inset: 0; border-radius: 20px; border: 2px solid var(--accent); opacity: 0; }
.steps.in .step__ring { animation: stepPulse 2.6s ease-out infinite; }
.steps.in .step:nth-child(2) .step__ring { animation-delay: .5s; }
.steps.in .step:nth-child(3) .step__ring { animation-delay: 1s; }
.steps.in .step:nth-child(4) .step__ring { animation-delay: 1.5s; }
@keyframes stepPulse { 0% { opacity: .5; transform: scale(1); } 70%,100% { opacity: 0; transform: scale(1.35); } }
.step:hover .step__node { transform: translateY(-6px) rotate(-4deg); background: var(--accent); color: #fff; border-color: var(--accent); box-shadow: var(--shadow-accent); }
.step__num { font-family: var(--font-display); font-weight: 700; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.step h4 { font-size: 18.5px; margin: 8px 0 0; transition: color .25s; }
.step:hover h4 { color: var(--accent); }
.step p { color: var(--muted); font-size: 14.5px; margin: 9px 0 0; line-height: 1.55; }
/* entrada escalonada de cada paso */
.steps.in .step { animation: stepIn .7s var(--ease) both; }
.steps.in .step:nth-child(2) { animation-delay: .12s; }
.steps.in .step:nth-child(3) { animation-delay: .24s; }
.steps.in .step:nth-child(4) { animation-delay: .36s; }
@keyframes stepIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* ============================================================
   WHY / comparison
   ============================================================ */
.why__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }
.why__list { display: grid; gap: 16px; }
.why__item {
  display: flex; gap: 16px; padding: 22px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
  position: relative; overflow: hidden;
}
.why__item::before {
  content:''; position: absolute; left: 0; top: 0; width: 3px; height: 100%;
  background: var(--grad); transform: scaleY(0); transform-origin: top;
  transition: transform .35s var(--ease);
}
.why__item:hover { border-color: var(--accent); transform: translateX(6px); box-shadow: 0 12px 32px -18px rgba(244,83,28,.4); }
.why__item:hover::before { transform: scaleY(1); }
.why__item .ic {
  width: 48px; height: 48px; flex: none; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center;
  transition: transform .35s var(--ease), background .25s, color .25s;
}
.why__item:hover .ic { transform: rotate(-8deg) scale(1.08); background: var(--accent); color: #fff; }
.why__item .ic svg { width: 22px; height: 22px; }
.why__item h4 { font-size: 17px; transition: color .25s; }
.why__item:hover h4 { color: var(--accent); }
.why__item p { color: var(--muted); font-size: 14.5px; margin: 6px 0 0; }
.compare { background: var(--ink); color: var(--navy-text); border-radius: var(--r-lg); padding: 30px; }
.compare h3 { color: #fff; font-size: 20px; margin-bottom: 20px; }
.compare table { width: 100%; border-collapse: collapse; }
.compare th, .compare td { padding: 13px 8px; text-align: left; font-size: 14.5px; border-bottom: 1px solid var(--navy-line); }
.compare th { color: var(--navy-muted); font-weight: 600; font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; }
.compare th:not(:first-child), .compare td:not(:first-child) { text-align: center; width: 22%; }
.compare td:first-child { color: #D7DEEC; }
.compare .yes { color: #34d36b; } .compare .no { color: #56617a; }
.compare .col-tym { color: #fff; font-weight: 700; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.tcard {
  position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px 28px; display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
  overflow: hidden;
}
.tcard::before {
  content: '\201C'; position: absolute; top: -18px; right: 16px;
  font-family: 'Space Grotesk', serif; font-size: 130px; font-weight: 700;
  color: var(--accent-soft); line-height: 1; pointer-events: none; opacity: .8;
}
.tcard:hover { box-shadow: var(--shadow); transform: translateY(-5px); border-color: rgba(244,83,28,.3); }
.tcard__stars { color: var(--accent); letter-spacing: 2px; font-size: 15px; position: relative; z-index: 1; }
.tcard p { font-size: 16px; color: var(--text); margin: 16px 0 24px; flex: 1; line-height: 1.65; position: relative; z-index: 1; }
.tcard__who { display: flex; align-items: center; gap: 13px; padding-top: 20px; border-top: 1px solid var(--line); position: relative; z-index: 1; }
.tcard__av {
  width: 50px; height: 50px; border-radius: 14px; background: var(--grad);
  display: grid; place-items: center; color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  position: relative; flex: none;
  box-shadow: 0 8px 22px -8px rgba(244,83,28,.55);
}
.tcard__av svg { width: 24px; height: 24px; }
.tcard__who b { display: block; font-size: 15px; } .tcard__who small { color: var(--muted); font-size: 13px; }
.tcard__tag { align-self: flex-start; font-size: 12px; font-weight: 700; color: var(--blue); background: var(--blue-soft); padding: 5px 11px; border-radius: 100px; margin-bottom: 4px; position: relative; z-index: 1; }

/* ============================================================
   CTA / AUDIT
   ============================================================ */
.audit { position: relative; background: var(--navy); color: var(--navy-text); border-radius: 28px; overflow: hidden; }
.audit::before { content:''; position: absolute; inset: 0; background: radial-gradient(700px 400px at 12% 10%, rgba(46,143,255,.2), transparent 60%), radial-gradient(700px 460px at 95% 100%, rgba(244,83,28,.22), transparent 60%); }
.audit__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: clamp(36px,5vw,64px); align-items: center; }
.audit__inner > * { min-width: 0; }
.audit h2 { color: #fff; font-size: clamp(28px,3.6vw,44px); }
.audit p { color: #C3CCE0; margin: 18px 0 24px; font-size: 17px; }
.form { background: var(--paper); border-radius: var(--r-lg); padding: 30px; box-shadow: 0 40px 90px -30px rgba(0,0,0,.5); }
.form h3 { font-size: 21px; color: var(--text); }
.form .sub { color: var(--muted); font-size: 14.5px; margin: 6px 0 22px; }
.field { margin-bottom: 14px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field label { display: block; font-size: 13px; font-weight: 700; color: var(--text-2); margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; max-width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 11px; font-family: var(--font-body); font-size: 15px; color: var(--text); background: var(--paper-2); transition: border-color .15s, box-shadow .15s, background .15s; }
.field textarea { resize: vertical; min-height: 78px; line-height: 1.5; }
.field select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2369748C' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center; background-size: 16px; padding-right: 38px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px var(--accent-soft); }
@media (max-width: 460px) { .field-row { grid-template-columns: 1fr; gap: 0; } }
.form__note { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 12.5px; margin-top: 12px; justify-content: center; text-align: center; }
/* Honeypot oculto SIN desbordar (no usar left negativo: rompe móvil) */
.hp { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.form__status { margin-top: 12px; padding: 0; font-size: 14px; font-weight: 600; text-align: center; min-height: 18px; transition: color .2s; }
.form__status--ok { color: #19a64a; }
.form__status--err { color: #B5302E; }
.btn__spin { display: none; width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: spin 1s linear infinite; }
.btn.is-loading .btn__label { opacity: .6; }
.btn.is-loading .btn__spin { display: inline-block; }
.audit__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.audit__list li { display: flex; gap: 12px; align-items: center; color: #E9EDF6; font-size: 15.5px; }
.audit__list li svg { width: 20px; height: 20px; color: #34d36b; flex: none; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { max-width: 820px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 24px 48px 24px 0; position: relative; font-family: var(--font-display); font-weight: 600; font-size: 18.5px; color: var(--text); letter-spacing: -.01em; }
.faq__q::after { content:'+'; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; color: var(--accent); transition: transform .3s; font-family: var(--font-body); }
.faq__item.open .faq__q::after { transform: translateY(-50%) rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .35s cubic-bezier(.4,0,.2,1); }
.faq__a p { color: var(--muted); font-size: 15.5px; margin: 0 0 24px; padding-right: 40px; }
.faq__a b { color: var(--text); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink); color: var(--navy-muted); padding: 72px 0 36px; }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid var(--navy-line); }
.footer .brand { color: #fff; margin-bottom: 16px; }
.footer__top p { font-size: 14.5px; max-width: 300px; line-height: 1.6; }
.footer h5 { color: #fff; font-family: var(--font-display); font-size: 14px; letter-spacing: .04em; text-transform: uppercase; margin: 0 0 18px; }
.footer__col a { display: block; font-size: 14.5px; padding: 5px 0; color: var(--navy-muted); transition: color .15s; }
.footer__col a:hover { color: #fff; }
.footer__social { display: flex; gap: 10px; margin-top: 18px; }
.footer__social a { width: 40px; height: 40px; border-radius: 11px; border: 1px solid var(--navy-line); display: grid; place-items: center; color: #fff; transition: .2s; }
.footer__social a:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.footer__social svg { width: 18px; height: 18px; }
.footer__bot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 26px; font-size: 13px; }
.footer__badges { display: flex; gap: 18px; flex-wrap: wrap; }
.footer__badges span { display: inline-flex; align-items: center; gap: 6px; }
.footer__badges svg { width: 14px; height: 14px; color: var(--accent); }

/* floating WhatsApp */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 60px; height: 60px; border-radius: 50%; background: #1FB855; display: grid; place-items: center; box-shadow: 0 14px 34px -8px rgba(31,184,85,.6); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; color: #fff; }
.wa-float::before { content:''; position: absolute; inset: 0; border-radius: 50%; background: #1FB855; animation: pulse 2.4s ease-out infinite; z-index: -1; }
@keyframes pulse { 0%{transform:scale(1);opacity:.6} 100%{transform:scale(1.7);opacity:0} }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0; transform: translateY(34px) scale(.985);
  filter: blur(6px);
  transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s ease;
  will-change: opacity, transform, filter;
}
.reveal.in { opacity: 1; transform: none; filter: blur(0); }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
/* Variantes direccionales: entran desde un lado / escalando */
.reveal--left  { transform: translateX(-52px) scale(.99); }
.reveal--right { transform: translateX(52px) scale(.99); }
.reveal--scale { transform: scale(.9); }
.reveal--up    { transform: translateY(56px); }
.reveal--left.in, .reveal--right.in, .reveal--scale.in, .reveal--up.in { transform: none; }
/* Stagger automático para hijos de un grupo revelado (cards) */
.stagger.in > * { animation: staggerIn .7s var(--ease) both; }
.stagger.in > *:nth-child(1){animation-delay:.04s} .stagger.in > *:nth-child(2){animation-delay:.12s}
.stagger.in > *:nth-child(3){animation-delay:.20s} .stagger.in > *:nth-child(4){animation-delay:.28s}
.stagger.in > *:nth-child(5){animation-delay:.36s} .stagger.in > *:nth-child(6){animation-delay:.44s}
.stagger.in > *:nth-child(7){animation-delay:.52s} .stagger.in > *:nth-child(8){animation-delay:.60s}
@keyframes staggerIn { from { opacity: 0; transform: translateY(30px) scale(.97); filter: blur(5px); } to { opacity: 1; transform: none; filter: blur(0); } }

/* Barra de progreso de scroll */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%; z-index: 200;
  background: var(--grad); box-shadow: 0 0 12px rgba(244,83,28,.6);
  transition: width .1s linear;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; filter: none; }
  .stagger.in > * { animation: none; }
  .tym-final-hero *,
  .tym-final-hero *::before,
  .tym-final-hero *::after { animation: none !important; }
  .scroll-progress { display: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { order: -1; max-width: 380px; margin: 0 auto; }
  .ia__grid, .audit__inner, .why__grid { grid-template-columns: 1fr; gap: 36px; }
  .g-4 { grid-template-columns: repeat(2,1fr); }
  .ogrid { grid-template-columns: repeat(2,1fr); }
  .ocard--full { grid-template-columns: 1fr; gap: 18px; }
  .steps { grid-template-columns: repeat(2,1fr); gap: 36px 26px; }
  .steps__line { display: none; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .step:nth-child(2) .step__bar::after { display: none; } /* arrow no aplica entre filas */
}
@media (max-width: 820px) {
  .nav__links, .nav__cta .btn-ghost, .nav__cta .btn-wa, .nav__cta .btn-primary { display: none; }
  .nav__burger { display: flex; }
  .nav__menu { position: fixed; inset: 74px 0 auto 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 14px var(--gut) 22px; display: none; flex-direction: column; gap: 4px; box-shadow: var(--shadow); }
  .nav.open .nav__menu { display: flex; }
  .nav__menu a { padding: 13px 12px; border-radius: 10px; font-weight: 600; color: var(--text); }
  .nav__menu a:hover { background: var(--paper-2); }
  .nav__menu .btn { margin-top: 8px; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .g-3, .g-2, .prob, .ia-stats, .g-4 { grid-template-columns: 1fr; }
  #pricesUnico.pgrid, #pricesMensual.pgrid, #pricesMantencion.pgrid { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: repeat(2,1fr); gap: 22px 0; }
  .hero__stats .s + .s { border-left: none; padding-left: 0; }
  .hero__stats .s:nth-child(2) { border-left: 1px solid var(--navy-line); padding-left: 22px; }
  .ia-stats { gap: 26px; }
  .steps { grid-template-columns: 1fr; }
  .step__bar::after { display: none; }
  .footer__top { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  /* En móvil: teléfono premium compacto. Aspect-ratio calculada para que
     el container sea siempre MÁS ALTO que el device (evita desbordes en
     iPhone 13, SE, Pixel y similares). */
  .hero__visual { display: grid; order: -1; width: 100%; max-width: 100%; margin: 0 auto 4px; aspect-ratio: auto; }
  .tym-final-hero { width: 100%; max-width: 420px; aspect-ratio: .65 / 1; }
  .tym-final-hero .tfh-device { width: 230px; height: 460px; }
  .tym-final-hero .tfh-window { height: 332px; }
  .tym-final-hero .tfh-panel { min-height: 110px; padding: 12px; }
  .tym-final-hero .tfh-panel__head h4 { font-size: 13px; }
  .tym-final-hero .tfh-main-num { font-size: 26px; }
  .tym-final-hero .tfh-main-num--dark { font-size: 22px; }
  .tym-final-hero .tfh-stats { display: none; }
  .tym-final-hero .tfh-badge { width: 112px; padding: 9px 10px; }
  .tym-final-hero .tfh-badge strong { font-size: 16px; }
  .tym-final-hero .tfh-badge p { font-size: 9.3px; }
  .tym-final-hero .tfh-badge small { font-size: 8.5px; }
  .tym-final-hero .tfh-badge--google,
  .tym-final-hero .tfh-badge--web   { left: 0; }
  .tym-final-hero .tfh-badge--ia,
  .tym-final-hero .tfh-badge--leads { right: 0; }
  .tym-final-hero .tfh-line { display: none; }
  .hero__inner { gap: 16px; }
  .orb { opacity: .55; }
  .hero__badge { font-size: 12px; padding: 8px 12px; flex-wrap: wrap; gap: 6px; }
  .hero__badge s { display: none; }
  .scroll-cue { display: none; }
  .ticker { font-size: 12px; padding: 10px 14px; max-width: 100%; width: 100%; }
  .ticker__text { font-size: 12.5px; }
  .trust__row { gap: 12px 18px; }
  .trust__logo { font-size: 13px; padding: 6px 10px; }
  .price-toggle button { padding: 8px 14px; font-size: 13px; }
  .pcard { padding: 24px 22px; }
  .pcard .amt .cur { font-size: 28px; }
  .ogrid { grid-template-columns: 1fr; }
  .ocard { padding: 22px 20px; }
  .ocard__now { font-size: 26px; }
  .ocard p { min-height: auto; }
  .ocard--full { padding: 24px 22px; }
  .ocard__price--lg .ocard__now { font-size: 32px; }
  .offer-banner { font-size: 13.5px; padding: 12px 14px; }
  .offer-sub { margin-top: 48px; padding-top: 36px; }
  .audit__inner { padding: 28px 22px; }
  .form { padding: 22px 18px; }
  .wa-float { width: 54px; height: 54px; bottom: 16px; right: 16px; }
  .wa-float svg { width: 26px; height: 26px; }
}
@media (max-width: 460px) {
  :root { --gut: 18px; }
  .head h2 { font-size: clamp(26px, 7.5vw, 34px); }
  .hero h1 { font-size: clamp(30px, 8vw, 40px); line-height: 1.1; }
  .hero__sub { font-size: 15.5px; }
  .nav__inner { gap: 8px; height: 66px; }
  .brand { font-size: 17px; margin-right: 0; }
  .brand img { width: 36px; height: 36px; }
  .nav__cta .btn-primary { padding: 11px 16px; font-size: 14px; }
  .nav__burger { width: 40px; height: 40px; }
  .price-toggle { flex-wrap: wrap; gap: 4px; }
  .price-toggle button { flex: 1; min-width: 100px; padding: 8px 12px; font-size: 12.5px; }
  .trust__row { gap: 8px 14px; }
  .trust__label { width: 100%; text-align: center; }
  .hero__cta .btn { width: 100%; justify-content: center; }

  /* Hero teléfono en phones estándar (iPhone 13, SE, Pixel 5/6): aún
     más compacto para evitar que el device se desborde del container. */
  .tym-final-hero { aspect-ratio: .6 / 1; }
  .tym-final-hero .tfh-device { width: 200px; height: 400px; }
  .tym-final-hero .tfh-window { height: 282px; }
  .tym-final-hero .tfh-panel { min-height: 96px; padding: 11px; }
  .tym-final-hero .tfh-main-num { font-size: 22px; }
  .tym-final-hero .tfh-main-num--dark { font-size: 19px; }
  .tym-final-hero .tfh-circle { width: 64px; height: 64px; }
  .tym-final-hero .tfh-circle::before { width: 48px; height: 48px; font-size: 14px; }
  .tym-final-hero .tfh-bars { height: 44px; }
  .tym-final-hero .tfh-badge { width: 102px; padding: 8px 9px; }
  .tym-final-hero .tfh-badge strong { font-size: 15px; }
  .tym-final-hero .tfh-badge p { font-size: 8.6px; }
  .tym-final-hero .tfh-badge small { font-size: 8px; letter-spacing: .5px; margin-bottom: 5px; }
  .tym-final-hero .tfh-meter { margin-top: 6px; }
  /* re-coordina el feed para los nuevos altos de paneles */
  .tym-final-hero .tfh-feed { gap: 11px; }
}

@media (max-width: 360px) {
  /* iPhone SE 1st gen y phones muy estrechos */
  .tym-final-hero { aspect-ratio: .58 / 1; }
  .tym-final-hero .tfh-device { width: 188px; height: 376px; }
  .tym-final-hero .tfh-window { height: 264px; }
  .tym-final-hero .tfh-badge { width: 94px; }
  .tym-final-hero .tfh-badge strong { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .orb, .hero-lottie__glow, .hero__badge .pulse, .hero h1 .g, .chip, .ticker__live::before, .scroll-cue__line { animation: none !important; }
}

/* ============================================================
   BLOG
   ============================================================ */
.blog-hero {
  position: relative; background: var(--navy); color: var(--navy-text);
  padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 6vw, 72px); overflow: hidden; isolation: isolate;
}
.blog-hero::before {
  content:''; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(700px 440px at 80% 10%, rgba(46,143,255,.16), transparent 60%),
    radial-gradient(640px 440px at 12% 100%, rgba(244,83,28,.16), transparent 60%),
    linear-gradient(180deg, #0B1224 0%, #070B16 100%);
}
.blog-hero__grid {
  position: absolute; inset: 0; z-index: 0; opacity: .45;
  background-image: linear-gradient(var(--navy-line) 1px, transparent 1px), linear-gradient(90deg, var(--navy-line) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 70%);
}
.blog-hero .wrap { position: relative; z-index: 2; }
.blog-hero h1 { font-size: clamp(34px, 5.4vw, 58px); max-width: 760px; letter-spacing: -.03em; }
.blog-hero h1 .g { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.blog-hero p { color: #C3CCE0; font-size: clamp(17px, 1.8vw, 20px); margin: 20px 0 0; max-width: 560px; }

/* Grid de posts */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.posts--feature { grid-template-columns: 1.4fr 1fr; gap: 26px; margin-bottom: 26px; }
.post {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
}
.post:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(244,83,28,.3); }
.post__img { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--navy); }
.post--big .post__img { aspect-ratio: 16/10; }
.post__img::after { content:''; position: absolute; inset: 0; background: linear-gradient(160deg, transparent 40%, rgba(7,11,22,.5)); }
.post__cat {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: #fff; background: var(--accent); padding: 6px 12px; border-radius: 100px;
}
.post__art {
  position: absolute; inset: 0; display: grid; place-items: center; color: #fff;
  background-size: cover; background-position: center;
  transition: transform .7s var(--ease);
}
.post:hover .post__art { transform: scale(1.06); }
.post__body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post--big .post__body { padding: 30px; }
.post__meta { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.post__meta span { display: inline-flex; align-items: center; gap: 5px; }
.post__meta svg { width: 14px; height: 14px; color: var(--accent); }
.post h2, .post h3 { letter-spacing: -.02em; }
.post--big h2 { font-size: clamp(24px, 2.6vw, 32px); }
.post h3 { font-size: 19px; }
.post p { color: var(--muted); font-size: 15px; margin: 12px 0 0; flex: 1; line-height: 1.55; }
.post__link { margin-top: 20px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14.5px; color: var(--accent); }
.post__link svg { width: 16px; height: 16px; transition: transform .25s; }
.post:hover .post__link svg { transform: translateX(5px); }

/* Fotos reales (licencia libre) + overlay de gradiente de marca para cohesión */
.art-seo { background-image: linear-gradient(150deg, rgba(46,143,255,.45), rgba(10,16,32,.62)), url(assets/blog/seo-local.jpg); }
.art-bot { background-image: linear-gradient(150deg, rgba(31,184,85,.42), rgba(10,16,32,.62)), url(assets/blog/chatbot-ia.jpg); }
.art-web { background-image: linear-gradient(150deg, rgba(107,107,255,.45), rgba(10,16,32,.62)), url(assets/blog/web-costo.jpg); }
.art-gbp { background-image: linear-gradient(150deg, rgba(244,83,28,.45), rgba(10,16,32,.62)), url(assets/blog/google-business.jpg); }
.art-seo, .art-bot, .art-web, .art-gbp { background-size: cover; background-position: center; }
/* Icono temático sobre la foto, con disco translúcido para legibilidad */
.post__art-ic {
  width: 62px; height: 62px; padding: 15px; border-radius: 50%;
  background: rgba(10,16,32,.42); backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.22);
  opacity: .97; position: relative; z-index: 1;
  box-shadow: 0 8px 24px rgba(0,0,0,.45);
}
.post__art-ic svg { width: 100%; height: 100%; }

/* ===== Artículo individual ===== */
.article { max-width: 760px; margin: 0 auto; padding: clamp(40px, 6vw, 72px) var(--gut) 0; }
.article__back { display: inline-flex; align-items: center; gap: 7px; color: var(--accent); font-weight: 700; font-size: 14px; margin-bottom: 28px; }
.article__back svg { width: 16px; height: 16px; }
.article__cat { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); padding: 6px 13px; border-radius: 100px; margin-bottom: 18px; }
.article h1 { font-size: clamp(30px, 4.6vw, 48px); letter-spacing: -.03em; line-height: 1.08; }
.article__meta { display: flex; align-items: center; gap: 16px; color: var(--muted); font-size: 14px; font-weight: 600; margin: 22px 0 0; padding-bottom: 28px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.article__meta span { display: inline-flex; align-items: center; gap: 6px; }
.article__meta svg { width: 15px; height: 15px; color: var(--accent); }
.article__cover { aspect-ratio: 16/8; border-radius: var(--r-lg); margin: 32px 0; display: grid; place-items: center; overflow: hidden; background-size: cover; background-position: center; }
.article__cover .post__art-ic { width: 84px; height: 84px; padding: 20px; }
.article__body { font-size: 17.5px; line-height: 1.75; color: var(--text-2); }
.article__body h2 { font-size: clamp(24px, 3vw, 32px); margin: 44px 0 16px; color: var(--text); letter-spacing: -.02em; }
.article__body h3 { font-size: 21px; margin: 32px 0 12px; color: var(--text); }
.article__body p { margin: 0 0 20px; }
.article__body a { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.article__body ul, .article__body ol { margin: 0 0 22px; padding-left: 4px; list-style: none; }
.article__body ul li, .article__body ol li { position: relative; padding-left: 30px; margin-bottom: 12px; }
.article__body ul li::before {
  content:''; position: absolute; left: 0; top: 9px; width: 16px; height: 16px;
  background: var(--accent-soft); border-radius: 5px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F4531C' stroke-width='3'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 12px; background-repeat: no-repeat; background-position: center;
}
.article__body ol { counter-reset: ol; }
.article__body ol li::before { counter-increment: ol; content: counter(ol); position: absolute; left: 0; top: 1px; width: 22px; height: 22px; background: var(--accent); color: #fff; border-radius: 7px; font-size: 12px; font-weight: 800; display: grid; place-items: center; font-family: var(--font-display); }
.article__body strong { color: var(--text); font-weight: 700; }
.article__body blockquote {
  margin: 28px 0; padding: 20px 24px; border-left: 4px solid var(--accent);
  background: var(--paper-2); border-radius: 0 12px 12px 0; font-size: 18px; color: var(--text);
}
.article__body blockquote p { margin: 0; }
.callout {
  margin: 32px 0; padding: 24px 26px; border-radius: var(--r-lg);
  background: var(--navy); color: var(--navy-text); position: relative; overflow: hidden;
}
.callout::before { content:''; position: absolute; inset: 0; background: radial-gradient(500px 300px at 90% 10%, rgba(244,83,28,.2), transparent 60%); }
.callout > * { position: relative; z-index: 1; }
.callout h3 { color: #fff; font-size: 21px; margin: 0 0 8px; }
.callout p { color: #C3CCE0; margin: 0 0 18px; font-size: 15.5px; }
.toc {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r);
  padding: 22px 24px; margin: 28px 0 36px;
}
.toc strong { display: block; font-family: var(--font-display); font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 12px; }
.toc ol { margin: 0; }
.toc a { color: var(--text-2); }
.toc a:hover { color: var(--accent); }

.article__share { display: flex; align-items: center; gap: 12px; margin: 44px 0; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.article__share span { font-weight: 700; color: var(--text-2); font-size: 14px; }
.article__share a { width: 40px; height: 40px; border-radius: 11px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--text-2); transition: .2s; }
.article__share a:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-2px); }
.article__share svg { width: 18px; height: 18px; }

/* Related */
.related { margin-top: 12px; }
.related h2 { font-size: 26px; margin-bottom: 24px; }

@media (max-width: 900px) {
  .posts { grid-template-columns: repeat(2, 1fr); }
  .posts--feature { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .posts { grid-template-columns: 1fr; }
  .article__body { font-size: 16.5px; }
}
