/* ============================================================
   HOSTERÍA AMÉRICA — Estilos principales
   Paleta: Patagónica / Cálida / Rústica
   Mobile-first
============================================================ */

/* ─── CUSTOM PROPERTIES ─────────────────────────────────── */
:root {
  --forest:       #2A3B2C;
  --forest-light: #3D5741;
  --sage:         #6B8F71;
  --amber:        #C4956A;
  --amber-dark:   #9E6D42;
  --cream:        #F5F0E8;
  --warm-white:   #FDFAF6;
  --dark:         #171E15;
  --stone:        #8C7B6B;
  --glacier:      #A8C0C8;
  --text:         #2C2820;
  --text-light:   #6B6057;
  --border:       rgba(196, 149, 106, 0.18);
  --shadow-sm:    0 2px 12px rgba(26,35,24,0.10);
  --shadow-md:    0 6px 28px rgba(26,35,24,0.14);
  --shadow-lg:    0 16px 48px rgba(26,35,24,0.18);
  --radius:       4px;
  --radius-md:    8px;
  --radius-lg:    14px;
  --t:            0.28s ease;
  --nav-h:        68px;
}

/* ─── RESET / BASE ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Lato', sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.75;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }

/* ─── TYPOGRAPHY ─────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
  color: var(--forest);
}
h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); margin-bottom: 0.75rem; }
h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
h4 { font-size: 0.95rem; }
p  { color: var(--text-light); margin-bottom: 0.9rem; }
p:last-child { margin-bottom: 0; }

/* ─── UTILITIES ──────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section { padding: 5rem 0; }

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header p {
  max-width: 540px;
  margin: 0.5rem auto 0;
  font-size: 1.05rem;
}

.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.6rem;
  font-family: 'Lato', sans-serif;
}
.section-label.light { color: var(--glacier); }

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn-hero,
.btn-reservar-nav,
.btn-reservar-menu,
.btn-room,
.btn-primary,
.footer-book-btn {
  display: inline-block;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: background var(--t), color var(--t), transform var(--t), box-shadow var(--t);
  cursor: pointer;
  white-space: nowrap;
}

.btn-hero {
  margin-top: 1.75rem;
  padding: 0.95rem 2.4rem;
  background: var(--amber);
  color: #fff;
  font-size: 0.85rem;
  box-shadow: 0 4px 20px rgba(196,149,106,0.35);
}
.btn-hero:hover {
  background: var(--amber-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(196,149,106,0.45);
}

.btn-reservar-nav {
  padding: 0.5rem 1.1rem;
  background: var(--amber);
  color: #fff;
  font-size: 0.75rem;
}
.btn-reservar-nav:hover { background: var(--amber-dark); }

.btn-reservar-menu {
  padding: 0.85rem 1.75rem;
  background: var(--amber);
  color: #fff;
  font-size: 0.8rem;
  text-align: center;
  align-self: flex-start;
}
.btn-reservar-menu:hover { background: var(--amber-dark); }

.btn-room {
  padding: 0.6rem 1.1rem;
  border: 1.5px solid var(--amber);
  color: var(--amber);
  background: transparent;
  font-size: 0.72rem;
  display: block;
  text-align: center;
  margin-top: 0.75rem;
}
.btn-room:hover { background: var(--amber); color: #fff; }

.btn-primary {
  padding: 0.9rem 2rem;
  background: var(--forest);
  color: #fff;
  font-size: 0.82rem;
  display: block;
  text-align: center;
  margin-top: 1.5rem;
}
.btn-primary:hover { background: var(--forest-light); transform: translateY(-1px); }

.footer-book-btn {
  padding: 0.5rem 1.1rem;
  background: var(--amber);
  color: #fff !important;
  font-size: 0.72rem;
  margin-top: 0.25rem;
  align-self: flex-start;
}
.footer-book-btn:hover { background: var(--amber-dark) !important; }


/* ============================================================
   NAVBAR
============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  height: var(--nav-h);
  transition: background var(--t), box-shadow var(--t), height var(--t);
}

.navbar.scrolled {
  background: var(--warm-white);
  box-shadow: var(--shadow-sm);
  height: 60px;
}

.nav-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Logo */
.nav-logo img {
  height: 44px;
  width: auto;
  filter: invert(1);
  mix-blend-mode: screen;
  transition: filter var(--t), mix-blend-mode var(--t);
}
.navbar.scrolled .nav-logo img {
  filter: none;
  mix-blend-mode: normal;
}

/* ── Mobile menu (overlay) ── */
.nav-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--forest);
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 5rem 2rem 2rem;
  gap: 0.25rem;
  z-index: 800;
}
.nav-menu.open { display: flex; }

