/* =========================================================
   KAMARATI · Hoja de estilos
   Colores y tipografías según el Manual de identidad v1.0
   ========================================================= */

:root {
  /* Principales */
  --negro: #000000;
  --oro: #C27A22;
  --rojo: #B3121A;
  /* Apoyo */
  --oro-brillo: #F2B84B;
  --neon: #E3191F;
  --vino: #3A0B0E;
  --carbon: #141011;
  --marfil: #F5ECDD;

  --texto: var(--marfil);
  --texto-suave: rgba(245, 236, 221, .68);
  --linea: rgba(194, 122, 34, .55);
  --linea-suave: rgba(194, 122, 34, .25);

  --f-titulo: "Cinzel", "Times New Roman", serif;
  --f-frase: "Cormorant Garamond", Georgia, serif;
  --f-info: "Jost", system-ui, sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --oro-grad: linear-gradient(160deg, #7a4512 0%, #C27A22 35%, #F2B84B 62%, #C27A22 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--negro);
  color: var(--texto);
  font-family: var(--f-info);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--rojo); color: var(--marfil); }
:focus-visible { outline: 1px solid var(--oro-brillo); outline-offset: 4px; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Tipografía ---------- */
.eyebrow {
  font-family: var(--f-info);
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--oro-brillo);
  margin-bottom: 18px;
}
.eyebrow--muted { color: var(--texto-suave); }
.title {
  font-family: var(--f-titulo);
  font-weight: 500;
  font-size: clamp(30px, 4.4vw, 54px);
  line-height: 1.1;
  letter-spacing: .01em;
}
.title--sm { font-size: clamp(24px, 3vw, 34px); }
.lead {
  font-family: var(--f-frase);
  font-style: italic;
  font-size: clamp(20px, 2.1vw, 25px);
  line-height: 1.4;
  color: var(--texto-suave);
  margin-top: 16px;
}
.quote {
  font-family: var(--f-frase);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(32px, 4.6vw, 58px);
  line-height: 1.12;
}
.quote em { color: var(--oro-brillo); }
.body { color: var(--texto-suave); margin-top: 22px; max-width: 56ch; }
.body strong { color: var(--marfil); font-weight: 500; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--f-info);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: 15px 26px;
  border: 1px solid transparent;
  transition: background .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  white-space: nowrap;
}
.btn--red { background: var(--rojo); color: var(--marfil); box-shadow: 0 0 0 rgba(227,25,31,0); }
.btn--red:hover { background: var(--neon); box-shadow: 0 0 28px rgba(227, 25, 31, .45); }
.btn--outline { background: transparent; border-color: var(--linea); color: var(--marfil); }
.btn--outline:hover { border-color: var(--oro-brillo); color: var(--oro-brillo); }
.btn--ghost { color: var(--texto-suave); border-color: rgba(245,236,221,.18); }
.btn--ghost:hover { color: var(--marfil); border-color: rgba(245,236,221,.4); }
.btn--sm { padding: 10px 18px; font-size: 12px; }
.btn--lg { padding: 18px 32px; font-size: 14px; }
.ico { width: 20px; height: 20px; flex: none; }
.btn--sm .ico { width: 16px; height: 16px; }

.link-arrow {
  font-family: var(--f-info); font-weight: 500;
  font-size: 13px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--marfil);
  display: inline-flex; gap: 10px; align-items: center;
}
.link-arrow span { color: var(--oro-brillo); transition: transform .3s var(--ease); }
.link-arrow:hover span { transform: translateX(6px); }

