/* ============================================================
   Lealy · Landings de campaña (go.lealyapp.com)

   Sistema visual sobrio: blanco, escala de grises neutra y el
   naranja de marca solo como acento. Sin degradados de relleno
   ni sombras de color, que es lo que delata una plantilla.
   ============================================================ */

:root {
  --bg: #ffffff;
  --surface: #fafafa;
  --surface-2: #f4f4f5;
  --ink: #0a0a0b;
  --ink-2: #27272a;
  --fg: #18181b;
  --fg-secondary: #3f3f46;
  --muted: #71717a;
  --muted-2: #a1a1aa;
  --border: #e6e6e9;
  --border-soft: #f0f0f2;

  --brand: #ff731d;
  --brand-600: #ea5f0b;
  --brand-700: #c24d08;
  --brand-50: #fff6f0;
  --brand-100: #ffe4d2;

  --green: #16a34a;
  --green-50: #f2fdf5;

  --r-sm: 10px;
  --r: 13px;
  --r-lg: 18px;
  --r-xl: 26px;
  --pill: 999px;

  /* Sombras neutras y cortas: la luz cae, no se derrama. */
  --sh-xs: 0 1px 2px rgba(10, 10, 11, 0.05);
  --sh-sm: 0 1px 3px rgba(10, 10, 11, 0.06), 0 1px 2px rgba(10, 10, 11, 0.04);
  --sh-md: 0 4px 12px rgba(10, 10, 11, 0.06), 0 1px 3px rgba(10, 10, 11, 0.04);
  --sh-lg: 0 18px 50px -12px rgba(10, 10, 11, 0.18);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Inter Tight', 'Inter', -apple-system, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  /* El header pegajoso no debe tapar el título de la sección de destino. */
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--fg);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

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

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.032em;
  line-height: 1.08;
  color: var(--ink);
}

::selection { background: var(--brand-100); color: var(--brand-700); }

:where(a, button, input, summary):focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 6px;
}

.container {
  max-width: 1128px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow { max-width: 820px; margin: 0 auto; }

/* Rejilla de 1 px que se desvanece: da profundidad sin manchas de color. */
.grid-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(10, 10, 11, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10, 10, 11, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(120% 90% at 50% 0%, #000 15%, transparent 72%);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 15%, transparent 72%);
}

/* ============================================================
   Header
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(255, 255, 255, 0.92);
}

.site-header .container {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 66px;
}

.header-logo img { height: 27px; width: auto; }

.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 14px;
}

.header-nav a {
  font-size: 14.5px;
  font-weight: 450;
  color: var(--fg-secondary);
  padding: 7px 11px;
  border-radius: var(--r-sm);
  transition: color 0.18s var(--ease), background 0.18s var(--ease);
}

.header-nav a:hover { color: var(--ink); background: var(--surface-2); }

.header-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Sello de confianza del header: dato real, en pequeño. */
.header-trust {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  padding-right: 4px;
}

.header-trust b { color: var(--fg); font-weight: 600; font-variant-numeric: tabular-nums; }

.header-trust svg { color: var(--brand); flex-shrink: 0; }

@media (max-width: 1020px) { .header-trust { display: none; } }
@media (max-width: 900px) { .header-nav { display: none; } }

/* ============================================================
   Botones
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 550;
  letter-spacing: -0.011em;
  padding: 12px 20px;
  border-radius: var(--r);
  border: 1px solid transparent;
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease),
              transform 0.18s var(--ease), box-shadow 0.18s var(--ease), color 0.18s var(--ease);
  white-space: nowrap;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), var(--sh-sm);
}

.btn-primary:hover { background: var(--brand-600); }

.btn-secondary {
  background: var(--bg);
  color: var(--fg);
  border-color: var(--border);
  box-shadow: var(--sh-xs);
}

.btn-secondary:hover { background: var(--surface); border-color: #d7d7dc; }

.btn-dark { background: var(--ink); color: #fff; box-shadow: var(--sh-sm); }
.btn-dark:hover { background: var(--ink-2); }

.btn-white { background: #fff; color: var(--ink); box-shadow: var(--sh-sm); }
.btn-white:hover { background: #f2f2f4; }

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
}

.btn-outline-light:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.38); }

.btn-sm { padding: 8px 15px; font-size: 14px; border-radius: var(--r-sm); }
.btn-lg { padding: 15px 26px; font-size: 16px; }
.btn-block { width: 100%; }

.btn .arw { transition: transform 0.22s var(--ease); }
.btn:hover .arw { transform: translateX(3px); }

/* ============================================================
   Secciones y tipografía
   ============================================================ */

section { padding: 96px 0; position: relative; }

/* Para bloques de una sola idea, que no necesitan aire de sección completa. */
section.is-tight { padding: 60px 0; }

@media (max-width: 760px) { section { padding: 68px 0; } section.is-tight { padding: 48px 0; } }

.section-alt { background: var(--surface); border-block: 1px solid var(--border); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
}

/* balance reparte las líneas del titular: evita la palabra huérfana al final. */
.section-title { font-size: clamp(28px, 3.9vw, 44px); text-wrap: balance; }

.section-sub {
  margin-top: 16px;
  font-size: 17.5px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 620px;
}

.section-head { max-width: 700px; margin-bottom: 56px; }
.section-head.is-wide { max-width: 860px; }
.section-head.is-centered { margin-inline: auto; text-align: center; }
.section-head.is-centered .section-sub { margin-inline: auto; }
.section-head.is-centered .eyebrow { justify-content: center; }

/* ============================================================
   Hero
   ============================================================ */

.hero {
  position: relative;
  padding: 76px 0 96px;
  overflow: hidden;
  background: var(--bg);
}

.hero .grid-bg { opacity: 0.9; }

/* Único toque de color del hero, y muy bajo de intensidad. */
.hero::after {
  content: '';
  position: absolute;
  top: -180px;
  right: -120px;
  width: 620px;
  height: 460px;
  background: radial-gradient(closest-side, rgba(255, 115, 29, 0.10), transparent);
  pointer-events: none;
}

.hero .container { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 60px;
  align-items: center;
}

@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 48px; } }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg);
  color: var(--fg-secondary);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 13px 6px 10px;
  border-radius: var(--pill);
  margin-bottom: 26px;
  box-shadow: var(--sh-xs);
}

