/* ==========================================================================
   YAGO — Coaching de Mentalidad — VSL Landing
   ========================================================================== */

:root {
  /* --- Brand palette --- */
  --navy: #0B1B2E;
  --navy-deep: #071322;
  --navy-card: #12263D;
  --navy-card-hover: #16304C;
  --gold: #C8973C;
  --gold-light: #E0B860;
  --cream: #F7F2E9;
  --cream-card: #FFFFFF;
  --white: #FFFFFF;
  --red: #C0392B;

  --ink: #0B1B2E;
  --ink-soft: rgba(11, 27, 46, 0.68);
  --paper-soft: rgba(247, 242, 233, 0.72);

  /* --- Type --- */
  --font-display: "Anton", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;

  /* --- Spacing tokens --- */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.25rem;
  --space-5: 3.25rem;
  --space-6: 4.5rem;
  --space-7: 6.5rem;

  /* --- Shadows (layered, color-tinted) --- */
  --shadow-navy-card:
    0 1px 1px rgba(0, 0, 0, 0.35),
    0 14px 34px -14px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(200, 151, 60, 0.14) inset;
  --shadow-navy-card-hover:
    0 1px 1px rgba(0, 0, 0, 0.4),
    0 22px 46px -14px rgba(200, 151, 60, 0.28),
    0 0 0 1px rgba(200, 151, 60, 0.32) inset;
  --shadow-cream-card:
    0 1px 1px rgba(11, 27, 46, 0.04),
    0 20px 40px -18px rgba(11, 27, 46, 0.28),
    0 0 0 1px rgba(11, 27, 46, 0.06) inset;
  --shadow-cream-card-hover:
    0 1px 1px rgba(11, 27, 46, 0.04),
    0 28px 54px -18px rgba(11, 27, 46, 0.32),
    0 0 0 1px rgba(200, 151, 60, 0.4) inset;
  --shadow-btn: 0 10px 26px -8px rgba(200, 151, 60, 0.55), 0 2px 6px rgba(0, 0, 0, 0.3);
  --shadow-btn-hover: 0 16px 34px -8px rgba(200, 151, 60, 0.7), 0 4px 10px rgba(0, 0, 0, 0.35);

  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Reset & base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; }

button { font-family: inherit; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: var(--navy);
  padding: 0.75rem 1.25rem;
  z-index: 999;
  font-weight: 700;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
}

:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
  border-radius: 2px;
}

section[id] {
  scroll-margin-top: 76px;
}

.grid { display: grid; gap: var(--space-3); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }

@media (min-width: 640px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* ==========================================================================
   Typography
   ========================================================================== */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin: 0 0 var(--space-2);
}
.eyebrow--light { color: var(--gold-light); }
.eyebrow--dark { color: var(--gold); }

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 1px;
  background: currentColor;
  margin-right: 0.6em;
  vertical-align: middle;
  opacity: 0.8;
}

.h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(1.75rem, 4.6vw, 2.7rem);
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0 0 var(--space-4);
  color: var(--navy);
  max-width: 18ch;
}
.h2--light { color: var(--cream); }

.section__intro {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  max-width: 62ch;
  color: rgba(247, 242, 233, 0.78);
  margin: -1.5rem 0 var(--space-5);
}

.section__closing {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(1.25rem, 3vw, 1.9rem);
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--navy);
  max-width: 30ch;
  margin: var(--space-5) 0 0;
  padding-top: var(--space-4);
  border-top: 1px solid rgba(11, 27, 46, 0.12);
  position: relative;
}
.section__closing::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 64px;
  height: 3px;
  background: var(--gold);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  --btn-bg: var(--gold);
  --btn-bg-hover: var(--gold-light);
  appearance: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--navy);
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  padding: 0.95rem 1.7rem;
  border-radius: 8px;
  box-shadow: var(--shadow-btn);
  transition: transform 220ms var(--ease-spring), box-shadow 220ms var(--ease-spring), background 220ms var(--ease-spring);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-btn-hover);
  background: linear-gradient(180deg, #ecc98a, var(--gold-light));
}
.btn:active {
  transform: translateY(0) scale(0.98);
  box-shadow: var(--shadow-btn);
}

.btn--lg {
  padding: 1.15rem 2.3rem;
  font-size: 1rem;
}

.btn--nav {
  display: none;
  padding: 0.7rem 1.3rem;
  font-size: 0.82rem;
}
@media (min-width: 820px) {
  .btn--nav { display: inline-flex; }
}

.btn--outline {
  background: transparent;
  color: var(--cream);
  box-shadow: 0 0 0 1.5px rgba(224, 184, 96, 0.55) inset;
}
.btn--outline:hover {
  background: rgba(200, 151, 60, 0.1);
  box-shadow: 0 0 0 1.5px rgba(224, 184, 96, 0.9) inset;
  transform: translateY(-2px);
}
.btn--outline:active { transform: translateY(0) scale(0.98); }

.btn--block { width: 100%; }

