/* Shared public layout. Loaded last; no app or authentication styles. */
.hv-public-layout { --hero-surface: #1a1440; }
.hv-public-layout.exam-v2 { --hero-surface: #101c35; }
.hv-public-layout.grammar-v2 { --hero-surface: #052621; }
.hv-public-layout.missions-v2 { --hero-surface: #2e100b; }
.hv-public-layout.bee-v2 { --hero-surface: #2a1906; }
.hv-public-layout .top {
  background: linear-gradient(180deg,rgba(16,12,37,.97),rgba(16,12,37,.9));
}
.hv-public-layout .top :is(.nav-link,.login,.lang) { color: #fff; }
.hv-public-layout .nav-inner { gap: 12px; }
.hv-public-layout .nav-link { padding-inline: 10px; }
.hv-public-layout :is(.btn,.chips a,.bh-lvnav a,.lvnav a,.link-light) {
  min-height: 44px;
}
.hv-public-layout .btn { white-space: normal; text-align: center; justify-content: center; line-height: 1.35; padding-block: 12px; }
.hv-public-layout .link-light { display: inline-flex; align-items: center; }
.hv-public-layout :is(h1,h2,h3) { text-wrap: balance; overflow-wrap: break-word; }
.hv-public-layout :is(.wrap,.bh-grid,.bih-grid,.footer-cols)>* { min-width: 0; }
.hv-public-layout :is(.footer,.hv-legal-layout) a { overflow-wrap: anywhere; }
.hv-public-layout :is(a,button,input,select,textarea,summary):focus-visible {
  outline: 3px solid #ffb86b; outline-offset: 4px;
}

/* Independent photo geometry: a tall demo card must not enlarge/crop the photo. */
html body.hv-photo-hero .hero { min-height: 0; background: var(--hero-surface); isolation: isolate; }
html body.hv-photo-hero .hero .wrap {
  min-height: 0; padding-block: 106px 88px; gap: 24px 48px;
  align-content: start; align-items: start;
}
html body.hv-photo-hero .hero h1 {
  font-size: clamp(34px,3.65vw,50px); line-height: 1.12; max-width: 20ch;
}
html body.hv-photo-hero .hero .lead {
  font-size: clamp(16px,1.35vw,18px); line-height: 1.6;
  color: #f0edf8; max-width: 52ch; margin-top: 18px;
}
html body.hv-photo-hero .hero .topics { margin-top: 20px; gap: 9px; }
html body.hv-photo-hero .hero .actions { margin-top: 20px; gap: 12px 20px; }
html body.hv-photo-hero .hero .facts { margin-top: 16px; color: #e0daed; }
html body.hv-photo-hero .hero .chips a { font-size: 14px; padding: 8px 14px; }
html body.hv-photo-hero .hero .bg {
  inset: 88px 0 auto auto; width: 52%; height: clamp(480px,48vw,640px);
  background-size: cover; background-position: 65% top;
  -webkit-mask-image: linear-gradient(90deg,transparent,#000 20%);
  mask-image: linear-gradient(90deg,transparent,#000 20%);
}
html body.hv-photo-hero .hero .bg>picture>img { object-fit: cover; object-position: 65% top; }
html body.hv-photo-hero .hero .bg::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg,var(--hero-surface),transparent 9%,transparent 65%,var(--hero-surface));
}
html body.hv-photo-hero .hero .shade { background: none; pointer-events: none; }
/* Soft section transition; controls remain above it and retain their hit areas. */
html body.hv-photo-hero .hero::after {
  content: ''; position: absolute; inset: auto 0 0; height: 48px; pointer-events: none;
  background: linear-gradient(180deg,transparent,var(--paper,#f5f3fc));
}
@media (min-width:901px) {
  html body.hv-photo-hero .hero .wrap,
  html body.hv-photo-hero .hero .wrap:has(>.sc,>.convo,>.dx,>.lt-start) {
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    grid-template-rows: auto auto; align-content: start;
  }
  html body.hv-photo-hero .hero .wrap>:first-child {
    grid-column: 1; grid-row: 1; align-self: start;
  }
  html body.hv-photo-hero .hero .wrap>:is(.sc,.convo,.dx,.lt-start,.task,.lvh-card) {
    grid-column: 1; grid-row: 2; align-self: start; justify-self: start;
    width: 100%; max-width: 500px; margin: 0;
  }
  /* Preserve approved Coach layout. Schools inherits Coach CSS, not its reversal. */
  html body.hv-photo-hero.coach-v2:not(.schools-v2):not(.login-v2) .hero .wrap>:first-child,
  html body.hv-photo-hero.coach-v2:not(.schools-v2):not(.login-v2) .hero .wrap>.convo { grid-column: 2; }
  html body.hv-photo-hero.coach-v2:not(.schools-v2):not(.login-v2) .hero .bg {
    left: 0; right: auto; width: 52%; background-position: center top;
    -webkit-mask-image: linear-gradient(270deg,transparent,#000 20%);
    mask-image: linear-gradient(270deg,transparent,#000 20%);
  }
  html body.hv-photo-hero.coach-v2:not(.schools-v2) .hero .bg>picture>img,
  html body.hv-photo-hero:is(.grammar-v2,.bee-v2) .hero .bg>picture>img { object-position: center top; }
}
@media (max-width:1100px) and (min-width:901px) {
  .hv-public-layout .nav-links { display: none; }
  .hv-public-layout .burger { display: flex; }
  html body.hv-photo-hero .hero .wrap { column-gap: 32px; }
  html body.hv-photo-hero .hero h1 { font-size: 38px; }
}
@media (max-width:900px) {
  html body.hv-photo-hero .hero .bg {
    inset: 76px 0 auto; width: 100%; height: clamp(300px,50vw,420px);
    background-position: center; background-size: contain; background-repeat: no-repeat;
    -webkit-mask-image: none; mask-image: none;
  }
  html body.hv-photo-hero .hero .bg>picture>img { object-fit: contain; object-position: center; }
  html body.hv-photo-hero .hero .bg::after {
    background: linear-gradient(180deg,transparent 65%,var(--hero-surface));
  }
  html body.hv-photo-hero .hero .wrap {
    display: flex; flex-direction: column; align-items: center;
    padding-top: calc(76px + clamp(300px,50vw,420px)); padding-bottom: 80px;
    text-align: center;
  }
  html body.hv-photo-hero .hero .wrap>:first-child { width: 100%; max-width: 600px; }
  html body.hv-photo-hero .hero .wrap>:is(.sc,.convo,.dx,.lt-start,.task,.lvh-card) {
    width: 100%; max-width: 520px; align-self: center; margin: 0;
  }
  html body.hv-photo-hero .hero h1 { font-size: clamp(30px,5.5vw,42px); margin-inline: auto; }
  html body.hv-photo-hero .hero .lead { margin-inline: auto; }
  html body.hv-photo-hero .hero :is(.actions,.chips,.facts,.lvnav) { justify-content: center; }
}

/* Editorial/level pages already have a gradient inside the hero. Soften its
   abrupt bottom edge, without adding gradients to reading text or tables. */
.hv-public-layout :is(.bh,.bih) { padding-bottom: 40px; }
.hv-public-layout :is(.bh,.bih)::after {
  content: ''; position: absolute; inset: auto 0 0; height: 40px; pointer-events: none;
  background: linear-gradient(180deg,transparent,var(--paper,#f5f3fc));
}
.hv-public-layout .bh-grid { padding-block: 110px 40px; gap: 36px; }
.hv-public-layout .bh h1 { font-size: clamp(30px,3.5vw,46px); line-height: 1.16; }
.hv-public-layout .bh-fig img { height: auto; aspect-ratio: auto; object-fit: contain; }
.hv-public-layout .bh-fig figcaption { color: #ddd7ef; }
.hv-public-layout :is(.bh-lede,.bih-lede) a { color: #e1d9ff; text-decoration: underline; text-underline-offset: 3px; }
.hv-public-layout :is(.bh-lede,.bih-lede) a:hover { color: #fff; }
.hv-public-layout :is(.qfig,.people,.ac) img {
  height: auto; aspect-ratio: auto; object-fit: contain;
}
.hv-public-layout :is(.cc .ph,.bc-img) img { object-position: center top; }
.hv-public-layout .cc:hover .ph img,
.hv-public-layout .bc:hover .bc-img img { transform: none; }
.hv-public-layout.login-v2 .hero::after {
  content: ''; position: absolute; inset: auto 0 0; height: 40px; pointer-events: none;
  background: linear-gradient(180deg,transparent,var(--paper,#f5f3fc));
}
.hv-public-layout .hv-legal-hero {
  padding-bottom: 64px;
  background: linear-gradient(180deg,transparent calc(100% - 40px),#f7f6fc),radial-gradient(ellipse at 80% 10%,#4c3279,transparent 70%),#19133d;
}
@media (max-width:600px) {
  .hv-public-layout .nav-inner { gap: 8px; }
  .hv-public-layout .brand { font-size: 18px; }
  .hv-public-layout .hero .actions .btn { width: 100%; }
  .hv-public-layout .bh-grid { padding-block: 100px 24px; gap: 24px; }
  .hv-public-layout .bh h1 { font-size: 30px; }
  .hv-public-layout :is(.bh-lede,.bih-lede) { font-size: 17px; }
}
@media (prefers-reduced-motion:reduce) {
  .hv-public-layout { scroll-behavior: auto; }
  .hv-public-layout .hero :is(.msg,.voice,.eyb) { animation: none; opacity: 1; transform: none; }
}

/* ===== Portadas sin recorte en todos los tamaños (08/11) =====
   La caja de la foto toma la proporción real de la imagen (vertical 2:3,
   horizontal 3:2, colegios 16:10), así object-fit:cover nunca recorta. */
html body.hv-photo-hero { --hvar: 3/2; --hvarv: 1.5; --hvw: min(52vw, 980px); }
html body.hv-photo-hero:is(.coach-v2,.missions-v2,.grammar-v2,.bee-v2):not(.schools-v2) {
  --hvar: 2/3; --hvarv: .6667; --hvw: min(40vw, 600px);
}
html body.hv-photo-hero.schools-v2 { --hvar: 2/3; --hvarv: .6667; --hvw: min(40vw, 600px); }
html body.hv-photo-hero .hero { --hvh: calc(var(--hvw) / var(--hvarv)); }
@media (min-width:901px) {
  html body.hv-photo-hero .hero { min-height: calc(88px + var(--hvh) + 40px); }
  html body.hv-photo-hero .hero .bg {
    width: var(--hvw); height: auto; aspect-ratio: var(--hvar);
  }
  html body.hv-photo-hero .hero .bg>picture>img { object-fit: cover; object-position: center; }
  html body.hv-photo-hero .hero .bg { background-size: cover; background-position: center; }
  html body.hv-photo-hero .hero .bg::after {
    background: linear-gradient(180deg,var(--hero-surface),transparent 7%,transparent 86%,var(--hero-surface));
  }
  html body.hv-photo-hero.coach-v2:not(.schools-v2):not(.login-v2) .hero .bg { width: var(--hvw); }
  /* La columna del texto ocupa todo lo que deja libre la foto: el botón y su enlace caben en una fila */
  html body.hv-photo-hero .hero .wrap,
  html body.hv-photo-hero .hero .wrap:has(>.sc,>.convo,>.dx,>.lt-start) {
    grid-template-columns: minmax(0,1fr) calc(var(--hvw) * .82);
  }
  html body.hv-photo-hero.coach-v2:not(.schools-v2):not(.login-v2) .hero .wrap,
  html body.hv-photo-hero.coach-v2:not(.schools-v2):not(.login-v2) .hero .wrap:has(>.convo) {
    grid-template-columns: calc(var(--hvw) * .82) minmax(0,1fr);
  }
}
/* Botones siempre en una línea */
.hv-public-layout .btn { white-space: nowrap; }
@media (max-width:360px) { .hv-public-layout .btn { font-size: 15px; padding-inline: 16px; } }

/* ===== Tarjetas de coaches (Inicio): foto vertical completa (08/11) ===== */
.hv-public-layout .cc .ph:has(img[height="900"],img[height="1536"]) { aspect-ratio: 2/3; }
.hv-public-layout .cc .ph img { object-position: center; }

/* ===== Otras fotos sin recorte (08/11) ===== */
/* Inicio · «Por qué HelloVozi»: la foto decorativa quedaba detrás de las tarjetas y de las caras */
.hv-public-layout .why .wbg { display: none; }
/* Missions · recorrido: cada foto en su proporción */
.hv-public-layout .mh img { aspect-ratio: auto; height: auto; object-fit: contain; }
.hv-public-layout .stage[data-dev="desk"] .mh img { height: auto; align-self: center; }
/* Niveles · recorrido y tarjetas: marco 3:2 como las fotos */
.hv-public-layout .tour .lvstage .lvframe { aspect-ratio: 3/2; }
.hv-public-layout .tour .lvstage .view img { object-fit: contain; background: #120E30; transform: none; }
.hv-public-layout .lvphoto { aspect-ratio: 3/2; }
.hv-public-layout .lvphoto img { object-fit: contain; background: #120E30; }
@media (min-width:1001px) {
  .hv-public-layout .bento .cc:nth-child(4) { grid-column: 2 / span 2; }
  .hv-public-layout .bento .cc:nth-child(5) { grid-column: 4 / span 2; }
}
@media (max-width:1000px) and (min-width:641px) {
  .hv-public-layout .bento .cc:nth-child(5) { grid-column: 1 / -1; justify-self: center; width: calc(50% - 10px); }
}
/* Tablet vertical (641–900): las tarjetas apiladas ponen la foto vertical a la izquierda para caber en pantalla */
@media (max-width:900px) and (min-width:641px) {
  .hv-public-layout .bento .cc { flex-direction: row; align-items: stretch; }
  .hv-public-layout .bento .cc .ph { width: 38%; flex: none; aspect-ratio: 2/3; align-self: center; height: auto; }
  .hv-public-layout .bento .cc > :not(.ph) { flex: 1; min-width: 0; align-self: center; }
  .hv-public-layout .aud .ac { display: flex; flex-direction: row; align-items: center; }
  .hv-public-layout .aud .ac > img { width: 38%; flex: none; height: auto; aspect-ratio: 2/3; object-fit: cover; }
  .hv-public-layout .aud .ac > .bx { flex: 1; min-width: 0; }
}

/* ===== Opción A aprobada (08/11): la foto se funde con el fondo, sin marco,
   y la persona mira hacia el texto. ===== */
/* Portada en celular y tablet: foto completa arriba, el texto entra sobre su parte baja */
@media (max-width:900px) {
  html body.hv-photo-hero { --hvwA: 100vw; }
  html body.hv-photo-hero:is(.coach-v2,.missions-v2,.grammar-v2,.bee-v2) { --hvwA: min(100vw, 520px); }
  html body.hv-photo-hero .hero .bg {
    inset: 64px auto auto calc(50% - var(--hvwA) / 2); width: var(--hvwA); height: auto; aspect-ratio: var(--hvar);
    background-size: cover; background-position: center;
    -webkit-mask-image: linear-gradient(180deg,#000 55%,transparent), linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(180deg,#000 55%,transparent), linear-gradient(90deg,transparent,#000 12%,#000 88%,transparent);
    mask-composite: intersect;
  }
  html body.hv-photo-hero .hero .bg>picture>img { object-fit: cover; object-position: center; }
  html body.hv-photo-hero .hero .bg::after { display: none; }
  html body.hv-photo-hero .hero .wrap { padding-top: calc(64px + var(--hvwA) / var(--hvarv) * .74); position: relative; }
}
/* Portada en escritorio: Missions y Grammar miran a la derecha → foto a la izquierda, texto a la derecha */
@media (min-width:901px) {
  html body.hv-photo-hero:is(.missions-v2,.grammar-v2) .hero .bg {
    left: 0; right: auto;
    -webkit-mask-image: linear-gradient(270deg,transparent,#000 20%); mask-image: linear-gradient(270deg,transparent,#000 20%);
  }
  html body.hv-photo-hero:is(.missions-v2,.grammar-v2) .hero .wrap,
  html body.hv-photo-hero:is(.missions-v2,.grammar-v2) .hero .wrap:has(>.sc,>.convo,>.dx,>.lt-start) {
    grid-template-columns: calc(var(--hvw) * .82) minmax(0,1fr);
  }
  html body.hv-photo-hero:is(.missions-v2,.grammar-v2) .hero .wrap>:first-child,
  html body.hv-photo-hero:is(.missions-v2,.grammar-v2) .hero .wrap>:is(.sc,.convo,.dx,.lt-start,.task) { grid-column: 2; }
}
/* Cierre */
.hv-public-layout .close.product-final {
  display: grid; grid-template-columns: minmax(0,var(--cw,50%)) minmax(0,1fr);
  align-items: center; padding: 0; column-gap: 0;
}
.hv-public-layout .close.product-final:has(.cbg[height="1536"],.cbg[height="1200"]) { --cw: 40%; }
.hv-public-layout .close.product-final .cbg {
  position: relative; inset: auto; z-index: 0; width: 100%; height: auto; align-self: start;
  object-fit: cover; border-radius: 0; box-shadow: none; filter: none; transform: none !important;
  -webkit-mask-image: linear-gradient(90deg,#000 55%,transparent); mask-image: linear-gradient(90deg,#000 55%,transparent);
}
.hv-public-layout .close.product-final .wrap { text-align: left; margin: 0; padding: 72px 40px 72px 8px; max-width: 620px; }
.hv-public-layout .close.product-final h2 { margin-inline: 0; max-width: 16ch; }
.hv-public-layout .close.product-final p { margin-inline: 0; }
.hv-public-layout .close.product-final :is(.actions,.csteps) { justify-content: flex-start; }
/* La persona mira a la izquierda → foto a la derecha, texto a la izquierda */
body:is(.home-v2,.bee-v2,.missions-v2,.grammar-v2,.test-v2,.levels-v2) .close.product-final { grid-template-columns: minmax(0,1fr) minmax(0,var(--cw,50%)); }
body:is(.home-v2,.bee-v2,.missions-v2,.grammar-v2,.test-v2,.levels-v2) .close.product-final .cbg {
  order: 2; -webkit-mask-image: linear-gradient(270deg,#000 55%,transparent); mask-image: linear-gradient(270deg,#000 55%,transparent);
}
body:is(.home-v2,.bee-v2,.missions-v2,.grammar-v2,.test-v2,.levels-v2) .close.product-final .wrap { order: 1; justify-self: end; padding: 72px 8px 72px 40px; }
/* Foto panorámica (colegios): arriba a todo el ancho, el texto centrado entra sobre su parte baja */
.hv-public-layout .close.product-final:has(.cbg[height="533"]) { grid-template-columns: minmax(0,1fr); padding-bottom: 72px; }
.hv-public-layout .close.product-final:has(.cbg[height="533"]) .cbg { -webkit-mask-image: linear-gradient(180deg,#000 50%,transparent); mask-image: linear-gradient(180deg,#000 50%,transparent); }
.hv-public-layout .close.product-final:has(.cbg[height="533"]) .wrap { text-align: center; margin: -120px auto 0; padding: 0 20px; position: relative; }
.hv-public-layout .close.product-final:has(.cbg[height="533"]) :is(h2,p) { margin-inline: auto; }
.hv-public-layout .close.product-final:has(.cbg[height="533"]) :is(.actions,.csteps) { justify-content: center; }
@media (max-width:900px) {
  .hv-public-layout .close.product-final,
  body:is(.home-v2,.bee-v2,.missions-v2,.grammar-v2,.test-v2,.levels-v2) .close.product-final { grid-template-columns: minmax(0,1fr); padding: 0 0 72px; }
  .hv-public-layout .close.product-final .cbg,
  body:is(.home-v2,.bee-v2,.missions-v2,.grammar-v2,.test-v2,.levels-v2) .close.product-final .cbg {
    order: 0; justify-self: center; max-width: 100%;
    -webkit-mask-image: linear-gradient(180deg,#000 55%,transparent); mask-image: linear-gradient(180deg,#000 55%,transparent);
  }
  .hv-public-layout .close.product-final:has(.cbg[height="1536"],.cbg[height="1200"]) .cbg { max-width: min(100%,520px); }
  .hv-public-layout .close.product-final .wrap,
  body:is(.home-v2,.bee-v2,.missions-v2,.grammar-v2,.test-v2,.levels-v2) .close.product-final .wrap {
    order: 1; justify-self: center; text-align: center; margin: -90px auto 0; padding: 0 20px; position: relative;
  }
  .hv-public-layout .close.product-final :is(h2,p) { margin-inline: auto; }
  .hv-public-layout .close.product-final :is(.actions,.csteps) { justify-content: center; }
}
.hv-public-layout .close.product-final .csteps { padding-left: 0; margin-left: 0; }
/* Colegios: la foto es clara; el texto no se monta sobre ella */
.hv-public-layout .close.product-final:has(.cbg[height="533"]) .cbg {
  -webkit-mask-image: linear-gradient(180deg,#000 40%,transparent 92%); mask-image: linear-gradient(180deg,#000 40%,transparent 92%);
}
.hv-public-layout .close.product-final:has(.cbg[height="533"]) .wrap,
.hv-public-layout .close.product-final:has(.cbg[height="533"]) .wrap { margin-top: 8px !important; }
/* qfig: foto vertical completa, sin marco, fundida con el fondo */
body.home-v2 .qfig{box-shadow:none !important;border-radius:0 !important;background:none !important;max-width:420px;margin:0 auto}
body.home-v2 .qfig img{aspect-ratio:2/3 !important;object-fit:cover !important;background:none !important;border-radius:0 !important;box-shadow:none !important;-webkit-mask:linear-gradient(0deg,transparent 0,#000 22%),linear-gradient(90deg,transparent 0,#000 12%,#000 88%,transparent 100%);-webkit-mask-composite:source-in;mask:linear-gradient(0deg,transparent 0,#000 22%) intersect,linear-gradient(90deg,transparent 0,#000 12%,#000 88%,transparent 100%)}
/* qfig: foto de borde a borde en celular/tablet, fundida por los cuatro lados */
@media (max-width:900px){
 body.home-v2 .qfig{width:100vw !important;max-width:100vw !important;margin-left:calc(50% - 50vw) !important;margin-right:calc(50% - 50vw) !important;overflow:visible !important}
 body.home-v2 .qfig img{width:100% !important;max-width:none !important}
}
body.home-v2 .qfig img{-webkit-mask:linear-gradient(180deg,transparent 0,#000 14%,#000 72%,transparent 100%),linear-gradient(90deg,transparent 0,#000 16%,#000 84%,transparent 100%) !important;-webkit-mask-composite:source-in !important;mask:linear-gradient(180deg,transparent 0,#000 14%,#000 72%,transparent 100%) intersect,linear-gradient(90deg,transparent 0,#000 16%,#000 84%,transparent 100%) !important}
@media (max-width:900px){body.home-v2 section.read{overflow-x:clip}}
@media (min-width:641px) and (max-width:900px){body.home-v2 .qfig{width:min(100vw,600px) !important;margin-left:auto !important;margin-right:auto !important}}
/* Tour: el celular usa todo el alto disponible de la pantalla (antes se achicaba de más) */
@media (min-width:901px) and (max-height:900px){html body .tour .stage:not([data-dev="desk"]) .phone{zoom:1}}
@media (min-width:901px) and (max-height:700px){html body .tour .stage:not([data-dev="desk"]) .phone{zoom:.92}}
@media (min-width:901px) and (max-height:650px){html body .tour .stage:not([data-dev="desk"]) .phone{zoom:.84}}
@media (min-width:901px) and (max-height:600px){html body .tour .stage:not([data-dev="desk"]) .phone{zoom:.76}}
@media (min-width:901px) and (max-height:540px){html body .tour .stage:not([data-dev="desk"]) .phone{zoom:.68}}

/* ===== Portadas 2026-11-08: foto horizontal como fondo completo (todas las landings) ===== */
html body.hv-photo-hero:is(.coach-v2,.missions-v2,.grammar-v2,.bee-v2,.schools-v2){--hvar:3/2 !important;--hvarv:1.5 !important}
body.schools-v2 .hero .bg{background-image:url(/assets/web/hv-colegios-hero.webp) !important;background-size:cover !important;background-position:center !important}
@media (max-width:640px){body.schools-v2 .hero .bg{background-image:url(/assets/web/hv-colegios-hero-sm.webp) !important}}
@media (max-width:900px){html body.hv-photo-hero{--hvwA:100vw !important}}
@media (min-width:901px){
 html body.hv-photo-hero .hero{position:relative !important;min-height:calc(100vw/1.5) !important;height:auto !important;padding:0 !important;overflow:hidden !important;display:flex !important;align-items:center !important;background:#120E30}
 html body.hv-photo-hero .hero .bg{position:absolute !important;inset:0 !important;width:100% !important;height:100% !important;max-width:none !important;aspect-ratio:auto !important;margin:0 !important;transform:none !important;-webkit-mask:none !important;mask:none !important;border-radius:0 !important;grid-column:auto !important}
 html body.hv-photo-hero .hero .bg :is(picture,img){display:block;width:100% !important;height:100% !important;object-fit:cover !important;object-position:center !important;border-radius:0 !important;-webkit-mask:none !important;mask:none !important}
 html body.hv-photo-hero .hero::after{display:none !important}
 html body.hv-photo-hero .hero .shade{display:block !important;position:absolute !important;inset:0 !important;z-index:1 !important;opacity:1 !important;background:linear-gradient(90deg,rgba(18,14,48,.95) 0%,rgba(18,14,48,.85) 30%,rgba(18,14,48,.35) 50%,rgba(18,14,48,0) 62%),linear-gradient(0deg,#120E30 0%,rgba(18,14,48,0) 18%),linear-gradient(180deg,rgba(18,14,48,.6) 0%,rgba(18,14,48,0) 16%) !important}
 html body.hv-photo-hero:is(.coach-v2,.missions-v2,.grammar-v2):not(.schools-v2) .hero .shade{background:linear-gradient(270deg,rgba(18,14,48,.95) 0%,rgba(18,14,48,.85) 30%,rgba(18,14,48,.35) 50%,rgba(18,14,48,0) 62%),linear-gradient(0deg,#120E30 0%,rgba(18,14,48,0) 18%),linear-gradient(180deg,rgba(18,14,48,.6) 0%,rgba(18,14,48,0) 16%) !important}
 html body.hv-photo-hero .hero .wrap{position:relative !important;z-index:2 !important;display:block !important;width:100% !important;max-width:1240px !important;margin:0 auto !important;padding:110px 40px 90px !important;grid-template-columns:none !important}
 html body.hv-photo-hero .hero .wrap>div:first-child{max-width:min(46vw,600px) !important;margin:0 !important;grid-column:auto !important;text-align:left !important}
 html body.hv-photo-hero:is(.coach-v2,.missions-v2,.grammar-v2):not(.schools-v2) .hero .wrap>div:first-child{margin-left:auto !important}
 html body.hv-photo-hero .hero .wrap>:not(:first-child){display:none !important}
}
/* 2026-11-12 · Cierre: texto centrado en su columna, separado de la foto (todas las landings) */
@media (min-width:901px){
  .hv-public-layout .close.product-final .wrap,
  body:is(.home-v2,.bee-v2,.missions-v2,.grammar-v2,.test-v2,.levels-v2) .close.product-final .wrap {
    justify-self: center; text-align: center; margin: 0 auto; padding: 72px 48px; max-width: 640px;
  }
  .hv-public-layout .close.product-final :is(h2,p) { margin-inline: auto; }
  .hv-public-layout .close.product-final :is(.actions,.csteps) { justify-content: center; }
}
/* Tablet y celular: la foto completa se funde con el fondo por los lados y abajo, sin bordes rectos */
@media (max-width:900px){
  .hv-public-layout .close.product-final:not(:has(.cbg[height="533"])) .cbg,
  body:is(.home-v2,.bee-v2,.missions-v2,.grammar-v2,.test-v2,.levels-v2) .close.product-final .cbg {
    -webkit-mask-image: linear-gradient(180deg,#000 55%,transparent), linear-gradient(90deg,transparent,#000 14%,#000 86%,transparent);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(180deg,#000 55%,transparent), linear-gradient(90deg,transparent,#000 14%,#000 86%,transparent);
    mask-composite: intersect;
  }
}
/* Computadora: la foto también se funde por abajo y arriba, sin borde recto */
@media (min-width:901px){
  .hv-public-layout .close.product-final:not(:has(.cbg[height="533"])) .cbg {
    -webkit-mask-image: linear-gradient(90deg,#000 55%,transparent), linear-gradient(180deg,transparent,#000 8%,#000 80%,transparent);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(90deg,#000 55%,transparent), linear-gradient(180deg,transparent,#000 8%,#000 80%,transparent);
    mask-composite: intersect;
  }
  body:is(.home-v2,.bee-v2,.missions-v2,.grammar-v2,.test-v2,.levels-v2) .close.product-final:not(:has(.cbg[height="533"])) .cbg {
    -webkit-mask-image: linear-gradient(270deg,#000 55%,transparent), linear-gradient(180deg,transparent,#000 8%,#000 80%,transparent);
    mask-image: linear-gradient(270deg,#000 55%,transparent), linear-gradient(180deg,transparent,#000 8%,#000 80%,transparent);
  }
}
/* 2026-11-12 · Computadora: tarjetas de coaches con foto 4:5 para que la tarjeta completa entre en la pantalla (caras completas) */
@media (min-width:901px) {
  .hv-public-layout .bento .cc .ph:has(img[height="900"]) { aspect-ratio: 4/5; }
  .hv-public-layout .bento .cc .ph img[src*="hv-coach-sm"] { object-position: 50% 35% !important; }
}
