/* ============================================================
   ISCN — Método ISCN · Landing v1 · Fase A
   Sistema visual: verde-oscuro CTA único, crema base
   ============================================================ */

:root {
  --verde-oscuro:    #3D5C40;
  --verde-salvia:    #6B8C6E;
  --verde-claro:     #EEF3EE;
  --crema:           #FAF7F2;
  --blanco-calido:   #FFFDF9;
  --tierra:          #8C6B3E;
  --tierra-claro:    #F5EDE0;
  --dorado:          #C9A84C;
  --carbon:          #1A1A18;
  --gris-medio:      #5C5B55;
  --gris-claro:      #9B9A93;
  --borde:           #E8E3D8;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 2px rgba(26, 26, 24, 0.04);
  --shadow-md: 0 4px 14px rgba(26, 26, 24, 0.06);
  --shadow-cta: 0 6px 20px rgba(61, 92, 64, 0.22);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--carbon);
  background: var(--crema);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--verde-salvia); text-decoration: none; }
a:hover { color: var(--verde-oscuro); }

/* ============================================================
   TIPOGRAFÍA — H1..H3 Playfair, body DM Sans
   ============================================================ */
h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--verde-oscuro);
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 { font-weight: 700; font-size: clamp(36px, 5.4vw, 56px); }
h2 { font-weight: 700; font-size: clamp(26px, 3.2vw, 36px); }
h3 { font-weight: 600; font-size: clamp(20px, 1.8vw, 24px); }

p { max-width: 65ch; text-wrap: pretty; }

.kicker {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tierra);
}

.muted { color: var(--gris-medio); }

/* ============================================================
   LAYOUT — container, sections
   ============================================================ */
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.container-narrow { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 24px; }

section { padding: 64px 0; }
@media (max-width: 720px) { section { padding: 48px 0; } }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--borde);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.site-header .logo { display: flex; align-items: center; gap: 10px; }
.site-header .logo img { height: 40px; width: auto; }
.site-header .header-trust {
  font-size: 13px;
  color: var(--gris-medio);
  font-weight: 500;
}
.site-header .header-trust strong { color: var(--verde-oscuro); }
@media (max-width: 640px) { .site-header .header-trust { display: none; } }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 17px;
  line-height: 1;
  padding: 18px 28px;
  min-height: 56px;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.18s ease, box-shadow 0.18s ease;
  text-align: center;
  white-space: nowrap;
}
.btn:focus-visible { outline: 3px solid var(--verde-salvia); outline-offset: 3px; }

.btn-primary {
  background: var(--verde-oscuro);
  color: var(--blanco-calido);
  box-shadow: var(--shadow-cta);
}
.btn-primary:hover { background: var(--verde-salvia); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: transparent;
  color: var(--verde-oscuro);
  border-color: var(--verde-oscuro);
}
.btn-ghost:hover { background: var(--verde-claro); }

.btn-block { width: 100%; }
.btn-lg { min-height: 64px; padding: 20px 36px; font-size: 18px; }

@media (max-width: 720px) {
  .btn { min-height: 52px; font-size: 16px; padding: 16px 22px; }
  .btn-lg { min-height: 58px; font-size: 17px; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding-top: 72px;
  padding-bottom: 80px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/banner.webp");
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(250, 247, 242, 0.4) 0%, rgba(250, 247, 242, 0.92) 100%);
  z-index: 0;
}
.hero > .container { position: relative; z-index: 1; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
}

.hero h1 { margin-top: 14px; margin-bottom: 18px; }
.hero .sub {
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--gris-medio);
  margin-bottom: 22px;
  max-width: 56ch;
}

.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  font-size: 13px;
  color: var(--gris-medio);
  font-weight: 500;
  margin-bottom: 28px;
}
.trust-bar .trust-item { display: inline-flex; align-items: center; gap: 6px; }
.trust-bar .stars { color: var(--dorado); letter-spacing: 1px; }
.trust-bar .dot {
  display: inline-block; width: 3px; height: 3px;
  background: var(--gris-claro); border-radius: 50%;
  margin: 0 4px; vertical-align: middle;
}

/* Price block */
.price-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 24px;
  background: var(--tierra-claro);
  border-radius: var(--radius-lg);
  margin-bottom: 22px;
  max-width: 460px;
}
.price-row { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.price-from {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gris-medio);
  align-self: center;
}
.price-now {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  color: var(--verde-oscuro);
  line-height: 1;
}
.price-currency {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gris-medio);
}
.price-cuotas { font-size: 14px; color: var(--gris-medio); }
.price-cuotas strong { color: var(--carbon); font-weight: 600; }
.price-saving {
  font-size: 13px;
  font-weight: 600;
  color: var(--tierra);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (max-width: 720px) {
  .price-now { font-size: 40px; }
  .price-old { font-size: 22px; }
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.guarantee-micro {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gris-medio);
  font-weight: 500;
}
.guarantee-micro svg { color: var(--verde-salvia); flex-shrink: 0; }

/* Hero mockup */
.hero-mockup {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  max-width: 440px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 253, 249, 0.7), transparent 55%),
    linear-gradient(155deg, var(--verde-claro) 0%, var(--tierra-claro) 100%);
  box-shadow: 0 24px 60px rgba(26, 26, 24, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  overflow: hidden;
}
.hero-mockup::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/banner.webp") center / cover;
  opacity: 0.22;
  mix-blend-mode: multiply;
}
.book-stack {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  height: 100%;
  z-index: 1;
  perspective: 1800px;
  perspective-origin: 50% 50%;
}

