/* =========================================================
   Le5terrelaspezia — Editorial luxury design system
   ========================================================= */

:root {
  --bg: #FAF7F2;
  --paper: #FFFFFF;
  --ink: #0E0E0E;
  --ink-2: #2A2A2A;
  --muted: #6B6660;
  --gold: #B08D57;
  --gold-soft: #D4B896;
  --line: #E8E1D6;
  --line-dark: #2A2A2A;
  --shadow-soft: 0 30px 80px -30px rgba(14, 14, 14, 0.18);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1400px;
  --radius: 0px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, picture, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }
ul, ol { list-style: none; }

/* Typography */
.display, h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.h-xxl { font-size: clamp(3.25rem, 9vw, 9.5rem); font-weight: 300; letter-spacing: -0.035em; }
.h-xl  { font-size: clamp(2.5rem, 6vw, 5.5rem); font-weight: 300; }
.h-lg  { font-size: clamp(2rem, 4vw, 3.75rem); }
.h-md  { font-size: clamp(1.5rem, 2.4vw, 2.25rem); }
.h-sm  { font-size: clamp(1.25rem, 1.8vw, 1.5rem); }

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}
.eyebrow.no-rule::before { display: none; }
.eyebrow .num { color: var(--ink); font-weight: 500; }

.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--ink-2); line-height: 1.7; }
.muted { color: var(--muted); }
.italic-serif { font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 400; }

