/* ═══════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --gold:      #d4af37;
  --gold-dim:  rgba(212,175,55,0.35);
  --dark:      #0a0a0a;
  --dark2:     #1a1a2e;
  --dark3:     #16213e;
  --white:     #ffffff;
  --white-dim: rgba(255,255,255,0.6);
}

html { scroll-behavior: auto; }
html, body { overflow-x: hidden; background: var(--dark); font-family: 'Georgia', serif; }
body.loading { overflow: hidden; }


/* ═══════════════════════════════════════
   BARBA CURTAIN  (merged — use second def)
═══════════════════════════════════════ */
#barba-curtain {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: black;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 1.4s ease, visibility 1.4s ease;
}
#barba-curtain.hide {
  opacity: 0;
  visibility: hidden;
}

/* curtain-word — merged: positioning from first, font-size/spacing from second */
#curtain-word {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scaleX(1.6);
  font-family: "Times New Roman", serif;
  font-size: clamp(2rem, 7vw, 6rem);
  letter-spacing: 0.35em;
  text-indent: 0.35em;
  color: var(--white);
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
}


/* ═══════════════════════════════════════
   PRELOADER
═══════════════════════════════════════ */
.loader {
  position: fixed; inset: 0; z-index: 99999;
  background: #050505; display: flex;
  justify-content: center; align-items: center;
}
.loader-inner { width: 400px; }
.loader-logo {
  color: var(--white); font-size: 42px; letter-spacing: 12px;
  text-align: center; margin-bottom: 30px; opacity: 0;
  font-family: "Times New Roman", serif; font-weight: normal;
}
.loader-line-wrap {
  width: 100%; height: 1px;
  background: rgba(255,255,255,0.15);
  overflow: hidden;
  display: flex; align-items: center;
}
.loader-line {
  width: 0%; height: 1px;
  background: var(--gold);
}


/* ═══════════════════════════════════════
   NAVBAR
═══════════════════════════════════════ */
.navbar {
  position: fixed; top: 22px; left: 50%;
  transform: translateX(-50%) translateY(-120px);
  z-index: 600; opacity: 0;
  display: flex; align-items: center; gap: 20px;
  background: rgba(10,10,20,0.65);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 9999px;
  padding: 10px 10px 10px 28px;
  min-width: 300px;
}

.logo {
  font-size: 17px; font-weight: bold; color: var(--white);
  letter-spacing: 6px; text-transform: uppercase;
  font-family: "Times New Roman", serif; flex: 1; white-space: nowrap;
}

.hamburger-wrap {
  position: relative; width: 46px; height: 46px;
  cursor: pointer; flex-shrink: 0;
}
.hamburger-wrap::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  transition: border-color 0.35s, background 0.35s;
}
.hamburger-wrap:hover::before { border-color: var(--gold); background: rgba(212,175,55,0.06); }

.hamburger-icon {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 5px;
}
.hamburger-icon span {
  display: block; width: 18px; height: 1.5px;
  background: var(--white);
  transition: background 0.3s, transform 0.35s, opacity 0.25s, width 0.3s;
  transform-origin: center;
}
.hamburger-wrap:hover .hamburger-icon span { background: var(--gold); }
.hamburger-wrap.open .hamburger-icon span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger-wrap.open .hamburger-icon span:nth-child(2) { opacity: 0; width: 0; }
.hamburger-wrap.open .hamburger-icon span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }


/* ═══════════════════════════════════════
   FULLSCREEN NAV OVERLAY
═══════════════════════════════════════ */
.nav-overlay {
  position: fixed; inset: 0; z-index: 590;
  pointer-events: none; overflow: hidden;
}
.nav-circle {
  position: absolute;
  border-radius: 50%;
  background: #0d0d1c;
  transform: scale(0);
}
.nav-overlay.open { pointer-events: auto; }

.nav-menu-items {
  position: absolute; top: 50%; left: 10%;
  transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 6px;
}
.nav-menu-items a {
  font-family: "Times New Roman", serif;
  font-size: clamp(34px, 5.5vw, 72px);
  color: rgba(255,255,255,0.12);
  text-decoration: none; letter-spacing: 4px;
  text-transform: uppercase; display: block;
  opacity: 0; transform: translateX(-50px);
  transition: color 0.3s, letter-spacing 0.3s;
  line-height: 1.2;
}
.nav-menu-items a:hover { color: var(--gold); letter-spacing: 7px; }

.nav-menu-number {
  font-size: 11px; letter-spacing: 2px; color: var(--gold);
  vertical-align: super; margin-right: 12px;
  font-family: 'Georgia', serif;
}

.nav-socials {
  position: absolute; bottom: 40px; right: 60px;
  display: flex; gap: 28px; opacity: 0;
}
.nav-socials a {
  color: var(--white-dim); text-decoration: none;
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  transition: color 0.3s;
}
.nav-socials a:hover { color: var(--gold); }


/* ═══════════════════════════════════════
   BACK BUTTON
═══════════════════════════════════════ */
.back-btn {
  position: fixed; bottom: 32px; left: 32px; z-index: 550;
  display: flex; align-items: center; gap: 10px;
  background: rgba(10,10,20,0.6);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  color: var(--white); font-size: 11px; letter-spacing: 3px;
  text-transform: uppercase; font-family: 'Georgia', serif;
  padding: 12px 22px; border-radius: 9999px;
  cursor: pointer; opacity: 0; pointer-events: none;
  transition: border-color 0.3s, color 0.3s;
}
.back-btn:hover { border-color: var(--gold); color: var(--gold); }
.back-btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; }


