/* =========================================================
   Villa Qais — Warm Mediterranean Luxury
   Hand-crafted design system (no framework, no build step)
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Brand */
  --gold:            #fac600;   /* Villa Qais brand yellow (Lodgify) */
  --gold-soft:       #fde380;
  --gold-deep:       #7d6300;

  /* Mediterranean palette */
  --sand-50:         #fdfaf4;
  --sand-100:        #f7efe2;
  --sand-200:        #efe3cf;
  --terracotta:      #c8794f;
  --terracotta-deep: #a85d36;
  --olive:           #6f7a52;
  --sea:             #2b6e7a;

  /* Ink */
  --ink:             #2b2622;
  --ink-soft:        #5c544c;
  --ink-faint:       #8a8077;
  --white:           #ffffff;
  --line:            rgba(43, 38, 34, 0.12);

  /* Type */
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Rhythm */
  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(4rem, 9vw, 8rem);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 4px 18px rgba(43, 38, 34, 0.08);
  --shadow:    0 18px 50px rgba(43, 38, 34, 0.14);
  --shadow-lg: 0 30px 80px rgba(43, 38, 34, 0.20);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--sand-50);
  line-height: 1.65;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.075rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -0.01em; color: var(--ink); }
h1 { font-size: clamp(2.6rem, 1.6rem + 4.4vw, 5rem); font-weight: 400; }
h2 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem); }
h3 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem); }
h4 { font-size: 1.15rem; font-family: var(--sans); font-weight: 600; letter-spacing: 0; }
p { color: var(--ink-soft); }
.lead { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.4rem); color: var(--ink-soft); line-height: 1.6; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--terracotta); opacity: 0.6; }
.eyebrow.center::after { content: ""; width: 28px; height: 1px; background: var(--terracotta); opacity: 0.6; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-wide { max-width: 1480px; }
.section { padding-block: var(--section-y); }
.section-head { max-width: 60ch; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-top: 0.8rem; }
.section-head p { margin-top: 1rem; }
.bg-sand { background: var(--sand-100); }
.bg-ink { background: var(--ink); color: var(--sand-100); }
.bg-ink h2, .bg-ink h3 { color: var(--white); }
.bg-ink p { color: rgba(247, 239, 226, 0.78); }

.grid { display: grid; gap: clamp(1.25rem, 3vw, 2.5rem); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 920px) { .cols-3, .cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cols-2, .cols-3, .cols-4 { grid-template-columns: 1fr; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.95rem 1.8rem;
  border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; letter-spacing: 0.01em;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.3s ease, color 0.3s ease;
  will-change: transform;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--gold); color: var(--ink); box-shadow: 0 10px 28px rgba(250, 198, 0, 0.4); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(250, 198, 0, 0.5); }
.btn-dark { background: var(--ink); color: var(--sand-100); }
.btn-dark:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.btn-ghost { border: 1.5px solid var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-3px); }
.btn-light { background: var(--white); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-light:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding-block: 1.1rem;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), padding 0.4s var(--ease);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.site-header.scrolled { background: rgba(253, 250, 244, 0.86); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); padding-block: 0.7rem; }

