/* =========================================================
   Sofía & Jacopo — tema vinilo / rock
   Cambia los colores aquí:
   ========================================================= */
:root {
  --bg: #121010;
  --bg-2: #1c1918;
  --ink: #f3ead8;          /* crema, como papel de portada */
  --muted: #cfc5b3;        /* texto secundario: claro para leerse bien sobre negro */
  --soft: #e6dccb;         /* texto de párrafos secundarios */
  --accent: #e2342b;       /* rojo rock */
  --accent-2: #f2b134;     /* amarillo etiqueta */
  --line: rgba(243, 234, 216, .14);
  --display: "Bebas Neue", Impact, sans-serif;
  --hand: "Permanent Marker", cursive;
  --body: "DM Sans", system-ui, sans-serif;
  --max: 1100px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body {
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.65 var(--body);
  overflow-x: hidden;
}
body.locked { overflow: hidden; }
a { color: inherit; }
img { max-width: 100%; display: block; }

/* grano sutil tipo papel */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; 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 baseFrequency='.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ================= VINILO ================= */
.vinyl {
  position: relative; border-radius: 50%; aspect-ratio: 1;
  background:
    radial-gradient(circle, transparent 0 31%, rgba(255,255,255,.04) 31.5% 32%, transparent 32.5%),
    repeating-radial-gradient(circle, #111 0 2px, #1d1d1d 2px 3px),
    #111;
  box-shadow: 0 20px 60px rgba(0,0,0,.6), inset 0 0 0 2px #000;
  animation: spin 4s linear infinite;
}
.vinyl::before { /* brillo */
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 30deg, transparent 0 10%, rgba(255,255,255,.12) 15%, transparent 22% 55%, rgba(255,255,255,.08) 62%, transparent 70%);
}
.vinyl__label {
  position: absolute; inset: 33%; border-radius: 50%;
  background: radial-gradient(circle, var(--bg) 0 6%, var(--accent) 6.5%);
  display: flex; align-items: center; justify-content: space-around;
  font-family: var(--display); color: var(--ink); font-size: clamp(14px, 3vw, 28px);
}
.vinyl__label small { font-size: .45em; font-family: var(--body); font-weight: 700; letter-spacing: .05em; color: var(--accent-2); }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .vinyl { animation: none; } html { scroll-behavior: auto; } }

/* ================= INTRO ================= */
.intro {
  position: fixed; inset: 0; z-index: 50;
  background: radial-gradient(ellipse at center, #2a1715 0%, var(--bg) 70%);
  display: grid; place-items: center; padding: 24px 16px;
  transition: opacity .7s ease, visibility .7s;
}
.intro.hidden { opacity: 0; visibility: hidden; }
.intro__inner { text-align: center; max-width: 560px; }
.vinyl--intro { width: min(220px, 55vw); margin: 0 auto 28px; animation-duration: 2.5s; }
.intro__wedding { font-family: var(--hand); color: var(--accent-2); font-size: clamp(26px, 6vw, 40px); line-height: 1.15; transform: rotate(-2deg); text-shadow: 0 0 16px rgba(242,177,52,.5); margin-bottom: 6px; }
.intro__wedding span { white-space: nowrap; }
@media (max-width: 480px) { .intro__wedding span[aria-hidden] { display: none; } .intro__wedding span { display: block; } }
.intro__kicker { font-family: var(--display); color: var(--ink); font-size: clamp(30px, 6vw, 42px); letter-spacing: .05em; line-height: 1.05; margin: 14px 0 4px; }
.intro__kicker span { color: var(--accent); }
.intro__title { font-family: var(--body); font-weight: 700; font-size: clamp(13px, 3.4vw, 16px); text-transform: uppercase; letter-spacing: .2em; color: var(--muted); line-height: 1.4; margin: 26px 0 18px; }
.intro__title span { color: var(--accent); }
.intro__flags { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.flag-btn {
  background: var(--bg-2); border: 1px solid var(--line); color: var(--ink); cursor: pointer;
  padding: 16px 20px 12px; border-radius: 10px; display: grid; gap: 10px; justify-items: center;
  font: 700 15px var(--body); letter-spacing: .08em; text-transform: uppercase;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.flag-btn:hover, .flag-btn:focus-visible { transform: translateY(-4px) rotate(-1deg); border-color: var(--accent); box-shadow: 0 10px 30px rgba(226,52,43,.25); outline: none; }
.flag { width: 120px; height: 80px; border-radius: 4px; box-shadow: 0 4px 14px rgba(0,0,0,.5); }
.flag--sm { width: 30px; height: 20px; border-radius: 2px; }

/* ================= NAV ================= */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px clamp(16px, 4vw, 40px);
  background: rgba(18,16,16,.97);
  border-bottom: 1px solid var(--line);
}
.nav__logo { font-family: var(--display); font-size: 30px; text-decoration: none; letter-spacing: .04em; }
.nav__logo span { color: var(--accent); }
.nav__links { display: flex; align-items: center; gap: 22px; }
.nav__links a { text-decoration: none; font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); transition: color .2s; }
.nav__links a:hover { color: var(--ink); }
/* Selector de idioma: las dos banderas siempre bien visibles; la activa, con marco rojo */
.nav__lang { display: flex; gap: 10px; margin-left: 6px; }
.nav__lang button {
  background: none; border: 0; cursor: pointer; line-height: 0; padding: 3px; border-radius: 5px;
  outline: 2px solid transparent; transition: outline-color .2s, transform .2s;
}
.nav__lang button:hover { transform: translateY(-1px); outline-color: var(--line); }
.nav__lang button.active { outline-color: var(--accent); }
.nav__lang .flag--sm { box-shadow: 0 0 0 1px rgba(255,255,255,.25); }
.nav__links a.active { color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); }

