/* =========================================================
   40+ ACCELERATOR · estilos
   Réplica de la landing de Kajabi. Todo color, fuente y
   espaciado sale de las variables de :root: cambiá ahí
   para aplicar el design system.
   Layout: bandas a todo el ancho, contenido centrado en .wrap
   ========================================================= */
:root {
  color-scheme: dark;

  /* Color */
  --gold: #c1a668;          /* dorado principal 40+ */
  --gold-soft: #c6b064;
  --purple: #7e00d8;        /* violeta acento */
  --lilac: #c17bff;
  --lilac-pale: #e2c2ff;
  --violet-band: #4c0075;   /* fondo WhatsApp / Calendly */
  --plum: #2a0a4a;          /* fondo AI First */
  --night: #0e011b;         /* fondo más oscuro */
  --ink: #16001c;           /* fondo base de la página */
  --whatsapp: #25d366;
  --white: #ffffff;
  --text-soft: #f3f3f3;
  --dark-text: #1a1a1a;

  /* Tipografía */
  --font: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --fs-hero: clamp(2rem, 4.2vw, 3.4rem);
  --fs-display: clamp(2rem, 4vw, 3.1rem);
  --fs-kicker: clamp(1.4rem, 2.4vw, 2.1rem);
  --fs-lead: clamp(1.05rem, 1.6vw, 1.45rem);
  --fs-body: 0.95rem;
  --fs-small: 0.82rem;

  /* Layout */
  --wrap: 1140px;
  --band-pad: clamp(56px, 8vw, 110px);
  --radius: 10px;
  --radius-lg: 16px;
  --gap: clamp(16px, 2.5vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
strong, b { font-weight: 700; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap {
  max-width: calc(var(--wrap) + 2 * 16px);
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.band { padding-block: var(--band-pad); background-size: cover; background-position: center; }
.band--tight { padding-top: 0; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 12px 40px;
  border: 0; border-radius: 6px;
  font: 700 0.85rem/1.2 var(--font); letter-spacing: 0.04em; text-transform: uppercase;
  text-decoration: none; text-align: center; cursor: pointer;
  transition: filter .2s ease, transform .2s ease;
}
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--lilac-pale); outline-offset: 3px; }
.btn--gold { background: var(--gold); color: var(--white); }
.btn--green { background: var(--whatsapp); color: var(--white); }
.btn--dark { background: var(--dark-text); color: var(--white); }
.btn--lilac { background: var(--lilac); color: var(--white); }
.btn--block { width: 100%; text-transform: none; letter-spacing: 0; }
.btn--wide { width: 100%; max-width: 880px; }
.cta-row { display: flex; justify-content: center; margin-top: clamp(32px, 5vw, 56px); }

/* ---------- Encabezados de sección ---------- */
.sec-head { text-align: center; color: var(--gold); margin-bottom: clamp(32px, 5vw, 56px); display: grid; justify-items: center; gap: 6px; }
.sec-head__kicker { font-size: var(--fs-kicker); font-weight: 300; }
.sec-head__title { font-size: var(--fs-display); font-weight: 700; }
.rule { display: block; width: 180px; height: 2px; background: var(--gold); margin-top: 18px; }
.rule--wide { width: 100%; max-width: 1060px; margin: 0 auto 40px; background: rgba(193,166,104,.35); }
.rule--left { margin-top: 14px; width: 180px; }
.big-title { text-align: center; color: var(--gold); font-size: var(--fs-display); font-weight: 300; }
.big-title strong { font-weight: 700; }
.intro { font-size: var(--fs-lead); max-width: 880px; margin: 0 auto clamp(36px, 5vw, 60px); color: var(--white); }
.intro--center { text-align: center; margin-top: 24px; }

/* ---------- 01 Hero ---------- */
.hero {
  background: var(--night) url("../img/hero-bg.webp") center right / cover no-repeat;
  min-height: min(1000px, 100svh);
  display: flex; align-items: center;
  padding-block: 80px;
}
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: var(--gap); align-items: end; width: 100%; }
.hero__copy { display: grid; gap: 26px; }
.hero__logo { width: min(270px, 70%); }
.hero__title { font-size: var(--fs-hero); font-weight: 700; color: var(--gold); }
.hero__lead { font-size: var(--fs-lead); max-width: 34ch; }
.hero__ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 760px; margin-top: 16px; }
.hero__media { align-self: end; display: flex; justify-content: flex-end; }
.hero__adrian-mobile { display: none; }
.hero__badge { width: min(300px, 60%); margin-bottom: -40px; }