/* ==========================================================================
   Nav
   ========================================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 19, 34, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(200, 151, 60, 0.16);
}

.nav__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.nav__brand {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  color: var(--cream);
  text-decoration: none;
  flex-shrink: 0;
  transition: color 200ms var(--ease-spring);
}
.nav__brand:hover { color: var(--gold-light); }
.nav__brand-dot { color: var(--gold); }

.nav__links {
  display: none;
  gap: var(--space-4);
  overflow-x: auto;
  scrollbar-width: none;
}
.nav__links::-webkit-scrollbar { display: none; }

@media (min-width: 820px) {
  .nav__links { display: flex; }
}

.nav__link {
  position: relative;
  text-decoration: none;
  color: rgba(247, 242, 233, 0.72);
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  padding: 0.4rem 0.1rem;
  transition: color 200ms var(--ease-spring);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -2px;
  height: 2px;
  background: var(--gold-light);
  transition: right 260ms var(--ease-spring);
}
.nav__link:hover { color: var(--cream); }
.nav__link:hover::after { right: 0; }
.nav__link.is-active { color: var(--gold-light); }
.nav__link.is-active::after { right: 0; }

.nav__brand--footer { font-size: 1.5rem; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  background: radial-gradient(120% 90% at 50% 0%, #16304c 0%, var(--navy) 46%, var(--navy-deep) 100%);
  padding: var(--space-5) 1.25rem var(--space-6);
  overflow: hidden;
  isolation: isolate;
}

.hero__atmosphere {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero__contours {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 70%;
  opacity: 0.9;
}

.hero::before {
  /* film grain */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

.hero__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.hero__title {
  font-family: var(--font-display);
  text-transform: uppercase;
  color: var(--cream);
  font-size: clamp(2.1rem, 8.5vw, 3.6rem);
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0 0 var(--space-3);
  text-wrap: balance;
}

.hero__subtitle {
  color: rgba(247, 242, 233, 0.78);
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  max-width: 52ch;
  margin: 0 auto var(--space-4);
}

.hero__video-wrap {
  margin: 0 auto var(--space-4);
  max-width: 720px;
}

.video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: var(--navy-deep);
  box-shadow:
    0 2px 2px rgba(0, 0, 0, 0.4),
    0 30px 60px -20px rgba(0, 0, 0, 0.75),
    0 0 0 1.5px rgba(200, 151, 60, 0.45) inset,
    0 0 0 8px rgba(200, 151, 60, 0.06);
}

.video__el {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: var(--navy-deep);
}

.hero__microcopy {
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin: var(--space-2) 0 0;
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section {
  padding: var(--space-6) 1.25rem;
  position: relative;
}
.section--cream { background: var(--cream); }
.section--navy { background: var(--navy); }
.section--navy-deep { background: var(--navy-deep); }

.section--navy::before,
.section--navy-deep::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 151, 60, 0.35), transparent);
}

.section__inner {
  max-width: 1180px;
  margin: 0 auto;
}
.section__inner--narrow {
  max-width: 640px;
  text-align: center;
}
.section__inner--narrow .h2 {
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   Problema cards
   ========================================================================== */
.card {
  padding: var(--space-4) var(--space-3);
  border-radius: 12px;
}
.card--light {
  background: var(--cream-card);
  box-shadow: var(--shadow-cream-card);
  transition: transform 260ms var(--ease-spring), box-shadow 260ms var(--ease-spring);
}
.card--light:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-cream-card-hover);
}

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(200, 151, 60, 0.1);
  color: var(--gold);
  margin-bottom: var(--space-2);
}
.card__icon svg { width: 22px; height: 22px; }

.card__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
  color: var(--navy);
}
.card__text {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.6;
}

/* ==========================================================================
   Pillars
   ========================================================================== */
.pillar {
  position: relative;
  padding: var(--space-4) var(--space-3);
  background: var(--navy-card);
  border-radius: 14px;
  box-shadow: var(--shadow-navy-card);
  transition: transform 260ms var(--ease-spring), box-shadow 260ms var(--ease-spring), background 260ms var(--ease-spring);
}
.pillar:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-navy-card-hover);
  background: var(--navy-card-hover);
}

.pillar__num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: rgba(200, 151, 60, 0.28);
  line-height: 1;
  display: block;
  margin-bottom: 0.25rem;
}

.pillar__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(200, 151, 60, 0.14);
  color: var(--gold-light);
  margin-bottom: var(--space-2);
}
.pillar__icon svg { width: 22px; height: 22px; }

.pillar__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--cream);
  margin: 0 0 0.75rem;
  line-height: 1.35;
}

.pillar__result {
  font-size: 0.9rem;
  color: rgba(247, 242, 233, 0.68);
  margin: 0;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(200, 151, 60, 0.18);
}
.pillar__result span {
  color: var(--gold-light);
  font-weight: 700;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonial {
  margin: 0;
  padding: var(--space-4) var(--space-3);
  background: var(--cream-card);
  border-radius: 12px;
  box-shadow: var(--shadow-cream-card);
  border-left: 3px solid var(--gold);
  transition: transform 260ms var(--ease-spring), box-shadow 260ms var(--ease-spring);
}
.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-cream-card-hover);
}
.testimonial__mark {
  display: inline-flex;
  color: var(--gold);
  width: 30px;
  height: 30px;
  margin-bottom: var(--space-2);
}
.testimonial__text {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--navy);
  margin: 0 0 var(--space-2);
  line-height: 1.5;
}
.testimonial__author {
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-weight: 600;
}

