/* ════════════════════════════════════════════
   B&B VIVIANI — Style Sheet
   Luxury Art-Deco · Gold & Dark
════════════════════════════════════════════ */

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
img { display: block; max-width: 100%; }
a { text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; }

/* ── Variables ── */
:root {
  --gold:        #C9A84C;
  --gold-light:  #E8C96A;
  --gold-dark:   #9A7B30;
  --dark:        #0E0B07;
  --dark-2:      #1A1410;
  --dark-3:      #2A2118;
  --dark-4:      #3A2E22;
  --cream:       #F5F0E8;
  --cream-2:     #EDE6D6;
  --white:       #FDFBF7;
  --text:        #2A1F14;
  --text-mid:    #6B5B48;
  --text-light:  #9A8C7E;
  --booking:     #003B95;
  --radius:      16px;
  --radius-sm:   8px;
  --shadow:      0 8px 40px rgba(14,11,7,0.15);
  --shadow-lg:   0 24px 60px rgba(14,11,7,0.22);
  --gold-glow:   0 0 30px rgba(201,168,76,0.25);
  --transition:  cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Body ── */
body {
  font-family: 'Lato', sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ════════════════════════════════════════════
   PRELOADER
════════════════════════════════════════════ */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.pre-logo img {
  animation: preLogoPulse 1.5s ease-in-out infinite;
  filter: drop-shadow(0 0 20px rgba(201,168,76,0.4));
}

@keyframes preLogoPulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.05); }
}

.pre-bar {
  width: 160px;
  height: 2px;
  background: rgba(201,168,76,0.2);
  border-radius: 2px;
  overflow: hidden;
}

.pre-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  border-radius: 2px;
  animation: preLoad 1.8s ease forwards;
}

@keyframes preLoad {
  0%   { width: 0; }
  100% { width: 100%; }
}

/* ════════════════════════════════════════════
   NAVBAR
════════════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 24px;
  transition: all 0.4s var(--transition);
}

#navbar.scrolled {
  background: rgba(14,11,7,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 10px 24px;
  border-bottom: 1px solid rgba(201,168,76,0.15);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-logo img {
  height: 52px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(201,168,76,0.3));
  transition: filter 0.3s;
}

.nav-logo:hover img { filter: drop-shadow(0 0 14px rgba(201,168,76,0.6)); }

#nav-links ul {
  display: flex;
  align-items: center;
  gap: 28px;
}

#nav-links a {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  transition: color 0.2s;
  position: relative;
}

#nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s;
}

#nav-links a:hover { color: var(--gold); }
#nav-links a:hover::after { width: 100%; }

.nav-cta-call {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.35);
  color: var(--gold) !important;
  padding: 9px 18px;
  border-radius: 40px;
  font-size: 0.8rem !important;
  transition: all 0.2s !important;
}

.nav-cta-call:hover {
  background: rgba(201,168,76,0.28) !important;
  box-shadow: var(--gold-glow);
}

.nav-cta-call::after { display: none !important; }

.nav-cta-book {
  background: var(--booking) !important;
  color: white !important;
  padding: 9px 20px !important;
  border-radius: 40px;
  font-size: 0.8rem !important;
  transition: all 0.2s !important;
}

.nav-cta-book:hover { background: #002A6B !important; transform: scale(1.04); }
.nav-cta-book::after { display: none !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: all 0.3s;
}

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ════════════════════════════════════════════
   MOBILE MENU
════════════════════════════════════════════ */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.86, 0, 0.07, 1);
}

.mobile-menu.open { transform: translateX(0); }

.mobile-close {
  position: absolute;
  top: 24px; right: 24px;
  font-size: 1.6rem;
  color: var(--gold);
  opacity: 0.8;
  transition: opacity 0.2s;
}

.mobile-close:hover { opacity: 1; }

.mobile-menu nav ul {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mob-link {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 500;
  color: var(--cream);
  padding: 10px 20px;
  transition: color 0.2s;
}

.mob-link:hover { color: var(--gold); }

.mob-ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  padding: 24px 40px 0;
  align-items: center;
}

