/* ============ NOCTURNA · Propuesta 1 · Noir editorial ============ */
:root {
  --bg: #0b0b0c;
  --bg-2: #141416;
  --ink: #f2efe9;
  --muted: #8d8a85;
  --line: #2a2a2d;
  --accent: #e3402b;
  --display: "Anton", Impact, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
  --radius: 4px;
  --gutter: clamp(16px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: 0; }
::selection { background: var(--accent); color: #fff; }

/* grano de película */
.grain {
  position: fixed; inset: -50%; z-index: 100; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(4) infinite;
}
@keyframes grain { 50% { transform: translate(3%, -4%); } }

/* cursor foco */
.cursor {
  position: fixed; top: 0; left: 0; width: 14px; height: 14px; border-radius: 50%;
  background: var(--ink); mix-blend-mode: difference; pointer-events: none; z-index: 99;
  translate: -50% -50%; transition: width .25s, height .25s;
}
.cursor.is-big { width: 80px; height: 80px; }
@media (hover: none) { .cursor { display: none; } }

/* NAV */
.nav {
  position: fixed; inset: 16px var(--gutter) auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 12px 10px 20px; border-radius: 999px;
  background: rgb(20 20 22 / .55); backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgb(255 255 255 / .08);
}
.logo { font: 400 1.35rem var(--display); letter-spacing: .04em; text-decoration: none; }
.logo span { color: var(--accent); font-size: .7em; vertical-align: super; }
.nav nav { display: flex; gap: 28px; }
.nav nav a { text-decoration: none; font-size: .9rem; color: var(--muted); transition: color .2s; }
.nav nav a:hover { color: var(--ink); }
@media (max-width: 760px) { .nav nav { display: none; } }

/* BOTONES */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 28px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--accent); color: #fff; font: 500 1rem var(--sans); text-decoration: none;
  transition: transform .25s cubic-bezier(.2,.9,.3,1.4), background .2s;
}
.btn:hover { transform: translateY(-2px) scale(1.03); }
.btn-sm { padding: 10px 20px; font-size: .9rem; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); }

/* HERO */
/* El hero ocupa exactamente el alto de la ventana: todo se escala con vh para que nunca se salga */
.hero {
  height: 100vh; height: 100svh; min-height: 520px; display: grid; grid-template-columns: 1.05fr 1fr; align-items: end;
  gap: var(--gutter); padding: clamp(84px, 12vh, 112px) var(--gutter) clamp(20px, 4vh, 44px); position: relative; overflow: hidden;
}
.hero-media { position: absolute; inset: 0 0 0 auto; width: 52%; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1);
  animation: heroZoom 1.8s cubic-bezier(.2,.7,.2,1) both; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 0%, transparent 45%, transparent 75%, var(--bg) 100%), linear-gradient(0deg, var(--bg), transparent 40%); }
@keyframes heroZoom { from { scale: 1.25; opacity: 0; } }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: 0 0 20px; }
.hero .eyebrow { margin-bottom: clamp(8px, 2vh, 20px); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 0 #3ddc8488; animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px transparent; } }
.hero-title { font: 400 clamp(2.4rem, min(10vw, 13vh), 9.5rem)/.9 var(--display); text-transform: uppercase; margin: 0 0 clamp(10px, 2.4vh, 28px); }
.hero-title .line { display: block; overflow: hidden; animation: rise 1s cubic-bezier(.2,.8,.2,1) both; }
.hero-title .line:nth-child(2) { animation-delay: .12s; color: var(--accent); }
.hero-title .line:nth-child(3) { animation-delay: .24s; }
@keyframes rise { from { transform: translateY(100%); opacity: 0; } }
.lead { max-width: 44ch; color: var(--muted); font-size: clamp(.95rem, 1.9vh, 1.1rem); margin: 0; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: clamp(14px, 3.2vh, 32px) 0 clamp(16px, 4vh, 44px); }
.hero-stats { display: flex; gap: clamp(20px, 4vw, 56px); list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); padding-top: clamp(10px, 2.2vh, 24px); }
.hero-stats strong { display: block; font: 400 clamp(1.5rem, 3.6vh, 2.2rem) var(--display); }
.hero-stats span { font-size: .8rem; color: var(--muted); }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero-media { width: 100%; opacity: .45; }
  .hero-cta .btn { padding: 14px 22px; }
}
/* Pantallas bajas (notebooks pequeños, celular en horizontal): se quitan extras */
@media (max-height: 640px) { .hero-stats { display: none; } }
@media (max-height: 520px) { .lead { display: none; } }

/* MARQUEE */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; background: var(--bg-2); }
.marquee-track { display: flex; gap: 40px; width: max-content; animation: marquee 30s linear infinite;
  font: 400 clamp(1.6rem, 4vw, 3rem) var(--display); text-transform: uppercase; }
.marquee-track span:nth-child(even) { color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* SECCIONES */
.section { padding: clamp(80px, 12vw, 160px) var(--gutter); }
.section-head { display: flex; flex-direction: column; margin-bottom: 48px; }
.section-head h2 { font: 400 clamp(2.6rem, 7vw, 6rem)/.95 var(--display); text-transform: uppercase; margin: 0; }

/* reveal con scroll-driven animations (2026) y fallback JS */
.reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% cover 30%; }
@keyframes reveal { from { opacity: 0; transform: translateY(60px) scale(.97); } }
@supports not (animation-timeline: view()) {
  .reveal { animation: none; opacity: 0; transform: translateY(40px); transition: opacity .8s, transform .8s; }
  .reveal.is-in { opacity: 1; transform: none; }
}