/* ==========================================================================
   Pricing
   ========================================================================== */
.grid--pricing { align-items: stretch; }

.price-card {
  position: relative;
  padding: var(--space-4) var(--space-3);
  background: var(--navy-card);
  border-radius: 16px;
  box-shadow: var(--shadow-navy-card);
  display: flex;
  flex-direction: column;
  transition: transform 260ms var(--ease-spring), box-shadow 260ms var(--ease-spring);
}
.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-navy-card-hover);
}

.price-card--featured {
  background: linear-gradient(165deg, #17324f, var(--navy-card));
  box-shadow:
    0 1px 1px rgba(0, 0, 0, 0.4),
    0 26px 54px -16px rgba(200, 151, 60, 0.38),
    0 0 0 1.5px rgba(200, 151, 60, 0.55) inset;
}

.price-card__badge {
  position: absolute;
  top: -14px;
  left: var(--space-3);
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  box-shadow: 0 6px 16px -4px rgba(200, 151, 60, 0.6);
}

.price-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cream);
  margin: var(--space-1) 0 var(--space-1);
}

.price-card__amount {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--gold-light);
  margin: 0 0 0.2rem;
  letter-spacing: -0.01em;
}
.price-card__old {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--red);
  text-decoration: line-through;
  margin-left: 0.5rem;
  opacity: 0.85;
}

.price-card__meta {
  font-size: 0.85rem;
  color: rgba(247, 242, 233, 0.6);
  margin: 0 0 var(--space-2);
  font-weight: 600;
}

.price-card__desc {
  font-size: 0.92rem;
  color: rgba(247, 242, 233, 0.72);
  margin: 0 0 var(--space-3);
  line-height: 1.6;
}

.bonus-list {
  list-style: none;
  margin: 0 0 var(--space-4);
  padding: var(--space-2) 0 0;
  border-top: 1px solid rgba(200, 151, 60, 0.18);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.bonus-list__item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: var(--cream);
  font-weight: 500;
}
.bonus-list__item svg {
  width: 18px;
  height: 18px;
  color: var(--gold-light);
  flex-shrink: 0;
}

.price-card .btn { margin-top: auto; }

/* ==========================================================================
   Guarantee
   ========================================================================== */
.guarantee__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(200, 151, 60, 0.12);
  color: var(--gold-light);
  box-shadow: 0 0 0 1.5px rgba(200, 151, 60, 0.35) inset, 0 20px 44px -16px rgba(200, 151, 60, 0.5);
  margin-bottom: var(--space-3);
}
.guarantee__icon svg { width: 36px; height: 36px; }

.guarantee__text {
  color: rgba(247, 242, 233, 0.78);
  font-size: clamp(1rem, 2vw, 1.15rem);
  max-width: 52ch;
  margin: 0 auto;
  line-height: 1.7;
}

/* ==========================================================================
   Closing
   ========================================================================== */
.section--closing .h2 {
  max-width: 32ch;
}
.closing__accent { color: var(--gold); }
.section--closing .btn { margin-top: var(--space-2); }
.section--closing .hero__microcopy { color: var(--gold); }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--navy-deep);
  padding: var(--space-5) 1.25rem var(--space-4);
  text-align: center;
}
.footer__inner {
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-3) var(--space-4);
}
.footer__social {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(247, 242, 233, 0.65);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 200ms var(--ease-spring), transform 200ms var(--ease-spring);
}
.footer__social svg { width: 19px; height: 19px; }
.footer__social:hover { color: var(--gold-light); transform: translateY(-2px); }

.footer__copy {
  font-size: 0.8rem;
  color: rgba(247, 242, 233, 0.4);
  margin: 0;
}

/* ==========================================================================
   Mobile sticky CTA
   ========================================================================== */
.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(7, 19, 34, 0.86);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-top: 1px solid rgba(200, 151, 60, 0.22);
  box-shadow: 0 -12px 30px -14px rgba(0, 0, 0, 0.55);
}
@media (min-width: 820px) {
  .mobile-cta { display: none; }
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms var(--ease-spring), transform 700ms var(--ease-spring);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card--light, .pillar, .price-card, .testimonial, .footer__social {
    transition: none !important;
  }
}

/* ==========================================================================
   Responsive refinements
   ========================================================================== */
@media (min-width: 640px) {
  .hero { padding: var(--space-6) 1.5rem var(--space-7); }
  .section { padding: var(--space-7) 1.5rem; }
}

@media (min-width: 1024px) {
  .card { padding: var(--space-4); }
}

/* body padding so mobile sticky bar doesn't cover last section content */
@media (max-width: 819px) {
  body { padding-bottom: 74px; }
}