.hero-badge .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-50);
}

.hero h1 {
  font-size: clamp(35px, 5vw, 58px);
  letter-spacing: -0.04em;
  line-height: 1.03;
  /* Evita que la última línea quede con una sola palabra. */
  text-wrap: balance;
}

.hero h1 .accent { color: var(--brand); }

.hero-sub {
  margin-top: 22px;
  font-size: 18px;
  line-height: 1.62;
  color: var(--muted);
  max-width: 505px;
}

/* Formulario del hero: el primer paso del alta, ya aquí. */
.hero-form {
  margin-top: 30px;
  max-width: 470px;
  display: grid;
  gap: 9px;
}

.hero-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }

@media (max-width: 480px) { .hero-form .row { grid-template-columns: 1fr; } }

.field {
  width: 100%;
  padding: 13px 15px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r);
  color: var(--ink);
  box-shadow: var(--sh-xs);
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.field::placeholder { color: var(--muted-2); }

.field:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-50);
}

.field:user-invalid {
  border-color: #e11d48;
  box-shadow: 0 0 0 3px #fff1f3;
}

.hero-note {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px 18px;
  font-size: 13.5px;
  color: var(--muted);
}

.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.hero-note svg { color: var(--green); flex-shrink: 0; }

/* Hero de una columna: el vídeo hace de imagen principal. */
.hero.is-centered { padding-bottom: 118px; }

.hero-center { max-width: 880px; margin-inline: auto; text-align: center; }
.hero-center .hero-sub { margin-inline: auto; max-width: 660px; }
.hero-center .hero-note { justify-content: center; gap: 10px 24px; }

.hero-video { margin: 44px auto 0; max-width: 860px; }
.hero-video .video-frame { box-shadow: 0 30px 70px -24px rgba(10, 10, 11, 0.32); }

/* Escaparate de producto mientras no hay vídeo: capturas reales, no “próximamente”. */
.hero-stage {
  margin: 44px auto 0;
  max-width: 860px;
}

.stage-track {
  display: grid;
  min-height: 520px;
}

.stage-slide {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease), visibility 0.55s;
  pointer-events: none;
}

.stage-slide.is-on {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}

.stage-phone {
  width: min(280px, 72vw);
  aspect-ratio: 9 / 19.5;
  border-radius: 36px;
  padding: 8px;
  background: var(--ink);
  box-shadow: var(--sh-lg);
  overflow: hidden;
}

.stage-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 28px;
  background: var(--bg);
}

.stage-wide {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--sh-lg);
}

.stage-wide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}

.stage-slide.is-on .stage-phone img,
.stage-slide.is-on .stage-wide img {
  animation: stageKen 5.2s var(--ease) forwards;
}

@keyframes stageKen {
  from { transform: scale(1); }
  to { transform: scale(1.035); }
}

.stage-cap {
  text-align: center;
  max-width: 420px;
}

.stage-cap .stage-kicker {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-700);
  margin-bottom: 4px;
}

.stage-cap b {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.25;
}

.stage-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.stage-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: var(--border);
  transition: width 0.22s var(--ease), background 0.22s var(--ease);
}

.stage-dots button.is-on {
  width: 22px;
  background: var(--brand);
}

.stage-dots button:hover { background: var(--muted-2); }
.stage-dots button.is-on:hover { background: var(--brand-600); }

@media (max-width: 640px) {
  .stage-track { min-height: 460px; }
  .stage-phone { width: min(240px, 68vw); }
  .stage-cap b { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .stage-slide,
  .stage-slide.is-on .stage-phone img,
  .stage-slide.is-on .stage-wide img {
    animation: none;
    transition: none;
  }
}

.hero-form.is-centered { margin-inline: auto; }

.hero-actions {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 11px;
  flex-wrap: wrap;
}

/* Salida secundaria para quien todavía no quiere dejar sus datos. */
.hero-link {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--fg-secondary);
  transition: color 0.18s var(--ease);
}

