/* Imantata — Entrenar la mirada
   Landing styles
   Paleta marca: #7A7D68 olive, #C4CEB7 salvia, #EBE9E0 crema, #000 negro
*/

:root {
  --olive: #7A7D68;
  --olive-deep: #5F624F;
  --sage: #C4CEB7;
  --sage-pale: #DDE3D3;
  --cream: #EBE9E0;
  --cream-warm: #F5F2E8;
  --paper: #FBFAF4;
  --ink: #1C1C17;
  --ink-soft: #3A3A30;
  --muted: #6E6E5C;
  --line: rgba(122, 125, 104, 0.22);

  --serif: "Cormorant Garamond", "Cambria", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", system-ui, sans-serif;
  --script: "Pinyon Script", "Allura", cursive;

  --maxw: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
}

/* -------- Reset / base -------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 300;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.012em;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; margin: 0 auto; padding: 0 var(--gutter); }

/* -------- Typographic helpers -------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--olive);
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--olive);
  display: inline-block;
}
.script {
  font-family: var(--script);
  font-weight: 400;
  color: var(--olive);
  font-style: normal;
  font-size: 1.15em;
  line-height: 1;
}

/* -------- Buttons -------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 32px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  color: var(--paper);
  transition: all .4s ease;
  position: relative;
  overflow: hidden;
}
.btn:hover { background: var(--olive); border-color: var(--olive); }
.btn--olive { background: var(--olive); border-color: var(--olive); }
.btn--olive:hover { background: var(--olive-deep); border-color: var(--olive-deep); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--light:hover { background: var(--cream); border-color: var(--cream); }
.btn .arrow { transition: transform .4s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* -------- Top bar -------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 250, 244, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.topbar__logo { height: 40px; width: auto; }
.topbar__meta {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex; align-items: center; gap: 18px;
}
.topbar__meta .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--olive); animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: clamp(48px, 8vw, 120px) 0 clamp(56px, 9vw, 120px);
  overflow: hidden;
}

/* Hero variant A — Editorial split */
.hero--editorial {
  background: var(--paper);
}
.hero--editorial .hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.hero__kicker {
  margin-bottom: 32px;
}
.hero__title {
  font-size: clamp(48px, 7.2vw, 104px);
  letter-spacing: -0.025em;
  line-height: 0.95;
  font-weight: 300;
  color: var(--ink);
}
.hero__title .accent {
  font-family: var(--script);
  color: var(--olive);
  font-weight: 400;
  font-size: 0.82em;
  letter-spacing: 0;
  display: block;
  margin: 6px 0 -4px -4px;
  line-height: 1;
}
.hero__lede {
  margin-top: 28px;
  max-width: 500px;
  font-size: clamp(16px, 1.2vw, 19px);
  color: var(--ink-soft);
  line-height: 1.65;
}
.hero__cta-row {
  display: flex; flex-wrap: wrap; gap: 14px 20px;
  align-items: center;
  margin-top: 40px;
}
.hero__date {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex; align-items: center; gap: 12px;
}
.hero__date::before { content: ""; width: 18px; height: 1px; background: var(--muted); }

.hero__image-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--cream);
}
.hero__image-wrap .ph {
  position: absolute; inset: 0;
}
.hero__caption {
  position: absolute;
  bottom: -24px; left: -24px;
  background: var(--paper);
  padding: 14px 22px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--olive);
  border: 1px solid var(--line);
}

/* Hero variant B — Center stacked */
.hero--center {
  background: linear-gradient(180deg, var(--cream-warm) 0%, var(--paper) 100%);
  text-align: center;
  padding: clamp(80px, 12vw, 160px) 0 clamp(64px, 10vw, 140px);
}
.hero--center .hero__title {
  font-size: clamp(54px, 8.6vw, 130px);
  line-height: 0.92;
}
.hero--center .hero__kicker,
.hero--center .hero__lede,
.hero--center .hero__cta-row { margin-left: auto; margin-right: auto; }
.hero--center .hero__cta-row { justify-content: center; }
.hero--center .hero__lede { max-width: 620px; }
.hero--center .hero__ornament {
  margin: 32px auto 0;
  display: flex; align-items: center; justify-content: center; gap: 18px;
  color: var(--olive);
}
.hero--center .hero__ornament .line { width: 54px; height: 1px; background: var(--olive); }