/* ---------- 02 / 03 Testimonios ---------- */
.band--testimonials { background: radial-gradient(120% 70% at 50% 0%, #2a0a4a 0%, var(--ink) 55%), var(--ink); }
.video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 40px) var(--gap); }
.video-card { display: grid; gap: 18px; align-content: start; }
.video-card p { font-size: var(--fs-small); line-height: 1.6; color: var(--white); }
.video-card__title { color: var(--gold); font-size: clamp(1rem, 1.6vw, 1.25rem); font-weight: 700; margin-top: 10px; }
.video-card__poster { position: relative; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 4px; overflow: hidden; }
.video-card__poster img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.video-card__poster:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 100px; height: 64px; background: rgba(193,166,104,.85); transition: background .2s;
}
.play::after { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-35%, -50%); border-left: 18px solid var(--white); border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.video-card__poster:hover .play { background: var(--gold); }

.quote-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.quote-card { display: grid; gap: 14px; align-content: start; min-width: 0; }
.quote-card img { width: 100%; aspect-ratio: 1; object-fit: cover; margin-bottom: 14px; }
.quote-card h3 { color: var(--gold); font-size: 1.02rem; font-weight: 700; }
.quote-card p { font-size: var(--fs-small); line-height: 1.6; }

/* ---------- 04 Cupos ---------- */
.strip { background: var(--gold); color: var(--dark-text); padding-block: 40px; }
.strip__inner { display: grid; grid-template-columns: auto 1fr 1fr; align-items: center; gap: var(--gap); }
.strip__inner img { width: 44px; }
.strip__inner p { font-size: var(--fs-small); text-align: center; max-width: 46ch; justify-self: center; }