.hero-link:hover { color: var(--brand-700); }
.hero-link svg { color: var(--muted-2); }

@media (max-width: 520px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
}

/* ============================================================
   Hueco para captura real (sustituye al mockup dibujado)
   ============================================================ */

.shot {
  position: relative;
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--sh-lg);
  overflow: hidden;
}

.shot img { width: 100%; height: auto; display: block; }

.shot.is-phone {
  width: min(310px, 100%);
  margin-inline: auto;
  aspect-ratio: 9 / 19.5;
  border-radius: 38px;
  padding: 9px;
  background: var(--ink);
  border-color: var(--ink);
}

.shot.is-phone .shot-inner {
  height: 100%;
  border-radius: 30px;
  overflow: hidden;
  background: var(--bg);
}

.shot.is-phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.shot.is-wide {
  aspect-ratio: 16 / 10;
}

.shot.is-wide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}

/* Proporciones del material del local: cartel, story vertical y tarjeta. */
.shot.is-poster { aspect-ratio: 3 / 4; border-radius: var(--r-lg); }
.shot.is-story { aspect-ratio: 9 / 16; border-radius: var(--r-lg); }
.shot.is-card { aspect-ratio: 85 / 55; border-radius: var(--r); }

/* Hueco de la captura definitiva: neutro y limpio, no una zona en obras. */
.shot-placeholder {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 28px;
  text-align: center;
  color: var(--muted-2);
  background: var(--surface);
}

.shot-placeholder .ph-ico {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--muted-2);
  display: grid;
  place-items: center;
  margin-bottom: 2px;
}

.shot-placeholder b {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
}

.shot-placeholder span { font-size: 12.5px; max-width: 200px; line-height: 1.5; }

.hero-shot { position: relative; }

/* Etiqueta flotante sobre la captura, como en las landings de producto. */
.shot-tag {
  position: absolute;
  left: -18px;
  bottom: 42px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 10px 13px;
  box-shadow: var(--sh-md);
  max-width: 218px;
}

.shot-tag .ico {
  width: 30px; height: 30px;
  border-radius: 9px;
  background: var(--brand-50);
  color: var(--brand-600);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.shot-tag b { display: block; font-size: 13px; font-weight: 600; letter-spacing: -0.01em; }
.shot-tag span { font-size: 11.5px; color: var(--muted); }

@media (max-width: 980px) { .shot-tag { left: 0; } }
@media (max-width: 520px) { .shot-tag { display: none; } }

/* ============================================================
   Banda de cifras
   ============================================================ */

.stats-band {
  position: relative;
  /* z-index por encima de la sección siguiente: sin esto, el fondo de la
     sección posterior se pinta encima y la banda aparece cortada. */
  z-index: 3;
  margin-top: -46px;
  padding: 0;
}

.stats-band .inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--bg);
  box-shadow: var(--sh-md);
  overflow: hidden;
}

@media (max-width: 880px) {
  .stats-band { margin-top: -34px; }
  .stats-band .inner { grid-template-columns: repeat(2, 1fr); }
}

.stat-cell { padding: 24px 22px; border-right: 1px solid var(--border-soft); }
.stat-cell:last-child { border-right: none; }

@media (max-width: 880px) {
  .stat-cell:nth-child(2n) { border-right: none; }
  .stat-cell:nth-child(-n+2) { border-bottom: 1px solid var(--border-soft); }
}

.stat-cell .num {
  font-family: var(--font-display);
  font-size: 29px;
  font-weight: 600;
  letter-spacing: -0.035em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.stat-cell .num em { font-style: normal; color: var(--brand); }

.stat-cell .lbl {
  margin-top: 5px;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--muted);
}

/* ============================================================
   Prueba social
   ============================================================ */

.proof { padding: 46px 0; border-bottom: 1px solid var(--border); }

/* Variante sin sectores: solo la línea de datos, en segundo plano. */
.proof.is-quiet { padding: 34px 0; }
.proof.is-quiet .proof-head { margin-bottom: 0; }

.proof-head {
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--muted);
  margin-bottom: 26px;
}

.proof-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 10px;
}

/* Sectores reales en vez de logotipos inventados. */
.proof-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-secondary);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--pill);
  padding: 8px 16px;
  box-shadow: var(--sh-xs);
}

.proof-chip svg { color: var(--muted-2); flex-shrink: 0; }

/* ============================================================
   Vídeo
   ============================================================ */

.video-frame {
  position: relative;
  max-width: 880px;
  margin-inline: auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--ink);
  border: 1px solid var(--border);
  box-shadow: var(--sh-lg);
}

.video-frame video { width: 100%; height: 100%; object-fit: cover; }

.video-poster {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: #fff;
  text-align: center;
  padding: 24px;
}

.video-poster .play {
  width: 66px; height: 66px;
  border-radius: 50%;
  background: var(--brand);
  border: none;
  display: grid;
  place-items: center;
  box-shadow: var(--sh-md);
  transition: transform 0.22s var(--ease), background 0.22s var(--ease);
}

