/* ===========================================================
   UP Hotel Velilla — hoja de estilos
   Marca RentitUP: negro #1d1d1b · blanco · dorado #c5993f
   =========================================================== */

:root {
  --ink: #1d1d1b;
  --ink-soft: #373736;
  --gold: #c5993f;
  --gold-dark: #a87f30;
  --gold-soft: #e9d9b6;
  --paper: #ffffff;
  --cream: #f7f5f0;
  --cream-2: #efeae1;
  --muted: #6b6862;
  --line: rgba(29, 29, 27, 0.12);
  --line-light: rgba(255, 255, 255, 0.18);
  --shadow-sm: 0 2px 10px rgba(29, 29, 27, 0.06);
  --shadow-md: 0 14px 40px rgba(29, 29, 27, 0.12);
  --shadow-lg: 0 30px 70px rgba(29, 29, 27, 0.18);
  --header-h: 78px;
  --maxw: 1200px;
  --radius: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ff-head: "Poppins", system-ui, sans-serif;
  --ff-body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--ff-head);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}

.container { width: min(100% - 48px, var(--maxw)); margin-inline: auto; }

/* ---------- Eyebrow + section headings ---------- */
.eyebrow {
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold);
}
.section-head { max-width: 680px; margin-bottom: 3rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::after {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold);
}
.section-head h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  padding: 0.95em 1.9em;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--ff-head);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  border: 1px solid var(--btn-bg);
  border-radius: var(--radius);
  transition: transform 0.35s var(--ease), background 0.3s, color 0.3s, box-shadow 0.3s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn--gold { --btn-bg: var(--gold); --btn-fg: var(--ink); border-color: var(--gold); }