/* Wrapper: holds the static tilt + positioning of the book */
.book-wrap {
  position: relative;
  width: 64%;
  aspect-ratio: 3 / 4;
  z-index: 2;
  transform: rotateZ(-3deg);
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.6, 0.05, 0.28, 0.97);
}
.book-wrap.is-open {
  transform: rotateZ(0deg) translateX(-14%) scale(1.1);
}

/* The 3D stage */
.book {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  cursor: pointer;
  outline: none;
}
.book:focus-visible {
  outline: 3px solid var(--verde-salvia);
  outline-offset: 6px;
  border-radius: 6px;
}

/* Cover — the front of the book, hinged on its left edge */
.book-cover {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--verde-oscuro) 0%, #2d4530 100%);
  border-radius: 4px 12px 12px 4px;
  box-shadow:
    -8px 12px 24px rgba(26, 26, 24, 0.25),
    inset -4px 0 0 rgba(0, 0, 0, 0.18),
    inset 4px 0 0 rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px 18px 22px 26px;
  color: var(--blanco-calido);
  z-index: 3;
  transform-origin: left center;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: transform 0.9s cubic-bezier(0.55, 0.05, 0.28, 0.98), box-shadow 0.9s ease;
  transform: rotateY(0deg);
}
.book.is-open .book-cover {
  transform: rotateY(-168deg);
  box-shadow:
    -22px 18px 44px rgba(26, 26, 24, 0.24),
    inset -4px 0 0 rgba(0, 0, 0, 0.18);
}
.book-cover .book-kicker {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dorado);
  opacity: 0.92;
}
.book-cover .book-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.05;
  margin-top: 8px;
}
.book-cover .book-divider {
  width: 30px; height: 2px;
  background: var(--dorado);
  margin: 12px 0;
}
.book-cover .book-meta {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255, 253, 249, 0.78);
}
.book-cover .book-foot {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 12px;
  color: var(--dorado);
}

/* Interior — the spread revealed when the cover opens */
.book-interior {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.10) 0%, transparent 5%, transparent 100%),
    linear-gradient(180deg, #fffdf6 0%, #f4eedb 100%);
  border-radius: 4px 12px 12px 4px;
  padding: 22px 18px 14px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow:
    inset 12px 0 18px -10px rgba(0, 0, 0, 0.18),
    0 12px 26px rgba(26, 26, 24, 0.12);
  opacity: 0;
  transition: opacity 0.35s ease 0.25s;
}
.book.is-open .book-interior { opacity: 1; }

.book-interior .page-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1px solid rgba(60, 50, 30, 0.18);
  padding-bottom: 6px;
}
.book-interior .page-kicker {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--tierra);
}
.book-interior .page-meta {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 10px;
  color: var(--gris-medio);
}
.book-interior .page-toc {
  list-style: none;
  counter-reset: chapter;
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 0;
  padding: 0;
}
.book-interior .page-toc li {
  counter-increment: chapter;
  position: relative;
  padding-left: 22px;
  font-family: var(--font-body);
  font-size: 11px;
  line-height: 1.3;
  color: var(--carbon);
}
.book-interior .page-toc li::before {
  content: counter(chapter, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  color: var(--verde-oscuro);
}
.book-interior .page-foot-hint {
  margin-top: auto;
  text-align: center;
  font-family: var(--font-body);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gris-claro);
  padding-top: 8px;
  border-top: 1px solid rgba(60, 50, 30, 0.10);
}

