/* ============================================================
   ECOMMERCE CON LALI — Landing
   Mobile-first. Escalado con min-width media queries.
   ============================================================ */

/* -------- Fuente de títulos -------- */
@font-face {
  font-family: 'TAN Harmoni';
  src: url('/fonts/TAN-Harmoni-Regular.woff2') format('woff2'),
       url('/fonts/TAN-Harmoni-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* -------- Design tokens -------- */
:root {
  --bordo: #610C27;
  --crema: #F8F4ED;
  --taupe: #AC9C8D;
  --verde-petroleo: #1F4A4D;

  --crema-soft: #FCFAF6;
  --ink: #2B1319;          /* texto principal, derivado del bordo */
  --white: #ffffff;

  --font-display: 'TAN Harmoni', 'Poppins', serif;
  --font-body: 'Poppins', system-ui, -apple-system, sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px -20px rgba(97, 12, 39, 0.35);
  --shadow-soft: 0 10px 30px -18px rgba(43, 19, 25, 0.28);

  --maxw: 1120px;
}

/* -------- Reset -------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background-color: var(--crema);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background-color: var(--crema);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; line-height: 1.1; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { text-decoration: none; color: inherit; }

/* -------- Layout helpers -------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: 22px;
}

.section {
  padding-block: 64px;
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  max-width: 260px;
  margin: 44px auto 0;
  color: var(--taupe);
}
.divider__line {
  flex: 1;
  height: 1px;
  background: currentColor;
  opacity: 0.4;
}
.divider__mark {
  font-size: 1.1rem;
  opacity: 0.85;
  color: var(--bordo);
}
.divider--light { color: rgba(248, 244, 237, 0.5); }
.divider--light .divider__mark { color: var(--crema); }

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--verde-petroleo);
  background: rgba(31, 74, 77, 0.08);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.eyebrow--center { display: block; width: max-content; margin-inline: auto; }

.section__title {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-size: clamp(1.9rem, 7vw, 3.1rem);
  color: var(--bordo);
  margin-bottom: 18px;
  text-wrap: balance;
}
.section__title--center { text-align: center; }

.section__lead {
  font-size: 1.05rem;
  color: var(--taupe);
  max-width: 46ch;
  margin-bottom: 8px;
}
.section__lead--center { text-align: center; margin-inline: auto; }
.section__lead--nowrap {
  max-width: none;
  white-space: nowrap;
  font-size: clamp(0.78rem, 3.6vw, 1.05rem);
}

.hl { color: var(--verde-petroleo); }
.hl-light { color: var(--taupe); }

/* -------- Buttons -------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 15px 28px;
  border-radius: 999px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
  will-change: transform;
}
.btn--lg { padding: 18px 36px; font-size: 1.05rem; }
.btn--block { width: 100%; }

.btn--primary {
  background: var(--bordo);
  color: var(--crema);
  box-shadow: var(--shadow);
}
.btn--primary:hover { transform: translateY(-2px) scale(1.02); background: #4d0a1f; }

.btn--outline {
  background: transparent;
  color: var(--verde-petroleo);
  border-color: var(--verde-petroleo);
}
.btn--outline:hover { transform: translateY(-2px); background: var(--verde-petroleo); color: var(--crema); }

.btn--cream {
  background: var(--crema);
  color: var(--bordo);
}
.btn--cream:hover { transform: translateY(-2px) scale(1.02); background: var(--white); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background:
    radial-gradient(120% 90% at 50% -10%, rgba(172, 156, 141, 0.22), transparent 60%),
    var(--crema);
  padding-block: 56px 60px;
  text-align: center;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(2.1rem, 9vw, 4rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  color: var(--bordo);
  max-width: 16ch;
  text-wrap: balance;
  margin-bottom: 18px;
}

.hero__break { display: none; }

.hero__sub {
  font-size: 1.08rem;
  color: var(--ink);
  max-width: 40ch;
  margin-bottom: 30px;
}

.vsl {
  position: relative;
  width: 100%;
  max-width: 720px;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, var(--bordo), var(--verde-petroleo));
  box-shadow: var(--shadow);
  margin-bottom: 32px;
}
.vsl__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: linear-gradient(135deg, var(--bordo), var(--verde-petroleo));
}
.vsl__badge {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--crema);
  font-size: 1.1rem;
  pointer-events: none;
  opacity: 0.9;
}
/* Ocultar badge cuando el video empieza a reproducirse */
.vsl__video:not([poster]) + .vsl__badge { display: none; }

/* ============================================================
   TRANSFORMACIÓN
   ============================================================ */
.transform {
  background:
    radial-gradient(100% 80% at 50% 0%, rgba(31, 74, 77, 0.45), transparent 70%),
    var(--bordo);
  color: var(--crema);
}
.transform .eyebrow { color: var(--crema); background: rgba(248, 244, 237, 0.14); }
.transform .section__title { color: var(--crema); }
.transform .section__lead { color: rgba(248, 244, 237, 0.78); }
.transform__subtitle { color: var(--crema) !important; }

.everything {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 10px;
  max-width: 100%;
  margin: 26px auto 0;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.everything::-webkit-scrollbar { display: none; }
.everything__line {
  flex-shrink: 0;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  white-space: nowrap;
}
.everything__line:nth-child(1) { background: var(--crema); color: var(--bordo); }
.everything__line:nth-child(2) { background: var(--verde-petroleo); color: var(--crema); }
.everything__line:nth-child(3) { background: var(--taupe); color: var(--ink); }

.transform__subtitle {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(1.5rem, 5vw, 2rem);
  color: var(--bordo);
  text-align: center;
  margin-top: 40px;
  margin-bottom: 6px;
}

.transform__list {
  display: grid;
  gap: 16px;
  margin-top: 34px;
}
.transform__item {
  display: flex;
  gap: 16px;
  align-items: center;
  background: var(--white);
  border: 1px solid rgba(172, 156, 141, 0.22);
  border-left: 4px solid var(--taupe);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  font-size: 1.02rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.transform__item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.transform__item:nth-child(4n+1) { border-left-color: var(--bordo); }
.transform__item:nth-child(4n+2) { border-left-color: var(--verde-petroleo); }
.transform__item:nth-child(4n+3) { border-left-color: var(--taupe); }
.transform__item:nth-child(4n+4) { border-left-color: var(--bordo); }
.transform__item strong { color: var(--bordo); font-weight: 600; }
.transform__emoji {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(97, 12, 39, 0.07);
  font-size: 1.35rem;
  line-height: 1.2;
}
.transform__item:nth-child(4n+1) .transform__emoji { background: rgba(97, 12, 39, 0.09); }
.transform__item:nth-child(4n+2) .transform__emoji { background: rgba(31, 74, 77, 0.1); }
.transform__item:nth-child(4n+3) .transform__emoji { background: rgba(172, 156, 141, 0.22); }
.transform__item:nth-child(4n+4) .transform__emoji { background: rgba(97, 12, 39, 0.09); }
.transform__text { flex: 1; min-width: 0; color: var(--ink); }

.dreamlife {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
  margin-top: 30px;
}
.dreamlife__line {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: var(--crema);
  text-align: center;
}

/* ============================================================
   MÉTODO LALI
   ============================================================ */
.method { background: var(--bordo); }
.method .eyebrow { color: var(--crema); background: rgba(248, 244, 237, 0.14); }
.method .section__title { color: var(--crema); }
.method .section__title .hl { color: var(--taupe); }
.method .section__lead { color: rgba(248, 244, 237, 0.78); }

.method__grid {
  display: grid;
  gap: 16px;
  margin-top: 38px;
}
.method__card {
  position: relative;
  background: rgba(248, 244, 237, 0.06);
  border: 1px solid rgba(248, 244, 237, 0.16);
  border-radius: var(--radius);
  padding: 26px 24px;
  color: var(--crema);
  }
  .method__emoji {
  position: absolute;
  top: 22px;
  right: 22px;
  font-size: 1.75rem;
  line-height: 1;
  }
.method__letter {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--crema);
  color: var(--bordo);
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 16px;
}
.method__name {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.5rem;
  margin-bottom: 4px;
}
.method__eco {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 12px;
}
.method__desc { font-size: 0.98rem; color: rgba(248, 244, 237, 0.85); }

/* ============================================================
   CASO DE ÉXITO / PRUEBA SOCIAL
   ============================================================ */
.proof { background: var(--crema); }
.proof .section__title { margin-bottom: 40px; }

.case {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--verde-petroleo);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 40px;
}
.case__stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 30px 28px;
  text-align: center;
  background: rgba(0,0,0,0.12);
  color: var(--crema);
}
.case__label {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--taupe);
}
.case__jump {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 12vw, 3.4rem);
  line-height: 1;
}
.case__arrow { color: var(--taupe); margin-inline: 4px; }
.case__meta { font-size: 0.9rem; color: rgba(248, 244, 237, 0.8); }
.case__body { padding: 26px 28px; color: var(--crema); }
.case__context {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 12px;
}
.case__quote {
  margin: 0;
  font-size: 1.12rem;
  font-style: italic;
  line-height: 1.5;
}