/* ---------- Aviso +18 ---------- */
.agegate {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  padding: 24px 16px;
  background:
    radial-gradient(ellipse at center, rgba(90, 14, 20, .55), transparent 65%),
    rgba(0, 0, 0, .96);
  backdrop-filter: blur(6px);
  overflow-y: auto;
  transition: opacity .6s var(--ease), visibility .6s;
}
.agegate.is-hidden { opacity: 0; visibility: hidden; }
.agegate__inner {
  max-width: 520px; text-align: center;
  border: 1px solid var(--linea);
  padding: clamp(32px, 6vw, 56px) clamp(20px, 5vw, 48px);
  background: rgba(0,0,0,.6);
}
.agegate__logo { width: 170px; margin: 0 auto 22px; filter: drop-shadow(0 0 30px rgba(227,25,31,.25)); }
.agegate__title { font-family: var(--f-titulo); font-weight: 500; font-size: clamp(26px, 4vw, 34px); line-height: 1.15; }
.agegate__text { color: var(--texto-suave); margin: 16px auto 28px; max-width: 38ch; }
.agegate__actions { display: flex; flex-direction: column; gap: 12px; }
.agegate__actions .btn { white-space: normal; }
.agegate__small { margin-top: 20px; font-size: 13px; color: rgba(245,236,221,.45); }
.agegate__small a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Cabecera ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  transition: background .4s var(--ease), border-color .4s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled { background: rgba(0, 0, 0, .86); backdrop-filter: blur(10px); border-bottom-color: var(--linea-suave); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header__brand img { width: 150px; }
.nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 34px); }
.nav a:not(.btn) {
  font-weight: 500; font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--texto-suave);
  position: relative; padding: 6px 0;
  transition: color .3s;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px;
  background: var(--oro); transition: right .35s var(--ease);
}
.nav a:not(.btn):hover { color: var(--marfil); }
.nav a:not(.btn):hover::after { right: 0; }
.burger { display: none; background: none; border: 0; width: 44px; height: 44px; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1px; background: var(--marfil); transition: transform .35s var(--ease), top .35s; }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 90px;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; transform: scale(1.06); animation: slowzoom 22s ease-in-out infinite alternate; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.94) 0%, rgba(0,0,0,.78) 38%, rgba(0,0,0,.35) 70%, rgba(0,0,0,.6) 100%),
    linear-gradient(0deg, #000 0%, transparent 30%);
}
.hero__inner { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 40px; }
.hero__title {
  font-family: var(--f-titulo); font-weight: 500;
  font-size: clamp(40px, min(6.6vw, 10.5vh), 88px);
  line-height: 1.02; letter-spacing: .01em;
  text-transform: uppercase;
  max-width: 11ch;
}
.hero__lead { font-family: var(--f-frase); font-style: italic; font-size: clamp(22px, 2.4vw, 30px); color: var(--texto-suave); margin-top: 22px; max-width: 26ch; line-height: 1.3; }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 30px; margin-top: 30px; }
.hero__fine { margin-top: 18px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(245,236,221,.45); }
.hero__mark { position: relative; justify-self: center; width: min(100%, 500px); aspect-ratio: 1; display: grid; place-items: center; }
.hero__mark img { position: relative; width: 100%; filter: drop-shadow(0 20px 60px rgba(0,0,0,.8)); animation: float 7s ease-in-out infinite; }
.neon-ring {
  position: absolute; width: 74%; aspect-ratio: 1; border-radius: 50%;
  top: 5%; left: 13%;
  box-shadow: 0 0 80px 10px rgba(227, 25, 31, .25), inset 0 0 60px rgba(227,25,31,.15);
  animation: flicker 6s infinite;
}
.hero__scroll { position: absolute; left: 50%; bottom: 26px; width: 1px; height: 54px; background: var(--linea-suave); overflow: hidden; }
.hero__scroll span { position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--oro-brillo); animation: drip 2.4s var(--ease) infinite; }

.status {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: 28px; padding: 9px 16px;
  border: 1px solid var(--linea-suave);
  background: rgba(0,0,0,.45);
  font-size: 13px; letter-spacing: .08em;
  color: var(--marfil);
}
.status__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--oro); flex: none; }
.status.is-open .status__dot { background: var(--neon); box-shadow: 0 0 0 0 rgba(227,25,31,.7); animation: pulse 1.8s infinite; }
.status strong { font-weight: 500; color: var(--oro-brillo); }

/* ---------- Franja ---------- */
.ribbon { border-block: 1px solid var(--linea-suave); background: var(--carbon); overflow: hidden; padding: 16px 0; }
.ribbon__track { display: flex; width: max-content; gap: 36px; align-items: center; animation: marquee 34s linear infinite; }
.ribbon span { font-family: var(--f-titulo); font-size: 19px; letter-spacing: .18em; text-transform: uppercase; color: var(--marfil); }
.ribbon span.red { color: var(--neon); }
.ribbon i { font-style: normal; color: var(--oro); font-size: 12px; }

/* ---------- Secciones ---------- */
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.section__head { max-width: 760px; margin-bottom: clamp(44px, 6vw, 72px); }
.section__head--center { text-align: center; margin-inline: auto; }

/* Texto justificado */
.body, .lead, .pillar p, .step p, .rule p, .qa p, .includes__note, .themes__more,
.review blockquote, .agegate__text {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto; -webkit-hyphens: auto;
}
.section__head--center .lead { text-align: center; }