/* Hint chip below the book — guides the user that it's interactive */
.book-hint {
  position: absolute;
  left: 50%;
  bottom: -2px;
  transform: translateX(-50%);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--verde-oscuro);
  background: var(--blanco-calido);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--borde);
  box-shadow: 0 4px 10px rgba(26, 26, 24, 0.08);
  white-space: nowrap;
  animation: bookHintPulse 2.4s ease-in-out infinite;
  z-index: 4;
}
.book-stack:has(.book.is-open) .book-hint,
.book-stack.book-open .book-hint {
  opacity: 0;
  transform: translateX(-50%) translateY(8px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Mobile: agrandar el libro un poco y reducir el contenido del índice
   para que el módulo 07 ("155 recetas paso a paso") entre completo. */
@media (max-width: 640px) {
  .book-wrap { width: 78%; }
  .book-cover { padding: 16px 12px 16px 20px; }
  .book-cover .book-title { font-size: 18px; }
  .book-cover .book-divider { margin: 8px 0; }
  .book-cover .book-foot { font-size: 11px; }
  .book-interior { padding: 14px 12px 10px 20px; gap: 6px; }
  .book-interior .page-toc { gap: 3px; }
  .book-interior .page-toc li { font-size: 10.5px; padding-left: 18px; line-height: 1.25; }
  .book-interior .page-toc li::before { font-size: 10px; }
  .book-interior .page-foot-hint { font-size: 8.5px; padding-top: 5px; }
  .book-bonus { width: 32%; right: -2%; bottom: 12%; }
  .sello-floating { width: 70px; height: 70px; right: 10px; top: 10px; }
}
@keyframes bookHintPulse {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(-4px); }
}
@media (prefers-reduced-motion: reduce) {
  .book-hint { animation: none; }
}
.book-bonus {
  position: absolute;
  right: -4%;
  bottom: 14%;
  width: 38%;
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, var(--tierra) 0%, #6e5530 100%);
  border-radius: 3px 8px 8px 3px;
  box-shadow: -6px 8px 18px rgba(26, 26, 24, 0.18);
  transform: rotate(6deg);
  z-index: 1;
  padding: 14px 10px 14px 14px;
}
.book-bonus span {
  font-family: var(--font-body);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blanco-calido);
}
.book-bonus em {
  display: block;
  margin-top: 4px;
  font-family: var(--font-display);
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
  color: var(--blanco-calido);
  line-height: 1.05;
}
.sello-floating {
  position: absolute;
  right: 18px; top: 18px;
  width: 92px; height: 92px;
  z-index: 3;
  filter: drop-shadow(0 6px 12px rgba(26, 26, 24, 0.18));
}
.sello-floating img { width: 100%; height: 100%; object-fit: contain; }

/* ============================================================
   STACK DE VALOR
   ============================================================ */
.stack-section { background: var(--blanco-calido); border-block: 1px solid var(--borde); }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head h2 { margin-bottom: 10px; }
.section-head p { margin: 0 auto; color: var(--gris-medio); }

.stack-list {
  display: grid;
  gap: 10px;
  max-width: 760px;
  margin: 0 auto;
}
.stack-row {
  display: grid;
  grid-template-columns: 44px 1fr auto 24px;
  gap: 16px;
  align-items: start;
  padding: 18px 20px;
  background: var(--crema);
  border: 1px solid var(--borde);
  border-radius: var(--radius-md);
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.2s ease;
  cursor: pointer;
  user-select: none;
}
.stack-row:hover { transform: translateY(-1px); border-color: var(--verde-salvia); background: var(--blanco-calido); }
.stack-row .icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--verde-claro);
  color: var(--verde-oscuro);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
  align-self: start;
}
.stack-row .info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.stack-row .info .label {
  font-weight: 700;
  font-size: 16px;
  color: var(--carbon);
  margin-bottom: 2px;
  line-height: 1.3;
}
.stack-row .info .desc { font-size: 14px; color: var(--gris-medio); line-height: 1.4; }
.stack-row .row-detail {
  grid-column: 2 / -1;
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.45s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, margin-top 0.3s ease;
  margin-top: 0;
  font-size: 14px;
  color: var(--gris-medio);
  line-height: 1.55;
}
.stack-row .row-detail > div {
  overflow: hidden;
  min-height: 0;
}
.stack-row.is-expanded .row-detail {
  grid-template-rows: 1fr;
  opacity: 1;
  margin-top: 12px;
}
.stack-row .row-detail strong {
  color: var(--carbon);
  font-weight: 600;
}
.stack-row .row-detail .detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.stack-row .row-detail .detail-tags span {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  background: var(--verde-claro);
  color: var(--verde-oscuro);
  border-radius: 999px;
}
.stack-row .value {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--gris-claro);
  text-decoration: line-through;
  font-weight: 500;
  white-space: nowrap;
  align-self: start;
  padding-top: 2px;
}
.stack-row .row-chevron {
  width: 22px;
  height: 22px;
  color: var(--gris-claro);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s ease;
  align-self: start;
  margin-top: 8px;
  flex-shrink: 0;
}
.stack-row:hover .row-chevron { color: var(--verde-salvia); }
.stack-row.is-expanded .row-chevron {
  transform: rotate(180deg);
  color: var(--verde-oscuro);
}
.stack-row.is-expanded {
  background: var(--blanco-calido);
  border-color: var(--verde-salvia);
}
.stack-row.urgent {
  background: var(--tierra-claro);
  border-color: var(--tierra);
  border-style: dashed;
}
.stack-row.urgent .icon { background: var(--tierra); color: var(--blanco-calido); }
.stack-row.urgent .info .label { color: var(--tierra); }
.stack-row.urgent .info .urgent-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tierra);
  margin-bottom: 4px;
}