/* ═══════════════════════════════════════
   SECTION — EXPERIENCE (hero with video)
   merged: flex layout + video bg support
═══════════════════════════════════════ */
.section-experience {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 8vw;
  color: white;
}

.exp-video-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  overflow: hidden;
}

.bg-video {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.8s ease-in-out;
  transform: scale(1.02);
}
.bg-video.active { opacity: 1; }

.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.65), rgba(0,0,0,0.25));
}

/* exp-left — merged: z-index + max-width from second */
.exp-left {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

/* exp-tag — merged: gold color from first, sizing from second */
.exp-tag {
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
  opacity: 0;
  transform: translateX(-30px);
}

/* exp-title — merged: font-family + color from first, size/weight from second */
.exp-title {
  font-family: "Times New Roman", serif;
  font-size: clamp(3rem, 6vw, 6rem);
  color: var(--white);
  line-height: 0.95;
  font-weight: 500;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateX(-40px);
  filter: blur(6px);
}

/* exp-body — merged: color from first, sizing from second */
.exp-body {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--white-dim);
  max-width: 520px;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateX(-30px);
}

/* exp-cta — merged: gold styling from first, flex + blur from second */
.exp-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border: 1px solid var(--gold-dim);
  color: var(--gold);
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-family: 'Georgia', serif;
  backdrop-filter: blur(8px);
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
}
.exp-cta:hover {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
}

.exp-right {
  position: relative; overflow: hidden;
  opacity: 0; clip-path: inset(0% 100% 0% 0%);
}
.exp-img {
  position: absolute; inset: 0;
  background: url('../../images/slide1.jpg') center/cover no-repeat;
  transform: scale(1.1);
}
.exp-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, #0b0b15 0%, transparent 40%);
}

/* Ticker / marquee */
.marquee-wrap {
  position: absolute; bottom: 0; left: 0; right: 0; height: 48px;
  overflow: hidden; border-top: 1px solid var(--gold-dim);
  background: rgba(0,0,0,0.5); display: flex; align-items: center; z-index: 5;
}
.marquee-track {
  display: flex; animation: marquee 22s linear infinite; white-space: nowrap;
}
.marquee-track span {
  font-size: 11px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--white-dim); padding: 0 28px;
}
.marquee-track span.gold { color: var(--gold); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }


/* ═══════════════════════════════════════
   SECTION 1 — STATS / REVIEWS
   ▸ improved: compact height, logo display,
     horizontal dividers, gold label underline
═══════════════════════════════════════ */
.section-stats {
  min-height: 70vh;
  background: #000000;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 100px 40px 110px;
  overflow: hidden; position: relative;
}
.section-stats::after {
  content: 'CARPEDIEM'; position: absolute;
  font-family: "Times New Roman", serif;
  font-size: clamp(80px, 18vw, 240px);
  letter-spacing: 20px; color: rgba(255,255,255,0.025);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  white-space: nowrap; pointer-events: none;
}
/* thin gold line top-edge */
.section-stats::before {
  content: '';
  position: absolute; top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
}

.section-label {
  font-size: 11px; letter-spacing: 6px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 60px; opacity: 0;
  position: relative; z-index: 1; text-align: center;
}
/* gold underline after the label */
.section-label::after {
  content: '';
  display: block;
  width: 32px; height: 1px;
  background: var(--gold-dim);
  margin: 14px auto 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 120px;
  max-width: 680px;
  width: 100%;
  position: relative; z-index: 1;
}

/* vertical gold divider between the two stat items */
.stats-grid::before {
  content: '';
  position: absolute;
  top: 10%; bottom: 10%;
  left: 50%; transform: translateX(-50%);
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--gold-dim), transparent);
  pointer-events: none;
}

.stat-item {
  text-align: center; opacity: 0; transform: translateY(40px);
  display: flex; flex-direction: column; align-items: center;
}

/* ▸ NEW: logo area */
.stat-logo {
  height: 40px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  filter: brightness(0) invert(1);
  opacity: 0.65;
  transition: opacity 0.4s;
}
.stat-item:hover .stat-logo { opacity: 1; }
.stat-logo img {
  max-height: 100%; max-width: 130px;
  object-fit: contain; display: block;
}

.stat-num {
  font-family: "Times New Roman", serif;
  font-size: clamp(56px, 8vw, 86px);
  color: var(--white); line-height: 1; letter-spacing: -2px;
}
.stat-num em { color: var(--gold); font-style: normal; }

.stat-desc {
  font-size: 9px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--white-dim); margin-top: 14px;
}

.stats-divider {
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, var(--gold-dim), transparent);
  margin: 70px auto 0; opacity: 0; position: relative; z-index: 1;
}


/* ═══════════════════════════════════════
   SECTION 2 — HERO  (merged, single def)
═══════════════════════════════════════ */
.hero {
  height: 100vh; position: relative;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 36px;
  padding: 100px 40px 40px;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none; opacity: 0.4; z-index: 0;
}
.hero h1 {
  position: relative; z-index: 1;
  font-size: clamp(48px, 8vw, 120px); letter-spacing: 8px;
  font-family: "Times New Roman", serif; text-transform: uppercase;
  color: var(--white); text-align: center;
  opacity: 0; transform: translateY(50px); line-height: 1;
}

