/* Café de noche: Van Gogh y los cafés de París. Óleo empastado, amarillo de cromo y azul de Prusia. */
:root {
  --noche: #14275f; --noche-2: #0d1b45; --cromo: #f5b915; --naranja: #e67a1e; --crema: #f6ebcd; --tinta: #1b1a2b; --verde: #1f6d58; --rojo: #c33d24; --absenta: #a9c46c;
  --display: 'Fraunces', Georgia, serif; --mano: 'Caveat', 'Segoe Script', cursive; --texto: 'Karla', 'Trebuchet MS', sans-serif;
  --pad: clamp(1.1rem, 4vw, 3.5rem); --max: 1320px; --ease: cubic-bezier(.23, 1, .32, 1);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--crema); color: var(--tinta); font: 400 1.06rem/1.55 var(--texto); overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
cite { font-style: italic; }
:focus-visible { outline: 3px solid var(--naranja); outline-offset: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--cromo); padding: .6rem 1rem; }
.skip-link:focus { left: 0; }
.c-blue { color: #2850b4; } .c-red { color: var(--rojo); }
.num { font-variant-numeric: lining-nums; }

/* Intro */
.intro { display: none; }
.intro-on .intro { display: grid; place-items: center; position: fixed; inset: 0; z-index: 90; background: var(--noche-2) url(../assets/img/vg-fondo-azul.webp) center / cover; animation: gone 500ms 1500ms var(--ease) forwards; }
.intro__card { font: 700 clamp(3rem, 10vw, 7rem)/1 var(--mano); color: var(--cromo); }
.intro__skip { position: absolute; right: 1rem; bottom: 1rem; min-height: 44px; padding: 0 1rem; background: none; color: var(--crema); border: 1px solid; font: inherit; cursor: pointer; }
@keyframes gone { to { opacity: 0; visibility: hidden; } }

/* Barra */
.bar { position: sticky; top: 0; z-index: 50; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .55rem var(--pad); background: var(--noche-2); color: var(--crema); border-bottom: 3px solid var(--cromo); }
.brand { text-decoration: none; display: grid; line-height: 1.15; }
.brand__name { font: 700 1.12rem var(--display); }
.brand__sig { font: 500 1rem var(--mano); color: var(--cromo); }
.nav__toggle { display: none; align-items: center; gap: .4rem; min-height: 44px; padding: 0 .8rem; background: none; color: inherit; border: 1px solid; font: inherit; cursor: pointer; }
.nav__menu { display: flex; align-items: center; gap: 1.4rem; }
.nav__menu ul { display: flex; gap: 1.2rem; }
.nav__menu li a { text-decoration: none; padding: .4rem 0; }
.nav__menu li a:hover { color: var(--cromo); }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: .55rem 1.3rem; border: 2px solid transparent; border-radius: 3px 14px 4px 12px; font: 700 1rem var(--texto); text-decoration: none; cursor: pointer; transition: transform 180ms var(--ease), background 180ms; }
.btn:active { transform: scale(.97); }
.btn--ink, .btn--red { background: var(--cromo); color: var(--tinta); border-color: var(--tinta); }
.btn--ink:hover, .btn--red:hover { background: #ffd043; }
.btn--line { background: rgb(13 27 69 / .55); color: var(--crema); border-color: var(--crema); }
.btn--line:hover { background: var(--noche-2); }
.btn--white { background: var(--noche); color: var(--crema); }
.btn--block { width: 100%; }

/* Portada */
.hero { position: relative; min-height: min(68vh, 720px); display: flex; align-items: center; overflow: hidden; background: var(--noche-2); color: var(--crema); }
.hero__pintura { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(10 22 62 / .9) 0%, rgb(10 22 62 / .68) 38%, rgb(10 22 62 / 0) 62%); }
.hero__text { position: relative; z-index: 1; width: min(100%, 720px); padding: clamp(2rem, 6vh, 4rem) var(--pad); }
.hero__mano { font: 700 clamp(1.5rem, 2.6vw, 2.1rem)/1.1 var(--mano); color: var(--cromo); transform: rotate(-1.5deg); transform-origin: left; }
.hero__title { margin-top: .5rem; font: 800 clamp(2.9rem, 6.2vw, 5.6rem)/.98 var(--display); font-variation-settings: 'SOFT' 100, 'WONK' 1; letter-spacing: -.015em; text-wrap: balance; text-shadow: 0 2px 16px rgb(5 12 40 / .6); }
.hero__sub { margin-top: 1.1rem; max-width: 36ch; font-size: clamp(1.1rem, 1.5vw, 1.3rem); text-shadow: 0 1px 8px rgb(5 12 40 / .8); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }

/* Pared de cuadros */
.pared { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(.6rem, 1.4vw, 1.3rem); padding: clamp(1.2rem, 2.4vw, 2rem) var(--pad); background: var(--naranja) url(../assets/img/vg-fondo-amarillo.webp) center / cover; }
.lienzo { background: #5a3a18; padding: 7px; box-shadow: 0 10px 18px -8px rgb(40 20 0 / .7), inset 0 0 0 2px #8d6227; transition: transform 240ms var(--ease); }
.lienzo:nth-child(odd) { transform: rotate(-1.1deg); } .lienzo:nth-child(even) { transform: rotate(1deg) translateY(6px); }
.lienzo img { width: 100%; height: clamp(120px, 14vw, 215px); object-fit: cover; }
.lienzo figcaption { padding: .3rem .1rem 0; font: 500 1.08rem/1.05 var(--mano); color: var(--crema); }
@media (hover: hover) { .lienzo:hover { transform: rotate(0) scale(1.04); z-index: 1; } }
.vincent { padding: 1.5rem var(--pad); background: var(--noche-2); color: var(--crema); }
.vincent p { max-width: 82ch; margin-inline: auto; font-size: 1.04rem; }
.vincent strong { color: var(--cromo); }

/* Dos puertas */
.doors { display: grid; grid-template-columns: 1fr 1fr; }
.door { display: block; padding: clamp(2rem, 5vw, 4.5rem) var(--pad); text-decoration: none; background-size: cover; background-position: center; }
.door--blue { background-image: url(../assets/img/vg-fondo-amarillo.webp); background-color: var(--cromo); color: var(--tinta); }
.door--ink { background-image: url(../assets/img/vg-fondo-azul.webp); background-color: var(--noche); color: var(--crema); }
.door__title { font: 800 clamp(1.9rem, 3.6vw, 3.3rem)/1.03 var(--display); font-variation-settings: 'SOFT' 100, 'WONK' 1; }
.door__chap { display: block; font: 700 clamp(1.4rem, 2.2vw, 1.9rem)/1.1 var(--mano); }
.door__lede { margin-top: 1rem; max-width: 44ch; }
.door__go { display: inline-block; margin-top: 1.2rem; font-weight: 700; border-bottom: 2px solid; }

/* Títulos */
.abc, .themes, .traits, .montage, .cast-sec, .viajes, .press, .faq, .custom, .contact { padding: clamp(3rem, 7vw, 6rem) var(--pad); }
.sec-head, .montage__head { max-width: var(--max); margin: 0 auto clamp(1.5rem, 3vw, 2.5rem); }
.h2 { max-width: var(--max); margin-inline: auto; font: 800 clamp(2.1rem, 4.4vw, 3.9rem)/1.03 var(--display); font-variation-settings: 'SOFT' 100, 'WONK' 1; letter-spacing: -.01em; text-wrap: balance; }
.sec-note { margin-top: .6rem; font: 500 1.3rem/1.15 var(--mano); }

/* Cuadros con marco */
.frame { position: relative; overflow: hidden; background: #5a3a18; padding: 9px; box-shadow: 0 16px 30px -16px rgb(40 20 0 / .75), inset 0 0 0 2px #8d6227; }
.frame img { width: 100%; height: 100%; object-fit: cover; }

/* La carta: El ABC */
.posters { max-width: var(--max); margin-inline: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 3.5vw, 3rem); }
.poster:nth-child(even) { margin-top: 2.5rem; }
.poster .frame img { aspect-ratio: 3 / 2; }
.credits { margin-top: 1rem; }
.poster__title { font: 700 clamp(1.45rem, 2.3vw, 2rem)/1.1 var(--display); }
.poster__tag { margin-top: .35rem; font: 500 1.35rem/1.15 var(--mano); color: #7c3f12; }
.cast { margin-top: .7rem; display: grid; gap: .3rem; }
.cast > div { display: grid; grid-template-columns: 5.5rem 1fr; gap: .5rem; border-top: 1px dotted #8a7346; padding-top: .3rem; }
.cast dt { font-weight: 700; font-size: .85rem; letter-spacing: .05em; text-transform: uppercase; }

/* Rutas temáticas: sala de noche */
.themes { background: var(--noche) url(../assets/img/vg-fondo-azul.webp) center / cover; color: var(--crema); }
.themes .c-red { color: var(--cromo); }
.program { max-width: var(--max); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.screen { position: sticky; top: 90px; }
.screen__frame img { aspect-ratio: 4 / 3; }
.screen__sub { position: absolute; left: 9px; right: 9px; bottom: 9px; padding: .5rem .8rem; background: rgb(13 27 69 / .85); font: 700 1.35rem/1.1 var(--mano); color: var(--cromo); }
.film { padding: 1.1rem .9rem; border-top: 1px solid rgb(246 235 205 / .3); transition: background 200ms; }
.film.is-on { background: rgb(245 185 21 / .14); box-shadow: inset 3px 0 0 var(--cromo); }
.film__img { display: none; }
.film__title { font: 700 clamp(1.3rem, 2vw, 1.75rem)/1.12 var(--display); }
.film__tag { margin-top: .3rem; font: 500 1.28rem/1.15 var(--mano); color: #ffd768; }
.film__cast { margin-top: .4rem; font-size: .98rem; }
.film__cast span { font-weight: 700; color: var(--absenta); margin-right: .3rem; }
.film__time { margin-top: .3rem; font-size: .92rem; opacity: .9; }

/* Pizarra */
.traits__list { max-width: var(--max); margin: 1.5rem auto 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem 2rem; }
.trait__big { font: 700 clamp(1.3rem, 2.1vw, 1.8rem)/1.12 var(--display); }
.trait__small { margin-top: .2rem; }
.fijos { background: var(--tinta) url(../assets/img/vg-fondo-verde.webp) center / cover; color: #f4f0e0; border-block: 12px solid #5a3a18; }
.fijos .h2, .fijos .sec-note, .fijos__note, .fijos > .btn { display: block; max-width: var(--max); margin-inline: auto; }
.fijos .btn { width: max-content; margin-top: 1.2rem; display: flex; }
.fijos .trait__big, .fijos .trait__big.c-blue, .fijos .trait__big.c-red { font: 700 clamp(1.8rem, 3vw, 2.5rem)/1.05 var(--mano); color: #fdf7df; }
.fijos .trait__big a { color: var(--cromo); }
.fijos__note { margin-top: 1.5rem; }

/* A medida */
.custom { background: var(--cromo) url(../assets/img/vg-fondo-amarillo.webp) center / cover; text-align: center; }
.custom__title { font: 800 clamp(2.2rem, 5vw, 4.2rem)/1.03 var(--display); font-variation-settings: 'SOFT' 100, 'WONK' 1; }
.custom__text { margin: .8rem auto 0; max-width: 48ch; font-size: 1.2rem; }
.custom__list { margin: 1.1rem 0 1.5rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.custom__list li { padding: .25rem .8rem; background: var(--crema); border-radius: 14px 4px 12px 5px; font-weight: 700; }

/* Tres cuadros */
.montage { background: var(--crema); }
.montage__lede { margin-top: .6rem; max-width: 56ch; }
.scenes { max-width: var(--max); margin: 0 auto 1.2rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.scene-tab, .cut { min-height: 44px; padding: .35rem 1rem; background: none; border: 2px solid var(--tinta); border-radius: 3px 12px 4px 10px; font: 700 1rem var(--texto); color: var(--tinta); cursor: pointer; }
.scene-tab[aria-selected="true"] { background: var(--noche); color: var(--crema); border-color: var(--noche); }
.cut[aria-pressed="true"] { background: var(--cromo); }
.scene { display: none; max-width: var(--max); margin-inline: auto; grid-template-columns: 1.3fr 1fr; gap: clamp(1.2rem, 3vw, 3rem); align-items: start; }
.scene.is-active { display: grid; }
.scene__frame { aspect-ratio: 3 / 2; }
.scene__img { transform: scale(var(--z, 1)); transform-origin: var(--ox, 50%) var(--oy, 50%); transition: transform 600ms var(--ease); }
.scene__frame--type { display: grid; place-items: center; background: var(--noche) url(../assets/img/vg-fondo-azul.webp) center / cover; padding: 1rem; }
.card-type { display: none; grid-area: 1 / 1; text-align: center; font: 800 clamp(2rem, 4.5vw, 3.8rem)/1.05 var(--display); color: var(--crema); }
.card-type span { display: block; color: var(--cromo); }
.scene__frame--type:not([data-on]) .card-type[data-card="0"], .scene__frame--type[data-on="0"] .card-type[data-card="0"], .scene__frame--type[data-on="1"] .card-type[data-card="1"], .scene__frame--type[data-on="2"] .card-type[data-card="2"] { display: block; }
.cuts { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.take { display: none; } .take.is-active { display: block; }
.take__title { font: 700 1.7rem/1.1 var(--display); margin-bottom: .35rem; }

/* Quién */
.cast-sec { background: #efdcac; }
.cast-sec__title { margin-bottom: 2rem; }
.role { max-width: var(--max); margin: 0 auto 3rem; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.role--dog { grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); align-items: center; margin-bottom: 0; }
.role__text p + p, .role__cv { margin-top: .8rem; }
.role__billing { margin-bottom: .8rem; font: 700 clamp(1.6rem, 2.8vw, 2.3rem)/1.1 var(--display); }
.role__as { font: 500 1.4em/1 var(--mano); color: #7c3f12; }
.role__h3 { margin-top: 1.3rem; font: 700 1.4rem var(--display); }
.role__cv li { padding-left: 1.2rem; position: relative; margin-top: .3rem; }
.role__cv li::before { content: '✦'; position: absolute; left: 0; color: var(--naranja); }
.dog__note { position: absolute; left: 9px; bottom: 9px; padding: .1rem .5rem; background: var(--tinta); color: var(--crema); font-size: .8rem; }

/* Viajes */
.viajes { background: var(--crema); }
.viajes__lede { max-width: var(--max); margin: .6rem auto 1.6rem; }
.viajes__grid { max-width: var(--max); margin-inline: auto; columns: 4 220px; column-gap: .9rem; }
.viajes__item { break-inside: avoid; margin-bottom: .9rem; background: #fff9e6; padding: 6px; box-shadow: 0 6px 14px -8px rgb(40 20 0 / .6); }
.viajes__item figcaption { padding: .25rem .2rem 0; font: 500 1.15rem/1.1 var(--mano); }

/* Foto de grupo */
.press { background: var(--noche-2); color: var(--crema); }
.press__still { max-width: 920px; margin-inline: auto; }
.press__still figcaption { margin-top: .6rem; text-align: center; font: 500 1.4rem var(--mano); color: var(--cromo); }

/* Preguntas */
.faq { background: var(--crema); }
.faq__list { max-width: 860px; margin: 1.5rem auto 0; }
.faq__title { text-align: center; }
.faq details { border-top: 2px dotted #8a7346; }
.faq details:last-child { border-bottom: 2px dotted #8a7346; }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 54px; padding: .5rem 0; font: 700 1.2rem/1.2 var(--display); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { padding-bottom: 1rem; }

/* Contacto */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); background: var(--noche) url(../assets/img/vg-fondo-azul.webp) center / cover; color: var(--crema); }
.fin { font: 700 clamp(1.6rem, 3vw, 2.4rem)/1 var(--mano); color: var(--cromo); }
.contact__title { font: 800 clamp(2.6rem, 6vw, 5rem)/1 var(--display); font-variation-settings: 'SOFT' 100, 'WONK' 1; }
.contact__lede { margin-top: .8rem; max-width: 40ch; font-size: 1.15rem; }
.channels { margin-top: 1.5rem; display: grid; gap: .5rem; }
.channels a { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .7rem; min-height: 44px; text-decoration: none; }
.channels i { font-size: 1.4rem; color: var(--cromo); }
.channels span:nth-of-type(1) { font-weight: 700; }
.form, .success { background: var(--crema); color: var(--tinta); padding: clamp(1.1rem, 3vw, 2rem); border: 7px solid #5a3a18; }
.field { margin: 0 0 .9rem; padding: 0; border: 0; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
label, legend { display: block; margin-bottom: .25rem; font-weight: 700; padding: 0; }
input:not([type=radio]), textarea { width: 100%; min-height: 44px; padding: .55rem .7rem; font: inherit; background: #fffdf3; color: inherit; border: 2px solid var(--tinta); border-radius: 2px; }
.choices { display: flex; flex-wrap: wrap; gap: .4rem; }
.choice { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: 0 .7rem; margin: 0; border: 2px solid var(--tinta); font-weight: 400; cursor: pointer; }
.choice:has(input:checked) { background: var(--cromo); }
.err { min-height: 0; color: #a31f12; font-size: .9rem; }
.form__note { margin-top: .6rem; font-size: .88rem; }
.success__big { font: 800 2.6rem var(--display); }

/* Pie */
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding: 1.5rem var(--pad); background: var(--noche-2); color: var(--crema); }
.foot__sig { font: 500 1.3rem var(--mano); }
.foot__links { display: flex; flex-wrap: wrap; gap: 1.2rem; }

/* Rutas: encaje en la paleta */
.rutas { background: var(--crema); }
.rutas__lede { opacity: 1; }

@media (max-width: 900px) {
  .program { grid-template-columns: 1fr; }
  .screen { display: none; }
  .film__img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: .7rem; border: 6px solid #5a3a18; }
  .scene.is-active, .role, .role--dog, .contact { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav__toggle { display: inline-flex; }
  .nav__menu { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; padding: 1rem var(--pad) 1.2rem; background: var(--noche-2); border-bottom: 3px solid var(--cromo); }
  .nav__menu.is-open { display: flex; }
  .nav__menu ul { flex-direction: column; gap: 0; }
  .nav__menu li a { display: block; padding: .7rem 0; }
}
@media (max-width: 799px) {
  .hero { flex-direction: column; align-items: stretch; min-height: 0; }
  .hero__pintura { position: static; height: 52vw; object-position: 80% 40%; }
  .hero::after { display: none; }
  .hero__text { padding-top: 1.4rem; padding-bottom: 1.8rem; }
  .pared { display: flex; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
  .pared::-webkit-scrollbar { display: none; }
  .lienzo { flex: 0 0 60vw; scroll-snap-align: center; }
  .lienzo img { height: 42vw; }
  .doors, .posters { grid-template-columns: 1fr; }
  .poster:nth-child(even) { margin-top: 0; }
  .hero__ctas .btn { flex: 1 1 auto; }
  .field-row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .lienzo, .scene__img, .btn, .film { transition: none; }
}

.sequel { padding: clamp(3rem, 7vw, 5rem) var(--pad); background: var(--crema); }
.sequel > * { max-width: 760px; margin-inline: auto; }
.sequel__title { font: 800 clamp(1.9rem, 3.6vw, 3rem)/1.05 var(--display); margin-bottom: .8rem; }
.sequel__title span { color: var(--rojo); }

/* Guías de confianza en otras ciudades */
.amigas__lista { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .45rem; }
.amigas__lista a { text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.amigas__mas { margin-top: .9rem; }