.video-poster .play:hover { transform: scale(1.05); background: var(--brand-600); }
.video-poster .play svg { margin-left: 3px; }

.video-poster p { font-size: 15px; font-weight: 450; color: rgba(255, 255, 255, 0.82); }

.video-poster .soon {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 5px 12px;
  border-radius: var(--pill);
}

/* ============================================================
   Tarjetas: problema y solución
   ============================================================ */

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

@media (max-width: 900px) { .cards-3 { grid-template-columns: 1fr; } }

.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

@media (max-width: 980px) { .cards-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards-4 { grid-template-columns: 1fr; } }

/* Frase de remate a tamaño de titular: cierra el argumento de la sección. */
.kicker-line {
  margin-top: 52px;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(23px, 3.1vw, 34px);
  font-weight: 600;
  letter-spacing: -0.032em;
  line-height: 1.15;
  color: var(--ink);
  text-wrap: balance;
}

.kicker-line.is-tight { margin-top: 40px; font-size: clamp(20px, 2.5vw, 27px); }
.kicker-line .accent { color: var(--brand); }

.pain-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--bg);
  padding: 28px 26px;
}

.pain-card .pain-ico {
  width: 40px; height: 40px;
  border-radius: 11px;
  background: var(--surface-2);
  color: var(--muted);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}

.pain-card h3 { font-size: 18px; margin-bottom: 9px; }
.pain-card p { font-size: 14.8px; line-height: 1.6; color: var(--muted); }

/* auto empuja la frase al pie: las tres tarjetas cierran a la misma altura. */
.pain-card .pain-quote {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--border-soft);
  font-size: 13.5px;
  font-style: italic;
  color: var(--muted-2);
}

.fix-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--bg);
  padding: 28px 26px;
  box-shadow: var(--sh-xs);
  transition: border-color 0.22s var(--ease), box-shadow 0.22s var(--ease), transform 0.22s var(--ease);
}

.fix-card:hover { border-color: #d9d9de; box-shadow: var(--sh-md); transform: translateY(-2px); }

.fix-card .fix-ico {
  width: 40px; height: 40px;
  border-radius: 11px;
  background: var(--brand-50);
  color: var(--brand-600);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}

.fix-card h3 { font-size: 18px; margin-bottom: 9px; }
.fix-card p { font-size: 14.8px; line-height: 1.6; color: var(--muted); }

.fix-card ul { list-style: none; margin-top: 18px; display: grid; gap: 9px; }

.fix-card li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--fg-secondary);
}

.fix-card li svg { color: var(--brand); flex-shrink: 0; margin-top: 4px; }

/* Aviso a ancho completo: remata la sección con una sola frase, sin gritar. */
.note-band {
  margin-top: 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 24px;
  border: 1px solid var(--border);
  border-left: 2px solid var(--brand);
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
  background: var(--surface);
}

.note-band .nb-ico {
  width: 38px; height: 38px;
  border-radius: 11px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--brand-600);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.note-band p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg-secondary);
  max-width: 780px;
}

.note-band b { color: var(--ink); font-weight: 600; }

@media (max-width: 560px) {
  .note-band { padding: 20px; gap: 14px; }
  .note-band p { font-size: 15px; }
}

/* ============================================================
   Qué cambia cuando activas el club
   ============================================================ */

.outcomes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }

@media (max-width: 820px) { .outcomes { grid-template-columns: 1fr; } }

.outcome-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--bg);
  padding: 30px 28px;
  box-shadow: var(--sh-xs);
  transition: border-color 0.22s var(--ease), box-shadow 0.22s var(--ease), transform 0.22s var(--ease);
}

.outcome-card:hover { border-color: #d9d9de; box-shadow: var(--sh-md); transform: translateY(-2px); }

.oc-top { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }

.oc-ico {
  width: 40px; height: 40px;
  border-radius: 11px;
  background: var(--brand-50);
  color: var(--brand-600);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.oc-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}

.outcome-card h3 { font-size: 21px; margin-bottom: 9px; }
.outcome-card p { font-size: 15.2px; line-height: 1.6; color: var(--muted); }
.outcome-card p:not(.oc-eg) { margin-bottom: 22px; }

/* Ejemplo literal de lo que ve el cliente: aterriza la promesa de la tarjeta.
   auto lo empuja al pie, así las cuatro tarjetas cierran a la misma altura. */
.outcome-card .oc-eg {
  margin-top: auto;
  padding: 13px 15px;
  border: 1px solid var(--border-soft);
  border-radius: var(--r);
  background: var(--surface);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 550;
  letter-spacing: -0.016em;
  line-height: 1.4;
  color: var(--ink);
}

/* ============================================================
   Etiquetas sueltas (lo que contiene una pantalla)
   ============================================================ */

.chip-list { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px; }

.chip {
  font-size: 13.5px;
  color: var(--fg-secondary);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--pill);
  padding: 6px 14px;
  box-shadow: var(--sh-xs);
}

/* ============================================================
   La red permanente: comercio · vecino · asociación
   ============================================================ */