/* SVG animated lines */
.hero-background-lines {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  opacity: 0.45;
  mix-blend-mode: screen;
  animation: linesGlow 12s ease-in-out infinite;
}
.hero-background-lines path,
.hero-background-lines circle {
  stroke: #5c5c5c;
  stroke-width: 1.2;
  fill: none;
  animation: strokeShift 12s ease-in-out infinite, floatLines 18s ease-in-out infinite alternate;
}
@keyframes floatLines {
  0%   { transform: translateY(0px) translateX(0px); }
  100% { transform: translateY(-12px) translateX(8px); }
}
@keyframes strokeShift {
  0%   { stroke: rgba(90, 90, 90, 0.45); }
  50%  { stroke: rgba(212, 175, 55, 0.9); }
  100% { stroke: rgba(90, 90, 90, 0.45); }
}
@keyframes linesGlow {
  0%   { filter: drop-shadow(0 0 2px rgba(120,120,120,0.1)); }
  50%  { filter: drop-shadow(0 0 12px rgba(212,175,55,0.25)); }
  100% { filter: drop-shadow(0 0 2px rgba(120,120,120,0.1)); }
}


/* ─── PREVIEW RECTANGLE ─── */
.preview-rect {
  position: relative; z-index: 1;
  width: min(440px, 80vw); height: 180px;
  border: 1px solid var(--gold-dim); border-radius: 6px;
  overflow: hidden; cursor: pointer;
  opacity: 0; transform: translateY(30px) scale(0.97); flex-shrink: 0;
}
.preview-rect .p-left,
.preview-rect .p-right {
  position: absolute; top: 0; height: 100%; width: 50%;
  background-size: cover; background-position: center;
}
.preview-rect .p-left  { left: 0;  background-image: url('../../images/slide1.jpg'); }
.preview-rect .p-right { right: 0; background-image: url('../../images/slide2.jpg'); }
.preview-rect .p-overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,0.35); transition: background 0.4s;
}
.preview-rect:hover .p-overlay { background: rgba(0,0,0,0.18); }
.preview-rect .p-divider {
  position: absolute; left: 50%; top: 10%;
  width: 1px; height: 80%; background: rgba(212,175,55,0.5); z-index: 2;
}
.preview-rect .p-hint {
  position: absolute; bottom: 10px; left: 50%;
  transform: translateX(-50%); z-index: 3;
  color: rgba(255,255,255,0.45); font-size: 10px;
  letter-spacing: 3px; text-transform: uppercase; white-space: nowrap;
}

/* ─── MORE BUTTON ─── */
.herobtn {
  position: relative; z-index: 1; width: 100px; height: 100px;
  border-radius: 50%; border: 1px dashed rgba(255,255,255,0.5);
  background: transparent; color: var(--white); font-size: 13px;
  letter-spacing: 2px; cursor: pointer; opacity: 0; transform: scale(0.6);
  transition: border-color 0.3s, color 0.3s; font-family: 'Georgia', serif;
}
.herobtn:hover { border-color: var(--gold); color: var(--gold); }
.herobtn::before {
  content: ''; position: absolute; inset: -6px; border-radius: 50%;
  border: 1px solid transparent; border-top-color: var(--gold);
  opacity: 0; transition: opacity 0.3s; animation: spin 2s linear infinite;
}
.herobtn:hover::before { opacity: 1; }
@keyframes spin { to { transform: rotate(360deg); } }


/* ═══════════════════════════════════════
   FULLSCREEN SPLIT OVERLAY
═══════════════════════════════════════ */
.split-fullscreen {
  position: fixed; inset: 0; z-index: 300;
  display: flex; pointer-events: none; opacity: 0; visibility: hidden;
}
.split-fullscreen.active { pointer-events: auto; visibility: visible; }
.fs-panel {
  position: relative; flex: 1;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; cursor: pointer; transition: flex 0.6s ease;
}
.fs-panel-left  { background: url('../../images/slide1.jpg') center/cover no-repeat; }
.fs-panel-right { background: url('../../images/slide2.jpg') center/cover no-repeat; }
.fs-panel .fs-overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,0.45);
  backdrop-filter: blur(4px); transition: background 0.4s;
}
.fs-panel:hover .fs-overlay { background: rgba(0,0,0,0.22); }
.split-fullscreen:hover .fs-panel { flex: 1; }
.fs-panel:hover { flex: 2.2; }
.split-fullscreen:hover .fs-panel:not(:hover) { flex: 0.8; }
.fs-btn {
  position: relative; z-index: 2; padding: 14px 36px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.5);
  color: var(--white); font-size: 12px; letter-spacing: 3px;
  text-transform: uppercase; font-family: 'Georgia', serif;
  cursor: pointer; opacity: 0; transform: translateY(24px);
  transition: background 0.3s, border-color 0.3s, color 0.3s;
  text-decoration: none; display: inline-block;
}
.fs-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--dark); }

.close-btn {
  position: fixed; top: 24px; right: 32px; z-index: 400;
  background: transparent; border: 1px solid rgba(255,255,255,0.3);
  color: var(--white); padding: 8px 18px; cursor: pointer;
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  font-family: 'Georgia', serif; border-radius: 2px;
  opacity: 0; pointer-events: none; transition: border-color 0.3s, color 0.3s;
}
.close-btn:hover { border-color: var(--gold); color: var(--gold); }

/* split section scroll */
.split-section { display: flex; height: 100vh; overflow: hidden; }
.panel {
  position: relative; flex: 1;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; cursor: pointer; transition: flex 0.6s ease;
}
.panel-left  { background: url('../../images/slide1.jpg') center/cover no-repeat; }
.panel-right { background: url('../../images/slide2.jpg') center/cover no-repeat; }
.overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,0.45);
  backdrop-filter: blur(5px);
}
.btn {
  position: relative; z-index: 2; padding: 14px 36px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.5);
  color: var(--white); text-decoration: none; font-size: 12px;
  letter-spacing: 3px; text-transform: uppercase; font-family: 'Georgia', serif;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.btn:hover { background: var(--gold); border-color: var(--gold); color: var(--dark); }