.mob-call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 300px;
  padding: 16px 24px;
  background: rgba(201,168,76,0.12);
  border: 1.5px solid var(--gold);
  border-radius: 50px;
  color: var(--gold);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  transition: all 0.2s;
}

.mob-call:hover { background: rgba(201,168,76,0.25); }

.mob-booking {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 300px;
  padding: 16px 24px;
  background: var(--booking);
  border-radius: 50px;
  color: white;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.2s;
}

.mob-booking:hover { background: #002A6B; }

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

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg,
      rgba(14,11,7,0.7)  0%,
      rgba(26,20,16,0.5) 50%,
      rgba(14,11,7,0.85) 100%),
    url('/images/stanza-a.jpg') center/cover no-repeat;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  0%   { transform: scale(1.05); }
  100% { transform: scale(1.12); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(201,168,76,0.08) 0%, transparent 70%);
}

/* Gold particles */
.particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0;
  animation: floatParticle linear infinite;
}

@keyframes floatParticle {
  0%   { opacity: 0; transform: translateY(100vh) scale(0.5); }
  10%  { opacity: 0.35; }
  90%  { opacity: 0.15; }
  100% { opacity: 0; transform: translateY(-100px) scale(1.2); }
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  width: 100%;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.hero-eyebrow .line {
  display: block;
  width: 32px; height: 1px;
  background: var(--gold);
  opacity: 0.5;
}

.hero-title {
  margin-bottom: 18px;
}

.title-main {
  display: block;
  font-family: 'Lato', sans-serif;
  font-size: clamp(1rem, 3.5vw, 1.4rem);
  font-weight: 300;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 8px;
}

.title-main em {
  font-style: normal;
  color: var(--gold);
}

.title-name {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: clamp(3.5rem, 12vw, 8rem);
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.06em;
  line-height: 1;
  text-shadow: 0 0 60px rgba(201,168,76,0.25);
}

.hero-subtitle {
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  color: rgba(255,255,255,0.6);
  font-weight: 300;
  letter-spacing: 0.08em;
  margin-bottom: 32px;
}

.hero-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.3);
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 30px;
  letter-spacing: 0.03em;
  backdrop-filter: blur(6px);
}

.hero-ctas {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.cta-call {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--dark);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  border-radius: 50px;
  transition: all 0.25s;
  box-shadow: 0 4px 24px rgba(201,168,76,0.4);
}

.cta-call:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 40px rgba(201,168,76,0.55);
}

.cta-booking {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: var(--booking);
  color: white;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  border-radius: 50px;
  transition: all 0.25s;
  box-shadow: 0 4px 20px rgba(0,59,149,0.35);
}

.cta-booking:hover {
  background: #002A6B;
  transform: translateY(-3px);
  box-shadow: 0 10px 40px rgba(0,59,149,0.45);
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.35);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: scrollBounce 2.5s ease-in-out infinite;
}

.scroll-mouse {
  width: 22px; height: 36px;
  border: 1.5px solid rgba(201,168,76,0.35);
  border-radius: 11px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 6px;
}

.scroll-dot {
  width: 4px; height: 8px;
  background: var(--gold);
  border-radius: 2px;
  animation: scrollDot 2s ease-in-out infinite;
  opacity: 0.7;
}

@keyframes scrollDot {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50%       { transform: translateY(8px); opacity: 0.2; }
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(5px); }
}

/* ════════════════════════════════════════════
   REVEAL ANIMATIONS
════════════════════════════════════════════ */
.reveal-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--transition), transform 0.7s var(--transition);
  transition-delay: var(--d, 0s);
}

.reveal-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ════════════════════════════════════════════
   SECTION BASE
════════════════════════════════════════════ */
.section-inner {
  max-width: 1140px;
  margin: 0 auto;
}

.section-eyebrow {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 10px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 500;
  color: var(--text);
  line-height: 1.15;
  margin-bottom: 18px;
}

.section-title em { font-style: italic; color: var(--gold-dark); }