.layers { max-width: 700px; margin-inline: auto; }

.layer {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px 22px;
  box-shadow: var(--sh-xs);
}

.layer.is-mid { border-color: #d9d9de; box-shadow: var(--sh-md); }

.layer-head { display: flex; align-items: center; gap: 11px; }

.layer-ico {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: var(--brand-50);
  color: var(--brand-600);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.layer-head b { font-family: var(--font-display); font-size: 16.5px; font-weight: 600; letter-spacing: -0.02em; }

.layer-when {
  margin-left: auto;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--surface-2);
  border-radius: var(--pill);
  padding: 4px 11px;
  white-space: nowrap;
}

.layer-tags { margin-top: 15px; display: flex; flex-wrap: wrap; gap: 7px; }

.layer-tags span {
  font-size: 13px;
  color: var(--fg-secondary);
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--pill);
  padding: 5px 12px;
}

/* Conector vertical entre capas: la línea sugiere que el flujo va en los dos sentidos. */
.layer-link { position: relative; display: grid; place-items: center; height: 46px; color: var(--muted-2); }

.layer-link::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 1px;
  background: var(--border);
}

.layer-link svg {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 50%;
  padding: 5px;
  box-sizing: content-box;
}

/* En móvil la etiqueta de frecuencia baja a su propia línea en las tres capas,
   así no queda una alineada y las otras no. */
@media (max-width: 560px) {
  .layer-head { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; row-gap: 9px; }
  .layer-when { grid-column: 2; justify-self: start; margin: 0; }
}

/* ============================================================
   Caja de herramientas en dos niveles
   ============================================================ */

.toolbox { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }

@media (max-width: 880px) { .toolbox { grid-template-columns: 1fr; } }

/* Tres objetivos en paralelo: cada columna es una respuesta a «para qué me sirve».
   stretch iguala las alturas aunque una columna tenga una prestación menos. */
.toolbox.is-three { grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }

@media (max-width: 980px) { .toolbox.is-three { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; } }

.toolbox.is-three .toolbox-col { padding: 26px 24px; }
.toolbox.is-three .tb-list li { padding: 15px 0; }

.toolbox-col {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--bg);
  padding: 28px 26px;
}

.toolbox-col.is-featured { border-color: #d7d7dc; box-shadow: var(--sh-md); }

.tb-head { display: flex; align-items: center; gap: 13px; padding-bottom: 20px; border-bottom: 1px solid var(--border-soft); }

.tb-ico {
  width: 38px; height: 38px;
  border-radius: 11px;
  background: var(--surface-2);
  color: var(--fg-secondary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.toolbox-col.is-featured .tb-ico { background: var(--brand-50); color: var(--brand-600); }

.tb-head b {
  display: block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.toolbox-col.is-featured .tb-head b { color: var(--brand-700); }

.tb-head > div > span { display: block; margin-top: 3px; font-size: 15px; color: var(--fg); letter-spacing: -0.01em; }

.tb-list { list-style: none; }

.tb-list li { padding: 17px 0; border-bottom: 1px solid var(--border-soft); }
.tb-list li:last-child { border-bottom: none; padding-bottom: 0; }

.tb-list b {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 3px;
}

.tb-list span { font-size: 14.5px; line-height: 1.55; color: var(--muted); }

/* ============================================================
   Material promocional del local
   ============================================================ */

/* Marco común para las tres piezas: cada formato tiene su proporción, pero el
   hueco es idéntico, así los pies de foto quedan a la misma altura. */
.material-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}

@media (max-width: 900px) { .material-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .material-grid { grid-template-columns: 1fr; max-width: 380px; margin-inline: auto; } }

.material-grid .shot { aspect-ratio: 4 / 5; border-radius: var(--r-lg); }

/* contain respeta el formato real de cada pieza dentro del marco. */
.material-grid .shot img { width: 100%; height: 100%; object-fit: contain; padding: 20px; background: var(--surface); }

.material-item figcaption { margin-top: 18px; }

.material-item figcaption b {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 3px;
}

.material-item figcaption span { font-size: 14.2px; line-height: 1.55; color: var(--muted); }

/* ============================================================
   Bloque partido: etiqueta de producto y titular menor
   ============================================================ */

.pill-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand-700);
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-radius: var(--pill);
  padding: 5px 13px;
  margin-bottom: 18px;
}

.split-title { font-size: clamp(24px, 2.9vw, 32px); letter-spacing: -0.032em; }
.split-sub { margin-top: 14px; font-size: 16.5px; line-height: 1.6; color: var(--muted); max-width: 460px; }

/* ============================================================
   Sellos de condiciones y bloque de producto vivo
   ============================================================ */

.badge-row { margin-top: 22px; display: flex; justify-content: center; flex-wrap: wrap; gap: 9px; }

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--fg-secondary);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--pill);
  padding: 7px 15px;
  box-shadow: var(--sh-xs);
}

.badge-pill svg { color: var(--green); flex-shrink: 0; }

.evolve {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  background: var(--bg);
  box-shadow: var(--sh-sm);
  padding: 46px 34px;
}

