/* 742 Hollywood Blvd - estilos de la pagina con recorridos por scroll.
   Sistema de la casa (mismo del 5940): crema, tinta y oro; DM Serif Display para titulos y Manrope para texto. */
:root {
  --crema: #f7f3ec;
  --crema-2: #efe8dc;
  --tinta: #15161a;
  --tinta-2: #24252b;
  --oro: #c9a66b;
  --oro-oscuro: #a7864e;
  --texto: #2a2a2e;
  --tenue: #77716a;
  --linea: #e1d9cb;
  --fuente-titulo: "DM Serif Display", Georgia, "Times New Roman", serif;
  --fuente-texto: Manrope, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --margen: clamp(16px, 5vw, 72px);
  --ancho: 1180px;
  --radio: 14px;
  --plano-piso: #fbf8f2;
  --plano-activo: #efdcb6;
  --plano-muro: #1b1c20;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--crema); color: var(--texto); font: 400 16px/1.6 var(--fuente-texto); }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2 { font-family: var(--fuente-titulo); font-weight: 400; letter-spacing: -0.01em; margin: 0; }
h2 { font-size: clamp(30px, 4.4vw, 54px); line-height: 1.08; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }
.sobretitulo { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--oro-oscuro); margin-bottom: 14px; }
.nota { font-size: 13px; color: var(--tenue); }

/* ------------------------------------------------------------------ botones y navegacion */
.boton { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 26px;
  border-radius: 999px; background: var(--oro); color: var(--tinta); font-weight: 700; font-size: 15px; text-decoration: none;
  border: 0; cursor: pointer; transition: background .2s, transform .2s; }
