/* ===================================================================
   THE CLARITY PROGRAM — Landing System
   Nieves Legacy Partners
   Paleta de marca: Gold #AD7B49 · Off-white #F4F2F2 · Negro · Gris #3F3F3F
   =================================================================== */

:root {
  /* Color */
  --black:        #0B0B0B;   /* base profunda (negro cálido, no plano) */
  --black-soft:   #141414;   /* superficies elevadas */
  --black-card:   #181715;   /* tarjetas sobre negro */
  --ink:          #000000;   /* negro puro para detalles */
  --offwhite:     #F4F2F2;   /* marca */
  --paper:        #EFEDEA;   /* secciones de respiro */
  --gray:         #3F3F3F;   /* marca */
  --gray-line:    #2A2A2A;   /* líneas sobre negro */
  --gray-soft:    #8A8784;   /* texto secundario sobre negro */
  --gray-ink:     #5C5955;   /* texto secundario sobre claro */
  --gold:         #AD7B49;   /* marca — acento principal */
  --gold-bright:  #C99863;   /* gold iluminado (hover/realces) */
  --gold-deep:    #8A5F38;   /* gold profundo (sombras de marca) */

  /* Tipografía */
  --display: -apple-system, "SF Pro Display", "Inter", "Helvetica Neue", Arial, sans-serif;
  --body:    -apple-system, "SF Pro Text", "Inter", "Helvetica Neue", Arial, sans-serif;

  /* Escala / ritmo */
  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 14px;
  --radius-sm: 10px;

  /* Sombras */
  --shadow-soft: 0 24px 60px -28px rgba(0,0,0,0.65);
  --shadow-gold: 0 18px 50px -22px rgba(173,123,73,0.55);

  /* Transiciones */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  background: var(--black);
  color: var(--offwhite);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
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(--display); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; margin: 0; }

/* ---------- Utilidades de layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 11vw, 140px); position: relative; }
.section--paper { background: var(--paper); color: var(--ink); }
.section--black { background: var(--black); }
.center { text-align: center; }
.hairline { height: 1px; width: 100%; background: var(--gray-line); border: 0; }

/* Eyebrow / etiqueta de sección */
.eyebrow {
  font-family: var(--body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
}
.section--paper .eyebrow { color: var(--gold-deep); }

/* Tipos de título */
.display-xl { font-size: clamp(2.5rem, 7vw, 5rem); }
.display-l  { font-size: clamp(2rem, 5vw, 3.4rem); }
.display-m  { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
.lede { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--gray-soft); max-width: 56ch; }
.section--paper .lede { color: var(--gray-ink); }
.gold { color: var(--gold); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 17px 34px;
  font-family: var(--body);
  font-size: 0.98rem; font-weight: 600; letter-spacing: 0.01em;
  border-radius: 100px;
  border: 1px solid transparent;
  transition: transform .35s var(--ease), background .3s var(--ease), box-shadow .35s var(--ease), color .3s var(--ease);
  will-change: transform;
}
.btn--primary {
  background: var(--gold);
  color: #1A120A;
  box-shadow: var(--shadow-gold);
}
.btn--primary:hover { background: var(--gold-bright); transform: translateY(-3px); }
.btn--ghost {
  background: transparent;
  color: var(--offwhite);
  border-color: var(--gray-line);
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-bright); transform: translateY(-3px); }
.section--paper .btn--ghost { color: var(--ink); border-color: rgba(0,0,0,0.18); }
.section--paper .btn--ghost:hover { border-color: var(--gold-deep); color: var(--gold-deep); }
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ===================================================================
   NAV
   =================================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter);
  transition: background .4s var(--ease), padding .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(11,11,11,0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--gray-line);
  padding-block: 12px;
}
.nav__brand { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 700; letter-spacing: -0.01em; }
.nav__mark {
  width: 34px; height: 34px; border-radius: 9px;
  display: grid; place-items: center;
  border: 1px solid var(--gold);
  color: var(--gold); font-weight: 700; font-size: 0.95rem;
}
.nav__logo { width: 40px; height: 40px; object-fit: contain; display: block; flex: none; }
.nav__brand small { display: block; font-family: var(--body); font-weight: 500; font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gray-soft); }
.nav__cta { display: none; }
@media (min-width: 760px){ .nav__cta { display: inline-flex; } }