.testimonials {
  display: grid;
  gap: 16px;
}
.testimonial {
  background: var(--white);
  border: 1px solid rgba(172, 156, 141, 0.3);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}
.testimonial__photo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--taupe), var(--bordo));
  margin-bottom: 16px;
}
.testimonial__result {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.1rem;
  color: var(--bordo);
  margin-bottom: 10px;
}
.testimonial__quote {
  font-style: italic;
  color: var(--ink);
  margin-bottom: 12px;
}
.testimonial__name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--taupe);
}

/* ============================================================
   HOLA, SOY LALI
   ============================================================ */
.about { background: var(--crema-soft); }
.about__inner {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.about__photo {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  max-width: 340px;
  margin-inline: auto;
  border-radius: var(--radius);
  background:
    radial-gradient(80% 60% at 50% 20%, rgba(248,244,237,0.25), transparent),
    linear-gradient(160deg, var(--bordo), var(--verde-petroleo));
  box-shadow: var(--shadow);
  overflow: hidden;
}
.about__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% 22%;
  }
.about__text { font-size: 1.05rem; margin-top: 16px; }
.about__text strong { color: var(--bordo); font-weight: 600; }

/* ============================================================
   MI HISTORIA / LÍNEA DE TIEMPO
   ============================================================ */
.timeline { background: var(--crema); }
.timeline .section__lead { margin-bottom: 48px; }