.hero__strip {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.hero__strip .ph { aspect-ratio: 3 / 4; }

/* Hero variant C — Image background */
.hero--immersive {
  color: var(--paper);
  padding: clamp(120px, 18vw, 220px) 0 clamp(80px, 12vw, 140px);
  background: #2E2E24;
  position: relative;
}
.hero--immersive::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(28,28,23,0.35) 0%, rgba(28,28,23,0.82) 100%),
    var(--hero-bg, linear-gradient(135deg, #5F624F, #7A7D68));
  background-size: cover;
  background-position: center;
}
.hero--immersive .wrap { position: relative; z-index: 2; }
.hero--immersive .hero__title { color: var(--paper); font-size: clamp(52px, 8vw, 120px); line-height: 0.95; }
.hero--immersive .hero__title .accent { color: var(--sage); }
.hero--immersive .hero__lede { color: rgba(251,250,244,0.82); max-width: 560px; font-size: 19px; }
.hero--immersive .eyebrow { color: var(--sage); }
.hero--immersive .eyebrow::before { background: var(--sage); }
.hero--immersive .hero__date { color: rgba(251,250,244,0.7); }
.hero--immersive .hero__date::before { background: rgba(251,250,244,0.7); }

/* ---------- Placeholders ---------- */
.ph {
  background: var(--cream);
  position: relative;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.ph::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(196,206,183,0.5), transparent 60%),
    radial-gradient(ellipse at 70% 80%, rgba(122,125,104,0.25), transparent 55%);
}
.ph__label {
  position: relative; z-index: 1;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(28,28,23,0.4);
  font-weight: 400;
  text-align: center;
  padding: 8px 14px;
  border: 1px dashed rgba(28,28,23,0.25);
}
.ph--dark { background: #2E2E24; }
.ph--dark .ph__label { color: rgba(255,255,255,0.55); border-color: rgba(255,255,255,0.3); }
.ph--dark::after {
  background:
    radial-gradient(ellipse at 30% 20%, rgba(196,206,183,0.18), transparent 60%),
    radial-gradient(ellipse at 70% 80%, rgba(122,125,104,0.3), transparent 55%);
}

/* ---------- Section base ---------- */
.section {
  padding: clamp(72px, 10vw, 140px) 0;
  position: relative;
}
.section--cream { background: var(--cream-warm); }
.section--sage { background: var(--sage-pale); }
.section--dark { background: #2A2A22; color: var(--paper); }
.section--dark h1,.section--dark h2,.section--dark h3 { color: var(--paper); }
.section--dark .eyebrow { color: var(--sage); }
.section--dark .eyebrow::before { background: var(--sage); }

.section__head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  margin-bottom: 64px;
  align-items: end;
}
.section__head .eyebrow { margin-bottom: 20px; }
.section__title {
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.02;
  color: inherit;
}
.section__title .script { display: block; margin-top: 8px; }
.section__sub {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
  max-width: 520px;
}
.section--dark .section__sub { color: rgba(251,250,244,0.75); }

/* ---------- Para quién / Para quién no ---------- */
.audience {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
}
.audience__col {
  padding: clamp(32px, 5vw, 56px);
  background: var(--paper);
}
.audience__col--no { background: var(--cream-warm); }
.audience__col h3 {
  font-size: 26px;
  margin-bottom: 28px;
  display: flex; align-items: center; gap: 14px;
}
.audience__col h3 .mark {
  font-family: var(--serif);
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--olive);
  padding: 6px 12px;
  border: 1px solid var(--olive);
  border-radius: 50px;
}
.audience__col--no h3 .mark { color: var(--muted); border-color: var(--muted); }
.audience__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.audience__list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.55;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.audience__list li:last-child { border-bottom: 0; }
.audience__list .tick {
  flex: 0 0 20px;
  width: 20px; height: 20px;
  display: flex; align-items: center; justify-content: center;
  color: var(--olive);
  margin-top: 2px;
}
.audience__col--no .tick { color: #B69090; }

/* ---------- Video section ---------- */
.video {
  text-align: center;
}
.video__embed {
  margin-top: 56px;
  position: relative;
  width: 100%;
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
  aspect-ratio: 16 / 9;
  background: #000;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.3);
  border: 1px solid var(--line);
}
.video__embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__free {
  margin-top: 32px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--olive);
  padding: 8px 18px;
  border: 1px solid var(--olive);
  border-radius: 50px;
}

