/* Green IA — tokens */
:root {
  --paper: #F6F5F0;
  --paper-2: #EFEDE4;
  --white: #FFFFFF;
  --forest: #1F3B2C;
  --leaf: #3E7C5A;
  --sand: #D9C08C;
  --ink: #22221E;
  --ink-2: #4A483F;
  --ink-3: #6B675D;
  --ink-4: #7A766B;
  --line: rgba(31, 59, 44, 0.1);
  --serif: Fraunces, serif;
  --sans: Inter, system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

html, body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
a { color: var(--forest); text-decoration: none; }
a:hover { color: var(--leaf); }
[hidden] { display: none !important; }

@keyframes fadeRise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
.rise { animation: fadeRise 1s var(--ease) both; }
.rise-1 { animation-delay: .2s; }
.rise-2 { animation-delay: .25s; }
.rise-3 { animation-delay: .5s; }

/* ---------- Shared type ---------- */
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--leaf);
}
.eyebrow--sand { color: var(--sand); }
.num { font-family: var(--serif); font-size: 15px; color: var(--leaf); }
.h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(32px, 3.8vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--forest);
}
.page-h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(44px, 7vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--forest);
  text-wrap: balance;
}
.lead {
  margin: 0;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.55;
  color: var(--ink-2);
  text-wrap: pretty;
}
.body-17 { margin: 0; font-size: 17px; line-height: 1.65; color: var(--ink-2); text-wrap: pretty; }

/* ---------- Buttons ---------- */
.btn {
  border: 0;
  border-radius: 999px;
  font: 500 15px Inter, sans-serif;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.btn--sand { background: var(--sand); color: var(--forest); }
.btn--sand:hover { background: var(--paper); color: var(--forest); }
.btn--forest { background: var(--forest); color: var(--paper); }
.btn--forest:hover { background: var(--leaf); color: var(--paper); }
.btn--outline { border: 1px solid var(--forest); color: var(--forest); background: transparent; }
.btn--outline:hover { background: var(--forest); color: var(--paper); }
.btn--sm { padding: 12px 22px; font-size: 14px; }
.btn--md { padding: 14px 26px; }
.btn--lg { padding: 14px 28px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 245, 240, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(31, 59, 44, 0.08);
}
.site-nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.logo {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 24px;
  color: var(--forest);
  letter-spacing: -0.01em;
}
.nav-right { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; font-size: 14px; }
.nav-links { display: flex; gap: 22px; flex-wrap: wrap; }
.nav-links a { color: var(--ink-2); font-weight: 400; }
.nav-links a.is-active { color: var(--forest); font-weight: 600; }
.nav-links a:hover { color: var(--leaf); }
.nav-ig { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; }
.nav-cta {
  background: var(--forest);
  color: var(--paper);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 500;
}
.nav-cta:hover { background: var(--leaf); color: var(--paper); }

/* ---------- Home: Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 24px;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__tint {
  position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(ellipse 70% 55% at 50% 50%, rgba(31,59,44,0.55), rgba(31,59,44,0.12) 70%, rgba(31,59,44,0) 100%);
}
.hero__fade {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(to bottom, #F6F5F0 0%, rgba(246,245,240,0) 18%, rgba(246,245,240,0) 80%, #F6F5F0 100%);
}
.hero__content {
  position: relative; z-index: 3;
  max-width: 1000px;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 28px;
}
.hero__title {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(44px, 8vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--paper);
  text-wrap: balance;
  text-shadow: 0 2px 30px rgba(31,59,44,0.35);
}
.hero__title span { color: var(--sand); }
.hero__sub {
  margin: 0;
  max-width: 560px;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.55;
  color: rgba(246,245,240,0.9);
  text-wrap: pretty;
  text-shadow: 0 1px 16px rgba(31,59,44,0.4);
}
.hero__cta span { font-size: 16px; }

/* ---------- Home: Problema ---------- */
.problem { padding: 96px 24px; border-top: 1px solid var(--line); }
.problem p {
  max-width: 900px;
  margin: 0 auto;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-align: center;
  text-wrap: pretty;
}
.problem p span { color: var(--leaf); }

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 20px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 36px 32px;
  display: flex; flex-direction: column; gap: 14px;
}
.card h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.2;
  color: var(--forest);
}
.card--lg h3 { font-size: 26px; line-height: normal; }
.card p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink-2); text-wrap: pretty; }

.benefits { padding: 24px 24px 112px; }
.benefits .card-grid { max-width: 1100px; margin: 0 auto; }

/* ---------- Propósito (dark band) ---------- */
.purpose { background: var(--forest); padding: 112px 24px; }
.purpose__grid {
  max-width: 1100px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 56px;
  align-items: center;
}
.purpose__art { display: flex; justify-content: center; align-items: center; gap: 28px; min-height: 220px; }
.leaf-a { width: 120px; height: 120px; background: var(--leaf); border-radius: 0 100% 0 100%; transform: rotate(-12deg); }
.leaf-b { width: 72px; height: 72px; background: var(--sand); border-radius: 0 50% 50% 50%; transform: rotate(45deg); margin-top: 60px; }
.purpose__text { display: flex; flex-direction: column; gap: 24px; }
.purpose__text h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(32px, 3.8vw, 46px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--paper);
  text-wrap: balance;
}
.purpose__text p { margin: 0; font-size: 17px; line-height: 1.7; color: rgba(246,245,240,0.86); text-wrap: pretty; }