/* La casa */
.casa__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: end; }
.pillars { display: grid; gap: 0; }
.pillar { border-top: 1px solid var(--linea); padding: 26px 0; display: grid; grid-template-columns: 54px 1fr; column-gap: 12px; }
.pillar:last-child { border-bottom: 1px solid var(--linea); }
.pillar__num { grid-row: span 2; font-family: var(--f-titulo); color: var(--oro); font-size: 24px; line-height: 1.2; }
.pillar h3 { font-family: var(--f-titulo); font-weight: 500; font-size: 22px; letter-spacing: .04em; }
.pillar p { color: var(--texto-suave); margin-top: 4px; font-size: 16px; }

/* Noches */
.noches { background: linear-gradient(180deg, #000 0%, var(--carbon) 100%); }
.nights { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.night {
  --card-bg: #000;
  position: relative;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background: var(--card-bg);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
/* Marco dorado por encima de la foto */
.night::before {
  content: ""; position: absolute; inset: 12px; z-index: 2;
  border: 1px solid var(--linea); pointer-events: none;
}
@media (hover: hover) {
  .night:hover { transform: translateY(-6px); box-shadow: 0 30px 60px rgba(0,0,0,.6); }
  .night:hover .night__media img { transform: scale(1.05); }
}
.night--wine { --card-bg: #2a080b; }
.night--carbon { --card-bg: var(--carbon); }
.night--feature::before { border-color: var(--oro); }
.night__media { position: relative; width: 100%; aspect-ratio: 3 / 5; overflow: hidden; }
.night__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.night__media::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 38%;
  background: linear-gradient(0deg, var(--card-bg) 0%, transparent 100%);
}
.night[data-day="5"] .night__media img { object-position: 50% 30%; }
.night[data-day="6"] .night__media img { object-position: 50% 35%; }
.night[data-day="0"] .night__media img { object-position: 50% 44%; }
.night[data-day="1"] .night__media img { object-position: 50% 40%; }
.night__body { position: relative; z-index: 1; width: 100%; flex: 1; display: flex; flex-direction: column; align-items: center; padding: 0 26px 32px; margin-top: -28px; }
.night__when { font-size: 10.5px; font-weight: 500; letter-spacing: .16em; white-space: nowrap; text-transform: uppercase; color: var(--oro-brillo); }
.night__name { font-family: var(--f-titulo); font-weight: 600; font-size: clamp(22px, 2vw, 27px); line-height: 1.12; margin-top: 12px; text-transform: uppercase; letter-spacing: .03em; min-height: 2.24em; display: flex; align-items: center; }
.night__line { font-family: var(--f-frase); font-style: italic; color: var(--oro-brillo); font-size: 19px; margin-top: 10px; min-height: 2.6em; line-height: 1.3; }
.prices { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; margin: 20px 0 24px; border-block: 1px solid var(--linea-suave); padding: 14px 0; }
.prices div + div { border-left: 1px solid var(--linea-suave); }
.prices dt { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--texto-suave); }
.prices dd { font-family: var(--f-titulo); font-size: 22px; color: var(--marfil); margin-top: 2px; }
.prices div { padding-inline: 8px; }
.prices dd.prices__free { font-size: 17px; letter-spacing: .08em; line-height: calc(22px * 1.65); }
.night .btn { margin-top: auto; width: 100%; font-size: 11.5px; padding-inline: 10px; }
.night__tag {
  position: absolute; z-index: 3; top: 0; left: 50%; transform: translate(-50%, -50%);
  background: var(--rojo); color: var(--marfil);
  font-size: 10.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
  padding: 6px 14px;
  display: none;
}
.night.is-today::before { border-color: var(--neon); }
.night.is-today { box-shadow: 0 0 0 1px rgba(227,25,31,.25), 0 0 50px rgba(227,25,31,.18); }
.night.is-today .night__tag { display: block; }

/* Incluye */
.includes { display: grid; grid-template-columns: 1fr 1.25fr; margin-top: clamp(60px, 8vw, 100px); background: #000; border: 1px solid var(--linea-suave); }
.includes__photo { position: relative; min-height: 320px; }
.includes__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.includes__body { padding: clamp(32px, 5vw, 64px); }
.includes__list { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 28px; }
.includes__list li { display: flex; align-items: center; gap: 14px; font-size: 17px; padding-bottom: 14px; border-bottom: 1px solid var(--linea-suave); }
.includes__list li:last-child { grid-column: 1 / -1; color: var(--oro-brillo); }
.includes__list .ico { width: 26px; height: 26px; color: var(--oro); }
.includes__note { margin-top: 20px; font-size: 13px; color: rgba(245,236,221,.5); }

/* Temáticas */
.themes { margin-top: clamp(60px, 8vw, 90px); }
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chips li { font-family: var(--f-titulo); font-size: 17px; padding: 12px 22px; border: 1px solid var(--linea); }
.chips .chip--red { background: var(--rojo); border-color: var(--rojo); box-shadow: 0 0 24px rgba(227,25,31,.35); }
.chips .chip--link { cursor: pointer; transition: background .3s, box-shadow .3s; }
.chips .chip--link:hover { background: var(--neon); box-shadow: 0 0 30px rgba(227,25,31,.55); }
.chip__date { margin-left: 10px; padding-left: 10px; border-left: 1px solid rgba(245,236,221,.45); font-family: var(--f-info); font-size: 11px; font-weight: 600; letter-spacing: .18em; }
.themes__more { margin-top: 22px; color: var(--texto-suave); }
.themes__more a { color: var(--oro-brillo); white-space: nowrap; }

/* Espacios */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 260px; gap: 14px; }
.space { position: relative; overflow: hidden; cursor: zoom-in; background: var(--carbon); }
.space--wide { grid-column: span 2; }
.space--tall { grid-row: span 2; }
.space:first-child { grid-row: span 2; }
.space img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .8s; filter: brightness(.85); }
.space:hover img { transform: scale(1.05); filter: brightness(1); }
.space::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.85) 0%, transparent 55%); pointer-events: none; }
.space figcaption { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 1; }
.space__name { display: block; font-family: var(--f-titulo); font-size: 22px; letter-spacing: .04em; }
.space__line { display: block; font-family: var(--f-frase); font-style: italic; font-size: 18px; color: var(--oro-brillo); }

