/* ============================================================
   CLAUMY — Sistema de diseño
   Paleta roja profunda + neutros sobre blanco. Editorial minimal.
   ============================================================ */

:root {
  /* Marca */
  --red: #7A0A18;          /* Rojo principal */
  --red-deep: #4A0610;     /* Rojo oscuro */
  --red-bright: #A8121F;   /* Rojo vivo para hovers */
  --ink: #111111;          /* Negro ébano */
  --anthracite: #2B2B2B;   /* Gris antracita */
  --white: #FFFFFF;
  --smoke: #F5F5F5;        /* Gris muy claro */

  /* Derivados */
  --paper: #FBFAF9;        /* blanco cálido de fondo */
  --line: rgba(17,17,17,0.10);
  --line-soft: rgba(17,17,17,0.06);
  --muted: #6B6663;        /* texto secundario */
  --red-tint: color-mix(in srgb, var(--red) 7%, white);
  --red-wash: color-mix(in srgb, var(--red) 4%, white);

  /* Tipografía */
  --font-display: 'Rethink Sans', system-ui, sans-serif;
  --font-sans: 'Roboto', system-ui, sans-serif;
  --font-mono: 'Lexend', system-ui, sans-serif;

  /* Layout */
  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 18px;
  --radius-sm: 12px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --motion: 1; /* escalable por tweaks */
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--red); color: #fff; }

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- Tipografía base ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--red);
  display: inline-block;
}
.eyebrow.no-line::before { display: none; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; }

.display {
  font-family: var(--font-display);
  font-size: clamp(44px, 8.5vw, 116px);
  font-weight: 800;
  line-height: 0.96;
  letter-spacing: -0.03em;
}
.display em { font-style: italic; color: var(--red); }

h2.section-title {
  font-size: clamp(34px, 5.5vw, 68px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.025em;
  max-width: 16ch;
}
h2.section-title em { font-style: italic; color: var(--red); }

.lead {
  font-size: clamp(18px, 2.1vw, 23px);
  line-height: 1.5;
  color: var(--anthracite);
  font-weight: 400;
  max-width: 56ch;
  text-wrap: pretty;
}

.kicker { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }

/* ---------- Layout helpers ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 8vw, 120px); position: relative; }
.section--smoke { background: var(--smoke); }
.section--ink { background: var(--ink); color: #fff; }
.divider { height: 1px; background: var(--line); border: 0; }

/* ============================================================
   INTRO / PRELOADER (cinematográfica, solo logo)
   ============================================================ */
#intro {
  position: fixed; inset: 0; z-index: 9999;
  background: radial-gradient(ellipse 75% 70% at 50% 44%, #1c0608 0%, #0b0a0a 68%);
  display: grid; place-items: center; overflow: hidden;
}
#introCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }
#intro .intro-core { position: relative; display: grid; place-items: center; }
#intro .intro-glow {
  position: absolute; width: clamp(240px, 38vw, 380px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(168,18,31,0.5), transparent 62%);
  filter: blur(22px); animation: introPulse 2.4s ease-in-out infinite;
}
#intro .intro-ring {
  position: absolute; width: clamp(120px, 18vw, 170px); aspect-ratio: 1; border-radius: 50%;
  border: 1px solid rgba(205,32,46,0.45);
  animation: introRing 1.8s var(--ease) 0.3s infinite;
}
#intro .intro-logo {
  position: relative; width: clamp(82px, 13vw, 124px); height: auto; object-fit: contain;
  transform: scale(0.35); opacity: 0;
  animation: introLogo 1.05s var(--ease) 0.1s forwards;
  filter: drop-shadow(0 10px 34px rgba(168,18,31,0.55));
}
@keyframes introLogo { 0% { transform: scale(0.35) rotate(-16deg); opacity: 0; } 55% { opacity: 1; } 100% { transform: scale(1) rotate(0); opacity: 1; } }
@keyframes introPulse { 0%,100% { transform: scale(0.82); opacity: .55; } 50% { transform: scale(1.12); opacity: 1; } }
@keyframes introRing { 0% { transform: scale(0.65); opacity: 0; } 35% { opacity: .85; } 100% { transform: scale(1.9); opacity: 0; } }
body.intro-done #intro { animation: introOut 0.8s var(--ease) forwards; }
@keyframes introOut { to { transform: translateY(-100%); pointer-events: none; } }
body.intro-active { overflow: hidden; }

.intro-skip {
  position: fixed; bottom: 24px; right: 24px; z-index: 10000;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.55); padding: 8px 16px; border: 1px solid rgba(255,255,255,0.2); border-radius: 999px;
  transition: color .3s, border-color .3s, background .3s;
}
.intro-skip:hover { color: #fff; border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.06); }
body.intro-done .intro-skip { display: none; }

/* Barra de progreso de scroll */
#scrollProg {
  position: fixed; top: 0; left: 15%; right: 0; height: 3px; z-index: 950;
  background: linear-gradient(90deg, var(--red), var(--red-bright));
  transform: scaleX(0); transform-origin: left;
  opacity: 0; transition: opacity .4s;
}
body.intro-done #scrollProg { opacity: 1; }

/* ============================================================
   HUD — isla flotante de navegación
   ============================================================ */
.hud {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%);
  z-index: 900;
  display: flex; align-items: center; gap: 5px;
  padding: 5px 5px 5px 12px;
  background: color-mix(in srgb, var(--white) 80%, transparent);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  box-shadow: 0 10px 36px -16px rgba(17,17,17,0.3), 0 1px 0 rgba(255,255,255,0.6) inset;
}
.hud .brand { display: flex; align-items: center; gap: 8px; padding-right: 4px; }
.hud .logo-word { transition: max-width .55s var(--ease), opacity .4s var(--ease), margin .4s var(--ease); white-space: nowrap; overflow: hidden; max-width: 120px; }
.hud-links { display: flex; align-items: center; gap: 2px; }
.hud-links, .hud .lang, .hud-sep { transition: max-width .55s var(--ease), opacity .4s var(--ease), margin .4s, padding .4s; overflow: hidden; white-space: nowrap; }
.hud-links a {
  font-size: 13.5px; font-weight: 500; color: var(--anthracite);
  padding: 7px 12px; border-radius: 999px; transition: background .25s, color .25s;
  letter-spacing: -0.01em;
}
.hud-links a:hover { background: var(--smoke); color: var(--ink); }
.hud-sep { width: 1px; height: 20px; background: var(--line); margin: 0 3px; flex: none; }
.hud > .btn { transition: max-width .55s var(--ease), opacity .4s, padding .4s, margin .4s; white-space: nowrap; overflow: hidden; max-width: 220px; }

/* Estados del HUD: compacto por defecto (logo + CTA), .open completo, .bare solo logo */
.hud:not(.open) .logo-word { max-width: 0; opacity: 0; margin-left: -4px; }
.hud:not(.open) .hud-links,
.hud:not(.open) .hud-sep,
.hud:not(.open) .lang { max-width: 0; opacity: 0; margin: 0; padding-left: 0; padding-right: 0; pointer-events: none; }
.hud.bare > .btn { max-width: 0; opacity: 0; padding-left: 0; padding-right: 0; margin: 0; pointer-events: none; }
.hud.open { gap: 6px; padding: 6px 6px 6px 16px; }
/* Red de seguridad throttling: fuerza el estado abierto sin depender de transiciones */
.hud.lit .logo-word, .hud.lit .hud-links, .hud.lit .lang, .hud.lit .hud-sep, .hud.lit > .btn { transition: none; }
/* Estado inicial (solo logo): pastilla centrada; transición fluida al abrir */
.hud { transition: padding .55s var(--ease), gap .55s var(--ease); }
.hud .logo-mark { transition: width .55s var(--ease), height .55s var(--ease); }
.hud.bare { padding: 9px; gap: 0; }
.hud.bare .brand { padding-right: 0; gap: 0; }
.hud.bare .logo-word { margin-left: 0; }
.hud.bare .logo-mark { width: 40px; height: 40px; }
/* v19: con 5 enlaces el HUD no cabe entre 721 y ~870px */
@media (min-width: 721px) and (max-width: 1000px) { .hud-links a { padding: 7px 9px; } }
@media (min-width: 721px) and (max-width: 900px) {
  .hud-links a { padding: 7px 7px; }
  .hud-links:has(> a:nth-child(5)) a[href="#por-que"] { display: none; }
}

/* Selector de idioma minimalista */
.lang {
  position: relative;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em;
}
.lang-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 12px; border-radius: 999px; color: var(--anthracite);
  text-transform: uppercase; transition: background .25s;
}
.lang-btn:hover { background: var(--smoke); }
.lang-btn .chev { width: 9px; height: 9px; transition: transform .3s; opacity: .6; }
.lang.open .lang-btn .chev { transform: rotate(180deg); }
.hud .lang.open { overflow: visible; }
.lang-menu {
  position: absolute; top: calc(100% + 10px); right: 0;
  background: var(--white); border: 1px solid var(--line-soft);
  border-radius: 14px; padding: 6px; min-width: 132px;
  box-shadow: 0 18px 50px -18px rgba(17,17,17,0.3);
  opacity: 0; transform: translateY(-6px) scale(0.98); pointer-events: none;
  transition: opacity .22s var(--ease), transform .22s var(--ease);
}
.lang.open .lang-menu { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.lang-menu button {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 10px;
  padding: 9px 12px; border-radius: 9px; font-family: var(--font-sans); font-size: 14px; letter-spacing: -0.01em;
  color: var(--anthracite); text-transform: none; transition: background .2s;
}
.lang-menu button:hover { background: var(--smoke); }
.lang-menu button[aria-current="true"] { color: var(--red); font-weight: 600; }
.lang-menu button .tick { opacity: 0; color: var(--red); }
.lang-menu button[aria-current="true"] .tick { opacity: 1; }

/* Botón CTA pill */
.btn {
  --bg: var(--ink); --fg: #fff;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--bg); color: var(--fg);
  font-family: var(--font-sans); font-size: 15px; font-weight: 600; letter-spacing: -0.01em;
  padding: 13px 22px; border-radius: 999px;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s;
  white-space: nowrap;
}
.btn .btn-ico { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, var(--red), var(--red-deep));
  transform: translateY(101%); transition: transform .4s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(122,10,24,0.5); }