.btn--gold:hover { --btn-bg: var(--gold-dark); }
.btn--outline {
  --btn-bg: transparent; --btn-fg: var(--ink);
  border-color: var(--ink);
}
.btn--outline:hover { --btn-bg: var(--ink); --btn-fg: #fff; }
.btn--ghost-light {
  --btn-bg: transparent; --btn-fg: #fff;
  border-color: rgba(255,255,255,0.55);
  backdrop-filter: blur(4px);
}
.btn--ghost-light:hover { --btn-bg: #fff; --btn-fg: var(--ink); border-color: #fff; }
.btn svg { width: 1.05em; height: 1.05em; }

/* ===========================================================
   HEADER
   =========================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease), box-shadow 0.4s, height 0.4s;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand { display: flex; align-items: center; gap: 0.7rem; color: #fff; transition: color 0.4s; }
.brand__icon {
  width: 38px; height: 40px; flex: none;
  background-color: currentColor;
  -webkit-mask: url("../logo/up-icon.svg") center / contain no-repeat;
  mask: url("../logo/up-icon.svg") center / contain no-repeat;
  transition: background-color 0.4s;
}
.brand__text { font-family: var(--ff-head); font-weight: 600; line-height: 1; }
.brand__text strong { display: block; font-size: 1.18rem; letter-spacing: 0.02em; }
.brand__text span {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  opacity: 0.85;
  font-weight: 500;
  margin-top: 2px;
}

.nav { display: flex; align-items: center; gap: 2rem; }
.nav__links { display: flex; gap: 1.7rem; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  color: #fff;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  position: relative;
  padding: 0.3em 0;
  transition: color 0.3s;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); }

/* Scrolled / solid header */
.site-header.is-solid {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  height: 66px;
}
.site-header.is-solid .brand,
.site-header.is-solid .brand__icon { color: var(--ink); }
.site-header.is-solid .nav__links a { color: var(--ink); }
.site-header.is-solid .btn--ghost-light { --btn-fg: var(--ink); border-color: var(--ink); }
.site-header.is-solid .btn--ghost-light:hover { --btn-fg: #fff; }
.site-header.is-solid .nav-toggle span { background: var(--ink); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px; height: 24px;
  background: none; border: none; padding: 0;
  justify-content: center;
}
.nav-toggle span {
  display: block; height: 2px; width: 100%;
  background: #fff; border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.3s, background 0.4s;
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===========================================================
   HERO
   =========================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: #fff;
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(29,29,27,0.55) 0%, rgba(29,29,27,0.15) 40%, rgba(29,29,27,0.75) 100%);
}
.hero__inner { padding-top: var(--header-h); max-width: 760px; }
.hero__eyebrow {
  font-family: var(--ff-head);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gold-soft);
  display: flex; align-items: center; gap: 0.8em;
  margin-bottom: 1.4rem;
}
.hero__eyebrow::before { content: ""; width: 44px; height: 1px; background: var(--gold); }
.hero h1 {
  font-size: clamp(2.7rem, 7vw, 5rem);
  font-weight: 600;
  margin-bottom: 1.1rem;
}
.hero h1 em { font-style: normal; color: #fff; }
.hero__lead {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  max-width: 560px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 2.2rem;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__scroll {
  position: absolute;
  bottom: 1.8rem; left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.8);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
}
.hero__scroll::after {
  content: "";
  width: 1px; height: 42px;
  background: linear-gradient(rgba(255,255,255,0.8), transparent);
  animation: scrollLine 2.2s var(--ease) infinite;
}
@keyframes scrollLine { 0% { opacity: 0; transform: scaleY(0); transform-origin: top; } 50% { opacity: 1; } 100% { opacity: 0; transform: scaleY(1); transform-origin: bottom; } }

/* Quick info bar under hero */
.infobar { background: var(--ink); color: #fff; }
.infobar .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.infobar__item {
  display: flex; align-items: center; gap: 0.9rem;
  padding: 1.4rem 0.5rem;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.infobar__item:last-child { border-right: none; }
.infobar__item svg { width: 26px; height: 26px; color: var(--gold); flex: none; }
.infobar__item b { font-family: var(--ff-head); font-weight: 600; font-size: 0.95rem; display: block; }
.infobar__item span { font-size: 0.82rem; color: rgba(255,255,255,0.65); }

/* ===========================================================
   SECTIONS
   =========================================================== */
.section { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.section--cream { background: var(--cream); }

/* About */
.about__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.about__media { position: relative; }
.about__media img { border-radius: var(--radius); box-shadow: var(--shadow-md); aspect-ratio: 4/5; object-fit: cover; }
.about__media .badge {
  position: absolute;
  bottom: -28px; right: -22px;
  background: var(--gold);
  color: var(--ink);
  padding: 1.3rem 1.6rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  font-family: var(--ff-head);
  text-align: center;
}
.about__media .badge b { display: block; font-size: 2rem; line-height: 1; }
.about__media .badge span { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; }
.about__text h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
.about__text p { color: var(--ink-soft); margin-bottom: 1.2rem; }
.about__features { list-style: none; margin: 1.8rem 0 2rem; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem 1.2rem; }
.about__features li { display: flex; align-items: center; gap: 0.6rem; font-weight: 500; font-size: 0.96rem; }
.about__features svg { width: 20px; height: 20px; color: var(--gold-dark); flex: none; }

/* ===========================================================
   ROOMS
   =========================================================== */
.rooms__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 880px;
  margin-inline: auto;
}
.room-card {
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: transform 0.45s var(--ease), box-shadow 0.45s;
}
.room-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.room-card__media { position: relative; aspect-ratio: 3/2.2; overflow: hidden; cursor: pointer; }
.room-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.room-card:hover .room-card__media img { transform: scale(1.06); }
.room-card__tag {
  position: absolute; top: 14px; left: 14px;
  background: rgba(255,255,255,0.92);
  color: var(--ink);
  font-family: var(--ff-head); font-weight: 600;
  font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.4em 0.9em; border-radius: 100px;
}
.room-card__body { padding: 1.6rem 1.6rem 1.8rem; display: flex; flex-direction: column; flex: 1; }
.room-card__body h3 { font-size: 1.35rem; margin-bottom: 0.4rem; }
.room-card__body p { color: var(--muted); font-size: 0.95rem; margin: 0 0 1.2rem; }
.room-card__specs { list-style: none; margin: 0 0 1.4rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.1rem; }
.room-card__specs li { display: flex; align-items: center; gap: 0.45rem; font-size: 0.85rem; color: var(--ink-soft); }
.room-card__specs svg { width: 17px; height: 17px; color: var(--gold-dark); }
.room-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 1rem; border-top: 1px solid var(--line); }
.room-card__link { font-family: var(--ff-head); font-weight: 600; font-size: 0.88rem; color: var(--ink); display: inline-flex; align-items: center; gap: 0.4em; }
.room-card__link svg { width: 16px; height: 16px; transition: transform 0.3s; color: var(--gold-dark); }
.room-card__link:hover svg { transform: translateX(4px); }

/* ===========================================================
   AMENITIES
   =========================================================== */
.amenities__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.amenity {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.4rem;
  text-align: center;
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}
.amenity:hover { transform: translateY(-5px); border-color: var(--gold); box-shadow: var(--shadow-md); }
.amenity__icon {
  width: 54px; height: 54px;
  margin: 0 auto 1rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--cream-2);
  color: var(--gold-dark);
  transition: background 0.4s, color 0.4s;
}
.amenity:hover .amenity__icon { background: var(--gold); color: var(--ink); }
.amenity__icon svg { width: 26px; height: 26px; }
.amenity h4 { font-size: 1rem; margin-bottom: 0.3rem; }
.amenity p { font-size: 0.85rem; color: var(--muted); margin: 0; }

/* ===========================================================
   GALLERY
   =========================================================== */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
}
.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  background: var(--cream-2);
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.gallery__item:hover img { transform: scale(1.07); }
.gallery__item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(29,29,27,0.4));
  opacity: 0; transition: opacity 0.4s;
}
.gallery__item:hover::after { opacity: 1; }
.gallery__item .plus {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.6);
  width: 46px; height: 46px;
  border: 1.5px solid #fff; border-radius: 50%;
  display: grid; place-items: center;
  color: #fff; opacity: 0;
  transition: opacity 0.4s, transform 0.4s var(--ease);
  z-index: 2;
}
.gallery__item:hover .plus { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.gallery__item.tall { grid-row: span 2; }
.gallery__item.wide { grid-column: span 2; }

/* ===========================================================
   LOCATION
   =========================================================== */
.location__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: stretch;
}
.location__info h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
.location__info > p { color: var(--ink-soft); margin-bottom: 2rem; }
.contact-list { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: 1.3rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list .ci {
  width: 46px; height: 46px; flex: none;
  border-radius: 50%; background: var(--cream-2);
  display: grid; place-items: center; color: var(--gold-dark);
}
.contact-list .ci svg { width: 22px; height: 22px; }
.contact-list b { display: block; font-family: var(--ff-head); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.contact-list a, .contact-list span { font-size: 1.05rem; color: var(--ink); }
.contact-list a:hover { color: var(--gold-dark); }
.location__map {
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 420px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.location__map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ===========================================================
   BOOKING (placeholder for booking engine)
   =========================================================== */
.booking { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.booking::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("../logo/up-icon.svg");
  background-repeat: no-repeat;
  background-position: right -60px center;
  background-size: 460px;
  opacity: 0.04;
  filter: invert(1);
}
.booking .container { position: relative; text-align: center; max-width: 760px; }
.booking .eyebrow { color: var(--gold); }
.booking h2 { color: #fff; font-size: clamp(2rem, 4.5vw, 3rem); }
.booking p { color: rgba(255,255,255,0.75); font-size: 1.1rem; margin-bottom: 2.2rem; }
.booking__cta { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
/* Banda del buscador (Hostaway) superpuesta al hero */
.searchband {
  position: relative;
  z-index: 10;
  margin-top: -70px;
  margin-bottom: 1.5rem;
}
.searchband__card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--gold);
  padding: 1.5rem 1.6rem;
}
#hostaway-booking-widget:empty::before {
  content: "Cargando buscador de disponibilidad…";
  display: block; text-align: center;
  color: var(--muted); font-size: 0.9rem; padding: 0.8rem;
}

/* Pestañas de habitación del calendario */
.cal-tabs { display: flex; gap: 0.7rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2rem; }
.cal-tab {
  padding: 0.7em 1.5em;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 100px;
  font-family: var(--ff-head); font-weight: 600; font-size: 0.9rem;
  color: var(--ink); cursor: pointer;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.cal-tab:hover { border-color: var(--gold); }
.cal-tab.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
#hostaway-calendar-widget:empty::before {
  content: "Cargando calendario…";
  display: block; text-align: center;
  color: var(--muted); font-size: 0.9rem; padding: 2rem;
}

/* Notas y disclaimer bajo el motor de reservas */
.booking-notes { max-width: 760px; margin: 1.8rem auto 0; text-align: center; }
.booking-note {
  display: flex; gap: 0.7rem; align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 0.95rem 1.2rem;
  text-align: left;
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin: 0;
}
.booking-note svg { width: 20px; height: 20px; color: var(--gold-dark); flex: none; margin-top: 2px; }
.booking-disclaimer { margin: 0.9rem 0 0; font-size: 0.85rem; color: var(--muted); }
.booking-disclaimer a { color: var(--gold-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.booking-disclaimer a:hover { color: var(--ink); }

/* Política de cancelación */
.policy { padding: clamp(3rem, 6vw, 4.5rem) 0; }
.policy .section-head { margin-bottom: 2rem; }
.policy-list { counter-reset: pol; max-width: 680px; margin: 0 auto; list-style: none; padding: 0; display: grid; gap: 1rem; }
.policy-list li {
  position: relative;
  padding: 1.1rem 1.3rem 1.1rem 3.4rem;
  background: var(--cream);
  border-radius: var(--radius);
  font-size: 0.98rem;
  color: var(--ink-soft);
}
.policy-list li::before {
  counter-increment: pol;
  content: counter(pol);
  position: absolute; left: 1.1rem; top: 1.05rem;
  width: 1.6rem; height: 1.6rem;
  background: var(--gold); color: var(--ink);
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--ff-head); font-weight: 700; font-size: 0.8rem;
}

@media (max-width: 560px) {
  .searchband { margin-top: -40px; }
  .searchband__card { padding: 1.1rem; }
}

/* ===========================================================
   FOOTER
   =========================================================== */
.site-footer { background: #141413; color: rgba(255,255,255,0.7); padding: 4.5rem 0 0; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer__brand .brand { color: #fff; margin-bottom: 1.2rem; }
.footer__brand p { font-size: 0.92rem; max-width: 320px; }
.footer h5 { color: #fff; font-family: var(--ff-head); font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 1.2rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.footer a { font-size: 0.93rem; transition: color 0.3s; }
.footer a:hover { color: var(--gold); }
.footer__contact li { display: flex; gap: 0.6rem; font-size: 0.93rem; align-items: flex-start; }
.footer__contact svg { width: 18px; height: 18px; color: var(--gold); flex: none; margin-top: 3px; }
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
  padding: 1.6rem 0;
  font-size: 0.83rem;
}
.footer__bottom a:hover { color: var(--gold); }
.footer__powered { display: flex; align-items: center; gap: 0.5rem; }

/* ===========================================================
   CONTACT FORM
   =========================================================== */
.contact-form {
  max-width: 680px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 3px rgba(197, 153, 63, 0.15);
}
@media (max-width: 560px) {
  .contact-form { grid-template-columns: 1fr; }
}

/* ===========================================================
   LIGHTBOX
   =========================================================== */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(15, 15, 14, 0.94);
  display: none;
  align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.4s;
}
.lightbox.open { display: flex; opacity: 1; }
.lightbox img { max-width: 90vw; max-height: 82vh; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lightbox__close, .lightbox__nav {
  position: absolute;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  width: 52px; height: 52px;
  border-radius: 50%;
  display: grid; place-items: center;
  transition: background 0.3s, transform 0.3s;
}
.lightbox__close:hover, .lightbox__nav:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.lightbox__close { top: 24px; right: 24px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav.prev { left: 24px; }
.lightbox__nav.next { right: 24px; }
.lightbox__nav svg, .lightbox__close svg { width: 22px; height: 22px; }
.lightbox__counter { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.7); font-size: 0.85rem; letter-spacing: 0.1em; }

/* ===========================================================
   REVEAL ANIMATIONS
   =========================================================== */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: 0.1s; }
[data-reveal][data-delay="2"] { transition-delay: 0.2s; }
[data-reveal][data-delay="3"] { transition-delay: 0.3s; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}

/* ===========================================================
   RESPONSIVE
   =========================================================== */
@media (max-width: 1024px) {
  .rooms__grid { grid-template-columns: repeat(2, 1fr); }
  .amenities__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav__links, .nav .btn { display: none; }
  .nav-toggle { display: flex; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    gap: 0;
    padding: 1rem 0 1.5rem;
    box-shadow: var(--shadow-md);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.4s var(--ease), opacity 0.3s;
    align-items: stretch;
  }
  body.nav-open .nav {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  body.nav-open .nav__links, body.nav-open .nav .btn { display: flex; }
  .nav__links { flex-direction: column; gap: 0; width: 100%; }
  .nav__links a { color: var(--ink); padding: 0.9rem 24px; border-bottom: 1px solid var(--line); }
  .nav__links a::after { display: none; }
  .nav .btn { display: inline-flex; margin: 1rem 24px 0; }
  .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 440px; margin: 0 auto 2.5rem; }
  .about__media .badge { right: 10px; }
  .location__grid { grid-template-columns: 1fr; }
  .location__map { min-height: 340px; }
  .infobar .container { grid-template-columns: 1fr 1fr; }
  .infobar__item:nth-child(2) { border-right: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .container { width: calc(100% - 36px); }
  .rooms__grid { grid-template-columns: 1fr; }
  .amenities__grid { grid-template-columns: 1fr 1fr; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .gallery__item.wide { grid-column: span 1; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .infobar .container { grid-template-columns: 1fr; }
  .infobar__item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .about__features { grid-template-columns: 1fr; }
  .hero__cta .btn { flex: 1; }
}