.section-desc {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.8;
  max-width: 560px;
}

.section-header { margin-bottom: 56px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-desc { margin: 0 auto; }

/* ════════════════════════════════════════════
   FEATURES SECTION
════════════════════════════════════════════ */
.features-section {
  padding: 96px 24px;
  background: var(--dark-2);
  position: relative;
  overflow: hidden;
}

.features-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.4;
}

.features-section::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.4;
}

.features-section .section-eyebrow { color: var(--gold); }
.features-section .section-title { color: var(--cream); }
.features-section .section-title em { color: var(--gold-light); }

/* Gold decorative orb */
.features-section .section-inner::before {
  content: '';
  position: absolute;
  right: -200px; top: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(201,168,76,0.07) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201,168,76,0.12);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.35s var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201,168,76,0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover {
  background: rgba(201,168,76,0.07);
  border-color: rgba(201,168,76,0.35);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.3), var(--gold-glow);
}

.feature-card:hover::before { opacity: 1; }

.feature-icon-wrap {
  width: 64px; height: 64px;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  transition: all 0.3s;
}

.feature-card:hover .feature-icon-wrap {
  background: rgba(201,168,76,0.2);
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(201,168,76,0.3);
}

.feature-icon { font-size: 1.8rem; line-height: 1; }

.feature-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
}

/* ════════════════════════════════════════════
   GALLERY STRIP (auto-scroll)
════════════════════════════════════════════ */
.gallery-strip {
  padding: 0;
  overflow: hidden;
  background: var(--dark-3);
  position: relative;
}

.gallery-strip::before,
.gallery-strip::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 100px;
  z-index: 2;
}

.gallery-strip::before {
  left: 0;
  background: linear-gradient(90deg, var(--dark-3), transparent);
}

.gallery-strip::after {
  right: 0;
  background: linear-gradient(270deg, var(--dark-3), transparent);
}

.gallery-track {
  display: flex;
  gap: 4px;
  animation: galleryScroll 20s linear infinite;
  width: max-content;
}

.gallery-track:hover { animation-play-state: paused; }

@keyframes galleryScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.gallery-item {
  position: relative;
  width: 300px;
  height: 200px;
  overflow: hidden;
  flex-shrink: 0;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.gallery-item:hover img { transform: scale(1.06); }

.gallery-item span {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px 14px 12px;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
  color: var(--gold-light);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ════════════════════════════════════════════
   ROOMS SECTION
════════════════════════════════════════════ */
.rooms-section {
  padding: 96px 24px;
  background: var(--white);
}

.rooms-section .section-eyebrow { color: var(--gold-dark); }

.rooms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.room-card {
  background: var(--cream);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.4s cubic-bezier(0.34, 1.3, 0.64, 1);
  border: 1px solid rgba(201,168,76,0.1);
}

.room-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-10px) !important;
  border-color: rgba(201,168,76,0.3);
}

/* Room gallery / swiper */
.room-gallery {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--dark-3);
}

.room-swiper {
  position: relative;
  width: 100%;
  height: 100%;
}

.room-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.room-slide.active { opacity: 1; }

.room-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.room-card:hover .room-slide.active img { transform: scale(1.06); }

/* Gallery nav */
.room-gallery-nav {
  position: absolute;
  bottom: 12px; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  z-index: 2;
}

.room-gallery-nav button {
  width: 32px; height: 32px;
  background: rgba(14,11,7,0.6);
  color: var(--gold);
  border-radius: 50%;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  transition: all 0.2s;
  opacity: 0;
}

.room-card:hover .room-gallery-nav button { opacity: 1; }
.room-gallery-nav button:hover { background: rgba(201,168,76,0.3); }

.slide-dots {
  display: flex;
  gap: 5px;
}

.slide-dot {
  width: 6px; height: 6px;
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s;
}

.slide-dot.active {
  background: var(--gold);
  width: 16px;
  border-radius: 3px;
}