.nav-link {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: rgba(245,240,232,0.85);
  padding: 0.4rem 0;
  transition: color var(--t);
  line-height: 1.2;
}
.nav-link:hover,
.nav-link.active { color: var(--amber); }

.nav-menu-footer {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(245,240,232,0.1);
  width: 100%;
}

/* ── Nav right (always visible) ── */
.nav-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  position: relative;
  z-index: 1000;
}

.lang-btn {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.55);
  color: #fff;
  padding: 0.3rem 0.65rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color var(--t), color var(--t), background var(--t);
  font-family: 'Lato', sans-serif;
}
.lang-btn:hover { background: rgba(255,255,255,0.12); }

.navbar.scrolled .lang-btn {
  border-color: var(--stone);
  color: var(--text);
}
.navbar.scrolled .lang-btn:hover { background: var(--cream); }

/* Hamburger */
.hamburger {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 5px;
  position: relative;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s, background 0.3s;
}
.navbar.scrolled .hamburger span { background: var(--forest); }

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg);  background: #fff !important; }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: #fff !important; }

/* ── Desktop nav ── */
@media (min-width: 800px) {
  .nav-menu {
    display: flex !important;
    position: static;
    background: none;
    flex-direction: row;
    align-items: center;
    padding: 0;
    gap: 1.75rem;
    z-index: auto;
    inset: auto;
  }
  .nav-menu-footer { display: none; }

  .nav-link {
    font-family: 'Lato', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.88);
    padding: 0;
  }
  .navbar.scrolled .nav-link       { color: var(--text); }
  .navbar.scrolled .nav-link:hover,
  .navbar.scrolled .nav-link.active { color: var(--amber); }
  .nav-link.active { color: var(--amber); }

  .hamburger { display: none; }
}


/* ============================================================
   HERO
============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /* Fade in suave al cargar */
  opacity: 0;
  transition: opacity 1.8s ease;
}
.hero-video.ready { opacity: 1; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(23,30,21,0.38) 0%,
    rgba(23,30,21,0.62) 45%,
    rgba(23,30,21,0.82) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 0 1.25rem;
  max-width: 680px;
  padding-top: var(--nav-h);
}

.hero-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--glacier);
  margin-bottom: 1rem;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 7vw, 4.2rem);
  font-weight: 400;
  color: #fff;
  line-height: 1.15;
  text-shadow: 0 2px 24px rgba(0,0,0,0.3);
  margin-bottom: 0.75rem;
}
.hero-title em {
  font-style: italic;
  display: block;
}

.hero-tagline {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  color: rgba(255,255,255,0.82);
  margin-bottom: 0;
}

/* Scroll arrow */
.scroll-arrow {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.55);
  animation: arrowBounce 2s ease-in-out infinite;
  z-index: 1;
}
@keyframes arrowBounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}


/* ============================================================
   ABOUT / NOSOTROS
============================================================ */
.about { background: var(--warm-white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text h2 { margin-bottom: 1rem; }

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}

.stat { text-align: center; }

.stat-number {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 0.72rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.3;
}

.about-image {
  position: relative;
  margin-bottom: 1.5rem; /* room for badge overflow */
}

.about-image img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.about-badge {
  position: absolute;
  bottom: -1.25rem;
  left: 1.5rem;
  background: var(--forest);
  color: #fff;
  padding: 0.7rem 1.2rem;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: var(--shadow-md);
}
.about-badge small {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--glacier);
  margin-top: 0.15rem;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
  .about-image { margin-bottom: 0; }
}


/* ============================================================
   ROOMS / HABITACIONES
============================================================ */
.rooms { background: var(--cream); }

.rooms-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.room-card {
  background: var(--warm-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t);
  display: flex;
  flex-direction: column;
}
.room-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.room-img {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.room-img img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  transition: transform 0.55s ease;
}
.room-card:hover .room-img img { transform: scale(1.06); }

.room-type-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: var(--forest);
  color: #fff;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.room-guests {
  position: absolute;
  bottom: 0.85rem;
  right: 0.85rem;
  background: rgba(23,30,21,0.75);
  color: #fff;
  padding: 0.28rem 0.6rem;
  border-radius: 50px;
  font-size: 0.68rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  backdrop-filter: blur(4px);
}