/* ---------- Doble camino ---------- */
.paths { padding: 96px 24px 88px; }
.paths__inner { max-width: 1040px; margin: 0 auto; display: flex; flex-direction: column; gap: 48px; }
.paths__title {
  margin: 0;
  text-align: center;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(34px, 4.4vw, 52px);
  letter-spacing: -0.02em;
  color: var(--forest);
}
.paths__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 24px;
}
.path {
  border-radius: 20px;
  padding: 40px 36px;
  display: flex; flex-direction: column; gap: 28px;
  justify-content: space-between;
  min-height: 280px;
}
.path--light { background: var(--paper); border: 1px solid rgba(31,59,44,0.16); }
.path--dark { background: var(--forest); }
.path__head { display: flex; flex-direction: column; gap: 14px; }
.path h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 28px;
  line-height: 1.2;
  color: var(--forest);
  text-wrap: balance;
}
.path--dark h3 { color: var(--paper); }
.path__price { margin: 0; font-size: 15px; color: rgba(246,245,240,0.8); }
.path .btn { align-self: flex-start; font-size: 14px; }
.paths__note { margin: 0; text-align: center; font-size: 14px; color: var(--ink-4); }

/* ---------- Inner-page heroes ---------- */
.page-hero { padding: 120px 24px 96px; text-align: center; }
.page-hero--short { padding-bottom: 88px; }
.page-hero__inner { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; gap: 24px; align-items: center; }
.page-hero--short .page-hero__inner { max-width: 820px; }
.badge {
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--leaf); font-weight: 600;
  border: 1px solid rgba(62,124,90,0.4);
  padding: 7px 14px; border-radius: 999px; white-space: nowrap;
}

/* ---------- Two-column text block ---------- */
.split { padding: 96px 24px; border-top: 1px solid var(--line); }
.split__grid {
  max-width: 1100px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 48px;
  align-items: start;
}
.split__grid > p { margin: 0; font-size: 18px; line-height: 1.7; color: var(--ink); text-wrap: pretty; }

/* ---------- Email forms ---------- */
.email-form { display: flex; gap: 10px; flex-wrap: wrap; }
.email-form input {
  flex: 1 1 220px;
  min-width: 0;
  height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(246,245,240,0.3);
  background: rgba(246,245,240,0.08);
  color: var(--paper);
  font: 400 15px Inter, sans-serif;
  outline: none;
}
.email-form input::placeholder { color: rgba(246,245,240,0.55); }
.email-form input:focus { border-color: var(--sand); }
.email-form button { height: 52px; padding: 0 24px; }
.form-done { margin: 0; font-family: var(--serif); font-size: 22px; color: var(--sand); }
.form-note { margin: 0; font-size: 13px; color: rgba(246,245,240,0.7); }

/* ---------- Recursos: Guía ---------- */
.guide { padding: 0 24px 96px; }
.guide__box {
  max-width: 1100px; margin: 0 auto;
  background: var(--forest);
  border-radius: 24px;
  padding: clamp(40px, 6vw, 72px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 48px;
  align-items: center;
}
.guide__text { display: flex; flex-direction: column; gap: 18px; }
.guide__text h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(30px, 3.4vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--paper);
  text-wrap: balance;
}
.guide__text p { margin: 0; font-size: 17px; line-height: 1.65; color: rgba(246,245,240,0.86); text-wrap: pretty; }
.guide__form { display: flex; flex-direction: column; gap: 14px; }
.guide__form .form-note { padding-left: 4px; }

/* ---------- Recursos: Diagnóstico ---------- */
.diag { padding: 96px 24px; border-top: 1px solid var(--line); }
.diag__grid {
  max-width: 1100px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 56px;
  align-items: start;
}
.diag__intro { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 100px; }
.diag__intro .btn { align-self: flex-start; margin-top: 8px; }
.diag__list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.q {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px 26px;
  display: flex; flex-direction: column; gap: 16px;
}
.q__row { display: flex; gap: 16px; align-items: baseline; }
.q__row .num { flex: none; }
.q__text { font-size: 17px; line-height: 1.45; color: var(--ink); text-wrap: pretty; }
.q__opts { display: flex; gap: 8px; flex-wrap: wrap; padding-left: 36px; }
.opt {
  border: 1px solid rgba(31,59,44,0.2);
  background: var(--paper);
  color: var(--forest);
  padding: 9px 16px;
  border-radius: 999px;
  font: 500 14px Inter, sans-serif;
  cursor: pointer;
  white-space: nowrap;
}
.opt.is-on { border-color: var(--forest); background: var(--forest); color: var(--paper); }
.q textarea {
  margin-left: 36px;
  width: calc(100% - 36px);
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(31,59,44,0.2);
  background: var(--paper);
  font: 400 15px Inter, sans-serif;
  color: var(--ink);
  resize: vertical;
  outline: none;
}
.q textarea:focus { border-color: var(--leaf); }
.diag__footer { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; padding-top: 8px; }
.diag__status { font-size: 14px; color: var(--ink-3); }