/* Layout */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}
.section { padding: clamp(5rem, 12vw, 11rem) 0; }
.section-tight { padding: clamp(3rem, 7vw, 6rem) 0; }
.section-dark { background: var(--ink); color: #E8E1D6; }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #FFFFFF; }
.section-dark .muted { color: #9A938A; }
.section-cream { background: var(--bg); }
.section-paper { background: var(--paper); }

.divider { width: 1px; height: 80px; background: var(--line-dark); opacity: 0.2; margin: 0 auto; }
.rule { height: 1px; background: var(--line); width: 100%; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.05rem 2.1rem;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.6s var(--ease), border-color 0.6s var(--ease);
  cursor: pointer;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: translateX(-101%) skewX(-12deg);
  transform-origin: left;
  transition: transform 0.55s var(--ease);
  z-index: -1;
}
.btn:hover { color: #fff; }
.btn:hover::after { transform: translateX(0) skewX(0); }
.btn:active { transform: translateY(1px); }

@media (prefers-reduced-motion: reduce) {
  .btn::after { transition: none; }
}
.btn .arrow { width: 14px; height: 1px; background: currentColor; position: relative; transition: width 0.4s var(--ease); }
.btn .arrow::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.btn:hover .arrow { width: 22px; }

.btn-light { border-color: #fff; color: #fff; }
.btn-light::after { background: #fff; }
.btn-light:hover { color: var(--ink); }

.btn-gold { border-color: var(--gold); color: var(--gold); }
.btn-gold::after { background: var(--gold); }
.btn-gold:hover { color: #fff; }

.link-underline {
  position: relative;
  display: inline-block;
  padding-bottom: 2px;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.link-underline::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(1);
  transform-origin: right;
  transition: transform 0.5s var(--ease);
}
.link-underline:hover::after { transform: scaleX(0); transform-origin: left; }

/* Header */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.4rem 0;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-light { color: #fff; }
.header.is-light .logo, .header.is-light .nav a { color: #fff; }
.header.is-light:not(.scrolled) {
  background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.22) 55%, rgba(0,0,0,0) 100%);
}
.header.is-light:not(.scrolled) .nav a,
.header.is-light:not(.scrolled) .lang,
.header.is-light:not(.scrolled) .menu-toggle {
  text-shadow: 0 1px 10px rgba(0,0,0,0.4);
}
.header.scrolled, .header:not(.is-light) {
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom-color: var(--line);
  color: var(--ink);
}
.header.scrolled.is-light { color: var(--ink); }
.header.scrolled.is-light .logo, .header.scrolled.is-light .nav a { color: var(--ink); }
.header.scrolled { padding: 0.9rem 0; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.logo img {
  height: 46px;
  width: auto;
  display: block;
  transition: height 0.4s var(--ease);
}
.header.scrolled .logo img { height: 38px; }
.footer .brand-logo { height: 70px; width: auto; display: block; margin-bottom: 1.5rem; }
.nav { display: flex; align-items: center; gap: 2.4rem; }
.nav a {
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 400;
  position: relative;
  padding: 0.25rem 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
/* Inverted "Prenota" CTA in the header — stands out against any background.
   Higher specificity (.header.is-light .nav a.btn) needed to beat the
   .header.is-light .nav a { color:#fff } rule. */
.header .nav a.btn,
.header.is-light .nav a.btn,
.header.scrolled .nav a.btn,
.header.scrolled.is-light .nav a.btn {
  background: #ffffff;
  color: var(--ink);
  border-color: #ffffff;
  text-shadow: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.header.is-light:not(.scrolled) .nav a.btn {
  box-shadow: 0 6px 18px rgba(0,0,0,0.22);
}
.header .nav a.btn:hover,
.header.is-light .nav a.btn:hover {
  color: #ffffff;
  border-color: var(--ink);
}
/* The underline animation that .nav a uses doesn't apply to the pill button */
.header .nav a.btn::after { all: unset; }
.header .nav a.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: translateX(-101%) skewX(-12deg);
  transform-origin: left;
  transition: transform 0.55s var(--ease);
  z-index: -1;
}
.header .nav a.btn:hover::after { transform: translateX(0) skewX(0); }

.lang { font-size: 0.68rem; letter-spacing: 0.22em; opacity: 0.6; }
.lang .on { opacity: 1; color: var(--gold); }

/* Language switcher */
.lang-switcher { position: relative; }

.lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.35rem;
  cursor: pointer;
  background: transparent;
  border: none;
  border-radius: 999px;
  color: inherit;
  transition: background 0.25s var(--ease);
}
.lang-trigger:hover { background: rgba(0,0,0,0.05); }
.header.is-light:not(.scrolled) .lang-trigger:hover { background: rgba(255,255,255,0.12); }

.lang-trigger .flag {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}
.lang-trigger .caret {
  width: 8px; height: 8px;
  border-right: 1.4px solid currentColor;
  border-bottom: 1.4px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.3s var(--ease);
  opacity: 0.7;
  margin-right: 0.25rem;
}
.lang-switcher.open .lang-trigger .caret {
  transform: rotate(-135deg) translateY(-2px);
}

.flag {
  display: inline-block;
  border-radius: 50%;
  overflow: hidden;
  background: var(--line);
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.06) inset;
}
.flag svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Dropdown */
.lang-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  min-width: 200px;
  padding: 0.4rem;
  list-style: none;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px) scale(0.98);
  transform-origin: top right;
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
  z-index: 80;
  box-shadow: 0 24px 50px -18px rgba(0,0,0,0.22), 0 4px 12px -4px rgba(0,0,0,0.08);
}
.lang-switcher.open .lang-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.lang-menu li { margin: 0; }
.lang-menu a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.9rem;
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: var(--ink) !important;          /* always dark on light dropdown */
  letter-spacing: 0;
  text-transform: none;
  text-shadow: none;                      /* override hero/light header text-shadow */
  border-radius: 8px;
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
}
.lang-menu a::after { display: none; }    /* kill any inherited underline animation */
.lang-menu a .flag { width: 22px; height: 22px; }
.lang-menu a .label { color: var(--ink); flex: 1; }
.lang-menu a:hover { background: var(--bg); }
.lang-menu a:hover .label { color: var(--gold); }
.lang-menu a.is-active { background: var(--bg); }
.lang-menu a.is-active .label { color: var(--gold); font-weight: 500; }
.lang-menu a.is-active::before { display: none; }

/* Mobile compact */
@media (max-width: 1024px) {
  .header-inner { gap: 0.6rem; }
  .lang-switcher { margin-left: auto; }
  .lang-trigger { padding: 0.3rem; }
  .lang-trigger .flag { width: 26px; height: 26px; }
  .lang-trigger .caret { display: none; }
  .lang-menu {
    right: -0.5rem;
    min-width: 220px;
  }
}

.menu-toggle {
  display: none;
  width: 32px; height: 22px;
  position: relative;
}
.menu-toggle span {
  position: absolute; left: 0; right: 0;
  height: 1px; background: currentColor;
  transition: transform 0.4s var(--ease), top 0.4s var(--ease), opacity 0.3s;
}
.menu-toggle span:nth-child(1) { top: 4px; }
.menu-toggle span:nth-child(2) { top: 11px; }
.menu-toggle span:nth-child(3) { top: 18px; }
.menu-toggle.open { color: var(--ink); position: relative; z-index: 101; }
@media (max-width: 1024px) {
  .header:has(.menu-toggle.open) .logo { opacity: 0; pointer-events: none; }
}
.menu-toggle.open span:nth-child(1) { top: 11px; transform: rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { top: 11px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 99;
  transform: translateX(100%);
  transition: transform 0.6s var(--ease);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 2rem 2rem;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu nav { display: flex; flex-direction: column; gap: 1.2rem; }
.mobile-menu a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  font-weight: 400;
  color: var(--ink);
}
.mobile-menu .meta {
  margin-top: 3rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
  padding-bottom: clamp(4rem, 9vw, 8rem);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.05);
  animation: heroZoom 12s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.25) 35%, rgba(0,0,0,0.55) 70%, rgba(0,0,0,0.85) 100%),
    linear-gradient(90deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0) 60%);
  z-index: -1;
}
.hero-inner { width: 100%; }
.hero h1 { color: #fff; max-width: 14ch; }
.hero .eyebrow { color: var(--gold-soft); }
.hero .eyebrow::before { background: var(--gold-soft); }
.hero-meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.hero-sub {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1.1rem, 1.5vw, 1.4rem);
  max-width: 32ch;
  color: rgba(255,255,255,0.85);
}

