/* alonsosalinasmkt · Boost and Close — landing */
:root {
  --bg: #FFFFFF;
  --bg-2: #F4F7F5;
  --surface: #FFFFFF;
  --line: #E3E8E5;
  --text: #0B0D10;
  --muted: #555F6B;
  --mint: #12A06A;          /* verde para textos sobre blanco (más oscuro, se lee mejor) */
  --btn: #3ECF8E;           /* verde menta de los botones, igual al video */
  --mint-soft: rgba(18, 160, 106, .10);
  --danger: #D93838;
  --radius: 18px;
  --wrap: 1120px;
  --f-display: "Montserrat", system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--f-body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: var(--mint); }
button { font: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.12; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap--narrow { max-width: 780px; }
.accent { color: var(--mint); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  background: var(--btn); color: #06140D; border: 0; border-radius: 999px;
  font-family: var(--f-display); font-weight: 800; font-size: 16px;
  padding: 14px 24px; text-decoration: none; text-align: center;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
  box-shadow: 0 8px 30px -10px rgba(62, 207, 142, .55);
}
.btn:hover { background: #4fe09f; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--text); outline-offset: 3px; }
.btn--sm { padding: 9px 18px; font-size: 14px; box-shadow: none; }
.btn--lg { padding: 19px 34px; font-size: 18px; }
.btn--block { width: 100%; }
.btn--ghost { background: transparent; color: var(--text); border: 1px solid var(--line); box-shadow: none; }
.btn--ghost:hover { background: var(--surface); }

/* ---------- Topbar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar__in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-family: var(--f-display); font-weight: 800; font-size: 15px; }
.brand__sep, .brand__method { color: var(--muted); font-weight: 700; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 56px 0 72px; overflow: hidden; }
.hero__glow {
  position: absolute; inset: -20% -10% auto; height: 620px; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 30%, rgba(62,207,142,.20), transparent 70%);
  animation: glow 9s ease-in-out infinite alternate;
}
.hero__glow--bottom { inset: auto -10% -40%; top: auto; }
@keyframes glow { from { transform: translateY(0) scale(1); opacity: .8; } to { transform: translateY(30px) scale(1.08); opacity: 1; } }
.hero__in { position: relative; text-align: center; }
.eyebrow {
  display: inline-block; font-family: var(--f-display); font-weight: 800; font-size: 12.5px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--mint);
  background: var(--mint-soft); border: 1px solid rgba(18,160,106,.25);
  padding: 8px 14px; border-radius: 999px; margin-bottom: 22px; max-width: 100%;
}
.hero__title { font-size: clamp(32px, 6vw, 64px); font-weight: 900; max-width: 980px; margin: 0 auto; }
.hero__title .accent { display: block; margin-top: .25em; }
.hero__sub { color: var(--muted); font-size: clamp(17px, 2vw, 20px); max-width: 720px; margin: 22px auto 0; }
.hero__sub strong { color: var(--text); }

/* ---------- VSL ---------- */
.vsl { margin: 38px auto 0; max-width: 960px; }
.vsl__frame {
  position: relative; aspect-ratio: 1660 / 1080; border-radius: var(--radius); overflow: hidden;
  background: #000; border: 1px solid rgba(62,207,142,.35);
  box-shadow: 0 0 0 6px rgba(62,207,142,.10), 0 40px 90px -30px rgba(11,13,16,.35);
}
.vsl__frame video, .vsl__frame iframe { width: 100%; height: 100%; object-fit: contain; border: 0; background: #000; }
.vsl__play {
  position: absolute; inset: 0; border: 0; padding: 0; background: rgba(0,0,0,.18);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: #fff;
  transition: background .2s ease;
}
.vsl__play:hover { background: rgba(0,0,0,.05); }
.vsl__play-btn {
  width: 92px; height: 92px; border-radius: 50%; background: var(--btn); display: grid; place-items: center;
  box-shadow: 0 0 0 0 rgba(62,207,142,.6); animation: pulse 2.2s infinite;
}
.vsl__play-btn svg { width: 40px; height: 40px; fill: #06140D; margin-left: 5px; }
.vsl__play-label { font-family: var(--f-display); font-weight: 800; font-size: 15px; background: rgba(0,0,0,.65); padding: 6px 14px; border-radius: 999px; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(62,207,142,.55); } 70% { box-shadow: 0 0 0 22px rgba(62,207,142,0); } 100% { box-shadow: 0 0 0 0 rgba(62,207,142,0); } }
.vsl.is-playing .vsl__play { display: none; }

.hero__cta { margin-top: 34px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.micro { color: var(--muted); font-size: 14px; max-width: 520px; }

/* ---------- Prueba ---------- */
.proof { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.proof__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.proof__item { padding: 30px 24px; display: flex; flex-direction: column; gap: 6px; }
.proof__item + .proof__item { border-left: 1px solid var(--line); }
.proof__num { font-family: var(--f-display); font-weight: 900; font-size: clamp(30px, 4vw, 42px); color: var(--mint); line-height: 1; }
.proof__txt { color: var(--muted); font-size: 15px; }

/* ---------- Secciones ---------- */
.section { padding: 96px 0; }
.section--alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kicker { font-family: var(--f-display); font-weight: 800; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--mint); margin-bottom: 14px; }
.h2 { font-size: clamp(28px, 4.2vw, 46px); font-weight: 900; max-width: 820px; margin-bottom: 44px; }

.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: 0 10px 30px -22px rgba(11,13,16,.25); transition: transform .25s ease, border-color .25s ease; }
.card:hover { transform: translateY(-4px); border-color: rgba(62,207,142,.4); }
.card__n { font-family: var(--f-display); font-weight: 900; color: var(--mint); font-size: 14px; letter-spacing: .1em; }
.card h3 { font-size: 21px; margin: 14px 0 10px; }
.card p { color: var(--muted); }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; display: flex; flex-direction: column; gap: 18px; }
.step__n { width: 48px; height: 48px; border-radius: 14px; background: var(--btn); color: #06140D; font-family: var(--f-display); font-weight: 900; font-size: 22px; display: grid; place-items: center; }
.step h3 { font-size: 24px; margin-bottom: 8px; }
.step p { color: var(--muted); }

.cases { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: auto auto; gap: 18px; }
.case { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 8px; }
.case--feature { grid-row: span 2; background: linear-gradient(160deg, rgba(62,207,142,.16), var(--surface) 60%); border-color: rgba(62,207,142,.35); justify-content: flex-end; min-height: 300px; }
.case__tag { align-self: flex-start; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--mint); background: var(--mint-soft); padding: 4px 10px; border-radius: 999px; }
.case h3 { font-size: 22px; margin-top: 6px; }
.case p { color: var(--muted); }
.case__big { font-family: var(--f-display); font-size: clamp(26px, 3vw, 34px); line-height: 1.15; color: var(--text) !important; margin: 6px 0; }
.case__big strong { color: var(--mint); font-weight: 900; }
.cases .case:nth-child(4) { grid-column: 2 / span 2; }

.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.split .h2 { margin-bottom: 0; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checklist li { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px 16px 54px; font-weight: 500; }
.checklist li::before {
  content: ""; position: absolute; left: 18px; top: 50%; width: 22px; height: 22px; transform: translateY(-50%);
  border-radius: 50%; background: var(--btn) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%2306140D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}

.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fit__col { border-radius: var(--radius); padding: 30px; border: 1px solid var(--line); background: var(--surface); }
.fit__col--yes { border-color: rgba(62,207,142,.4); }
.fit__col h3 { font-size: 22px; margin-bottom: 16px; }
.fit__col--yes h3 { color: var(--mint); }
.fit__col--no h3 { color: var(--muted); }
.fit__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.fit__col li { padding-left: 30px; position: relative; }
.fit__col--yes li::before { content: "✓"; position: absolute; left: 0; color: var(--mint); font-weight: 800; }
.fit__col--no li { color: var(--muted); }
.fit__col--no li::before { content: "✕"; position: absolute; left: 0; color: var(--danger); font-weight: 800; }

.about { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: center; }
.about__photo { width: 220px; height: 220px; border-radius: 50%; overflow: hidden; border: 3px solid var(--mint); box-shadow: 0 0 0 8px var(--mint-soft); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.22) translateY(6%); }
.about .h2 { margin-bottom: 16px; }
.about__txt { color: var(--muted); font-size: 18px; max-width: 640px; }

.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; }
.faq details[open] { border-color: rgba(62,207,142,.35); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 30px 20px 0; position: relative; font-family: var(--f-display); font-weight: 800; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); color: var(--mint); font-size: 26px; transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 20px; }