.evolve .eyebrow { justify-content: center; }
.evolve .section-title { font-size: clamp(25px, 3.1vw, 34px); }
.evolve p { margin: 16px auto 0; font-size: 16.5px; line-height: 1.6; color: var(--muted); max-width: 560px; }

.chip-list.is-centered { justify-content: center; }

@media (max-width: 560px) { .evolve { padding: 36px 22px; } }

/* ============================================================
   Un año con Lealy
   ============================================================ */

.timeline { list-style: none; max-width: 760px; margin-inline: auto; }

.tl-item {
  position: relative;
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  padding: 0 0 32px 0;
}

/* Raíl vertical que enhebra los hitos, cortado en el último. */
.tl-item::before {
  content: '';
  position: absolute;
  left: 170px;
  top: 8px;
  bottom: -8px;
  width: 1px;
  background: var(--border);
}

.tl-item.is-last::before { display: none; }

.tl-item::after {
  content: '';
  position: absolute;
  left: 165px;
  top: 7px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--brand);
}

/* El hueco a la derecha deja pasar el raíl sin comerse el texto. */
.tl-when {
  text-align: right;
  padding: 2px 30px 0 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.tl-body { padding-left: 30px; }
.tl-body h3 { font-size: 17.5px; margin-bottom: 7px; }
.tl-body p { font-size: 14.8px; line-height: 1.6; color: var(--muted); }

@media (max-width: 620px) {
  .tl-item { grid-template-columns: 1fr; padding: 0 0 26px 26px; }
  .tl-item::before { left: 4px; top: 20px; }
  .tl-item::after { left: 0; top: 5px; }
  .tl-when { text-align: left; padding: 0 0 4px; }
  .tl-body { padding-left: 0; }
}

/* ============================================================
   Comparativa antes / con Lealy
   ============================================================ */

.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

@media (max-width: 880px) { .compare-grid { grid-template-columns: 1fr; } }

.compare-card {
  border-radius: var(--r-lg);
  padding: 30px 28px;
  border: 1px solid var(--border);
  background: var(--bg);
}

.compare-card.is-bad { background: var(--surface); }

.compare-card.is-good {
  border-color: #d7d7dc;
  box-shadow: var(--sh-md);
}

.compare-card .tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.compare-card.is-good .tag { color: var(--brand-600); }

.compare-card ul { list-style: none; margin-top: 22px; display: grid; gap: 15px; }

.compare-card li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg-secondary);
}

.compare-card.is-good li { color: var(--fg); }
.compare-card li svg { flex-shrink: 0; margin-top: 4px; }
.compare-card.is-bad li svg { color: var(--muted-2); }
.compare-card.is-good li svg { color: var(--brand); }

/* ============================================================
   Prestaciones
   ============================================================ */

.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }

@media (max-width: 940px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .features-grid { grid-template-columns: 1fr; } }

/* Rejilla con separadores de 1 px: más de panel de producto que de tarjetas flotantes. */
.feature {
  background: var(--bg);
  padding: 30px 26px;
  transition: background 0.2s var(--ease);
}

.feature:hover { background: var(--surface); }

.feature .f-ico { color: var(--brand); margin-bottom: 18px; }

.feature h3 { font-size: 16.5px; letter-spacing: -0.02em; margin-bottom: 8px; }
.feature p { font-size: 14.5px; line-height: 1.6; color: var(--muted); }

/* ============================================================
   Cómo funciona
   ============================================================ */

.flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 0;
}

@media (max-width: 900px) {
  .flow { grid-template-columns: 1fr; }
  .flow .flow-arrow { display: none; }
}

/* Con cuatro pasos las flechas sobran: la numeración ya marca el orden. */
.flow.is-four { grid-template-columns: repeat(4, 1fr); gap: 16px; }

@media (max-width: 980px) { .flow.is-four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .flow.is-four { grid-template-columns: 1fr; } }

.flow-step {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--bg);
  padding: 28px 26px;
  box-shadow: var(--sh-xs);
}

.flow-step .n {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 16px;
}

.flow-step .n i {
  font-style: normal;
  width: 24px; height: 24px;
  border-radius: 7px;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0;
}

.flow-step.is-last .n i { background: var(--brand); }

.flow-step h3 { font-size: 18px; margin-bottom: 9px; }
.flow-step p { font-size: 14.8px; line-height: 1.6; color: var(--muted); }

.flow-arrow {
  display: grid;
  place-items: center;
  width: 44px;
  color: var(--muted-2);
}

/* ============================================================
   Bloque partido: captura + beneficios
   ============================================================ */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px;
  align-items: center;
}

@media (max-width: 940px) { .split { grid-template-columns: 1fr; gap: 40px; } }

/* Referencia para cualquier etiqueta flotante sobre la captura. */
.split-media { position: relative; }

.split.is-reverse .split-media { order: 2; }

@media (max-width: 940px) { .split.is-reverse .split-media { order: 0; } }

.benefit-list { list-style: none; display: grid; gap: 0; margin-top: 28px; }

.benefit-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 17px 0;
  border-bottom: 1px solid var(--border-soft);
}