/* ===================================================================
   HERO
   =================================================================== */
.hero {
  position: relative;
  padding-top: clamp(120px, 18vh, 200px);
  padding-bottom: clamp(60px, 9vw, 110px);
  background:
    radial-gradient(120% 90% at 80% 6%, rgba(173,123,73,0.12), transparent 52%),
    var(--black);
  overflow: hidden;
}
.hero .wrap { position: relative; z-index: 2; }
.hero__grid { display: grid; gap: clamp(36px, 6vw, 64px); }
@media (min-width: 980px){ .hero__grid { grid-template-columns: 1.05fr 0.95fr; align-items: center; } }

.hero h1 { margin-top: 22px; }
.hero h1 .line { display: block; }
.hero__sub { margin-top: 26px; }
.hero__cta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero__trust { margin-top: 26px; display: flex; align-items: center; gap: 10px; color: var(--gray-soft); font-size: 0.85rem; }
.hero__trust .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex: none; }

/* Marco de video VSL */
.vsl {
  position: relative; aspect-ratio: 16 / 9; width: 100%;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(173,123,73,0.10), rgba(0,0,0,0.4)),
    var(--black-card);
  border: 1px solid var(--gray-line);
  box-shadow: var(--shadow-soft);
  display: grid; place-items: center;
  overflow: hidden;
}
.vsl::before { content:""; position:absolute; inset:0; border-radius: inherit; padding:1px;
  background: linear-gradient(160deg, rgba(173,123,73,0.6), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events:none; }
.vsl__inner { position: relative; z-index: 2; text-align: center; padding: 24px; }
.vsl__play {
  width: 74px; height: 74px; border-radius: 50%;
  background: var(--gold); color: #1A120A;
  display: grid; place-items: center; margin: 0 auto 18px;
  box-shadow: var(--shadow-gold);
  transition: transform .4s var(--ease), background .3s var(--ease);
}
.vsl:hover .vsl__play { transform: scale(1.06); background: var(--gold-bright); }
.vsl__label { font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gray-soft); }
.vsl__note { /* etiqueta editable para William */
  position: absolute; left: 14px; bottom: 12px; z-index: 3;
  font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold); opacity: .8;
}

/* ===================================================================
   TIRA DE CONFIANZA / contexto
   =================================================================== */
.strip { border-block: 1px solid var(--gray-line); background: var(--black-soft); }
.strip .wrap { display: grid; gap: 24px; padding-block: 34px; }
@media (min-width: 760px){ .strip .wrap { grid-template-columns: repeat(3, 1fr); } }
.strip__item { display: flex; gap: 14px; align-items: flex-start; }
.strip__item .k { font-family: var(--display); font-weight: 700; font-size: 1.6rem; color: var(--gold); line-height: 1; }
.strip__item p { margin: 0; color: var(--gray-soft); font-size: 0.92rem; }
.strip__item p strong { color: var(--offwhite); font-weight: 600; display: block; margin-bottom: 2px; }

/* ===================================================================
   PROBLEMA / VERDAD
   =================================================================== */
.truth__head { max-width: 60ch; }
.truth h2 { margin-top: 20px; }
.truth__cols { margin-top: 48px; display: grid; gap: 28px; }
@media (min-width: 820px){ .truth__cols { grid-template-columns: repeat(2, 1fr); gap: 40px; } }
.truth__p { font-size: 1.08rem; color: var(--gray-ink); }
.truth__p strong { color: var(--ink); }

/* ===================================================================
   PILARES / CÓMO FUNCIONA
   =================================================================== */