/* Room badge */
.room-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--dark);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  z-index: 3;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* Upload button */
.room-upload-btn {
  position: absolute;
  top: 14px; right: 14px;
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(14,11,7,0.65);
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  cursor: pointer;
  z-index: 3;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(201,168,76,0.25);
  transition: all 0.2s;
  letter-spacing: 0.06em;
}

.room-upload-btn:hover {
  background: rgba(201,168,76,0.2);
  border-color: var(--gold);
}

.room-upload-btn span {
  font-size: 1rem;
  line-height: 1;
  color: var(--gold);
}

.room-file-input { display: none; }

/* Room body */
.room-body { padding: 24px; }

.room-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.room-type {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.room-features {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 22px;
}

.room-features li {
  font-size: 0.88rem;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-room-book {
  display: block;
  text-align: center;
  padding: 13px 20px;
  background: var(--booking);
  color: white;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  transition: all 0.2s;
}

.btn-room-book:hover {
  background: #002A6B;
  transform: scale(1.02);
  box-shadow: 0 4px 20px rgba(0,59,149,0.35);
}

/* ════════════════════════════════════════════
   CTA BANNER
════════════════════════════════════════════ */
.cta-banner {
  padding: 96px 24px;
  position: relative;
  overflow: hidden;
}

.cta-banner-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(14,11,7,0.88), rgba(14,11,7,0.75)),
    url('/images/tribunale.jpg') center/cover no-repeat;
}

.cta-banner-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-banner h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--cream);
  margin-bottom: 16px;
  line-height: 1.2;
}

.cta-banner h2 em {
  font-style: italic;
  color: var(--gold-light);
}

.cta-banner p {
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  margin-bottom: 36px;
  line-height: 1.7;
}

.cta-banner-btns {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.cta-call.big, .cta-booking.big {
  padding: 18px 40px;
  font-size: 1rem;
}

/* ════════════════════════════════════════════
   REVIEWS SECTION
════════════════════════════════════════════ */
.reviews-section {
  padding: 96px 24px;
  background: var(--cream-2);
}

.review-scores {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.score-card {
  text-align: center;
}

.score-logo {
  width: 90px;
  height: 30px;
  margin: 0 auto 10px;
}

.score-val {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}

.score-val span {
  font-size: 1.2rem;
  color: var(--text-light);
  font-weight: 400;
}

.score-stars {
  color: #F5A623;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin: 4px 0;
}

.score-label {
  font-size: 0.72rem;
  color: var(--text-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
}

.score-divider {
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.15), transparent);
}

/* Reviews carousel */
.reviews-carousel {
  margin-top: 56px;
  position: relative;
  overflow: hidden;
}

.reviews-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s var(--transition);
}

.review-card {
  min-width: 300px;
  flex: 0 0 calc(33.333% - 14px);
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,0.06);
  position: relative;
}

.review-platform {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 12px;
}

.booking-platform { color: var(--booking); }