.benefit-list li:first-child { border-top: 1px solid var(--border-soft); }

.benefit-list .chk {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--brand-50);
  color: var(--brand-600);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.benefit-list b {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 3px;
}

.benefit-list span { font-size: 14.5px; line-height: 1.58; color: var(--muted); }

/* Remate del bloque del panel: la idea que queremos que se quede. */
.panel-note {
  margin-top: 26px;
  padding: 16px 18px;
  border-left: 2px solid var(--brand);
  background: var(--surface);
  border-radius: 0 var(--r) var(--r) 0;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 550;
  letter-spacing: -0.018em;
  line-height: 1.45;
  color: var(--ink);
}

/* ============================================================
   Tabla comparativa
   ============================================================ */

.vs-wrap {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  overflow-x: auto;
  background: var(--bg);
  box-shadow: var(--sh-xs);
}

.vs-table { width: 100%; border-collapse: collapse; min-width: 680px; }

/* La tabla de cuatro columnas se desliza en móvil: hay que avisar. */
.vs-hint { display: none; margin-top: 14px; text-align: center; font-size: 13px; color: var(--muted-2); }

@media (max-width: 760px) { .vs-hint { display: block; } }

/* Variante de dos columnas: cabe en móvil sin scroll horizontal. */
.vs-table.is-duo { min-width: 0; table-layout: fixed; }
.vs-table.is-duo th, .vs-table.is-duo td { width: 33.33%; }
.vs-table.is-duo td:first-child { font-weight: 550; color: var(--fg); }

/* Con ocho filas seguidas, tanto naranja cansa: el color lo lleva la cabecera. */
.vs-table.is-duo td.col-lealy .yes { color: var(--ink); font-weight: 600; }

@media (max-width: 560px) {
  .vs-table.is-duo th, .vs-table.is-duo td { padding: 12px 10px; font-size: 13px; }
  .vs-table.is-duo th:first-child, .vs-table.is-duo td:first-child { width: 36%; }
}

.vs-table th, .vs-table td {
  padding: 15px 20px;
  text-align: left;
  font-size: 14.5px;
  border-bottom: 1px solid var(--border-soft);
}

.vs-table thead th {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--surface);
}

.vs-table thead th.col-lealy { color: var(--brand-700); background: var(--brand-50); }
.vs-table tbody tr:last-child td { border-bottom: none; }
.vs-table td.col-lealy { background: var(--brand-50); font-weight: 500; color: var(--ink); }
.vs-table td:first-child { color: var(--fg-secondary); }

.vs-table .yes { color: var(--brand-600); font-weight: 600; }
.vs-table .no { color: var(--muted-2); }
.vs-table .half { color: var(--muted); font-size: 13.5px; }

/* ============================================================
   Precios
   ============================================================ */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 410px));
  justify-content: center;
  gap: 20px;
}

@media (max-width: 880px) { .pricing-grid { grid-template-columns: 1fr; max-width: 430px; margin-inline: auto; } }

.price-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  background: var(--bg);
  display: flex;
  flex-direction: column;
}

.price-card.is-featured { border-color: var(--ink); box-shadow: var(--sh-lg); }

.price-card .plan-badge {
  position: absolute;
  top: -12px;
  left: 28px;
  background: var(--ink);
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--pill);
}

.price-card .plan-name { font-family: var(--font-display); font-size: 17px; font-weight: 600; letter-spacing: -0.02em; }
.price-card .plan-desc { margin-top: 6px; font-size: 14px; color: var(--muted); min-height: 42px; }

.price-card .plan-price { margin-top: 18px; display: flex; align-items: baseline; gap: 7px; }

.price-card .plan-price .amount {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.price-card .plan-price .period { font-size: 14.5px; color: var(--muted); }
.price-card .plan-tax { margin-top: 5px; font-size: 12.5px; color: var(--muted-2); }

.price-card ul { list-style: none; margin: 26px 0 28px; display: grid; gap: 11px; flex: 1; }

.price-card li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--fg-secondary);
}

.price-card li svg { color: var(--brand); flex-shrink: 0; margin-top: 3px; }
.price-card li.is-plus { font-weight: 550; color: var(--ink); }

.pricing-foot { margin-top: 26px; text-align: center; font-size: 13.5px; color: var(--muted); }

/* ============================================================
   Cal.com
   ============================================================ */

.cal-wrap {
  max-width: 980px;
  margin-inline: auto;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
  overflow: hidden;
  min-height: 620px;
}

.cal-wrap #my-cal-inline { min-height: 620px; }

/* ============================================================
   Preguntas frecuentes
   ============================================================ */

.faq-list { max-width: 780px; margin-inline: auto; border-top: 1px solid var(--border); }

.faq-item { border-bottom: 1px solid var(--border); }

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 4px;
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 550;
  letter-spacing: -0.02em;
  color: var(--ink);
  cursor: pointer;
  user-select: none;
  transition: color 0.18s var(--ease);
}

.faq-item summary:hover { color: var(--brand-700); }
.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary .chev {
  flex-shrink: 0;
  color: var(--muted-2);
  transition: transform 0.28s var(--ease), color 0.2s var(--ease);
}