.pillars__head { max-width: 58ch; }
.pillars h2 { margin-top: 20px; }
.pillars__grid { margin-top: 54px; display: grid; gap: 1px; background: var(--gray-line); border: 1px solid var(--gray-line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 860px){ .pillars__grid { grid-template-columns: repeat(3, 1fr); } }
.pillar { background: var(--black-card); padding: 38px 30px; position: relative; transition: background .4s var(--ease); }
.pillar:hover { background: #1F1D1A; }
.pillar__num { font-family: var(--display); font-weight: 700; font-size: 0.9rem; color: var(--gold); letter-spacing: 0.05em; }
.pillar h3 { margin-top: 18px; font-size: 1.5rem; }
.pillar p { margin-top: 14px; color: var(--gray-soft); font-size: 0.96rem; }
.pillar__bar { position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--gold); transition: width .5s var(--ease); }
.pillar:hover .pillar__bar { width: 100%; }

/* ===================================================================
   CALIFICACIÓN — elemento firma
   =================================================================== */
.qualify { background:
  radial-gradient(100% 80% at 50% 0%, rgba(173,123,73,0.12), transparent 60%), var(--black); }
.qualify__head { max-width: 62ch; margin-inline: auto; text-align: center; }
.qualify h2 { margin-top: 20px; }
.qualify__reframe { margin: 22px auto 0; max-width: 54ch; color: var(--gray-soft); }
.qualify__cols { margin-top: 56px; display: grid; gap: 22px; }
@media (min-width: 820px){ .qualify__cols { grid-template-columns: repeat(2, 1fr); } }
.qcard { border: 1px solid var(--gray-line); border-radius: var(--radius); padding: 34px 30px; background: var(--black-card); }
.qcard--yes { border-color: rgba(173,123,73,0.5); box-shadow: var(--shadow-gold); }
.qcard__tag { display: inline-flex; align-items: center; gap: 8px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; }
.qcard--yes .qcard__tag { color: var(--gold); }
.qcard--no .qcard__tag { color: var(--gray-soft); }
.qcard h3 { margin-top: 14px; font-size: 1.35rem; }
.qcard ul { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.qcard li { display: flex; gap: 12px; align-items: flex-start; color: var(--gray-soft); font-size: 0.97rem; }
.qcard--yes li { color: var(--offwhite); }
.qcard li .ic { flex: none; margin-top: 2px; }
.qcard--yes li .ic { color: var(--gold); }
.qcard--no li .ic { color: var(--gray); }

/* ===================================================================
   FOUNDER / QUIÉN SOY
   =================================================================== */
.founder { background: var(--black); border-top: 1px solid var(--gray-line); }
.founder__grid { display: grid; gap: clamp(32px, 5vw, 60px); align-items: center; }
@media (min-width: 880px){ .founder__grid { grid-template-columns: 0.82fr 1.18fr; } }
.founder__photo {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--gray-line); box-shadow: var(--shadow-soft);
  background: var(--black-card); max-width: 380px;
}
.founder__photo img { width: 100%; display: block; }
.founder__photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 -90px 80px -50px rgba(11,11,11,0.85);
}
.founder h2 { margin-top: 18px; }
.founder__p { margin-top: 20px; color: var(--gray-soft); font-size: 1.05rem; }
.founder__p strong { color: var(--offwhite); }
.founder__sig { margin-top: 24px; font-family: var(--display); font-weight: 700; font-size: 1.05rem; color: var(--gold); }
.founder__sig small { display: block; font-family: var(--body); font-weight: 500; font-size: 0.82rem; letter-spacing: 0.04em; color: var(--gray-soft); margin-top: 4px; }

/* ===================================================================
   FORMULARIO / APLICACIÓN
   =================================================================== */
