/* HERO v3 (19-nov-2026) — solo se usa en v3.html. MÓVIL = el de la home tal cual (home-2027.css, sin tocar nada).
   ESCRITORIO = el de la v2 final: foto de noche ya compuesta (foto-hero.jpg) a sangre, sin pastilla ni ondas,
   y a la derecha, sobre el cielo, «TENERIFE ¡VOLVEMOS!» grande con las fechas debajo, apoyadas en la línea
   del público (70 % del alto). Todo en --u para que encoja con el alto de la pantalla. */
@media (min-width: 761px) {
  .hv.hv3 { background: #050506; }
  .hv3 .hv-lienzo { --cx: calc(100cqw - var(--u) * 28); --linea: calc(var(--hh) * .70); }
  .hv3 .hv-lienzo::before, .hv3 .hv-pastilla { display: none; }
  .hv3 .hv-foto { left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; object-position: 0% 50%; }
  .hv3 .hv-titulo { --vc: calc(var(--u) * 56); width: calc(var(--u) * 56); left: calc(var(--cx) - var(--u) * 28); right: auto;
    text-align: center; top: calc(var(--linea) - var(--u) * 23.35); }
  .hv3 .hv-fechas { --vc: calc(var(--u) * 50); width: calc(var(--u) * 56); left: calc(var(--cx) - var(--u) * 28); right: auto;
    transform: none; top: calc(var(--linea) - var(--u) * 12.25); }
}
/* Tipo del título según la captura de Daniel (19-nov, 14:57): es la misma Massive con sus alternativas estilísticas
   («salt»: O ancha y M inclinada). La palabra sale un 17 % más ancha, así que el cuerpo baja de 56 a 50 unidades. */
@media (min-width: 761px) {
  .hv3 .hv-lienzo { --cx: calc(100cqw - var(--u) * 29.4); }
  .hv3 .hv-titulo strong { font-feature-settings: "salt"; }
  .hv3 .hv-titulo { --vc: calc(var(--u) * 50); width: calc(var(--u) * 58); left: calc(var(--cx) - var(--u) * 29); top: calc(var(--linea) - var(--u) * 22.55); }
  .hv3 .hv-fechas { width: calc(var(--u) * 58); left: calc(var(--cx) - var(--u) * 29); }
}
/* Móvil (Daniel, 19-nov): la foto del escenario un pelín a la izquierda (48cqw en vez de 50cqw) */
@media (max-width: 760px) { .hv3 .hv-foto { left: calc(48cqw - var(--fw) / 2); } }

/* ───────── LAS TRES NOCHES (19-nov-2026): 8 Urban · 9 Latin · 10 Tropical ─────────
   Cada tarjeta repite el cuadrado de fecha del hero (color, trama y sombra de home-2027.css) y debajo, sobre blanco,
   el día, el mood y una línea. En móvil la fecha va a la izquierda y el texto a la derecha. */
.noches .section-header { margin-bottom: 2.25rem; }
.noches-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; }
.noche { display: grid; grid-template-columns: 7.5rem 1fr; background: #fff; border: 2px solid var(--c); box-shadow: 6px 6px 0 var(--s); }
.noche-fecha { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--c); color: #fff; font-family: var(--cmf-font-ui); line-height: .84; padding: 1.25rem .5rem; }
.noche-fecha::before { content: ""; position: absolute; inset: 0; background: var(--t) no-repeat; background-size: var(--tw) var(--th); background-position: var(--tx) var(--ty); }
.noche-fecha b, .noche-fecha i { position: relative; font-style: normal; font-weight: 900; letter-spacing: -.05em; }
.noche-fecha b { font-size: 3.6rem; }
.noche-fecha i { font-size: 2rem; margin-top: .1rem; }
.noche-txt { padding: 1.25rem 1.25rem 1.4rem; }
.noche-dia { display: block; font-family: var(--cmf-font-ui); font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--cmf-purple); }
.noche-mood { margin: .35rem 0 .5rem; font-family: var(--cmf-font-ui); font-weight: 900; font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1; letter-spacing: -.02em; text-transform: uppercase; color: var(--cmf-purple-deep); }
.noche-txt p { margin: 0; font-family: var(--cmf-font-ui); font-size: 1.05rem; line-height: 1.5; color: #4a3d52; }
.noche--1 { --c: #00a3d5; --s: #ff8b00; --t: url("./images/2027/trama-fecha-08.svg"); --tw: 148%; --th: 134.6%; --tx: 50%; --ty: 51%; }
.noche--2 { --c: #842c8e; --s: #ff4686; --t: url("./images/2027/trama-fecha-09.svg"); --tw: 276%; --th: 233.6%; --tx: 72.7%; --ty: 45.6%; }
.noche--3 { --c: #ff8b00; --s: #00ab8f; --t: url("./images/2027/trama-fecha-10.svg"); --tw: 213%; --th: 213%; --tx: 50%; --ty: 50%; }
@media (min-width: 900px) {
  .noches-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .noche { grid-template-columns: 1fr; }
  .noche-fecha { aspect-ratio: 16 / 9; }
  .noche-fecha b { font-size: clamp(4.5rem, 7vw, 6.5rem); }
  .noche-fecha i { font-size: clamp(2.5rem, 4vw, 3.7rem); }
  .noche-txt { padding: 1.5rem 1.6rem 1.75rem; }
}