.faq-item[open] summary .chev { transform: rotate(45deg); color: var(--brand); }

.faq-item .faq-body {
  padding: 0 4px 24px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 660px;
}

/* ============================================================
   Cierre
   ============================================================ */

/* Bloque oscuro plano: sin degradado, el contraste lo da el color. */
.final-cta {
  position: relative;
  background: var(--ink);
  border-radius: var(--r-xl);
  padding: 76px 32px;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.final-cta .grid-bg {
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(90% 80% at 50% 0%, #000 10%, transparent 75%);
  -webkit-mask-image: radial-gradient(90% 80% at 50% 0%, #000 10%, transparent 75%);
}

.final-cta > * { position: relative; z-index: 1; }

.final-cta h2 {
  font-size: clamp(27px, 3.6vw, 40px);
  color: #fff;
  max-width: 620px;
  margin-inline: auto;
}

.final-cta p {
  margin: 16px auto 0;
  font-size: 16.5px;
  color: rgba(255, 255, 255, 0.66);
  max-width: 480px;
}

.final-cta .actions {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 11px;
  flex-wrap: wrap;
}

.final-cta .fine {
  margin-top: 22px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

/* ============================================================
   Pie
   ============================================================ */

.site-footer { border-top: 1px solid var(--border); padding: 40px 0; background: var(--bg); }

.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.site-footer img { height: 23px; width: auto; }

.foot-links { display: flex; gap: 22px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); }
.foot-links a { transition: color 0.18s var(--ease); }
.foot-links a:hover { color: var(--ink); }

.site-footer .copy { font-size: 12.5px; color: var(--muted-2); }

/* ============================================================
   Entrada al hacer scroll
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible { opacity: 1; transform: none; }

.reveal-d1 { transition-delay: 0.07s; }
.reveal-d2 { transition-delay: 0.14s; }
.reveal-d3 { transition-delay: 0.21s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .btn:hover .arw { transform: none; }
}

/* ============================================================
   Carrusel de pasos (hero de cafetería)
   Capturas verticales completas y nítidas: la del centro manda,
   las de los lados se ven enteras, solo un poco más pequeñas.
   ============================================================ */

.hero-deck { margin: 50px auto 0; text-align: left; }

.deck-head {
  max-width: 1080px;
  margin: 0 auto 18px;
  padding: 0 4px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.deck-count { font-size: 13px; color: var(--muted-2); font-variant-numeric: tabular-nums; }
.deck-count b { color: var(--ink); font-weight: 600; }

.deck-stage { position: relative; }

/* Alineadas por abajo: las capturas crecen desde una misma base y los
   pies de foto quedan en la misma línea. */
.deck-rail {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding: 6px calc(50% - 132px) 10px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.deck-rail::-webkit-scrollbar { display: none; }

.deck-slide {
  flex: 0 0 264px;
  scroll-snap-align: center;
  transform: scale(0.9);
  transform-origin: bottom center;
  transition: transform 0.5s var(--ease);
}

.deck-slide.is-on { transform: scale(1); }

.deck-shot {
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 10px 28px -14px rgba(10, 10, 11, 0.22);
  transition: box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
}

.deck-slide.is-on .deck-shot {
  box-shadow: 0 30px 64px -22px rgba(10, 10, 11, 0.34);
  border-color: #dcdce0;
}

.deck-shot img { width: 100%; height: auto; }

.deck-slide figcaption {
  margin-top: 16px;
  padding: 0 6px;
  text-align: center;
  transition: opacity 0.5s var(--ease);
  opacity: 0.55;
}

.deck-slide.is-on figcaption { opacity: 1; }

.deck-step {
  display: block;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--brand-700);
  margin-bottom: 5px;
}

.deck-slide figcaption b {
  display: block;
  font-family: var(--font-display);
  font-size: 17.5px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.24;
  color: var(--ink);
  text-wrap: balance;
}

.deck-sub {
  display: block;
  margin-top: 5px;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--muted);
}

/* Controles abajo: nunca tapan las capturas. */
.deck-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 26px;
}

.deck-nav {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--ink);
  box-shadow: var(--sh-xs);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}

.deck-nav:hover {
  transform: scale(1.06);
  box-shadow: var(--sh-sm);
  border-color: #d4d4d8;
}

.deck-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
}

.deck-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: var(--border);
  transition: width 0.22s var(--ease), background 0.22s var(--ease);
}

.deck-dots button.is-on { width: 20px; background: var(--brand); }
.deck-dots button:hover { background: var(--muted-2); }
.deck-dots button.is-on:hover { background: var(--brand-600); }

@media (max-width: 720px) {
  .deck-slide { flex-basis: 216px; }
  .deck-rail { gap: 14px; padding-inline: calc(50% - 108px); }
  .deck-slide figcaption b { font-size: 16px; }
  .deck-sub { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .deck-slide,
  .deck-shot,
  .deck-slide figcaption { transition: none; }
  .deck-rail { scroll-behavior: auto; }
}