.apply { background: var(--black-soft); border-top: 1px solid var(--gray-line); }
.apply__grid { display: grid; gap: clamp(36px, 6vw, 64px); align-items: center; }
@media (min-width: 940px){ .apply__grid { grid-template-columns: 0.9fr 1.1fr; } }
.apply h2 { margin-top: 18px; }
.apply__list { margin: 26px 0 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.apply__list li { display: flex; gap: 12px; color: var(--gray-soft); }
.apply__list .ic { color: var(--gold); flex: none; margin-top: 3px; }

.formbox {
  background: var(--black-card);
  border: 1px solid var(--gray-line);
  border-radius: var(--radius);
  padding: clamp(22px, 4vw, 40px);
  box-shadow: var(--shadow-soft);
}
.formbox__title { font-family: var(--display); font-weight: 700; font-size: 1.3rem; }
.formbox__sub { color: var(--gray-soft); font-size: 0.9rem; margin-top: 8px; }

/* === PLACEHOLDER del embed de GHL — William reemplaza este bloque === */
.embed-slot {
  margin-top: 22px;
  border: 1px dashed rgba(173,123,73,0.5);
  border-radius: var(--radius-sm);
  background: rgba(173,123,73,0.05);
  min-height: 360px;
  display: grid; place-items: center;
  text-align: center; padding: 30px;
}
.embed-slot__inner { max-width: 40ch; }
.embed-slot .tag { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.embed-slot h4 { font-family: var(--display); font-size: 1.05rem; margin-top: 12px; }
.embed-slot p { color: var(--gray-soft); font-size: 0.88rem; margin-top: 10px; }
.embed-slot code { background: rgba(0,0,0,0.45); color: var(--gold-bright); padding: 2px 7px; border-radius: 5px; font-size: 0.8rem; }

/* Formulario nativo de respaldo (oculto por defecto, por si lo quieres usar) */
.native-form { margin-top: 22px; display: none; gap: 14px; grid-template-columns: 1fr; }
.native-form.is-on { display: grid; }
.native-form label { font-size: 0.78rem; letter-spacing: 0.04em; color: var(--gray-soft); }
.native-form input, .native-form textarea, .native-form select {
  width: 100%; margin-top: 6px; padding: 14px 16px;
  background: var(--black); color: var(--offwhite);
  border: 1px solid var(--gray-line); border-radius: var(--radius-sm);
  font-family: var(--body); font-size: 0.95rem;
  transition: border-color .3s var(--ease);
}
.native-form input:focus, .native-form textarea:focus, .native-form select:focus { outline: none; border-color: var(--gold); }

/* ===================================================================
   CIERRE / CTA FINAL
   =================================================================== */
.closing { text-align: center; background:
  radial-gradient(90% 90% at 50% 120%, rgba(173,123,73,0.18), transparent 60%), var(--black); }
.closing h2 { max-width: 20ch; margin: 18px auto 0; }
.closing .lede { margin: 22px auto 0; }
.closing .btn { margin-top: 34px; }

/* ===================================================================
   THANK YOU PAGE
   =================================================================== */
.ty-hero { padding-top: clamp(130px, 20vh, 200px); padding-bottom: clamp(50px, 8vw, 90px);
  text-align: center; background:
  radial-gradient(110% 80% at 50% 0%, rgba(173,123,73,0.16), transparent 58%), var(--black); }
.ty-hero .badge {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 24px;
  display: grid; place-items: center; color: var(--gold);
  border: 1px solid var(--gold); box-shadow: var(--shadow-gold);
}
.ty-hero h1 { margin: 0 auto; max-width: 18ch; }
.ty-hero .lede { margin: 22px auto 0; }

.cal { padding-block: clamp(20px, 4vw, 40px) clamp(60px, 9vw, 110px); }
.cal__frame {
  background: var(--black-card); border: 1px solid var(--gray-line);
  border-radius: var(--radius); padding: clamp(10px, 2vw, 20px);
  box-shadow: var(--shadow-soft); overflow: hidden;
}
.cal__frame iframe { width: 100%; min-height: 720px; border: 0; border-radius: var(--radius-sm); background: var(--offwhite); }

.expect { background: var(--black-soft); border-block: 1px solid var(--gray-line); }
.expect__grid { margin-top: 40px; display: grid; gap: 22px; }
@media (min-width: 820px){ .expect__grid { grid-template-columns: repeat(3, 1fr); } }
.expect__item { display: flex; gap: 14px; align-items: flex-start; }
.expect__item .n { font-family: var(--display); font-weight: 700; color: var(--gold); font-size: 1.1rem; flex: none; }
.expect__item h4 { font-size: 1.05rem; }
.expect__item p { color: var(--gray-soft); font-size: 0.92rem; margin-top: 6px; }

/* Bloque de redes destacadas (IG + YT) */
.follow { text-align: center; }
.follow__feature { margin-top: 44px; display: grid; gap: 18px; }
@media (min-width: 720px){ .follow__feature { grid-template-columns: repeat(2, 1fr); } }
.follow-card {
  border: 1px solid var(--gray-line); border-radius: var(--radius);
  background: var(--black-card); padding: 30px 28px; text-align: left;
  display: flex; flex-direction: column; gap: 16px;
  transition: transform .4s var(--ease), border-color .4s var(--ease), background .4s var(--ease);
}
.follow-card:hover { transform: translateY(-4px); border-color: rgba(173,123,73,0.5); background: #1F1D1A; }
.follow-card__top { display: flex; align-items: center; gap: 14px; }
.follow-card__ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; flex: none; background: rgba(255,255,255,0.05); border: 1px solid var(--gray-line); }
.follow-card__ic svg { width: 26px; height: 26px; }
.follow-card h4 { font-size: 1.15rem; }
.follow-card span { display: block; color: var(--gray-soft); font-size: 0.85rem; margin-top: 2px; }
.follow-card p { color: var(--gray-soft); font-size: 0.92rem; }
.follow-card .go { margin-top: auto; color: var(--gold); font-weight: 600; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 8px; }
/* logos en su color real */
.glyph-yt { color: #FF0000; }
.glyph-ig { color: #E1306C; }

/* ===================================================================
   FOOTER
   =================================================================== */
.footer { background: var(--ink); border-top: 1px solid var(--gray-line); padding-block: clamp(54px, 8vw, 88px) 34px; }
.footer__top { display: grid; gap: 40px; }
@media (min-width: 860px){ .footer__top { grid-template-columns: 1.2fr 1fr; align-items: start; } }
.footer__brand .nav__brand { margin-bottom: 16px; }
.footer__brand p { color: var(--gray-soft); font-size: 0.92rem; max-width: 42ch; }
.footer__contact { margin-top: 22px; display: grid; gap: 10px; font-size: 0.92rem; }
.footer__contact a { color: var(--gray-soft); display: inline-flex; align-items: center; gap: 10px; transition: color .3s var(--ease); }
.footer__contact a:hover { color: var(--gold); }
.footer__contact .ic { color: var(--gold); flex: none; }

/* Grid de 6 redes — logo + nombre */
.socials__label { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gray-soft); margin-bottom: 18px; }
.socials { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 520px){ .socials { grid-template-columns: repeat(3, 1fr); } }
.social {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border: 1px solid var(--gray-line); border-radius: var(--radius-sm);
  background: var(--black-soft);
  transition: transform .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
}
.social:hover { transform: translateY(-3px); border-color: rgba(173,123,73,0.5); background: var(--black-card); }
.social svg { width: 20px; height: 20px; flex: none; }
.social__name { font-size: 0.86rem; font-weight: 600; }
.social__name small { display: block; font-weight: 400; color: var(--gray-soft); font-size: 0.72rem; }
/* énfasis IG + YT — resaltan con borde dorado y glow, sin etiqueta */
.social--feature { border-color: var(--gold); background: var(--black-card); box-shadow: 0 0 0 1px rgba(173,123,73,0.30), 0 14px 36px -20px rgba(173,123,73,0.55); }
.social--feature .social__name { color: var(--gold-bright); }

/* logos de redes en su color real */
.social--ig svg { color: #E1306C; }
.social--yt svg { color: #FF0000; }
.social--fb svg { color: #1877F2; }
.social--li svg { color: #0A66C2; }
.social--th svg { color: var(--offwhite); }
.social--tt svg { color: var(--offwhite); }

.footer__legal { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--gray-line); }
.disclaimer { color: var(--gray-soft); font-size: 0.78rem; line-height: 1.7; max-width: 92ch; }
.disclaimer strong { color: #B7B3AE; }
.footer__base { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
.footer__base p { color: var(--gray); font-size: 0.78rem; margin: 0; }
.footer__base nav { display: flex; gap: 18px; }
.footer__base nav a { color: var(--gray-soft); font-size: 0.78rem; transition: color .3s var(--ease); }
.footer__base nav a:hover { color: var(--gold); }

/* ===================================================================
   BOTÓN FLOTANTE WHATSAPP
   =================================================================== */
.wa-float {
  position: fixed; right: clamp(16px, 3vw, 28px); bottom: clamp(16px, 3vw, 28px); z-index: 80;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 20px 14px 16px;
  background: #25D366; color: #06311A;
  border-radius: 100px; font-weight: 600; font-size: 0.92rem;
  box-shadow: 0 16px 40px -14px rgba(37,211,102,0.6);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.wa-float:hover { transform: translateY(-3px) scale(1.02); }
.wa-float svg { width: 26px; height: 26px; flex: none; }
.wa-float__txt { white-space: nowrap; }
@media (max-width: 560px){ .wa-float__txt { display: none; } .wa-float { padding: 16px; } }
.wa-float::before { /* pulso */
  content:""; position:absolute; inset:0; border-radius:inherit; background:#25D366;
  z-index:-1; animation: pulse 2.6s var(--ease) infinite;
}
@keyframes pulse { 0%{ transform: scale(1); opacity:.6; } 70%{ transform: scale(1.35); opacity:0; } 100%{ opacity:0; } }

/* ===================================================================
   ANIMACIONES DE ENTRADA
   =================================================================== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"]{ transition-delay: .08s; }
.reveal[data-delay="2"]{ transition-delay: .16s; }
.reveal[data-delay="3"]{ transition-delay: .24s; }

/* Focus-in del hero (claridad: borroso -> nítido) */
.focus-in { animation: focusIn 1.1s var(--ease) both; }
@keyframes focusIn {
  0% { filter: blur(12px); opacity: 0; transform: translateY(10px); }
  100% { filter: blur(0); opacity: 1; transform: none; }
}

/* ===================================================================
   TEMA CLARO (solo landing — body.theme-light)
   Base off-white de marca. Se mantienen oscuras: calificación, founder y footer.
   =================================================================== */
body.theme-light { background: var(--paper); color: var(--ink); }

/* Nav */
.theme-light .nav .nav__brand { color: var(--ink); }
.theme-light .nav .nav__brand small { color: var(--gray-ink); }
.theme-light .nav.is-scrolled { background: rgba(244,242,242,0.86); border-bottom-color: rgba(0,0,0,0.08); }
.theme-light .btn--ghost { color: var(--ink); border-color: rgba(0,0,0,0.20); }
.theme-light .btn--ghost:hover { border-color: var(--gold-deep); color: var(--gold-deep); }

/* Tipografía y acentos en claro */
.theme-light .eyebrow { color: var(--gold-deep); }
.theme-light .lede { color: var(--gray-ink); }
.theme-light .gold { color: var(--gold-deep); }

/* Hero */
.theme-light .hero { background: radial-gradient(120% 90% at 82% 2%, rgba(173,123,73,0.16), transparent 56%), var(--paper); }
.theme-light .hero h1 { color: var(--ink); }
.theme-light .hero__sub strong { color: var(--ink); }
.theme-light .hero__trust { color: var(--gray-ink); }
.theme-light .vsl { background: linear-gradient(180deg, rgba(173,123,73,0.10), rgba(0,0,0,0.04)), #FFFFFF; border-color: rgba(0,0,0,0.10); box-shadow: 0 30px 70px -34px rgba(0,0,0,0.30); }
.theme-light .vsl__label { color: var(--gray-ink); }
.theme-light .vsl__note { color: var(--gold-deep); }

/* Tira de contexto */
.theme-light .strip { background: #FFFFFF; border-color: rgba(0,0,0,0.08); }
.theme-light .strip__item p { color: var(--gray-ink); }
.theme-light .strip__item p strong { color: var(--ink); }
.theme-light .strip__item .k { color: var(--gold-deep); }

/* Método / pilares */
.theme-light .section--black { background: var(--paper); color: var(--ink); }
.theme-light .pillars h2 { color: var(--ink); }
.theme-light .pillars__grid { background: rgba(0,0,0,0.08); border-color: rgba(0,0,0,0.08); }
.theme-light .pillar { background: #FFFFFF; }
.theme-light .pillar:hover { background: #FAF7F3; }
.theme-light .pillar h3 { color: var(--ink); }
.theme-light .pillar p { color: var(--gray-ink); }

/* Aplicar / formulario */
.theme-light .apply { background: #FFFFFF; border-top-color: rgba(0,0,0,0.08); }
.theme-light .apply h2 { color: var(--ink); }
.theme-light .apply__list li { color: var(--gray-ink); }
.theme-light .formbox { background: var(--paper); border-color: rgba(0,0,0,0.10); box-shadow: 0 30px 70px -34px rgba(0,0,0,0.25); }
.theme-light .formbox__title { color: var(--ink); }
.theme-light .formbox__sub { color: var(--gray-ink); }
.theme-light .embed-slot { background: rgba(173,123,73,0.06); border-color: rgba(173,123,73,0.5); }
.theme-light .embed-slot h4 { color: var(--ink); }
.theme-light .embed-slot p { color: var(--gray-ink); }
.theme-light .embed-slot code { background: rgba(0,0,0,0.06); color: var(--gold-deep); }

/* Cierre */
.theme-light .closing { background: radial-gradient(90% 90% at 50% 120%, rgba(173,123,73,0.18), transparent 60%), var(--paper); }
.theme-light .closing h2 { color: var(--ink); }

/* Secciones que SE MANTIENEN OSCURAS dentro del tema claro
   (calificación, founder, footer) — forzar texto claro */
.theme-light .qualify, .theme-light .founder { color: var(--offwhite); }
.theme-light .qualify h2, .theme-light .founder h2 { color: var(--offwhite); }
.theme-light .qualify .eyebrow, .theme-light .founder .eyebrow { color: var(--gold); }
.theme-light .qcard h3 { color: var(--offwhite); }
.theme-light .founder__p strong { color: var(--offwhite); }

.theme-light .footer { color: var(--gray-soft); }
.theme-light .footer .nav__brand { color: var(--offwhite); }
.theme-light .footer .nav__brand small { color: var(--gray-soft); }
.theme-light .footer .social__name { color: var(--offwhite); }
.theme-light .footer .social--feature .social__name { color: var(--gold-bright); }

/* --- THANK YOU PAGE en claro --- */
.theme-light .ty-hero { background: radial-gradient(110% 80% at 50% 0%, rgba(173,123,73,0.16), transparent 58%), var(--paper); }
.theme-light .ty-hero h1 { color: var(--ink); }
.theme-light .cal__frame { background: #FFFFFF; border-color: rgba(0,0,0,0.10); box-shadow: 0 30px 70px -34px rgba(0,0,0,0.25); }
.theme-light .expect { background: #FFFFFF; border-color: rgba(0,0,0,0.08); }
.theme-light .expect h2 { color: var(--ink); }
.theme-light .expect__item h4 { color: var(--ink); }
.theme-light .expect__item p { color: var(--gray-ink); }
.theme-light .follow h2 { color: var(--ink); }
.theme-light .follow-card { background: #FFFFFF; border-color: var(--gold); box-shadow: 0 0 0 1px rgba(173,123,73,0.22), 0 18px 50px -30px rgba(173,123,73,0.5); }
.theme-light .follow-card:hover { background: #FAF7F3; border-color: var(--gold-bright); }
.theme-light .follow-card h4 { color: var(--ink); }
.theme-light .follow-card span, .theme-light .follow-card p { color: var(--gray-ink); }
.theme-light .follow-card p strong { color: var(--ink); }
.theme-light .follow-card__ic { background: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.10); }
.theme-light .follow .social { background: var(--paper); border-color: rgba(0,0,0,0.10); }
.theme-light .follow .social:hover { background: #FAF7F3; border-color: rgba(173,123,73,0.5); }
.theme-light .follow .social__name { color: var(--ink); }
.theme-light .follow .social__name small { color: var(--gray-ink); }
.theme-light .follow .social--th svg { color: var(--ink); }
.theme-light .follow .social--tt svg { color: var(--ink); }
/* Conéctate: tarjetas y botón de WhatsApp */
.follow__socials { max-width: 900px; margin: 44px auto 0; }
.theme-light .follow .social--feature { background: #FFFFFF; border-color: var(--gold); box-shadow: 0 0 0 1px rgba(173,123,73,0.22), 0 14px 40px -24px rgba(173,123,73,0.5); }
.wa-cta {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 30px; padding: 16px 30px;
  background: #25D366; color: #06311A;
  border-radius: 100px; font-weight: 600; font-size: 0.98rem;
  box-shadow: 0 16px 40px -18px rgba(37,211,102,0.55);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.wa-cta:hover { transform: translateY(-3px); box-shadow: 0 20px 46px -18px rgba(37,211,102,0.65); }
.wa-cta svg { width: 24px; height: 24px; flex: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .focus-in { filter: none; opacity: 1; transform: none; }
  .wa-float::before { display: none; }
}
