/* Bodia Coach landing. Apple-style layout with Bodia black and yellow. */
@font-face { font-family: 'Vastago Grotesk'; font-weight: 700; font-display: swap; src: url('/assets/fonts/VastagoGrotesk-Bold.otf') format('opentype'); }
@font-face { font-family: 'Vastago Grotesk'; font-weight: 900; font-display: swap; src: url('/assets/fonts/VastagoGrotesk-Black.otf') format('opentype'); }
@font-face { font-family: 'Nunito Sans'; font-weight: 400; font-display: swap; src: url('/coach/fonts/NunitoSans_400Regular.ttf') format('truetype'); }
@font-face { font-family: 'Nunito Sans'; font-weight: 600; font-display: swap; src: url('/coach/fonts/NunitoSans_600SemiBold.ttf') format('truetype'); }
@font-face { font-family: 'Nunito Sans'; font-weight: 700; font-display: swap; src: url('/coach/fonts/NunitoSans_700Bold.ttf') format('truetype'); }
@font-face { font-family: 'Nunito Sans'; font-weight: 800; font-display: swap; src: url('/coach/fonts/NunitoSans_800ExtraBold.ttf') format('truetype'); }

:root {
  --ink: #111111;
  --ink-2: #1f1f22;
  --yellow: #ffcb45;
  --yellow-soft: #fff6dc;
  --amber-ink: #8a6300;
  --gradient: linear-gradient(to bottom right, #ffcb45, #ffe08a 58%, #ffb648);
  --bg-alt: #f5f5f7;
  --line: #e5e5ea;
  --text-2: #6e6e73;
  --text-3: #8e8e93;
  --shadow: 0 30px 80px rgba(17, 17, 17, 0.12), 0 8px 24px rgba(17, 17, 17, 0.06);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: #fff; color: var(--ink); font-family: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, p, figure, ol, ul { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 3px solid #f5b400; outline-offset: 3px; border-radius: 8px; }
.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 800px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; }
.skip:focus { left: 8px; }
.eyebrow { display: inline-block; font-size: 14px; font-weight: 800; color: var(--amber-ink); letter-spacing: 0.2px; margin-bottom: 12px; }
.lead { font-size: 20px; color: var(--text-2); line-height: 1.45; }
:lang(hi) body, :lang(zh-CN) body { letter-spacing: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 999px; font-weight: 800; font-size: 16px; white-space: nowrap; transition: transform 0.15s var(--ease), background 0.15s, box-shadow 0.15s; }
.btn:active { transform: scale(0.97); }
.btn-sm { height: 36px; padding: 0 16px; font-size: 14px; }
.btn-lg { height: 54px; padding: 0 28px; font-size: 17px; }
.btn.block { width: 100%; }
.btn-dark { background: var(--ink); color: #fff; box-shadow: 0 6px 18px rgba(17, 17, 17, 0.18); }
.btn-dark:hover { background: #2a2a2e; }
.btn-light { background: #e9e9eb; color: var(--ink); }
.btn-light:hover { background: #dedee2; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.78); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.site-header.scrolled { border-bottom-color: rgba(0, 0, 0, 0.08); }
.header-inner { height: 64px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; font-size: 24px; letter-spacing: -0.4px; flex: none; }
/* Same mark as bodia.app: 44px, 11px corners. */
.brand img { width: 44px; height: 44px; border-radius: 11px; object-fit: cover; }
.footer-inner .brand img { width: 28px; height: 28px; border-radius: 7px; }
.nav { display: flex; gap: 30px; margin-left: 14px; flex: 1; font-size: 16.5px; font-weight: 700; color: #1c1c1e; }
.nav a:hover { color: var(--ink); }
/* Menu with dropdowns (Funciones, Recursos). */
.nav { align-items: center; }
.nav-group { position: relative; }
.nav-top { display: inline-flex; align-items: center; gap: 4px; padding: 8px 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; }
.nav-top:hover, .nav-group:hover > .nav-top, .nav-top[aria-expanded="true"] { color: var(--ink); }
.nav-chev { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s; }
.nav-top[aria-expanded="true"] .nav-chev { transform: rotate(180deg); }
.nav-menu { position: absolute; top: calc(100% + 6px); left: -14px; z-index: 60; width: 300px; padding: 8px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 44px rgba(17, 17, 17, 0.14); display: none; }
.nav-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.nav-group.open > .nav-menu { display: block; }
@media (hover: hover) and (min-width: 761px) { .nav-group:hover > .nav-menu, .nav-group:focus-within > .nav-menu { display: block; } }
.nav-item { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 10px; color: var(--ink); }
.nav-item:hover { background: #f4f4f6; }
.nav-item b { font-size: 15px; font-weight: 800; }
.nav-item small { font-size: 13px; font-weight: 600; color: var(--text-2); line-height: 1.35; }
.nav-login { display: none; }
.header-actions { display: flex; align-items: center; gap: 14px; flex: none; }
.link-login { font-size: 15px; font-weight: 700; color: #3a3a3c; white-space: nowrap; }
.link-login:hover { color: var(--ink); }
.lang { display: inline-flex; align-items: center; gap: 6px; color: var(--text-2); }
.lang svg, .menu-btn svg { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.lang select { appearance: none; border: 0; background: transparent; font: inherit; font-size: 14px; font-weight: 700; color: #3a3a3c; cursor: pointer; padding: 6px 2px; max-width: 110px; }
.menu-btn { display: none; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.menu-btn:hover { background: #e9e9eb; }

/* Hero */
.hero { position: relative; padding: 76px 0 0; text-align: center; overflow: hidden; }
.hero::before { content: ''; position: absolute; left: 50%; top: 420px; width: 1200px; height: 760px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(255, 203, 69, 0.38), rgba(255, 203, 69, 0) 70%); pointer-events: none; }
.hero-copy { position: relative; display: flex; flex-direction: column; align-items: center; }
/* Same title as bodia.app. */
.hero h1 { font-family: 'Vastago Grotesk', 'Nunito Sans', sans-serif; font-size: clamp(31px, 4.2vw, 53px); font-weight: 900; letter-spacing: -0.03em; line-height: 1.08; max-width: 1080px; text-shadow: 0 3px 8px rgba(0,0,0,.78), 0 10px 22px rgba(0,0,0,.58), 0 18px 36px rgba(0,0,0,.42); }
@media (max-width: 960px) { .hero h1 { font-size: 39px; } }
.hero .lead { margin-top: 22px; max-width: 700px; }
.cta-row { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; justify-content: center; }
.cta-stack { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.cta-sub { font-size: 14px; font-weight: 600; color: var(--text-2); }
.hero.has-video .cta-sub { color: rgba(255, 255, 255, 0.78); }
.hero-note { margin-top: 18px; display: inline-flex; align-items: center; gap: 8px; font-size: 15px; color: var(--text-2); font-weight: 600; }
.hero-note .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 4px rgba(255, 203, 69, 0.3); }
.hero-visual { position: relative; margin-top: 60px; padding-bottom: 80px; }
.browser { border-radius: 18px; overflow: hidden; background: #fff; box-shadow: var(--shadow), 0 0 0 1px rgba(0, 0, 0, 0.05); }
.browser-bar { height: 38px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: #f2f2f5; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #d9d9de; }
.browser-bar i:first-child { background: #ff5f57; }
.browser-bar i:nth-child(2) { background: #febc2e; }
.browser-bar i:nth-child(3) { background: #28c840; }
.browser-bar span { margin: 0 auto; font-size: 12px; font-weight: 700; color: var(--text-3); background: #fff; padding: 3px 26px; border-radius: 7px; transform: translateX(-24px); }
.hero-phone { position: absolute; right: -6px; bottom: 20px; width: 21%; max-width: 240px; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.22)); }

/* Hero with background video (dark), with a still fallback when the video is missing or motion is reduced. */
.hero.has-video { padding-top: 92px; }
.hero.has-video::before { display: none; }
.hero-bg { position: absolute; left: 0; right: 0; top: 0; bottom: 36%; overflow: hidden; background: #0d0d0e radial-gradient(60% 70% at 50% 100%, rgba(255, 203, 69, 0.28), rgba(255, 203, 69, 0) 70%); }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-video.no-video, .section-video.no-video { visibility: hidden; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 10, 11, 0.72) 0%, rgba(10, 10, 11, 0.5) 45%, rgba(10, 10, 11, 0.78) 100%); }
.hero.has-video .hero-copy h1 { color: #fff; }
.hero.has-video .hero-copy .lead { color: rgba(255, 255, 255, 0.8); }
.hero.has-video .eyebrow { color: var(--yellow); }
.hero.has-video .hero-note { color: rgba(255, 255, 255, 0.82); }
.btn-yellow { background: var(--gradient); color: var(--ink); box-shadow: 0 8px 24px rgba(255, 182, 72, 0.35); }
.btn-yellow:hover { filter: brightness(1.04); }
.btn-glass { background: rgba(255, 255, 255, 0.16); color: #fff; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22); }
.btn-glass:hover { background: rgba(255, 255, 255, 0.24); }
.hero.has-video .hero-visual { margin-top: 64px; }

/* "Conectado con tus alumnos" with a 16:9 video */
.connect-section { padding: 110px 0; }
.connect-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 56px; align-items: center; }
.connect-copy h2 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.06; }
.connect-copy .lead { margin-top: 16px; }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden; background: #1a1a1c radial-gradient(70% 80% at 70% 30%, rgba(255, 203, 69, 0.35), rgba(255, 203, 69, 0) 70%); box-shadow: var(--shadow), 0 0 0 1px rgba(0, 0, 0, 0.05); }
.video-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Sections */
section { position: relative; }
.section-intro { text-align: center; max-width: 820px; margin: 0 auto; }
.section-intro h2, .app-copy h2, .final-cta h2 { font-size: clamp(32px, 4.6vw, 56px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.06; }
.section-intro .lead { margin-top: 16px; }
.features { padding: 120px 0 80px; }
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; margin-top: 110px; }
.feature.flip .feature-copy { order: 2; }
.feature h3 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 800; letter-spacing: -0.035em; line-height: 1.1; }
.feature-copy p { margin-top: 14px; color: var(--text-2); font-size: 18px; }
.ticks { list-style: none; padding: 0; margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.ticks li { position: relative; padding-left: 34px; font-weight: 700; font-size: 16px; }
.ticks li::before { content: ''; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.shot { border-radius: 18px; overflow: hidden; background: #f2f2f7; box-shadow: var(--shadow), 0 0 0 1px rgba(0, 0, 0, 0.05); }
.shot.stacked { position: relative; overflow: visible; background: none; box-shadow: none; padding-bottom: 18%; }
.shot.stacked img { border-radius: 18px; box-shadow: var(--shadow), 0 0 0 1px rgba(0, 0, 0, 0.05); }
.shot.stacked img:first-child { width: 88%; }
.shot.stacked .over { position: absolute; right: -4%; bottom: 0; width: 72%; }

.grid-section { background: var(--bg-alt); padding: 110px 0; }
.feature-grid { list-style: none; padding: 0; margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.feature-grid li { background: #fff; border-radius: 20px; padding: 12px 12px 26px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.feature-grid li > h3, .feature-grid li > p { padding: 0 14px; }
.feat-img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 14px; background: #f5f6f8; margin-bottom: 10px; }
.feature-grid h3 { font-size: 19px; font-weight: 800; letter-spacing: -0.3px; }
.feature-grid p { color: var(--text-2); font-size: 15px; }
.feature-grid li.highlight { background: var(--ink); color: #fff; }
.feature-grid li.highlight p { color: #c7c7cc; }
.only { align-self: center; font-size: 12px; font-weight: 800; color: var(--ink); background: var(--yellow); border-radius: 999px; padding: 2px 10px; }

.steps-section { padding: 120px 0; }
.steps { list-style: none; padding: 0; margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; counter-reset: step; }
.steps li { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.steps .num { width: 64px; height: 64px; border-radius: 50%; background: var(--ink); color: var(--yellow); font-size: 28px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.steps h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.4px; }
.steps p { color: var(--text-2); max-width: 300px; }

.app-section { background: var(--bg-alt); padding: 110px 0; overflow: hidden; }
.app-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.app-copy .lead { margin-top: 18px; }
.plus-badge { margin-top: 26px; display: flex; align-items: center; gap: 12px; max-width: 460px; background: var(--gradient); border-radius: 18px; padding: 14px 18px; font-weight: 700; font-size: 17px; line-height: 1.3; }
.plus-badge span { min-width: 0; }
.plus-badge b { flex: none; background: var(--ink); color: var(--yellow); border-radius: 10px; padding: 3px 10px; font-weight: 800; }
.store-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.store-badge { display: inline-flex; align-items: center; height: 52px; }
.store-badge img { height: 52px; width: auto; display: block; }
.store-badge:hover { opacity: .85; }
.store-badge span { display: flex; flex-direction: column; line-height: 1.1; }
.store-badge small { font-size: 11px; color: #c7c7cc; }
.store-badge b { font-size: 17px; letter-spacing: -0.2px; }
.phones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; align-items: end; }
.phones img { filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.18)); }
.phones img:nth-child(1) { transform: translate(18%, 6%) scale(0.92); }
.phones img:nth-child(2) { position: relative; z-index: 1; }
.phones img:nth-child(3) { transform: translate(-18%, 6%) scale(0.92); }

.pricing { padding: 120px 0; }
.price-card { margin: 56px auto 0; max-width: 980px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); border-radius: 28px; overflow: hidden; background: #fff; box-shadow: var(--shadow), 0 0 0 1px rgba(0, 0, 0, 0.05); }
.price-main { padding: 36px; display: flex; flex-direction: column; gap: 14px; }
.price-includes { background: var(--bg-alt); padding: 36px; }
.price-includes h3 { font-size: 20px; font-weight: 800; }
.seg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #e9e9eb; border-radius: 12px; padding: 3px; gap: 3px; }
.seg button { height: 40px; border: 0; border-radius: 9px; background: transparent; font: inherit; font-weight: 800; font-size: 16px; color: var(--ink); cursor: pointer; transition: background 0.2s, box-shadow 0.2s; }
.seg button.on { background: #fff; box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12), 0 0.5px 1px rgba(0, 0, 0, 0.08); }
.tier-label { font-weight: 800; font-size: 18px; margin-top: 6px; }
.price-line { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.price { font-size: clamp(38px, 5vw, 56px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.price .per { font-size: 17px; font-weight: 700; color: var(--text-2); letter-spacing: 0; margin-left: 6px; }
.price-ref { font-size: 15px; color: var(--text-2); font-weight: 600; min-height: 1.4em; }
.trial { display: inline-flex; align-self: flex-start; background: var(--yellow-soft); color: var(--amber-ink); font-weight: 800; font-size: 14px; border-radius: 999px; padding: 5px 12px; }
.fine { font-size: 13px; color: var(--text-2); }
.fine a { text-decoration: underline; text-underline-offset: 2px; }

.faq-section { padding: 110px 0; background: var(--bg-alt); }
.faq { margin-top: 44px; background: #fff; border-radius: 22px; padding: 6px 26px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-weight: 800; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--text-3); border-bottom: 2px solid var(--text-3); transform: rotate(45deg) translate(-3px, -3px); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
.faq details p { padding: 0 0 22px; color: var(--text-2); }

.final-cta { padding: 110px 0; }
.final-inner { background: var(--gradient); border-radius: 32px; padding: 72px 32px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.final-inner p { font-size: 20px; color: #3a3a3c; font-weight: 600; max-width: 560px; margin-bottom: 10px; }

.site-footer { border-top: 1px solid var(--line); padding: 30px 0 40px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: var(--text-2); font-size: 15px; }
.footer-inner nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-inner nav a:hover { color: var(--ink); }
.footer-inner .brand { font-size: 16px; color: var(--ink); }

/* Motion: content is visible without JS; with JS it rises in as it scrolls into view. */
.motion .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.motion .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .motion .reveal { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
}

/* Responsive */
@media (max-width: 980px) {
  .nav { gap: 20px; }
  .connect-inner { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .feature, .app-inner { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .feature.flip .feature-copy { order: 0; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-card { grid-template-columns: minmax(0, 1fr); }
  .phones { max-width: 560px; margin: 0 auto; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .header-inner { gap: 10px; }
  .menu-btn { display: inline-flex; }
  .link-login { display: none; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; gap: 0; margin: 0; padding: 8px 16px 16px; background: rgba(255, 255, 255, 0.96); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--line); }
  .nav a { padding: 14px 8px; font-size: 17px; border-bottom: 1px solid var(--line); }
  .nav { align-items: stretch; max-height: calc(100vh - 64px); overflow-y: auto; }
  .nav-group > .nav-top { width: 100%; justify-content: space-between; padding: 14px 8px; font-size: 17px; border-bottom: 1px solid var(--line); }
  .nav-menu { position: static; width: auto; padding: 4px 0 8px 8px; border: 0; box-shadow: none; background: transparent; border-radius: 0; }
  .nav-menu .nav-item { border-bottom: 0; padding: 10px 8px; }
  .nav .nav-login { display: block; border-bottom: 0; }
  .site-header.open .nav { display: flex; }
  .lang select { max-width: 74px; }
  .hero { padding-top: 48px; }
  .hero.has-video { padding-top: 56px; }
  .hero-bg { bottom: 30%; }
  .connect-section { padding: 76px 0; }
  .lead { font-size: 18px; }
  .hero-visual { margin-top: 40px; padding-bottom: 56px; }
  .hero-phone { width: 30%; right: 0; bottom: 8px; }
  .browser-bar span { display: none; }
  .features, .steps-section, .pricing { padding: 80px 0; }
  .grid-section, .app-section, .faq-section, .final-cta { padding: 76px 0; }
  .feature { margin-top: 72px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .price-main, .price-includes { padding: 24px; }
  .faq { padding: 4px 18px; }
  .faq summary { font-size: 16px; }
  .final-inner { padding: 52px 22px; border-radius: 26px; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .brand span { font-size: 18px; }
  .brand img { width: 36px; height: 36px; border-radius: 9px; }
  .header-actions .btn-sm { padding: 0 12px; }
  .feature-grid { grid-template-columns: minmax(0, 1fr); }
  .cta-row { width: 100%; flex-direction: column; }
  .cta-row .btn { width: 100%; }
  .cta-stack { width: 100%; }
  .seg button { font-size: 15px; }
}
@media (max-width: 440px) {
  .header-inner { gap: 6px; }
  .brand span { display: none; }
  .header-actions { gap: 8px; margin-left: auto; }
  .lang select { max-width: 76px; text-overflow: ellipsis; }
  .menu-btn { width: 36px; height: 36px; }
}

/* Language switch with flags, same as bodia.app. */
.lang[hidden] { display: none; }
.lang-switch { position: relative; display: inline-flex; align-items: center; }
.lang-current { width: 84px; height: 50px; box-sizing: border-box; border: 1.5px solid #d9dde6; border-radius: 999px; background: #fff; box-shadow: 0 4px 14px rgba(15,23,42,.08); display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 12px; flex: 0 0 84px; cursor: pointer; appearance: none; -webkit-tap-highlight-color: transparent; }
.lang-current-flag { width: 20px; height: 14px; object-fit: cover; border-radius: 2px; display: block; }
.lang-current-caret { width: 8px; height: 8px; border-right: 1.8px solid #111; border-bottom: 1.8px solid #111; transform: translateY(-2px) rotate(45deg); transition: transform .18s; }
.lang-switch.is-open .lang-current-caret { transform: translateY(2px) rotate(-135deg); }
.lang-menu { position: absolute; top: calc(100% + 10px); right: 0; min-width: 176px; padding: 8px; border: 1.5px solid #d9dde6; border-radius: 18px; background: rgba(255,255,255,.98); box-shadow: 0 14px 34px rgba(15,23,42,.12); display: none; flex-direction: column; gap: 4px; z-index: 60; }
.lang-switch.is-open .lang-menu { display: flex; }
.lang-flag { width: 100%; min-height: 40px; border-radius: 12px; display: inline-flex; align-items: center; gap: 10px; border: 1px solid transparent; background: transparent; padding: 8px 10px; font: 700 0.92rem/1.1 'Vastago Grotesk', 'Nunito Sans', sans-serif; color: #111; text-align: left; cursor: pointer; transition: background .18s, border-color .18s; }
.lang-flag img { width: 16px; height: 11px; object-fit: cover; border-radius: 2px; display: block; flex: 0 0 auto; }
.lang-flag span { white-space: nowrap; }
.lang-flag.is-active { border-color: #e5e7eb; background: #f6f7fb; }
.lang-flag:hover { background: #f7f9fc; border-color: #e2e8f0; }
@media (max-width: 960px) { .lang-current { height: 44px; width: 76px; flex-basis: 76px; } }

/* Full footer: brand, product, getting started, resources and legal. */
.site-footer { padding: 64px 0 28px; background: #0f0f10; color: #c7c7cc; border-top: 0; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 40px; }
.foot-brand .brand { color: #fff; }
.foot-brand p { margin-top: 14px; max-width: 300px; font-size: 15px; line-height: 1.5; color: #a1a1a6; }
.foot-social { display: flex; gap: 10px; margin-top: 18px; }
.foot-social a { width: 38px; height: 38px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: #1c1c1e; color: #fff; }
.foot-social a:hover { background: #2c2c2e; }
.foot-social svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.foot-stores { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.foot-stores a { display: inline-flex; border-radius: 9px; transition: transform .15s, opacity .15s; }
.foot-stores a:hover { transform: translateY(-1px); opacity: .9; }
.foot-stores img { height: 40px; width: auto; display: block; }
.foot-col h4 { font-size: 14px; font-weight: 800; color: #fff; margin-bottom: 14px; }
.foot-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.foot-col a { font-size: 15px; color: #a1a1a6; }
.foot-col a:hover, .foot-legal a:hover { color: #fff; }
.foot-legal { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 22px; border-top: 1px solid #2c2c2e; font-size: 14px; color: #8e8e93; }
.foot-legal nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-legal a { color: #a1a1a6; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

/* Desktop: bigger panel screenshots in the feature rows, and the hero text in exactly two lines. */
@media (min-width: 1100px) {
  .features > .wrap { max-width: 1380px; }
  .feature { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; }
  .feature.flip { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
  .hero .lead { max-width: 1010px; font-size: 20px; text-wrap: balance; }
}

/* Hero, desktop: bigger type and more air (Alan, 2026-11-13). */
@media (min-width: 1100px) {
  .hero.has-video { padding-top: 132px; }
  .hero h1 { font-size: clamp(44px, 4.9vw, 68px); max-width: 1200px; line-height: 1.06; }
  .hero .lead { margin-top: 30px; font-size: 22px; max-width: 1060px; line-height: 1.5; }
  .hero .cta-row { margin-top: 44px; }
  .hero .btn-lg { min-height: 62px; padding: 0 38px; font-size: 19px; }
  .hero .cta-sub { font-size: 15px; margin-top: 4px; }
  .hero-note { margin-top: 30px; font-size: 16.5px; }
  .hero-visual { margin-top: 96px; }
}


/* "Empezar es fácil": cards with a small illustration under each step (like Hevy Coach). */
.steps li { background: #fff; border-radius: 24px; padding: 34px 26px 0; box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 0 0 1px rgba(0,0,0,.04); overflow: hidden; }
.steps-section { background: #f5f5f7; }
.step-art { margin-top: auto; padding-top: 26px; height: 250px; width: 100%; display: flex; align-items: center; justify-content: center; }
.art-invite { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.art-bubble { background: #f2f2f7; border-radius: 18px 18px 18px 6px; padding: 12px 16px; display: flex; flex-direction: column; gap: 4px; text-align: left; box-shadow: 0 6px 18px rgba(0,0,0,.06); }
.art-small { font-size: 13px; color: var(--text-2); font-weight: 600; }
.art-bubble b { font-size: 22px; letter-spacing: 2px; font-variant-numeric: tabular-nums; }
.art-app { position: relative; width: 92px; height: 92px; border-radius: 24px; background: linear-gradient(145deg, #2c2c2e, #111); display: flex; align-items: center; justify-content: center; box-shadow: 0 14px 30px rgba(0,0,0,.22); }
.art-app img { width: 46px; height: 46px; }
.art-badge { position: absolute; top: -9px; right: -9px; width: 30px; height: 30px; border-radius: 50%; background: var(--yellow); color: #111; font-weight: 800; font-size: 15px; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 3px #fff; }
.art-assign { width: 240px; display: flex; flex-direction: column; align-items: center; }
.art-button { display: inline-flex; align-items: center; gap: 8px; background: #111; color: #fff; font-weight: 800; font-size: 14px; padding: 10px 16px; border-radius: 999px; box-shadow: 0 8px 20px rgba(0,0,0,.18); }
.art-button svg { color: var(--yellow); }
.art-lines { width: 240px; height: 64px; display: block; }
.art-avatars { width: 240px; display: flex; justify-content: space-between; margin-top: -2px; }
.art-avatars img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: 0 6px 16px rgba(0,0,0,.18); margin: 0 2px; }
.art-phone { position: relative; width: 210px; height: 250px; margin-bottom: -12px; border-radius: 34px 34px 0 0; background: #111; padding: 9px 9px 0; box-shadow: 0 18px 40px rgba(0,0,0,.2); align-self: flex-end; }
.art-notch { position: absolute; top: 15px; left: 50%; transform: translateX(-50%); width: 64px; height: 18px; border-radius: 10px; background: #111; z-index: 1; }
.art-screen { height: 100%; border-radius: 26px 26px 0 0; background: #f2f2f7; padding: 14px 12px; display: flex; flex-direction: column; gap: 9px; text-align: left; }
.art-time { font-size: 11px; font-weight: 800; padding-left: 8px; }
.art-coach { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 12px; padding: 8px; margin-top: 6px; }
.art-coach img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.art-coach div { display: flex; flex-direction: column; line-height: 1.15; }
.art-coach b { font-size: 12px; }
.art-coach small, .art-label, .art-day small { font-size: 10px; color: var(--text-3); font-weight: 600; }
.art-day { background: #fff; border-radius: 12px; padding: 8px 10px; display: flex; flex-direction: column; gap: 2px; }
.art-day b { font-size: 12px; }
.art-start { background: #111; color: #fff; border-radius: 999px; font-size: 11px; font-weight: 800; text-align: center; padding: 8px; }
@media (max-width: 980px) { .step-art { height: 220px; } }

/* Bodia app logo above "¿Qué es Bodia?" */
.app-logo { width: 84px; height: 84px; border-radius: 22px; background: #111; display: flex; align-items: center; justify-content: center; margin-bottom: 22px; box-shadow: 0 12px 28px rgba(0,0,0,.18); }
.app-logo img { width: 52px; height: 52px; object-fit: contain; }

/* Final call to action: the sentence stays on one line on a computer. */
@media (min-width: 900px) { .final-inner p { max-width: none; white-space: nowrap; } }

/* Mid-page call to action, between "Empezar es fácil" and "Conectado". */
.mid-cta { padding: 0 0 100px; background: #f5f5f7; }
.mid-cta-card { position: relative; overflow: hidden; background: #111; color: #fff; border-radius: 28px; padding: 48px 56px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.mid-cta-card::after { content: ''; position: absolute; right: -120px; top: -140px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 203, 69, 0.35), rgba(255, 203, 69, 0)); pointer-events: none; }
.mid-cta-copy { position: relative; z-index: 1; max-width: 640px; }
.mid-cta-copy h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.mid-cta-copy p { margin-top: 12px; font-size: 18px; color: rgba(255, 255, 255, 0.75); font-weight: 600; }
.mid-cta-actions { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 12px; flex: none; }
.mid-cta-link { color: rgba(255, 255, 255, 0.8); font-weight: 700; font-size: 15px; text-decoration: underline; text-underline-offset: 3px; }
.mid-cta-link:hover { color: #ffcb45; }
@media (max-width: 900px) {
  .mid-cta { padding-bottom: 70px; }
  .mid-cta-card { flex-direction: column; align-items: flex-start; padding: 36px 24px; }
  .mid-cta-actions { align-items: stretch; width: 100%; }
}

/* Step 3: a real screen of the student app in the phone. */
.art-phone-img { width: 220px; height: auto; align-self: flex-end; margin-bottom: -150px; filter: drop-shadow(0 18px 30px rgba(0,0,0,.18)); }
/* Second mid-page call to action (after "Sigue su progreso"): yellow version. */
.mid-cta-progress { background: transparent; padding: 20px 0 110px; }
.mid-cta-light { background: var(--gradient, linear-gradient(to bottom right, #ffcb45, #ffe08a 58%, #ffb648)); color: #111; }
.mid-cta-light::after { background: radial-gradient(closest-side, rgba(255,255,255,.55), rgba(255,255,255,0)); }
.mid-cta-light .mid-cta-copy p { color: #3a3a3c; }
.mid-cta-note { font-size: 14px; font-weight: 700; color: #3a3a3c; }

.step-art:has(.art-phone-img) { align-items: flex-start; overflow: visible; }
.art-phone-img { align-self: flex-start; margin: 0; }

/* "Entrena impulsado por tu progreso": the same band as bodia.app, under the hero. */
@font-face { font-family: 'Anton'; font-weight: 400; font-display: swap; src: url('/coach/fonts/Anton-Regular.woff2') format('woff2'); }
/* Same black as the footer above, so the band reads as the page's closing line. */
.progress-banner { background: #0f0f10; overflow: hidden; border: 0; padding: 30px 12px 22px; display: flex; justify-content: center; }
.progress-banner-text { margin: 0; width: 100%; font-family: 'Anton', Impact, 'Arial Narrow', sans-serif; font-weight: 400; font-size: clamp(26px, 6.4vw, 150px); line-height: 1; letter-spacing: -0.035em; text-transform: uppercase; color: #f4f0ea; white-space: nowrap; text-align: center; animation: progressBannerDropIn 1s cubic-bezier(0.2, 0.9, 0.2, 1) both; }
html[lang^="pt"] .progress-banner-text, html[lang^="fr"] .progress-banner-text { font-size: clamp(22px, 5.1vw, 124px); letter-spacing: -0.045em; }
html[lang^="de"] .progress-banner-text { font-size: clamp(20px, 4.6vw, 112px); letter-spacing: -0.05em; }
html[lang^="hi"] .progress-banner-text, html[lang^="zh"] .progress-banner-text { font-weight: 800; letter-spacing: 0; font-size: clamp(22px, 5vw, 96px); }
@keyframes progressBannerDropIn { from { opacity: 0; transform: translateY(-72px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 760px) { .progress-banner { padding: 24px 8px 20px; border: 0; } }
@media (prefers-reduced-motion: reduce) { .progress-banner-text { animation: none; } }

/* ── "Un día con Bodia Coach": pinned scroll scene ───────────────────────── */
.live-show { position: relative; height: 340vh; background: #0b0b0c; color: #fff; }
.live-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: grid; grid-template-rows: auto 1fr; justify-items: center; padding-top: clamp(72px, 11vh, 120px); --p: 0; }
.live-bg { position: absolute; inset: 0; pointer-events: none; }
.live-glow { position: absolute; left: 50%; top: 58%; width: 900px; height: 900px; transform: translate(-50%, -50%) scale(calc(0.6 + var(--p) * 0.7)); border-radius: 50%;
  background: radial-gradient(circle, rgba(255,203,69,.42) 0%, rgba(255,203,69,.12) 32%, rgba(255,203,69,0) 62%); filter: blur(10px); opacity: calc(0.35 + var(--p) * 0.65); }
.live-ring { position: absolute; left: 50%; top: 58%; border-radius: 50%; border: 1px solid rgba(255,255,255,.08); transform: translate(-50%, -50%) rotateX(68deg) rotate(calc(var(--p) * 220deg)); }
.live-ring::after { content: ''; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 16px 4px rgba(255,203,69,.7); }
.live-ring.r1 { width: 520px; height: 520px; }
.live-ring.r2 { width: 820px; height: 820px; border-color: rgba(255,255,255,.06); transform: translate(-50%, -50%) rotateX(68deg) rotate(calc(var(--p) * -160deg + 40deg)); }
.live-ring.r3 { width: 1160px; height: 1160px; border-color: rgba(255,255,255,.04); transform: translate(-50%, -50%) rotateX(68deg) rotate(calc(var(--p) * 120deg + 100deg)); }
.live-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse at 50% 70%, #000 0%, transparent 65%); -webkit-mask-image: radial-gradient(ellipse at 50% 70%, #000 0%, transparent 65%); transform: translateY(calc(var(--p) * -64px)); }
.live-copy { position: relative; z-index: 2; text-align: center; padding: 0 20px; }
.live-kicker { display: inline-block; font-weight: 800; font-size: 13px; letter-spacing: 1.4px; text-transform: uppercase; color: #111; background: var(--yellow); border-radius: 999px; padding: 6px 14px; margin: 0 0 14px; }
.live-title { font-family: 'Vastago Grotesk', 'Nunito Sans', sans-serif; font-weight: 900; font-size: clamp(30px, 5vw, 64px); line-height: 1.02; letter-spacing: -1px; margin: 0; display: grid; }
.live-line { grid-area: 1 / 1; transition: opacity .5s, transform .5s, filter .5s; }
.live-line.l2 { opacity: 0; transform: translateY(24px); filter: blur(8px); background: linear-gradient(90deg, #fff, var(--yellow)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.live-show.end .live-line.l1 { opacity: 0; transform: translateY(-24px); filter: blur(8px); }
.live-show.end .live-line.l2 { opacity: 1; transform: none; filter: none; }
.live-stage { position: relative; width: min(1100px, 100%); height: 100%; perspective: 1400px; z-index: 1; }
.live-phone { position: absolute; left: 50%; top: 52%; width: clamp(200px, 22vw, 290px); aspect-ratio: 520 / 1098; border-radius: 15% / 7%; background: #000; padding: 1.3%;
  box-shadow: 0 0 0 2px #2a2a2d, 0 40px 120px rgba(0,0,0,.6), 0 0 80px rgba(255,203,69, calc(var(--p) * .35));
  transform: translate(-50%, calc(-50% + (1 - var(--rise)) * 60vh)) rotateX(calc((1 - var(--rise)) * 38deg)) rotateY(calc(var(--tilt) * 1deg)) scale(calc(.86 + var(--rise) * .14)); --rise: 0; --tilt: 0; }
.live-screen { position: absolute; inset: 1.3%; width: 97.4%; height: 97.4%; object-fit: cover; border-radius: 13.5% / 6.4%; opacity: 0; transition: opacity .6s ease; }
.live-screen.on { opacity: 1; }
.live-card { position: absolute; left: 50%; top: 52%; display: flex; gap: 12px; align-items: center; width: max-content; max-width: 300px; padding: 12px 16px 12px 12px; border-radius: 18px;
  background: rgba(28,28,30,.72); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 18px 50px rgba(0,0,0,.45); --in: 0; --x: 0px; --y: 0px; opacity: var(--in);
  transform: translate(-50%, -50%) translate(calc(var(--x) * var(--in)), calc(var(--y) * var(--in))) translateZ(calc((1 - var(--in)) * -600px)) scale(calc(.6 + var(--in) * .4)) rotate(calc((1 - var(--in)) * var(--r, 0deg))); will-change: transform, opacity; }
.live-card b { display: block; font-size: 14px; line-height: 1.25; }
.live-card small { display: block; font-size: 12px; color: rgba(255,255,255,.62); margin-top: 2px; }
.live-ico { flex: none; width: 36px; height: 36px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; font-weight: 900; font-size: 16px; color: #fff; background: var(--c); box-shadow: 0 0 22px color-mix(in srgb, var(--c) 60%, transparent); }
.live-card.c1 { --c: #34C759; } .live-card.c2 { --c: #FF9F0A; } .live-card.c3 { --c: #0A84FF; } .live-card.c4 { --c: #30B0C7; } .live-card.c5 { --c: #5E5CE6; } .live-card.c6 { --c: #FF3B30; }
.live-card.c1 { --x: -330px; --y: -150px; --r: -14deg; }
.live-card.c2 { --x: 330px; --y: -190px; --r: 12deg; }
.live-card.c3 { --x: -360px; --y: 30px; --r: 10deg; }
.live-card.c4 { --x: 350px; --y: -10px; --r: -10deg; }
.live-card.c5 { --x: -300px; --y: 200px; --r: -8deg; }
.live-card.c6 { --x: 320px; --y: 180px; --r: 14deg; }
.live-card.pop .live-ico { animation: livePing .9s ease-out; }
@keyframes livePing { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--c) 80%, transparent); } 100% { box-shadow: 0 0 0 16px transparent; } }
.live-progress { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); width: 140px; height: 3px; border-radius: 2px; background: rgba(255,255,255,.14); overflow: hidden; z-index: 2; }
.live-progress span { display: block; height: 100%; width: calc(var(--p) * 100%); background: var(--yellow); }
@media (max-width: 860px) {
  .live-show { height: 300vh; }
  .live-phone { width: 46vw; max-width: 230px; top: 56%; }
  .live-card { width: 46vw; max-width: 46vw; padding: 8px 10px 8px 8px; gap: 8px; border-radius: 14px; }
  .live-card b { font-size: 12px; } .live-card small { font-size: 11px; }
  .live-ico { width: 28px; height: 28px; border-radius: 9px; font-size: 13px; }
  .live-card.c1 { --x: -25vw; --y: -26vh; } .live-card.c2 { --x: 25vw; --y: -18vh; }
  .live-card.c3 { --x: -25vw; --y: -4vh; } .live-card.c4 { --x: 25vw; --y: 5vh; }
  .live-card.c5 { --x: -25vw; --y: 19vh; } .live-card.c6 { --x: 25vw; --y: 28vh; }
}
@media (prefers-reduced-motion: reduce) {
  .live-show { height: auto; }
  .live-sticky { position: relative; height: auto; min-height: 100vh; padding-bottom: 60px; --p: 1; }
  .live-phone { --rise: 1; }
  .live-card { --in: 1; }
  .live-line.l1 { display: none; } .live-line.l2 { opacity: 1; transform: none; filter: none; }
}