.room-body {
  padding: 1.4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.room-body h3 { color: var(--forest); }
.room-body p  { font-size: 0.88rem; flex: 1; }

@media (min-width: 560px) {
  .rooms-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .rooms-grid { grid-template-columns: repeat(3, 1fr); }
  /* Center last card if it's alone in a 3-col row */
  .room-card:last-child:nth-child(3n - 2) { grid-column: 2; }
}


/* ============================================================
   SERVICES / SERVICIOS
============================================================ */
.services { background: var(--forest); }

.services .section-header h2 { color: var(--cream); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.service-item {
  text-align: center;
  padding: 1.75rem 1rem;
  border-radius: var(--radius-md);
  transition: background var(--t);
}
.service-item:hover { background: rgba(255,255,255,0.05); }

.service-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.9rem;
  color: var(--amber);
}
.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-item h4 {
  color: var(--cream);
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.service-item p {
  color: rgba(245,240,232,0.58);
  font-size: 0.8rem;
  margin: 0;
  line-height: 1.45;
}

@media (min-width: 540px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1000px) {
  .services-grid { grid-template-columns: repeat(5, 1fr); }
}


/* ============================================================
   RESTAURANT
============================================================ */
.restaurant {
  position: relative;
  padding: 7rem 0;
  display: flex;
  align-items: center;
  min-height: 480px;
}

.restaurant-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1414235077428-338989a2e8c0?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.restaurant-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(23,30,21,0.92) 0%,
    rgba(23,30,21,0.70) 55%,
    rgba(23,30,21,0.38) 100%
  );
}

.restaurant-content {
  position: relative;
  z-index: 1;
  color: #fff;
  max-width: 540px;
}
.restaurant-content h2 {
  color: var(--cream);
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1rem;
}
.restaurant-content > p {
  color: rgba(245,240,232,0.82);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.restaurant-details {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.restaurant-detail {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--glacier);
  font-size: 0.88rem;
}
.restaurant-detail svg { flex-shrink: 0; opacity: 0.9; }

/* Disable parallax on mobile (performance) */
@media (max-width: 767px) {
  .restaurant-bg { background-attachment: scroll; }
}


/* ============================================================
   CONTACT / CONTACTO
============================================================ */
.contact { background: var(--warm-white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-icon {
  width: 42px;
  height: 42px;
  background: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber);
  flex-shrink: 0;
}
.contact-icon svg { width: 18px; height: 18px; }

.contact-item h4 {
  font-family: 'Lato', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 0.2rem;
}
.contact-item p {
  color: var(--text);
  font-size: 0.92rem;
  margin: 0;
}
.contact-item a {
  color: var(--forest);
  transition: color var(--t);
}
.contact-item a:hover { color: var(--amber); }
.contact-item small {
  display: block;
  font-size: 0.72rem;
  color: var(--stone);
  margin-top: 0.15rem;
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 320px;
}
.contact-map iframe {
  display: block;
  width: 100%;
  height: 320px;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1.4fr;
    align-items: start;
  }
  .contact-map iframe { height: 440px; }
}


/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: var(--dark);
  padding: 3.5rem 0 1.5rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(245,240,232,0.1);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: invert(1);
  mix-blend-mode: screen;
}

.footer-brand p {
  font-size: 0.82rem;
  color: rgba(245,240,232,0.5);
  line-height: 1.6;
  margin: 0;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}
.footer-nav a {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.6);
  transition: color var(--t);
}
.footer-nav a:hover { color: var(--amber); }

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-contact-info a {
  font-size: 0.88rem;
  color: rgba(245,240,232,0.65);
  transition: color var(--t);
}
.footer-contact-info a:hover { color: var(--cream); }

.footer-bottom {
  padding-top: 1.5rem;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(245,240,232,0.35);
  margin: 0;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .footer-brand { max-width: 200px; }
}


/* ============================================================
   WHATSAPP FLOAT
============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.25rem;
  z-index: 800;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: #25D366;
  color: #fff;
  padding: 0.7rem 1.1rem 0.7rem 0.85rem;
  border-radius: 50px;
  box-shadow: 0 4px 22px rgba(37,211,102,0.42);
  font-size: 0.82rem;
  font-weight: 700;
  transition: transform var(--t), box-shadow var(--t);
}
.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(37,211,102,0.52);
}

.wa-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* On very small screens: icon only */
@media (max-width: 380px) {
  .wa-label { display: none; }
  .whatsapp-float { padding: 0.85rem; border-radius: 50%; }
}


/* ============================================================
   SCROLL REVEAL ANIMATIONS
============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger for rooms */
.rooms-grid .room-card:nth-child(2) { transition-delay: 0.08s; }
.rooms-grid .room-card:nth-child(3) { transition-delay: 0.16s; }
.rooms-grid .room-card:nth-child(4) { transition-delay: 0.08s; }
.rooms-grid .room-card:nth-child(5) { transition-delay: 0.16s; }
.rooms-grid .room-card:nth-child(6) { transition-delay: 0.24s; }
.rooms-grid .room-card:nth-child(7) { transition-delay: 0.08s; }
.rooms-grid .room-card:nth-child(8) { transition-delay: 0.16s; }