/* Hero subpage variant */
.hero-sub-page {
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: 8rem;
}
.hero-sub-page h1 { font-size: clamp(3rem, 8vw, 7rem); }

/* Scroll cue */
.scroll-cue {
  position: absolute;
  right: clamp(1.5rem, 4vw, 3rem);
  bottom: 2rem;
  left: auto;
  transform: none;
  font-size: 0.65rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}
.scroll-cue::after {
  content: "";
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.7), transparent);
  animation: cue 2.4s ease-in-out infinite;
}
@keyframes cue { 0%, 100% { transform: scaleY(1); transform-origin: top; } 50% { transform: scaleY(0.3); } }

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Intro / split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}
.split.reverse > :first-child { order: 2; }
.split-text h2 { margin-bottom: 1.5rem; }
.split-text p + p { margin-top: 1.1rem; }
.split-image {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--line);
}
.split-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.5s var(--ease);
}
.split-image:hover img { transform: scale(1.05); }
.split-image.tall { aspect-ratio: 3/4; }
.split-image.wide { aspect-ratio: 4/3; }

/* Section header */
.section-header {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 5rem);
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}
.section-header.simple { display: block; text-align: center; }
.section-header.simple .eyebrow { justify-content: center; margin-bottom: 1.2rem; }

/* Feature trio */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
}
.feature {
  position: relative;
  padding-top: 2rem;
  border-top: 1px solid var(--line-dark);
}
.feature .num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 1rem;
  display: block;
}
.feature h3 { margin-bottom: 1rem; }
.feature p { color: var(--muted); font-size: 0.95rem; }

