/* GOODDOOFIT funnels — shared stylesheet (v2, photographic hero + marquee wall)
   Design system (locked): Barlow Condensed (display) + DM Sans (body), white-dominant, ink, greys.
   #25D366 is reserved for WhatsApp elements only (.btn--wa, .wa-link, sticky bar CTA). */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@700;900&family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400&display=swap');

:root {
  --bg: #FFFFFF;
  --bg-alt: #F5F5F5;
  --ink: #0A0A0A;
  --text: #0A0A0A;
  --text-2: #444444;
  --muted: #6B6B6B;
  --border: #E5E5E5;
  --wa: #25D366;
  --wa-hover: #1EBE5A;
  --font-display: 'Barlow Condensed', Impact, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --container: 1120px;
  --gutter: 24px;
  --radius: 4px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: #bdbdbd #fff; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  overflow-x: clip;
  overscroll-behavior-x: none;
  touch-action: pan-y pinch-zoom;   /* no accidental sideways panning on phones */
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--ink); color: #fff; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
.section--ink :focus-visible, .hero--photo :focus-visible { outline-color: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1em; }
strong { font-weight: 700; }
figure { margin: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }

/* ---------- Type ---------- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -0.005em;
  margin: 0 0 0.4em;
  text-wrap: balance;
}
h1 { font-size: clamp(38px, 8.6vw, 76px); }
h2 { font-size: clamp(34px, 6.2vw, 60px); }
h3 { font-size: clamp(24px, 4vw, 32px); line-height: 1; }
.kicker {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  font-size: 14px; color: var(--text-2); margin: 0 0 14px;
}
.lead { font-size: clamp(18px, 2.2vw, 22px); color: var(--text-2); max-width: 34em; }
.small { font-size: 14px; color: var(--muted); }
.micro { font-size: 14px; color: var(--text-2); margin-top: 12px; }
.section__intro { max-width: 760px; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.header__logo img { height: 26px; width: auto; }
.header__link { font-size: 14px; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.header__link svg { width: 18px; height: 18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  font-size: 20px; line-height: 1; white-space: nowrap;
  padding: 18px 28px; border-radius: var(--radius);
  background: var(--ink); color: #fff; text-decoration: none; border: 2px solid var(--ink);
  cursor: pointer; transition: transform .15s var(--ease-out), background .2s var(--ease-out), box-shadow .2s var(--ease-out);
  min-height: 56px;
}
.btn:hover { background: #222; border-color: #222; box-shadow: 0 10px 24px -12px rgba(10,10,10,0.45); }
.btn:active { transform: translateY(1px); box-shadow: none; }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn--wa { background: var(--wa); border-color: var(--wa); color: var(--ink); }
.btn--wa:hover { background: var(--wa-hover); border-color: var(--wa-hover); box-shadow: 0 10px 24px -12px rgba(37,211,102,0.6); }
@media (max-width: 480px) { .btn { font-size: 18px; padding: 16px 18px; gap: 8px; } }

/* WhatsApp text links: ink text for contrast on light backgrounds, green underline + icon carry the identity. */
.wa-link { color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-color: var(--wa); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.wa-link svg { color: var(--wa); }
.wa-link:hover { text-decoration-color: var(--wa-hover); }
.section--ink .wa-link, .hero--photo .wa-link { color: var(--wa); }
.text-link { text-decoration: underline; text-underline-offset: 3px; font-weight: 500; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section--alt { background: var(--bg-alt); }
.section--ink { background: var(--ink); color: #fff; }
.section--ink .lead, .section--ink .small, .section--ink .micro { color: rgba(255,255,255,0.74); }
.section--ink .btn { background: #fff; color: var(--ink); border-color: #fff; }
.section--ink .btn:hover { background: #eee; border-color: #eee; }
.section--ink .btn--wa { background: var(--wa); border-color: var(--wa); color: var(--ink); }
.section--ink .btn--wa:hover { background: var(--wa-hover); border-color: var(--wa-hover); }
@media (min-width: 900px) { .section { padding: 112px 0; } }

/* ---------- Hero: full-bleed photo ---------- */
.hero--photo {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--ink); color: #fff;
  min-height: calc(100dvh - var(--header-h));
  display: grid; align-items: end;
}
.hero__bg, .hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__bg img { object-fit: cover; object-position: 50% 12%; }
.hero__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, rgba(10,10,10,0.94) 0%, rgba(10,10,10,0.72) 38%, rgba(10,10,10,0.18) 70%, rgba(10,10,10,0.05) 100%),
    linear-gradient(to bottom, rgba(10,10,10,0.35) 0%, rgba(10,10,10,0) 30%);
}
.hero__content { position: relative; padding: 36vh var(--gutter) 44px; }
.hero__tag {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  font-size: 14px; color: rgba(255,255,255,0.8); margin: 0 0 14px;
}
.hero--photo .lead { color: rgba(255,255,255,0.86); }
.hero--photo .micro { color: rgba(255,255,255,0.72); }
.hero--photo .btn:not(.btn--wa) { background: #fff; color: var(--ink); border-color: #fff; }
.hero--photo .btn:not(.btn--wa):hover { background: #eee; border-color: #eee; }
.hero__cta { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.hero__cta .btn { width: 100%; }
@media (min-width: 900px) {
  .hero--photo { min-height: min(88vh, 900px); }
  /* photo occupies the right ~72%; copy sits on ink at the left and the photo fades in under it */
  .hero__bg { left: 28%; }
  .hero__bg img { object-position: 50% 18%; }
  .hero__scrim {
    background:
      linear-gradient(to right, rgba(10,10,10,1) 24%, rgba(10,10,10,0.92) 36%, rgba(10,10,10,0.45) 58%, rgba(10,10,10,0.06) 82%),
      linear-gradient(to top, rgba(10,10,10,0.72) 0%, rgba(10,10,10,0) 45%),
      linear-gradient(to bottom, rgba(10,10,10,0.45) 0%, rgba(10,10,10,0) 35%);
  }
  .hero__content { padding: 120px var(--gutter) 88px; }
  .hero__copy { max-width: 700px; }
  .hero__cta .btn { width: auto; }
}
/* the one authored entrance: hero copy rises in, staggered */
@media (prefers-reduced-motion: no-preference) {
  .hero__copy > * { opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease-out) forwards; }
  .hero__copy > :nth-child(2) { animation-delay: .08s; }
  .hero__copy > :nth-child(3) { animation-delay: .16s; }
  .hero__copy > :nth-child(4) { animation-delay: .24s; }
  .hero__bg img { animation: settle 1.6s var(--ease-out) forwards; transform: scale(1.06); }
}
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes settle { to { transform: scale(1); } }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid--2 { grid-template-columns: 1fr 1fr; gap: 40px; } }

/* Tiles: hairline-top columns, no boxes */
.tiles { display: grid; gap: 28px; }
@media (min-width: 720px) { .tiles { grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 32px; } }
.tile { border-top: 2px solid var(--ink); padding-top: 18px; min-width: 0; }
.tile h3 { font-size: 26px; margin-bottom: 8px; }
.tile p { margin: 0; color: var(--text-2); }
.tile__icon { width: 28px; height: 28px; margin-bottom: 14px; }
.section--ink .tile { border-top-color: #fff; }
.section--ink .tile p { color: rgba(255,255,255,0.78); }

/* Bento: one photo cell + text cells */
.bento { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .bento { grid-template-columns: 1fr 1fr; } }
.bento__photo { grid-column: 1 / -1; min-height: 260px; border-radius: var(--radius); overflow: hidden; position: relative; }
.bento__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; position: absolute; inset: 0; }
.bento__cell { background: var(--bg-alt); border-radius: var(--radius); padding: 22px 20px; min-width: 0; }
.bento__cell h3 { font-size: 22px; margin-bottom: 6px; }
.bento__cell p { margin: 0; color: var(--text-2); font-size: 15px; }
.bento__cell svg { width: 26px; height: 26px; margin-bottom: 12px; }
.section--alt .bento__cell { background: #fff; }
@media (min-width: 900px) {
  .bento { grid-template-columns: 1.15fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; }
  .bento__photo { grid-column: 1; grid-row: 1 / span 2; min-height: 0; }
  .bento--5 { grid-template-rows: 1fr 1fr 1fr; }
  body[data-page="empieza"] .bento--5 { grid-template-rows: auto 1fr 1fr; }  /* wide "dieta" cell first: hugs its copy, the 2x2 below shares the rest */
  .bento--5 .bento__photo { grid-row: 1 / span 3; }
  .bento__cell { padding: 28px 26px; }
  .bento__cell p { font-size: 16px; }
}

/* Two-column hairline list */
.list { display: grid; gap: 0; }
.list > li { padding: 20px 0; border-top: 1px solid var(--border); display: grid; gap: 4px; }
.list > li:last-child { border-bottom: 1px solid var(--border); }
.list h3 { font-size: 24px; margin: 0; }
.list p { margin: 0; color: var(--text-2); }
@media (min-width: 720px) { .list--2 { grid-template-columns: 1fr 1fr; column-gap: 48px; } .list--2 > li:nth-last-child(2) { border-bottom: 1px solid var(--border); } }

/* ---------- Check list ---------- */
.checks { display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; color: var(--text-2); }
.checks li svg { width: 22px; height: 22px; margin-top: 2px; }
.checks li strong { color: var(--text); }
.checks--x li svg { color: var(--muted); }

/* ---------- Steps (numbered sequence) ---------- */
.steps { display: grid; gap: 24px; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 32px; } }
.step { border-top: 2px solid var(--ink); padding-top: 16px; min-width: 0; }
.step__n { font-family: var(--font-display); font-weight: 900; font-size: 44px; line-height: 1; margin-bottom: 8px; }
.step h3 { font-size: 24px; }
.step p { margin: 0; color: var(--text-2); }
.section--ink .step { border-top-color: #fff; }
.section--ink .step p { color: rgba(255,255,255,0.78); }

/* ---------- Marquee wall (max one per page) ---------- */
.marquee { display: grid; gap: 14px; margin-top: 36px; }
.marquee__row { overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); }
.marquee__track { display: flex; gap: 14px; width: max-content; padding: 14px 0; }
.marquee__track img { height: 220px; width: auto; flex: none; border-radius: var(--radius); background: #e9e9e9; }
.marquee__track img:nth-child(even) { transform: translateY(14px); }
@media (min-width: 900px) { .marquee__track img { height: 300px; } .marquee__track { gap: 18px; } .marquee { gap: 18px; } }
@media (prefers-reduced-motion: no-preference) {
  .marquee__track { animation: mq 52s linear infinite; }
  .marquee__row--rev .marquee__track { animation-direction: reverse; animation-duration: 60s; }
  @media (hover: hover) { .marquee__row:hover .marquee__track { animation-play-state: paused; } }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__row { overflow-x: auto; scroll-snap-type: x proximity; mask-image: none; -webkit-mask-image: none; }
  .marquee__track img { scroll-snap-align: start; }
  .marquee__track > .dup { display: none; }
}
@keyframes mq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee--land .marquee__track img { height: 200px; width: 300px; object-fit: cover; object-position: 50% 35%; }
@media (min-width: 900px) { .marquee--land .marquee__track img { height: 300px; width: 440px; } }
.wall__cap { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* ---------- Split / story ---------- */
.split { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } .split--rev .split__media { order: 2; } }
.split__media img { width: 100%; border-radius: var(--radius); object-fit: cover; object-position: 50% 15%; }
.split__media > img { aspect-ratio: 4 / 5; }
@media (min-width: 900px) { .split__media > img { aspect-ratio: auto; height: 520px; } }
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ba img { width: 100%; aspect-ratio: 3 / 5; object-fit: cover; object-position: top; border-radius: var(--radius); }
.ba figcaption { text-align: center; text-transform: uppercase; font-family: var(--font-display); font-weight: 700; letter-spacing: 0.08em; font-size: 13px; color: var(--muted); margin-top: 8px; }
.section--ink .ba figcaption { color: rgba(255,255,255,0.6); }

/* ---------- Price block ---------- */
.price { border: 2px solid var(--ink); border-radius: var(--radius); padding: 32px 24px; background: #fff; }
.price__amount { font-family: var(--font-display); font-weight: 900; font-size: clamp(64px, 14vw, 120px); line-height: 0.9; }
.price__per { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 22px; letter-spacing: 0.04em; color: var(--text-2); }
@media (min-width: 900px) { .price { padding: 48px; display: grid; grid-template-columns: auto 1fr; gap: 56px; align-items: center; } }

/* ---------- Timeline strip (VIP) ---------- */
.strip { display: grid; gap: 12px; }
@media (min-width: 720px) { .strip { grid-template-columns: repeat(5, 1fr); } }
.strip__item { border-top: 2px solid var(--ink); padding: 16px 0 0; min-width: 0; }
.strip__when { font-family: var(--font-display); font-weight: 900; font-size: 26px; line-height: 1; text-transform: uppercase; margin-bottom: 8px; }
.strip__what { font-weight: 700; }
.strip__sub { color: var(--text-2); font-size: 15px; margin-top: 4px; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative;
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 22px; line-height: 1.05;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform .25s var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq .faq__a { padding: 0 0 22px; color: var(--text-2); max-width: 46em; }
.faq .faq__a p:last-child { margin-bottom: 0; }

/* ---------- Sticky mobile bar ---------- */
.bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,0.97); border-top: 1px solid var(--border);
  transform: translateY(110%); transition: transform .3s var(--ease-out);
}
.bar.is-on { transform: translateY(0); }
.bar .btn { width: 100%; font-size: 18px; min-height: 52px; padding: 14px 20px; }
@media (min-width: 900px) { .bar { display: none; } }
body.has-bar { padding-bottom: 84px; }
@media (min-width: 900px) { body.has-bar { padding-bottom: 0; } }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 40px 0 48px; font-size: 14px; color: var(--muted); }
.footer p { margin: 0 0 8px; max-width: 60em; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; }
.footer a { color: var(--text-2); text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__logo img { height: 22px; width: auto; margin-bottom: 18px; }

/* ---------- Legal / simple pages ---------- */
.prose { max-width: 720px; }
.prose h2 { font-size: 30px; margin-top: 1.6em; }
.prose p, .prose li { color: var(--text-2); }
.prose ul { list-style: disc; padding-left: 1.2em; }
.prose li { margin-bottom: 6px; }

/* ---------- Utilities ---------- */
.mt-1 { margin-top: 12px; } .mt-2 { margin-top: 28px; } .mt-3 { margin-top: 48px; }
.center { text-align: center; }
.center .hero__cta { align-items: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.note-row { border-top: 1px solid var(--border); padding-top: 14px; }
.note-row p { margin: 0; color: var(--text-2); font-size: 15px; max-width: 46em; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Home (escuela.gooddoofit.com/) ---------- */
/* Proof strip: 2x2 on phones, 4 across from 720px */
.proof { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 20px; }
@media (min-width: 720px) { .proof { grid-template-columns: repeat(4, 1fr); gap: 32px; } }
.proof__item { border-top: 2px solid var(--ink); padding-top: 14px; min-width: 0; }
.proof__n { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: clamp(30px, 4.6vw, 48px); line-height: 1; letter-spacing: -0.005em; }
.proof__l { margin: 6px 0 0; color: var(--text-2); font-size: 15px; }

/* Level cards: stacked on phones, three across from 900px; the PRO card is inverted */
.levels { display: grid; gap: 16px; }
@media (min-width: 900px) { .levels { grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; } }
.level { border: 2px solid var(--ink); border-radius: var(--radius); padding: 26px 22px 24px; background: #fff; display: flex; flex-direction: column; min-width: 0; }
.level--ink { background: var(--ink); color: #fff; }
.level__tag { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 13px; color: var(--text-2); margin: 0 0 10px; }
.level--ink .level__tag { color: rgba(255,255,255,0.7); }
.level h3 { font-size: clamp(30px, 4vw, 40px); margin-bottom: 8px; }
.level__who { color: var(--text-2); margin: 0 0 18px; font-size: 16px; }
.level--ink .level__who { color: rgba(255,255,255,0.8); }
.level__price { display: flex; align-items: baseline; gap: 6px 10px; flex-wrap: wrap; border-top: 1px solid var(--border); padding-top: 16px; margin-bottom: 18px; }
.level--ink .level__price { border-top-color: rgba(255,255,255,0.22); }
.level__amount { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: 40px; line-height: 1; }
.level__per { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 15px; letter-spacing: 0.04em; color: var(--text-2); }
.level--ink .level__per { color: rgba(255,255,255,0.72); }
.level .checks { margin-bottom: 22px; flex: 1; }
.level .checks li { font-size: 15px; }
.level--ink .checks li { color: rgba(255,255,255,0.84); }
.level--ink .checks li strong { color: #fff; }
.level .btn { width: 100%; font-size: 18px; padding: 16px 18px; }
.level--ink .btn:not(.btn--wa) { background: #fff; color: var(--ink); border-color: #fff; }
.level__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; align-self: flex-start; }
.level__more svg { width: 16px; height: 16px; }
.level__micro { margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.level--ink .level__micro { color: rgba(255,255,255,0.62); }
.section--ink .kicker { color: rgba(255,255,255,0.7); }
.level__amount--text { font-size: 30px; padding: 4px 0 2px; }

/* home round-2 fixes (cold review 2026-09-23) */
section[id] { scroll-margin-top: calc(var(--header-h) + 12px); }
.header__link { min-height: 44px; }
.hero__cta .wa-link { display: inline-flex; align-items: center; min-height: 44px; }
.level__micro { font-size: 14px; }
@media (min-width: 900px) {
  body[data-page="home"] .hero__copy { max-width: 620px; }
  body[data-page="home"] .hero__bg { left: 34%; }
  body[data-page="home"] .hero__bg img { object-position: 50% 14%; }
  .level__price { min-height: 92px; align-content: end; }
}
@media (min-width: 700px) and (max-width: 899px) {
  .levels { grid-template-columns: 1fr 1fr; gap: 16px; }
  .level:nth-child(3) { grid-column: 1 / -1; }
  .level:nth-child(3) .checks { grid-template-columns: 1fr 1fr; column-gap: 24px; }
}

/* Lazy walls: tiles carry an SVG placeholder of the right size, the track stays paused until every tile has loaded. */
.marquee[data-lazy]:not(.is-loaded) .marquee__track { animation-play-state: paused; }
body[data-page="home"] .marquee__track { animation-duration: 60s; }
body[data-page="home"] .marquee:not(.marquee--land) .marquee__row:first-child .marquee__track { animation-duration: 72s; }  /* 12 tiles vs 10: same px/s as the bottom row */
.hero__alt { color: #fff; font-weight: 700; font-size: 15px; }

/* ---------- Motion: scroll reveals (opt-in via .rv; gated by html.js so no-JS stays visible) ---------- */
html.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
html.js .rv.is-in { opacity: 1; transform: none; }
html.js .rv--stagger { opacity: 1; transform: none; }
html.js .rv--stagger > * { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
html.js .rv--stagger.is-in > * { opacity: 1; transform: none; }
html.js .rv--stagger.is-in > :nth-child(2) { transition-delay: .08s; }
html.js .rv--stagger.is-in > :nth-child(3) { transition-delay: .16s; }
html.js .rv--stagger.is-in > :nth-child(4) { transition-delay: .24s; }
html.js .rv--stagger.is-in > :nth-child(n+5) { transition-delay: .32s; }
/* proof strip: the hairline draws in, then the number rises */
.proof__item { position: relative; border-top: 0; padding-top: 16px; }
.proof__item::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--ink); transform-origin: left; }
html.js .rv--stagger .proof__item::before { transform: scaleX(0); transition: transform .8s var(--ease-out); }
html.js .rv--stagger.is-in .proof__item::before { transform: none; }
html.js .rv--stagger.is-in .proof__item:nth-child(2)::before { transition-delay: .08s; }
html.js .rv--stagger.is-in .proof__item:nth-child(3)::before { transition-delay: .16s; }
html.js .rv--stagger.is-in .proof__item:nth-child(4)::before { transition-delay: .24s; }
/* walls: each row arrives from the direction it travels */
html.js .rv--wall { opacity: 1; transform: none; }
html.js .rv--wall .marquee__row { opacity: 0; transform: translateX(48px); transition: opacity .8s var(--ease-out), transform .9s var(--ease-out); }
html.js .rv--wall .marquee__row--rev { transform: translateX(-48px); transition-delay: .1s; }
html.js .rv--wall.is-in .marquee__row { opacity: 1; transform: none; }
/* antes -> hoy: the "Hoy" photo wipes over once the pair is in view (the one authored moment after the hero) */
html.js .rv--ba .ba figure:nth-child(2) img { clip-path: inset(0 100% 0 0); transition: clip-path 1.1s var(--ease-out) .3s; }
html.js .rv--ba.is-in .ba figure:nth-child(2) img { clip-path: inset(0 0 0 0); }
/* feedback: cards, arrows, links, FAQ */
.level { transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out); }
@media (hover: hover) {
  .level:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -26px rgba(10,10,10,0.45); }
  .level--ink:hover { box-shadow: 0 20px 44px -22px rgba(10,10,10,0.7); }
}
.level__more svg { transition: transform .2s var(--ease-out); }
.level__more:hover svg { transform: translateX(4px); }
.wa-link, .text-link, .footer a { transition: text-decoration-color .2s var(--ease-out), color .2s var(--ease-out); }
.faq details[open] .faq__a { animation: faqIn .3s var(--ease-out); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html.js .rv, html.js .rv--stagger > *, html.js .rv--wall .marquee__row { transform: none; transition: opacity .3s ease; transition-delay: 0s; }
  html.js .rv--stagger .proof__item::before { transform: none; transition: none; }
  html.js .rv--ba .ba figure:nth-child(2) img { clip-path: none; transition: none; }
  .level:hover { transform: none; }
  .faq details[open] .faq__a { animation: none; }
}

/* ---------- VSL (home): square video + copy ---------- */
.vsl { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .vsl { grid-template-columns: minmax(0, 520px) 1fr; gap: 64px; } }
.vsl__media { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 520px; border-radius: var(--radius); overflow: hidden; background: #111; box-shadow: 0 30px 60px -40px rgba(0,0,0,0.8); }
.vsl__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; background: #111; }
.vsl__play { position: absolute; inset: 0; width: 100%; border: 0; padding: 0; margin: 0; background: linear-gradient(to top, rgba(10,10,10,0.55), rgba(10,10,10,0) 55%); color: #fff; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; transition: opacity .25s var(--ease-out); }
.vsl__play.is-hidden { opacity: 0; pointer-events: none; }
.vsl__btn { width: 84px; height: 84px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; box-shadow: 0 16px 40px -14px rgba(0,0,0,0.7); transition: transform .2s var(--ease-out); }
.vsl__btn svg { width: 38px; height: 38px; margin-left: 4px; }
.vsl__play:hover .vsl__btn { transform: scale(1.06); }
.vsl__play:focus-visible { outline: 2px solid #fff; outline-offset: -6px; }
.vsl__dur { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 13px; color: rgba(255,255,255,0.85); }
.vsl__copy h2 { margin-bottom: 0.3em; }
.section--ink .text-link { color: #fff; }
.hero--photo .micro .text-link { color: #fff; font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .vsl__play:hover .vsl__btn { transform: none; } }

/* Brand-green CTA for the $97 funnel (Kevin 2026-09-23: every CTA green on /empieza; no WhatsApp there) */
.btn.btn--brand, .hero--photo .btn.btn--brand, .section--ink .btn.btn--brand { background: var(--wa); border-color: var(--wa); color: var(--ink); }
.btn.btn--brand:hover, .hero--photo .btn.btn--brand:hover, .section--ink .btn.btn--brand:hover { background: var(--wa-hover); border-color: var(--wa-hover); box-shadow: 0 10px 24px -12px rgba(37,211,102,0.6); }

/* bento: a wide last cell spans the text columns (PRO "opcional si vives en Miami") */
@media (min-width: 600px) { .bento__cell--wide { grid-column: 1 / -1; } }
@media (min-width: 900px) { .bento__cell--wide { grid-column: 2 / -1; } }

/* reduced-motion marquee strips are the one place horizontal touch scrolling is wanted */
@media (prefers-reduced-motion: reduce) { .marquee__row { touch-action: pan-x pan-y; } }

/* ---------- Hero: VSL (vip) — headline, video, subheadline ---------- */
.hero--video { background: var(--ink); color: #fff; }
.hero--video :focus-visible { outline-color: #fff; }
.hero--video .hero__content { padding: 36px var(--gutter) 48px; text-align: center; }
.hero--video .hero__copy { max-width: 960px; margin: 0 auto; }
.hero--video h1 { max-width: 12em; margin: 0 auto; }
.vsl__media--wide { aspect-ratio: 16 / 9; max-width: 960px; margin: 26px auto 0; }
.hero--video .lead { color: rgba(255,255,255,0.86); max-width: 34em; margin: 22px auto 0; }
.hero--video .hero__cta { align-items: center; margin-top: 22px; }
.hero--video .btn--wa { background: var(--wa); border-color: var(--wa); color: var(--ink); }
.hero--video .btn--wa:hover { background: var(--wa-hover); border-color: var(--wa-hover); }
@media (min-width: 900px) {
  .hero--video .hero__content { padding: 64px var(--gutter) 88px; }
  .vsl__media--wide { margin-top: 36px; }
  .hero--video .lead { margin-top: 28px; }
  .hero--video .hero__cta { margin-top: 28px; }
  .hero--video .hero__cta .btn { width: auto; }
}

/* ---------- Hero: VSL (home) — headline, subheadline, video, two CTAs; the whole stack fits one phone screen ---------- */
.hero--vsl { min-height: calc(100svh - var(--header-h)); }  /* the ink fills the first screen; no white sliver under the CTAs on tall phones */
.hero--vsl .hero__content { padding: 18px var(--gutter) 28px; }
.hero--vsl h1 { font-size: clamp(32px, 8.4vw, 60px); max-width: 14em; }
.hero--vsl .lead { margin-top: 10px; font-size: clamp(17px, 2vw, 21px); line-height: 1.4; max-width: 30em; }
.vsl__media--hero { aspect-ratio: 4 / 3; max-width: 560px; margin: 16px auto 0; }
/* the box grows with the viewport: 4:3 on a short phone screen, the full square when there is room, CTAs always inside the fold.
   410px = header + H1 + lead + both CTAs + paddings at 390px wide */
@supports (height: 1svh) { .vsl__media--hero { aspect-ratio: auto; height: clamp(calc(min(560px, 100vw - 2 * var(--gutter)) * 0.75), calc(100svh - 410px), min(560px, calc(100vw - 2 * var(--gutter)))); } }
/* the poster is a real <img> under the transparent video so it is the LCP candidate, not the lead text */
.vsl__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; display: block; }
.vsl__media--hero .vsl__video { object-position: 50% 40%; background: transparent; }
/* the play control sits on the lower third so the face stays uncovered in the 4:3 crop */
.vsl__media--hero .vsl__play { justify-content: flex-end; padding-bottom: 7%; gap: 10px; background: linear-gradient(to top, rgba(10,10,10,0.6), rgba(10,10,10,0) 60%); }
.vsl__media--hero .vsl__btn { width: 68px; height: 68px; }
.vsl__media--hero .vsl__dur { text-shadow: 0 1px 3px rgba(0,0,0,0.6); }
.hero--vsl .hero__cta .btn { max-width: 560px; }   /* same edge as the video on tablets */
.hero--vsl .wa-link { text-align: left; align-items: flex-start; }   /* two-line label on 360px phones keeps the icon with the first line */
.hero--vsl .wa-link svg { margin-top: 4px; }
.hero--vsl .hero__cta { margin-top: 16px; gap: 10px; }
.hero--vsl .btn:not(.btn--wa) { background: #fff; color: var(--ink); border-color: #fff; }
.hero--vsl .btn:not(.btn--wa):hover { background: #eee; border-color: #eee; }
.hero--vsl .wa-link { color: var(--wa); }
@media (min-width: 900px) {
  .hero--vsl .hero__content { padding: 48px var(--gutter) 72px; }
  .hero--vsl .lead { margin-top: 16px; }
  .vsl__media--hero { margin-top: 28px; }
  .hero--vsl .hero__cta { margin-top: 24px; flex-direction: row; justify-content: center; gap: 22px; }
  @supports (height: 1svh) { .vsl__media--hero { height: clamp(320px, calc(100svh - 500px), 560px); } }  /* never taller than its 560px width; 320px keeps the CTAs inside a 768px-tall laptop/tablet-landscape screen */
}