.btn:hover::before { transform: translateY(0); }
.btn:hover .btn-ico { transform: translateX(3px); }
.btn--red { --bg: var(--red); }
.btn--red::before { background: linear-gradient(120deg, var(--red-bright), var(--red)); }
.btn--ghost {
  --bg: transparent; --fg: var(--ink);
  border: 1px solid var(--line); padding: 12px 21px;
}
.btn--ghost::before { background: var(--smoke); }
.btn--ghost:hover { --fg: var(--ink); box-shadow: none; }
.btn--sm { padding: 9px 16px; font-size: 14px; }
.hud .btn { font-size: 14px; padding: 11px 18px; }

/* link con subrayado animado */
.link-u { position: relative; color: var(--ink); font-weight: 600; }
.link-u::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1.5px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.link-u:hover::after { transform: scaleX(1); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding-top: clamp(120px, 18vh, 200px); padding-bottom: clamp(48px, 8vw, 96px); overflow: hidden; }
.hero-aura {
  position: absolute; z-index: 0; pointer-events: none;
  width: 60vw; height: 60vw; max-width: 760px; max-height: 760px;
  right: -12vw; top: -14vw; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--red) 18%, transparent), transparent 62%);
  filter: blur(8px);
}
.hero-inner { position: relative; z-index: 1; }
.hero h1 { max-width: 14ch; margin-top: 26px; }
.hero h1 .hl { color: var(--red); font-style: italic; }
.hero .lead { margin-top: 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; align-items: center; }
.hero-cta .note { font-family: var(--font-mono); font-size: 12px; color: var(--muted); letter-spacing: 0.02em; }
.hero-meta {
  margin-top: clamp(48px, 7vw, 86px);
  display: flex; flex-wrap: wrap; gap: clamp(28px, 6vw, 72px);
  padding-top: 30px; border-top: 1px solid var(--line);
}
.hero-meta .stat .n { font-family: var(--font-display); font-size: clamp(36px, 5vw, 56px); font-weight: 800; line-height: 1; color: var(--ink); }
.hero-meta .stat .n em { color: var(--red); font-style: normal; }
.hero-meta .stat .l { font-size: 14px; color: var(--muted); margin-top: 8px; max-width: 22ch; }

/* word-by-word reveal — fade + ligera subida, SIN overflow clip (no recorta nunca) */
.reveal-words span { display: inline-block; }
.reveal-words span > i { display: inline-block; font-style: inherit; transform: translateY(0.42em); opacity: 0; transition: transform .7s var(--ease), opacity .7s var(--ease); }
.reveal-words.in > span > i { transform: none; opacity: 1; }
.reveal-words:not([data-split]) { /* visible por defecto si JS no llega */ }

/* ============================================================
   PRUEBA SOCIAL / MARQUEE
   ============================================================ */