.review-stars {
  color: #F5A623;
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.review-score-badge {
  display: inline-block;
  background: var(--booking);
  color: white;
  font-weight: 900;
  font-size: 1rem;
  padding: 6px 12px;
  border-radius: 8px;
  margin-bottom: 14px;
}

.review-text {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 20px;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 36px; height: 36px;
  background: var(--gold-dark);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.review-author strong {
  display: block;
  font-size: 0.88rem;
  color: var(--text);
}

.review-author span {
  font-size: 0.75rem;
  color: var(--text-light);
}

/* Reviews nav */
.reviews-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}

.rev-nav-btn {
  width: 44px; height: 44px;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 50%;
  font-size: 1.4rem;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.rev-nav-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
}

.reviews-dots {
  display: flex;
  gap: 7px;
}

.rev-dot {
  width: 7px; height: 7px;
  background: rgba(0,0,0,0.2);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s;
}

.rev-dot.active {
  background: var(--gold-dark);
  width: 20px;
  border-radius: 4px;
}

/* External review buttons */
.reviews-external {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.btn-review {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  transition: all 0.2s;
}

.google-review {
  background: white;
  color: var(--text);
  border: 1.5px solid rgba(0,0,0,0.12);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.google-review:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.15); transform: translateY(-2px); }

.booking-review {
  background: var(--booking);
  color: white;
}

.booking-review:hover { background: #002A6B; transform: translateY(-2px); }

/* ════════════════════════════════════════════
   MAP SECTION
════════════════════════════════════════════ */
.map-section {
  padding: 96px 24px;
  background: var(--white);
}

.map-distances {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.dist-item {
  background: var(--cream);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius-sm);
  padding: 20px 16px;
  text-align: center;
  transition: all 0.25s;
}

.dist-item:hover {
  border-color: var(--gold);
  background: rgba(201,168,76,0.06);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.dist-icon { display: block; font-size: 1.6rem; margin-bottom: 8px; }

.dist-item strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--gold-dark);
  margin-bottom: 3px;
}

.dist-item span {
  font-size: 0.78rem;
  color: var(--text-light);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.map-wrap {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid rgba(201,168,76,0.15);
}

.map-wrap iframe {
  display: block;
  filter: contrast(1.05) saturate(0.9);
}

.map-cta {
  text-align: center;
  margin-top: 24px;
}

.btn-maps {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--dark);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 50px;
  letter-spacing: 0.04em;
  transition: all 0.25s;
  box-shadow: 0 4px 20px rgba(201,168,76,0.35);
}

.btn-maps:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(201,168,76,0.5);
}

/* ════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════ */
.site-footer {
  background: var(--dark);
  padding: 64px 24px 0;
  border-top: 1px solid rgba(201,168,76,0.15);
}

.footer-inner { max-width: 1140px; margin: 0 auto; }

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-brand img {
  margin-bottom: 16px;
  filter: drop-shadow(0 0 10px rgba(201,168,76,0.25));
}

.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.75;
  max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--gold-light); }

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-contact h4 { margin-bottom: 16px; }

.footer-cta-call {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 8px;
  color: var(--gold-light);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 10px;
  transition: all 0.2s;
}

.footer-cta-call:hover { background: rgba(201,168,76,0.2); border-color: var(--gold); }

.footer-cta-booking {
  display: block;
  padding: 12px 20px;
  background: var(--booking);
  border-radius: 8px;
  color: white;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 16px;
  text-align: center;
  transition: all 0.2s;
}

.footer-cta-booking:hover { background: #002A6B; }

.footer-contact address {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
  font-style: normal;
  line-height: 1.5;
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25);
  line-height: 1.7;
}

.footer-seo-text {
  font-size: 0.65rem !important;
  opacity: 0.5;
  letter-spacing: 0.03em;
}

/* ════════════════════════════════════════════
   FLOATING BAR
════════════════════════════════════════════ */
.floating-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 80;
  display: none;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: var(--dark-2);
  border-top: 1px solid rgba(201,168,76,0.2);
  gap: 10px;
  box-shadow: 0 -8px 30px rgba(0,0,0,0.25);
}

.float-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 10px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  transition: all 0.2s;
}

.float-call {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--dark);
}

.float-call:hover { filter: brightness(1.1); transform: scale(0.98); }

.float-book {
  background: var(--booking);
  color: white;
}