/* Showcase image */
.showcase {
  position: relative;
  height: 80vh;
  min-height: 500px;
  overflow: hidden;
}
.showcase img { width: 100%; height: 100%; object-fit: cover; }
.showcase::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.45) 45%, rgba(0,0,0,0.15) 80%),
    linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0) 40%, rgba(0,0,0,0.55) 100%);
}
.showcase-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  z-index: 2;
}
.showcase-text h2 { color: #fff; max-width: 12ch; }
.showcase-text p { max-width: 40ch; margin-top: 1.5rem; color: rgba(255,255,255,0.85); }

/* Rooms grid (Camere page) */
.rooms-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem) clamp(1.5rem, 2.5vw, 2.5rem);
}
.room-card {
  background: var(--paper);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: box-shadow 0.6s var(--ease), transform 0.6s var(--ease), border-color 0.6s var(--ease);
}
.room-card:hover {
  box-shadow: 0 35px 70px -28px rgba(0,0,0,0.22);
  transform: translateY(-4px);
  border-color: transparent;
}
.room-card .slider {
  aspect-ratio: 4/3;
  flex: none;
  background: var(--line);
}
.room-card-body {
  padding: clamp(1.8rem, 3vw, 2.6rem);
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0;
}
.room-card .num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  color: var(--gold);
  display: block;
  margin-bottom: 1rem;
}
.room-card h2 { margin-bottom: 1rem; }
.room-card p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 1.6rem;
}
.room-card .room-amenities {
  margin: 0 0 1.8rem;
  padding: 1.4rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  gap: 0.9rem 1.6rem;
}
.room-card .amenity {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
}
.room-card .btn {
  align-self: flex-start;
  margin-top: auto;
  padding: 0.95rem 1.6rem;
}