.tl {
  display: grid;
  gap: 32px;
  list-style: none;
  counter-reset: none;
  padding-left: 0;
}

.tl__item { text-align: center; }

.tl__media {
  width: 100%;
  max-width: 280px;
  aspect-ratio: 4 / 5;
  margin: 0 auto 16px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: linear-gradient(160deg, var(--bordo), var(--verde-petroleo));
}
.tl__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tl__year {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--verde-petroleo);
  line-height: 1;
  margin-bottom: 8px;
}
.tl__title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.3rem;
  color: var(--bordo);
  margin-bottom: 8px;
}
.tl__text { font-size: 1rem; color: var(--ink); max-width: 40ch; margin-inline: auto; }
.tl__text strong { color: var(--bordo); font-weight: 600; }

/* ============================================================
   NO ES PARA TODAS
   ============================================================ */
.fit { background: var(--crema); }
.fit__grid {
  display: grid;
  gap: 20px;
  margin-top: 40px;
}
.fit__col {
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-soft);
}
.fit__col--yes {
  background: var(--white);
  border: 2px solid var(--verde-petroleo);
}
.fit__col--no {
  background: var(--crema-soft);
  border: 1.5px solid rgba(172, 156, 141, 0.4);
}
.fit__heading {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.35rem;
  margin-bottom: 18px;
}
.fit__col--yes .fit__heading { color: var(--verde-petroleo); }
.fit__col--no .fit__heading { color: var(--taupe); }
.fit__list {
  display: grid;
  gap: 14px;
}
.fit__list li {
  position: relative;
  padding-left: 26px;
  font-size: 0.98rem;
  color: var(--ink);
}
.fit__list li::before {
  position: absolute;
  left: 0;
  top: 0;
}
.fit__col--yes .fit__list li::before { content: "★"; color: var(--verde-petroleo); }
.fit__col--no .fit__list li::before { content: "✕"; color: var(--taupe); }

/* ============================================================
   PRICING
   ============================================================ */