/* Timer column — sits where .value used to */
.urgent-timer {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  min-width: 130px;
}
.urgent-timer .urgent-price {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--gris-claro);
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}
.urgent-timer .urgent-timer-label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tierra);
  margin-top: 2px;
}
.urgent-timer .urgent-timer-block {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: 0.04em;
  color: var(--blanco-calido);
  background: linear-gradient(135deg, #a07740 0%, var(--tierra) 60%, #6e5430 100%);
  padding: 8px 16px;
  border-radius: 10px;
  font-variant-numeric: tabular-nums;
  box-shadow:
    0 6px 18px rgba(140, 107, 62, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  animation: urgentPulse 1.2s ease-in-out infinite;
  min-width: 120px;
  text-align: center;
}
@keyframes urgentPulse {
  0%, 100% {
    box-shadow: 0 6px 18px rgba(140, 107, 62, 0.35),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 8px 26px rgba(140, 107, 62, 0.6),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: scale(1.03);
  }
}
@media (prefers-reduced-motion: reduce) {
  .urgent-timer .urgent-timer-block { animation: none; }
}

.stack-row.urgent.expired { opacity: 0.55; filter: grayscale(0.7); }
.stack-row.urgent.expired .urgent-tag::before { content: "⌛ "; }
.stack-row.urgent.expired .urgent-timer-block { animation: none; background: var(--gris-claro); }

@media (max-width: 600px) {
  .stack-row.urgent .urgent-timer {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px dashed rgba(140, 107, 62, 0.3);
  }
  .stack-row.urgent .urgent-timer-block { font-size: 26px; }
}

@media (max-width: 600px) {
  .stack-row {
    grid-template-columns: 36px 1fr 22px;
    gap: 10px;
    padding: 14px 16px;
  }
  .stack-row .icon { width: 36px; height: 36px; font-size: 15px; }
  .stack-row .value {
    grid-column: 2;
    font-size: 14px;
    margin-top: 4px;
  }
  .stack-row .row-chevron { grid-column: 3; grid-row: 1; margin-top: 0; }
}

.stack-total {
  margin-top: 18px;
  padding: 26px 28px;
  background: var(--tierra-claro);
  border-radius: var(--radius-lg);
  display: grid;
  gap: 8px;
}
.stack-total .row {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 16px; flex-wrap: wrap;
}
.stack-total .row .label { font-size: 14px; font-weight: 600; color: var(--gris-medio); text-transform: uppercase; letter-spacing: 0.06em; }
.stack-total .row .num {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--carbon);
}
.stack-total .row.highlight .num { color: var(--verde-oscuro); font-size: 30px; }
.stack-total .row.saving .num { color: var(--tierra); font-size: 18px; }
.stack-total .row.old .num { color: var(--gris-claro); text-decoration: line-through; }

/* ============================================================
   PRODUCT CHOOSER (v2 · Core vs Bundle)
   ============================================================ */
.product-chooser {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 760px;
  margin-inline: auto;
}
@media (max-width: 640px) {
  .product-chooser { grid-template-columns: 1fr; gap: 14px; margin-top: 24px; }
}

.prod-card {
  position: relative;
  background: var(--blanco-calido);
  border: 2px solid var(--borde);
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  user-select: none;
}
.prod-card:hover {
  transform: translateY(-2px);
  border-color: var(--verde-salvia);
  box-shadow: var(--shadow-md);
}
.prod-card:focus-visible {
  outline: 3px solid var(--verde-salvia);
  outline-offset: 4px;
}
.prod-card.is-selected {
  border-color: var(--verde-oscuro);
  background: var(--blanco-calido);
  box-shadow: 0 8px 24px rgba(61, 92, 64, 0.14);
}
.prod-card.is-featured {
  background: linear-gradient(170deg, #fffdf9 0%, #f7f1e7 100%);
}
.prod-card.is-featured.is-selected {
  border-color: var(--verde-oscuro);
  box-shadow: 0 10px 28px rgba(61, 92, 64, 0.18);
}

.prod-badge {
  position: absolute;
  top: -12px;
  right: 22px;
  background: var(--tierra);
  color: var(--blanco-calido);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(140, 107, 62, 0.3);
}

.prod-head { display: flex; flex-direction: column; gap: 4px; }
.prod-kicker {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tierra);
}
.prod-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--verde-oscuro);
  line-height: 1.15;
  margin: 0;
}

.prod-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.prod-price-now {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 700;
  color: var(--verde-oscuro);
  line-height: 1;
  letter-spacing: -0.01em;
}
.prod-price-cur {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gris-medio);
}
.prod-installments {
  font-size: 13px;
  color: var(--gris-medio);
  margin-top: -8px;
}
.prod-installments strong { color: var(--carbon); font-weight: 600; }

.prod-features {
  list-style: none;
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  flex: 1;
}
.prod-features li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--carbon);
}
.prod-features li::before {
  content: "";
  position: absolute;
  left: 0; top: 5px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background-color: var(--verde-claro);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233D5C40' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='5 12 10 17 19 8'/></svg>");
  background-size: 10px 10px;
  background-position: center;
  background-repeat: no-repeat;
}
.prod-features li strong { font-weight: 600; color: var(--verde-oscuro); }