/* Suite variant */
.room-card.is-suite {
  background: #141414;
  border-color: transparent;
}
.room-card.is-suite h2,
.room-card.is-suite h2 em { color: #fff; }
.room-card.is-suite .num { color: var(--gold-soft); }
.room-card.is-suite p { color: #9A938A; }
.room-card.is-suite .room-amenities { border-color: rgba(255,255,255,0.1); }
.room-card.is-suite .amenity { color: #E8E1D6; }
.room-card.is-suite .amenity svg { color: var(--gold); }
.room-card.is-suite .btn { border-color: var(--gold); color: var(--gold); }
.room-card.is-suite .btn::after { background: var(--gold); }
.room-card.is-suite .btn:hover { color: #141414; }

@media (max-width: 900px) {
  .rooms-list { grid-template-columns: 1fr; gap: clamp(1.75rem, 5vw, 2.5rem); }
  .room-card .slider { aspect-ratio: 16/11; }
}

/* Legacy room sections (kept for compatibility — unused on Camere page) */
.room {
  padding: clamp(4rem, 8vw, 8rem) 0;
  border-bottom: 1px solid var(--line);
}
.room:last-child { border-bottom: none; }
.room-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.room.reverse .room-grid > :first-child { order: 2; }
.room-content { padding: 1rem 0; }
.room-content .num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  letter-spacing: 0.18em;
  color: var(--gold);
  display: block;
  margin-bottom: 1.5rem;
}
.room-content h2 { margin-bottom: 1.4rem; }
.room-content p { color: var(--muted); font-size: 1.02rem; line-height: 1.75; }
.room-amenities {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem 2.2rem;
  margin: 2.2rem 0 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.amenity {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.amenity svg {
  width: 20px; height: 20px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.4;
}

/* Slider */
.slider {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--line);
}
.slider-track {
  display: flex;
  height: 100%;
  width: 100%;
  transition: transform 0.9s var(--ease);
}
.slider-slide {
  flex: 0 0 100%;
  height: 100%;
  position: relative;
}
.slider-slide img { width: 100%; height: 100%; object-fit: cover; }
.slider-arrows {
  position: absolute;
  bottom: 1.2rem; right: 1.2rem;
  display: flex; gap: 0.5rem;
}
.slider-arrow {
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.95);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
  color: var(--ink);
}
.slider-arrow:hover { background: var(--ink); color: #fff; }
.slider-arrow svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.slider-dots {
  position: absolute;
  bottom: 1.6rem; left: 1.4rem;
  display: flex;
  gap: 0.5rem;
  z-index: 2;
}
.slider-dot {
  width: 24px; height: 2px;
  background: rgba(255,255,255,0.4);
  transition: background 0.4s;
}
.slider-dot.active { background: #fff; }
.slider-counter {
  position: absolute;
  top: 1.2rem; left: 1.4rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: #fff;
  background: rgba(0,0,0,0.35);
  padding: 0.4rem 0.8rem;
  backdrop-filter: blur(8px);
}

/* Rooms slider (homepage) */
.rooms-slider {
  aspect-ratio: auto;
  overflow: hidden;
  background: transparent;
  position: relative;
  padding-bottom: 5rem;
}
.rooms-slider .slider-track { height: auto; }
.rooms-slide {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.rooms-slide .image {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--line);
}
.rooms-slide .image img { width: 100%; height: 100%; object-fit: cover; transition: transform 6s var(--ease); }
.rooms-slide.is-active .image img { transform: scale(1.06); }
.rooms-slide .text { padding: 1rem 0; }
.rooms-slide .text .num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  letter-spacing: 0.18em;
  color: var(--gold);
  display: block;
  margin-bottom: 1.2rem;
}
.rooms-slide .text h3 { margin-bottom: 1.2rem; }
.rooms-slide .text p { color: var(--muted); margin-bottom: 2rem; max-width: 38ch; }
.rooms-slider .slider-arrows { bottom: 0; right: 0; top: auto; }
.rooms-slider .slider-counter {
  top: auto; bottom: 1.4rem; left: 0;
  background: transparent;
  color: var(--ink);
  padding: 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  letter-spacing: 0.18em;
  backdrop-filter: none;
}
.rooms-slider .slider-dots { bottom: 1.6rem; left: 5rem; }
.rooms-slider .slider-dot { background: var(--line-dark); opacity: 0.25; }
.rooms-slider .slider-dot.active { background: var(--gold); opacity: 1; }
.rooms-slider .slider-arrow { background: var(--paper); border: 1px solid var(--line); }
@media (max-width: 900px) {
  .rooms-slide { grid-template-columns: 1fr; }
  .rooms-slide .image { aspect-ratio: 4/3; }
  .rooms-slider { padding-bottom: 6.5rem; }
  .rooms-slider .slider-counter { bottom: 4.5rem; left: 0; }
  .rooms-slider .slider-dots { bottom: 4.5rem; left: auto; right: 0; }
  .rooms-slider .slider-arrows { bottom: 0.5rem; left: 50%; right: auto; transform: translateX(-50%); }
}

/* Stats / metrics */
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.metric {
  padding: 3rem 1.5rem;
  text-align: center;
  border-right: 1px solid var(--line);
}
.metric:last-child { border-right: none; }
.metric .big {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 4vw, 3.75rem);
  font-weight: 300;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 0.6rem;
}
.metric .big em { color: var(--gold); font-style: normal; }
.metric .label {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Map */
.map-frame {
  width: 100%;
  aspect-ratio: 16/9;
  border: 1px solid var(--line);
  background: var(--line);
}
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.3) contrast(1.05); }

/* Attractions list */
.attractions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.attraction {
  padding: 1.6rem 1rem;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.95rem;
  transition: background 0.3s var(--ease);
}
.attraction:nth-child(3n) { border-right: none; }
.attraction:hover { background: var(--paper); }
.attraction .dot { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; }

/* Boats */
.boat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(2rem, 4vw, 4rem); }
.boat {
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
}
.boat-img { aspect-ratio: 4/3; overflow: hidden; }
.boat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.boat:hover .boat-img img { transform: scale(1.05); }
.boat-body { padding: 2.5rem; }
.boat-body h3 { margin-bottom: 1.2rem; }
.boat-features { margin: 1.5rem 0 2rem; }
.boat-features li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--muted);
}
.boat-features li:last-child { border-bottom: none; }