.split-section:hover .panel { flex: 1; }
.panel:hover { flex: 2.2; }
.split-section:hover .panel:not(:hover) { flex: 0.8; }


/* ═══════════════════════════════════════
   SECTION 3 — ROOM CARDS
   ▸ improved: CSS counter numbers, gold
     bottom-bar on hover, pointer cursor,
     subtle card shimmer
═══════════════════════════════════════ */
.section-rooms {
  min-height: 100vh; background: #060608;
  padding: 120px 0; overflow: hidden;
}
.section-rooms-header {
  padding: 0 60px; display: flex;
  justify-content: space-between; align-items: flex-end; margin-bottom: 60px;
}
.rooms-small {
  font-size: 10px; letter-spacing: 5px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 12px;
}
.rooms-title {
  font-family: "Times New Roman", serif; font-size: clamp(30px, 5vw, 66px);
  color: var(--white); letter-spacing: 2px; line-height: 1.1;
}
.rooms-count {
  font-family: "Times New Roman", serif; font-size: 88px;
  color: rgba(255,255,255,0.04); line-height: 1;
}

.rooms-scroll {
  display: flex; gap: 24px; padding: 0 60px;
  overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none;
  cursor: grab;
  counter-reset: roomcard;        /* ▸ NEW: CSS counter */
}
.rooms-scroll::-webkit-scrollbar { display: none; }
.rooms-scroll:active { cursor: grabbing; }

.room-card {
  flex-shrink: 0; width: 310px; height: 430px;
  position: relative; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  cursor: pointer;                /* ▸ NEW */
  counter-increment: roomcard;   /* ▸ NEW */
  transition: border-color 0.5s ease;
}
.room-card:hover {
  border-color: rgba(212,175,55,0.18);
}

/* ▸ NEW: animated gold bottom bar */
.room-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transition: width 0.55s ease;
  z-index: 5;
}
.room-card:hover::after { width: 100%; }

.room-card-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform 0.7s ease;
}
.room-card:hover .room-card-img { transform: scale(1.07); }

.room-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.08) 60%);
}
.room-card-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 28px 26px;
}

/* ▸ NEW: room number via CSS counter */
.room-card-content::before {
  content: "0" counter(roomcard);
  position: absolute;
  top: -36px; right: 26px;
  font-family: "Times New Roman", serif;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--gold);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}
.room-card:hover .room-card-content::before {
  opacity: 1;
  transform: translateY(0);
}

.room-card-tag { font-size: 9px; letter-spacing: 4px; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.room-card-title { font-family: "Times New Roman", serif; font-size: 22px; color: var(--white); letter-spacing: 1px; line-height: 1.2; }
.room-card-sub { font-size: 11px; color: var(--white-dim); letter-spacing: 1px; margin-top: 6px; }

.room-card:nth-child(1) .room-card-img { background-image: url('../../images/Home\ Carpediem\ 1/Giulietta & Romeo/g&r2.jpg'); background-color: #1a1a30; }
.room-card:nth-child(2) .room-card-img { background-image: url('../../images/Home\ Carpediem\ 1/Piazza Bra/photo_34_2025-01-11_16-54-37.jpg'); background-color: #201828; }
.room-card:nth-child(3) .room-card-img { background-image: url('../../images/Home\ Carpediem\ 1/Piazza dei Signori/photo_30_2025-01-11_16-54-37.jpg'); background-color: #0a1a20; background-position: 30% center; }
.room-card:nth-child(4) .room-card-img { background-image: url('../../images/Home\ Carpediem\ 1/Piazza Erbe/1.jpeg'); background-color: #1a0d0d; background-position: 70% center; }
.room-card:nth-child(5) .room-card-img { background-image: url('../../images/Home\ Carpediem\ 2/Dante Alighieri/photo_23_2025-01-11_16-54-37.jpg'); background-color: #1a0d0d; background-position: 70% center; }
.room-card:nth-child(6) .room-card-img { background-image: url('../../images/Home\ Carpediem\ 2/William Shakespeare/photo_3_2025-01-11_16-54-37.jpg'); background-color: #1a0d0d; background-position: 70% center; }


/* ═══════════════════════════════════════
   POPUP OVERLAY — ALBUM
   ▸ improved: wider popup, stronger gold
     top bar, better footer hierarchy
═══════════════════════════════════════ */
.popup-overlay {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  z-index: 1000;
  display: flex; justify-content: center; align-items: center;
  padding: 20px;
}
.popup-overlay.active {
  opacity: 1; visibility: visible;
}

.album-popup {
  background: #0d0d18;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 2px;
  width: 92%;
  max-width: 900px;          /* ▸ wider than before */
  max-height: 92vh;
  display: flex; flex-direction: column;
  overflow: hidden;
  transform: translateY(28px) scale(0.97);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  position: relative;
}
.popup-overlay.active .album-popup {
  transform: translateY(0) scale(1);
  pointer-events: all;
}

/* ▸ stronger gold top bar (2px gradient) */
.album-popup::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 5%, var(--gold) 40%, var(--gold) 60%, transparent 95%);
  z-index: 2;
}

/* Swiper area */
.swiper {
  width: 100%;
  height: 540px;             /* ▸ slightly taller */
  margin-top: 0; border-radius: 0;
  overflow: hidden; flex-shrink: 0;
}
@media (max-width: 600px) { .swiper { height: 60vw; } }

.swiper-slide {
  display: flex; justify-content: center; align-items: center;
  background: #050508;
}
.swiper-slide img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--gold) !important;
  width: 44px !important; height: 44px !important;
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(212,175,55,0.25);
  border-radius: 50%;
  transition: background 0.3s, border-color 0.3s;
}
.swiper-button-next:hover, .swiper-button-prev:hover {
  background: rgba(212,175,55,0.1);
  border-color: var(--gold);
}
.swiper-button-next::after, .swiper-button-prev::after {
  font-size: 13px !important; font-weight: bold;
}

.swiper-pagination-bullet {
  background: rgba(255,255,255,0.3) !important;
  opacity: 1 !important;
  width: 5px !important; height: 5px !important;
  transition: background 0.3s, transform 0.3s !important;
}
.swiper-pagination-bullet-active {
  background: var(--gold) !important;
  transform: scale(1.4) !important;
}

/* ─── Album footer — improved hierarchy ─── */
.album-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 28px;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: #0a0a14;        /* ▸ slightly darker than popup body */
  flex-shrink: 0;
}

.album-room-name {
  font-family: "Times New Roman", serif;
  font-size: 13px;
  letter-spacing: 4px;
  color: var(--white);
  text-transform: uppercase;
}
/* ▸ gold dot separator before room name */
.album-room-name::before {
  content: '✦';
  color: var(--gold);
  margin-right: 12px;
  font-size: 8px;
  vertical-align: middle;
  opacity: 0.7;
}

.album-counter {
  font-size: 10px; letter-spacing: 3px;
  color: var(--gold); font-family: 'Georgia', serif; opacity: 0.7;
}

/* close-album-btn — single merged definition (styled pill) */
.close-album-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 22px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.6);
  font-family: 'Georgia', serif;
  font-size: 10px; letter-spacing: 3px;
  text-transform: uppercase;
  border-radius: 9999px;
  cursor: pointer;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}