.prod-select { margin-top: auto; }
.prod-card.is-selected .prod-select.btn-ghost {
  background: var(--verde-oscuro);
  color: var(--blanco-calido);
  border-color: var(--verde-oscuro);
  box-shadow: var(--shadow-cta);
}
.prod-card:not(.is-selected) .prod-select.btn-primary {
  background: transparent;
  color: var(--verde-oscuro);
  border-color: var(--verde-oscuro);
  box-shadow: none;
}

.stack-cta-row {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

/* ============================================================
   GARANTÍAS
   ============================================================ */

/* ============================================================
   2 · ARGUMENTO DE AHORRO
   ============================================================ */
.ahorro-section {
  background: var(--tierra-claro);
  position: relative;
  overflow: hidden;
}
.ahorro-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 12% 8%, rgba(140,107,62,0.10) 0%, transparent 40%),
    radial-gradient(circle at 88% 90%, rgba(140,107,62,0.08) 0%, transparent 45%);
  pointer-events: none;
}
.ahorro-section > .container { position: relative; z-index: 1; }

.ahorro-table-wrap {
  max-width: 900px;
  margin: 0 auto;
  background: var(--blanco-calido);
  border: 1px solid var(--borde);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.ahorro-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-body);
}
.ahorro-table thead {
  background: var(--verde-oscuro);
  color: var(--blanco-calido);
}
.ahorro-table th {
  text-align: left;
  padding: 14px 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.ahorro-table th:not(:first-child) { text-align: right; }
.ahorro-table td {
  padding: 16px 18px;
  border-top: 1px solid var(--borde);
  font-size: 15px;
  color: var(--carbon);
  font-variant-numeric: tabular-nums;
}
.ahorro-table td:not(:first-child) { text-align: right; }
.ahorro-table tbody tr:nth-child(odd) { background: var(--crema); }
.ahorro-table .prod-name {
  font-weight: 500;
  color: var(--carbon);
}
.ahorro-table .num-commercial {
  color: var(--gris-medio);
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}
.ahorro-table .num-iscn {
  color: var(--verde-oscuro);
  font-weight: 600;
}
.ahorro-table .num-saving {
  color: var(--tierra);
  font-weight: 700;
}
.ahorro-table .row-total {
  background: var(--tierra-claro) !important;
  border-top: 2px solid var(--tierra);
}
.ahorro-table .row-total td { font-size: 16px; padding-top: 18px; padding-bottom: 18px; }
.ahorro-table .row-total .num-saving.big {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: -0.01em;
  line-height: 1;
}

@media (max-width: 720px) {
  .ahorro-table { font-size: 13px; }
  .ahorro-table th, .ahorro-table td { padding: 11px 12px; }
  .ahorro-table th { font-size: 10px; }
  .ahorro-table td { font-size: 13px; }
  .ahorro-table .row-total .num-saving.big { font-size: 22px; }
}

/* On very narrow screens (phones) — flip the table to a card layout so
   "AHORRÁS" doesn't get cut off and prices align under their labels. */
@media (max-width: 560px) {
  .ahorro-table-wrap { background: transparent; border: 0; box-shadow: none; }
  .ahorro-table thead { display: none; }
  .ahorro-table, .ahorro-table tbody, .ahorro-table tr, .ahorro-table td {
    display: block;
    width: 100%;
  }
  .ahorro-table tr {
    background: var(--blanco-calido) !important;
    border: 1px solid var(--borde);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    margin-bottom: 10px;
    display: grid;
    grid-template-columns: 1fr auto;
    column-gap: 12px;
    row-gap: 6px;
  }
  .ahorro-table td {
    padding: 0;
    border-top: 0;
    text-align: right !important;
    font-size: 14px;
  }
  /* Producto = título arriba a la izquierda, ocupa fila completa */
  .ahorro-table td:first-child {
    grid-column: 1 / -1;
    text-align: left !important;
    font-weight: 600;
    color: var(--carbon);
    font-family: var(--font-display);
    font-size: 16px;
    margin-bottom: 4px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--borde);
  }
  /* Etiquetas a la izquierda, valores a la derecha */
  .ahorro-table td:not(:first-child)::before {
    content: attr(data-label);
    float: left;
    text-align: left;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gris-medio);
  }
  .ahorro-table .row-total {
    background: var(--tierra-claro) !important;
    border-color: var(--tierra);
  }
  .ahorro-table .row-total td:first-child { color: var(--tierra); }
  .ahorro-table .row-total .num-saving.big { font-size: 22px; }
}

.ahorro-microcopy {
  max-width: 720px;
  margin: 26px auto 0;
  text-align: center;
  color: var(--gris-medio);
  font-size: 15px;
}
.ahorro-microcopy strong { color: var(--carbon); font-weight: 600; }

/* ============================================================
   3 · ¿QUÉ APRENDÉS? — módulos
   ============================================================ */
.modulos-section { background: var(--crema); }

.modulos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto;
}
@media (max-width: 920px) { .modulos-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .modulos-grid { grid-template-columns: 1fr; } }

