/* =========================================================
   HC SYSTEM — sistema visual compartido de Lemonario.
   Reproduce el lenguaje del index.html (skin HC) sobre el
   vocabulario de las páginas interiores (.page-hero, .card,
   .btn, .faq, .timeline, .callout, .kicker...).
   Solo presentación: no altera contenido ni semántica.
   Se carga DESPUÉS de styles.css / hero-test.css / index-xp.css.
   ========================================================= */

/* ---------- Tipografías (auto-alojadas, las del index) ---------- */
@font-face { font-family: "Anton"; src: url("fonts/Anton.woff2") format("woff2"); font-display: swap; font-style: normal; font-weight: 400 }
@font-face { font-family: "Staff-Regular"; src: url("fonts/Staff-Regular.woff2") format("woff2"); font-display: swap; font-style: normal }
@font-face { font-family: "Staff-Bold"; src: url("fonts/Staff-Bold.woff2") format("woff2"); font-display: swap; font-style: normal; font-weight: 700 }
@font-face { font-family: "Ontro Buck"; src: url("fonts/ontro-buck-textured.otf") format("opentype"); font-display: swap; font-style: normal; font-weight: 400 }

/* ---------- Tokens (idénticos al index) ---------- */
:root {
  --hc-bg: #121212;
  --hc-bg2: #1f1f1f;
  --hc-bg3: #1b1b1b;
  --hc-red: #ffc400;
  --hc-red-deep: #241d05;
  --hc-cream: #f4f3e3;
  --hc-beige: #e6e5ce;
  --hc-tan: #c7c5ac;
  --hc-muted: #a5a3a3;
  --hc-line: rgba(244, 243, 227, .18);
  --hc-line-dark: rgba(18, 18, 18, .18);
  --hc-r-s: 1rem;
  --hc-r-l: 2.5rem;
  --hc-anton: "Anton", "Arial Narrow", Impact, sans-serif;
  --hc-staff: "Staff-Regular", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --hc-bold: "Staff-Bold", var(--hc-staff);
  --hc-ease: cubic-bezier(.4, 0, .2, 1);
  --hc-ghost: 20vw;
}

/* ---------- Base ---------- */
html { background: var(--hc-bg) }
/* overflow-x:clip mantiene la cabecera pegada arriba (con overflow-x:hidden
   el navegador la trata como contenedor de scroll y el sticky no funciona) */
body { overflow-x: clip !important }
body {
  background: var(--hc-bg) !important;
  color: var(--hc-cream) !important;
  font-family: var(--hc-staff) !important;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--hc-red); color: var(--hc-cream) }
body.menu-open, body.hero-open { overflow: hidden }

h1, h2, h3, h4, h5, h6,
.hero-title, .section-title, .pf-title, .card h3, .price-card h3,
.f5-title, .tst-h2, .stat-num, .card-num, .step-num {
  font-family: var(--hc-anton) !important;
  font-weight: 400 !important;
  text-transform: uppercase;
  letter-spacing: -.012em;
  line-height: .95;
}
p, a, li, input, textarea, select, button, label, figcaption,
.lead, .panel-text, .blurb, .kicker, .breadcrumb {
  font-family: var(--hc-staff);
}
strong, b, .bold { font-family: var(--hc-bold); font-weight: 700 }
/* Sin marcadores amarillos en el texto: la negrita, solo negrita */
.panel-text strong, .lead strong, .callout strong, .faq-a strong, .card strong,
.quote strong, .hero-sub strong, .content strong {
  background: none !important;
  color: inherit !important;
  padding: 0 !important;
}

/* Sin efecto 3D que sigue al cursor en los titulares (anticuado) */
.xp-3d-mid { display: none !important }
.xp-3d-face { transform: none !important }