.brand { display: flex; flex-direction: column; line-height: 1; }
.brand .name { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; letter-spacing: 0.01em; color: var(--ink); }
.brand .sub { font-size: 0.62rem; letter-spacing: 0.34em; text-transform: uppercase; color: var(--ink-faint); margin-top: 0.35rem; }
.site-header:not(.scrolled):not(.solid) .brand .name { color: var(--white); }
.site-header:not(.scrolled):not(.solid) .brand .sub { color: rgba(255,255,255,0.75); }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav-links { display: flex; align-items: center; gap: 1.8rem; }
.nav-links a {
  font-size: 0.93rem; font-weight: 500; color: var(--ink-soft);
  position: relative; padding-block: 0.3rem;
  transition: color 0.3s ease;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
  background: var(--gold); transition: width 0.35s var(--ease);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { width: 100%; }
.site-header:not(.scrolled):not(.solid) .nav-links a { color: rgba(255,255,255,0.88); }
.site-header:not(.scrolled):not(.solid) .nav-links a:hover { color: #fff; }

/* Language switcher */
.lang { position: relative; }
.lang-btn { display: flex; align-items: center; gap: 0.4rem; font-size: 0.85rem; font-weight: 600; color: var(--ink-soft); padding: 0.4rem 0.6rem; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.05em; transition: color 0.3s ease; }
.lang-btn svg { width: 14px; height: 14px; transition: transform 0.3s ease; }
.lang[data-open="true"] .lang-btn svg { transform: rotate(180deg); }
.site-header:not(.scrolled):not(.solid) .lang-btn { color: rgba(255,255,255,0.9); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 0.6rem); min-width: 160px;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 0.4rem; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s var(--ease), visibility 0.25s;
}
.lang[data-open="true"] .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-menu button {
  display: flex; align-items: center; gap: 0.6rem; width: 100%; text-align: left;
  padding: 0.6rem 0.8rem; border-radius: 8px; font-size: 0.9rem; color: var(--ink-soft);
  transition: background 0.2s ease, color 0.2s ease;
}
.lang-menu button:hover { background: var(--sand-100); color: var(--ink); }
.lang-menu button[aria-selected="true"] { color: var(--ink); font-weight: 600; }
.lang-menu .flag { font-size: 1.05rem; }

/* Mobile menu toggle */
.menu-toggle { display: none; width: 30px; height: 22px; position: relative; }
.menu-toggle span { position: absolute; left: 0; width: 100%; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.4s var(--ease), opacity 0.3s ease, background 0.3s; }
.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 10px; }
.menu-toggle span:nth-child(3) { top: 20px; }
.site-header:not(.scrolled):not(.solid) .menu-toggle span { background: #fff; }
body.nav-open .menu-toggle span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
body.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .menu-toggle span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }
body.nav-open .menu-toggle span { background: var(--ink) !important; }

@media (max-width: 940px) {
  .menu-toggle { display: block; z-index: 120; }
  .nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: flex-start; align-items: center; gap: 1.7rem; padding: 6.5rem 1.5rem 3rem; overflow-y: auto; -webkit-overflow-scrolling: touch;
    background: var(--sand-50); transform: translateX(100%); transition: transform 0.5s var(--ease);
    z-index: 110;
  }
  body.nav-open .nav { transform: translateX(0); }
  .nav-links { flex-direction: column; gap: 1.6rem; }
  .nav-links a { font-size: 1.4rem; font-family: var(--serif); color: var(--ink) !important; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,16,12,0.42) 0%, rgba(20,16,12,0.08) 35%, rgba(20,16,12,0.55) 100%); }
.hero-inner { padding-bottom: clamp(3rem, 8vh, 7rem); padding-top: 9rem; max-width: 60ch; }
.hero .eyebrow { color: var(--gold-soft); }
.hero .eyebrow::before { background: var(--gold-soft); }
.hero h1 { color: #fff; margin: 1.2rem 0 1.4rem; text-shadow: 0 2px 30px rgba(0,0,0,0.25); }
.hero p { color: rgba(255,255,255,0.92); font-size: clamp(1.05rem, 1rem + 0.5vw, 1.35rem); max-width: 46ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }
.scroll-cue { position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%); z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; color: rgba(255,255,255,0.8); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; }
.scroll-cue span { width: 1px; height: 46px; background: linear-gradient(to bottom, rgba(255,255,255,0.8), transparent); animation: cue 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 40% { transform: scaleY(1); } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* Page hero (sub pages) */
.page-hero { position: relative; min-height: 64vh; display: flex; align-items: center; color: #fff; overflow: hidden; }
.page-hero-media { position: absolute; inset: 0; z-index: -2; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,16,12,0.5), rgba(20,16,12,0.35)); }
.page-hero-inner { padding-top: 7rem; max-width: 60ch; }
.page-hero h1 { color: #fff; margin-top: 1rem; }
.page-hero .eyebrow { color: var(--gold-soft); }
.page-hero .eyebrow::before { background: var(--gold-soft); }
.page-hero p { color: rgba(255,255,255,0.9); margin-top: 1rem; max-width: 50ch; }

/* ---------- Booking bar (Lodgify wrapper) ---------- */
.booking-bar { position: relative; z-index: 30; margin-top: -3.4rem; }
.booking-bar .container { max-width: 1080px; }
.booking-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 1.4rem;
  box-shadow: var(--shadow-lg);
}
.booking-card .booking-label { font-family: var(--serif); font-size: 1.1rem; color: var(--ink); margin-bottom: 0.85rem; padding-left: 0.3rem; }