/* Stagger for services */
.services-grid .service-item:nth-child(2)  { transition-delay: 0.06s; }
.services-grid .service-item:nth-child(3)  { transition-delay: 0.12s; }
.services-grid .service-item:nth-child(4)  { transition-delay: 0.18s; }
.services-grid .service-item:nth-child(5)  { transition-delay: 0.24s; }
.services-grid .service-item:nth-child(6)  { transition-delay: 0.06s; }
.services-grid .service-item:nth-child(7)  { transition-delay: 0.12s; }
.services-grid .service-item:nth-child(8)  { transition-delay: 0.18s; }
.services-grid .service-item:nth-child(9)  { transition-delay: 0.24s; }
.services-grid .service-item:nth-child(10) { transition-delay: 0.30s; }


/* ============================================================
   GALLERY BUTTON (en cada card)
============================================================ */
.room-img { cursor: pointer; }

.gallery-btn {
  position: absolute;
  bottom: 0.8rem;
  left: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(23,30,21,0.72);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 0.3rem 0.65rem 0.3rem 0.55rem;
  font-size: 0.68rem;
  font-weight: 700;
  font-family: 'Lato', sans-serif;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background var(--t), transform var(--t);
  letter-spacing: 0.02em;
}
.gallery-btn:hover { background: var(--amber); transform: scale(1.04); }


/* ============================================================
   LIGHTBOX
============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10,14,10,0.96);
}

/* Imagen central */
.lb-stage {
  position: relative;
  z-index: 1;
  width: 100%;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 4.5rem 0;
  min-height: 0;
}
#lb-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 48px rgba(0,0,0,0.6);
  user-select: none;
  cursor: zoom-in;
  transition: opacity 0.18s ease, transform 0.3s ease;
}
#lb-img.fading  { opacity: 0; }
#lb-img.zoomed  { cursor: zoom-out; transform: scale(2.2); }

/* Botón cerrar */
.lb-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  background: rgba(255,255,255,0.12);
  border: none;
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--t);
  backdrop-filter: blur(4px);
}
.lb-close:hover { background: rgba(255,255,255,0.22); }

/* Flechas */
.lb-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--t), transform var(--t);
  backdrop-filter: blur(4px);
}
.lb-arrow:hover { background: rgba(255,255,255,0.22); }
.lb-prev { left: 0.75rem; }
.lb-next { right: 0.75rem; }

.lb-arrow:disabled {
  opacity: 0.25;
  cursor: default;
}

/* Barra inferior */
.lb-bar {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.25rem;
  gap: 1rem;
}

#lb-room-label {
  font-family: 'Playfair Display', serif;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

#lb-counter {
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  white-space: nowrap;
  letter-spacing: 0.05em;
}

/* Dots */
.lb-dots {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
  flex: 1;
}
.lb-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  border: none;
  cursor: pointer;
  transition: background var(--t), transform var(--t);
  padding: 0;
  flex-shrink: 0;
}
.lb-dot.active {
  background: var(--amber);
  transform: scale(1.3);
}
/* Ocultar dots individuales si hay muchas fotos (>12), mostrar barra */
.lb-dots.many .lb-dot { display: none; }
.lb-dots.many::after {
  content: '';
  display: block;
  height: 3px;
  width: 100%;
  max-width: 160px;
  background: rgba(255,255,255,0.15);
  border-radius: 2px;
  position: relative;
}

@media (min-width: 600px) {
  .lb-stage { padding: 5rem 6rem 0; }
  .lb-arrow  { width: 56px; height: 56px; }
  .lb-prev   { left: 1.25rem; }
  .lb-next   { right: 1.25rem; }
}


/* ============================================================
   MISC / ACCESSIBILITY
============================================================ */
:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .scroll-arrow { animation: none; }
  .hero-bg { transform: none !important; }
  .restaurant-bg { background-attachment: scroll; }
}


/* ============================================================
   LIGHTBOX — THUMBNAILS
============================================================ */
.lb-thumbs {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 5px;
  justify-content: center;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding: 0 1rem 0.9rem;
  max-width: 100%;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.lb-thumbs::-webkit-scrollbar { display: none; }

.lb-thumb {
  flex: 0 0 56px;
  height: 40px;
  object-fit: cover;
  border-radius: 3px;
  cursor: pointer;
  opacity: 0.4;
  border: 2px solid transparent;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}
.lb-thumb:hover  { opacity: 0.75; }
.lb-thumb.active { opacity: 1; border-color: var(--amber); }

@media (min-width: 600px) {
  .lb-thumb { flex: 0 0 68px; height: 48px; }
}


/* ============================================================
   LIGHTBOX — ZOOM
============================================================ */
/* Estilos de zoom integrados en el bloque #lb-img original */