/* Primera vez */
.primera { background: var(--vino); }
.primera::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 15% 20%, rgba(179,18,26,.25), transparent 55%); pointer-events: none; }
.primera__grid { position: relative; display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 7vw, 100px); }
.primera__head .title { max-width: 14ch; }
.arrow-gold { width: 200px; height: 16px; margin-top: 34px; }
.steps { display: grid; }
.step { display: grid; grid-template-columns: 72px 1fr; gap: 10px; padding: 26px 0; border-top: 1px solid var(--linea); }
.step:last-child { border-bottom: 1px solid var(--linea); }
.step__num { font-family: var(--f-titulo); font-size: 34px; color: var(--oro); line-height: 1; }
.step h3 { font-family: var(--f-titulo); font-weight: 500; font-size: 22px; letter-spacing: .03em; }
.step p { color: var(--texto-suave); margin-top: 6px; }
.primera__cta { grid-column: 2; }

/* Normas */
.rules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.rule { padding: 34px 26px; background: #000; outline: 1px solid var(--linea); outline-offset: -10px; }
.rule__num { font-size: 11px; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--oro-brillo); }
.rule h3 { font-family: var(--f-titulo); font-weight: 500; font-size: 22px; line-height: 1.2; margin-top: 12px; padding-bottom: 16px; position: relative; }
.rule h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 1px; background: var(--oro); }
.rule p { color: var(--texto-suave); margin-top: 16px; font-size: 15.5px; }

/* Opiniones */
.opiniones { background: var(--carbon); border-top: 1px solid var(--linea-suave); }
.opiniones[hidden] { display: none; }
.title__em { font-family: var(--f-frase); font-style: italic; font-weight: 400; color: var(--oro-brillo); text-transform: none; }
.rating { display: inline-flex; align-items: center; gap: 12px; margin-top: 24px; padding: 10px 18px; border: 1px solid var(--linea); font-size: 14px; letter-spacing: .06em; }
.rating:hover { border-color: var(--oro-brillo); }
.rating__stars, .review__stars { color: var(--oro-brillo); letter-spacing: .12em; }
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.review { background: #000; padding: 32px 28px; outline: 1px solid var(--linea-suave); outline-offset: -10px; display: flex; flex-direction: column; gap: 16px; }
.review blockquote { margin: 0; font-family: var(--f-frase); font-style: italic; font-size: 20px; line-height: 1.4; color: var(--marfil); }
.review figcaption { margin-top: auto; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--texto-suave); }
.reviews__note { margin-top: 28px; text-align: center; font-size: 13px; color: rgba(245,236,221,.5); }