/* Forms */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.form .full { grid-column: 1 / -1; }
.field label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.6rem;
  font-weight: 500;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 1rem 0;
  border: none;
  border-bottom: 1px solid var(--line-dark);
  background: transparent;
  font: inherit;
  color: var(--ink);
  font-size: 1rem;
  transition: border-color 0.3s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-bottom-color: var(--gold);
}
.field textarea { resize: vertical; min-height: 120px; }
.checkbox { display: flex; align-items: center; gap: 0.8rem; font-size: 0.85rem; color: var(--muted); }
.form .form-actions { margin-top: 1rem; }
.form-success {
  padding: 3rem 2rem;
  background: var(--paper);
  border: 1px solid var(--line);
  text-align: center;
}
.form-success h3 { margin-bottom: 0.5rem; }

/* Testimonials */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.testimonial {
  padding: clamp(2rem, 3vw, 3rem);
  border-right: 1px solid var(--line);
}
.testimonial:last-child { border-right: none; }
.stars { color: var(--gold); letter-spacing: 0.2em; font-size: 0.9rem; margin-bottom: 1.5rem; }
.testimonial blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.3rem;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 2rem;
}
.testimonial cite {
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

/* CTA banner */
.cta-banner {
  position: relative;
  padding: clamp(5rem, 10vw, 10rem) 0;
  text-align: center;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
.cta-banner h2 { color: #fff; max-width: 22ch; margin: 0 auto 1.5rem; }
.cta-banner p { color: rgba(255,255,255,0.7); max-width: 50ch; margin: 0 auto 3rem; }
.cta-banner .ornament {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--gold);
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

/* Parking rules */
.rules {
  list-style: none;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.rules li {
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--ink-2);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.rules li::before {
  content: counter(rule, decimal-leading-zero);
  counter-increment: rule;
  font-family: 'Cormorant Garamond', serif;
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  min-width: 2.4rem;
  padding-top: 0.15rem;
}
.rules { counter-reset: rule; }

/* Spec table */
.spec {
  border-top: 1px solid var(--line);
}
.spec dt, .spec dd { padding: 1.2rem 0; }
.spec .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--line);
}
.spec dt { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.spec dd { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; color: var(--ink); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.6rem 0;
  text-align: left;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  color: var(--ink);
  transition: color 0.3s;
}
.faq-q:hover { color: var(--gold); }
.faq-q .ico {
  width: 16px; height: 16px;
  position: relative; flex-shrink: 0;
}
.faq-q .ico::before, .faq-q .ico::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  background: currentColor;
  transition: transform 0.4s var(--ease);
}
.faq-q .ico::before { width: 16px; height: 1px; transform: translate(-50%, -50%); }
.faq-q .ico::after { width: 1px; height: 16px; transform: translate(-50%, -50%); }
.faq-item.open .faq-q .ico::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease);
}
.faq-a-inner { padding: 0 0 1.8rem; color: var(--muted); max-width: 70ch; }
.faq-item.open .faq-a { max-height: 400px; }

/* Contact info */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.contact-cell {
  padding: 3rem 2rem;
  text-align: center;
  border-right: 1px solid var(--line);
}
.contact-cell:last-child { border-right: none; }
.contact-cell .label {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.contact-cell .value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  color: var(--ink);
}
.contact-cell a { transition: color 0.3s; }
.contact-cell a:hover { color: var(--gold); }

/* Terms */
.terms-block { padding: 2.5rem 0; border-bottom: 1px solid var(--line); }
.terms-block:last-child { border-bottom: none; }
.terms-block h3 { margin-bottom: 1rem; }
.terms-block ul { display: grid; gap: 0.6rem; color: var(--muted); }
.terms-block ul li::before { content: "—  "; color: var(--gold); }