.modulo-card {
  background: var(--blanco-calido);
  border: 1px solid var(--borde);
  border-radius: var(--radius-lg);
  padding: 26px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  position: relative;
}
.modulo-card:hover {
  transform: translateY(-2px);
  border-color: var(--verde-salvia);
  box-shadow: var(--shadow-md);
}
.modulo-card .modulo-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 36px;
  line-height: 1;
  color: var(--verde-salvia);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.modulo-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--verde-oscuro);
  line-height: 1.2;
}
.modulo-card p {
  font-size: 14px;
  color: var(--gris-medio);
  line-height: 1.55;
  margin: 0;
}
.modulo-card--featured {
  background: var(--verde-oscuro);
  border-color: var(--verde-oscuro);
}
.modulo-card--featured .modulo-num { color: var(--dorado); opacity: 0.95; }
.modulo-card--featured h3 { color: var(--blanco-calido); }
.modulo-card--featured p { color: rgba(255, 253, 249, 0.78); }
.modulo-card--featured:hover { border-color: var(--dorado); }

/* ============================================================
   6 · TESTIMONIOS
   ============================================================ */
.testimonios-section {
  background: var(--blanco-calido);
  border-block: 1px solid var(--borde);
}
.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto;
}
@media (max-width: 920px) { .testimonios-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .testimonios-grid { grid-template-columns: 1fr; } }

.testimonio-card {
  background: var(--crema);
  border: 1px solid var(--borde);
  border-radius: var(--radius-lg);
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.testimonio-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.testimonio-card header {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonio-card .avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--blanco-calido);
  flex-shrink: 0;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,0.08);
}
.testimonio-card .t-name {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--carbon);
  line-height: 1.2;
  margin-bottom: 2px;
}
.testimonio-card .t-meta {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--gris-claro);
  font-weight: 500;
}
.testimonio-card .t-meta .stars {
  color: var(--dorado);
  font-size: 12px;
  letter-spacing: 1px;
}
.testimonio-card blockquote {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--gris-medio);
  font-style: normal;
  position: relative;
  padding-top: 10px;
  border-top: 1px solid var(--borde);
}
.testimonio-card blockquote::before {
  content: "";
  position: absolute;
  left: 0; top: -1px;
  width: 32px; height: 2px;
  background: var(--verde-salvia);
  border-radius: 2px;
}

/* Proof images strip — capturas reales */
.testimonios-proof {
  max-width: 1080px;
  margin: 48px auto 0;
  padding: 28px;
  background: var(--crema);
  border: 1px solid var(--borde);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 1.1fr 2fr;
  gap: 32px;
  align-items: center;
}
@media (max-width: 880px) {
  .testimonios-proof { grid-template-columns: 1fr; gap: 22px; padding: 22px; }
}
.proof-text h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  color: var(--verde-oscuro);
  line-height: 1.2;
  margin-top: 6px;
  margin-bottom: 8px;
}
.proof-text p { font-size: 14px; color: var(--gris-medio); }

.proof-images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.proof-thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  padding: 0;
  background: var(--blanco-calido);
  border: 1px solid var(--borde);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.proof-thumb:hover, .proof-thumb:focus-visible {
  transform: translateY(-2px);
  border-color: var(--verde-salvia);
  outline: none;
}
.proof-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.4s ease;
}
.proof-thumb:hover img { transform: scale(1.04); }
.proof-thumb-label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 8px 10px;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.85) 100%);
  color: var(--blanco-calido);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: center;
}

/* Lightbox overlay */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0.86);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  cursor: zoom-out;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.lightbox.is-open { display: flex; opacity: 1; }
.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: var(--radius-md);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
.lightbox-close {
  position: absolute;
  top: 18px; right: 18px;
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.12);
  color: var(--blanco-calido);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
}
.lightbox-close:hover { background: rgba(255,255,255,0.22); }

/* ============================================================
   7 · CERTIFICADO ISCN
   ============================================================ */
.certificado-section { background: var(--verde-claro); }
.certificado-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: center;
  max-width: 1060px;
  margin: 0 auto;
}
@media (max-width: 880px) {
  .certificado-grid { grid-template-columns: 1fr; gap: 32px; }
}
.cert-frame {
  background: var(--blanco-calido);
  border: 1px solid var(--borde);
  border-radius: var(--radius-lg);
  padding: 36px 32px 32px;
  box-shadow: 0 18px 40px rgba(26,26,24,0.10);
  position: relative;
}
.cert-frame::before, .cert-frame::after {
  content: "";
  position: absolute;
  width: 20px; height: 20px;
  border: 2px solid var(--dorado);
}
.cert-frame::before { top: 14px; left: 14px; border-right: 0; border-bottom: 0; }
.cert-frame::after { bottom: 14px; right: 14px; border-left: 0; border-top: 0; }

.cert-frame img {
  width: 140px;
  height: 140px;
  margin: 0 auto 22px;
  display: block;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.1));
}
.cert-ribbon {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--borde);
}
.cert-ribbon-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cert-ribbon-row .cert-label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gris-claro);
}
.cert-ribbon-row .cert-name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  color: var(--verde-oscuro);
  line-height: 1.2;
}
.cert-ribbon-row .cert-cert {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--carbon);
}
.cert-ribbon-row .cert-code {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--gris-medio);
  letter-spacing: 0.04em;
}