/* En móvil el menú sigue visible: fila deslizable bajo el logo */
@media (max-width: 820px) {
  html { scroll-padding-top: 120px; }
  .nav { flex-wrap: wrap; padding-bottom: 0; }
  .nav__links {
    order: 3; width: calc(100% + 2 * clamp(16px, 4vw, 40px)); margin: 10px calc(-1 * clamp(16px, 4vw, 40px)) 0;
    padding: 10px clamp(16px, 4vw, 40px) 12px; gap: 18px; overflow-x: auto; white-space: nowrap;
    border-top: 1px solid var(--line); scrollbar-width: none;
  }
  .nav__links::-webkit-scrollbar { display: none; }
  .nav__links a { font-size: 13px; padding-bottom: 2px; }
  .nav__lang { position: absolute; top: 18px; right: clamp(16px, 4vw, 40px); }
}

/* ================= HERO ================= */
.hero {
  max-width: var(--max); margin: 0 auto; min-height: calc(100vh - 62px);
  display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 40px;
  padding: 48px clamp(16px, 4vw, 40px);
}
.hero__kicker {
  /* "¡Nos casamos!": lo primero que hay que entender. Grande, tipo neón: parpadea al encenderse y luego brilla suave */
  font-family: var(--hand); color: var(--accent-2); font-size: clamp(34px, 5.2vw, 56px); line-height: 1.1;
  transform: rotate(-3deg); display: inline-block; margin-bottom: 6px;
}
/* Se enciende justo al salir de la pantalla de idioma */
body:not(.locked) .hero__kicker { animation: neon-on 1.6s ease-out .5s both, neon-glow 3s ease-in-out 2.1s infinite;
}
@keyframes neon-on {
  0% { opacity: 0; text-shadow: none; }
  10%, 22%, 40% { opacity: 1; text-shadow: 0 0 18px rgba(242,177,52,.8); }
  16%, 30% { opacity: .15; text-shadow: none; }
  100% { opacity: 1; text-shadow: 0 0 14px rgba(242,177,52,.55), 0 0 36px rgba(242,177,52,.25); }
}
@keyframes neon-glow {
  0%, 100% { text-shadow: 0 0 14px rgba(242,177,52,.55), 0 0 36px rgba(242,177,52,.25); }
  50% { text-shadow: 0 0 22px rgba(242,177,52,.85), 0 0 56px rgba(242,177,52,.4); }
}
@media (prefers-reduced-motion: reduce) { body .hero__kicker, body:not(.locked) .hero__kicker { animation: none; text-shadow: 0 0 14px rgba(242,177,52,.55); } }
.hero__names { font-family: var(--display); font-weight: 400; font-size: clamp(64px, 12vw, 140px); line-height: .9; letter-spacing: .01em; margin: 10px 0 6px; }
.hero__names span { color: var(--accent); display: inline-block; transform: rotate(-6deg); }
.hero__tour { font-size: 15px; font-weight: 700; letter-spacing: .25em; text-transform: uppercase; color: var(--muted); }
/* Se lee como una frase: "Sábado · 16:30 · Hacienda El Terrero" y debajo "Los Realejos, Tenerife" */
.hero__meta { margin: 28px 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hero__when { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 14px; font-family: var(--display); font-size: 32px; line-height: 1.15; letter-spacing: .04em; }
.hero__when span { white-space: nowrap; }
.hero__when i { font-style: normal; color: var(--accent); }
@media (max-width: 560px) { .hero__when { flex-direction: column; align-items: center; } .hero__when i { display: none; } }
.hero__where { margin-top: 4px; font-size: 15px; color: var(--muted); text-transform: uppercase; letter-spacing: .14em; }
.hero__text { container-type: inline-size; min-width: 0; }
.hero__date {
  /* Siempre en una línea: el tamaño se adapta al ancho de la columna */
  white-space: nowrap;
  font-family: var(--display); font-size: min(112px, 20cqi); line-height: .95; letter-spacing: .03em;
  color: var(--accent-2); margin-top: 22px; text-shadow: 0 4px 30px rgba(242,177,52,.25);
}

.countdown { display: flex; gap: 12px; }
.countdown div { background: var(--bg-2); border: 1px solid var(--line); border-radius: 8px; padding: 10px 6px; min-width: 72px; text-align: center; display: grid; }
.countdown b { font-family: var(--display); font-weight: 400; font-size: 38px; line-height: 1; color: var(--accent-2); }
.countdown span { font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }

/* ---- Tocadiscos (SVG) ---- */
.deck { width: 100%; height: auto; display: block; border-radius: 16px; box-shadow: 0 30px 80px rgba(0,0,0,.65); }
.deck__spin { transform-box: fill-box; transform-origin: center; will-change: transform; animation: spin var(--rpm, 1.8s) linear infinite; }
.deck.stopped .deck__spin { animation-play-state: paused; }
/* El brazo gira sobre su pivote: fuera del disco cuando está parado */
.deck__arm { transform-box: view-box; transform-origin: 700px 125px; transition: transform 1.4s cubic-bezier(.5, 0, .2, 1); }
.deck.stopped .deck__arm { transform: rotate(-15deg); }
.deck.is45:not(.stopped) .deck__arm { transform: rotate(19deg); } /* aguja sobre el single */

/* LP 12" ↔ single 7" */
.deck__disc, .deck__labelscale { transform-box: fill-box; transform-origin: center; transition: transform .8s cubic-bezier(.5, 0, .2, 1); }
.deck.is45 .deck__disc { transform: scale(.6); }
.deck.is45 .deck__labelscale { transform: scale(.86); }
.deck__adapter-on { opacity: 0; transition: opacity .4s; }
.deck.is45 .deck__adapter-on { opacity: 1; transition-delay: .5s; }
.deck__adapter-off { transition: opacity .4s; }
.deck.is45 .deck__adapter-off { opacity: 0; }

/* Etiqueta: portada parado / etiqueta real sonando */
.deck__label-real { opacity: 0; transition: opacity .5s; }
.deck:not(.stopped) .deck__label-real { opacity: 1; }
.deck__real-brand { font: 700 9px var(--body); letter-spacing: .3em; fill: #e2342b; }
.deck__real-artist { font: 400 22px var(--display); letter-spacing: .06em; fill: #111; }
.deck__real-title { font: italic 500 12px var(--body); fill: #333; }
.deck__real-side { font: 400 18px var(--display); letter-spacing: .15em; fill: #111; }
.deck__real-tiny { font: 700 6.5px var(--body); letter-spacing: .14em; fill: #444; }

/* Riquadro "Now playing" con play/pausa (siempre visible) */
.now-playing {
  display: flex; align-items: center; gap: 14px; margin-top: 14px; padding: 10px 16px 10px 10px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; text-align: left;
}
.np-toggle {
  flex: none; width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--accent); color: #fff; display: grid; place-items: center;
  box-shadow: 0 6px 18px rgba(226,52,43,.35); transition: transform .15s, background .2s;
}
.np-toggle:hover { transform: scale(1.06); }
.np-toggle:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; }
.np-toggle svg { width: 22px; height: 22px; fill: currentColor; }
.np-toggle .i-pause, .np-toggle.is-playing .i-play { display: none; }
.np-toggle.is-playing .i-pause { display: block; }
.now-playing:not(.on) .now-playing__eq b { animation-play-state: paused; height: 25%; }
.now-playing:not(.on) small { color: var(--muted); }
.now-playing img { width: 64px; height: 64px; border-radius: 4px; object-fit: cover; box-shadow: 0 6px 18px rgba(0,0,0,.5); }
.now-playing div { display: grid; flex: 1; min-width: 0; }
.now-playing small { font-size: 11px; text-transform: uppercase; letter-spacing: .18em; color: var(--accent); font-weight: 700; }
.now-playing strong { font-family: var(--display); font-weight: 400; font-size: 28px; line-height: 1.05; letter-spacing: .03em; }
.now-playing span { color: var(--muted); font-size: 15px; }
.now-playing__eq { display: flex; align-items: flex-end; gap: 3px; height: 22px; }
.now-playing__eq b { width: 4px; background: var(--accent-2); animation: eq .9s ease-in-out infinite; }
.now-playing__eq b:nth-child(2) { animation-delay: -.3s; }
.now-playing__eq b:nth-child(3) { animation-delay: -.6s; }
.now-playing__eq b:nth-child(4) { animation-delay: -.15s; }
@keyframes eq { 0%, 100% { height: 25%; } 50% { height: 100%; } }
@keyframes fadein { from { opacity: 0; transform: translateY(6px); } }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.deck__strobe { opacity: .9; transition: opacity .4s; }
.deck.stopped .deck__strobe { opacity: .15; }
.deck__pitch { transition: transform .6s ease; }
.deck__btn { cursor: pointer; }
.deck__btn:hover rect:first-child, .deck__btn:focus-visible rect:first-child { fill: #fff; stroke: var(--accent); }
.deck__btn:focus { outline: none; }
.deck__txt { font: 700 11px var(--body); fill: #222; letter-spacing: .06em; }
.deck__txt--s { font-size: 8px; fill: #444; }
.deck__brand { font: 400 20px var(--display); fill: #222; letter-spacing: .05em; }
.deck__label-big { font: 400 44px var(--display); fill: #f3ead8; letter-spacing: .04em; }
.deck__label-small { font: 700 15px var(--body); fill: #f2b134; letter-spacing: .12em; }
.deck__label-tiny { font: 700 8px var(--body); fill: #f3ead8; letter-spacing: .2em; opacity: .8; }
@media (prefers-reduced-motion: reduce) { .deck__spin { animation: none; } .deck__arm { transition: none; } }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 32px; text-align: center; }
  .hero__when, .countdown { justify-content: center; }
  .hero__deck { order: -1; max-width: 460px; width: 100%; margin: 0 auto; }
  .countdown div { min-width: 0; flex: 1; }
}

/* ================= SECCIONES ================= */
section.track, .tracklist { max-width: var(--max); margin: 0 auto; padding: 80px clamp(16px, 4vw, 40px); border-top: 1px solid var(--line); }
.section-title, .track__head h2 { font-family: var(--display); font-weight: 400; font-size: clamp(44px, 8vw, 80px); line-height: 1; letter-spacing: .02em; }
.section-title span, .track__head em { display: block; font-family: var(--hand); font-style: normal; font-size: 18px; color: var(--accent); letter-spacing: 0; margin-bottom: 6px; }
.track__head { margin-bottom: 28px; }
.track p { max-width: 62ch; color: var(--ink); margin-bottom: 16px; }
.track p.big { font-family: var(--display); font-size: 40px; line-height: 1.05; color: var(--accent-2); }

.tracklist ol { list-style: none; margin-top: 24px; }
.tracklist a { display: grid; grid-template-columns: 52px 1fr auto; align-items: baseline; gap: 12px; padding: 16px 4px; text-decoration: none; border-bottom: 1px dashed var(--line); transition: background .2s, padding .2s; }
.tracklist a:hover { background: var(--bg-2); padding-left: 14px; }
.tracklist em { font-style: normal; color: var(--accent); font-weight: 700; }
.tracklist span { font-size: clamp(18px, 3vw, 24px); font-weight: 500; }
.tracklist i { font-style: normal; color: var(--muted); font-variant-numeric: tabular-nums; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

.btn {
  display: inline-block; margin-top: 8px; padding: 13px 24px; border-radius: 999px; cursor: pointer;
  background: var(--accent); color: #fff; border: 2px solid var(--accent);
  font: 700 14px var(--body); letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
  transition: transform .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--bg); }

.map { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/3; background: var(--bg-2); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }

/* Portadas (alojamiento) */
.covers { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; margin-top: 28px; }
.cover h3 { font-family: var(--display); font-weight: 400; font-size: 28px; letter-spacing: .03em; margin-top: 14px; }
.cover p { color: var(--soft); font-size: 18px; line-height: 1.6; }
.cover__art {
  aspect-ratio: 1; border-radius: 6px; position: relative; overflow: hidden;
  display: grid; place-items: end start; padding: 14px; box-shadow: 0 14px 40px rgba(0,0,0,.5);
  background-size: cover; background-position: center;
}
.cover__art span { font-family: var(--hand); font-size: 22px; color: var(--ink); text-shadow: 0 2px 8px rgba(0,0,0,.5); position: relative; }
/* Placeholder: cuando tengáis fotos, sustituir por background-image: url(../fotos/alojamiento/hotel1.jpg) */
.cover__art--1 { background-image: radial-gradient(circle at 70% 30%, var(--accent-2) 0 18%, transparent 19%), linear-gradient(160deg, #e2342b, #6b1410); }
.cover__art--2 { background-image: repeating-linear-gradient(45deg, #0768a9 0 18px, #0a4d7c 18px 36px); }
.cover__art--3 { background-image: radial-gradient(circle at 30% 70%, #f3ead8 0 22%, transparent 23%), linear-gradient(200deg, #2c6e49, #12301f); }

.ticks { list-style: none; display: grid; gap: 14px; }
.ticks li { background: var(--bg-2); border: 1px solid var(--line); border-left: 4px solid var(--accent); padding: 14px 18px; border-radius: 6px; }

.iban { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 12px; padding: 22px; background: var(--bg-2); border: 1px dashed var(--muted); border-radius: 12px; max-width: 640px; }
.iban small { display: block; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; font-size: 12px; }
.iban code { font-size: clamp(16px, 3.6vw, 22px); letter-spacing: .06em; word-break: break-all; }

.faq { display: grid; gap: 12px; max-width: 800px; }
.faq details { background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--display); font-size: 28px; line-height: .8; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--soft); font-size: 18px; padding-bottom: 20px; margin: 0; }

.sub { font-family: var(--display); font-weight: 400; font-size: 36px; letter-spacing: .03em; margin: 48px 0 10px; }
.tour { list-style: none; max-width: 760px; border-top: 1px solid var(--line); }
.tour li { display: grid; grid-template-columns: 120px 1fr auto; gap: 16px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); }
.tour b { font-family: var(--display); font-weight: 400; font-size: 34px; color: var(--accent-2); line-height: 1; }
.tour em { font-style: normal; font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
@media (max-width: 560px) { .tour li { grid-template-columns: 70px 1fr; } .tour em { grid-column: 2; } }
.track p.note { color: var(--soft); font-size: 17px; margin-top: 22px; }

.tbd { background: rgba(242,177,52,.15); color: var(--accent-2); padding: 0 6px; border-radius: 4px; font-weight: 500; }

/* ================= FOOTER ================= */
.footer { text-align: center; padding: 80px 16px 60px; border-top: 1px solid var(--line); }
.vinyl--small { width: 90px; margin: 0 auto 20px; }
.footer__bonus { font-family: var(--hand); color: var(--accent); font-size: 20px; }
.footer__line { font-family: var(--display); font-size: clamp(36px, 7vw, 64px); line-height: 1; margin: 8px 0 16px; }
.footer__date { font-family: var(--display); font-size: clamp(64px, 12vw, 120px); line-height: 1; color: var(--accent-2); letter-spacing: .03em; margin: 10px 0 12px; }
.footer__names { color: var(--muted); letter-spacing: .2em; text-transform: uppercase; font-size: 15px; }

/* ================= ANIMACIÓN AL HACER SCROLL ================= */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ================= FORMULARIOS: RSVP + SLIDESHOW ================= */
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Botón RSVP del menú */
.nav__links a.nav__cta { background: var(--accent); color: #fff; padding: 7px 16px; border-radius: 999px; box-shadow: none; }
.nav__links a.nav__cta:hover, .nav__links a.nav__cta.active { background: #f04a40; color: #fff; box-shadow: none; }

/* Botones */
.btn--big { font-size: 15px; padding: 16px 30px; }
.btn--sm { font-size: 12px; padding: 9px 16px; }
.btn:disabled { opacity: .55; cursor: default; transform: none; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 26px; }
.hero__cta small { color: var(--muted); font-size: 14px; letter-spacing: .06em; }
@media (max-width: 820px) { .hero__cta { justify-content: center; } }
.linklike { background: none; border: 0; padding: 0; color: var(--muted); font: inherit; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.linklike:hover { color: var(--ink); }
.track p a, .faq p a, .cover p a { color: var(--accent-2); }

/* Campos */
.rsvp input:not([type="radio"]):not([type="checkbox"]), .rsvp select, .rsvp textarea, .gate input {
  width: 100%; background: var(--bg); color: var(--ink); border: 1px solid rgba(243,234,216,.25); border-radius: 8px;
  padding: 12px 14px; font: 400 17px var(--body); transition: border-color .2s, box-shadow .2s;
}
.rsvp input:focus, .rsvp select:focus, .rsvp textarea:focus, .gate input:focus { outline: none; border-color: var(--accent-2); box-shadow: 0 0 0 3px rgba(242,177,52,.18); }
.rsvp textarea { resize: vertical; }
.rsvp input::placeholder, .rsvp textarea::placeholder, .gate input::placeholder { color: #8d8576; }
.rsvp select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 14px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: 14px; font-weight: 700; color: var(--soft); letter-spacing: .02em; }
.field--short { max-width: 160px; }

/* Acceso con la banda */
.gate { max-width: 560px; margin-top: 26px; padding: 24px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; display: grid; gap: 10px; }
.gate label { font-family: var(--display); font-size: 30px; letter-spacing: .03em; }
.gate__row { display: flex; gap: 10px; }
.gate__row input { flex: 1; min-width: 0; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.gate__row .btn { margin: 0; }
.gate__help { color: var(--muted); font-size: 15px; }
@media (max-width: 480px) { .gate__row { flex-direction: column; } }
.form-msg { min-height: 0; font-size: 16px; font-weight: 500; color: #ff8a80; margin: 0; }
.form-msg:empty { display: none; }
.form-msg[data-kind="info"] { color: var(--muted); }
.form-msg[data-kind="ok"] { color: #8be28b; }
.demo-note { display: inline-block; font-size: 14px !important; color: var(--accent-2) !important; border: 1px dashed var(--accent-2); border-radius: 8px; padding: 8px 12px; }

/* Bienvenida */
.unlocked { margin-top: 26px; max-width: 760px; }
.welcome { padding: 20px 22px; border-left: 4px solid var(--accent); background: var(--bg-2); border-radius: 0 12px 12px 0; margin-bottom: 20px; }
.track .welcome p { margin: 0; }
.welcome__hello { font-family: var(--display); font-size: 36px; line-height: 1.1; letter-spacing: .02em; }
.welcome__band { color: var(--soft); margin: 4px 0 10px !important; }
.welcome__band strong { color: var(--accent-2); letter-spacing: .06em; }
.note-prev { font-size: 15px; color: var(--accent-2) !important; }

/* Preguntas */
.rsvp { display: grid; gap: 18px; }
.q { border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px 20px; display: grid; gap: 12px; background: rgba(28,25,24,.6); }
.q legend { font-family: var(--display); font-size: 26px; letter-spacing: .03em; padding: 0 8px; margin-left: -8px; }
.q__help { color: var(--muted); font-size: 15px; margin-top: -6px; }
.q__sub { font-weight: 700; color: var(--soft); margin: 4px 0 -4px !important; font-size: 15px; }
.q--grid { grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .q--grid { grid-template-columns: 1fr; } }
.if-yes, .if-answer { display: grid; gap: 18px; }
.privacy { color: var(--muted); font-size: 14px; }

/* Opciones tipo "píldora" */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 11px 18px; border-radius: 999px; border: 1px solid rgba(243,234,216,.3); font-weight: 700; font-size: 16px; transition: background .2s, border-color .2s, color .2s; }
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.chips--sm .chip span { padding: 8px 14px; font-size: 14px; }
.check { display: flex; align-items: center; gap: 12px; cursor: pointer; font-size: 17px; }
.check input { width: 22px; height: 22px; accent-color: var(--accent); flex: none; }

/* Fichas de personas */
.people { display: grid; gap: 12px; }
.person { border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; background: var(--bg); }
.person__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.person__n { font-family: var(--display); font-size: 22px; color: var(--accent-2); font-weight: 400; }
.person__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; align-items: end; }
.person__grid .field--wide { grid-column: 1 / -1; }
@media (max-width: 600px) { .person__grid { grid-template-columns: 1fr; } }

/* Mensaje final */
.done { padding: 30px; border: 1px solid var(--accent); border-radius: 14px; background: var(--bg-2); }
.done p.big { margin-bottom: 8px; }

/* Slideshow */
.slide-count { color: var(--soft); }
.slide-count strong { color: var(--accent-2); }
.drop { display: grid; justify-items: center; gap: 6px; padding: 26px 16px; border: 2px dashed rgba(243,234,216,.3); border-radius: 12px; cursor: pointer; text-align: center; font-weight: 700; transition: border-color .2s, background .2s; }
.drop:hover, .drop:focus-within { border-color: var(--accent-2); background: rgba(242,177,52,.06); }
.drop__icon { font-size: 34px; }
.drop small { color: var(--muted); font-weight: 400; }
.drop.is-full { opacity: .5; cursor: not-allowed; }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.thumbs:empty { display: none; }
.thumbs figure { position: relative; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: var(--bg-2); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumbs button { position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(0,0,0,.7); color: #fff; font-size: 18px; line-height: 1; cursor: pointer; }

/* Botón "Confirmar": en móvil va en la barra de arriba (siempre visible), no en el menú deslizable */
.nav > .nav__cta--mobile { display: none; }
@media (max-width: 820px) {
  .nav > .nav__cta--mobile {
    display: inline-block; margin: 0 92px 0 auto; background: var(--accent); color: #fff; text-decoration: none;
    padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  }
  .nav__links a.nav__cta { display: none; }
}

/* Saludo personalizado en la pantalla de idioma (invitación reconocida) */
.intro__guest { display: grid; gap: 2px; margin: -6px 0 16px; animation: guest-in .7s ease both; }
.intro__guest small { font-size: 13px; font-weight: 700; letter-spacing: .25em; text-transform: uppercase; color: var(--muted); }
.intro__guest strong { font-family: var(--display); font-weight: 400; font-size: clamp(28px, 6vw, 40px); line-height: 1.05; letter-spacing: .04em; color: var(--ink); }
@keyframes guest-in { from { opacity: 0; transform: translateY(8px); } }

/* ================= PORTADAS DE LP (Alojamiento) =================
   Foto en blanco y negro + dos capas de color = efecto "duotono" de disco de los 70.
   --lp-dark tiñe las sombras, --lp-light las luces. */
.lp {
  --lp-dark: #4a0f0b; --lp-light: #f7c46a; --lp-ink: #fff4dc; --lp-accent: #e2342b;
  position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 4px;
  box-shadow: 0 18px 40px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,255,255,.08);
  background: var(--lp-dark);
}
.lp--hotel { --lp-dark: #0c2742; --lp-light: #f3ead8; --lp-ink: #fff8ea; --lp-accent: #f2b134; }

.lp__photos { position: absolute; inset: 0; isolation: isolate; }
.lp__photos img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.15) brightness(1.05);
  opacity: 0; transform: scale(1.06); transition: opacity 1.6s ease, transform 7s ease-out;
}
.lp__photos img.is-on { opacity: 1; transform: scale(1); }
.lp__photos::before, .lp__photos::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.lp__photos::before { background: var(--lp-dark); mix-blend-mode: lighten; }
.lp__photos::after { background: var(--lp-light); mix-blend-mode: multiply; }

/* Grano de papel y desgaste de los bordes */
.lp__grain {
  position: absolute; inset: 0; pointer-events: none; opacity: .32; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.lp::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 40px rgba(0,0,0,.45), inset 0 0 0 6px rgba(255,255,255,.03);
  background: radial-gradient(circle at 96% 4%, rgba(255,255,255,.18), transparent 12%);
}

/* Tipografía de portada */
.lp__type { position: absolute; inset: 0; padding: 7% 7% 6%; display: flex; flex-direction: column; justify-content: space-between; color: var(--lp-ink); }
.lp__top { display: flex; justify-content: space-between; font: 700 11px var(--body); letter-spacing: .28em; text-transform: uppercase; text-shadow: 0 1px 6px rgba(0,0,0,.4); }
.lp__top span:last-child { border: 1px solid currentColor; padding: 2px 6px; letter-spacing: .2em; }
.lp__bottom { display: grid; gap: 4px; }
.lp__stripes { display: block; width: 46%; height: 14px; margin-bottom: 8px;
  background: linear-gradient(var(--lp-accent) 0 30%, transparent 30% 40%, var(--lp-light) 40% 65%, transparent 65% 75%, var(--lp-ink) 75%); }
.lp__title {
  font-family: var(--display); font-weight: 400; font-size: clamp(38px, 9vw, 58px); line-height: .86; letter-spacing: .02em; text-transform: uppercase;
  text-shadow: 3px 3px 0 var(--lp-accent), 0 4px 18px rgba(0,0,0,.45);
}
.lp__sub { display: flex; justify-content: space-between; gap: 8px; font: 700 11px var(--body); letter-spacing: .18em; text-transform: uppercase; opacity: .92; }
.lp__sub b { font-weight: 700; opacity: .75; }
.lp__sticker {
  position: absolute; top: 20%; right: 6%; width: 88px; height: 88px; border-radius: 50%;
  display: grid; place-items: center; text-align: center; transform: rotate(14deg);
  background: var(--lp-accent); color: #fff; font: 400 18px/1 var(--display); letter-spacing: .06em; text-transform: uppercase;
  box-shadow: 0 6px 16px rgba(0,0,0,.4), inset 0 0 0 3px rgba(255,255,255,.25);
}
.lp--hotel .lp__sticker { color: #1a1300; }

@media (prefers-reduced-motion: reduce) { .lp__photos img { transition: none; transform: none; } }

/* Ajustes: el texto de la portada escala con el tamaño de la portada (cqi = % del ancho) */
.lp { container-type: inline-size; }
.lp--hotel { --lp-dark: #0b2350; --lp-light: #a6dbee; }
.lp__type { padding: 7cqi 7cqi 6cqi; }
.lp__top { font-size: clamp(8px, 2.9cqi, 12px); }
.lp__title { font-size: 15.5cqi; text-shadow: .6cqi .6cqi 0 var(--lp-accent), 0 4px 18px rgba(0,0,0,.45); }
.lp__stripes { height: 3.6cqi; margin-bottom: 2.4cqi; }
.lp__sub { font-size: clamp(7px, 2.6cqi, 11px); white-space: nowrap; }
.lp__sticker { width: 24cqi; height: 24cqi; font-size: 4.8cqi; top: 19%; }

/* ===== Formulario v2: asistentes en líneas, info de alojamiento ===== */
.unlocked { max-width: 980px; }
.ptable { display: grid; gap: 8px; }
.prow { display: grid; grid-template-columns: 26px minmax(150px, 1.4fr) 205px 64px minmax(150px, 1fr) minmax(140px, 1fr); gap: 10px; align-items: center; }
.prow--head { font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: .04em; padding-bottom: 2px; border-bottom: 1px solid var(--line); }
.prow__n { font-family: var(--display); font-size: 22px; color: var(--accent-2); text-align: center; }
.prow .field { gap: 0; }
.prow__lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.prow input, .prow select { padding: 10px 12px !important; font-size: 16px !important; }
.prow__eta.is-off { visibility: hidden; }
.people { display: grid; gap: 8px; }
@media (max-width: 900px) {
  /* En pantallas estrechas cada persona es una ficha con sus etiquetas */
  .prow--head { display: none; }
  .prow { grid-template-columns: 1fr 1fr; gap: 8px 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); align-items: end; }
  .prow__n { grid-column: 1 / -1; text-align: left; }
  .prow .field { gap: 4px; }
  .prow__lbl { position: static; width: auto; height: auto; clip: auto; font-size: 13px; font-weight: 700; color: var(--soft); }
  .prow .field:nth-of-type(1), .prow .field:nth-of-type(5) { grid-column: 1 / -1; }
  .prow__eta.is-off { display: none; }
}

/* Mensaje de lista de asistentes: texto, no botón */
.people-status { margin: 4px 0 0 !important; font-size: 16px; color: var(--soft); }
.people-status:empty { display: none; }
.people-status.is-full { color: #8be28b; font-weight: 700; font-size: 18px; }

/* Información de alojamiento dentro del formulario */
.q__info { display: grid; gap: 10px; font-size: 16px; line-height: 1.6; color: var(--soft); }
.q__info p { margin: 0 !important; color: var(--soft) !important; max-width: none !important; }
.q__info .opt { padding: 12px 14px; border-left: 3px solid var(--accent-2); background: var(--bg); border-radius: 0 8px 8px 0; }
.q__info .opt b { display: block; color: var(--ink); font-family: var(--display); font-weight: 400; font-size: 22px; letter-spacing: .03em; margin-bottom: 2px; }
.q__info strong { color: var(--ink); }
.chips--col { flex-direction: column; align-items: flex-start; }

/* ===== Pantalla de idioma: portada de LP con vuestra foto y el disco asomando ===== */
.intro__album { position: relative; width: min(230px, 50vw); aspect-ratio: 1; margin: 0 auto 30px; transform: translateX(-20%); }
.intro__album .vinyl--intro {
  position: absolute; top: 3%; left: 3%; width: 94%; margin: 0; z-index: 1;
  animation: spin 2.5s linear infinite, disc-out 1.1s cubic-bezier(.3,.7,.2,1) .5s both;
}
@keyframes disc-out { from { left: 3%; } to { left: 42%; } }
.intro__sleeve {
  position: absolute; inset: 0; z-index: 2; border-radius: 4px; overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,.6), 6px 0 18px rgba(0,0,0,.35);
}
.intro__sleeve img { width: 100%; height: 100%; object-fit: cover; display: block; }
.intro__sleeve::after { /* funda de cartón: brillo y bordes un poco gastados */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), inset 0 0 30px rgba(0,0,0,.35);
  background: linear-gradient(115deg, rgba(255,255,255,.14), transparent 40%);
}
@media (prefers-reduced-motion: reduce) { .intro__album .vinyl--intro { animation: none; left: 42%; } }

/* Bandera sugerida (?lang=it): marco rojo que late suavemente */
.flag-btn.is-suggested { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(226,52,43,.35); animation: suggest 1.8s ease-in-out infinite; }
@keyframes suggest { 50% { box-shadow: 0 0 0 7px rgba(226,52,43,.12); } }
@media (prefers-reduced-motion: reduce) { .flag-btn.is-suggested { animation: none; } }

/* ===== Funda del LP (pantalla de idioma): tipografía de portada ===== */
.intro__sleeve { container-type: inline-size; }
.sleeve__type { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: space-between; text-align: left; color: #fff4dc; }
.sleeve__type::before { /* sombra arriba y abajo para que el texto se lea sobre la foto */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(rgba(0,0,0,.45), transparent 22%, transparent 62%, rgba(0,0,0,.78));
}
.sleeve__top { padding: 6cqi 7cqi 0; font: 700 4.4cqi var(--body); letter-spacing: .3em; text-transform: uppercase; text-shadow: 0 1px 4px rgba(0,0,0,.6); }
.sleeve__bottom { padding: 0 7cqi 6cqi; display: grid; gap: 1.5cqi; }
.sleeve__bottom strong { font: 400 14cqi/.9 var(--display); letter-spacing: .02em; text-transform: uppercase; text-shadow: .6cqi .6cqi 0 var(--accent), 0 3px 12px rgba(0,0,0,.5); }
.sleeve__bottom strong i { font-style: normal; color: var(--accent-2); text-shadow: none; }
.sleeve__bottom span { display: flex; justify-content: space-between; align-items: center; gap: 2cqi; font: 700 3.6cqi var(--body); letter-spacing: .16em; text-transform: uppercase; }
.sleeve__bottom em { font-style: normal; opacity: .92; white-space: nowrap; }
.sleeve__bottom b { border: 1px solid currentColor; padding: .4cqi 1.6cqi; letter-spacing: .2em; font-weight: 700; }
.sleeve__sticker { /* pegatina redonda como las de "nuevo disco" */
  position: absolute; top: 4cqi; right: 4cqi; width: 21cqi; height: 21cqi; border-radius: 50%;
  display: grid; place-items: center; text-align: center; transform: rotate(12deg);
  background: var(--accent-2); color: #1a1300; font: 400 5.4cqi/1 var(--display); letter-spacing: .04em;
  box-shadow: 0 4px 12px rgba(0,0,0,.45), inset 0 0 0 2px rgba(255,255,255,.35);
}

/* ===== Foco de escenario detrás del disco (para que no sea negro sobre negro) ===== */
.intro__album::before { /* haz de luz que baja desde arriba a la derecha */
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  left: 20%; top: -95%; width: 130%; height: 220%;
  background: conic-gradient(from 180deg at 55% 0%, transparent 162deg, rgba(255,226,170,.10) 170deg, rgba(255,226,170,.22) 180deg, rgba(255,226,170,.10) 190deg, transparent 198deg);
  filter: blur(6px); transform: rotate(-14deg); transform-origin: 55% 0%;
  animation: spot-sway 7s ease-in-out infinite alternate;
}
.intro__album::after { /* charco de luz detrás del disco */
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  left: 38%; top: -12%; width: 110%; height: 124%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,214,140,.38), rgba(226,52,43,.14) 55%, transparent 100%);
  filter: blur(8px); animation: spot-pulse 3.4s ease-in-out infinite;
}
@keyframes spot-sway { from { transform: rotate(-18deg); } to { transform: rotate(-8deg); } }
@keyframes spot-pulse { 50% { opacity: .75; } }
/* Borde del disco iluminado por el foco */
.intro__album .vinyl--intro { box-shadow: 0 0 0 1.5px rgba(255,230,180,.22), 0 0 38px 6px rgba(255,200,120,.18), 0 20px 50px rgba(0,0,0,.65); }
@media (prefers-reduced-motion: reduce) { .intro__album::before, .intro__album::after { animation: none; } }
/* Ajustes: STEREO dentro de la funda y foco más visible */
.sleeve__bottom span { font-size: 3.2cqi; letter-spacing: .1em; }
.sleeve__bottom em { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.sleeve__bottom b { flex: none; }
.intro__album::before {
  background: conic-gradient(from 180deg at 55% 0%, transparent 158deg, rgba(255,226,170,.16) 168deg, rgba(255,232,190,.38) 180deg, rgba(255,226,170,.16) 192deg, transparent 202deg);
}
.intro__album::after { background: radial-gradient(closest-side, rgba(255,214,140,.6), rgba(226,52,43,.22) 55%, transparent 100%); }

/* Titulares de la cuenta, debajo del IBAN */
.iban__names { display: block; margin-top: 6px; font-size: 15px; color: var(--soft); }
.iban__names span { color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-size: 12px; font-weight: 700; margin-right: 4px; }

/* Botón de Booking bajo la portada del hotel */
.cover__cta { display: grid; justify-items: start; gap: 6px; margin-top: 4px; }
.cover__cta .btn { margin-top: 0; }
.cover__cta small { color: var(--muted); font-size: 13px; }
.cover h3 { line-height: 1.05; }