.final { position: relative; overflow: hidden; padding: 110px 0 120px; text-align: center; }
.final__in { position: relative; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.final__title { font-size: clamp(30px, 5vw, 54px); font-weight: 900; max-width: 900px; }

.footer { border-top: 1px solid var(--line); padding: 28px 0 32px; color: var(--muted); font-size: 14px; }
.footer__in { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer nav { display: flex; gap: 20px; }
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--text); }

/* ---------- CTA fijo móvil ---------- */
.sticky-cta { display: none; }

/* ---------- Reveal (con red de seguridad) ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }

/* ---------- Modal / formulario ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(11,13,16,.55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.modal__panel {
  position: relative; width: 100%; max-width: 560px; max-height: calc(100dvh - 32px); overflow-y: auto;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 22px; padding: 30px 28px 26px;
  animation: pop .28s ease;
}
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.modal__close { position: absolute; top: 12px; right: 14px; width: 40px; height: 40px; border: 0; background: transparent; color: var(--muted); font-size: 30px; line-height: 1; }
.modal__close:hover { color: var(--text); }
.modal__brand { font-family: var(--f-display); font-weight: 800; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--mint); padding-right: 40px; }
.progress { height: 6px; background: var(--line); border-radius: 99px; margin: 16px 0 6px; overflow: hidden; }
.progress__bar { display: block; height: 100%; width: 20%; background: var(--btn); border-radius: 99px; transition: width .3s ease; }
.progress__txt { font-size: 13px; color: var(--muted); margin-bottom: 18px; }

.fstep { display: none; border: 0; margin: 0; padding: 0; min-width: 0; }
.fstep.is-active { display: block; animation: pop .25s ease; }
.fstep legend { font-family: var(--f-display); font-weight: 900; font-size: 24px; line-height: 1.2; margin-bottom: 18px; padding: 0; }
.opts { display: grid; gap: 10px; }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span { display: block; padding: 15px 18px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--surface); font-weight: 600; transition: border-color .15s, background .15s; }
.opt:hover span { border-color: #b9c2bd; }
.opt input:checked + span { border-color: var(--mint); background: var(--mint-soft); }
.opt input:focus-visible + span { outline: 2px solid var(--mint); outline-offset: 2px; }
.fields { display: grid; gap: 14px; }
.lbl { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.opt-txt { color: var(--muted); font-weight: 400; }
.field { width: 100%; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); color: var(--text); font: inherit; font-size: 16px; }
.field:focus { outline: none; border-color: var(--mint); }
.field.is-invalid { border-color: var(--danger); }
.js-rubro-otro { margin-top: 10px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); margin-top: 4px; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--mint); flex: none; }
.consent.is-invalid span { color: var(--danger); }
.form-error { color: var(--danger); font-size: 14px; margin-top: 14px; }
.fnav { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; }
.fnav .js-next, .fnav .js-submit { margin-left: auto; }
.hp { position: absolute; left: -9999px; }

/* ---------- Páginas internas (gracias / privacidad) ---------- */
.page { min-height: 100vh; display: flex; flex-direction: column; }
.page main { flex: 1; }
.thanks { padding: 64px 0 80px; text-align: center; position: relative; overflow: hidden; }
.thanks .h2 { margin: 0 auto 14px; }
.thanks__lead { color: var(--muted); font-size: 18px; max-width: 620px; margin: 0 auto 30px; }
.cal { max-width: 900px; margin: 0 auto; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(62,207,142,.35); }
.cal iframe { width: 100%; height: 720px; border: 0; display: block; }
.thanks__box { max-width: 620px; margin: 34px auto 0; text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.thanks__box h3 { font-size: 19px; margin-bottom: 10px; }
.thanks__box p { color: var(--muted); }
.thanks__alt { margin-top: 26px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.legal { padding: 56px 0 80px; }
.legal h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 900; margin-bottom: 24px; }
.legal h2 { font-size: 20px; margin: 30px 0 10px; }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 20px; }