/* FILTROS */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.chip { background: transparent; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 10px 20px; font: 500 .9rem var(--sans); cursor: pointer; transition: all .2s; }
.chip:hover { color: var(--ink); border-color: var(--ink); }
.chip.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* MASONRY */
.masonry { columns: 3 300px; column-gap: 16px; }
.masonry figure { margin: 0 0 16px; break-inside: avoid; position: relative; overflow: hidden; border-radius: var(--radius); cursor: zoom-in; }
.masonry figure.is-hidden { display: none; }
.masonry img { width: 100%; transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .5s; filter: grayscale(.85); }
.masonry figure:hover img { transform: scale(1.06); filter: grayscale(0); }
.masonry figcaption { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px; font-size: .8rem;
  background: rgb(0 0 0 / .6); backdrop-filter: blur(8px); opacity: 0; translate: 0 10px; transition: .35s; }
.masonry figure:hover figcaption { opacity: 1; translate: 0 0; }

/* ARTISTAS */
.artists { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.artist img { aspect-ratio: 3/4; object-fit: cover; width: 100%; border-radius: var(--radius); filter: grayscale(1); transition: filter .5s; }
.artist:hover img { filter: grayscale(0); }
.artist h3 { font: 400 2rem var(--display); text-transform: uppercase; margin: 18px 0 4px; }
.artist p { color: var(--muted); margin: 0 0 12px; }
.link { color: var(--accent); text-decoration: none; font-weight: 500; }

/* PROCESO */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); border-top: 1px solid var(--line); }
.steps li { padding: 32px 24px 32px 0; border-bottom: 1px solid var(--line); }
.steps span { font: 400 3.5rem var(--display); color: var(--accent); }
.steps h3 { margin: 8px 0; font-size: 1.25rem; }
.steps p { color: var(--muted); margin: 0; }

/* PRECIOS */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.price { background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; padding: 32px; }
.price h3 { margin: 0; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-size: .85rem; }
.price .amount { font: 400 2.8rem var(--display); margin: 12px 0; }
.price p:last-child { color: var(--muted); margin: 0; }
.price.featured { background: var(--accent); border-color: var(--accent); }
.price.featured h3, .price.featured p:last-child { color: #fff; opacity: .85; }
.note { color: var(--muted); margin-top: 20px; font-size: .9rem; }

/* TESTIMONIOS */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
blockquote { margin: 0; font: 400 1.6rem/1.3 var(--serif); padding: 28px; border-left: 2px solid var(--accent); background: var(--bg-2); }
cite { display: block; margin-top: 18px; font: 500 .85rem var(--sans); color: var(--muted); font-style: normal; }

/* RESERVA */
.booking { display: grid; grid-template-columns: 1fr 1.2fr; gap: var(--gutter); align-items: start; background: var(--bg-2); }
.booking h2 { font: 400 clamp(2.6rem, 7vw, 6rem)/.95 var(--display); text-transform: uppercase; margin: 0 0 16px; }
.booking-copy > p { color: var(--muted); max-width: 40ch; }
.contact-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 10px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.form .full { grid-column: 1 / -1; }
.form input, .form select, .form textarea {
  width: 100%; background: var(--bg); color: var(--ink); border: 1px solid var(--line); border-radius: 10px;
  padding: 14px 16px; font: 400 1rem var(--sans); text-transform: none; letter-spacing: 0; transition: border-color .2s;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); }
.form .check { display: flex; align-items: center; gap: 10px; text-transform: none; letter-spacing: 0; font-size: .9rem; }
.form .check input { width: 18px; height: 18px; accent-color: var(--accent); }
@media (max-width: 860px) { .booking { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form { grid-template-columns: 1fr; } }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 24px 0; }
.faq summary { cursor: pointer; font-size: clamp(1.2rem, 2.5vw, 1.6rem); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; color: var(--accent); transition: rotate .3s; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { color: var(--muted); max-width: 70ch; }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .4s, content-visibility .4s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
:root { interpolate-size: allow-keywords; }

/* FOOTER */
.footer { padding: 40px var(--gutter) 24px; border-top: 1px solid var(--line); }
.footer-big { font: 400 clamp(4rem, 19vw, 18rem)/.8 var(--display); margin: 0 0 24px; color: transparent; -webkit-text-stroke: 1px var(--line); }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--muted); font-size: .85rem; }

/* WHATSAPP */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 10px 30px rgb(37 211 102 / .35); transition: transform .25s; }
.wa-float:hover { transform: scale(1.1) rotate(-8deg); }

/* LIGHTBOX */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 92vw; max-height: 92vh; color: var(--ink); }
.lightbox::backdrop { background: rgb(0 0 0 / .9); backdrop-filter: blur(6px); }
.lightbox img { max-width: 92vw; max-height: 82vh; object-fit: contain; border-radius: var(--radius); }
.lb-caption { text-align: center; color: var(--muted); }
.lb-close { position: fixed; top: 20px; right: 20px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--ink); color: var(--bg); font-size: 1rem; cursor: pointer; }
.lightbox[open] { animation: lbIn .35s cubic-bezier(.2,.8,.2,1); }
@keyframes lbIn { from { opacity: 0; scale: .92; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