.boton:hover { background: #d8b980; }
.boton:active { transform: scale(.98); }
.boton-claro { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.boton-claro:hover { background: rgba(0,0,0,.05); }
.boton-chico { min-height: 38px; padding: 0 18px; font-size: 14px; }
.boton.inactivo { opacity: .45; pointer-events: none; }
.enlace { font-weight: 700; color: var(--oro-oscuro); text-underline-offset: 4px; }

.nav { position: fixed; inset: 0 0 auto 0; z-index: 20; display: flex; align-items: center; gap: 24px;
  padding: 14px var(--margen); padding-top: max(14px, env(safe-area-inset-top)); color: #fff;
  transition: background .3s, color .3s, box-shadow .3s; }
.nav.solida { background: rgba(21,22,26,.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.marca { font-family: var(--fuente-titulo); font-size: 21px; text-decoration: none; white-space: nowrap; }
.enlaces { display: flex; gap: 22px; margin-left: auto; }
.enlaces a { text-decoration: none; font-size: 14px; font-weight: 600; opacity: .85; }
.enlaces a:hover { opacity: 1; }
.acciones { display: flex; align-items: center; gap: 10px; }
.idioma { background: transparent; color: inherit; border: 1.5px solid rgba(255,255,255,.55); border-radius: 999px;
  min-height: 38px; min-width: 46px; font: 700 13px var(--fuente-texto); cursor: pointer; }

/* ------------------------------------------------------------------ portada */
.portada { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; color: #fff; background: var(--tinta); }
.portada picture, .portada img { position: absolute; inset: 0; width: 100%; height: 100%; }
.portada img { object-fit: cover; object-position: 50% 55%; }
.velo { position: absolute; inset: 0; background:
  linear-gradient(to bottom, rgba(10,10,12,.55) 0%, rgba(10,10,12,.05) 32%, rgba(10,10,12,.15) 55%, rgba(10,10,12,.78) 100%); }
.portada-texto { position: absolute; left: var(--margen); right: var(--margen); bottom: clamp(72px, 13vh, 140px); max-width: 760px; }
.portada .sobretitulo { color: #f1dcb2; }
.portada h1 { font-size: clamp(46px, 8.4vw, 112px); line-height: .98; margin-bottom: 18px; }
.bajada { font-size: clamp(17px, 1.9vw, 21px); max-width: 560px; color: #ece7de; margin-bottom: 28px; }
.indicador { position: absolute; right: var(--margen); bottom: 32px; display: flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: #ddd6ca; }
.indicador i { width: 1.5px; height: 42px; background: linear-gradient(#fff, transparent); animation: baja 1.8s ease-in-out infinite; }
@keyframes baja { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.ancla { height: 0; }

/* ------------------------------------------------------------------ recorridos por scroll */
.scrub { position: relative; background: var(--tinta); }
.scrub-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.scrub canvas { width: 100%; height: 100%; display: block; background: var(--tinta); }
.vineta { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to bottom, rgba(10,10,12,.5), transparent 24%, transparent 62%, rgba(10,10,12,.7)); }
.texto { position: absolute; left: var(--margen); bottom: clamp(56px, 11vh, 120px); max-width: min(620px, calc(100% - 2 * var(--margen)));
  color: #fff; opacity: 0; will-change: opacity, transform; text-shadow: 0 1px 18px rgba(0,0,0,.35); }
.texto h2 { font-size: clamp(30px, 4.6vw, 60px); margin-bottom: 8px; }
.texto p { font-size: clamp(16px, 1.6vw, 19px); color: #ece7de; margin: 0; }
.texto .num { font: 700 12px var(--fuente-texto); letter-spacing: .2em; color: var(--oro); margin-bottom: 10px; }
.progreso { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.12); }
.progreso i { display: block; height: 100%; background: var(--oro); transform-origin: left; transform: scaleX(0); }
.mini { position: absolute; right: var(--margen); bottom: clamp(56px, 11vh, 120px); width: clamp(120px, 15vw, 190px);
  aspect-ratio: 60 / 63; background: rgba(247,243,236,.92); border-radius: 10px; padding: 6px;
  box-shadow: 0 8px 30px rgba(0,0,0,.25); opacity: 0; transition: opacity .4s; }
.mini.visible { opacity: 1; }
.mini svg { width: 100%; height: 100%; display: block; }
.mini .lbl, .mini .area, .mini #norte, .mini #escala, .mini .giro { display: none; }

/* ------------------------------------------------------------------ cifras y bloques */
.cifras { background: var(--crema); display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px;
  padding: clamp(48px, 8vw, 96px) var(--margen); max-width: calc(var(--ancho) + 2 * var(--margen)); margin: 0 auto; }
.cifra { text-align: center; padding: 8px 4px; border-left: 1px solid var(--linea); }
.cifra:first-child { border-left: 0; }
.cifra strong { display: block; font: 400 clamp(34px, 4.6vw, 58px)/1 var(--fuente-titulo); color: var(--tinta); margin-bottom: 8px; }
.cifra span { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--tenue); }
.nota-cifras { grid-column: 1 / -1; text-align: center; font-size: 12px; color: var(--tenue); margin: 18px 0 0; }
.bloque, .ubicacion, .contacto { padding: clamp(72px, 11vw, 140px) var(--margen); }
.bloque-interior { max-width: 760px; margin: 0 auto; }
.bloque-interior h2 { margin-bottom: 22px; }
.bloque-interior p { font-size: clamp(17px, 1.7vw, 20px); color: #3a3935; }
.ubicacion { background: var(--crema-2); }

/* ------------------------------------------------------------------ plano */
.planos { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center;
  padding: clamp(72px, 10vw, 130px) var(--margen); max-width: calc(var(--ancho) + 2 * var(--margen)); margin: 0 auto; }
.planos h2 { margin-bottom: 18px; }
.ambiente-actual { min-height: 1.6em; font-family: var(--fuente-titulo); font-size: 26px; color: var(--oro-oscuro); }
.plano-caja { background: #fff; border-radius: var(--radio); padding: clamp(10px, 2vw, 22px); box-shadow: 0 10px 40px rgba(60,48,30,.08); }
.plano-caja svg { width: 100%; height: auto; display: block; }
.plano-caja .esp { cursor: pointer; }

/* ------------------------------------------------------------------ galeria */
.galeria { padding: clamp(72px, 10vw, 130px) var(--margen); max-width: calc(var(--ancho) + 2 * var(--margen)); margin: 0 auto; }
.galeria-cabeza { margin-bottom: 28px; }
.galeria-rejilla { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-bottom: 16px; }
.foto { position: relative; grid-column: span 2; aspect-ratio: 3 / 2; border-radius: 10px; overflow: hidden; cursor: zoom-in;
  background: var(--crema-2); border: 0; padding: 0; }
.foto:nth-child(1) { grid-column: span 6; aspect-ratio: 16 / 7; }
.foto:nth-child(2), .foto:nth-child(3) { grid-column: span 3; }
.foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.foto:hover img { transform: scale(1.03); }
.foto span { position: absolute; left: 12px; bottom: 10px; color: #fff; font-size: 13px; font-weight: 600;
  text-shadow: 0 1px 10px rgba(0,0,0,.6); }
.visor { position: fixed; inset: 0; z-index: 40; background: rgba(12,12,14,.94); display: grid; place-items: center; }
.visor figure { margin: 0; max-width: min(1400px, 92vw); }
.visor img { max-height: 82vh; width: auto; margin: 0 auto; border-radius: 6px; }
.visor figcaption { color: #ddd6ca; text-align: center; margin-top: 12px; font-size: 14px; }
.visor button { position: absolute; background: rgba(255,255,255,.1); color: #fff; border: 0; width: 48px; height: 48px;
  border-radius: 999px; font-size: 28px; line-height: 1; cursor: pointer; }
.visor-cerrar { top: 16px; right: 16px; }
.visor-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.visor-sig { right: 16px; top: 50%; transform: translateY(-50%); }

/* ------------------------------------------------------------------ contacto y pie */
.contacto { background: var(--tinta); color: #fff; text-align: center; }
.contacto .bloque-interior p { color: #d8d2c7; }
.contacto .sobretitulo { color: var(--oro); }
.contacto-botones { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.pendiente { margin-top: 18px; font-size: 13px; color: #b9b1a3; }
.quien { margin-top: 22px; font-size: 15px; letter-spacing: .02em; color: #d8d2c7; }
.pie { background: #0e0f12; color: #9a948a; padding: 36px var(--margen) calc(36px + env(safe-area-inset-bottom)); font-size: 13px; }
.pie p { max-width: 900px; margin: 0 auto 10px; }
.pie-marca { color: #c9c2b5; font-family: var(--fuente-titulo); font-size: 17px; }

/* ------------------------------------------------------------------ celular */
@media (max-width: 860px) {
  .enlaces { display: none; }
  .acciones { margin-left: auto; }
  .cifras { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .cifra { border-left: 0; }
  .cifra:nth-child(5) { grid-column: 1 / -1; }
  .planos { grid-template-columns: 1fr; }
  .galeria-rejilla { grid-template-columns: 1fr 1fr; }
  .foto, .foto:nth-child(2), .foto:nth-child(3) { grid-column: span 1; }
  .foto:nth-child(1) { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
  .mini { width: 104px; top: calc(72px + env(safe-area-inset-top)); bottom: auto; right: 16px; }
  .texto { bottom: calc(48px + env(safe-area-inset-bottom)); }
  .indicador span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .indicador i { animation: none; }
  .foto img { transition: none; }
}