/* ---------- Chapters ---------- */
.chapters {
  border-top: 1px solid var(--line);
}
.chapter {
  display: grid;
  grid-template-columns: 120px 1fr 1.2fr;
  gap: clamp(20px, 4vw, 64px);
  padding: clamp(28px, 4vw, 44px) 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
  transition: background .4s ease;
}
.chapter:hover { background: var(--cream-warm); }
.chapter__num {
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1;
  color: var(--olive);
  font-weight: 300;
  font-style: italic;
}
.chapter__title {
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.15;
  color: var(--ink);
}
.chapter__desc {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.7;
}

/* ---------- 3 miradas method ---------- */
.method {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 72px;
  background: rgba(255,255,255,0.08);
}
.method__card {
  background: #2A2A22;
  padding: clamp(32px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  min-height: 380px;
}
.section--dark .method__card {
  border: 1px solid rgba(255,255,255,0.06);
}
.method__glyph {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  color: var(--sage);
}
.method__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
}
.method__name {
  font-size: 30px;
  color: var(--paper);
  line-height: 1.1;
}
.method__desc {
  color: rgba(251,250,244,0.72);
  font-size: 15px;
  line-height: 1.65;
  margin-top: auto;
}

/* ---------- Quién soy ---------- */
.about {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 6vw, 90px);
  align-items: center;
}
.about__img {
  aspect-ratio: 4 / 5;
  background: var(--cream);
  position: relative;
}
.about__img .signature {
  position: absolute;
  bottom: -22px; right: -22px;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 18px 26px;
  font-family: var(--script);
  font-size: 38px;
  color: var(--olive);
  line-height: 1;
}
.about__body h2 {
  font-size: clamp(36px, 4.8vw, 60px);
  margin-bottom: 28px;
}
.about__body h2 .script { display: block; font-size: 0.55em; margin-bottom: 8px; }
.about__body p {
  color: var(--ink-soft);
  font-size: 16.5px;
  line-height: 1.75;
  margin-bottom: 18px;
}
.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.about__stat strong {
  display: block;
  font-family: var(--serif);
  font-size: 42px;
  line-height: 1;
  color: var(--olive);
  font-weight: 400;
  margin-bottom: 8px;
}
.about__stat span {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Details card ---------- */
.details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 48px;
}
.details__cell {
  background: var(--paper);
  padding: clamp(28px, 3.5vw, 40px);
}
.details__cell .k {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 10px;
}
.details__cell .v {
  font-family: var(--serif);
  font-size: 26px;
  line-height: 1.15;
  color: var(--ink);
}
.details__cell .note {
  display: block;
  margin-top: 8px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

/* ---------- Bonus ---------- */
.bonus {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: clamp(40px, 5vw, 72px);
  background: var(--paper);
  border: 1px solid var(--olive);
  position: relative;
}
.bonus::before {
  content: "Bonus de lanzamiento";
  position: absolute; top: -14px; left: 40px;
  background: var(--olive);
  color: var(--paper);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 6px 16px;
}
.bonus h3 {
  font-size: clamp(28px, 3.4vw, 40px);
  margin-bottom: 20px;
  line-height: 1.1;
}
.bonus h3 .script { font-size: 0.7em; display: block; margin-bottom: 4px; }
.bonus p { color: var(--ink-soft); font-size: 16px; line-height: 1.7; }
.bonus__badge {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 1px solid var(--olive);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px;
  color: var(--olive);
  text-align: center;
  margin: 0 auto;
  padding: 20px;
  animation: slow-spin 60s linear infinite;
  position: relative;
}
.bonus__badge strong {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
}
.bonus__badge .tag {
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
@keyframes slow-spin { to { transform: rotate(360deg); } }

/* ---------- Testimonials ---------- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 64px;
}
.testi {
  background: var(--paper);
  padding: clamp(28px, 3.5vw, 44px);
  display: flex; flex-direction: column; gap: 20px;
}
.testi__quote {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink);
  font-style: italic;
}
.testi__quote::before {
  content: "\u201C";
  display: block;
  font-family: var(--serif);
  font-size: 54px;
  color: var(--olive);
  line-height: 0.8;
  margin-bottom: 4px;
}
.testi__who {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

/* ---------- Final CTA ---------- */
.final {
  text-align: center;
  padding: clamp(90px, 14vw, 180px) 0;
  background: #2A2A22;
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.final::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(196,206,183,0.12), transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(122,125,104,0.22), transparent 60%);
}
.final > * { position: relative; z-index: 2; }
.final h2 {
  color: var(--paper);
  font-size: clamp(44px, 7vw, 96px);
  line-height: 0.98;
  max-width: 16ch;
  margin: 0 auto;
}
.final h2 .script { color: var(--sage); display: block; line-height: 1.1; margin: 0.12em 0 0.08em; }
.final p {
  margin: 32px auto 0;
  color: rgba(251,250,244,0.78);
  max-width: 560px;
  font-size: 17px;
}
.final .eyebrow { color: var(--sage); margin-bottom: 32px; }
.final .eyebrow::before { background: var(--sage); }
.final__cta-row {
  margin-top: 48px;
  display: flex; justify-content: center; align-items: center; gap: 20px; flex-wrap: wrap;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: rgba(251,250,244,0.7);
  padding: 64px 0 40px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer img { height: 52px; width: auto; margin-bottom: 20px; }
.footer h4 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--paper);
  font-weight: 500;
  margin-bottom: 18px;
}
.footer a { display: block; padding: 4px 0; font-size: 15px; transition: color .3s ease; }
.footer a:hover { color: var(--sage); }
.footer__tag {
  font-family: var(--script);
  font-size: 26px;
  color: var(--sage);
  line-height: 1;
}
.footer__bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 12px;
  letter-spacing: 0.12em;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Scroll entry animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1.1s cubic-bezier(.2,.7,.2,1), transform 1.1s cubic-bezier(.2,.7,.2,1);
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  body { font-size: 16px; }
  .hero--editorial .hero__grid { grid-template-columns: 1fr; }
  .hero--editorial .hero__image-wrap { order: -1; aspect-ratio: 5/4; }
  .section__head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 48px; }
  .audience { grid-template-columns: 1fr; }
  .chapter { grid-template-columns: 80px 1fr; }
  .chapter__desc { grid-column: 1 / -1; }
  .method { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .details { grid-template-columns: 1fr; }
  .bonus { grid-template-columns: 1fr; text-align: center; }
  .bonus::before { left: 50%; transform: translateX(-50%); }
  .testimonials { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .hero__strip { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .topbar__meta { display: none; }
  .btn { padding: 15px 24px; font-size: 11px; }
  .hero__cta-row { flex-direction: column; align-items: flex-start; }
  .hero--center .hero__cta-row { align-items: center; }
  .about__stats { grid-template-columns: 1fr; gap: 12px; }
}