.close-album-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(212,175,55,0.05);
}


/* ═══════════════════════════════════════
   SECTION — TERRITORY (Perché scegliere noi)
═══════════════════════════════════════ */
.section-territory {
  background: var(--dark);
  padding: 120px 60px 140px;
  position: relative; overflow: hidden;
}
.section-territory::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
}

.territory-header {
  text-align: center; margin-bottom: 80px;
  position: relative; z-index: 1;
}
.territory-tag {
  font-size: 10px; letter-spacing: 5px; text-transform: uppercase;
  color: var(--gold); display: block; margin-bottom: 20px;
  opacity: 0; transform: translateY(20px);
}
.territory-title {
  font-family: "Times New Roman", serif;
  font-size: clamp(36px, 5.5vw, 72px);
  color: var(--white); letter-spacing: 3px; line-height: 1.1;
  opacity: 0; transform: translateY(30px);
}
.territory-subtitle {
  font-size: 13px; color: var(--white-dim); letter-spacing: 2px;
  margin-top: 18px; max-width: 500px;
  margin-left: auto; margin-right: auto;
  line-height: 1.8; opacity: 0; transform: translateY(20px);
}

.territory-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 2px; max-width: 1200px; margin: 0 auto;
}
@media (max-width: 768px) {
  .territory-grid { grid-template-columns: 1fr; }
  .section-territory { padding: 80px 24px 100px; }
}

.territory-card {
  position: relative; height: 480px; overflow: hidden;
  cursor: pointer; opacity: 0; transform: translateY(50px);
}
.territory-card:nth-child(1) { grid-column: 1; grid-row: 1; }
.territory-card:nth-child(2) { grid-column: 2; grid-row: 1 / 3; height: 100%; }
.territory-card:nth-child(3) { grid-column: 1; grid-row: 2; }
.territory-card:nth-child(4) { grid-column: 1 / 3; grid-row: 3; height: 360px; }

.territory-card-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  filter: brightness(0.75) saturate(0.85);
}
.territory-card:hover .territory-card-bg {
  transform: scale(1.06);
  filter: brightness(0.6) saturate(1);
}
.territory-card:nth-child(1) .territory-card-bg { background-image: linear-gradient(160deg, #1a2a4a 0%, #0d1a30 40%, #162030 100%); }
.territory-card:nth-child(2) .territory-card-bg { background-image: linear-gradient(135deg, #2a1a0a 0%, #1a0d05 50%, #200f0a 100%); }
.territory-card:nth-child(3) .territory-card-bg { background-image: linear-gradient(135deg, #0a1a2a 0%, #051020 50%, #0a1520 100%); }
.territory-card:nth-child(4) .territory-card-bg { background-image: linear-gradient(135deg, #1a1a0a 0%, #0d1005 50%, #121a08 100%); }

.territory-card-pattern {
  position: absolute; inset: 0; opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d4af37' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  transition: opacity 0.4s;
}
.territory-card:hover .territory-card-pattern { opacity: 0.04; }

.territory-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.35) 50%, rgba(0,0,0,0.05) 100%);
  transition: background 0.4s;
}
.territory-card:hover .territory-card-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.25) 50%, rgba(0,0,0,0.08) 100%);
}

.territory-icon {
  position: absolute; top: 28px; right: 28px;
  width: 44px; height: 44px;
  border: 1px solid var(--gold-dim); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.4s, background 0.4s;
}
.territory-card:hover .territory-icon { border-color: var(--gold); background: rgba(212,175,55,0.08); }
.territory-icon svg { width: 20px; height: 20px; fill: none; stroke: var(--gold); stroke-width: 1.4; }

.territory-card-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 36px 32px; }
.territory-distance {
  font-size: 9px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 10px;
  display: flex; align-items: center; gap: 8px;
}
.territory-distance::before {
  content: ''; display: inline-block; width: 28px; height: 1px; background: var(--gold);
}
.territory-card-name {
  font-family: "Times New Roman", serif;
  font-size: clamp(26px, 3vw, 40px);
  color: var(--white); letter-spacing: 2px; line-height: 1.1; margin-bottom: 10px;
}
.territory-card-desc {
  font-size: 12px; color: var(--white-dim); letter-spacing: 1px; line-height: 1.75;
  max-width: 380px; height: 0; overflow: hidden; opacity: 0;
  transition: height 0.5s ease, opacity 0.4s ease;
}
.territory-card:hover .territory-card-desc { height: 60px; opacity: 1; }

.territory-card-cta {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 18px;
  font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); opacity: 0; transform: translateY(8px);
  transition: opacity 0.4s 0.1s, transform 0.4s 0.1s; text-decoration: none;
}
.territory-card:hover .territory-card-cta { opacity: 1; transform: translateY(0); }
.territory-card-cta svg {
  width: 14px; height: 14px; fill: none; stroke: currentColor;
  stroke-width: 1.8; transition: transform 0.3s;
}
.territory-card:hover .territory-card-cta svg { transform: translateX(4px); }