.pricing { background: var(--crema); }
.pricing__single {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}
.pricing__single .plan { max-width: 520px; width: 100%; }

.plan__installments {
  font-size: 0.95rem;
  color: rgba(248, 244, 237, 0.75);
  margin-top: -14px;
  margin-bottom: 22px;
}

.plan {
  position: relative;
  border-radius: var(--radius);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
}

.plan--vip {
  background: var(--bordo);
  color: var(--crema);
  box-shadow: var(--shadow);
  border: 2px solid var(--bordo);
}

.plan__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--taupe);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 999px;
  white-space: nowrap;
}

.plan__name {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.7rem;
  margin-bottom: 8px;
}

.plan__price {
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 1;
  margin-bottom: 22px;
}
.plan__currency { font-size: 1rem; vertical-align: super; opacity: 0.75; }

.plan__features {
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
  flex-grow: 1;
}
.plan__features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.98rem;
  line-height: 1.45;
}
.plan__icon { flex-shrink: 0; font-size: 1.05em; line-height: 1.45; }
.plan__feat-text { flex: 1; min-width: 0; }

/* ============================================================
   CIERRE
   ============================================================ */
.closing {
  background:
    radial-gradient(100% 100% at 50% 0%, rgba(31, 74, 77, 0.5), transparent 70%),
    var(--bordo);
  color: var(--crema);
  text-align: center;
}
.closing__inner { display: flex; flex-direction: column; align-items: center; }
.closing__title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(2rem, 7vw, 3.4rem);
  max-width: none;
  margin-inline: auto;
  margin-bottom: 18px;
}
.closing__text {
  font-size: 1.1rem;
  color: rgba(248, 244, 237, 0.85);
  max-width: 42ch;
  margin-bottom: 32px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--ink);
  color: rgba(248, 244, 237, 0.7);
  padding-block: 34px;
  text-align: center;
}
.footer__brand {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--crema);
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.footer__copy { font-size: 0.82rem; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE — tablet
   ============================================================ */
@media (min-width: 768px) {
  .section { padding-block: 90px; }
  .container { padding-inline: 32px; }

  .transform__list {
    grid-template-columns: 1fr 1fr;
  }
  .transform__item:last-child { grid-column: 1 / -1; }

  .dreamlife { grid-template-columns: repeat(3, 1fr); gap: 24px; }

  .everything__line { white-space: nowrap; }
  .everything { justify-content: center; overflow-x: visible; max-width: 640px; }

  .fit__grid { grid-template-columns: 1fr 1fr; }

  .method__grid { grid-template-columns: repeat(2, 1fr); }

  .case {
    flex-direction: row;
    align-items: stretch;
  }
  .case__stat { flex: 0 0 40%; justify-content: center; }
  .case__body { display: flex; flex-direction: column; justify-content: center; }

  .testimonials { grid-template-columns: repeat(3, 1fr); }

  .about__inner {
    flex-direction: row;
    align-items: center;
    gap: 48px;
  }
  .about__photo { flex: 0 0 40%; max-width: none; margin: 0; }

  /* Mi historia: formato horizontal, 3 columnas en fila */
  .tl {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: start;
  }
  .tl__media { max-width: none; position: relative; }
  .tl__item:not(:last-child) .tl__media::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 100%;
    width: 32px;
    height: 2px;
    background: var(--taupe);
    transform: translateY(-50%);
  }
}

/* ============================================================
   RESPONSIVE — desktop
   ============================================================ */
@media (min-width: 1024px) {
  .hero { padding-block: 80px 90px; }
  .method__grid { grid-template-columns: repeat(4, 1fr); }

  .hero .container {
    max-width: 1240px;
    padding-inline: 24px;
  }
  .hero__title {
    max-width: none;
    font-size: clamp(3rem, 5.2vw, 4.6rem);
  }
  .hero__break { display: block; }
  .hero__sub {
    max-width: 58ch;
    font-size: 1.15rem;
  }
}

/* ============================================================
   SECTION SPACING MODIFIERS — placed last to win over media-query
   padding-block resets at any breakpoint
   ============================================================ */
.section--tight-bottom { padding-bottom: 28px !important; }
.section--tight-top { padding-top: 28px !important; }
