/* ==========================================================================
   Tobías González — estilos
   Colores principales: cambiá los valores de :root para ajustar la marca.
   ========================================================================== */

:root {
  --bg: #0E0F12;
  --bg-2: #15171C;
  --card: #1B1E24;
  --line: #2A2E36;
  --text: #F3F4F6;
  --muted: #A3A8B3;
  --accent: #F97316;     /* naranja: color principal de la página */
  --accent-2: #FB923C;   /* naranja más claro (solo para matices) */
  --violet: #F97316;     /* (antes violeta, ahora mismo naranja) */
  --gold: #FB923C;       /* números */
  --ribbon: #E11D2E;     /* rojo de la cinta de abajo y la sección YouTube */
  --ribbon-top: #16A34A; /* verde de la cinta de arriba */
  --wa: #25D366;
  --wa-dark: #1DAE53;
  --red: #F26B6B;
  --radius: 18px;
  --font-title: "Sora", system-ui, sans-serif;
  --font-text: "Inter", system-ui, sans-serif;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--font-text);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-title); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; }
h2 { font-size: clamp(1.75rem, 5.5vw, 2.6rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.hl { color: var(--accent); }
.muted { color: var(--muted); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.wrap--narrow { max-width: 760px; }
.ico { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 0 1.4em; border-radius: 999px;
  font: 700 1rem/1 var(--font-text); text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
}
.btn:active { transform: scale(.98); }
.btn--wa { background: var(--wa); color: #06210f; box-shadow: 0 8px 28px -8px rgba(37, 211, 102, .55); }
.btn--wa:hover { background: var(--wa-dark); }
.btn--lg { width: 100%; min-height: 58px; font-size: 1.1rem; }
.btn--sm { min-height: 40px; padding: 0 1em; font-size: .9rem; }
.btn--ghost { border: 1.5px solid var(--accent); color: var(--accent); }
.btn--ghost:hover { background: var(--accent); color: var(--bg); }
:focus-visible { outline: 3px solid var(--accent-2); outline-offset: 3px; }

/* ---------- Encabezado ---------- */
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(14, 15, 18, .82);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.topbar__in { display: flex; align-items: center; justify-content: space-between; height: 58px; }
.brand { text-decoration: none; }
.logo {
  font: 400 1.55rem/1 "DM Serif Display", Georgia, serif;
  color: #fff; letter-spacing: -.01em;
  white-space: nowrap; padding: 6px 4px 2px;
}
.logo--lg { font-size: 2rem; }

/* ---------- Placeholders de imágenes / videos ---------- */
.ph {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 12px, transparent 12px 24px),
    #20232A;
  border: 1px dashed #3A3F49;
}
.ph::before {
  content: "📷  " attr(data-ph);
  position: absolute; inset: 0; display: grid; place-items: center;
  padding: 16px; text-align: center;
  font: 500 .78rem/1.4 var(--font-text); color: #8B919C;
}
.ph > img, .ph > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph.is-loaded { border-style: solid; border-color: rgba(249, 115, 22, .25); }
.ph.is-loaded::before { content: none; }
.is-missing { display: none !important; }
.ph--vertical { aspect-ratio: 9 / 16; }
.ph--portrait { aspect-ratio: 4 / 5; }
.ph--wide { aspect-ratio: 4 / 3; }

/* ---------- Hero ---------- */
.hero {
  position: relative; padding: 20px 0 28px;
  background:
    radial-gradient(60% 45% at 90% 8%, rgba(249, 115, 22, .32), transparent 70%),
    radial-gradient(55% 40% at 0% 70%, rgba(249, 115, 22, .16), transparent 70%);
}
.hero__grid { display: grid; gap: 18px; }
.hero__title { font-size: clamp(1.9rem, 8.4vw, 3.6rem); font-weight: 800; margin-bottom: 0; text-align: center; }
.hero__sub { color: #D1D5DB; font-size: clamp(.98rem, 3.8vw, 1.15rem); margin: 0; }

/* Antes / Hoy */
.ba { display: grid; gap: 8px; margin-bottom: 14px; }
.ba__item { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; font-size: .92rem; line-height: 1.45; }
.ba__item p { margin: 0; }
.ba__ico { display: grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 50%; font: 800 .75rem/1 var(--font-text); margin-top: 1px; }
.ba__item--before { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); color: var(--muted); }
.ba__item--before .ba__ico { background: #3A3F49; color: #C7CBD3; }
.ba__item--after { background: rgba(249, 115, 22, .10); border: 1px solid rgba(249, 115, 22, .35); color: var(--text); }
.ba__item--after .ba__ico { background: var(--wa); color: #06210f; }
.hero__video { display: flex; justify-content: center; }
.hero__video .ph { height: clamp(210px, 31svh, 560px); width: auto; border: 2px solid transparent; background-origin: border-box;
  box-shadow: 0 0 0 2px rgba(249, 115, 22, .45), 0 24px 60px -24px rgba(249, 115, 22, .4); }
.hero__video .ph::before { content: attr(data-ph); color: #E5E7EB; font-weight: 700; font-size: .85rem; }
.hint { text-align: center; color: var(--muted); font-size: .82rem; margin: 10px 0 12px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; font-size: .88rem; font-weight: 600; }
.chips li { display: flex; align-items: center; gap: 6px; }
.chips .ico { color: var(--accent); width: 1.1em; height: 1.1em; }

/* Reproductor */
.vplayer__overlay {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  border: 0; padding: 12px; cursor: pointer; color: #fff;
  background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.55));
  font-family: var(--font-text);
}
.vplayer__overlay strong { font: 700 1.05rem/1.2 var(--font-title); }
.vplayer__overlay small { font-size: .78rem; opacity: .85; }
.vplayer__icon {
  display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 6px;
  border-radius: 50%; background: var(--accent); color: var(--bg);
  animation: pulse 2s ease-in-out infinite;
}
.vplayer__icon .ico { width: 28px; height: 28px; }
.vplayer.is-playing .vplayer__overlay { display: none; }
.ph.is-empty .vplayer__overlay { display: none; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(249, 115, 22,.5); } 50% { box-shadow: 0 0 0 14px rgba(249, 115, 22,0); } }

/* ---------- Cinta ---------- */
.ribbon {
  overflow: hidden; background: var(--ribbon-top);
  color: #fff; transform: rotate(3deg); margin: 22px -20px 18px;
  box-shadow: 0 12px 34px -12px rgba(22, 163, 74, .55);
}
/* Se mueve hacia la derecha (al revés de lo habitual) */
.ribbon__track { display: flex; width: max-content; gap: 22px; padding: 14px 0; animation: marquee 28s linear infinite reverse; font: 800 1rem/1 var(--font-title); letter-spacing: .03em; white-space: nowrap; }
.ribbon i { font-style: normal; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.section { padding: 72px 0; background: radial-gradient(50% 35% at 0% 45%, rgba(249, 115, 22, .12), transparent 100%); }
.section--alt { background: radial-gradient(50% 35% at 100% 50%, rgba(249, 115, 22, .12), transparent 100%), var(--bg-2); }
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 36px; }
.sec-head p:last-child { color: var(--muted); margin: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--accent); font: 700 .78rem/1 var(--font-text); letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.eyebrow--warn { color: var(--red); }
.sec-foot { text-align: center; color: var(--muted); max-width: 560px; margin: 24px auto 0; }
.disclaimer { text-align: center; color: var(--muted); font-size: .85rem; font-style: italic; margin: 28px auto 0; max-width: 560px; }

/* Quién soy */
.about { display: grid; gap: 32px; align-items: center; }
.about__photo { max-width: 460px; width: 100%; margin: 0 auto; }
.about__text p { color: #D1D5DB; }
.quote { border-left: 3px solid var(--violet); padding-left: 14px; font-style: italic; color: var(--text) !important; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 24px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 6px; text-align: center; }
.stat strong { display: block; font: 800 clamp(1.15rem, 5vw, 1.7rem)/1.1 var(--font-title); color: var(--gold); }
.stat span { display: block; font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-top: 4px; }

/* Testimonios */
.testis {
  display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 16px 12px; margin: 0 -16px;
  scrollbar-width: none;
}
.testis::-webkit-scrollbar { display: none; }
.testi { scroll-snap-align: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.testi .ph { border-radius: 0; border: 0; aspect-ratio: 4 / 5; }
.testi .ph::before { place-items: start center; padding-top: 22px; }
.testi__play {
  position: absolute; inset: 0; z-index: 2; display: grid; place-items: center;
  border: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.45)); cursor: pointer;
}
.testi__play span { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--accent); color: var(--bg); box-shadow: 0 8px 24px rgba(0,0,0,.4); }
.testi__play .ico { width: 24px; height: 24px; margin-left: 3px; }
.testi.is-playing .testi__play { display: none; }
.testi__body { padding: 16px 18px 20px; }
.testi__name { font: 700 1.05rem/1.2 var(--font-title); margin: 0; }
.testi__user { color: var(--muted); font-size: .85rem; margin: 2px 0 12px; }
.testi__before { font-size: .88rem; color: var(--muted); margin: 0 0 6px; }
.testi__result { font-weight: 600; color: var(--gold); margin: 0; }
.tap-hint { text-align: center; color: var(--muted); font-size: .85rem; margin: 8px 0 0; }

/* Mi camino */
.timeline { position: relative; display: grid; gap: 28px; max-width: 860px; margin: 0 auto; padding-left: 28px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--violet), var(--accent), var(--accent-2)); }
.step { position: relative; display: grid; gap: 14px; }
.step::before { content: ""; position: absolute; left: -27px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); }
.step--now::before { background: var(--accent); box-shadow: 0 0 0 6px rgba(249, 115, 22,.2); }
.step__tag { color: var(--accent); font: 700 .75rem/1 var(--font-text); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; }
.step__text p:last-child { color: #D1D5DB; margin: 0; }

/* Qué incluye */
.cards4 { display: grid; gap: 14px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card p { color: var(--muted); margin: 0; }
.card__ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: rgba(249, 115, 22,.12); color: var(--accent); margin-bottom: 14px; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.faq details[open] { border-color: rgba(249, 115, 22,.4); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 52px 18px 20px; position: relative;
  font: 600 1rem/1.4 var(--font-text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 20px 18px; margin: 0; color: #D1D5DB; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 36px 0 110px; }
.footer__in { display: grid; gap: 18px; justify-items: center; text-align: center; }

.social { display: flex; gap: 12px; }
.social a { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--card); border: 1px solid var(--line); color: var(--text); transition: color .2s, border-color .2s; }
.social a:hover { color: var(--accent); border-color: var(--accent); }
.legal { color: var(--muted); font-size: .78rem; max-width: 620px; margin: 0; }
.copy { color: #6B7280; font-size: .78rem; margin: 0; }

/* Botón flotante */
.wa-float {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 50;
  display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa); color: #fff; box-shadow: 0 10px 30px -6px rgba(37,211,102,.65);
  transition: transform .2s, opacity .25s;
}
.wa-float .ico { width: 32px; height: 32px; }
.wa-float:hover { transform: scale(1.06); }
.wa-float.is-hidden { opacity: 0; pointer-events: none; transform: scale(.8); }

/* Animación al hacer scroll (solo si hay JS; el hero NUNCA se anima) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Escritorio ---------- */
@media (min-width: 768px) {
  .section { padding: 100px 0; }
  .testis { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; margin: 0; padding: 0; }
  .tap-hint { margin-top: 20px; }
  .step { grid-template-columns: 1fr 1fr; align-items: center; gap: 28px; }
  .cards4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .hero { padding: 56px 0 64px; }
  .hero__grid { grid-template-columns: .85fr 1.15fr; grid-template-areas: "video text" "video cta"; column-gap: 56px; row-gap: 28px; align-items: end; }
  .hero__text { grid-area: text; }
  .hero__video { grid-area: video; align-self: center; }
  .hero__cta { grid-area: cta; align-self: start; }
  .hero__cta .btn--lg { max-width: 380px; }
  .hero__cta .hint { text-align: left; }
  .hero__cta .chips { justify-content: flex-start; }
  .hero__video .ph { height: min(72vh, 640px); }
  .about { grid-template-columns: .9fr 1.1fr; gap: 64px; }
  .cards4 { grid-template-columns: repeat(4, 1fr); }
  .footer { padding-bottom: 48px; }
}

/* Accesibilidad: menos movimiento */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ribbon__track, .vplayer__icon { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* Más color: cada tarjeta de "Qué incluye" con su propio tono */
.card, .testi { transition: transform .25s ease, border-color .25s ease; }
.card:hover, .testi:hover { transform: translateY(-4px); border-color: rgba(249, 115, 22, .45); }

/* ---------- Pasos 1-2-3 (compacto) ---------- */
.section--tight { padding: 44px 0; }
.steps-title { text-align: center; font-size: clamp(1.4rem, 5vw, 2rem); margin-bottom: 18px; }
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; max-width: 720px; margin: 0 auto; position: relative; }
.steps3 li { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 6px; }
.steps3 span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; font: 800 1rem/1 var(--font-title); }
.steps3 p { margin: 0; font: 700 .9rem/1.25 var(--font-title); }
.steps3 small { display: block; font: 600 .66rem/1 var(--font-text); color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 4px; }

/* ---------- Gratis en YouTube + video 2 ---------- */
.free { display: grid; gap: 22px; align-items: center; background: linear-gradient(135deg, rgba(249, 115, 22, .08), rgba(249, 115, 22, .08)), var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 24px 18px; }
.free__text { text-align: center; display: grid; justify-items: center; gap: 4px; }
.free h2 { font-size: clamp(1.4rem, 5vw, 2rem); margin: 6px 0 4px; color: #FF3B3B; }
.free p { color: #D1D5DB; margin: 0 0 12px; }
.free__ico { color: #FF3B3B; line-height: 0; }
.free__ico .ico { width: 46px; height: 46px; }
.ph--video { aspect-ratio: 16 / 9; width: 100%; box-shadow: 0 0 0 2px rgba(249, 115, 22, .5), 0 20px 50px -20px rgba(249, 115, 22, .5); }
.ph--video::before { content: attr(data-ph); color: #E5E7EB; font-weight: 700; font-size: .85rem; }

/* ---------- Cierre llamativo ---------- */
.close { position: relative; padding: 0 0 90px; overflow: hidden;
  background:
    radial-gradient(70% 55% at 50% 65%, rgba(249, 115, 22, .26), transparent 70%); }
.ribbon--close { background: var(--ribbon); color: #fff; transform: none; margin: 0 0 56px; box-shadow: 0 12px 34px -12px rgba(225, 29, 46, .6); }
.ribbon--close .ribbon__track { animation-direction: normal; }
.close__card {
  position: relative; max-width: 760px; margin: 0 auto; text-align: center;
  padding: 36px 16px 28px; border-radius: 28px; background: rgba(14, 15, 18, .85);
  isolation: isolate;
}
/* Borde con degradé animado */
.close__card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; padding: 2px; border-radius: inherit;
  background: conic-gradient(from var(--ang, 0deg), var(--accent), rgba(249, 115, 22, .15), var(--accent-2), rgba(249, 115, 22, .15), var(--accent));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin 6s linear infinite;
}
.close__card::after { content: ""; position: absolute; inset: 10% 5%; z-index: -2; background: radial-gradient(closest-side, rgba(249, 115, 22, .35), transparent); filter: blur(30px); }
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes spin { to { --ang: 360deg; } }
.close__kicker { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--accent); color: #0B0B0B; font: 800 .75rem/1 var(--font-title); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.close__title { font-size: clamp(1.85rem, 9vw, 4.6rem); font-weight: 800; line-height: 1; letter-spacing: -.03em; margin-bottom: 14px; }
.close__sub { color: #D1D5DB; font-size: 1.08rem; margin-bottom: 18px; }
.close__sub strong { color: var(--text); }
.close__chips { margin-bottom: 24px; }
.close__chips .ico { color: var(--wa); }
.close .btn--lg { max-width: 440px; min-height: 64px; font-size: clamp(1rem, 4.4vw, 1.15rem); white-space: nowrap; padding: 0 1em; }
.btn--glow { animation: glow 2.2s ease-in-out infinite; }
@keyframes glow { 0%,100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55), 0 10px 30px -8px rgba(37, 211, 102, .6); } 50% { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0), 0 10px 40px -4px rgba(37, 211, 102, .8); } }
.close__online { display: flex; justify-content: center; align-items: center; gap: 8px; color: var(--muted); font-size: .85rem; margin: 14px 0 0; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 4px rgba(37, 211, 102, .2); flex: none; }

@media (min-width: 768px) {
  .steps3 { gap: 14px; }
  .steps3 li { flex-direction: row; justify-content: center; text-align: left; padding: 16px; gap: 12px; }
  .free { grid-template-columns: .9fr 1.1fr; padding: 36px; gap: 36px; }
  .free__text { text-align: left; justify-items: start; }
  .close { padding: 56px 0 110px; }
  .close__card { padding: 56px 40px 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .close__card::before, .btn--glow { animation: none; }
}

/* ---------- Video principal de YouTube ---------- */
.hero__video .ph--yt { aspect-ratio: 16 / 9; width: 100%; height: auto; max-width: 760px; }
.ph--yt .vplayer__overlay { background: rgba(0, 0, 0, .12); }
.ph--yt .vplayer__overlay strong, .ph--yt .vplayer__overlay small { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ph--yt .vplayer__icon { width: 68px; height: 68px; margin: 0; }
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: 1.1fr .9fr; }
  .hero__video .ph--yt { height: auto; }
}

/* Reproductor "cerrado" de YouTube */
.ph--yt { background: #000; }
.ph--yt > img { z-index: 1; transition: opacity .3s; }
/* El reproductor es más alto que el recuadro: así el título de YouTube queda fuera de la vista */
.yt__frame { position: absolute; left: 0; right: 0; top: -70px; bottom: -70px; z-index: 0; pointer-events: none; }
.yt__frame iframe { width: 100%; height: 100%; border: 0; }
.ph--yt .vplayer__overlay { z-index: 3; }
.yt__shield { position: absolute; inset: 0; z-index: 4; display: none; cursor: default; }
.yt.is-playing > img, .yt.is-paused > img, .yt.is-ended > img { opacity: 0; }
.yt.is-paused .vplayer__overlay { background: rgba(0, 0, 0, .35); }
.yt.is-paused .vplayer__icon { animation: none; }
.yt.is-playing .vplayer__overlay, .yt.is-ended .vplayer__overlay { display: none; }
.yt.is-playing .yt__shield { display: block; }
.yt.is-loading .vplayer__icon { animation: pulse .8s ease-in-out infinite; opacity: .8; }
.yt__end {
  position: absolute; inset: 0; z-index: 5; display: none;
  flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 16px;
  background: rgba(14, 15, 18, .94); text-align: center;
}
.yt.is-ended .yt__end { display: flex; }
.yt__end-title { font: 700 clamp(1rem, 4.5vw, 1.4rem)/1.2 var(--font-title); margin: 0; }
.yt__again { background: none; border: 0; color: var(--muted); font: 600 .85rem/1 var(--font-text); cursor: pointer; padding: 8px; }
.yt__again:hover { color: var(--text); }
@media (min-width: 960px) {
  .hero__title { text-align: left; }
  .hero__grid { align-items: center; }
}

/* Foto del "antes" en el hero */
.hero__foto { margin: 0 auto; width: 100%; max-width: 560px; }
.hero__foto img { display: block; width: 100%; height: auto; border-radius: 18px; border: 1px solid rgba(249, 115, 22, .35); box-shadow: 0 18px 50px -18px rgba(249, 115, 22, .35); }
@media (min-width: 960px) {
  .hero__grid { grid-template-areas: "video text" "video cta" "foto foto"; }
  .hero__foto { grid-area: foto; max-width: 760px; margin-top: 12px; }
}
.about__photo--antes { margin: 0 auto; max-width: 560px; }
.about__photo--antes img { display: block; width: 100%; height: auto; border-radius: 18px; border: 1px solid rgba(249, 115, 22, .35); box-shadow: 0 18px 50px -18px rgba(249, 115, 22, .35); }
/* Testimonios en video (vertical) */
.testi--video .ph { aspect-ratio: 9 / 16; }
.testi--video video, .testi--video .testi__poster { object-fit: cover; }
.testi__name { margin-bottom: 8px; }
/* Video de YouTube en la sección gratis */
.free__video.ph--yt { aspect-ratio: 16 / 9; width: 100%; height: auto; }
/* "El salto": dos fotos y la frase de la casa */
.step__gallery { display: grid; gap: 12px; }
.step__extra { margin-top: 10px; padding: 10px 14px; border-radius: 12px; background: rgba(249, 115, 22, .1); border: 1px solid rgba(249, 115, 22, .3); color: #fff !important; font-weight: 600; }
/* Fotos de "Mi camino": se ven completas, con su forma original */
.ph--auto { aspect-ratio: auto; }
.ph--auto > img { position: static; display: block; width: 100%; height: auto; }
.ph--auto:not(.is-loaded) { aspect-ratio: 4 / 3; }
.ph--auto.step__media img[height="1200"] { max-height: 520px; width: auto; max-width: 100%; margin: 0 auto; }