/* ---------- Tipos de texto del sistema (pedir por número; ver AGENTS.md) ---------- */
/* texto 2 — línea/titular amarillo con glow, centrado y a sangre */
.texto-2 {
  font-family: var(--hc-anton) !important;
  font-size: clamp(2rem, 7.5vw, 7rem) !important;
  line-height: .82 !important;
  letter-spacing: -.01em !important;
  text-transform: uppercase !important;
  text-align: center !important;
  color: var(--hc-red) !important;
  filter: blur(1px);
  text-shadow:
    0 0 14px rgba(255, 196, 0, .35),
    0 0 40px rgba(255, 196, 0, .20);
  max-width: none !important;
  width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  margin-bottom: clamp(1rem, 2vw, 1.6rem) !important;
}
/* texto 2 en blanco (crema) */
.texto-2--white {
  color: var(--hc-cream) !important;
  text-shadow: 0 0 22px rgba(244, 243, 227, .18) !important;
}
/* Cita editorial: texto 2 en blanco y sin tarjeta */
.quote {
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  color: var(--hc-cream) !important;
}
.quote blockquote { max-width: none !important; font-style: normal !important }
.quote figcaption {
  margin-top: clamp(.8rem, 1.6vw, 1.4rem);
  text-align: center;
  font-family: var(--hc-anton) !important;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--hc-red) !important;
}
.quote .qsub { text-align: center; font-family: var(--hc-staff) !important; color: var(--hc-muted) !important; opacity: 1 !important }
/* Listas tipo "ticks": fuera los verdes, numeradas en nuestro estilo */
.local-points {
  list-style: none;
  margin: 0 0 clamp(1.4rem, 2.8vw, 2rem) !important;
  padding: 0 !important;
  display: grid !important;
  gap: .7rem !important;
  max-width: none !important;
  counter-reset: lp;
}
.local-points li { display: block !important; position: relative; padding-left: 2.7em; font-weight: 600 }
.local-points li .ok { display: none !important }
.local-points li::before {
  counter-increment: lp;
  content: "0" counter(lp);
  position: absolute; left: 0; top: .05em;
  font-family: var(--hc-anton);
  font-size: 1.15em; line-height: 1.1;
  color: var(--hc-red);
}
/* Caja con el contenido centrado (título texto 2 + párrafo texto 3 + botón) */
.callout--center { text-align: center !important }
.callout--center .texto-3 { text-align: center !important }
/* CTA libre (sin tarjeta): contenido centrado y botón con el texto legible */
.cta-free .content { text-align: center !important }
.cta-free .btn, .cta-free .btn-primary, .cta-free .btn-whatsapp, .cta-free .btn-big { color: #121212 !important }
.cta-free .btn:hover, .cta-free .btn-primary:hover, .cta-free .btn-whatsapp:hover, .cta-free .btn-big:hover { color: #121212 !important; background: #ffd94a !important }
/* texto 3 — párrafo informativo del index, para usar dentro de cajas/tarjetas */
.texto-3 {
  font-family: var(--hc-staff) !important;
  font-weight: 600 !important;
  font-size: clamp(1.375rem, 1.6vw, 2.125rem) !important;
  line-height: 1.1 !important;
  letter-spacing: normal !important;
  text-transform: uppercase !important;
  text-align: center !important;
  color: var(--hc-cream) !important;
  max-width: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* ---------- Chrome: cabecera / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 90;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: clamp(.6rem, 1.6vw, 1.1rem) clamp(1rem, 4vw, 3.25rem);
  background: rgba(18, 18, 18, .72);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hc-line);
}
.site-header .lm-logo { display: inline-flex; align-items: center; line-height: 0 }
.site-header .lm-logo img { height: clamp(21px, 2.4vw, 29px); width: auto; filter: brightness(0) invert(1) }
.site-header .lm-menu {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: clamp(.6rem, 1.6vw, 1.5rem);
  list-style: none; margin: 0; padding: 0;
}
.site-header .lm-menu a {
  color: var(--hc-cream) !important;
  font-family: var(--hc-staff) !important;
  font-size: clamp(.72rem, 1vw, .86rem);
  text-transform: uppercase;
  letter-spacing: .09em;
  text-decoration: none;
  background: none !important; border: 0 !important; box-shadow: none !important;
  padding: .25rem 0;
  border-bottom: 1px solid transparent;
  transition: color .3s var(--hc-ease), border-color .3s var(--hc-ease);
}
.site-header .lm-menu a:hover { color: var(--hc-red) !important; border-bottom-color: var(--hc-red) }
.site-header .lm-menu a[aria-current="page"] { color: var(--hc-red) !important }
.site-header .lm-menu a.hot {
  background: var(--hc-red) !important; color: #121212 !important;
  padding: .6em 1.1em; border-radius: 999px; border-bottom: 0;
}
.site-header .lm-menu a.hot:hover { background: var(--hc-cream) !important; color: #121212 !important }
.site-header .lm-sep, .site-header .lm-cur { color: var(--hc-muted) !important; font-size: .8rem }
.site-header .lm-lang-link { color: var(--hc-muted) !important }
.site-header .lm-burger { display: none }
@media (max-width: 900px) {
  .site-header .lm-menu { display: none }
  .site-header .lm-burger {
    display: grid; place-items: center;
    width: 44px; height: 44px; padding: 0; margin: 0;
    background: transparent; border: 0; cursor: pointer;
  }
  .site-header .lm-burger span { display: block; width: 26px; height: 2px; margin: 3px 0; background: var(--hc-cream) }
  .site-header .lm-burger span:nth-child(2) { display: none }
  body.hero-open .site-header .lm-menu {
    display: flex; flex-direction: column; align-items: flex-start;
    position: fixed; inset: 0; z-index: 120;
    background: var(--hc-bg);
    padding: clamp(5rem, 14vh, 8rem) clamp(1.25rem, 5vw, 3rem) clamp(1.5rem, 5vh, 2.5rem);
    gap: clamp(.4rem, 1.4vh, .9rem);
    overflow: auto;
  }
  body.hero-open .site-header .lm-menu a {
    font-family: var(--hc-anton) !important;
    font-size: clamp(2rem, 9vw, 3.4rem);
    letter-spacing: -.015em;
    color: var(--hc-cream) !important;
    border-bottom: 1px solid var(--hc-line);
    width: 100%;
    padding: .35rem 0;
  }
  body.hero-open .site-header .lm-menu a.hot { background: none !important; color: var(--hc-red) !important; border-radius: 0; padding: .35rem 0 }
}
@media (min-width: 901px) { .site-header .lm-burger { display: none !important } }

/* ---------- Chrome menor ---------- */
.cursor { display: none }
.to-top {
  position: fixed; right: clamp(14px, 2vw, 26px); bottom: clamp(14px, 2vw, 26px); z-index: 80;
  width: 46px; height: 46px; padding: 0; border: 0; border-radius: 999px;
  background: var(--hc-red); color: #121212;
  font-size: 1.1rem; cursor: pointer; box-shadow: none;
}
.to-top:hover { background: var(--hc-cream) }
.progress { background: rgba(244, 243, 227, .12) !important }
.progress-bar { background: var(--hc-red) !important }
.xp-words { color: var(--hc-cream) }
.xp-words-dot { background: var(--hc-red) !important }

.cookie-consent {
  background: var(--hc-bg2) !important; color: var(--hc-cream) !important;
  border: 1px solid var(--hc-line) !important; border-radius: var(--hc-r-s) !important;
  box-shadow: none !important;
}
.cookie-consent .cookie-title { font-family: var(--hc-anton) !important; text-transform: uppercase; color: var(--hc-red) !important }
.cookie-consent a { color: var(--hc-red) !important }

/* ---------- Secciones: paneles redondeados apilados ---------- */
main > section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: -2.5rem;
  border-top-left-radius: var(--hc-r-s);
  border-top-right-radius: var(--hc-r-s);
  background: var(--hc-bg) !important;
  color: var(--hc-cream) !important;
  padding: clamp(4.5rem, 8vw, 9rem) clamp(1rem, 4vw, 3.5rem);
}
main > section:first-of-type { margin-top: 0; border-radius: 0 }
@media (min-width: 1024px) {
  main > section { border-top-left-radius: var(--hc-r-l); border-top-right-radius: var(--hc-r-l) }
}
main > section > * { position: relative; z-index: 1 }
main > section:nth-of-type(even) { background: var(--hc-bg2) !important }

/* Bandas de color (misma lógica que el index) */
.page-hero, .page-body, .page-hero.blue, .page-hero.dark, .page-hero.orange { background: var(--hc-bg) !important; color: var(--hc-cream) !important }
.page-hero.yellow, .page-hero.acid { background: var(--hc-red) !important; color: #121212 !important }
.page-hero.pink { background: var(--hc-beige) !important; color: #121212 !important }
.page-hero.yellow .hero-title, .page-hero.acid .hero-title, .page-hero.pink .hero-title,
.page-hero.yellow .lead, .page-hero.acid .lead, .page-hero.pink .lead,
.page-hero.yellow .kicker, .page-hero.acid .kicker, .page-hero.pink .kicker,
.page-hero.yellow .breadcrumb, .page-hero.acid .breadcrumb, .page-hero.pink .breadcrumb,
.page-hero.yellow .breadcrumb a, .page-hero.acid .breadcrumb a, .page-hero.pink .breadcrumb a { color: #121212 !important }
.page-hero.yellow::before, .page-hero.acid::before, .page-hero.pink::before { color: #121212 !important; opacity: .1 }
.page-hero.yellow .hl, .page-hero.acid .hl, .page-hero.pink .hl { background: none !important; color: inherit !important }
/* En heroes de fondo claro (amarillo/acid/rosa) la palabra manuscrita va en blanco */
.page-hero.yellow .hero-title-script, .page-hero.acid .hero-title-script,
.page-hero.pink .hero-title-script { color: var(--hc-cream) !important }
.page-hero.yellow .btn-ghost, .page-hero.acid .btn-ghost, .page-hero.pink .btn-ghost { color: #121212 !important }
.page-hero.yellow .btn-ghost:hover, .page-hero.acid .btn-ghost:hover, .page-hero.pink .btn-ghost:hover { background: #121212 !important; color: var(--hc-cream) !important }

/* Palabra fantasma al fondo (usa data-xp-chapter, como el index) */
main > section[data-xp-chapter]::before {
  content: attr(data-xp-chapter);
  position: absolute;
  left: 50%;
  bottom: -.14em;
  transform: translateX(-50%);
  z-index: 0;
  font-family: var(--hc-anton);
  font-size: var(--hc-ghost);
  line-height: .8;
  white-space: nowrap;
  letter-spacing: -.02em;
  text-transform: uppercase;
  color: var(--hc-red);
  opacity: .12;
  filter: blur(.55vw);
  pointer-events: none;
  user-select: none;
}

/* Contenedor interior */
.content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1280px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
/* La cabecera de página va a sangre: el titular llega a todo el ancho (como el index) */
.page-hero > .content { max-width: none !important }
.page-hero .hero-title { max-width: none !important }
.page-hero .lead { max-width: 68ch }

/* ---------- Tipografía de sección ---------- */
.kicker, .breadcrumb {
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  width: auto !important;
  display: block;
  text-align: left;
}
.kicker {
  color: var(--hc-red) !important;
  font-family: var(--hc-staff) !important;
  text-transform: uppercase;
  letter-spacing: .09em;
  font-size: clamp(.72rem, 1vw, .95rem) !important;
  font-weight: 600;
  margin: 0 0 .9rem !important;
}
.section-title {
  /* Réplica del texto de la 2ª sección del index: Anton amarillo, glow + blur, a sangre y centrado */
  font-family: var(--hc-anton) !important;
  font-size: clamp(2rem, 7.5vw, 7rem) !important;
  line-height: .82 !important;
  letter-spacing: -.01em !important;
  text-align: center !important;
  color: var(--hc-red) !important;
  filter: blur(1px);
  text-shadow:
    0 0 14px rgba(255, 196, 0, .35),
    0 0 40px rgba(255, 196, 0, .20);
  width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  margin-bottom: clamp(1.2rem, 2.4vw, 2.2rem) !important;
}
.section-title .hl { background: none !important; color: inherit !important }
.hero-title {
  font-size: clamp(2.9rem, 11.5vw, 13rem) !important;
  line-height: .86 !important;
  letter-spacing: -.035em !important;
  margin: clamp(.6rem, 1.6vw, 1.2rem) 0 clamp(1.2rem, 2.4vw, 2rem) !important;
  color: var(--hc-cream) !important;
}
/* ---------- Titular tipo "Diseño web": palabra gigante a sangre (ancho completo),
   con palabra manuscrita encima. Entrada borrosa → nítida (efecto "EXISTES") ---------- */
.hero-title--display { margin: 0 0 clamp(1.2rem, 2.4vw, 2rem) !important }
.hero-title--display .hero-title-word {
  position: relative;
  z-index: 0;
  display: block;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  text-align: center;
  font-family: var(--hc-anton);
  font-size: 21vw;   /* respaldo sin JS (no desborda nunca); title-spread.js lo ajusta al ancho real */
  line-height: .84;
  letter-spacing: 0;
  color: inherit;      /* toma el color del titular (crema en oscuro, tinta en fondos claros) */
}
/* Entrada: aparece desenfocado y se enfoca al entrar en pantalla (scroll) */
.hero-title--display[data-reveal] {
  opacity: 0;
  filter: blur(30px);
  transform: perspective(900px) translateZ(120px) scale(1.03) !important;
  transition: opacity 2.4s ease, filter 2.8s ease, transform 3.1s cubic-bezier(.16, .84, .24, 1) !important;
  will-change: opacity, filter, transform;
}
.hero-title--display[data-reveal].in {
  opacity: 1;
  filter: none;
  transform: perspective(900px) translateZ(0) scale(1) !important;
}
.hero-title--display .hero-title-script {
  position: absolute;
  left: 50%;
  top: 46%;
  z-index: 2;
  transform: translate(-50%, -50%) rotate(-6deg);
  font-family: "Ontro Buck", "Segoe Script", cursive;
  font-style: normal;
  font-weight: 400;
  font-size: .2em;
  line-height: 1;
  letter-spacing: 0;
  text-transform: lowercase;
  color: var(--hc-red);
  pointer-events: none;
}
.hero-title--display .hero-title-rest {
  display: block;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-top: clamp(1rem, 2.2vw, 2rem);
  text-align: center;
  /* Réplica del texto de la 2ª sección del index (Anton, amarillo, glow + blur) */
  font-family: var(--hc-anton);
  font-size: clamp(2rem, 7.5vw, 7rem);
  line-height: .82;
  letter-spacing: -.01em;
  color: var(--hc-red);
  filter: blur(1px);
  text-shadow:
    0 0 14px rgba(255, 196, 0, .35),
    0 0 40px rgba(255, 196, 0, .20);
}
.hero-title--display .hero-title-rest .hl {
  background: none !important;
  color: inherit !important;
}
/* Letras que se separan al hacer scroll (assets/title-spread.js) */
.hero-title--display .st-ltr {
  display: inline-block;
  position: relative;
  z-index: 1;
  will-change: transform;
}
/* Destello en el marco de las letras: copia desenfocada detrás (referencia /work) */
.hero-title--display .st-glow {
  position: absolute;
  left: 0; top: 0;
  z-index: -1;
  color: inherit;
  filter: blur(clamp(2px, .4vw, 8px));
  pointer-events: none;
}
/* Entradilla del hero = texto informativo del index (Staff, mayúsculas, 600, centrado, a sangre) */
.page-hero .lead {
  font-family: var(--hc-staff) !important;
  font-weight: 600 !important;
  font-size: clamp(1.375rem, 1.6vw, 2.125rem) !important;
  line-height: 1.1 !important;
  letter-spacing: normal !important;
  text-transform: uppercase !important;
  text-align: center !important;
  color: var(--hc-cream) !important;
  opacity: .95 !important;
  max-width: none !important;
  width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding: 0 2vw !important;
}
@media (max-width: 760px) {
  .hero-title--display .hero-title-script { font-size: .24em; top: 44% }
}
@media (prefers-reduced-motion: reduce) {
  .hero-title--display[data-reveal] {
    opacity: 1; filter: none !important; transform: none !important; transition: none !important;
  }
}
/* Sin tarjeta flotante ni banner del programa Fundadores (promo) */
.f5-float, .f5-banner { display: none !important }
/* Fuera de la cabecera, el titular del bloque no compite con el H1 */
/* Dentro de callouts/tarjetas el titular vuelve a su tamaño de bloque (sin efecto de sección) */
.callout .section-title {
  font-size: clamp(1.9rem, 5.2vw, 4.6rem) !important;
  line-height: .94 !important;
  color: var(--hc-cream) !important;
  filter: none;
  text-shadow: none;
  text-align: left !important;
  width: auto !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.hl {
  background: none !important;
  color: inherit !important;
  box-shadow: none !important;
  padding: 0 !important;
  transform: none !important;   /* nunca inclinado */
  border-radius: 0;
}
.hl::-moz-selection, .hl::selection { background: var(--hc-cream); color: var(--hc-red) }
.lead {
  font-size: clamp(1.02rem, 1.5vw, 1.3rem) !important;
  line-height: 1.5 !important;
  color: var(--hc-cream) !important;
  opacity: .88;
  max-width: 62ch;
  margin: 0 0 clamp(1.2rem, 2.4vw, 1.8rem) !important;
}
.panel-text {
  /* Texto informativo del index: Staff, mayúsculas, 600, centrado y a sangre */
  font-family: var(--hc-staff) !important;
  font-weight: 600 !important;
  font-size: clamp(1.375rem, 1.6vw, 2.125rem) !important;
  line-height: 1.1 !important;
  letter-spacing: normal !important;
  text-transform: uppercase !important;
  text-align: center !important;
  color: var(--hc-cream) !important;
  opacity: .95 !important;
  max-width: none !important;
  width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  margin-bottom: clamp(1.2rem, 2.2vw, 1.8rem) !important;
  padding: 0 2vw !important;
}
main a:not(.btn):not(.xr-btn):not(.lm-menu a) { color: var(--hc-red) }
.panel-text a, .lead a, .callout a, .faq-a a, .card a {
  color: var(--hc-red) !important;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
.breadcrumb {
  font-size: clamp(.7rem, .95vw, .82rem) !important;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--hc-muted) !important;
  margin: 0 0 1rem !important;
}
.breadcrumb a { color: var(--hc-cream) !important; text-decoration: none; border-bottom: 1px solid transparent }
.breadcrumb a:hover { color: var(--hc-red) !important; border-bottom-color: var(--hc-red) }
.xp-hero-ghost {
  font-family: var(--hc-anton) !important;
  text-transform: uppercase;
  color: var(--hc-red) !important;
  opacity: .12 !important;
  filter: blur(.55vw);
}

/* ---------- Grids ---------- */
.grid-2, .grid-3, .grid-4 {
  display: grid; gap: clamp(12px, 1.4vw, 20px);
  margin: 0 0 clamp(1.5rem, 3vw, 2.5rem);
}
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) }
@media (max-width: 1020px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)) }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr }
}

/* ---------- Tarjetas ---------- */
.card, .price-card, .case, .feat {
  background: rgba(0, 0, 0, .22) !important;
  border: 1px solid var(--hc-line) !important;
  border-radius: var(--hc-r-s) !important;
  box-shadow: none !important;
  color: var(--hc-cream) !important;
  padding: clamp(1.1rem, 2vw, 1.7rem) !important;
  transition: transform .45s var(--hc-ease), border-color .45s var(--hc-ease), background-color .45s var(--hc-ease);
}
.card:hover, .price-card:hover, .case:hover, .feat:hover {
  transform: translateY(-5px);
  border-color: var(--hc-red) !important;
  background: rgba(0, 0, 0, .32) !important;
}
.card h3, .price-card h3, .case h3, .feat h3 {
  font-size: clamp(1.05rem, 1.6vw, 1.5rem) !important;
  margin: 0 0 .5rem !important;
}
.card p, .price-card p, .case p { opacity: .85; margin: 0 }
.card-num {
  display: block;
  color: var(--hc-red) !important;
  font-size: clamp(.8rem, 1vw, .95rem) !important;
  letter-spacing: .08em;
  margin-bottom: .5rem;
}

/* ---------- Botones ---------- */
.btn, .btn-primary, .btn-whatsapp, .btn-ghost, .btn-big {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--hc-anton) !important;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: clamp(.82rem, 1.1vw, 1rem) !important;
  line-height: 1;
  padding: .85em 1.5em !important;
  border: 0 !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  text-decoration: none !important;
  background: var(--hc-red) !important;
  color: var(--hc-cream) !important;
  transition: transform .4s var(--hc-ease), background-color .4s var(--hc-ease), color .4s var(--hc-ease);
}
@media (min-width: 1024px) { .btn, .btn-primary, .btn-whatsapp, .btn-ghost, .btn-big { border-radius: 24px !important } }
.btn:hover, .btn-primary:hover, .btn-whatsapp:hover, .btn-big:hover {
  transform: scale(.97);
  background: #ffd94a !important;
  color: var(--hc-cream) !important;
}
.btn-ghost {
  background: transparent !important;
  color: var(--hc-cream) !important;
  border: 1px solid currentColor !important;
}
.btn-ghost:hover { background: var(--hc-cream) !important; color: #121212 !important }
.btn-big { font-size: clamp(.95rem, 1.4vw, 1.25rem) !important; padding: 1em 1.8em !important }
.hero-actions, .rw-ctas { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center }

/* ---------- Callouts ---------- */
.callout {
  background: rgba(0, 0, 0, .22) !important;
  border: 1px solid var(--hc-line) !important;
  border-radius: var(--hc-r-l) !important;
  box-shadow: none !important;
  padding: clamp(1.4rem, 3vw, 2.6rem) !important;
  color: var(--hc-cream) !important;
}
.callout.dark { background: var(--hc-cream) !important; color: #121212 !important; border-color: var(--hc-cream) !important }
.callout.dark .kicker { color: var(--hc-red) !important }
.callout.dark .section-title, .callout.dark p, .callout.dark h2, .callout.dark h3, .callout.dark strong { color: #121212 !important }
.callout.dark a { color: #121212 !important }
.callout.dark .btn, .callout.dark .btn-primary, .callout.dark .btn-whatsapp { background: #121212 !important; color: var(--hc-cream) !important }
.callout.dark .btn:hover { background: var(--hc-red) !important }
.callout ul { list-style: none; margin: .8rem 0 0; padding: 0; display: grid; gap: .5rem }
.callout li { position: relative; padding-left: 1.2rem }
.callout li::before { content: ""; position: absolute; left: 0; top: .55em; width: .5em; height: .5em; background: var(--hc-red); border-radius: 2px }
.callout.dark li::before { background: #121212 }

/* ---------- Timeline / proceso (tarjetas estilo HC) ---------- */
.timeline { list-style: none; margin: 0 0 clamp(1.5rem, 3vw, 2.5rem); padding: 0; display: grid; gap: clamp(12px, 1.4vw, 20px) }
.timeline li {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(.9rem, 1.8vw, 1.6rem);
  align-items: start;
  background: rgba(0, 0, 0, .22) !important;
  border: 1px solid var(--hc-line) !important;
  border-radius: var(--hc-r-s) !important;
  padding: clamp(1.1rem, 2vw, 1.8rem) !important;
  transition: transform .45s var(--hc-ease), border-color .45s var(--hc-ease), background-color .45s var(--hc-ease);
}
@media (min-width: 1024px) {
  .timeline li { border-radius: var(--hc-r-l) !important }
}
.timeline li:hover {
  transform: translateY(-5px);
  border-color: var(--hc-red) !important;
  background: rgba(0, 0, 0, .42) !important;
}
/* Número grande en amarillo, sin caja */
.timeline .step-num {
  display: block !important;
  width: auto !important; height: auto !important;
  background: none !important; border: 0 !important; box-shadow: none !important;
  margin: 0 !important;
  font-family: var(--hc-anton) !important;
  font-size: clamp(2.2rem, 3.6vw, 3.6rem) !important;
  line-height: .8;
  color: var(--hc-red) !important;
}
.timeline h3 { margin: 0 0 .35rem !important; font-size: clamp(1.1rem, 1.7vw, 1.6rem) !important }
.timeline p { margin: 0; opacity: .8 }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: clamp(10px, 1.2vw, 16px); margin: 0 0 clamp(1.5rem, 3vw, 2.5rem) }
.faq {
  background: rgba(0, 0, 0, .22) !important;
  border: 1px solid var(--hc-line) !important;
  border-radius: var(--hc-r-s) !important;
  box-shadow: none !important;
  overflow: hidden;
}
.faq summary {
  list-style: none; cursor: pointer;
  padding: clamp(1rem, 1.8vw, 1.4rem) clamp(1.1rem, 2vw, 1.7rem);
  font-family: var(--hc-anton) !important;
  text-transform: uppercase;
  font-size: clamp(1rem, 1.5vw, 1.35rem) !important;
  color: var(--hc-cream) !important;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none }
.faq summary::after { content: "+"; color: var(--hc-red); font-family: var(--hc-anton); font-size: 1.4em; line-height: .7 }
.faq[open] summary::after { content: "–" }
.faq[open] summary { color: var(--hc-red) !important }
.faq { color: var(--hc-cream) !important }
.faq summary:hover, .faq summary:focus-visible { background: rgba(255, 196, 0, .07) !important; color: var(--hc-cream) !important }
.faq[open] { border-color: var(--hc-red) !important }
.faq-a { margin: 0 !important; padding: 0 clamp(1.1rem, 2vw, 1.7rem) clamp(1.1rem, 2vw, 1.5rem); opacity: .85; line-height: 1.6; color: inherit !important }

/* ---------- Precios ---------- */
.price { font-family: var(--hc-anton) !important; color: var(--hc-red) !important; font-size: clamp(2rem, 4vw, 3.6rem) !important; line-height: .9 }
.price-body { opacity: .85 }
.price-card.hot, .price-card.dark { background: var(--hc-red) !important; border-color: var(--hc-red) !important; color: var(--hc-cream) !important }
.price-card.hot h3, .price-card.hot .price, .price-card.hot p { color: var(--hc-cream) !important }
.price-card ul { list-style: none; margin: .8rem 0 0; padding: 0; display: grid; gap: .45rem }
.price-card li { position: relative; padding-left: 1.1rem }
.price-card li::before { content: ""; position: absolute; left: 0; top: .55em; width: .45em; height: .45em; background: var(--hc-red); border-radius: 2px }

/* ---------- Precios a sangre, estilo HC ---------- */
.price-body {
  width: 100vw !important;
  max-width: none !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  grid-template-columns: 1fr !important;
  gap: 1px !important;
  opacity: 1 !important;
  background: var(--hc-line) !important;   /* las juntas finas */
  border-radius: var(--hc-r-s) !important;
  overflow: hidden;
  padding: 0 !important;
}
@media (min-width: 900px) { .price-body { grid-template-columns: repeat(3, 1fr) !important } }
@media (min-width: 1024px) { .price-body { border-radius: var(--hc-r-l) !important } }
.price-card {
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--hc-bg) !important;
  padding: clamp(1.4rem, 2.6vw, 2.4rem) !important;
  transition: background-color .45s var(--hc-ease);
}
.price-card:hover { transform: none !important; background: var(--hc-bg2) !important }
.price-card h3 { font-size: clamp(1.2rem, 2vw, 1.8rem) !important }
.price-card ul { margin: .8rem 0 1.4rem !important; gap: .55rem !important }
.price-card .btn { margin-top: auto !important; align-self: flex-start }
/* Botones: texto oscuro sobre el amarillo; el ghost, crema */
.price-card .btn, .price-card .btn-primary, .price-card .btn-whatsapp { color: #121212 !important }
.price-card .btn-ghost { color: var(--hc-cream) !important; border-color: var(--hc-line) !important }
.price-card .btn-ghost:hover { background: var(--hc-cream) !important; color: #121212 !important }
/* Tarjeta destacada (la del medio) en amarillo */
.price-card.feat { background: var(--hc-red) !important; color: #121212 !important }
.price-card.feat h3, .price-card.feat .price, .price-card.feat p, .price-card.feat li { color: #121212 !important }
.price-card.feat li::before { background: #121212 !important }
.price-card.feat:hover { background: #ffd94a !important }
.price-card.feat .btn-ghost { color: #121212 !important; border-color: #121212 !important }
.price-card.feat .btn-ghost:hover { background: #121212 !important; color: var(--hc-red) !important }

/* ---------- Métricas / stats ---------- */
.stat { background: rgba(0, 0, 0, .22) !important; border: 1px solid var(--hc-line) !important; border-radius: var(--hc-r-s) !important; padding: clamp(1rem, 2vw, 1.6rem) !important }
.stat-num { color: var(--hc-red) !important; font-size: clamp(2rem, 4.4vw, 4rem) !important; line-height: .9; display: block }
.stat-label { color: var(--hc-muted) !important; text-transform: uppercase; letter-spacing: .08em; font-size: clamp(.7rem, .95vw, .82rem) }
.case-metric { color: var(--hc-red) !important; font-family: var(--hc-anton) !important; font-size: clamp(1.3rem, 2.2vw, 2rem) !important }
.case-tag {
  display: inline-block; background: var(--hc-red) !important; color: var(--hc-cream) !important;
  border-radius: 999px; padding: .3em .9em; font-size: .72rem; letter-spacing: .07em; text-transform: uppercase;
}

/* ---------- Maquetas demo (marcos de navegador) ---------- */
.demo-screen, .demo-card, .demo-feat {
  background: #000 !important;
  border: 1px solid var(--hc-line) !important;
  border-radius: var(--hc-r-s) !important;
  box-shadow: none !important;
  overflow: hidden;
}
.demo-bar { background: rgba(244, 243, 227, .08) !important; border-bottom: 1px solid var(--hc-line) !important }
.demo-bar i, .demo-bar span { background: rgba(244, 243, 227, .35) !important; border-radius: 999px }

/* ---------- Formularios ---------- */
input, textarea, select {
  background: rgba(0, 0, 0, .28) !important;
  color: var(--hc-cream) !important;
  border: 1px solid var(--hc-line) !important;
  border-radius: var(--hc-r-s) !important;
  padding: .85em 1em !important;
  font-size: 1rem;
  box-shadow: none !important;
  -webkit-appearance: none;
  appearance: none;
}
input::placeholder, textarea::placeholder { color: var(--hc-muted) !important }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--hc-red) !important; outline-offset: 1px }
/* Desplegable: flecha propia, sin el aspecto del navegador */
select {
  padding-right: 2.8em !important;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'%3E%3Cpath d='M1 1l7 7 7-7' fill='none' stroke='%23ffc400' stroke-width='2.4' stroke-linecap='square'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 1em center !important;
  background-size: 13px 8px !important;
}
select:hover { border-color: var(--hc-red) !important }
select option {
  background: #121212;
  color: var(--hc-cream);
  font-family: var(--hc-staff);
  padding: .6em;
}
select:invalid { color: var(--hc-muted) !important }
label { color: var(--hc-cream) !important; text-transform: uppercase; letter-spacing: .06em; font-size: .78rem }
.field-error { color: var(--hc-red) !important; font-size: .82rem }
.ok { color: var(--hc-red) !important }

/* ---------- Footer (igual que el index) ---------- */
.xr-torn { display: none }
.xr-footer {
  position: relative; z-index: 1;
  background: var(--hc-bg) !important;
  border-top-left-radius: var(--hc-r-l); border-top-right-radius: var(--hc-r-l);
  margin-top: -2.5rem;
  padding: 46px 0 30px !important;
  color: var(--hc-cream) !important;
}
.xr-footer, .xr-footer * { color: var(--hc-cream) !important; -webkit-text-fill-color: var(--hc-cream) !important }
.xr-footer-grid {
  max-width: 1280px; margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 44px);
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 26px;
}
.xr-footer h2 { color: var(--hc-red) !important; -webkit-text-fill-color: var(--hc-red) !important; text-transform: uppercase; font-size: .78rem !important; letter-spacing: .1em; margin: 0 0 12px }
.xr-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px }
.xr-footer a { color: var(--hc-cream) !important; text-decoration: none; font-weight: 600; font-size: .9rem; border-bottom: 1px solid transparent }
.xr-footer a:hover { color: var(--hc-red) !important; border-bottom-color: var(--hc-red) }
.xr-footer .blurb { font-size: .88rem; opacity: .85; margin: 12px 0 16px; max-width: 40ch }
.xr-footer .footer-logo, .xr-footer .brand-logo { filter: brightness(0) invert(1); height: 52px; width: auto; max-width: 220px; object-fit: contain; display: block }
.xr-footer .xr-btn {
  display: inline-block; background: transparent !important; color: var(--hc-cream) !important;
  border: 1px solid var(--hc-line) !important; border-radius: 999px !important;
  padding: .7em 1.3em; font-family: var(--hc-anton) !important; text-transform: uppercase; letter-spacing: .05em;
  box-shadow: none !important;
}
.xr-footer .xr-btn:hover { background: var(--hc-red) !important; color: #121212 !important; border-color: var(--hc-red) !important }
.xr-footer-bar {
  max-width: 1280px; margin: 26px auto 0; padding: 16px clamp(16px, 4vw, 44px) 0;
  border-top: 1px solid var(--hc-line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  font-size: .8rem;
}
.xr-footer-bar a { color: var(--hc-cream) !important }
@media (max-width: 1020px) { .xr-footer-grid { grid-template-columns: 1fr 1fr } }
@media (max-width: 640px) {
  .xr-footer { padding: 24px 0 16px !important; margin-top: -1.25rem }
  .xr-footer-grid { grid-template-columns: 1fr 1fr !important; gap: 1.3rem 1.1rem !important }
  .xr-footer-grid > div:first-child { grid-column: 1 / -1 !important }
  .xr-footer .footer-logo { height: 32px !important; max-width: 160px !important }
  .xr-footer .blurb { font-size: .76rem !important; margin: .45rem 0 .7rem !important }
  .xr-footer .xr-btn { padding: .62em 1.1em !important; font-size: .7rem !important }
  .xr-footer h2 { font-size: .66rem !important; margin-bottom: .35rem !important }
  .xr-footer ul { gap: .28rem !important }
  .xr-footer a { font-size: .77rem !important }
  .xr-footer-bar { margin-top: 1rem !important; padding-top: .8rem !important; font-size: .7rem !important; flex-direction: row; align-items: center }
}

/* ---------- Fondos oscuros alternos para páginas de contenido ---------- */
.page-hero { color: var(--hc-cream) !important }
.on-light, .on-dark { color: var(--hc-cream) !important }

/* ---------- Responsive de composición ---------- */
@media (max-width: 760px) {
  main > section { padding: clamp(3rem, 9vw, 4.5rem) clamp(1rem, 5vw, 1.5rem) }
  .hero-title { font-size: clamp(2.1rem, 10vw, 3.2rem) !important }
  .callout { border-radius: var(--hc-r-s) !important }
}
@media (prefers-reduced-motion: reduce) {
  .card, .price-card, .case, .feat, .btn, .btn-primary, .btn-whatsapp, .btn-ghost, .btn-big { transition: none !important }
}

/* =========================================================
   COMPONENTES DEL INDEX (menú, logo, botones grandes, footer)
   ========================================================= */

/* ---------- Nav: solo logo + hamburguesa (como el index) ---------- */
.site-header {
  position: static !important;
  background: none !important;
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
  border: 0 !important;
  padding: 0 !important;
  display: block !important;
}
.site-header .lm-menu { display: none !important }
.site-header .lm-logo {
  position: fixed !important;
  top: clamp(12px, 2.4vh, 24px) !important;
  left: clamp(12px, 2vw, 30px) !important;
  z-index: 165 !important;
  width: clamp(104px, 11vw, 146px) !important;
  aspect-ratio: 145 / 117;
  display: block !important;
  line-height: 0;
  transform: none !important;
}
.site-header .lm-logo img {
  position: absolute; left: 0; top: 10.3%; width: 70.3%; height: auto;
  filter: brightness(0) invert(1);
}
.site-header .lm-logo canvas { display: block }
.site-header .lm-burger {
  display: grid !important; place-items: center;
  position: fixed !important;
  top: clamp(12px, 2.2vh, 22px) !important;
  right: clamp(12px, 2vw, 26px) !important;
  left: auto !important;
  width: 46px !important; height: 46px !important;
  margin: 0 !important; padding: 0 !important;
  background: transparent !important; border: 0 !important;
  z-index: 166 !important; cursor: pointer;
}
.site-header .lm-burger span {
  display: block !important;
  background: var(--hc-cream) !important;
  width: 28px !important; height: 2px !important; margin: 3px 0 !important;
  transition: transform .4s var(--hc-ease), background-color .3s var(--hc-ease);
}
.site-header .lm-burger span:nth-child(2) { display: none !important }
body.hc-menu-open .site-header .lm-burger span { background: var(--hc-cream) !important }
body.hc-menu-open .site-header .lm-burger span:nth-child(1) { transform: translateY(5px) rotate(45deg) }
body.hc-menu-open .site-header .lm-burger span:nth-child(3) { transform: translateY(-5px) rotate(-45deg) }
body.hc-menu-open .site-header .lm-logo { opacity: 0; pointer-events: none }

/* ---------- Menú a pantalla completa (el del index) ---------- */
body::before { content: ""; position: fixed; inset: 0; z-index: 124; background: rgba(8, 8, 8, .62); opacity: 0; pointer-events: none; transition: opacity .45s var(--hc-ease) }
body.hc-menu-open::before { opacity: 1; pointer-events: auto }
body.hc-menu-open { overflow: hidden }
.hc-menu {
  position: fixed; inset: 0; z-index: 125;
  background: var(--hc-bg); color: var(--hc-cream);
  display: flex; flex-direction: column; justify-content: center;
  gap: clamp(1.25rem, 4vh, 2.5rem);
  padding: clamp(3.75rem, 9vh, 6rem) clamp(1.25rem, 4vw, 3.25rem) clamp(1.25rem, 4vh, 2.25rem);
  overflow: auto;
  opacity: 0; visibility: hidden;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .7s cubic-bezier(.76, 0, .24, 1), opacity .35s var(--hc-ease), visibility 0s linear .45s;
}
.hc-menu::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(115% 75% at 84% 4%, rgba(255, 196, 0, .10) 0%, transparent 58%),
    radial-gradient(150% 120% at 8% 100%, rgba(0, 0, 0, .6) 0%, transparent 68%);
}
body.hc-menu-open .hc-menu {
  opacity: 1; visibility: visible; clip-path: inset(0 0 0 0);
  transition: clip-path .7s cubic-bezier(.76, 0, .24, 1), opacity .25s var(--hc-ease), visibility 0s;
}
.hc-menu-close { display: none !important }
.hc-menu-close-off {
  position: absolute; top: clamp(12px, 2.2vh, 22px); right: clamp(12px, 2vw, 26px); z-index: 3;
  width: 46px; height: 46px; margin: 0; padding: 0;
  background: transparent !important; border: 0 !important; box-shadow: none !important; cursor: pointer;
}
.hc-menu-close::before, .hc-menu-close::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 28px; height: 2px; background: var(--hc-cream); transition: background-color .3s var(--hc-ease);
}
.hc-menu-close::before { transform: translate(-50%, -50%) rotate(45deg) }
.hc-menu-close::after { transform: translate(-50%, -50%) rotate(-45deg) }
.hc-menu-close:hover::before, .hc-menu-close:hover::after { background: var(--hc-red) }
.hc-menu-list { position: relative; z-index: 1; display: flex; flex-direction: column }
.hc-menu a.hc-menu-link {
  display: block; width: 100%;
  font-family: var(--hc-anton) !important; font-weight: 400; text-transform: uppercase;
  font-size: clamp(2.1rem, min(8vw, 7.2vh), 5rem);
  line-height: 1.03; letter-spacing: -.015em;
  color: var(--hc-cream) !important;
  background: none !important; border: 0; border-bottom: 1px solid var(--hc-line); border-radius: 0; box-shadow: none !important;
  text-decoration: none;
  padding: clamp(.35rem, 1.1vh, .8rem) 0;
  transform: translateY(.35em); opacity: 0;
  transition: color .3s var(--hc-ease), padding-left .5s var(--hc-ease), opacity .5s var(--hc-ease), transform .5s var(--hc-ease);
}
body.hc-menu-open .hc-menu a.hc-menu-link { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 55ms + 100ms) }
.hc-menu a.hc-menu-link:hover, .hc-menu a.hc-menu-link:focus-visible { color: var(--hc-red) !important; padding-left: clamp(.1em, 1.6vw, .45em); outline: none }
.hc-menu a.hc-menu-link.is-hot { color: var(--hc-red) !important }
.hc-menu a.hc-menu-link.is-hot:hover { color: var(--hc-cream) !important }
.hc-menu-foot {
  position: relative; z-index: 1;
  display: flex; align-items: center; flex-wrap: wrap; gap: .9rem 1.5rem;
  padding-top: clamp(.85rem, 2.2vh, 1.4rem);
  border-top: 1px solid var(--hc-line);
  font-family: var(--hc-staff); font-size: clamp(.78rem, 1.5vw, .92rem);
  letter-spacing: .07em; text-transform: uppercase; color: var(--hc-muted);
}
.hc-menu-foot a { color: var(--hc-cream) !important; text-decoration: none; border-bottom: 1px solid transparent; transition: color .3s var(--hc-ease), border-color .3s var(--hc-ease) }
.hc-menu-foot a:hover { color: var(--hc-red) !important; border-bottom-color: var(--hc-red) }
.hc-menu-cta { background: var(--hc-red) !important; color: #121212 !important; padding: .72em 1.35em; border-radius: 999px; font-family: var(--hc-bold); font-weight: 700; letter-spacing: .04em }
.hc-menu-cta:hover { background: var(--hc-cream) !important; color: #121212 !important; border-bottom-color: transparent !important }
.hc-menu-tel { margin-left: auto }
@media (prefers-reduced-motion: reduce) {
  .hc-menu, body.hc-menu-open .hc-menu { clip-path: none }
  .hc-menu a.hc-menu-link, body.hc-menu-open .hc-menu a.hc-menu-link { opacity: 1; transform: none; transition-delay: 0s }
}

/* ---------- Botones grandes del index: texto centrado, temblor y vídeo dentro ---------- */
.xr-actions, .hero-actions, .rw-ctas { display: flex; flex-wrap: wrap; gap: .8rem; align-items: stretch; width: 100% }
.btn-primary, .btn-whatsapp, .btn-big, .btn-ghost {
  position: relative; overflow: hidden;
  display: flex !important; align-items: center; justify-content: center; text-align: center;
  flex: 1 1 100%;
  padding: clamp(1.5rem, 4vw, 4rem) 2.5rem !important;
  border-radius: 24px !important;
  font-size: clamp(1.6rem, 3.6vw, 3.75rem) !important;
  line-height: 1;
  white-space: nowrap;
}
@media (min-width: 1024px) { .btn-primary, .btn-whatsapp, .btn-big, .btn-ghost { flex: 1 1 calc(50% - .5rem) } }
.btn-primary .rw-cta-title, .btn-whatsapp .rw-cta-title, .btn-big .rw-cta-title, .btn-ghost .rw-cta-title {
  position: relative; z-index: 2; display: inline-block; white-space: nowrap;
  transform-origin: 50% 100%;
}
.btn-primary .rw-cta-video, .btn-whatsapp .rw-cta-video, .btn-big .rw-cta-video, .btn-ghost .rw-cta-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; pointer-events: none;
  transition: opacity .35s var(--hc-ease);
}
@media (min-width: 1024px) {
  .btn-primary:hover, .btn-whatsapp:hover, .btn-big:hover, .btn-ghost:hover { transform: scale(.97) }
  .btn-primary:hover .rw-cta-video, .btn-whatsapp:hover .rw-cta-video, .btn-big:hover .rw-cta-video, .btn-ghost:hover .rw-cta-video { opacity: .1 }
  .btn-primary:hover .rw-cta-title, .btn-whatsapp:hover .rw-cta-title, .btn-big:hover .rw-cta-title, .btn-ghost:hover .rw-cta-title { animation: rw-shake .5s linear infinite }
}
@keyframes rw-shake {
  0% { transform: translate(2px, 1px) } 10% { transform: translate(-1px, -2px) } 20% { transform: translate(-3px, 0) }
  30% { transform: translateY(2px) } 40% { transform: translate(1px, -1px) } 50% { transform: translate(-1px, 2px) }
  60% { transform: translate(-3px, 1px) } 70% { transform: translate(2px, 1px) } 80% { transform: translate(-1px, -1px) }
  90% { transform: translate(2px, 2px) } to { transform: translate(2px, 1px) }
}
/* Texto de los botones grandes: siempre centrado y con salto si no cabe (nunca fuera) */
.btn-primary, .btn-whatsapp, .btn-big, .btn-ghost { white-space: normal !important; text-align: center !important; justify-content: center !important }
.btn-primary .rw-cta-title, .btn-whatsapp .rw-cta-title, .btn-big .rw-cta-title, .btn-ghost .rw-cta-title { white-space: normal !important; text-align: center !important; max-width: 100% }
/* Botones de interfaz (cookies, tarjetas, callouts, formularios): no a sangre */
.callout .btn-primary, .callout .btn-whatsapp, .callout .btn-big, .callout .btn-ghost,
.card .btn-primary, .card .btn-whatsapp, .card .btn-big, .card .btn-ghost,
.price-card .btn-primary, .price-card .btn-whatsapp, .price-card .btn-big, .price-card .btn-ghost,
.cookie-consent .btn, .cookie-consent .btn-primary, .cookie-consent .btn-whatsapp, .cookie-consent .btn-ghost,
form .btn, form .btn-primary, form .btn-whatsapp, form .btn-ghost,
.site-header .btn, .hc-menu .btn { flex: 0 1 auto !important; width: auto !important; padding: .85em 1.5em !important; font-size: clamp(.85rem, 1.1vw, 1.05rem) !important; white-space: normal !important }
.cookie-consent .rw-cta-video, form .rw-cta-video, .callout .rw-cta-video, .card .rw-cta-video, .price-card .rw-cta-video { display: none }
/* Aire entre el texto de una caja y su botón */
.callout .btn, .callout .btn-primary, .callout .btn-whatsapp, .callout .btn-big, .callout .btn-ghost { margin-top: clamp(1.2rem, 2.4vw, 1.8rem) !important }
/* Una caja justo detrás de una rejilla/timeline/precios: un poco de aire */
.timeline + .callout, .price-body + .callout, .grid-3 + .callout, .grid-2 + .callout { margin-top: clamp(1.4rem, 2.8vw, 2.4rem) !important }

/* ---------- Vídeo de fondo del footer (el del index) ---------- */
.xr-footer { position: relative; overflow: hidden; isolation: isolate }
.xr-footer > * { position: relative; z-index: 1 }
.xr-footer > .xr-footer-bg { z-index: 0 }
.xr-footer-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%;
  opacity: 1; filter: none;
}
.xr-footer::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(18, 18, 18, .45) 0%, rgba(18, 18, 18, .72) 70%);
}

@supports (height: 100svh) {
  /* Móvil: svh no cambia con la barra del navegador, el logo no baila */
  .site-header .lm-logo { top: clamp(10px, 2.4svh, 22px) !important }
}

/* ---------- Logo mini al hacer scroll (assets/logo-mini.js) ---------- */
.site-header .lm-logo { transition: width .45s var(--hc-ease), top .45s var(--hc-ease) }
body.logo-mini .site-header .lm-logo { width: clamp(44px, 4.6vw, 62px) !important }

/* Difuminado durante el trayecto de mini */
.site-header .lm-logo { transition: width .5s var(--hc-ease), top .5s var(--hc-ease), filter .5s var(--hc-ease) }
body.logo-anim .site-header .lm-logo { filter: blur(2.2px) }

/* Burguer (menú desplegable): mini + difuminado como el logo */
.site-header .lm-burger { transition: transform .5s var(--hc-ease), filter .5s var(--hc-ease) !important }
body.logo-mini .site-header .lm-burger { transform: scale(.6) !important }
body.logo-anim .site-header .lm-burger { filter: blur(2.2px) }