.territory-bg-num {
  position: absolute; top: 20px; left: 28px;
  font-family: "Times New Roman", serif; font-size: 80px;
  color: rgba(255,255,255,0.04); line-height: 1;
  user-select: none; pointer-events: none; letter-spacing: -4px;
}


/* ═══════════════════════════════════════
   TRANSLATE BUTTON
═══════════════════════════════════════ */
.translate-btn {
  position: fixed; bottom: 32px; right: 32px; z-index: 550;
  display: flex; align-items: center; gap: 8px;
  background: rgba(10,10,20,0.6);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  color: var(--white); font-size: 11px; letter-spacing: 3px;
  text-transform: uppercase; font-family: 'Georgia', serif;
  padding: 12px 22px; border-radius: 9999px;
  cursor: pointer;
  transition: border-color 0.3s, color 0.3s, transform 0.2s;
}
.translate-btn:hover { border-color: var(--gold); color: var(--gold); }
.translate-btn:active { transform: scale(0.96); }


/* ═══════════════════════════════════════
   COOKIE BANNER
═══════════════════════════════════════ */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9000;
  padding: 20px 32px;
  background: rgba(8,8,18,0.95);
  border-top: 1px solid var(--gold-dim);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  transform: translateY(100%);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  flex-wrap: wrap;
}
.cookie-text-wrap { flex: 1; min-width: 200px; }
.cookie-title {
  font-family: "Times New Roman", serif;
  font-size: 15px; letter-spacing: 3px; color: var(--white);
  text-transform: uppercase; margin-bottom: 6px;
}
.cookie-body {
  font-size: 12px; color: var(--white-dim);
  letter-spacing: 0.5px; line-height: 1.8; max-width: 580px;
}
.cookie-body a { color: var(--gold); text-decoration: none; }
.cookie-actions { display: flex; gap: 12px; flex-shrink: 0; }
.cookie-btn {
  padding: 11px 26px; border-radius: 9999px;
  font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
  font-family: 'Georgia', serif; cursor: pointer;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.cookie-decline {
  background: transparent; border: 1px solid rgba(255,255,255,0.2);
  color: var(--white-dim);
}
.cookie-decline:hover { border-color: var(--white); color: var(--white); }
.cookie-accept {
  background: var(--gold); border: 1px solid var(--gold);
  color: #0a0a0a; font-weight: bold;
}
.cookie-accept:hover { background: #e8c84a; border-color: #e8c84a; }


/* ─── hero-bg (unused but harmless) ─── */
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; z-index: 1;
}
/* ═══════════════════════════════════════
   SECTION-STATS — ridisegnata
   Altezza compatta, layout orizzontale
═══════════════════════════════════════ */
 
/* Override: rimuove il min-height sprecato */
.section-stats {
  min-height: unset;
  padding: 80px 60px 90px;
  position: relative;
}
 
/* Il testo di sfondo è ora un div separato per evitare conflitti con ::after */
.stats-bg-word {
  position: absolute;
  font-family: "Times New Roman", serif;
  font-size: clamp(80px, 18vw, 240px);
  letter-spacing: 20px;
  color: rgba(255,255,255,0.025);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
 
.stats-topline {
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
}
 
/* Grid: 2 colonne con divisore centrale */
.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: 700px;
  width: 100%;
  position: relative;
  z-index: 1;
}
 
.stats-grid::before { display: none; } /* rimosso il vecchio pseudo-elemento */
 
.stats-vdivider {
  width: 1px;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--gold-dim), transparent);
  flex-shrink: 0;
  margin: 0 60px;
}
 
.stat-item {
  display: flex;
  flex-direction: row;   /* ← da column a row: logo + dati in riga */
  align-items: center;
  gap: 28px;
  text-align: left;
  opacity: 0;
  transform: translateY(40px);
}
 
.stat-logo {
  height: 44px;
  flex-shrink: 0;
  display: flex; align-items: center;
  filter: brightness(0) invert(1);
  opacity: 0.6;
  transition: opacity 0.4s;
  margin-bottom: 0; /* override */
}
.stat-item:hover .stat-logo { opacity: 1; }
.stat-logo img { max-height: 100%; max-width: 110px; object-fit: contain; display: block; }
 
.stat-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
 
/* Stelle decorative */
.stat-stars {
  display: flex;
  gap: 3px;
  margin: 2px 0;
}
.star {
  display: inline-block;
  width: 10px; height: 10px;
  position: relative;
}
.star::before {
  content: '★';
  font-size: 11px;
  line-height: 1;
  color: var(--gold);
  opacity: 0.9;
}
.star--half::before { opacity: 0.4; }
 