/* ---------- 05 WhatsApp ---------- */
.band--violet { background: var(--violet-band); }
.wa { display: grid; grid-template-columns: 1fr 1.4fr; gap: var(--gap); align-items: center; max-width: 1000px; }
.wa__head { display: grid; justify-items: center; gap: 16px; text-align: center; }
.wa__head img { width: 100px; }
.wa__head h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 400; }
.wa__form { display: grid; gap: 14px; }
.wa__form input {
  width: 100%; min-height: 44px; padding: 10px 12px;
  border: 1px solid #ddd; border-radius: 3px; background: var(--white); color: var(--dark-text);
  font: 400 0.85rem var(--font);
}
.wa__form input::placeholder { color: var(--gold); }
.wa__form input[aria-invalid="true"] { border-color: #e5484d; box-shadow: 0 0 0 2px rgba(229,72,77,.35); }
.wa__hint { font-size: 0.7rem; color: rgba(255,255,255,.75); margin-top: -4px; }
.wa__hint.is-error { color: #ffb4b4; }
.wa__success { display: grid; gap: 8px; text-align: center; padding: 24px; border-radius: var(--radius); background: rgba(255,255,255,.08); }
.wa__success h3 { font-size: 1.4rem; color: var(--gold); }

/* ---------- 06 Qué vas a encontrar ---------- */
.band--purple-bg { background: var(--night) url("../img/section-bg-purple.webp") center / cover no-repeat; }
.pillars { display: grid; gap: clamp(28px, 4vw, 44px); max-width: 900px; margin: 0 auto; }
.pillar { display: grid; grid-template-columns: 300px 1fr; gap: var(--gap); align-items: center; }
.pillar--flip { grid-template-columns: 1fr 300px; }
.pillar--flip .pillar__icon { order: 2; }
.pillar__icon { width: 200px; justify-self: center; }
.pillar__card {
  background: rgba(193,166,104,.11); border: 2px solid var(--gold); border-radius: var(--radius);
  padding: clamp(20px, 3vw, 32px); display: grid; gap: 12px;
}
.pillar__card h3 { font-size: clamp(1.15rem, 2vw, 1.6rem); font-weight: 700; }
.pillar__card p { font-size: var(--fs-small); line-height: 1.6; }

/* ---------- 07 Fases ---------- */
.phases { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; }
.phase { background: rgba(126,0,216,.17); border-radius: var(--radius); padding: 28px 30px; display: grid; gap: 12px; align-content: start; }
.phase h3 { color: var(--gold); font-size: 1.15rem; font-weight: 700; }
.phase p { font-size: var(--fs-small); line-height: 1.5; }
.phase__deliverable { color: var(--gold); }
.phase--extra { background: var(--gold); color: var(--dark-text); }
.phase--extra h3 { color: var(--dark-text); }

/* ---------- 08 Sesiones en vivo ---------- */
.band--night { background: var(--night); }
.live { display: grid; grid-template-columns: 380px 1fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.live__stat { background: rgba(126,0,216,.17); border-radius: var(--radius-lg); padding: 40px 24px; text-align: center; }
.live__pre { font-size: 1.6rem; font-weight: 700; letter-spacing: 0.12em; }
.live__num { font-size: clamp(6rem, 12vw, 9.5rem); font-weight: 800; line-height: 1; color: var(--purple); }
.live__post { font-size: 1.4rem; font-weight: 700; line-height: 1.3; }
.live__copy { display: grid; gap: 16px; }
.live__copy h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); font-weight: 700; }
.live__copy p { font-size: 1.15rem; }
mark { background: var(--purple); color: var(--text-soft); padding: 0 .3em; -webkit-box-decoration-break: clone; box-decoration-break: clone; font-weight: 700; }
.live__rule { border: 0; height: 2px; background: var(--text-soft); margin: clamp(40px, 6vw, 70px) 0; max-width: 1030px; margin-inline: auto; }
.live__subtitle { color: var(--purple); font-size: clamp(1.6rem, 3vw, 2.5rem); font-weight: 700; margin-bottom: 32px; }
.month { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 60px; max-width: 1000px; }
.month p { font-size: 1.15rem; color: var(--text-soft); }

/* ---------- 09 Mentores ---------- */
.mentors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.mentor { margin: 0; display: grid; justify-items: center; gap: 22px; text-align: center; }
.mentor img { width: min(170px, 80%); aspect-ratio: 1; border-radius: 50%; object-fit: cover; }
.mentor figcaption { display: grid; gap: 8px; }
.mentor h3 { color: var(--gold); font-size: 1.15rem; font-weight: 700; }
.mentor__area { font-size: var(--fs-small); font-weight: 700; }
.mentor p:last-child { font-size: var(--fs-small); }
.mentors__coach { text-align: center; font-size: var(--fs-lead); margin-top: clamp(40px, 6vw, 70px); }
.mentors__coach strong { color: var(--gold); }

/* ---------- 10 AI First ---------- */
.band--plum { background: var(--plum); }
.ai { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.ai__card { background: var(--lilac); border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 48px); display: grid; gap: 10px; }
.ai__word { font-size: clamp(2.6rem, 5vw, 4.2rem); font-weight: 800; color: #1a0630; line-height: 1.05; }
.ai__pill { justify-self: end; background: #1a0630; color: var(--lilac-pale); font-size: clamp(1.4rem, 2.6vw, 2.2rem); font-weight: 700; font-style: italic; padding: 6px 24px; border-radius: 999px; }
.ai__copy { display: grid; gap: 18px; font-size: 1.05rem; }
.lilac { color: var(--lilac); }
.ai__price { display: grid; gap: 4px; font-size: 1.35rem; }
.ai__price s { background: var(--purple); padding: 0 .3em; }
.ai__price span { color: var(--lilac); }

/* ---------- 11 Incluye ---------- */
.includes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px var(--gap); }
.include { display: grid; grid-template-rows: auto auto 1fr auto; justify-items: center; gap: 14px; text-align: center; }
.include img { width: 100px; }
.include h3 { color: var(--gold); font-size: 1.15rem; font-weight: 700; }
.include p { font-size: var(--fs-small); line-height: 1.55; }
.include__tag { border-top: 1px solid rgba(255,255,255,.7); padding-top: 12px; width: 100%; font-weight: 700; }
.include__tag span { color: var(--gold); }

/* ---------- 12 Agendar ---------- */
.calendly { min-height: 700px; display: grid; place-items: center; }
.calendly iframe { width: 100%; height: 700px; border: 0; }
.calendly__fallback { display: grid; gap: 16px; justify-items: center; text-align: center; max-width: 560px; }
.calendly__fallback h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); color: var(--gold); }

