/* ============================================================
   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(72px, 11vw, 160px); 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: 0; 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; }

/* 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 { animation-play-state: paused; }
.proof-track span { 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; }
.proof-track span:not(.dot):hover { opacity: 1; color: var(--red); }
@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(36px,4vw,52px); 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: 26px 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(36px, 6vw, 80px); }
.contact-info h2 { font-size: clamp(32px, 4.5vw, 58px); }
.contact-info .lead { margin-top: 20px; }
.contact-channels { margin-top: 36px; display: flex; flex-direction: column; gap: 4px; }
.contact-channels a { display: flex; align-items: center; gap: 14px; padding: 16px 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(26px, 4vw, 40px); box-shadow: 0 30px 70px -50px rgba(17,17,17,0.4); }
.field { margin-bottom: 18px; }
.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: 16px; }
.form .submit-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.form .privacy { font-size: 12.5px; color: var(--muted); margin-top: 14px; 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) 40px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.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: 6px 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; }
.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; }