.float-book:hover { background: #002A6B; transform: scale(0.98); }

/* ════════════════════════════════════════════
   LIGHTBOX
════════════════════════════════════════════ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(0,0,0,0.93);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  animation: lbFadeIn 0.25s ease;
}

.lightbox[hidden] { display: none; }

@keyframes lbFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.lb-content {
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lb-content img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.lb-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.1);
  color: white;
  border-radius: 50%;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.lb-close:hover { background: rgba(255,255,255,0.2); }

.lb-prev, .lb-next {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px;
  background: rgba(255,255,255,0.1);
  color: white;
  border-radius: 50%;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.lb-prev { left: 16px; }
.lb-next { right: 16px; }
.lb-prev:hover, .lb-next:hover { background: rgba(201,168,76,0.35); }

/* ════════════════════════════════════════════
   RESPONSIVE — TABLET (≤ 900px)
════════════════════════════════════════════ */
@media (max-width: 900px) {

  #nav-links { display: none; }
  .hamburger { display: flex; }

  .features-grid { grid-template-columns: repeat(2, 1fr); }

  .rooms-grid { grid-template-columns: 1fr 1fr; }

  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  .map-distances { grid-template-columns: repeat(2, 1fr); }

  .review-card { flex: 0 0 calc(50% - 10px); min-width: 280px; }
}

/* ════════════════════════════════════════════
   RESPONSIVE — MOBILE (≤ 600px)
════════════════════════════════════════════ */
@media (max-width: 600px) {

  section { padding: 72px 16px; }

  .features-section,
  .rooms-section,
  .reviews-section,
  .map-section,
  .cta-banner { padding: 72px 16px; }

  .features-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .feature-card { padding: 22px 16px; }

  .rooms-grid { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr; gap: 32px; }

  .map-distances { grid-template-columns: repeat(2, 1fr); }

  .review-card { flex: 0 0 85vw; min-width: 260px; }

  .score-divider { display: none; }
  .review-scores { gap: 24px; }

  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-ctas a { width: 100%; max-width: 320px; justify-content: center; }

  .cta-banner-btns { flex-direction: column; align-items: center; }
  .cta-banner-btns a { width: 100%; max-width: 320px; justify-content: center; }

  .floating-bar { display: flex; }

  /* push footer content above floating bar */
  .site-footer { padding-bottom: 80px; }

  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }

  .gallery-item { width: 240px; height: 160px; }
}

/* ════════════════════════════════════════════
   ACCESSIBILITY
════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ════════════════════════════════════════════
   COOKIE BANNER
════════════════════════════════════════════ */
#cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 10000;
  background: var(--dark-2); border-top: 1px solid rgba(201,168,76,0.25);
  padding: 1rem 1.4rem; display: flex; flex-wrap: wrap;
  align-items: center; gap: .75rem; font-size: .8rem; color: var(--text-mid);
  transform: translateY(100%); transition: transform .4s ease;
  box-shadow: 0 -4px 20px rgba(0,0,0,.3);
}
#cookie-banner.show { transform: translateY(0); }
#cookie-banner a { color: var(--gold); text-decoration: underline; }
.cookie-actions { display: flex; gap: .5rem; margin-left: auto; }
.cookie-btn {
  padding: .45rem 1rem; border-radius: 20px; font-size: .75rem;
  font-weight: 600; cursor: pointer; transition: opacity .2s;
}
.cookie-accept { background: var(--gold); color: var(--dark); }
.cookie-reject { background: var(--dark-4); color: var(--text-mid); border: 1px solid rgba(201,168,76,.2); }

/* ════════════════════════════════════════════
   LANGUAGE SWITCHER
════════════════════════════════════════════ */
.nav-lang-wrap {
  display: flex; gap: .2rem; background: rgba(255,255,255,.08);
  border-radius: 20px; padding: .2rem .3rem;
  border: 1px solid rgba(201,168,76,.2);
}
.nav-lang-btn {
  font-size: .67rem; font-weight: 600; letter-spacing: .05em;
  padding: .2rem .52rem; border-radius: 14px; color: var(--gold);
  opacity: .5; transition: all .2s;
}
.nav-lang-btn.active { background: var(--gold); color: var(--dark); opacity: 1; }
.mob-lang {
  display: flex; gap: .5rem; justify-content: center;
  padding: 1.2rem 1.5rem .5rem; border-top: 1px solid rgba(201,168,76,.15);
}
.mob-lang-btn {
  padding: .5rem 1.4rem; border-radius: 20px; font-size: .85rem;
  font-weight: 600; color: var(--gold); border: 1px solid rgba(201,168,76,.3);
  transition: all .2s;
}
.mob-lang-btn.active { background: var(--gold); color: var(--dark); }

/* ════════════════════════════════════════════
   MOBILE FIX — body padding for floating bar
════════════════════════════════════════════ */
@media (max-width: 600px) {
  body { padding-bottom: 72px; }
}