.stat-num {
  font-size: clamp(40px, 5vw, 60px); /* ridotto da 86px */
  line-height: 1;
  letter-spacing: -2px;
}
 
.stat-desc {
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--white-dim);
  margin-top: 0; /* override */
}
 
@media (max-width: 640px) {
  .section-stats { padding: 60px 24px 70px; }
  .stats-grid { flex-direction: column; gap: 48px; }
  .stats-vdivider { width: 80px; height: 1px; margin: 0; }
  .stat-item { flex-direction: column; text-align: center; gap: 16px; }
  .stat-stars { justify-content: center; }
}
 
 
/* ═══════════════════════════════════════
   HERO — layout a 2 colonne
═══════════════════════════════════════ */
 
.hero {
  padding: 0 60px;
  justify-content: flex-start; /* override: non più centrato */
}
 
/* Contenitore interno a 2 colonne */
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  margin-top: auto;
  margin-bottom: auto;
}
 
.hero-text-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
}
 
.hero-eyebrow {
  font-size: 10px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.8;
  font-family: 'Georgia', serif;
}
 
/* Override: h1 non più centrato */
.hero h1 {
  text-align: left;
  font-size: clamp(36px, 5vw, 80px);
  opacity: 0;
  transform: translateY(50px);
  position: static; /* override z-index: 100 dall'attributo inline */
}
 
.hero-sub {
  font-size: 14px;
  color: var(--white-dim);
  letter-spacing: 1px;
  line-height: 1.8;
  max-width: 400px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s 0.4s, transform 0.8s 0.4s;
}
 
.herobtn {
  /* Override dello stile esistente se necessario */
  align-self: flex-start;
}
 
/* Colonna destra: preview rect più grande */
.hero-preview-col {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70vh;
  max-height: 600px;
}
 
/* Il preview-rect si adatta alla colonna */
.preview-rect {
  width: 100% !important;
  max-width: 520px;
  height: 100% !important;
}
 
/* Indicatore scroll in basso */
.hero-scroll-hint {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2;
  opacity: 0;
  animation: fadeInScroll 1s ease 2.5s forwards;
}
@keyframes fadeInScroll {
  to { opacity: 0.5; }
}
.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold-dim), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 0.6; }
  50% { transform: scaleY(0.6); opacity: 0.2; }
}
.hero-scroll-label {
  font-size: 9px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--white-dim);
  font-family: 'Georgia', serif;
}
 
@media (max-width: 900px) {
  .hero { padding: 100px 32px 80px; }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    margin-top: 0;
  }
  .hero h1 { text-align: center; }
  .hero-eyebrow, .hero-sub { align-self: center; text-align: center; }
  .hero-text-col { align-items: center; }
  .herobtn { align-self: center; }
  .hero-preview-col { height: 50vw; max-height: 400px; width: 100%; }
  .preview-rect { max-width: 100%; }
}
 
 
/* ═══════════════════════════════════════
   SECTION-ROOMS — griglia desktop
═══════════════════════════════════════ */
 
/* Header a 3 aree */
.section-rooms-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 60px;
  margin-bottom: 48px;
}
 
.rooms-count {
  font-family: "Times New Roman", serif;
  font-size: 72px; /* ridotto da 88px */
  color: rgba(255,255,255,0.06);
  line-height: 1;
  text-align: center;
  padding: 0 40px;
}
 
.rooms-nav-hint {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  justify-self: end;
}
.rooms-nav-label {
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--white-dim);
  font-family: 'Georgia', serif;
}
.rooms-nav-divider {
  width: 32px;
  height: 1px;
  background: var(--gold-dim);
  align-self: flex-end;
}
.rooms-nav-sub {
  font-size: 9px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.7;
}
 
/* GRIGLIA invece di scroll orizzontale */
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  padding: 0 60px;
  /* Rimuove l'overflow-x scroll */
  overflow-x: unset;
  cursor: default;
}
 
/* Le card si adattano alla griglia */
.room-card {
  flex-shrink: unset;
  width: auto;           /* override del 310px fisso */
  height: 400px;
  position: relative; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  cursor: pointer;
  counter-increment: roomcard;
  transition: border-color 0.5s ease;
}
 
/* Badge "Home I / Home II" */
.room-card-badge {
  position: absolute;
  top: 20px; left: 20px;
  z-index: 3;
  font-size: 8px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  font-family: 'Georgia', serif;
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(212,175,55,0.25);
  padding: 5px 12px;
  border-radius: 9999px;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.3s, transform 0.3s;
}
.room-card:hover .room-card-badge {
  opacity: 1;
  transform: translateY(0);
}
 
/* CTA link in basso */
.room-card-cta {
  display: block;
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 10px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s 0.1s, transform 0.3s 0.1s;
  font-family: 'Georgia', serif;
}
.room-card:hover .room-card-cta {
  opacity: 1;
  transform: translateY(0);
}
 
/* Tablet: 2 colonne */
@media (max-width: 1024px) and (min-width: 641px) {
  .rooms-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 32px;
  }
  .section-rooms-header { padding: 0 32px; }
  .room-card { height: 360px; }
}
 
/* Mobile: 1 colonna con scroll */
@media (max-width: 640px) {
  .rooms-grid {
    grid-template-columns: 1fr;
    padding: 0 20px;
    gap: 16px;
  }
  .section-rooms-header {
    grid-template-columns: 1fr auto;
    padding: 0 20px;
  }
  .rooms-nav-hint { display: none; }
  .room-card { height: 300px; }
}
 
 
/* ═══════════════════════════════════════
   ALBUM FOOTER — migliorato
   Due righe di info + counter + close
═══════════════════════════════════════ */
 