/* ---------- Hero en 2 columnas (escritorio): video visible sin hacer scroll ---------- */
@media (min-width: 1100px) {
  .hero { padding: 48px 0 72px; }
  .hero__in {
    max-width: 1280px; text-align: left; display: grid; column-gap: 48px; align-items: center;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    grid-template-areas: "eyebrow vsl" "title vsl" "sub vsl" "cta vsl";
    grid-template-rows: auto auto auto 1fr;
  }
  .hero .eyebrow { grid-area: eyebrow; justify-self: start; margin-bottom: 18px; }
  .hero__title { grid-area: title; font-size: clamp(34px, 3.3vw, 48px); margin: 0; }
  .hero__sub { grid-area: sub; margin: 18px 0 0; font-size: 18px; }
  .hero .vsl { grid-area: vsl; margin: 0; max-width: none; }
  .hero__cta { grid-area: cta; align-items: flex-start; align-self: start; margin-top: 28px; }
  .hero__cta .micro { text-align: left; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .cards3, .steps { grid-template-columns: 1fr; }
  .cases { grid-template-columns: 1fr 1fr; }
  .case--feature { grid-column: 1 / -1; grid-row: auto; min-height: 0; }
  .cases .case:nth-child(4) { grid-column: auto; }
  .split { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 680px) {
  body { font-size: 16px; padding-bottom: 84px; }
  .page { padding-bottom: 0; }
  .brand__sep, .brand__method { display: none; }
  .hero { padding: 36px 0 52px; }
  .eyebrow { font-size: 11px; letter-spacing: .1em; }
  .vsl { margin-top: 28px; margin-left: -8px; margin-right: -8px; }
  .vsl__play-btn { width: 70px; height: 70px; }
  .vsl__play-btn svg { width: 30px; height: 30px; }
  .btn--lg { width: 100%; padding: 18px 20px; font-size: 16.5px; }
  .proof__grid { grid-template-columns: 1fr; }
  .proof__item { padding: 20px 4px; }
  .proof__item + .proof__item { border-left: 0; border-top: 1px solid var(--line); }
  .section { padding: 68px 0; }
  .h2 { margin-bottom: 30px; }
  .cases { grid-template-columns: 1fr; }
  .fit { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 24px; }
  .about__photo { width: 170px; height: 170px; }
  .final { padding: 80px 0 90px; }
  .sticky-cta {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: linear-gradient(to top, rgba(255,255,255,.98) 60%, rgba(255,255,255,0));
    transition: transform .3s ease;
  }
  .sticky-cta.is-hidden { transform: translateY(120%); }
  .modal { padding: 0; align-items: flex-end; }
  .modal__panel { max-width: none; border-radius: 22px 22px 0 0; max-height: 94dvh; padding: 26px 20px calc(22px + env(safe-area-inset-bottom)); }
  .fstep legend { font-size: 21px; }
  .cal iframe { height: 760px; }
}

/* Entrada del hero: visible siempre al terminar, sin depender de JS */
.intro { animation: introUp .8s cubic-bezier(.2,.7,.2,1) both; }
.hero__title.intro { animation-delay: .08s; }
.hero__sub.intro { animation-delay: .16s; }
.vsl.intro { animation-delay: .24s; }
.hero__cta.intro { animation-delay: .32s; }
@keyframes introUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

[hidden] { display: none !important; }

/* Casos: 3 tarjetas iguales */
.cases--3 { grid-template-columns: repeat(3, 1fr); grid-template-rows: auto; }
.cases--3 .case:nth-child(4) { grid-column: auto; }
.cases--3 .case { min-height: 190px; }
@media (max-width: 900px) { .cases--3 { grid-template-columns: 1fr; } }

/* Fondo blanco: superficies con un poco más de contraste */
.section--alt .card, .section--alt .step, .section--alt .checklist li, .section--alt .fit__col { background: #fff; }
.modal__panel { background: #fff; }
.opt span, .field { background: var(--bg-2); }
.vsl__frame { background: #0B0D10; }

.proof__num { white-space: nowrap; font-size: clamp(26px, 3.2vw, 38px); }

/* Foto de "Quién soy": retrato vertical */
.about { grid-template-columns: 300px 1fr; gap: 48px; }
.about__photo { width: 300px; height: 400px; border-radius: 22px; border: 0; box-shadow: 0 30px 60px -30px rgba(11,13,16,.45); }
.about__photo img { transform: none; object-position: 50% 45%; }
@media (max-width: 680px) {
  .about { grid-template-columns: 1fr; }
  .about__photo { width: 240px; height: 320px; }
}

/* Foto redonda, encuadrada en Alonso */
.about { grid-template-columns: 260px 1fr; }
.about__photo { width: 260px; height: 260px; border-radius: 50%; border: 4px solid var(--btn); box-shadow: 0 0 0 10px var(--mint-soft), 0 30px 60px -30px rgba(11,13,16,.45); }
.about__photo img { object-position: 50% 50%; }
@media (max-width: 680px) {
  .about { grid-template-columns: 1fr; }
  .about__photo { width: 200px; height: 200px; }
}

.about { grid-template-columns: 300px 1fr; }
.about__photo { width: 300px; height: 300px; }
@media (max-width: 680px) { .about { grid-template-columns: 1fr; } .about__photo { width: 240px; height: 240px; } }

.section-cta { margin-top: 28px; }

.section-cta { display: flex; justify-content: center; margin-top: 40px; }
