/* Componentes de la actualización de octubre 2026. */
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:where(a, button, [tabindex]):focus-visible { outline: 3px solid var(--amarillo); outline-offset: 5px; }
.planos :where(button, [tabindex]):focus-visible,
.precal-cta a:focus-visible { outline-color: var(--azul-victoria); }
#apartamentos, #beneficios, #ubicacion, #contacto, #avances { scroll-margin-top: 110px; }
.media-gallery { min-width: 0; position: relative; }
.media-gallery__stage { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 1092 / 942; }
.media-gallery__stage figure { width: 100%; height: 100%; }
.media-gallery__stage img { width: 100%; height: 100%; object-fit: cover; }
.media-gallery__disclaimer { position: absolute; bottom: 10px; right: 12px; color: white; background: rgba(0,0,0,.65); padding: 4px 8px; border-radius: 4px; font-size: 11px; }
.media-gallery__controls { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 12px; }
.media-gallery__controls .carousel-arrow { width: 44px; height: 44px; }
.media-gallery__dots { display: flex; align-items: center; }
.media-gallery__dots button { display: grid; place-items: center; width: 44px; height: 44px; }
.media-gallery__dots button::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--azul); opacity: .45; }
.media-gallery__dots button.is-active::after { background: var(--azul); opacity: 1; box-shadow: 0 0 0 3px var(--amarillo); }
.avances { background: var(--azul); color: var(--blanco); padding: 0 var(--side-pad) 80px; }
.avances__wrap { max-width: var(--content-width); margin: 0 auto; border-top: 1px solid rgba(255,255,255,.6); padding-top: 80px; }
.avances .section-title { display: inline-block; }
.avances .section-title::after { background: var(--amarillo); width: min(385px, 100%); }
.avances__media { display: grid; grid-template-columns: minmax(0, 1.42fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.avances__video { width: 100%; aspect-ratio: 688 / 482; object-fit: cover; border-radius: var(--radius); background: var(--azul-victoria); }
.avances-gallery .media-gallery__stage { aspect-ratio: 488 / 482; }
.avances-gallery .carousel-arrow { background: var(--blanco); color: var(--azul); }
.avances-gallery .media-gallery__dots button::after { background: var(--blanco); }
.avances__progress { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 32px; padding: 44px; border-radius: var(--radius); background: var(--blanco); color: var(--azul); }
.tower-progress:first-child { padding-right: 45px; border-right: 1px solid var(--azul); }
.tower-progress:last-child { padding-left: 65px; }
.tower-progress h3 { font-size: 24px; text-transform: uppercase; display: inline-block; border-bottom: 4px solid var(--amarillo); margin-bottom: 28px; }
.tower-progress__metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.tower-progress__value { display: block; font-size: clamp(44px, 5.8vw, 80px); line-height: 1.1; }
.tower-progress progress { display: block; appearance: none; width: 100%; height: 6px; border: 0; border-radius: 4px; overflow: hidden; background: #999da0; margin: 6px 0 14px; }
.tower-progress progress::-webkit-progress-bar { background: #999da0; }
.tower-progress progress::-webkit-progress-value { background: var(--amarillo); }
.tower-progress progress::-moz-progress-bar { background: var(--amarillo); }
.tower-progress h4 { font-size: 16px; font-weight: 500; }
.tower-progress p { font-size: 16px; color: var(--gris); }
.precal-cta { padding: 80px var(--side-pad) 0; }
.precal-cta__wrap { max-width: var(--content-width); margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; align-items: center; }
.precal-cta__image { width: 100%; height: auto; }
.precal-cta .section-title { font-size: clamp(30px, 3.6vw, 50px); }
.precal-cta .section-title::after { width: min(275px, 100%); }
.precal-cta__content p { font-size: clamp(18px, 2vw, 25px); margin-bottom: 24px; }
.precal-cta__content .btn { font-size: 16px; font-weight: 500; padding: 16px 22px; border-radius: 10px; }
@media (max-width: 980px) {
  .avances__wrap { padding-top: 50px; }
  .avances__progress { padding: 30px; }
  .tower-progress:first-child { padding-right: 25px; }
  .tower-progress:last-child { padding-left: 25px; }
  .tower-progress__metrics { gap: 20px; }
}
@media (max-width: 680px) {
  .hero { min-height: 650px; }
  .hero__content h1 br { display: none; }
  .hero__playback { left: var(--side-pad); bottom: 18px; }
  .avances { padding-bottom: 50px; }
  .avances__media, .avances__progress, .precal-cta__wrap { grid-template-columns: minmax(0, 1fr); }
  .avances__progress { margin-top: 24px; padding: 26px; gap: 28px; }
  .tower-progress:first-child { padding: 0 0 28px; border-right: 0; border-bottom: 1px solid var(--azul); }
  .tower-progress:last-child { padding: 0; }
  .tower-progress h3 { margin-bottom: 20px; }
  .tower-progress__value { font-size: 52px; }
  .precal-cta { padding-top: 50px; }
  .precal-cta__wrap { gap: 28px; }
  .media-gallery__controls { gap: 4px; }
  .planos__whatsapp { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .plano-tab, .navbar__links, .media-gallery * { transition: none; }
}