/* Preguntas */
.faq__grid { display: grid; grid-template-columns: .9fr 1.4fr; gap: clamp(40px, 7vw, 100px); }
.faq__head .link-arrow { margin-top: 28px; }
.qa { border-top: 1px solid var(--linea-suave); }
.qa:last-child { border-bottom: 1px solid var(--linea-suave); }
.qa summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0;
  font-family: var(--f-titulo); font-size: clamp(18px, 1.8vw, 21px);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; font-family: var(--f-info); font-weight: 300; font-size: 28px; color: var(--oro); transition: transform .3s var(--ease); flex: none; }
.qa[open] summary::after { transform: rotate(45deg); }
.qa p { padding: 0 0 24px; color: var(--texto-suave); max-width: 60ch; }

/* Reserva */
.reserva { background: linear-gradient(180deg, #000 0%, var(--vino) 100%); border-top: 1px solid var(--linea-suave); }
.reserva__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.reserva__iso { width: 110px; margin-bottom: 26px; }
.reserva__decide { font-family: var(--f-frase); font-style: italic; color: var(--oro-brillo); font-size: clamp(26px, 3vw, 36px); margin: 8px 0 30px; }
.contact { margin-top: 40px; display: grid; gap: 14px; }
.contact li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; font-size: 16px; }
.contact span { font-size: 11px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--oro-brillo); padding-top: 4px; }
.contact a { border-bottom: 1px solid var(--linea-suave); transition: border-color .3s; }
.contact a:hover { border-color: var(--oro-brillo); }
.reserva__map { aspect-ratio: 4 / 3.4; border: 1px solid var(--linea); padding: 10px; background: #000; }
.reserva__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) sepia(.5) hue-rotate(-20deg) saturate(1.4) brightness(.85) contrast(.95); }

/* Pie */
.footer { background: #000; border-top: 1px solid var(--linea-suave); padding: 60px 0 120px; }
.footer__inner { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: 40px; align-items: start; }
.footer__brand img { width: 190px; }
.footer__quote { font-family: var(--f-frase); font-style: italic; font-size: 19px; color: var(--texto-suave); margin-top: 14px; }
.footer__nav { display: grid; gap: 8px; }
.social { display: flex; gap: 12px; margin-top: 20px; }
.social a {
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid var(--linea); color: var(--oro-brillo);
  transition: border-color .3s, color .3s, background .3s;
}
.social a:hover { border-color: var(--oro-brillo); background: rgba(194,122,34,.12); color: var(--marfil); }
.contact .contact__social { font-size: inherit; font-weight: inherit; letter-spacing: 0; text-transform: none; color: inherit; padding: 0; }
.footer__nav a { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--texto-suave); }
.footer__nav a:hover { color: var(--oro-brillo); }
.footer__legal { font-size: 13px; color: rgba(245,236,221,.5); display: grid; gap: 6px; }
.footer__legal a:hover { color: var(--marfil); }

/* WhatsApp flotante y barra móvil */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 40;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--rojo); color: var(--marfil);
  box-shadow: 0 10px 30px rgba(0,0,0,.6), 0 0 0 1px rgba(242,184,75,.4);
  transition: transform .3s var(--ease), background .3s, opacity .4s;
  opacity: 0; pointer-events: none; transform: translateY(20px);
}
.wa-float.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.wa-float:hover { background: var(--neon); transform: scale(1.06); }
.wa-float .ico { width: 28px; height: 28px; }
.mobilebar { display: none; }

.swipe-hint { display: none; }

/* Visor */
.lightbox {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(0,0,0,.94);
  display: grid; place-items: center; align-content: center; gap: 16px;
  padding: 60px 16px;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 78vh; width: auto; max-width: 100%; border: 1px solid var(--linea-suave); }
.lightbox__cap { font-family: var(--f-titulo); letter-spacing: .06em; font-size: 20px; text-align: center; }
.lightbox__cap em { display: block; font-family: var(--f-frase); color: var(--oro-brillo); font-size: 18px; letter-spacing: 0; }
.lightbox__close { position: absolute; top: 16px; right: 20px; background: none; border: 0; color: var(--marfil); font-size: 40px; line-height: 1; width: 48px; height: 48px; }