.album-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  gap: 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: #0a0a14;
  flex-shrink: 0;
}
 
.album-footer-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
 
.album-room-name {
  font-family: "Times New Roman", serif;
  font-size: 13px;
  letter-spacing: 4px;
  color: var(--white);
  text-transform: uppercase;
}
.album-room-name::before {
  content: '✦';
  color: var(--gold);
  margin-right: 12px;
  font-size: 8px;
  vertical-align: middle;
  opacity: 0.7;
}
 
/* ▸ NEW: riga meta sotto al nome */
.album-room-meta {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--white-dim);
  font-family: 'Georgia', serif;
  opacity: 0.6;
  padding-left: 20px; /* allinea con il testo dopo ✦ */
}
 
.album-counter {
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--gold);
  font-family: 'Georgia', serif;
  opacity: 0.7;
  white-space: nowrap;
}
 
@media (max-width: 480px) {
  .album-footer { flex-wrap: wrap; gap: 12px; padding: 12px 16px; }
  .album-room-meta { display: none; }
}
.cd-structures-section{
  position:relative;
  overflow:hidden;
  padding:140px 80px;
  background:
    radial-gradient(circle at top, rgba(212,175,55,0.08), transparent 35%),
    linear-gradient(180deg,#050507 0%,#0b0f18 50%,#050507 100%);
}

.cd-structures-bg{
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size:80px 80px;
  mask-image: radial-gradient(circle at center, black, transparent 80%);
  pointer-events:none;
}

.cd-structures-header{
  position:relative;
  z-index:2;
  max-width:900px;
  margin:0 auto 90px;
  text-align:center;
}

.cd-structures-tag{
  display:inline-block;
  margin-bottom:20px;
  color:#d4af37;
  letter-spacing:4px;
  text-transform:uppercase;
  font-size:11px;
}

.cd-structures-header h2{
  font-family:"Times New Roman", serif;
  font-size:clamp(44px,6vw,88px);
  line-height:1.05;
  font-weight:400;
  color:#fff;
  margin-bottom:28px;
}

.cd-structures-header p{
  max-width:700px;
  margin:0 auto;
  color:rgba(255,255,255,0.6);
  line-height:1.9;
  font-size:15px;
}

.cd-structures-grid{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:40px;
  max-width:1500px;
  margin:auto;
}

.cd-structure-card{
  position:relative;
  border-radius:34px;
  overflow:hidden;
  background:rgba(255,255,255,0.03);
  border:1px solid rgba(255,255,255,0.08);
  backdrop-filter:blur(20px);
  transition:0.5s ease;
}

.cd-structure-card:hover{
  transform:translateY(-12px);
  border-color:rgba(212,175,55,0.35);
}

.cd-structure-card.featured{
  transform:translateY(40px);
}

.cd-structure-image{
  position:relative;
  height:420px;
  overflow:hidden;
}

.image-one{
  background:
    linear-gradient(rgba(0,0,0,0.15),rgba(0,0,0,0.45)),
    url('../../images/slide1.jpg')
    center/cover;
}

.image-two{
  background:
    linear-gradient(rgba(0,0,0,0.15),rgba(0,0,0,0.45)),
    url('../../images/slide2.jpg')
    center/cover;
}

.cd-image-overlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(to top,
    rgba(0,0,0,0.75),
    transparent 50%);
}

.cd-structure-floating{
  position:absolute;
  top:24px;
  left:24px;
  padding:12px 18px;
  border-radius:999px;
  background:rgba(255,255,255,0.08);
  border:1px solid rgba(255,255,255,0.12);
  backdrop-filter:blur(12px);
}

.cd-structure-floating span{
  color:#fff;
  font-size:11px;
  letter-spacing:3px;
  text-transform:uppercase;
}

.cd-structure-content{
  padding:42px;
}

.cd-structure-label{
  display:inline-block;
  margin-bottom:18px;
  color:#d4af37;
  letter-spacing:4px;
  text-transform:uppercase;
  font-size:10px;
}

.cd-structure-content h3{
  color:#fff;
  font-size:38px;
  font-family:"Times New Roman", serif;
  font-weight:400;
  margin-bottom:24px;
}

.cd-structure-content p{
  color:rgba(255,255,255,0.65);
  line-height:1.9;
  margin-bottom:32px;
  font-size:15px;
}

.cd-structure-features{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-bottom:34px;
}

.cd-structure-features span{
  padding:10px 16px;
  border-radius:999px;
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.08);
  color:rgba(255,255,255,0.72);
  font-size:11px;
  letter-spacing:1px;
}

.cd-structure-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:16px 28px;
  border-radius:999px;
  text-decoration:none;
  background:#d4af37;
  color:#050507;
  font-weight:600;
  letter-spacing:1px;
  transition:0.4s ease;
}

.cd-structure-btn:hover{
  transform:translateY(-3px);
  box-shadow:0 10px 30px rgba(212,175,55,0.3);
}

@media(max-width:1100px){

  .cd-structures-grid{
    grid-template-columns:1fr;
  }

  .cd-structure-card.featured{
    transform:none;
  }
}

@media(max-width:768px){

  .cd-structures-section{
    padding:100px 24px;
  }

  .cd-structure-image{
    height:320px;
  }

  .cd-structure-content{
    padding:30px;
  }

  .cd-structure-content h3{
    font-size:30px;
  }

  .cd-structures-header h2{
    line-height:1.1;
  }
}
html {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling:auto;
}