.certificado-copy h2 { line-height: 1.15; }
.certificado-copy p { color: var(--gris-medio); margin-bottom: 18px; }
.cert-uses {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}
.cert-uses li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--carbon);
  line-height: 1.5;
}
.cert-uses .cert-bullet {
  color: var(--verde-oscuro);
  font-weight: 700;
  flex-shrink: 0;
}
.cert-microcopy {
  font-size: 13px;
  color: var(--gris-medio);
  font-style: italic;
  padding: 14px 18px;
  background: var(--blanco-calido);
  border-left: 3px solid var(--verde-salvia);
  border-radius: var(--radius-sm);
  margin: 0;
}
.cert-microcopy strong { color: var(--verde-oscuro); font-style: normal; font-weight: 600; }

/* ============================================================
   8 · FAQ
   ============================================================ */
.faq-section { background: var(--crema); }
.faq-list {
  display: grid;
  gap: 12px;
  max-width: 760px;
  margin: 0 auto;
}
.faq-item {
  background: var(--blanco-calido);
  border: 1px solid var(--borde);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.faq-item[open] {
  border-color: var(--verde-salvia);
  box-shadow: var(--shadow-md);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--verde-oscuro);
  line-height: 1.25;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { display: none; }
.faq-item summary span { flex: 1; }
.faq-chevron {
  width: 22px; height: 22px;
  color: var(--verde-salvia);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.faq-item[open] .faq-chevron { transform: rotate(180deg); color: var(--verde-oscuro); }
.faq-body {
  padding: 0 22px 20px;
  animation: faqSlide 0.3s ease;
}
.faq-body p {
  font-size: 15px;
  color: var(--gris-medio);
  line-height: 1.6;
  margin: 0;
  max-width: none;
}
.faq-body p strong { color: var(--carbon); font-weight: 600; }
@keyframes faqSlide {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (max-width: 600px) {
  .faq-item summary { font-size: 16px; padding: 16px 18px; }
  .faq-body { padding: 0 18px 18px; }
}

/* ============================================================
   GARANTÍAS — (mantengo igual)
   ============================================================ */
.garantias-section { background: var(--verde-claro); }
.garantias-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 980px;
  margin: 0 auto;
}
@media (max-width: 720px) { .garantias-grid { grid-template-columns: 1fr; } }

.garantia-card {
  background: var(--blanco-calido);
  border: 1px solid var(--borde);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-md);
}
.garantia-card .badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--tierra-claro);
  color: var(--tierra);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.garantia-card.condicional .badge { background: var(--verde-claro); color: var(--verde-oscuro); }
.garantia-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--verde-oscuro);
}
.garantia-card p {
  font-size: 15px;
  color: var(--gris-medio);
  line-height: 1.55;
}
.garantia-card .shield {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--verde-claro);
  display: flex; align-items: center; justify-content: center;
  color: var(--verde-oscuro);
}

/* ============================================================
   LEAD MAGNET section
   ============================================================ */
.lm-section {
  background: var(--blanco-calido);
  border-block: 1px solid var(--borde);
  position: relative;
}
.lm-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
  max-width: 1060px;
  margin: 0 auto;
}
@media (max-width: 880px) {
  .lm-grid { grid-template-columns: 1fr; gap: 36px; }
}
.lm-copy h2 { margin-top: 10px; margin-bottom: 14px; }
.lm-copy .muted { font-size: 17px; margin-bottom: 22px; }
.lm-bullets {
  list-style: none;
  display: grid;
  gap: 10px;
}
.lm-bullets li {
  position: relative;
  padding-left: 28px;
  font-size: 15px;
  color: var(--carbon);
  line-height: 1.45;
}
.lm-bullets li::before {
  content: "";
  position: absolute;
  left: 0; top: 5px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background-color: var(--verde-claro);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233D5C40' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='5 12 10 17 19 8'/></svg>");
  background-size: 12px 12px;
  background-position: center;
  background-repeat: no-repeat;
}

.lm-card {
  background: var(--crema);
  border: 1px solid var(--borde);
  border-radius: var(--radius-lg);
  padding: 32px 30px;
  box-shadow: var(--shadow-md);
  position: relative;
}
.lm-card::before {
  content: "GRATIS";
  position: absolute;
  top: -12px;
  right: 22px;
  background: var(--tierra);
  color: var(--blanco-calido);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  padding: 6px 14px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(140, 107, 62, 0.3);
}

.lm-form { display: grid; gap: 14px; }
.lm-field { display: grid; gap: 6px; }
.lm-field label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gris-medio);
}
.lm-field input {
  font-family: var(--font-body);
  font-size: 16px;
  padding: 14px 16px;
  background: var(--blanco-calido);
  border: 1.5px solid var(--borde);
  border-radius: var(--radius-md);
  color: var(--carbon);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  min-height: 50px;
}
.lm-field input::placeholder { color: var(--gris-claro); }
.lm-field input:focus {
  outline: none;
  border-color: var(--verde-oscuro);
  box-shadow: 0 0 0 3px rgba(61, 92, 64, 0.12);
}
.lm-field input:invalid:not(:placeholder-shown) {
  border-color: #b8463e;
}

