/* Método RENACE — landing */
:root {
  --bg: #fbfdfc;
  --ink: #24403c;
  --deep: #14453e;
  --deep-dark: #0f3630;
  --mid: #2c6e64;
  --teal-soft: #eef6f5;
  --teal-tint: #dcecea;
  --teal-line: #e2edeb;
  --muted: #3c5a55;
  --sage: #8fc0b8;
  --cross: #b3543f;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Source Sans 3', sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--deep); text-decoration: none; }
a:hover { color: var(--mid); }

h1, h2, h3 { font-family: Jost, sans-serif; font-weight: 600; color: var(--deep); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-family: Jost, sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--mid);
  margin: 0 0 14px;
}

.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(26px, 3.2vw, 40px); line-height: 1.18; margin: 0 0 18px; }
.section-head p { font-size: 18px; line-height: 1.6; margin: 0; color: var(--muted); text-wrap: pretty; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: Jost, sans-serif;
  font-weight: 600;
  border-radius: 999px;
  transition: background .2s, color .2s;
}
.btn-solid {
  background: var(--deep);
  color: #fff;
  font-size: 18px;
  padding: 17px 32px;
  box-shadow: 0 10px 24px rgba(20, 69, 62, .25);
}
.btn-solid:hover { background: var(--deep-dark); color: #fff; }
.btn-ghost {
  border: 2px solid var(--deep);
  color: var(--deep);
  font-size: 17px;
  padding: 14px 28px;
}
.btn-ghost:hover { background: var(--deep); color: #fff; }

/* Reveal on scroll */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ============ Hero ============ */
.hero {
  background: radial-gradient(1200px 600px at 20% -10%, var(--teal-tint) 0%, var(--teal-soft) 45%, var(--bg) 100%);
}
.hero-logo { display: flex; justify-content: center; padding-top: 28px; }
.hero-logo img { width: 150px; height: auto; }
.hero-grid {
  padding-top: 36px;
  padding-bottom: 80px;
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: center;
}
.hero-copy { flex: 1 1 480px; min-width: 300px; }
.hero-copy h1 {
  font-size: clamp(30px, 4.2vw, 50px);
  line-height: 1.12;
  margin: 0 0 20px;
  text-wrap: pretty;
}
.hero-copy p {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.6;
  margin: 0 0 32px;
  color: var(--muted);
  max-width: 56ch;
  text-wrap: pretty;
}
.hero-media { flex: 1 1 380px; min-width: 280px; display: flex; justify-content: center; }
.hero-media .frame {
  width: min(440px, 100%);
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(20, 69, 62, .18);
  background: var(--teal-tint);
}
.hero-media img, .split-media img { width: 100%; height: 100%; object-fit: cover; }

/* ============ Split sections (problema / sobre mí) ============ */
.split {
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
  align-items: center;
  padding-top: 88px;
  padding-bottom: 88px;
}
.split-media { flex: 1 1 360px; min-width: 280px; display: flex; justify-content: center; }
.split-media .frame {
  width: min(420px, 100%);
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(20, 69, 62, .14);
  background: var(--teal-soft);
}
.split-copy { flex: 1 1 480px; min-width: 300px; }
.split-copy h2 { font-size: clamp(26px, 3vw, 38px); line-height: 1.18; margin: 0 0 18px; text-wrap: pretty; }
.split-copy > p { font-size: 18px; line-height: 1.6; margin: 0 0 22px; color: var(--muted); }
.split-copy .punch { font-size: 19px; line-height: 1.55; margin: 0 0 30px; color: var(--deep); font-weight: 600; text-wrap: pretty; }

.check-list { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: baseline; font-size: 17px; line-height: 1.5; }
.check-list .x { color: var(--cross); font-weight: 700; flex: none; }

/* ============ Dark band (verdadero problema / cómo empezamos) ============ */
.band { background: var(--deep); padding: 88px 24px; color: var(--teal-soft); }
.band .eyebrow { color: var(--sage); }
.band h2 { color: #fff; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.18; margin: 0 0 22px; text-wrap: pretty; }
.band-center { max-width: 880px; margin: 0 auto; text-align: center; }
.band-center > p { font-size: 18px; line-height: 1.65; margin: 0 auto 8px; max-width: 60ch; color: #cfe3df; }
.band-center > p.last { margin-bottom: 40px; }

.flow { display: flex; flex-direction: column; gap: 18px; align-items: center; }
.flow-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  padding: 18px 26px;
  font-family: Jost, sans-serif;
  font-weight: 600;
  letter-spacing: .12em;
  font-size: 15px;
}
.flow-bad { background: rgba(179, 84, 63, .14); border: 1px solid rgba(220, 140, 120, .35); color: #e8b3a5; }
.flow-good { background: rgba(255, 255, 255, .08); border: 1px solid rgba(143, 192, 184, .5); color: var(--teal-tint); padding: 20px 28px; }
.flow-row .arrow { font-size: 18px; letter-spacing: 0; }
.flow-bad .arrow { color: #e8b3a5; }
.flow-good .arrow { color: var(--sage); }
.flow-good .tag { font-weight: 700; color: #fff; background: var(--mid); padding: 8px 16px; border-radius: 999px; }

/* ============ Método — pillars ============ */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 28px; }
.pillar {
  background: #fff;
  border: 1px solid var(--teal-line);
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: 0 12px 28px rgba(20, 69, 62, .07);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.pillar .eyebrow { font-size: 13px; letter-spacing: .2em; margin: 0; }
.pillar h3 { font-size: 26px; margin: 0; }
.pillar ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.pillar li { display: flex; gap: 10px; align-items: baseline; font-size: 16px; }
.pillar li::before { content: "✓"; color: var(--mid); font-weight: 700; flex: none; }
.pillar-tiles { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; margin-top: auto; }
.pillar-tiles img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }

.chat { margin-top: auto; background: var(--teal-soft); border-radius: 14px; padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.chat .msg {
  border-radius: 14px 14px 14px 4px;
  padding: 10px 14px;
  font-size: 14.5px;
  box-shadow: 0 2px 6px rgba(20, 69, 62, .08);
  max-width: 85%;
}
.chat .from-her { align-self: flex-start; background: #fff; color: var(--ink); }
.chat .from-coach { align-self: flex-end; background: #d3ead9; color: #1d4436; border-radius: 14px 14px 4px 14px; }

.section-cta { display: flex; justify-content: center; margin-top: 44px; }

/* ============ Beneficios ============ */
.benefits { background: var(--teal-soft); padding: 88px 24px; }
.benefit-grid { max-width: 920px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 14px; }
.benefit {
  display: flex;
  gap: 14px;
  align-items: center;
  background: #fff;
  border-radius: 14px;
  padding: 18px 22px;
  box-shadow: 0 6px 16px rgba(20, 69, 62, .06);
  font-size: 17px;
}
.benefit .dot {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--teal-tint);
  color: var(--deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* ============ Casos de éxito — carousel ============ */
.carousel { max-width: 640px; margin: 0 auto; position: relative; }
.carousel-window { overflow: hidden; border-radius: 20px; box-shadow: 0 20px 44px rgba(20, 69, 62, .16); background: var(--teal-soft); }
.carousel-track { display: flex; transition: transform .45s ease; }
.carousel-track img { width: 100%; flex: none; aspect-ratio: 1; object-fit: cover; }
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: var(--deep);
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(20, 69, 62, .22);
}
.carousel-btn:hover { background: var(--teal-tint); }
.carousel-btn.prev { left: -8px; }
.carousel-btn.next { right: -8px; }
.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.carousel-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  padding: 0;
  background: #c3d9d5;
}
.carousel-dots button.on { background: var(--deep); }

.more-cta { display: flex; justify-content: center; margin-top: 32px; }
.btn-toggle {
  font-family: Jost, sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--deep);
  background: none;
  border: 2px solid var(--deep);
  border-radius: 999px;
  padding: 12px 28px;
  cursor: pointer;
  transition: background .2s, color .2s;
}
.btn-toggle:hover { background: var(--deep); color: #fff; }
.extra-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr));
  gap: 14px;
  margin-top: 32px;
}
.extra-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; box-shadow: 0 8px 20px rgba(20, 69, 62, .1); }
.extra-grid[hidden] { display: none; }

/* ============ Testimonios ============ */
.testimonials { background: var(--teal-soft); padding: 88px 24px; }
.testimonial-videos {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
  gap: 20px;
}
.testimonial-videos video {
  display: block;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 18px;
  background: var(--deep);
  box-shadow: 0 12px 28px rgba(20, 69, 62, .16);
}

/* ============ Sobre mí ============ */
.about-copy p { font-size: 17px; line-height: 1.65; margin: 0 0 14px; color: var(--muted); text-wrap: pretty; }
.about-copy strong { color: var(--deep); }
.about-copy .punch { font-size: 18px; line-height: 1.6; margin: 0; color: var(--deep); font-weight: 600; }

/* ============ Pasos ============ */
.steps { max-width: 1020px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); gap: 20px; }
.step {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(143, 192, 184, .35);
  border-radius: 18px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.step span { font-family: Jost, sans-serif; font-weight: 700; font-size: 15px; color: var(--sage); }
.step p { margin: 0; font-size: 17px; line-height: 1.5; color: var(--teal-soft); }

/* ============ FAQ ============ */
.faq-wrap { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq {
  background: #fff;
  border: 1px solid var(--teal-line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(20, 69, 62, .05);
}
.faq button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 18px 22px;
  text-align: left;
  font-family: Jost, sans-serif;
  font-weight: 600;
  font-size: 17.5px;
  color: var(--deep);
}
.faq .icon { flex: none; font-size: 20px; color: var(--mid); transition: transform .25s; }
.faq.open .icon { transform: rotate(45deg); }
.faq .answer { margin: 0; padding: 0 22px 20px; font-size: 16.5px; line-height: 1.6; color: var(--muted); }
.faq:not(.open) .answer { display: none; }

/* ============ CTA final ============ */
.final {
  background: radial-gradient(900px 500px at 50% 120%, var(--teal-tint) 0%, var(--teal-soft) 55%, var(--bg) 100%);
  padding: 96px 24px 110px;
}
.final-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.final h2 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.2; margin: 0 0 10px; text-wrap: pretty; }
.final .sub {
  font-family: Jost, sans-serif;
  font-weight: 500;
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.35;
  margin: 0 0 26px;
  color: var(--mid);
  text-wrap: pretty;
}
.final .body { font-size: 18px; line-height: 1.65; margin: 0 auto 12px; max-width: 54ch; color: var(--muted); }
.final .body.last { margin-bottom: 38px; }
.final .btn-solid { font-size: 19px; padding: 19px 38px; box-shadow: 0 14px 30px rgba(20, 69, 62, .28); }
.final-brand { margin-top: 64px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.final-brand img { width: 110px; height: auto; }
.final-brand p { margin: 0; font-size: 13.5px; color: #7d9691; }

/* ============ Sections padding ============ */
.pad { padding: 88px 0; }

/* ============ Mobile ============ */
@media (max-width: 640px) {
  .split { padding-top: 64px; padding-bottom: 64px; gap: 36px; }
  .pad { padding: 64px 0; }
  .band, .benefits, .testimonials { padding: 64px 24px; }
  .final { padding: 72px 24px 84px; }
  .carousel-btn.prev { left: 8px; }
  .carousel-btn.next { right: 8px; }
  .btn-solid, .btn-ghost { font-size: 16px; padding: 15px 26px; }
  /* Flow DIETA→REBOTE / RENACE→HÁBITOS→… reads vertically on small screens */
  .flow-row { flex-direction: column; gap: 12px; align-self: stretch; }
  .flow-row .arrow { transform: rotate(90deg); }
}