/* ---------- Recursos: Glosario ---------- */
.glossary { padding: 96px 24px 112px; background: var(--paper-2); }
.glossary__inner { max-width: 1100px; margin: 0 auto; display: flex; flex-direction: column; gap: 48px; }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 640px; }
.section-head p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.glossary dl {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1px;
  background: rgba(31,59,44,0.14);
  border: 1px solid rgba(31,59,44,0.14);
  border-radius: 20px;
  overflow: hidden;
}
.glossary dl > div { background: var(--paper); padding: 32px 30px; display: flex; flex-direction: column; gap: 12px; }
.glossary dt { font-family: var(--serif); font-weight: 600; font-size: 22px; color: var(--forest); }
.glossary dd { margin: 0; font-size: 15px; line-height: 1.65; color: var(--ink-2); text-wrap: pretty; }

/* ---------- Certificación ---------- */
.audiences { padding: 24px 24px 112px; }
.audiences__inner { max-width: 1100px; margin: 0 auto; display: flex; flex-direction: column; gap: 40px; }
.audiences h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(28px, 3vw, 36px);
  letter-spacing: -0.02em;
  color: var(--forest);
}
.waitlist { background: var(--forest); padding: 112px 24px; }
.waitlist__inner { max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; gap: 24px; align-items: center; text-align: center; }
.waitlist h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--paper);
  text-wrap: balance;
}
.waitlist .email-form { width: 100%; justify-content: center; }
.waitlist .email-form input { flex: 1 1 240px; max-width: 340px; }

/* ---------- Sobre ---------- */
.voice { padding: 96px 24px; background: var(--paper-2); }
.voice__inner { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: 24px; text-align: center; align-items: center; }
.voice p {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--forest);
  text-wrap: pretty;
}
.community { padding: 112px 24px; }
.community__inner { max-width: 1100px; margin: 0 auto; display: flex; flex-direction: column; gap: 40px; }
.channels { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.channel {
  background: var(--white);
  border: 1px solid rgba(31,59,44,0.12);
  border-radius: 20px;
  padding: 30px 28px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  color: var(--forest);
}
.channel:hover { border-color: var(--leaf); color: var(--leaf); }
.channel__text { display: flex; flex-direction: column; gap: 6px; }
.channel__name { font-family: var(--serif); font-weight: 600; font-size: 24px; }
.channel__handle { font-size: 14px; color: var(--ink-3); }
.channel__arrow { font-size: 20px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--paper); border-top: 1px solid rgba(31,59,44,0.14); padding: 72px 24px 40px; }
.footer__grid {
  max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 40px;
}
.footer__brand { display: flex; flex-direction: column; gap: 14px; max-width: 360px; }
.footer__brand .logo { font-size: 26px; letter-spacing: normal; }
.footer__brand p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.footer__col { display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.footer__copy { max-width: 1200px; margin: 20px auto 0; font-size: 12px; color: var(--ink-4); }

/* ---------- Playbook modal ---------- */
.modal {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(34,34,30,0.5);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.modal__panel {
  background: var(--paper);
  border-radius: 24px;
  max-width: 520px; width: 100%;
  padding: 44px 40px;
  display: flex; flex-direction: column; gap: 18px;
}
.modal__panel h3 { margin: 0; font-family: var(--serif); font-weight: 600; font-size: 30px; line-height: 1.2; color: var(--forest); }
.modal__panel p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.modal__panel .modal__price { line-height: normal; color: var(--ink); }
.modal__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.modal__actions .btn:hover { background: var(--forest); }

@media (prefers-reduced-motion: reduce) {
  .rise { animation: none; }
}

/* ---------- Recursos: herramientas ---------- */
.tools { padding: 96px 24px; border-top: 1px solid var(--line); }
.tools__inner { max-width: 1100px; margin: 0 auto; display: flex; flex-direction: column; gap: 40px; }
a.card--link { text-decoration: none; color: inherit; transition: transform .2s ease, border-color .2s ease; }
a.card--link:hover, a.card--link:focus-visible { transform: translateY(-3px); border-color: var(--leaf); }
.card__go { margin-top: auto; font-weight: 600; color: var(--leaf); }
.email-form input:disabled { opacity: .6; cursor: not-allowed; }
.email-form button:disabled { opacity: .75; cursor: not-allowed; }
@media (prefers-reduced-motion: reduce) { a.card--link { transition: none; } }
.footer__legal { max-width: 1200px; margin: 28px auto 0; font-size: 12px; line-height: 1.6; color: var(--ink-4); }