/* ---------- Stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.stat { background: var(--sand-50); padding: clamp(1.4rem, 3vw, 2.2rem); text-align: center; }
.stat .num { font-family: var(--serif); font-size: clamp(2rem, 1.5rem + 1.6vw, 3rem); color: var(--terracotta); line-height: 1; }
.stat .label { font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); margin-top: 0.6rem; }
@media (max-width: 620px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 5/4; }
.split-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.split-media:hover img { transform: scale(1.06); }
.split-media .tag { position: absolute; left: 1.2rem; bottom: 1.2rem; background: rgba(253,250,244,0.92); backdrop-filter: blur(6px); padding: 0.5rem 1rem; border-radius: 999px; font-size: 0.82rem; font-weight: 600; color: var(--ink); }
.split-body h2 { margin: 0.8rem 0 1.2rem; }
.split-body .btn { margin-top: 1.8rem; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split.reverse .split-media { order: 0; } }

/* ---------- Feature cards ---------- */
.feature {
  background: var(--white); border-radius: var(--radius-lg); padding: 2rem 1.8rem;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(43,38,34,0.04);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
  height: 100%;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature .ico { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; background: var(--sand-100); color: var(--terracotta); margin-bottom: 1.2rem; }
.feature .ico svg { width: 26px; height: 26px; }
.feature h3 { font-family: var(--sans); font-size: 1.15rem; font-weight: 600; margin-bottom: 0.5rem; }
.feature p { font-size: 0.95rem; }

/* ---------- Amenities list ---------- */
.amenity-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9rem 2rem; }
.amenity { display: flex; align-items: center; gap: 0.8rem; padding: 0.7rem 0; border-bottom: 1px solid var(--line); font-size: 0.97rem; color: var(--ink); }
.amenity svg { width: 20px; height: 20px; color: var(--terracotta); flex-shrink: 0; }
@media (max-width: 820px) { .amenity-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .amenity-grid { grid-template-columns: 1fr; } }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 12px; }
.gallery a { position: relative; overflow: hidden; border-radius: var(--radius); cursor: pointer; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.gallery a:hover img { transform: scale(1.08); }
.gallery a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(20,16,12,0.35)); opacity: 0; transition: opacity 0.4s ease; }
.gallery a:hover::after { opacity: 1; }
.gallery .tall { grid-row: span 2; }
.gallery .wide { grid-column: span 2; }
@media (max-width: 820px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; } .gallery .wide { grid-column: span 2; } }
@media (max-width: 520px) { .gallery .wide, .gallery .tall { grid-column: auto; grid-row: auto; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(20,16,12,0.92); display: grid; place-items: center; padding: 2rem; opacity: 0; visibility: hidden; transition: opacity 0.4s ease, visibility 0.4s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 86vh; border-radius: 8px; box-shadow: var(--shadow-lg); }
.lightbox .lb-close { position: absolute; top: 1.5rem; right: 1.5rem; width: 48px; height: 48px; border-radius: 999px; background: rgba(255,255,255,0.12); color: #fff; display: grid; place-items: center; font-size: 1.5rem; }
.lightbox .lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 999px; background: rgba(255,255,255,0.12); color: #fff; display: grid; place-items: center; font-size: 1.4rem; }
.lightbox .lb-prev { left: 1.5rem; } .lightbox .lb-next { right: 1.5rem; }
.lightbox .lb-nav:hover, .lightbox .lb-close:hover { background: rgba(255,255,255,0.25); }

/* ---------- Testimonial ---------- */
.quote { max-width: 60ch; margin-inline: auto; text-align: center; }
.quote .mark { font-family: var(--serif); font-size: 5rem; color: var(--gold); line-height: 0.5; height: 2.2rem; display: block; }
.quote blockquote { font-family: var(--serif); font-size: clamp(1.4rem, 1.1rem + 1.4vw, 2.2rem); line-height: 1.35; color: var(--white); font-weight: 300; }
.quote .who { margin-top: 1.6rem; font-size: 0.9rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-soft); }
.stars { display: inline-flex; gap: 0.2rem; color: var(--gold); margin-bottom: 1.4rem; }
.stars svg { width: 20px; height: 20px; }

/* ---------- Rates table ---------- */
.rate-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.rate-table th, .rate-table td { padding: 1.1rem 1.4rem; text-align: left; border-bottom: 1px solid var(--line); }
.rate-table thead th { background: var(--ink); color: var(--sand-100); font-family: var(--sans); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.05em; text-transform: uppercase; }
.rate-table tbody tr:last-child td { border-bottom: none; }
.rate-table tbody tr:hover { background: var(--sand-50); }
.rate-table .season { font-family: var(--serif); font-size: 1.15rem; color: var(--ink); }
.rate-table .price { font-weight: 700; color: var(--terracotta); font-size: 1.1rem; white-space: nowrap; }
.rate-note { font-size: 0.88rem; color: var(--ink-faint); margin-top: 1rem; }

.included { display: grid; grid-template-columns: repeat(2,1fr); gap: 0.8rem 2rem; }
.included li { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.97rem; }
.included svg { width: 20px; height: 20px; color: var(--olive); flex-shrink: 0; margin-top: 2px; }
@media (max-width: 620px) { .included { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.45rem; color: var(--ink); }
.field input, .field textarea, .field select {
  width: 100%; padding: 0.85rem 1rem; border: 1.5px solid var(--line); border-radius: 12px;
  background: var(--white); font: inherit; color: var(--ink); transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(250,198,0,0.18); }
.field textarea { resize: vertical; min-height: 140px; }
.contact-info li { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.contact-info .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--sand-100); color: var(--terracotta); display: grid; place-items: center; flex-shrink: 0; }
.contact-info .ico svg { width: 20px; height: 20px; }
.contact-info .k { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); }
.contact-info .v { font-weight: 600; color: var(--ink); }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16/10; border: none; width: 100%; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(2.5rem, 6vw, 5rem); text-align: center; color: #fff; }
.cta-band-media { position: absolute; inset: 0; z-index: -2; }
.cta-band-media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(20,16,12,0.55), rgba(20,16,12,0.55)); }
.cta-band h2 { color: #fff; max-width: 22ch; margin: 0.8rem auto 1rem; }
.cta-band p { color: rgba(255,255,255,0.9); max-width: 50ch; margin-inline: auto; }
.cta-band .btn { margin-top: 2rem; }
.cta-band .eyebrow { color: var(--gold-soft); justify-content: center; }
.cta-band .eyebrow::before { background: var(--gold-soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(247,239,226,0.7); padding-top: clamp(3rem, 6vw, 5rem); }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.site-footer .brand .name { color: #fff; }
.site-footer .brand .sub { color: rgba(255,255,255,0.5); }
.site-footer h4 { color: #fff; margin-bottom: 1.1rem; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; }
.site-footer a { color: rgba(247,239,226,0.7); font-size: 0.95rem; transition: color 0.3s ease; display: inline-block; padding: 0.25rem 0; }
.site-footer a:hover { color: var(--gold); }
.footer-about p { margin-top: 1rem; font-size: 0.95rem; max-width: 34ch; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-block: 1.6rem; font-size: 0.85rem; color: rgba(247,239,226,0.5); }
.footer-bottom .lic { padding: 0.3rem 0.8rem; border: 1px solid rgba(255,255,255,0.15); border-radius: 999px; }
@media (max-width: 820px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- Prose ---------- */
.prose p { margin-bottom: 1.2rem; }
.prose p:last-child { margin-bottom: 0; }
.prose h3 { margin: 2rem 0 0.8rem; }

/* ---------- Scroll reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: 0.1s; }
[data-reveal][data-delay="2"] { transition-delay: 0.2s; }
[data-reveal][data-delay="3"] { transition-delay: 0.3s; }
[data-reveal][data-delay="4"] { transition-delay: 0.4s; }

/* utilities */
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; }
.text-center { text-align: center; }
.maxw-prose { max-width: 65ch; }

/* =========================================================
   v2 additions — logo, carousels, FAQ, conditions, mobile nav
   ========================================================= */

/* ---------- Logo in header ---------- */
.brand { gap: 0; }
.brand-logo { display: flex; align-items: center; }
.brand-logo img { height: 60px; width: auto; display: block; transition: opacity .3s ease; }
.brand-logo .logo-dark { display: none; }
.site-header.scrolled .brand-logo .logo-light { display: none; }
.site-header.scrolled .brand-logo .logo-dark { display: block; }
.site-footer .brand-logo .logo-dark { display: none; }
.site-footer .brand-logo .logo-light { display: block; height: 72px; }
@media (max-width: 940px) { .brand-logo img { height: 52px; } }

/* z-index: keep header + mobile nav above the Lodgify widget (modal z 999) */
.site-header { z-index: 1000; }

/* ---------- Mobile nav fixes ---------- */
@media (max-width: 940px) {
  .nav { z-index: 1010; }
  .menu-toggle { z-index: 1020; }
  /* language switcher visible & legible inside the open menu */
  body.nav-open .nav .lang { margin-top: .5rem; }
  body.nav-open .nav .lang-btn { color: var(--ink) !important; font-size: 1.05rem; padding: .6rem 1rem; border: 1.5px solid var(--line); border-radius: 999px; }
  body.nav-open .nav .lang-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; margin-top: .6rem; display: flex; gap: .4rem; flex-wrap: wrap; justify-content: center; }
  body.nav-open .nav .lang-menu button { border: 1px solid var(--line); border-radius: 999px; }
  /* hide the chevron toggle interaction on mobile (menu is always expanded) */
  body.nav-open .nav .lang-btn .chev { display: none; }
  .nav .btn-primary { margin-top: .5rem; }
}

/* ---------- Carousel ---------- */
.carousel { position: relative; }
.carousel-track {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; padding: 4px; scrollbar-width: none; scroll-behavior: smooth;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide {
  flex: 0 0 auto; width: min(620px, 84%); aspect-ratio: 3/2; scroll-snap-align: center;
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); background: var(--sand-200);
}
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.carousel.tall .carousel-slide { aspect-ratio: 4/5; width: min(420px, 74%); }
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 999px;
  background: rgba(255,255,255,.92); box-shadow: var(--shadow); display: grid; place-items: center; color: var(--ink);
  z-index: 4; transition: background .2s ease, transform .2s ease; cursor: pointer;
}
.carousel-btn:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.carousel-btn:disabled { opacity: .35; cursor: default; }
.carousel-btn svg { width: 22px; height: 22px; }
.carousel-prev { left: 12px; } .carousel-next { right: 12px; }
.carousel-dots { display: flex; gap: 8px; justify-content: center; margin-top: 1.2rem; flex-wrap: wrap; }
.carousel-dot { width: 8px; height: 8px; border-radius: 999px; background: var(--line); cursor: pointer; transition: width .3s ease, background .3s ease; padding: 0; }
.carousel-dot.active { background: var(--terracotta); width: 24px; }
@media (max-width: 620px) { .carousel-btn { width: 42px; height: 42px; } .carousel-prev { left: 6px; } .carousel-next { right: 6px; } }

/* room carousel block */
.room { margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.room:last-child { margin-bottom: 0; }
.room-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; flex-wrap: wrap; }
.room-head h3 { font-family: var(--serif); font-size: clamp(1.5rem,1.2rem+1vw,2.1rem); }
.room-head p { font-size: .95rem; max-width: 48ch; margin-top: .3rem; }
.room-count { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); white-space: nowrap; }

/* ---------- FAQ (native details) ---------- */
.faq { max-width: 800px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1.2rem;
  padding: 1.35rem .2rem; font-family: var(--serif); font-size: clamp(1.1rem,1rem+.4vw,1.35rem); color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .pm { position: relative; flex-shrink: 0; width: 24px; height: 24px; transition: transform .3s var(--ease); }
.faq-item .pm::before, .faq-item .pm::after { content: ""; position: absolute; background: var(--terracotta); border-radius: 2px; }
.faq-item .pm::before { top: 11px; left: 2px; right: 2px; height: 2px; }
.faq-item .pm::after { left: 11px; top: 2px; bottom: 2px; width: 2px; transition: opacity .3s ease; }
.faq-item[open] .pm::after { opacity: 0; }
.faq-item[open] .pm { transform: rotate(180deg); }
.faq-item .faq-a { padding: 0 .2rem 1.4rem; color: var(--ink-soft); max-width: 70ch; }
.faq-item .faq-a a { color: var(--terracotta); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Booking conditions / info cards ---------- */
.cond-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
@media (max-width: 720px) { .cond-grid { grid-template-columns: 1fr; } }
.cond-card { background: var(--white); border: 1px solid rgba(43,38,34,.06); border-radius: var(--radius-lg); padding: 1.8rem; box-shadow: var(--shadow-sm); }
.cond-card h3 { font-family: var(--sans); font-size: 1.05rem; font-weight: 600; margin-bottom: 1rem; display: flex; align-items: center; gap: .6rem; }
.cond-card h3 svg { width: 22px; height: 22px; color: var(--terracotta); }
.cond-row { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.cond-row:last-child { border-bottom: none; }
.cond-row .k { color: var(--ink-soft); } .cond-row .v { font-weight: 600; color: var(--ink); white-space: nowrap; }

/* house rules */
.rules { display: grid; grid-template-columns: repeat(2, 1fr); gap: .1rem 2.5rem; }
.rule { display: flex; gap: .8rem; align-items: center; padding: .7rem 0; font-size: .95rem; white-space: nowrap; }
.rule svg { width: 22px; height: 22px; color: var(--terracotta); flex-shrink: 0; margin-top: 1px; }
@media (max-width: 760px) { .rules { grid-template-columns: 1fr; } .rule { white-space: normal; align-items: flex-start; } }

/* registration badges */
.reg-badges { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1rem; }
.reg-badge { display: inline-flex; flex-direction: column; gap: .15rem; padding: .6rem 1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--sand-50); }
.reg-badge .k { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); }
.reg-badge .v { font-weight: 600; color: var(--ink); font-size: .9rem; word-break: break-all; }

/* surroundings detail list with links */
.area-block { margin-bottom: clamp(2rem,4vw,3rem); }
.area-block h3 { font-family: var(--serif); font-size: clamp(1.4rem,1.2rem+.8vw,1.9rem); margin-bottom: .6rem; }
.area-links { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.area-link { display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .9rem; border: 1.5px solid var(--line); border-radius: 999px; font-size: .85rem; font-weight: 600; color: var(--ink); transition: border-color .2s ease, transform .2s ease; }
.area-link:hover { border-color: var(--terracotta); transform: translateY(-2px); }
.area-link svg { width: 15px; height: 15px; color: var(--terracotta); }
.area-meta { display: inline-flex; align-items: center; gap: .4rem; font-size: .82rem; font-weight: 600; color: var(--terracotta); background: var(--sand-100); padding: .25rem .7rem; border-radius: 999px; margin-bottom: .6rem; }

/* phone contact rows */
.contact-info a.v:hover { color: var(--terracotta); }

/* solid header (pages without a hero, e.g. Privacy) */
.site-header.solid .brand-logo .logo-light { display: none; }
.site-header.solid .brand-logo .logo-dark { display: block; }
.page-pad { padding-top: 7rem; }

/* fix: backdrop-filter on the scrolled header traps the fixed mobile menu in a
   containing block. Remove it while the menu is open so the overlay covers the viewport. */
@media (max-width: 940px) {
  body.nav-open .site-header.scrolled {
    backdrop-filter: none; -webkit-backdrop-filter: none; background: transparent; box-shadow: none;
  }
}

/* ---------- Video ---------- */
.video-wrap { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 9/16; max-width: 440px; margin-inline: auto; background: #000; }
.video-wrap video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-wrap .video-play {
  position: absolute; inset: 0; display: grid; place-items: center; cursor: pointer; border: 0;
  background: linear-gradient(rgba(20,16,12,.15), rgba(20,16,12,.35)); transition: background .3s ease;
}
.video-wrap .video-play:hover { background: linear-gradient(rgba(20,16,12,.25), rgba(20,16,12,.45)); }
.video-wrap .video-play span {
  width: 84px; height: 84px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--ink);
  display: grid; place-items: center; box-shadow: var(--shadow); transition: transform .3s var(--ease);
}
.video-wrap .video-play:hover span { transform: scale(1.08); }
.video-wrap .video-play svg { width: 30px; height: 30px; margin-left: 4px; }
.video-wrap.playing .video-play { display: none; }

/* ---------- Specs card (key features at a glance) ---------- */
.specs { background: var(--white); border: 1px solid rgba(43,38,34,.06); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: clamp(1.6rem, 3vw, 2.8rem); }
.specs .eyebrow { margin-bottom: .7rem; }
.specs-title { font-family: var(--serif); font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); }
.specs-sub { color: var(--ink-faint); font-size: .95rem; margin: .4rem 0 1.6rem; }
.specs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(1.5rem, 4vw, 3.5rem); }
.spec { display: flex; align-items: center; gap: 1rem; padding: .95rem 0; border-bottom: 1px solid var(--line); font-size: 1.02rem; color: var(--ink); }
.spec svg { width: 26px; height: 26px; color: var(--terracotta); flex-shrink: 0; }
/* remove the last border in each column */
.specs-grid .spec:last-child, .specs-grid .spec:nth-last-child(2):nth-child(odd) { border-bottom: none; }
@media (max-width: 620px) {
  .specs-grid { grid-template-columns: 1fr; }
  .specs-grid .spec:nth-last-child(2):nth-child(odd) { border-bottom: 1px solid var(--line); }
}

/* ---------- Video: larger & immersive on mobile ---------- */
@media (max-width: 767px) {
  .video-wrap { max-width: 100%; }
  .video-wrap .video-play span { width: 72px; height: 72px; }
}

/* secure-booking note in the reservation block */
.booking-secure { display: flex; align-items: center; gap: .5rem; margin: 1rem .3rem 0; font-size: .85rem; color: var(--ink-faint); }
.booking-secure svg { width: 17px; height: 17px; color: var(--olive); flex-shrink: 0; }