.proof { padding-block: clamp(34px, 5vw, 56px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.proof-label { display: block; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.proof-marquee { position: relative; width: 100%; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.proof-track { display: inline-flex; align-items: center; gap: clamp(24px, 4vw, 46px); white-space: nowrap; will-change: transform; animation: marquee 32s linear infinite; }
.proof:hover .proof-track, .proof-track:focus-within { animation-play-state: paused; }
.proof-track span, .proof-track a { font-family: var(--font-display); font-size: clamp(22px, 3vw, 30px); color: var(--anthracite); opacity: .5; transition: opacity .3s, color .3s; }
.proof-track span.dot { color: var(--red); opacity: .5; font-size: 12px; }
/* Los clientes con web propia son enlaces: mismo aspecto que el resto, sin subrayado del navegador */
.proof-track a { text-decoration: none; cursor: pointer; }
.proof-track span:not(.dot):hover, .proof-track a:hover { opacity: 1; color: var(--red); }
.proof-track a:focus-visible { opacity: 1; color: var(--red); outline: 2px solid var(--red); outline-offset: 6px; border-radius: 4px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   PROCESO — scroll-video (sticky, oscuro, rojo)
   ============================================================ */
.proceso { position: relative; height: 220vh; background: #0a0909; }
.proceso-inner { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; align-items: center; color: #fff; }
.proceso-bg { position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(110% 80% at 82% 18%, color-mix(in srgb, var(--red) 30%, transparent), transparent 58%),
    radial-gradient(100% 80% at 8% 92%, color-mix(in srgb, var(--red-deep) 48%, transparent), transparent 55%);
}
.proceso-grid-bg { position: absolute; inset: 0; z-index: 0; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 62px 62px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 25%, transparent 72%);
  mask-image: radial-gradient(circle at 50% 50%, #000 25%, transparent 72%);
}
.proceso-stage { position: relative; z-index: 2; width: 100%; }
.proceso-top { display: flex; align-items: center; gap: 22px; margin-bottom: clamp(26px, 5vh, 60px); }
.proceso-top .eyebrow { color: #fff; }
.proceso-top .eyebrow::before { background: var(--red); }
.proceso-rail { flex: 1; height: 2px; background: rgba(255,255,255,0.14); border-radius: 2px; overflow: hidden; max-width: 300px; }
.proceso-rail .pr-fill { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--red), var(--red-bright)); transform: scaleX(0); transform-origin: left; }
.frames { position: relative; min-height: clamp(300px, 50vh, 460px); }
.frame { position: absolute; inset: 0; opacity: 0; transform: translateY(70px) scale(0.94); filter: blur(3px); pointer-events: none; transition: opacity .45s var(--ease), transform .55s var(--ease), filter .45s var(--ease); }
.frame.active { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.frame .frame-num { position: absolute; right: 0; top: -16%; z-index: -1; font-family: var(--font-display); font-size: clamp(150px, 30vw, 420px); line-height: 1; color: rgba(255,255,255,0.055); pointer-events: none; }
.frame .frame-label { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: color-mix(in srgb, var(--red) 55%, #fff); }
.frame .frame-label::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.frame h2 { font-family: var(--font-display); font-size: clamp(40px, 7vw, 100px); font-weight: 800; line-height: 1.0; letter-spacing: -0.03em; margin-top: 20px; max-width: 17ch; position: relative; }
.frame h2 em { font-style: italic; color: color-mix(in srgb, var(--red) 52%, #fff); }
.frame p { font-size: clamp(17px, 2.1vw, 23px); color: rgba(255,255,255,0.6); margin-top: 22px; max-width: 46ch; text-wrap: pretty; }
.proceso-dots { display: flex; gap: 9px; margin-top: clamp(26px, 5vh, 54px); }
.proceso-dots i { width: 30px; height: 4px; border-radius: 2px; background: rgba(255,255,255,0.18); transition: background .35s, width .35s; }
.proceso-dots i.on { background: var(--red); width: 46px; }
.scroll-cue { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.42); transition: opacity .4s; }
.scroll-cue svg { width: 12px; animation: cueBob 1.6s ease-in-out infinite; }
@keyframes cueBob { 0%,100% { transform: translateY(0); opacity:.5; } 50% { transform: translateY(5px); opacity:1; } }
@media (max-width: 720px) { .proceso { height: 200vh; } .frame .frame-num { top: -8%; } }

/* ============================================================
   SERVICIOS — grid de tarjetas
   ============================================================ */
.svc-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(28px, 3.5vw, 44px); }
.svc-ex-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.svc-ex-label::before { content: ""; width: 22px; height: 1px; background: var(--red); flex: none; }
/* Dos servicios */
.svc-duo { display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; gap: 18px; margin-bottom: clamp(40px, 5vw, 64px); }
.duo-card { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 30px 28px; display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s; }
.duo-card:hover { transform: translateY(-4px); box-shadow: 0 26px 54px -32px rgba(17,17,17,0.3); }
.duo-tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--red); }
.duo-card h3 { font-size: 27px; margin-top: 14px; color: var(--ink); line-height: 1.05; }
.duo-card p { font-size: 16px; color: var(--muted); margin-top: 12px; line-height: 1.55; flex: 1; }
.duo-note { font-family: var(--font-mono); font-size: 12px; color: var(--anthracite); margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.duo-card--red { background: linear-gradient(155deg, var(--red), var(--red-deep)); border-color: transparent; }
.duo-card--red .duo-tag { color: color-mix(in srgb, var(--red) 24%, #fff); }
.duo-card--red h3 { color: #fff; }
.duo-card--red p { color: rgba(255,255,255,0.82); }
.duo-card--red .duo-note { color: rgba(255,255,255,0.72); border-top-color: rgba(255,255,255,0.22); }
.duo-link { display: grid; place-items: center; color: var(--red); }
.duo-link svg { width: 40px; }
@media (max-width: 820px) { .svc-duo { grid-template-columns: 1fr; gap: 12px; } .duo-link { transform: rotate(90deg); } }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 30px 28px 34px; position: relative; overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
  min-height: 280px; display: flex; flex-direction: column;
}
.card::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--red), var(--red-deep)); transition: width .5s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: 0 28px 60px -30px rgba(17,17,17,0.32); border-color: var(--line); }
.card:hover::after { width: 100%; }
.card .card-num { font-family: var(--font-mono); font-size: 12px; color: var(--red); letter-spacing: 0.1em; }
.card .card-ico { width: 40px; height: 40px; margin-top: 16px; color: var(--red); }
.card h3 { font-size: 27px; margin-top: 20px; line-height: 1.05; color: var(--ink); }
.card p { font-size: 16px; color: var(--muted); margin-top: 12px; line-height: 1.55; }
.card .card-tags { margin-top: auto; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 7px; }
.card .card-tags i { font-style: normal; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.03em; color: var(--anthracite); background: var(--smoke); padding: 5px 10px; border-radius: 999px; }
.card--wide { grid-column: span 2; }
.card--ink { background: var(--ink); color: #fff; border-color: transparent; }
.card--ink h3 { color: #fff; }
.card--ink p { color: rgba(255,255,255,0.66); }
.card--ink .card-tags i { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.8); }

/* ============================================================
   VALOR / "deja de hacer lo mismo"
   ============================================================ */
.value-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.value-list { display: flex; flex-direction: column; }
.value-item { padding: 26px 0; border-top: 1px solid var(--line); display: flex; gap: 22px; align-items: flex-start; }
.value-item > div:last-child { flex: 1 1 auto; min-width: 0; }
.value-item:last-child { border-bottom: 1px solid var(--line); }
.value-item .vi-num { font-family: var(--font-mono); font-size: 13px; color: var(--red); padding-top: 6px; }
.value-item h3 { font-size: 25px; color: var(--ink); line-height: 1.1; }
.value-item p { font-size: 16px; color: var(--muted); margin-top: 8px; }

/* ============================================================
   POR QUÉ CLAUMY
   ============================================================ */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: clamp(40px,5vw,60px); }
.why-card { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 30px 28px; transition: transform .4s var(--ease), box-shadow .4s; }
.why-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(17,17,17,0.28); }
.why-card .wc-ico { width: 34px; height: 34px; color: var(--red); }
.why-card h3 { font-size: 24px; margin-top: 18px; color: var(--ink); }
.why-card p { font-size: 16px; color: var(--muted); margin-top: 10px; }

/* ============================================================
   METODOLOGÍA — timeline
   ============================================================ */
.method-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: clamp(40px,5vw,64px); }
.step { padding: 28px 24px; border-radius: var(--radius); background: rgba(255,255,255,0.55); border: 1px solid var(--line-soft); position: relative; transition: transform .4s var(--ease), background .4s; }
.step:hover { transform: translateY(-4px); background: var(--white); }
.step .step-n { font-family: var(--font-display); font-size: 46px; color: var(--red); line-height: 1; }
.step h3 { font-size: 21px; margin-top: 14px; color: var(--ink); }
.step p { font-size: 15px; color: var(--muted); margin-top: 8px; }

/* ============================================================
   CTA RESERVA (banda)
   ============================================================ */
.bookband { background: var(--ink); color: #fff; border-radius: clamp(20px, 3vw, 32px); padding: clamp(40px, 6vw, 76px); position: relative; overflow: hidden; }
.bookband-aura { position: absolute; right: -10%; bottom: -40%; width: 50%; height: 160%; background: radial-gradient(circle, color-mix(in srgb, var(--red) 60%, transparent), transparent 60%); filter: blur(20px); pointer-events: none; }
.bookband .eyebrow { color: #fff; }
.bookband .eyebrow::before { background: var(--red); }
.bookband h2 { font-size: clamp(34px, 5vw, 64px); color: #fff; max-width: 18ch; margin-top: 20px; position: relative; }
.bookband h2 em { color: color-mix(in srgb, var(--red) 60%, #fff); font-style: italic; }
.bookband p { color: rgba(255,255,255,0.7); max-width: 50ch; margin-top: 18px; font-size: 18px; position: relative; }
.bookband .bb-cta { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; position: relative; }
.bookband .bb-cta .btn--ghost { border-color: rgba(255,255,255,0.25); --fg: #fff; }
.bookband .bb-cta .btn--ghost::before { background: rgba(255,255,255,0.1); }

/* ============================================================
   SEGURIDAD / TRUST
   ============================================================ */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: clamp(40px, 5vw, 60px); }
.trust-item { display: flex; gap: 16px; align-items: flex-start; padding: 26px 24px; background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius); transition: transform .4s var(--ease), box-shadow .4s; }
.trust-item:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -32px rgba(17,17,17,0.28); }
.trust-item .ti-ico { width: 32px; height: 32px; color: var(--red); flex: none; }
.trust-item > div { flex: 1 1 auto; min-width: 0; }
.trust-item b { font-size: 16px; color: var(--ink); display: block; letter-spacing: -0.01em; }
.trust-item span { font-size: 14px; color: var(--muted); display: block; margin-top: 6px; line-height: 1.5; }

/* ============================================================
   PÁGINAS LEGALES
   ============================================================ */
.legal-bar { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-soft); }
.legal-bar .wrap { display: flex; align-items: center; justify-content: space-between; padding-block: 16px; }
.legal-bar .back { font-family: var(--font-sans); font-size: 14px; font-weight: 500; color: var(--anthracite); display: inline-flex; align-items: center; gap: 8px; transition: color .25s; }
.legal-bar .back:hover { color: var(--red); }
.legal-hero { padding-block: clamp(56px, 9vw, 110px) clamp(28px, 4vw, 44px); }
.legal-hero h1 { font-family: var(--font-display); font-size: clamp(40px, 7vw, 76px); font-weight: 800; line-height: 1.0; letter-spacing: -0.03em; }
.legal-hero h1 em { font-style: italic; color: var(--red); }
.legal-hero .upd { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 18px; }
.legal-body { max-width: 760px; padding-bottom: clamp(60px, 9vw, 120px); }
.legal-body h2 { font-family: var(--font-display); font-size: clamp(26px, 3.2vw, 36px); color: var(--ink); margin-top: 52px; line-height: 1.1; }
.legal-body h3 { font-family: var(--font-sans); font-weight: 600; font-size: 19px; color: var(--ink); margin-top: 30px; }
.legal-body p, .legal-body li { font-size: 17px; line-height: 1.65; color: var(--anthracite); margin-top: 14px; text-wrap: pretty; }
.legal-body ul { margin-top: 14px; padding-left: 22px; }
.legal-body li { margin-top: 8px; }
.legal-body a { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }
.legal-body .note { margin-top: 16px; padding: 16px 20px; background: var(--red-wash); border-left: 3px solid var(--red); border-radius: 0 10px 10px 0; font-size: 15px; color: var(--anthracite); }
.legal-body .note b { color: var(--red-deep); }
.legal-toc { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.legal-toc a { font-size: 13px; font-family: var(--font-mono); letter-spacing: 0.02em; color: var(--anthracite); background: var(--smoke); padding: 8px 14px; border-radius: 999px; text-decoration: none; transition: background .2s, color .2s; }
.legal-toc a:hover { background: var(--red); color: #fff; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { margin-top: clamp(40px,5vw,60px); border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 4px; text-align: left; }
.faq-q .faq-h { font-family: var(--font-sans); font-weight: 600; font-size: clamp(18px, 2.2vw, 23px); color: var(--ink); letter-spacing: -0.01em; line-height: 1.25; }
.faq-q .faq-pm { flex: none; width: 26px; height: 26px; position: relative; }
.faq-q .faq-pm::before, .faq-q .faq-pm::after { content: ""; position: absolute; background: var(--red); transition: transform .35s var(--ease); }
.faq-q .faq-pm::before { left: 0; top: 50%; width: 100%; height: 2px; transform: translateY(-50%); }
.faq-q .faq-pm::after { top: 0; left: 50%; width: 2px; height: 100%; transform: translateX(-50%); }
.faq-item.open .faq-pm::after { transform: translateX(-50%) scaleY(0); }
.faq-a { overflow: hidden; height: 0; transition: height .4s var(--ease); }
.faq-a-inner { padding: 0 4px 28px; color: var(--muted); font-size: 17px; max-width: 70ch; }

/* ============================================================
   CONTACTO / FORM
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 7vw, 96px); }
.contact-info h2 { font-size: clamp(32px, 4.5vw, 58px); }
.contact-info .lead { margin-top: 24px; }
.contact-channels { margin-top: 40px; display: flex; flex-direction: column; gap: 0; }
.contact-channels a { display: flex; align-items: center; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); font-size: 17px; transition: color .3s; }
.contact-channels a:last-child { border-bottom: 1px solid var(--line); }
.contact-channels a .cc-ico { width: 20px; height: 20px; color: var(--red); }
.contact-channels a:hover { color: var(--red); }

.form { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); box-shadow: 0 30px 70px -50px rgba(17,17,17,0.4); }
.field { margin-bottom: 22px; }
.field label { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 9px; }
.field input, .field textarea, .field select {
  width: 100%; font-family: var(--font-sans); font-size: 16px; color: var(--ink);
  background: var(--smoke); border: 1px solid transparent; border-radius: var(--radius-sm);
  padding: 14px 16px; transition: border-color .25s, background .25s, box-shadow .25s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; background: var(--white); border-color: var(--red); box-shadow: 0 0 0 4px var(--red-tint); }
.field input::placeholder, .field textarea::placeholder { color: #A8A29E; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form .submit-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 16px; }
.form .privacy { font-size: 12.5px; color: var(--muted); margin-top: 18px; line-height: 1.5; }
.form .privacy a { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }
.form-success { text-align: center; padding: 30px 10px; }
.form-success .fs-ico { width: 56px; height: 56px; margin: 0 auto 18px; color: var(--red); }
.form-success h3 { font-family: var(--font-display); font-size: 34px; color: var(--ink); }
.form-success p { color: var(--muted); margin-top: 10px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink); color: #fff; padding-block: clamp(56px, 8vw, 96px) 48px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 56px; }
.footer .f-brand .logo-svg { height: 30px; }
.footer .f-tag { color: rgba(255,255,255,0.6); margin-top: 18px; max-width: 34ch; font-size: 16px; }
.footer h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-bottom: 16px; font-weight: 400; }
.footer .f-col a, .footer .f-col span { display: block; color: rgba(255,255,255,0.8); padding: 8px 0; font-size: 15px; transition: color .25s; }
.footer .f-col a:hover { color: #fff; }
.footer-bottom { margin-top: clamp(48px, 7vw, 80px); padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.12); display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; align-items: center; }
.footer-bottom p, .footer-bottom a { font-size: 13px; color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: #fff; }
.footer-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.made { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; display: inline-flex; align-items: center; gap: 8px; }
.made .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); }

/* ============================================================
   MODAL RESERVA
   ============================================================ */
.modal-root { position: fixed; inset: 0; z-index: 1000; display: none; }
.modal-root.open { display: block; }
.modal-bg { position: absolute; inset: 0; background: rgba(17,17,17,0.5); backdrop-filter: blur(6px); opacity: 0; transition: opacity .35s; }
.modal-root.open .modal-bg { opacity: 1; }
.modal {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -48%) scale(0.97);
  width: min(940px, calc(100vw - 32px)); max-height: calc(100vh - 48px); overflow: hidden;
  background: var(--white); border-radius: 24px; opacity: 0;
  box-shadow: 0 50px 120px -40px rgba(17,17,17,0.6);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
  display: grid; grid-template-columns: 0.85fr 1.15fr;
}
.modal-root.open .modal { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.modal-aside { background: var(--ink); color: #fff; padding: 36px 32px; position: relative; overflow: hidden; display: flex; flex-direction: column; }
.modal-aside .ma-aura { position: absolute; right: -30%; top: -20%; width: 120%; height: 70%; background: radial-gradient(circle, color-mix(in srgb, var(--red) 55%, transparent), transparent 60%); filter: blur(16px); }
.modal-aside .eyebrow { color: #fff; position: relative; }
.modal-aside h3 { font-family: var(--font-display); font-size: 34px; font-weight: 800; margin-top: 16px; position: relative; line-height: 1.05; letter-spacing: -0.025em; }
.modal-aside .ma-list { margin-top: 26px; display: flex; flex-direction: column; gap: 16px; position: relative; }
.modal-aside .ma-list li { display: flex; gap: 12px; align-items: flex-start; color: rgba(255,255,255,0.78); font-size: 15px; list-style: none; }
.modal-aside .ma-list .mi-ico { width: 18px; height: 18px; color: color-mix(in srgb, var(--red) 50%, #fff); flex: none; margin-top: 2px; }
.modal-aside .ma-foot { margin-top: auto; position: relative; padding-top: 24px; }
.modal-aside .ma-foot .who { display: flex; align-items: center; gap: 12px; }
.modal-aside .ma-foot .avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--red), var(--red-deep)); display: block; flex: none; object-fit: contain; padding: 7px; }
.modal-aside .ma-foot .who b { font-size: 15px; } .modal-aside .ma-foot .who span { font-size: 13px; color: rgba(255,255,255,0.55); display: block; }
.modal-aside .ma-foot .who > div { flex: 1 1 auto; min-width: 0; }

.modal-main { padding: 30px 32px 0; overflow-y: auto; min-height: 0; max-height: calc(100vh - 48px); }
.modal-close { position: absolute; top: 18px; right: 18px; width: 38px; height: 38px; border-radius: 50%; background: var(--white); display: grid; place-items: center; z-index: 3; transition: background .25s, transform .25s; box-shadow: 0 4px 14px -6px rgba(0,0,0,0.3); }
.modal-close:hover { background: var(--smoke); transform: rotate(90deg); }
.modal-steps { display: flex; gap: 6px; margin-bottom: 22px; }
.modal-steps .ms { flex: 1; height: 3px; border-radius: 2px; background: var(--smoke); overflow: hidden; }
.modal-steps .ms i { display: block; height: 100%; width: 0; background: var(--red); transition: width .5s var(--ease); }
.modal-steps .ms.done i, .modal-steps .ms.active i { width: 100%; }
.step-title { font-family: var(--font-display); font-size: 27px; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.step-sub { color: var(--muted); font-size: 15px; margin-top: 6px; margin-bottom: 22px; }

/* Calendario */
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cal-head .cal-month { font-weight: 600; font-size: 16px; text-transform: capitalize; }
.cal-nav { display: flex; gap: 8px; }
.cal-nav button { width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--line); display: grid; place-items: center; transition: background .2s, border-color .2s; }
.cal-nav button:hover:not(:disabled) { background: var(--smoke); border-color: var(--red); }
.cal-nav button:disabled { opacity: .3; cursor: not-allowed; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.cal-grid .dow { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); text-align: center; padding: 6px 0; }
.cal-day { aspect-ratio: 1; border-radius: 10px; display: grid; place-items: center; font-size: 14.5px; color: var(--ink); transition: background .2s, color .2s, transform .2s; position: relative; }
.cal-day:not(.empty):not(.disabled):hover { background: var(--red-tint); }
.cal-day.disabled { color: #CFCAC6; cursor: not-allowed; }
.cal-day.empty { pointer-events: none; }
.cal-day.selected { background: var(--red); color: #fff; font-weight: 600; }
.cal-day.today::after { content: ""; position: absolute; bottom: 5px; width: 4px; height: 4px; border-radius: 50%; background: var(--red); }
.cal-day.selected.today::after { background: #fff; }

/* Slots */
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
.slot { padding: 12px 8px; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; font-weight: 500; text-align: center; transition: all .2s; }
.slot:hover:not(:disabled) { border-color: var(--red); color: var(--red); }
.slot.selected { background: var(--red); color: #fff; border-color: var(--red); }
.slot:disabled { opacity: .35; cursor: not-allowed; }
.slots-empty { color: var(--muted); font-size: 14px; padding: 16px 0; }

.modal-actions { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 26px; padding: 20px 0 30px; border-top: 1px solid var(--line); position: sticky; bottom: 0; background: var(--white); z-index: 1; }
.modal-actions .back { font-size: 14px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; transition: color .2s; }
.modal-actions .back:hover { color: var(--ink); }
.modal-actions .back:disabled { opacity: 0; pointer-events: none; }

.summary-chip { display: inline-flex; align-items: center; gap: 10px; background: var(--red-tint); color: var(--red-deep); border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 600; margin-bottom: 20px; }
.summary-chip svg { width: 15px; height: 15px; }

.booked { text-align: center; padding: 14px 0 6px; }
.booked .bk-ico { width: 64px; height: 64px; margin: 0 auto 18px; }
.booked h3 { font-family: var(--font-display); font-size: 34px; color: var(--ink); }
.booked p { color: var(--muted); margin-top: 10px; max-width: 40ch; margin-inline: auto; }
.booked .bk-card { margin-top: 24px; background: var(--smoke); border-radius: 14px; padding: 20px; text-align: left; display: flex; gap: 16px; align-items: center; }
.booked .bk-card .bk-date { font-family: var(--font-display); text-align: center; background: var(--white); border-radius: 12px; padding: 10px 16px; min-width: 64px; }
.booked .bk-card .bk-date .d { font-size: 28px; line-height: 1; color: var(--red); }
.booked .bk-card .bk-date .m { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; color: var(--muted); }
.booked .bk-card .bk-info { flex: 1 1 auto; min-width: 0; }
.booked .bk-card .bk-info b { font-size: 16px; } .booked .bk-card .bk-info span { display: block; font-size: 14px; color: var(--muted); margin-top: 2px; }
.booked .bk-actions { margin-top: 24px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   ANIM. scroll reveal
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
/* Red de seguridad: fuerza visibles HUD + hero si la pestaña no llega a pintar */
.hud.shown { transition: none; transform: translateX(-50%) translateY(0); }
.reveal.shown { transition: none; opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  .reveal-words span > i { transform: none !important; opacity: 1 !important; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .card--wide { grid-column: span 2; }
  .method-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .modal { grid-template-columns: 1fr; max-height: calc(100vh - 24px); }
  .modal-aside { display: none; }
}
@media (max-width: 720px) {
  body { font-size: 17px; }
  .hud { top: 12px; padding: 5px 5px 5px 12px; }
  .hud.shown { transform: translateX(-50%); }
  .hud-links { display: none; }
  .hud .hud-sep { display: none; }
  .svc-grid { grid-template-columns: 1fr; }
  .card--wide { grid-column: span 1; }
  .why-grid { grid-template-columns: 1fr; }
  .method-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr; }
  .slots { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Logo lockup (marca real) ---------- */
.brand { display: inline-flex; align-items: center; gap: 8px; }
.logo-mark { width: 30px; height: 30px; flex: none; object-fit: contain; display: block; }
.logo-word { font-family: var(--font-sans); font-weight: 700; font-size: 22px; letter-spacing: -0.03em; color: var(--ink); line-height: 1; }
.footer .logo-word, .modal-aside .logo-word { color: #fff; }
.hud .logo-word { font-size: 19px; }
.hud .logo-mark { width: 24px; height: 24px; }
.footer .logo-mark { width: 34px; height: 34px; }

/* Tweaks panel host */
#tweaks-root { position: fixed; z-index: 1200; }

/* ===================== LANDING PAGES (sector pages) ===================== */
.lp-hero { padding-top: 7rem; padding-bottom: 4rem; }
.lp-breadcrumb { font-size: 13px; color: var(--muted, #888); margin-bottom: 1.5rem; display: flex; gap: 6px; align-items: center; }
.lp-breadcrumb a { color: inherit; text-decoration: none; }
.lp-breadcrumb a:hover { text-decoration: underline; }
.lp-cta-row { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
.lp-cta-row .note { font-size: 13px; color: var(--muted, #888); }
.lp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2.5rem; }
.lp-step { display: flex; flex-direction: column; gap: 0.75rem; }
.lp-step-n { font-size: 2rem; font-weight: 800; color: var(--red, #7A0A18); opacity: 0.25; line-height: 1; font-family: var(--font-sans); }
.lp-step h3 { font-size: 1.05rem; font-weight: 700; line-height: 1.3; margin: 0; }
.lp-step p { font-size: 0.95rem; color: var(--ink-2, #555); margin: 0; line-height: 1.6; }
.lp-final-cta { text-align: center; padding: 3rem 1rem; }
.lp-final-cta .section-title { color: #fff; }
.lp-final-cta p { color: rgba(255,255,255,0.85); margin-bottom: 1.5rem; max-width: 560px; margin-left: auto; margin-right: auto; }
.lp-related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2rem; }
.lp-related-card { display: flex; flex-direction: column; gap: 0.4rem; padding: 1.25rem 1.5rem; border: 1px solid rgba(0,0,0,0.1); border-radius: 12px; text-decoration: none; color: var(--ink); transition: border-color 0.2s, box-shadow 0.2s; }
.lp-related-card:hover { border-color: var(--red, #7A0A18); box-shadow: 0 4px 20px rgba(122,10,24,0.08); }
.lp-related-card strong { font-size: 1rem; font-weight: 700; }
.lp-related-card span { font-size: 0.875rem; color: var(--red, #7A0A18); }
@media (max-width: 900px) {
  .lp-steps { grid-template-columns: 1fr; }
  .lp-related { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .lp-hero { padding-top: 5rem; }
  .lp-related { grid-template-columns: 1fr; }
}

/* ===================== v19 · 2026-10-28 ===================== */
/* Bloque final oscuro de las landings: la clase se usaba pero no existía
   (el título blanco quedaba sobre fondo claro). */
.section--dark { background: var(--ink); color: #fff; }
.section--dark .eyebrow { color: rgba(255,255,255,0.72); }
.section--dark .eyebrow::before { background: rgba(255,255,255,0.5); }
.section--dark h2.section-title em { color: color-mix(in srgb, var(--red) 52%, #fff); }
.lp-final-cta h2.section-title { margin: 18px auto 22px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Redes sociales ---------- */
.f-social { display: flex; gap: 10px; margin-top: 22px; }
.f-social a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 999px; border: 1px solid rgba(255,255,255,0.18); color: rgba(255,255,255,0.85); transition: background .25s, border-color .25s, color .25s; }
.f-social a:hover, .f-social a:focus-visible { background: var(--red); border-color: var(--red); color: #fff; }
.f-social a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.f-social svg { width: 19px; height: 19px; }
.contact-channels a .cc-handle { color: var(--muted); font-size: 15px; }

/* ---------- Home: sección Ejemplos ---------- */
.ex-teaser-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.ex-teaser-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.ex-teaser { background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 14px 14px 22px; display: flex; flex-direction: column; color: var(--ink); transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s; }
.ex-teaser { position: relative; }
.ex-teaser:hover, .ex-teaser:focus-within { transform: translateY(-6px); box-shadow: 0 28px 60px -30px rgba(17,17,17,0.32); border-color: var(--line); }
.ex-teaser h3 a { color: inherit; }
.ex-teaser h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.ex-teaser h3 a:focus-visible { outline: none; }
.ex-teaser:has(a:focus-visible) { outline: 2px solid var(--red); outline-offset: 3px; }
.ex-teaser .ex-mini { height: 128px; border-radius: var(--radius-sm); background: var(--smoke); padding: 14px; display: flex; flex-direction: column; justify-content: center; gap: 7px; overflow: hidden; }
.ex-teaser .ex-tag { margin: 18px 8px 0; }
.ex-teaser h3 { font-size: 21px; line-height: 1.12; margin: 8px 8px 0; }
.ex-teaser p { font-size: 15px; color: var(--muted); margin: 8px 8px 0; line-height: 1.5; flex: 1; }
.ex-teaser .ex-more { margin: 16px 8px 0; font-size: 14px; font-weight: 700; color: var(--red); }
.ex-teaser-note { margin-top: 18px; font-size: 14px; color: var(--muted); }
.mini-b { max-width: 82%; padding: 7px 10px; border-radius: 12px; font-size: 12px; line-height: 1.3; background: var(--white); color: var(--anthracite); box-shadow: 0 1px 0 var(--line); }
.mini-b--out { align-self: flex-end; background: #E3F5DA; }
.mini-row { display: flex; align-items: center; gap: 8px; background: var(--white); border-radius: 10px; padding: 8px 10px; font-size: 12px; color: var(--anthracite); }
.mini-row b { font-weight: 700; color: var(--ink); }
.mini-row .pill { margin-left: auto; }
.mini-stars { color: #B7791F; letter-spacing: 2px; font-size: 13px; }
@media (max-width: 980px) { .ex-teaser-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .ex-teaser-grid { grid-template-columns: 1fr; } }

/* ---------- Página /ejemplos/ ---------- */
.ex-tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); }
.ex-disclaimer { display: flex; gap: 14px; align-items: flex-start; margin-top: 28px; max-width: 720px; padding: 16px 20px; background: var(--red-wash); border-left: 3px solid var(--red); border-radius: 0 12px 12px 0; font-size: 16px; line-height: 1.5; color: var(--anthracite); }
.ex-disclaimer svg { width: 22px; height: 22px; flex: none; color: var(--red); margin-top: 1px; }
.ex-disclaimer strong { color: var(--red-deep); }
.ex-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.ex-cats a { font-family: var(--font-mono); font-size: 13px; color: var(--anthracite); background: var(--smoke); padding: 9px 15px; border-radius: 999px; transition: background .2s, color .2s; }
.ex-cats a:hover, .ex-cats a:focus-visible { background: var(--red); color: #fff; }
.ex-cats a:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

.ex-list { display: flex; flex-direction: column; }
.ex { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(48px, 7vw, 88px); border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.ex.ex--first { border-top: 0; padding-top: 8px; }
.ex.ex--r .ex-fig { order: -1; }
.ex h3 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.04; margin-top: 12px; color: var(--ink); }
.ex-biz { display: block; margin-top: 14px; font-size: 14px; color: var(--muted); }
.ex-label { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-top: 24px; }
.ex-problem { font-size: 17px; line-height: 1.6; color: var(--anthracite); margin-top: 8px; text-wrap: pretty; }
.ex-steps { list-style: none; padding: 0; margin-top: 10px; counter-reset: exstep; display: flex; flex-direction: column; gap: 10px; }
.ex-steps li { counter-increment: exstep; display: grid; grid-template-columns: 28px 1fr; gap: 12px; font-size: 16px; line-height: 1.5; color: var(--anthracite); }
.ex-steps li::before { content: counter(exstep); width: 28px; height: 28px; border-radius: 999px; background: var(--red-tint); color: var(--red); font-family: var(--font-mono); font-size: 13px; display: grid; place-items: center; }
.ex-result { margin-top: 24px; padding: 16px 18px; background: var(--smoke); border-radius: var(--radius-sm); font-size: 16px; line-height: 1.55; color: var(--anthracite); }
.ex-result .ex-label { margin-top: 0; margin-bottom: 4px; color: var(--red); }
.ex > * { min-width: 0; }
.ex-fig { margin: 0; }
.ex-fig figcaption { margin-top: 12px; font-size: 13px; color: var(--muted); text-align: center; line-height: 1.45; }
.ex-cta-inline { margin-top: 22px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--red); }
.ex-cta-inline:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) {
  .ex { grid-template-columns: minmax(0, 1fr); }
  .ex.ex--r .ex-fig { order: 0; }
}

/* ---------- Maquetas (HTML/CSS, datos inventados) ---------- */
.mock { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 30px 60px -36px rgba(17,17,17,0.35); overflow: hidden; font-family: var(--font-sans); font-size: 14px; line-height: 1.4; color: var(--ink); max-width: 460px; margin-inline: auto; }
.mock-bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line-soft); background: var(--paper); }
.mock-bar b { font-size: 14px; }
.mock-bar small { display: block; font-size: 12px; color: var(--muted); }
.mock-bar .mock-av { width: 32px; height: 32px; border-radius: 999px; background: var(--red-tint); color: var(--red); display: grid; place-items: center; font-weight: 700; font-size: 13px; flex: none; }
.mock-bar .dots { margin-left: auto; display: flex; gap: 4px; }
.mock-bar .dots i { width: 7px; height: 7px; border-radius: 999px; background: var(--line); }
.mock-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.pill { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--smoke); color: var(--anthracite); white-space: nowrap; }
.pill--ok { background: #E3F2E6; color: #1E5B2F; }
.pill--warn { background: #FBEFD9; color: #7A4B00; }
.pill--red { background: var(--red-tint); color: var(--red); }
.pill--info { background: #E6EEF8; color: #1D4673; }

/* chat */
.mock-bar > .pill { margin-left: auto; }
.mock-remind { background: var(--paper); border-top: 1px solid var(--line-soft); }
.mock-remind .bub { max-width: 100%; box-shadow: 0 1px 0 var(--line); }
.mock-body .mini-row { font-size: 13px; }
.mock-chat { background: #EFEAE2; }
.mock-chat .mock-bar { background: var(--white); }
.mock-chat .dot-wa { width: 8px; height: 8px; border-radius: 999px; background: #25D366; display: inline-block; margin-right: 5px; }
.bub { max-width: 84%; padding: 8px 11px 6px; border-radius: 12px; background: var(--white); box-shadow: 0 1px 0 rgba(17,17,17,0.08); font-size: 14px; }
.bub time { display: block; text-align: right; font-size: 10.5px; color: var(--muted); margin-top: 2px; }
.bub--out { align-self: flex-end; background: #DFF3D4; }
.bub--card { padding: 0; overflow: hidden; }
.bub--card .bk { padding: 10px 12px; border-left: 3px solid var(--red); background: var(--white); }
.bub--card .bk b { display: block; }
.bub--card .bk span { font-size: 12.5px; color: var(--muted); }
.chat-day { align-self: center; font-size: 11px; color: var(--anthracite); background: rgba(255,255,255,0.85); padding: 3px 10px; border-radius: 8px; }

/* llamada */
.call-head { display: flex; align-items: center; gap: 12px; padding: 16px; background: var(--ink); color: #fff; }
.call-head .ring { width: 40px; height: 40px; border-radius: 999px; background: var(--red); display: grid; place-items: center; flex: none; }
.call-head .ring svg { width: 18px; height: 18px; }
.call-head b { display: block; font-size: 15px; }
.call-head small { font-size: 12px; color: rgba(255,255,255,0.7); }
.call-head .pill { margin-left: auto; background: rgba(255,255,255,0.12); color: #fff; }
.wave { display: flex; align-items: center; gap: 3px; height: 26px; padding: 0 16px; margin-top: 12px; }
.wave i { flex: 1; background: var(--red-tint); border-radius: 2px; height: var(--h, 40%); }
.tr { display: grid; grid-template-columns: 70px 1fr; gap: 8px; font-size: 13.5px; }
.tr dt { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); padding-top: 2px; }
.tr dd { margin: 0; color: var(--anthracite); }
.tr .ai { color: var(--red); }
.mock-sum { margin: 4px 16px 16px; padding: 12px; border: 1px dashed var(--line); border-radius: 12px; font-size: 13px; color: var(--anthracite); }
.mock-sum b { color: var(--ink); }

/* calendario */
.cal { display: grid; grid-template-columns: 38px repeat(5, 1fr); font-size: 11.5px; }
.cal .h { padding: 8px 4px; text-align: center; font-family: var(--font-mono); color: var(--muted); border-bottom: 1px solid var(--line-soft); }
.cal .h.today { color: var(--red); font-weight: 700; }
.cal .t { padding: 0 4px; color: var(--muted); font-family: var(--font-mono); font-size: 10.5px; height: 34px; border-right: 1px solid var(--line-soft); }
.cal .c { height: 34px; border-bottom: 1px solid var(--line-soft); border-right: 1px solid var(--line-soft); position: relative; }
.cal .ev { position: absolute; inset: 2px 3px; border-radius: 6px; padding: 3px 5px; font-size: 10.5px; line-height: 1.2; overflow: hidden; background: var(--smoke); color: var(--anthracite); border-left: 3px solid var(--line); }
.cal .ev--x2 { bottom: -32px; z-index: 1; }
.cal .ev--ai { background: var(--red-tint); color: var(--red-deep); border-left-color: var(--red); }
.cal-foot { display: flex; align-items: center; gap: 8px; padding: 12px 16px; font-size: 12.5px; color: var(--anthracite); border-top: 1px solid var(--line-soft); }
.cal-foot i { flex: none; width: 10px; height: 10px; border-radius: 3px; background: var(--red-tint); border-left: 3px solid var(--red); }

/* lista de mensajes / recordatorios / CRM */
.row-list { display: flex; flex-direction: column; }
.row-list > div { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line-soft); }
.row-list > div:first-child { border-top: 0; }
.row-list .who { min-width: 0; flex: 1; }
.row-list .who b { display: block; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-list .who span { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-list .ico { width: 30px; height: 30px; border-radius: 999px; background: var(--smoke); display: grid; place-items: center; flex: none; font-size: 12px; font-weight: 700; color: var(--anthracite); }
.mock-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.mock-btns span { font-size: 12.5px; font-weight: 700; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--anthracite); background: var(--white); }
.mock-btns span.on { background: var(--red); border-color: var(--red); color: #fff; }
.crm-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 14px; background: var(--smoke); }
.crm-cols h4 { font-family: var(--font-mono); font-weight: 400; font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0 2px 6px; display: flex; justify-content: space-between; }
.crm-card { background: var(--white); border-radius: 10px; padding: 9px 10px; margin-bottom: 7px; box-shadow: 0 1px 0 var(--line); font-size: 12px; color: var(--anthracite); }
.crm-card b { display: block; color: var(--ink); font-size: 12.5px; margin-bottom: 3px; }
.crm-card .pill { margin-top: 6px; font-size: 10.5px; padding: 2px 7px; }

/* flujo formulario → CRM → aviso */
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 6px; padding: 18px 14px 6px; }
.flow .node { background: var(--smoke); border-radius: 12px; padding: 10px 8px; text-align: center; font-size: 12px; color: var(--anthracite); }
.flow .node svg { width: 22px; height: 22px; margin: 0 auto 6px; color: var(--red); }
.flow .node b { display: block; color: var(--ink); font-size: 12.5px; }
.flow .arr { color: var(--red); font-size: 16px; }
.notif { margin: 12px 16px 16px; display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--ink); color: #fff; }
.notif .ico { width: 30px; height: 30px; border-radius: 8px; background: var(--red); display: grid; place-items: center; flex: none; font-size: 13px; font-weight: 700; }
.notif b { display: block; font-size: 13.5px; }
.notif span { font-size: 12.5px; color: rgba(255,255,255,0.75); }

/* email */
.mail-meta { padding: 12px 16px; border-bottom: 1px solid var(--line-soft); font-size: 12.5px; color: var(--muted); }
.mail-meta b { color: var(--ink); font-size: 15px; display: block; margin-top: 3px; }
.mail-body { padding: 16px; font-size: 13.5px; color: var(--anthracite); line-height: 1.55; }
.mail-body .mail-btn { display: inline-block; margin-top: 12px; background: var(--red); color: #fff; font-weight: 700; font-size: 13px; padding: 8px 14px; border-radius: 999px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-soft); }
.stats div { padding: 12px 14px; border-left: 1px solid var(--line-soft); }
.stats div:first-child { border-left: 0; }
.stats b { display: block; font-family: var(--font-display); font-size: 22px; }
.stats span { font-size: 11.5px; color: var(--muted); }
.stats-note { padding: 0 14px 12px; font-size: 11px; color: var(--muted); }

/* reseña */
.review { padding: 16px; }
.review .stars { color: #B7791F; letter-spacing: 2px; font-size: 15px; }
.review p { margin-top: 6px; font-size: 14px; color: var(--anthracite); }
.review small { font-size: 12px; color: var(--muted); }
.reply { margin: 0 16px 16px; padding: 12px 14px; border-radius: 12px; background: var(--red-wash); border: 1px solid var(--red-tint); font-size: 13.5px; color: var(--anthracite); }
.reply .ex-label { margin: 0 0 6px; color: var(--red); }
.reply .mock-btns { margin-top: 10px; }

/* factura */
.inv { padding: 18px; }
.inv-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.inv-top b { font-family: var(--font-display); font-size: 20px; display: block; }
.inv-top small { font-size: 12px; color: var(--muted); }
.inv table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 13px; }
.inv th { text-align: left; font-family: var(--font-mono); font-weight: 400; font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding: 6px 0; border-bottom: 1px solid var(--line); }
.inv td { padding: 8px 0; border-bottom: 1px solid var(--line-soft); color: var(--anthracite); }
.inv td:last-child, .inv th:last-child { text-align: right; }
.inv .tot td { font-weight: 700; color: var(--ink); border-bottom: 0; padding-top: 10px; }
.inv-status { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 18px; border-top: 1px solid var(--line-soft); background: var(--paper); }

/* redes: semana de publicaciones + vista previa */
.wk { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; padding: 14px 16px; border-bottom: 1px solid var(--line-soft); }
.wk > div { background: var(--smoke); border-radius: 10px; padding: 6px 4px 8px; display: flex; flex-direction: column; align-items: center; gap: 4px; min-height: 66px; }
.wk > div.is-today { box-shadow: inset 0 0 0 1.5px var(--red); }
.wk .d { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; color: var(--muted); }
.wk .p { width: 100%; max-width: 34px; border-radius: 6px; font-size: 10px; font-weight: 700; text-align: center; padding: 3px 0; }
.wk .p--ok { background: #E3F2E6; color: #1E5B2F; }
.wk .p--warn { background: #FBEFD9; color: #7A4B00; }
.post { margin: 14px 16px 16px; border: 1px solid var(--line-soft); border-radius: 14px; overflow: hidden; }
.post-head { display: flex; align-items: center; gap: 8px; padding: 10px 12px; }
.post-head .mock-av { width: 28px; height: 28px; border-radius: 999px; background: var(--red-tint); color: var(--red); display: grid; place-items: center; font-weight: 700; font-size: 11px; flex: none; }
.post-head b { display: block; font-size: 13px; }
.post-head small { display: block; font-size: 11.5px; color: var(--muted); }
.post-head .pill { margin-left: auto; }
.post-img { aspect-ratio: 16 / 9; display: grid; place-items: center; padding: 16px; text-align: center; color: #fff; background: radial-gradient(circle at 78% 22%, color-mix(in srgb, var(--red) 70%, #fff) 0 14%, transparent 15%), radial-gradient(circle at 18% 82%, color-mix(in srgb, var(--red-deep) 60%, #000) 0 18%, transparent 19%), linear-gradient(140deg, var(--red-deep), var(--red)); font-family: var(--font-display); font-weight: 800; font-size: 24px; line-height: 1.05; letter-spacing: -0.02em; }
.post-img small { display: block; margin-top: 6px; font-family: var(--font-sans); font-weight: 400; font-size: 12.5px; letter-spacing: 0; opacity: .88; }
.post-cap { padding: 10px 12px 0; font-size: 13px; color: var(--anthracite); }
.post-cap .tags { color: #1D4673; }
.post-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px 12px; flex-wrap: wrap; padding: 10px 12px 12px; }
.mock-body > .post-foot { padding: 4px 0 0; }
.post-when { font-size: 12px; color: var(--muted); }

/* redes: carrusel */
.mini-row:has(+ .slides) { flex-wrap: wrap; row-gap: 2px; }
.slides { display: flex; gap: 8px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, #000 78%, transparent); mask-image: linear-gradient(90deg, #000 78%, transparent); }
.slide { flex: 0 0 122px; aspect-ratio: 4 / 5; border-radius: 10px; padding: 10px; display: flex; flex-direction: column; justify-content: space-between; gap: 4px; font-size: 11px; line-height: 1.25; color: var(--anthracite); background: var(--white); border: 1px solid var(--line); }
.slide b { font-family: var(--font-display); font-weight: 800; font-size: 14px; line-height: 1.05; letter-spacing: -0.01em; color: var(--ink); }
.slide .n { font-family: var(--font-display); font-weight: 800; font-size: 26px; line-height: 1; color: var(--red); }
.slide small { font-family: var(--font-mono); font-size: 9px; opacity: .8; }
.slide--cover { background: var(--red); border-color: var(--red); color: #fff; }
.slide--cover b { color: #fff; font-size: 16px; }
.slide--end { background: var(--ink); border-color: var(--ink); color: rgba(255,255,255,0.85); }
.slide--end b { color: #fff; }
.slide-dots { display: flex; justify-content: center; gap: 5px; }
.slide-dots i { width: 6px; height: 6px; border-radius: 999px; background: var(--line); }
.slide-dots i.on { background: var(--red); }

/* redes: reel */
.reel { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 16px; align-items: center; padding: 16px; }
.reel-phone { position: relative; aspect-ratio: 9 / 16; border-radius: 18px; border: 4px solid var(--ink); overflow: hidden; color: #fff; background: radial-gradient(circle at 60% 34%, color-mix(in srgb, var(--red) 55%, #fff) 0 16%, transparent 34%), linear-gradient(175deg, var(--anthracite) 0%, var(--red-deep) 62%, var(--ink) 100%); }
.reel-prog { position: absolute; top: 8px; left: 8px; right: 8px; height: 3px; border-radius: 2px; background: rgba(255,255,255,0.3); }
.reel-prog::after { content: ""; position: absolute; inset: 0 60% 0 0; border-radius: inherit; background: #fff; }
.reel-play { position: absolute; top: 38%; left: 50%; transform: translate(-50%, -50%); width: 38px; height: 38px; border-radius: 999px; background: rgba(255,255,255,0.22); display: grid; place-items: center; }
.reel-play svg { width: 18px; height: 18px; }
.reel-sub { position: absolute; left: 8px; right: 8px; bottom: 34px; margin: 0; text-align: center; font-weight: 800; font-size: 13px; line-height: 1.35; }
.reel-sub span { background: rgba(17,17,17,0.72); padding: 2px 6px; border-radius: 4px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.reel-sub em { font-style: normal; color: var(--red-tint); }
.reel-who { position: absolute; left: 10px; bottom: 10px; font-size: 10px; opacity: .85; }
.reel .tr { grid-template-columns: 74px minmax(0, 1fr); row-gap: 7px; }
.tl { display: flex; flex-direction: column; gap: 5px; padding: 0 16px 16px; }
.tl-row { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 8px; align-items: center; }
.tl-row > span { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; color: var(--muted); }
.tl-row > div { display: flex; gap: 3px; height: 14px; }
.tl-row i { flex: var(--w, 1); border-radius: 4px; background: var(--red-tint); }
.tl-row--sub i { background: var(--smoke); box-shadow: inset 0 0 0 1px var(--line); }
.tl-row--mus i { background: #E6EEF8; }

/* redes: comentarios y mensajes */
.cmt { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; border-bottom: 1px solid var(--line-soft); }
.cmt-on { font-family: var(--font-mono); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.cmt-row { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--anthracite); }
.cmt-row b { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 12.5px; color: var(--ink); margin-bottom: 2px; }
.cmt-row b .pill { font-size: 10px; padding: 1px 7px; }
.cmt-av { width: 28px; height: 28px; border-radius: 999px; background: var(--smoke); display: grid; place-items: center; flex: none; font-size: 11px; font-weight: 700; color: var(--anthracite); }
.cmt-row--reply { margin-left: 38px; padding: 10px 12px; border-radius: 12px; background: var(--red-wash); border: 1px solid var(--red-tint); }
.cmt-row--reply .cmt-av { background: var(--red-tint); color: var(--red); }

/* redes: calendario mensual */
.mcal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; padding: 12px 14px 10px; }
.mcal .dow { font-family: var(--font-mono); font-size: 10px; color: var(--muted); text-align: center; padding-bottom: 2px; }
.mcal .day { min-height: 46px; padding: 4px 4px 5px; border-radius: 8px; background: var(--paper); border: 1px solid var(--line-soft); display: flex; flex-direction: column; justify-content: space-between; gap: 3px; min-width: 0; }
.mcal .day span { font-family: var(--font-mono); font-size: 10px; color: var(--muted); }
.mcal .day i { font-style: normal; display: block; border-radius: 4px; padding: 1px 3px; font-size: 9.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mcal .k-tip { background: #E6EEF8; color: #1D4673; }
.mcal .k-new { background: #E3F2E6; color: #1E5B2F; }
.mcal .k-off { background: var(--red-tint); color: var(--red); }
.mcal .k-vid { background: #FBEFD9; color: #7A4B00; }
.mcal-legend { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 12px; }

@media (max-width: 420px) {
  .wk { gap: 4px; padding: 12px; }
  .wk > div { padding-inline: 2px; }
  .post { margin: 12px; }
  .post-head .pill { white-space: normal; text-align: center; line-height: 1.2; max-width: 38%; }
  .post-img { font-size: 21px; }
  .slide { flex-basis: 112px; }
  .reel { grid-template-columns: 112px minmax(0, 1fr); gap: 12px; padding: 12px; }
  .reel-sub { font-size: 11.5px; bottom: 28px; }
  .reel .tr { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .reel .tr dd { margin-bottom: 6px; }
  .tl { padding: 0 12px 12px; }
  .cmt { padding: 12px; }
  .cmt-row--reply { margin-left: 0; }
  .mcal { gap: 3px; padding: 10px; }
  .mcal .day { min-height: 36px; }
  .mcal .day i { font-size: 0; height: 6px; padding: 0; }
  .mcal-legend { padding: 0 10px 10px; }
}
@media (max-width: 420px) {
  .mock { font-size: 13px; }
  .crm-cols { grid-template-columns: 1fr 1fr; }
  .crm-cols > div:nth-child(3) { display: none; }
  .flow { grid-template-columns: 1fr; gap: 4px; }
  .flow .arr { transform: rotate(90deg); justify-self: center; }
  .row-list > div { gap: 10px; padding-inline: 12px; }
  .row-list .pill { white-space: normal; text-align: center; line-height: 1.2; max-width: 40%; flex-shrink: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .ex-teaser, .ex-teaser:hover, .ex-teaser:focus-within { transition: none; transform: none; }
}

/* ============================================================
   Ejemplos v2 (claumy.20): filtros, grupos, pasos con icono,
   antes/ahora, FAQ y maquetas nuevas. Solo opacity/transform
   en las animaciones (sin saltos de maquetación).
   ============================================================ */
.ex[hidden], .ex-group[hidden] { display: none; }
.ex h3 { font-size: clamp(25px, 2.9vw, 36px); }

/* Respuesta corta */
.ex-answer { margin-top: 28px; max-width: 780px; padding: 22px 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.ex-answer h2 { font-family: var(--font-mono); font-weight: 400; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); margin: 0 0 10px; }
.ex-answer p { font-size: 17px; line-height: 1.65; color: var(--anthracite); text-wrap: pretty; }
.ex-answer p + p { margin-top: 10px; }

/* Filtros */
.ex-filter-label { margin-top: 30px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.ex-filter-label + .ex-cats { margin-top: 12px; }
.ex-cats a, .ex-cats button { font-family: var(--font-mono); font-size: 13px; color: var(--anthracite); background: var(--smoke); padding: 9px 15px; border-radius: 999px; border: 0; cursor: pointer; line-height: 1.2; transition: background .2s, color .2s; }
.ex-cats button:hover, .ex-cats button:focus-visible { background: var(--red-tint); color: var(--red-deep); }
.ex-cats a:hover, .ex-cats a:focus-visible { background: var(--red-tint); color: var(--red-deep); }
.ex-cats button[aria-pressed="true"], .ex-cats a:hover:active { background: var(--red); color: #fff; }
.ex-cats button:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.ex-cats .n { margin-left: 5px; font-size: 11px; opacity: .65; }
.ex-status { margin-top: 14px; font-size: 14px; color: var(--muted); min-height: 1.5em; }

/* Grupos por categoría */
.ex-group { padding-top: clamp(44px, 6vw, 80px); scroll-margin-top: 20px; }
.ex-group:first-child { padding-top: 0; }
.ex-group-head { max-width: 760px; margin-bottom: clamp(8px, 2vw, 20px); }
.ex-group-n { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); }
.ex-group-h { font-family: var(--font-display); font-weight: 800; font-size: clamp(30px, 4vw, 48px); letter-spacing: -0.03em; line-height: 1.04; margin-top: 10px; color: var(--ink); }
.ex-group-p { margin-top: 12px; font-size: 17px; line-height: 1.55; color: var(--muted); max-width: 62ch; text-wrap: pretty; }
.ex-list.is-filtered .ex-group-head { display: none; }
.ex-list.is-filtered .ex-group { padding-top: 0; }
#ex-list { scroll-margin-top: 16px; }

/* Antes -> ahora */
.ex-ba { display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px; margin-top: 20px; }
.ex-ba > span { flex: 1 1 140px; border-radius: var(--radius-sm); padding: 10px 14px; font-size: 14px; line-height: 1.35; }
.ex-ba small { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 3px; }
.ex-ba .ba-b { background: var(--smoke); color: var(--muted); }
.ex-ba .ba-a { background: var(--red-wash); border: 1px solid var(--red-tint); color: var(--red-deep); font-weight: 700; }
.ex-ba .ba-a small { color: var(--red); font-weight: 400; }
.ex-ba .ba-arr { flex: none; align-self: center; padding: 0; background: none; color: var(--red); font-size: 20px; line-height: 1; }

/* Pasos con icono + número + línea que los une */
.ex-steps { gap: 18px; }
.ex-steps li { position: relative; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; }
.ex-steps li::before { position: absolute; left: -5px; top: -5px; z-index: 1; width: 18px; height: 18px; font-size: 10.5px; background: var(--red); color: #fff; box-shadow: 0 0 0 2px var(--white); }
.ex-steps li:not(:last-child)::after { content: ""; position: absolute; left: 16px; top: 38px; bottom: -14px; width: 2px; border-radius: 2px; background: var(--red-tint); transform-origin: top; }
.ex-steps li > span { padding-top: 6px; }
.ex-steps .si { width: 34px; height: 34px; padding: 8px; border-radius: 11px; background: var(--red-tint); color: var(--red); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; box-sizing: border-box; }
.ex-steps li:nth-child(1) { --i: 0; } .ex-steps li:nth-child(2) { --i: 1; } .ex-steps li:nth-child(3) { --i: 2; }

/* Enlace a la landing relacionada */
.ex-rel { margin-top: 16px; font-size: 14.5px; color: var(--muted); }
.ex-rel a { color: var(--red); font-weight: 700; }
.ex-rel a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Animación suave (la activa el JS con .ex-anim) */
@media (prefers-reduced-motion: no-preference) {
  .ex-anim .ex .ex-steps li { opacity: 0; transform: translateY(8px); }
  .ex-anim .ex .ex-steps li:not(:last-child)::after { transform: scaleY(0); }
  .ex-anim .ex .ex-ba .ba-a { opacity: 0; transform: translateX(-8px); }
  .ex-anim .ex .ex-fig { opacity: 0; transform: translateY(16px); }
  .ex-anim .ex.is-in .ex-steps li { opacity: 1; transform: none; transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(var(--i) * .22s + .12s); }
  .ex-anim .ex.is-in .ex-steps li:not(:last-child)::after { transform: scaleY(1); transition: transform .45s var(--ease); transition-delay: calc(var(--i) * .22s + .4s); }
  .ex-anim .ex.is-in .ex-ba .ba-a { opacity: 1; transform: none; transition: opacity .5s var(--ease) .1s, transform .5s var(--ease) .1s; }
  .ex-anim .ex.is-in .ex-fig { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }
}
@media print { .ex-anim .ex .ex-steps li, .ex-anim .ex .ex-fig, .ex-anim .ex .ex-ba .ba-a { opacity: 1; transform: none; } .ex-anim .ex .ex-steps li::after { transform: none; } }

/* FAQ visible */
.ex-faq { max-width: 820px; }
.ex-faq-list { margin-top: 28px; border-top: 1px solid var(--line); }
.ex-q { border-bottom: 1px solid var(--line); }
.ex-q summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 4px; font-family: var(--font-sans); font-weight: 700; font-size: clamp(17px, 2vw, 20px); line-height: 1.3; color: var(--ink); }
.ex-q summary::-webkit-details-marker { display: none; }
.ex-q summary::after { content: "+"; flex: none; font-size: 26px; line-height: 1; color: var(--red); font-weight: 400; }
.ex-q[open] summary::after { content: "\2013"; }
.ex-q summary:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; border-radius: 6px; }
.ex-q p { padding: 0 4px 22px; margin: 0; font-size: 16.5px; line-height: 1.65; color: var(--anthracite); max-width: 68ch; }

/* Maquetas nuevas */
.chk { list-style: none; margin: 0; padding: 0; }
.chk li { display: flex; align-items: center; gap: 11px; padding: 10px 16px; border-top: 1px solid var(--line-soft); font-size: 13.5px; color: var(--anthracite); }
.chk li:first-child { border-top: 0; }
.chk li::before { content: ""; flex: none; width: 19px; height: 19px; border-radius: 6px; border: 2px solid var(--line); display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #fff; }
.chk li.done::before { content: "\2713"; background: var(--red); border-color: var(--red); }
.chk li small { margin-left: auto; font-size: 12px; color: var(--muted); white-space: nowrap; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 92px; padding: 0 16px; margin-top: 4px; }
.bars i { flex: 1; height: var(--h); background: var(--red-tint); border-radius: 6px 6px 0 0; }
.bars i.hi { background: var(--red); }
.bars-lbl { display: flex; gap: 8px; padding: 6px 16px 12px; font-size: 11px; color: var(--muted); }
.bars-lbl span { flex: 1; text-align: center; }
.score { display: flex; gap: 6px; }
.score span { width: 34px; height: 34px; border-radius: 10px; background: var(--smoke); display: grid; place-items: center; font-weight: 700; color: var(--anthracite); font-size: 14px; }
.score .on { background: var(--red); color: #fff; }
.stamps { display: flex; gap: 6px; margin-top: 8px; }
.stamps i { width: 22px; height: 22px; border-radius: 999px; border: 2px dashed var(--line); }
.stamps i.on { background: var(--red); border: 2px solid var(--red); }
.meter { height: 8px; border-radius: 999px; background: var(--smoke); overflow: hidden; margin-top: 6px; }
.meter i { display: block; height: 100%; width: var(--w); background: var(--red); border-radius: inherit; }
.meter--low i { background: #C27803; }
.stock-row { padding: 11px 16px; border-top: 1px solid var(--line-soft); font-size: 13px; color: var(--anthracite); }
.stock-row:first-child { border-top: 0; }
.stock-row b { display: flex; justify-content: space-between; gap: 8px; color: var(--ink); font-size: 13.5px; }
.tl-steps { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px 4px; }
.mock-note { padding: 0 16px 14px; font-size: 11.5px; color: var(--muted); }

/* Inicio: tarjetas de ejemplos con más detalle visual */
.ex-teaser .ex-mini { height: 140px; }
.ex-mini .mini-bars { display: flex; align-items: flex-end; gap: 5px; height: 38px; }
.ex-mini .mini-bars i { flex: 1; height: var(--h); background: var(--red-tint); border-radius: 4px 4px 0 0; }
.ex-mini .mini-bars i.hi { background: var(--red); }

@media (max-width: 600px) {
  .ex-cats a, .ex-cats button { padding: 8px 12px; font-size: 12.5px; }
  .ex-answer { padding: 18px 18px; }
  .ex-group-p { font-size: 16px; }
}

/* ---------- Redes sociales (contacto) ---------- */
.social-block { margin-top: 36px; }
.sb-title { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.sb-cards { display: grid; grid-template-columns: 1fr; gap: 12px; }
.sb-card { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--white); border: 1px solid var(--line-soft); border-radius: 16px; transition: transform .3s, box-shadow .3s, border-color .3s; min-width: 0; }
.sb-card:hover, .sb-card:focus-visible { transform: translateY(-3px); border-color: var(--red); box-shadow: 0 18px 40px -26px rgba(17,17,17,0.45); }
.sb-card:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.sb-logo { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; }
.sb-logo svg { width: 26px; height: 26px; }
.sb-logo--ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.sb-logo--tt { background: #010101; }
.sb-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.sb-txt strong { font-size: 16px; font-weight: 600; }
.sb-txt small { color: var(--muted); font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sb-go { flex: none; margin-left: auto; width: 16px; height: 16px; color: var(--muted); transition: color .3s, transform .3s; }
.sb-card:hover .sb-go { color: var(--red); transform: translate(2px, -2px); }
@media (prefers-reduced-motion: reduce) { .sb-card, .sb-go { transition: none; } .sb-card:hover { transform: none; } }
/* Footer: marca de color al pasar el ratón */
.f-social a[aria-label^="Instagram"]:hover, .f-social a[aria-label^="Instagram"]:focus-visible { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); border-color: transparent; }
.f-social a[aria-label^="TikTok"]:hover, .f-social a[aria-label^="TikTok"]:focus-visible { background: #010101; border-color: #fff; }