.lm-fineprint {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--gris-medio);
  margin-top: 4px;
  line-height: 1.4;
}
.lm-fineprint svg { color: var(--verde-salvia); flex-shrink: 0; }

.lm-success {
  text-align: center;
  padding: 12px 0;
}
.lm-success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--verde-claro);
  color: var(--verde-oscuro);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.lm-success h3 {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--verde-oscuro);
  margin-bottom: 8px;
}
.lm-success p { font-size: 15px; color: var(--gris-medio); margin: 0 auto; max-width: 36ch; }
.cierre-section { background: var(--crema); text-align: center; }
.cierre-inner { max-width: 760px; margin: 0 auto; }
.cierre-section h2 { margin-bottom: 14px; }
.cierre-section .sub {
  font-size: 18px;
  color: var(--gris-medio);
  margin: 0 auto 28px;
  max-width: 52ch;
}

.cierre-price {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 36px;
  background: var(--tierra-claro);
  border-radius: var(--radius-lg);
  margin-bottom: 28px;
}
.cierre-price .price-row { justify-content: center; }
.cierre-price .price-cuotas { text-align: center; }

.countdown {
  margin: 0 auto 28px;
  max-width: 420px;
  padding: 20px 24px;
  background: var(--blanco-calido);
  border: 1px solid var(--borde);
  border-radius: var(--radius-lg);
}
.countdown .label {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gris-medio);
  font-weight: 600;
  margin-bottom: 10px;
}
.countdown-digits {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 8px;
}
.countdown-digits .seg {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  color: var(--verde-oscuro);
  min-width: 60px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.countdown-digits .sep { color: var(--gris-claro); font-size: 32px; }
.countdown-digits .lbl {
  display: block;
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gris-claro);
  font-weight: 500;
  margin-top: 2px;
}

.cierre-microfooter {
  margin-top: 18px;
  font-size: 13px;
  color: var(--gris-medio);
}

/* ============================================================
   STICKY BOTTOM BAR (mobile only)
   ============================================================ */
.sticky-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  height: 70px;
  background: var(--blanco-calido);
  border-top: 1px solid var(--borde);
  box-shadow: 0 -6px 18px rgba(26, 26, 24, 0.08);
  transform: translateY(110%);
  transition: transform 0.25s ease;
}
.sticky-bar.visible { transform: translateY(0); }
.sticky-bar .info { display: flex; flex-direction: column; line-height: 1.1; }
.sticky-bar .price {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--verde-oscuro);
}
.sticky-bar .small { font-size: 11px; color: var(--gris-medio); }
.sticky-bar .btn { min-height: 48px; padding: 0 22px; font-size: 15px; }

@media (max-width: 720px) {
  .sticky-bar { display: flex; }
}

/* ============================================================
   WhatsApp floating action button
   ============================================================ */
.wa-fab {
  position: fixed;
  right: 18px;
  bottom: 90px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 8px 22px rgba(37, 211, 102, 0.35),
    0 2px 6px rgba(0, 0, 0, 0.12);
  z-index: 55;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  text-decoration: none;
}
.wa-fab:hover {
  transform: scale(1.08);
  background: #25D366;
  box-shadow:
    0 12px 28px rgba(37, 211, 102, 0.5),
    0 2px 6px rgba(0, 0, 0, 0.12);
}
.wa-fab:active { transform: scale(0.96); }
.wa-fab:focus-visible {
  outline: 3px solid var(--verde-salvia);
  outline-offset: 4px;
}
.wa-fab svg { position: relative; z-index: 1; }

.wa-fab-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  animation: waPulse 2.4s ease-out infinite;
  z-index: 0;
}
@keyframes waPulse {
  0%   { transform: scale(1);   opacity: 0.55; }
  100% { transform: scale(1.7); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .wa-fab-pulse { animation: none; opacity: 0; }
}

@media (max-width: 720px) {
  .wa-fab { bottom: 84px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--verde-oscuro);
  color: rgba(255, 253, 249, 0.7);
  padding: 48px 0 96px;
  font-size: 13px;
}
.site-footer a { color: var(--blanco-calido); }
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
}
@media (max-width: 720px) {
  .site-footer .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .site-footer { padding-bottom: 110px; }
}
.site-footer .footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.site-footer .footer-logo img { height: 36px; filter: brightness(0) invert(1); opacity: 0.9; }
.site-footer h4 {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blanco-calido);
  margin-bottom: 10px;
}
.site-footer ul { list-style: none; display: grid; gap: 6px; }
.site-footer .legal { margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255, 253, 249, 0.14); font-size: 12px; }

/* ============================================================
   UTIL
   ============================================================ */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; } .mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; }

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