/* ---------- 13 Historia ---------- */
.band--story { background: var(--ink) url("../img/historia-bg.webp") center top / cover no-repeat; }
.story-head { text-align: center; color: var(--gold); margin-bottom: clamp(40px, 6vw, 70px); display: grid; gap: 4px; }
.story-head__kicker { font-size: var(--fs-kicker); font-style: italic; font-weight: 400; }
.story-head__title { font-size: var(--fs-display); font-weight: 300; }
.story-head__sub { font-size: var(--fs-kicker); font-weight: 400; }
.timeline { display: grid; gap: clamp(48px, 7vw, 90px); max-width: 1050px; margin: 0 auto; }
.stage { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.stage img { width: 100%; max-width: 480px; justify-self: center; }
.stage--flip img { order: 2; }
.stage__text { display: grid; gap: 14px; border-left: 2px solid var(--gold); padding-left: clamp(20px, 3vw, 44px); }
.stage__label { font-weight: 700; font-size: 0.95rem; }
.stage__text h3 { color: var(--gold); font-size: clamp(1.3rem, 2.2vw, 1.75rem); font-weight: 700; margin-bottom: 14px; }
.stage__text p:not(.stage__label) { font-size: var(--fs-small); line-height: 1.6; }

/* ---------- 14 FAQ ---------- */
.band--faq { background: #000 url("../img/faq-bg.webp") center / cover no-repeat; }
.faq-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 56px; }
.faq-head h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 400; }
.faq-head img { width: 40px; }
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 30px; align-items: start; }
.faq details { background: var(--white); color: var(--dark-text); border-radius: 3px; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.faq summary { list-style: none; cursor: pointer; padding: 26px 64px 26px 30px; position: relative; font-size: 0.95rem; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 30px; top: 22px; color: var(--gold); font-size: 1.4rem; font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.faq__a { padding: 0 30px 26px; display: grid; gap: 10px; font-size: var(--fs-small); line-height: 1.6; }
.faq__a ul { margin: 0; padding-left: 0; list-style: none; display: grid; gap: 6px; }
.faq__a li::before { content: "- "; }
.faq__a a { color: var(--purple); font-weight: 700; }

/* ---------- Modal video ---------- */
.modal { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,.85); display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
.modal__box { position: relative; width: min(960px, 100%); display: grid; gap: 12px; }
.modal__frame { aspect-ratio: 16 / 9; max-width: 100%; background: #000; }
.modal__frame iframe { width: 100%; height: 100%; border: 0; }
.modal__close { position: absolute; top: -48px; right: 0; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--gold); color: var(--white); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.modal__link { font-size: var(--fs-small); color: var(--gold); text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .quote-grid, .includes, .phases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mentors { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .live { grid-template-columns: 1fr; }
  .live__stat { max-width: 420px; }
}
@media (max-width: 760px) {
  .hero { background-image: url("../img/hero-bg-mobile.webp"); min-height: 0; padding-block: 48px 0; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__ctas { grid-template-columns: 1fr; gap: 14px; }
  .hero__media { position: relative; justify-content: center; }
  .hero__adrian-mobile { display: block; width: 100%; max-width: 480px; }
  .hero__badge { display: none; }
  .video-grid, .quote-grid, .includes, .phases, .mentors, .month, .faq, .ai, .wa { grid-template-columns: 1fr; }
  .strip__inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .pillar, .pillar--flip { grid-template-columns: 1fr; }
  .pillar--flip .pillar__icon { order: 0; }
  .pillar__icon { width: 140px; }
  .stage, .stage--flip { grid-template-columns: 1fr; }
  .stage--flip img { order: 0; }
  .quote-card img { max-width: 360px; }
}