/* Footer */
.footer { background: var(--ink); color: #B8B0A4; padding: clamp(4rem, 8vw, 7rem) 0 2rem; }
.footer h3, .footer h4 { color: #fff; }
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.footer .brand h3 {
  font-size: 2.2rem;
  font-weight: 300;
  margin-bottom: 1.2rem;
}
.footer .brand p { color: #9A938A; max-width: 32ch; font-size: 0.92rem; }
.footer-list { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-list a { font-size: 0.9rem; transition: color 0.3s; }
.footer-list a:hover { color: var(--gold-soft); }
.footer address { font-style: normal; font-size: 0.9rem; line-height: 1.8; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
  font-size: 0.78rem;
  color: #6F695F;
  letter-spacing: 0.08em;
}

/* Cookie consent banner */
.cc-banner {
  position: fixed;
  left: 50%;
  bottom: clamp(0.75rem, 2vw, 1.5rem);
  transform: translateX(-50%);
  width: min(960px, calc(100% - 2rem));
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.25);
  z-index: 95;
  padding: 1.6rem 1.8rem;
  display: none;
  animation: ccUp 0.6s var(--ease);
}
.cc-banner.show { display: block; }
@keyframes ccUp { from { transform: translate(-50%, 30px); opacity: 0; } to { transform: translate(-50%, 0); opacity: 1; } }
.cc-banner h4 { font-size: 1.4rem; margin-bottom: 0.6rem; }
.cc-banner p { color: var(--muted); font-size: 0.92rem; line-height: 1.65; margin: 0; }
.cc-banner p a { color: var(--gold); text-decoration: underline; }
.cc-inner {
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 1.5rem 2rem;
  align-items: center;
}
.cc-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: flex-end; }
.cc-actions .btn { padding: 0.85rem 1.4rem; font-size: 0.68rem; }
.cc-actions .btn.is-primary { background: var(--ink); color: #fff; }
.cc-actions .btn.is-primary::after { background: var(--gold); }
.cc-actions .btn.is-primary:hover { color: #fff; }

@media (max-width: 720px) {
  .cc-inner { grid-template-columns: 1fr; }
  .cc-actions { justify-content: stretch; }
  .cc-actions .btn { flex: 1; justify-content: center; }
}

/* Cookie modal */
.cc-modal {
  position: fixed; inset: 0;
  background: rgba(14,14,14,0.6);
  z-index: 110;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  backdrop-filter: blur(6px);
}
.cc-modal.show { display: flex; }
.cc-modal-inner {
  background: var(--paper);
  width: min(640px, 100%);
  max-height: 85vh;
  overflow-y: auto;
  padding: clamp(2rem, 4vw, 3rem);
  position: relative;
  border: 1px solid var(--line);
}
.cc-close {
  position: absolute;
  top: 1.2rem; right: 1.2rem;
  width: 36px; height: 36px;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--muted);
  display: flex; align-items: center; justify-content: center;
}
.cc-close:hover { color: var(--ink); }
.cc-modal h3 { margin-bottom: 0.8rem; }
.cc-modal > .cc-modal-inner > p { color: var(--muted); margin-bottom: 2rem; }
.cc-toggles { display: grid; gap: 1rem; margin-bottom: 2rem; }
.cc-toggle {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: start;
  padding: 1.2rem;
  border: 1px solid var(--line);
}
.cc-toggle strong { display: block; font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; color: var(--ink); margin-bottom: 0.3rem; font-weight: 500; }
.cc-toggle p { font-size: 0.85rem; color: var(--muted); margin: 0; line-height: 1.55; }
.cc-switch {
  position: relative;
  width: 44px; height: 24px;
  flex-shrink: 0;
}
.cc-switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.cc-switch .track {
  position: absolute; inset: 0;
  background: var(--line);
  border-radius: 999px;
  transition: background 0.3s var(--ease);
  cursor: pointer;
}
.cc-switch .track::after {
  content: "";
  position: absolute;
  width: 18px; height: 18px;
  left: 3px; top: 3px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
  transition: transform 0.3s var(--ease);
}
.cc-switch input:checked + .track { background: var(--gold); }
.cc-switch input:checked + .track::after { transform: translateX(20px); }
.cc-switch input:disabled + .track { background: var(--ink); opacity: 0.6; cursor: not-allowed; }
.cc-switch input:disabled + .track::after { transform: translateX(20px); }
.cc-modal-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.cc-modal-actions .btn { flex: 1; justify-content: center; padding: 0.95rem 1.2rem; font-size: 0.7rem; }
.cc-modal-actions .btn.is-primary { background: var(--ink); color: #fff; }
.cc-modal-actions .btn.is-primary::after { background: var(--gold); }

/* Floating WhatsApp */
.wa-float {
  position: fixed;
  right: clamp(1rem, 2.5vw, 1.75rem);
  bottom: clamp(1rem, 2.5vw, 1.75rem);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 90;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.55), 0 6px 14px -4px rgba(0,0,0,0.25);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.wa-float:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 18px 40px -10px rgba(37,211,102,0.65), 0 8px 18px -4px rgba(0,0,0,0.3); }
.wa-float svg { width: 30px; height: 30px; fill: currentColor; }
.wa-float::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  background: #25D366;
  opacity: 0.5;
  z-index: -1;
  animation: waPulse 2.4s ease-out infinite;
}
@keyframes waPulse {
  0%   { transform: scale(1);   opacity: 0.55; }
  80%  { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}
@media (max-width: 600px) {
  .wa-float { width: 54px; height: 54px; }
  .wa-float svg { width: 26px; height: 26px; }
}

/* Utility */
.text-center { text-align: center; }
.mt-sm { margin-top: 1rem; }
.mt-md { margin-top: 2rem; }
.mt-lg { margin-top: 3rem; }
.mt-xl { margin-top: 5rem; }
.max-prose { max-width: 60ch; }
.max-prose-lg { max-width: 75ch; }
.max-prose-narrow { max-width: 40ch; }

/* Responsive */
@media (max-width: 1024px) {
  .nav { display: none; }
  .menu-toggle { display: block; }
  .split, .room-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .split.reverse > :first-child { order: 0; }
  .room.reverse .room-grid > :first-child { order: 0; }
  .feature-grid, .testimonials, .boat-grid, .contact-grid, .attractions, .form { grid-template-columns: 1fr; }
  .testimonial, .contact-cell, .attraction { border-right: none; border-bottom: 1px solid var(--line); }
  .testimonial:last-child, .contact-cell:last-child { border-bottom: none; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(2) { border-right: none; }
  .metric:nth-child(1), .metric:nth-child(2) { border-bottom: 1px solid var(--line); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .section-header { grid-template-columns: 1fr; }
  .spec .row { grid-template-columns: 1fr; }
  .spec dt { padding-bottom: 0.3rem; }
  .spec dd { padding-top: 0.3rem; font-size: 1.4rem; }
}
@media (max-width: 600px) {
  .hero {
    min-height: 100vh; min-height: 100dvh;
    padding-bottom: 8rem;          /* extra room for centred scroll cue below CTA */
  }
  /* Tighten hero H1 typography slightly on mobile */
  .hero h1.h-xxl { font-size: calc(clamp(3.25rem, 9vw, 9.5rem) - 4px); }
  .hero-sub-page h1 { font-size: calc(clamp(3rem, 8vw, 7rem) - 4px); }
  .scroll-cue {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    bottom: 1.5rem;
    align-items: center;           /* keep label + animated line stacked centrally */
  }
  .footer-top { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: 1fr; }
  .metric { border-right: none; border-bottom: 1px solid var(--line); }
  .metric:last-child { border-bottom: none; }
  .room-amenities { gap: 1rem 1.5rem; }
}