/* ---------- Selector de idioma ---------- */
.nav { margin-left: auto; }
.lang { display: inline-flex; align-items: center; gap: 2px; font-size: 12px; font-weight: 500; letter-spacing: .14em; color: rgba(245,236,221,.35); }
.lang button {
  background: none; border: 0; padding: 8px 6px; min-width: 34px; min-height: 34px;
  font: inherit; letter-spacing: inherit; color: var(--texto-suave); cursor: pointer;
  border-bottom: 1px solid transparent; transition: color .3s, border-color .3s;
}
.lang button:hover { color: var(--marfil); }
.lang button[aria-pressed="true"] { color: var(--oro-brillo); border-bottom-color: var(--oro-brillo); font-weight: 600; }
.lang--header { position: relative; z-index: 2; padding-left: 14px; border-left: 1px solid var(--linea-suave); }
.lang--gate { position: absolute; top: 14px; right: 16px; }
.agegate__inner { position: relative; }

/* ---------- Fiestas ---------- */
.fiestas { background: linear-gradient(180deg, var(--carbon) 0%, #000 100%); border-top: 1px solid var(--linea-suave); }
.events { display: grid; grid-template-columns: 1fr; gap: 18px; max-width: 1000px; }
.event { display: grid; grid-template-columns: 150px minmax(0, 1fr) 210px; align-items: center; background: #000; border: 1px solid var(--linea); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
@media (hover: hover) { .event:hover { transform: translateY(-6px); box-shadow: 0 30px 60px rgba(0,0,0,.6); } }
.event__flyer { display: block; width: 100%; height: 100%; min-height: 188px; padding: 0; border: 0; border-right: 1px solid var(--linea-suave); background: var(--carbon); cursor: zoom-in; overflow: hidden; }
.event__flyer img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.event__flyer:hover img { transform: scale(1.04); }
.event__body { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 22px 26px; align-items: center; }
.event__date { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 72px; border: 1px solid var(--oro); color: var(--oro-brillo); }
.event__day { font-family: var(--f-titulo); font-size: 30px; line-height: 1; color: var(--marfil); }
.event__month { font-size: 11px; font-weight: 600; letter-spacing: .2em; margin-top: 4px; }
.event__badge { font-size: 10.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--neon); }
.event--tematica .event__badge { color: var(--oro-brillo); }
.event__title { font-family: var(--f-titulo); font-weight: 600; font-size: clamp(20px, 2vw, 25px); line-height: 1.15; text-transform: uppercase; margin-top: 6px; }
.event__line { font-family: var(--f-frase); font-style: italic; color: var(--oro-brillo); font-size: 18px; margin-top: 6px; line-height: 1.3; }
.event__meta { font-size: 13.5px; color: var(--texto-suave); margin-top: 10px; }
.event__price { font-size: 13.5px; color: var(--marfil); margin-top: 2px; }
.event__actions { display: grid; grid-template-columns: 1fr; gap: 10px; padding: 22px 26px 22px 0; }
.event__actions .btn { padding-inline: 10px; font-size: 12px; }
.flyer-ph { width: 100%; height: 100%; display: grid; place-content: center; justify-items: center; gap: 18px; padding: 24px; text-align: center;
  background: radial-gradient(ellipse at 50% 40%, #6b1218 0%, var(--vino) 55%, #000 100%); }
.flyer-ph img { width: 120px; height: auto; }
.flyer-ph span { font-family: var(--f-titulo); font-size: 24px; text-transform: uppercase; color: var(--marfil); }
.events-empty { display: flex; align-items: center; gap: 28px; padding: 34px clamp(22px, 4vw, 44px); border: 1px solid var(--linea-suave); background: #000; }
.events-empty[hidden] { display: none; }
.events-empty img { width: 90px; flex: none; }
.events-empty__title { font-family: var(--f-titulo); font-size: clamp(20px, 2.2vw, 26px); }
.events-empty__text { color: var(--texto-suave); margin: 6px 0 14px; }
.contact .contact__value { font-size: inherit; font-weight: inherit; letter-spacing: 0; text-transform: none; color: inherit; padding: 0; }

/* ---------- Ficha / pop-up de fiesta ---------- */
.evmodal { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 24px 16px; opacity: 0; transition: opacity .3s var(--ease); }
.evmodal[hidden] { display: none; }
.evmodal.is-open { opacity: 1; }
.evmodal__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.86); backdrop-filter: blur(6px); }
.evmodal__panel {
  position: relative; width: min(980px, 100%); height: min(720px, calc(100vh - 48px)); height: min(720px, calc(100dvh - 48px));
  display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); grid-template-rows: minmax(0, 1fr);
  background: #000; border: 1px solid var(--linea); box-shadow: 0 40px 120px rgba(0,0,0,.8), 0 0 60px rgba(179,18,26,.15);
  transform: translateY(18px) scale(.98); transition: transform .4s var(--ease);
  overflow: hidden;
}
.evmodal.is-open .evmodal__panel { transform: none; }
.evmodal__close {
  position: absolute; top: 10px; right: 10px; z-index: 3; width: 44px; height: 44px;
  background: rgba(0,0,0,.6); border: 1px solid var(--linea-suave); color: var(--marfil); font-size: 28px; line-height: 1;
}
.evmodal__close:hover { border-color: var(--oro-brillo); color: var(--oro-brillo); }
.evmodal__media { background: radial-gradient(ellipse at 50% 40%, #2a080b, #000 75%); display: grid; place-items: center; min-height: 0; }
.evmodal__media { position: relative; overflow: hidden; height: 100%; }
.evmodal__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.evmodal__media .flyer-ph { min-height: 420px; }
.evmodal__body { scrollbar-width: thin; scrollbar-color: var(--oro) transparent; padding: clamp(28px, 4vw, 44px) clamp(22px, 3.4vw, 40px); overflow-y: auto; overscroll-behavior: contain; }
.evmodal__body .eyebrow { margin-bottom: 10px; color: var(--neon); }
.ev-title { font-family: var(--f-titulo); font-weight: 600; font-size: clamp(26px, 3vw, 36px); line-height: 1.1; text-transform: uppercase; padding-right: 36px; }
.ev-when { margin-top: 10px; color: var(--oro-brillo); font-size: 14px; letter-spacing: .06em; }
.ev-line { font-family: var(--f-frase); font-style: italic; font-size: 21px; margin-top: 10px; color: var(--marfil); }
.ev-desc { color: var(--texto-suave); margin-top: 12px; font-size: 15.5px; }
.ev-line[hidden], .ev-desc[hidden], .ev-facts[hidden] { display: none; }
.ev-facts { display: grid; gap: 6px; margin-top: 16px; padding: 14px 0; border-block: 1px solid var(--linea-suave); font-size: 14.5px; }
.ev-facts div { display: grid; grid-template-columns: 96px 1fr; gap: 10px; }
.ev-facts dt { font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--oro-brillo); padding-top: 3px; }

.ev-cta { width: 100%; margin-top: 26px; }
.ev-note { margin-top: 12px; font-size: 13px; color: rgba(245,236,221,.55); text-align: center; }

.nav a { white-space: nowrap; }
@media (max-width: 1360px) and (min-width: 961px) {
  .header__inner { gap: 16px; }
  .nav { gap: 16px; }
  .nav a:not(.btn) { font-size: 11px; letter-spacing: .12em; }
  .header__brand img { width: 130px; }
}
@media (max-width: 1120px) and (min-width: 961px) {
  .nav { gap: 11px; }
  .nav a:not(.btn) { font-size: 10.5px; letter-spacing: .08em; }
  .lang--header { padding-left: 8px; }
}
@media (max-width: 960px) {
  .lang--header { margin-left: auto; border-left: 0; padding-left: 0; }
}
@media (max-width: 760px) {
  .evmodal { padding: 0; place-items: stretch; }
  .evmodal__panel { display: block; width: 100%; height: 100vh; height: 100dvh; border: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
  .evmodal__media { display: block; height: 64vh; height: 64dvh; padding: 14px 14px 0; background: #000; }
  .evmodal__media > img { position: static; display: block; width: 100%; height: 100%; object-fit: contain; }
  .evmodal__media .flyer-ph { min-height: 260px; }
  .evmodal__body { overflow: visible; padding: 22px 20px 40px; }
  .ev-title { padding-right: 0; }
  .evmodal__close { position: fixed; top: 12px; right: 12px; background: rgba(0,0,0,.75); }
  .event { grid-template-columns: 104px minmax(0, 1fr); align-items: stretch; }
  .event__flyer { grid-row: 1 / span 2; min-height: 0; aspect-ratio: auto; }
  .event__body { grid-template-columns: 1fr; gap: 8px; padding: 16px 16px 6px; }
  .event__date { flex-direction: row; gap: 6px; height: auto; width: max-content; padding: 4px 10px; }
  .event__day { font-size: 18px; }
  .event__month { margin-top: 0; }
  .event__title { font-size: 18px; }
  .event__line { font-size: 16px; }
  .event__meta { font-size: 12.5px; margin-top: 6px; }
  .event__actions { grid-template-columns: 1fr 1fr; gap: 8px; padding: 6px 16px 16px; }
  .event__actions .btn { padding: 11px 6px; font-size: 11px; letter-spacing: .12em; }
  .events-empty { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* ---------- Animaciones ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@keyframes slowzoom { from { transform: scale(1.06); } to { transform: scale(1.14) translateX(-1.5%); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes flicker { 0%, 100% { opacity: 1; } 92% { opacity: 1; } 93% { opacity: .55; } 94% { opacity: 1; } 96% { opacity: .7; } 97% { opacity: 1; } }
@keyframes drip { 0% { top: -40%; } 100% { top: 100%; } }
@keyframes nudge { 0%, 100% { transform: none; } 50% { transform: translateX(5px); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(227,25,31,.7); } 70% { box-shadow: 0 0 0 10px rgba(227,25,31,0); } 100% { box-shadow: 0 0 0 0 rgba(227,25,31,0); } }

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

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nights { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
  .rules { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  :root { --header-h: 66px; }
  .burger { display: block; z-index: 2; }
  .nav {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; justify-content: center; gap: 26px;
    background: rgba(0,0,0,.97);
    opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav a:not(.btn) { font-size: 15px; }
  .nav__cta { margin-top: 10px; }
  .header__brand { position: relative; z-index: 2; }

  .hero { padding-bottom: 70px; }
  .hero__inner { grid-template-columns: 1fr; gap: 10px; }
  .hero__mark { order: -1; width: min(50vw, 230px); }
  .hero__bg::after { background: linear-gradient(0deg, rgba(0,0,0,.95) 0%, rgba(0,0,0,.72) 55%, rgba(0,0,0,.55) 100%); }
  .hero__scroll { display: none; }

  .casa__grid, .primera__grid, .faq__grid, .reserva__grid { grid-template-columns: 1fr; }
  .primera__cta { grid-column: 1; }
  .includes { grid-template-columns: 1fr; }
  .includes__photo { min-height: 260px; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .footer__inner { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 640px) {
  .night__name, .night__line { min-height: 0; }
  .night__media { aspect-ratio: 4 / 5; }
  /* Viernes: foto más alta para que se vean la copa y las manos */
  .night[data-day="5"] .night__media { aspect-ratio: 9 / 16; }
  .night[data-day="5"] .night__media img { object-position: 50% 30%; }
  body { font-size: 16px; }
  .header__brand img { width: 124px; }
  .hero__ctas .btn { width: 100%; }
  .nights, .rules { grid-template-columns: 1fr; }
  .includes__list { grid-template-columns: 1fr; }
  .space--wide, .space--tall, .space:first-child { grid-column: auto; grid-row: auto; }
  .contact li { grid-template-columns: 1fr; gap: 2px; }
  .chips { gap: 8px; }
  .chips li { font-size: 13.5px; padding: 9px 12px; }
  .step { grid-template-columns: 50px 1fr; }
  .step__num { font-size: 28px; }
  .status { font-size: 12px; padding: 8px 12px; align-items: flex-start; }
  .status__dot { margin-top: 5px; }
  .section__head { margin-bottom: 36px; }

  /* Galería y opiniones: carrusel deslizable */
  .swipe-hint {
    display: block; margin: -18px 0 16px;
    font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--texto-suave);
  }
  .swipe-hint span { color: var(--oro-brillo); display: inline-block; animation: nudge 1.6s ease-in-out infinite; }
  .opiniones .swipe-hint { text-align: center; }
  .gallery, .reviews {
    display: flex; gap: 12px;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .gallery::-webkit-scrollbar, .reviews::-webkit-scrollbar { display: none; }
  .space, .review { flex: 0 0 84%; scroll-snap-align: start; }
  .space { height: 440px; }
  .js .gallery .reveal, .js .reviews .reveal { opacity: 1; transform: none; }
  .reviews:has(.review:only-child) .review { flex-basis: 100%; }
  .opiniones .swipe-hint:has(+ .reviews .review:only-child) { display: none; }
  .btn--lg { padding: 17px 22px; white-space: normal; text-align: center; }

  .wa-float { display: none; }
  .mobilebar {
    display: block; position: fixed; inset: auto 0 0 0; z-index: 40;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: linear-gradient(0deg, #000 60%, rgba(0,0,0,0));
    transform: translateY(110%); transition: transform .4s var(--ease);
  }
  .mobilebar.is-visible { transform: none; }
  .mobilebar .btn { width: 100%; }
}
