/* Self-hosted fonts (voorheen Google Fonts) — latin + latin-ext subsets */
/* Fraunces 300-700 latin-ext */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(assets/fonts/fraunces-300-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Fraunces 300-700 latin */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(assets/fonts/fraunces-300-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Inter 400 latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/inter-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Inter 400 latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(assets/fonts/inter-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Inter 500 latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/inter-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Inter 500 latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(assets/fonts/inter-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Inter 600 latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/inter-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Inter 600 latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(assets/fonts/inter-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Inter 700 latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/inter-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Inter 700 latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(assets/fonts/inter-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* =========================================================
   Apartamentos Pinosol Ibiza · Design System
   ========================================================= */

:root {
  /* Palette — earth + Mediterranean */
  --bone:        #f4efe6;
  --paper:       #faf6ec;
  --sand:        #e4d9c5;
  --ink:         #1a1f19;
  --ink-soft:    #2c3329;
  --muted:       #6b6f65;
  --line:        rgba(26, 31, 25, 0.12);
  --line-strong: rgba(26, 31, 25, 0.32);
  --pine:        #2a3826;
  --pine-deep:   #16201a;
  --olive:       #5b6a3f;
  --water:       #1f8c92;
  --terracotta:  #c26943;
  --gold:        #b8923a;
  --white:       #ffffff;

  /* Type */
  --serif: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --sans:  "Inter", "Helvetica Neue", Arial, sans-serif;

  /* Radii / shadows */
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-pill: 999px;
  --shadow-sm: 0 6px 18px rgba(20, 30, 22, 0.08);
  --shadow-md: 0 20px 50px rgba(20, 30, 22, 0.14);
  --shadow-lg: 0 36px 90px rgba(20, 30, 22, 0.22);

  /* Layout */
  --max:  1240px;
  --gutter: clamp(20px, 4vw, 56px);
}

/* Reset / base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.55;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-anchor: none;
}
img, picture, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* Subtle grain on whole page (CSS, no asset) */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(rgba(26,31,25,0.05) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: .22;
  z-index: 1;
  mix-blend-mode: multiply;
}

/* =====================================================
   Typography
   ===================================================== */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 350;
  font-variation-settings: "opsz" 144, "SOFT" 0, "WONK" 0;
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin: 0;
  color: var(--ink);
}
h1 { font-size: clamp(2.8rem, 7.4vw, 6.4rem); }
h2 { font-size: clamp(2.2rem, 4.6vw, 4.2rem); }
h3 { font-size: clamp(1.3rem, 1.6vw, 1.65rem); font-weight: 400; letter-spacing: -0.015em; }
h4 { font-size: 1.05rem; font-weight: 500; }

p { margin: 0; }
.lede { font-size: clamp(1.05rem, 1.2vw, 1.18rem); color: var(--ink-soft); max-width: 56ch; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--terracotta);
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--terracotta);
  display: inline-block;
}

/* =====================================================
   Header
   ===================================================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 12px var(--gutter);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  background: rgba(244, 239, 230, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
  transition: padding .35s ease, box-shadow .35s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 2px 18px rgba(20,30,22,0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.brand img { height: 40px; width: auto; }
.brand-text { display: inline-flex; flex-direction: column; line-height: 1; }
.brand-text small {
  font-family: var(--sans);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.7;
  margin-top: 4px;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.nav-links a { position: relative; padding: 6px 0; }
.nav-links a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.nav-links a:hover::after { transform: scaleX(1); }

.header-actions { display: inline-flex; align-items: center; gap: 12px; }
.lang-switch {
  display: inline-flex; align-items: center;
  border: 1px solid currentColor;
  border-radius: var(--r-pill);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  overflow: hidden;
  opacity: 0.92;
}
.lang-switch a { padding: 6px 10px; transition: background .2s, color .2s; }
.lang-switch a.active { background: var(--pine-deep); }
.lang-switch a.active span { color: var(--bone); }
.lang-switch a span { display: inline-block; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  padding: 12px 22px;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  transition: transform .2s ease, background .25s, color .25s, border-color .25s, box-shadow .25s;
  min-height: 44px;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--terracotta);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(92, 57, 39, 0.12);
}
.btn-primary:hover {
  background: #a85432;
  box-shadow: 0 10px 22px rgba(92, 57, 39, 0.16);
}
.btn-primary:focus-visible {
  box-shadow: 0 0 0 4px rgba(194, 105, 67, 0.18), 0 6px 16px rgba(92, 57, 39, 0.12);
}
.btn-ghost {
  background: transparent;
  color: inherit;
  border-color: currentColor;
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); }
.is-scrolled .btn-ghost:hover { background: rgba(26,31,25,0.06); }
.btn-dark {
  background: var(--pine);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(15, 22, 18, 0.12);
}
.btn-dark:hover {
  background: var(--pine-deep);
  box-shadow: 0 10px 22px rgba(15, 22, 18, 0.16);
}
.btn-dark:focus-visible {
  box-shadow: 0 0 0 4px rgba(42, 56, 38, 0.16), 0 6px 16px rgba(15, 22, 18, 0.12);
}

/* Menu toggle (mobile) */
.menu-toggle {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid currentColor;
  background: transparent;
  border-radius: var(--r-pill);
  align-items: center; justify-content: center;
  color: inherit;
}
.menu-toggle span {
  width: 16px; height: 1.5px;
  background: currentColor;
  position: relative;
}
.menu-toggle span::before, .menu-toggle span::after {
  content: "";
  position: absolute; left: 0;
  width: 16px; height: 1.5px;
  background: currentColor;
}
.menu-toggle span::before { top: -5px; }
.menu-toggle span::after { top: 5px; }

/* =====================================================
   Hero
   ===================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
  background-color: var(--pine-deep);
}
.hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
  opacity: 1;
  transform: scale(1.04);
  animation: heroIn 1.4s cubic-bezier(.2,.7,.2,1) both, heroZoom 18s ease-in-out 1.4s forwards;
}
@keyframes heroIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes heroZoom { to { transform: scale(1); } }

.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 70% at 12% 100%, rgba(15,22,18,0.78), rgba(15,22,18,0.18) 60%, transparent 80%),
    linear-gradient(180deg, rgba(15,22,18,0.35) 0%, rgba(15,22,18,0) 35%, rgba(15,22,18,0.4) 100%);
}
.hero-inner {
  padding: 160px var(--gutter) 80px;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 40px;
  align-items: end;
}
.hero-title { color: var(--white); max-width: 14ch; }
.hero-title em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  color: #efd8b1;
}
.hero-meta {
  display: grid;
  gap: 18px;
  padding-bottom: 16px;
  color: rgba(255,255,255,0.92);
  font-size: 0.95rem;
  max-width: 360px;
}
.hero-meta .lede { color: rgba(255,255,255,0.86); }
.hero .eyebrow { color: #efd8b1; }
.hero .eyebrow::before { background: #efd8b1; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.hero-actions .btn-ghost { color: var(--white); }
.hero-actions .btn-primary { background: var(--white); color: var(--pine-deep); }
.hero-actions .btn-primary:hover { background: var(--paper); }

.hero-scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: inline-flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 0.68rem; letter-spacing: 0.32em; text-transform: uppercase;
  color: rgba(255,255,255,0.78);
}
.hero-scroll::after {
  content: ""; width: 1px; height: 36px;
  background: linear-gradient(180deg, rgba(255,255,255,0.78), transparent);
  animation: scrollLine 2.4s ease-in-out infinite;
}
@keyframes scrollLine { 0%, 100% { transform: scaleY(1); transform-origin: top; } 50% { transform: scaleY(0.4); transform-origin: top; } }

/* Awards strip */
.awards {
  display: flex; justify-content: center; align-items: center;
  gap: clamp(20px, 5vw, 60px);
  padding: 20px var(--gutter);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  flex-wrap: wrap;
}
.awards strong { color: var(--ink); font-weight: 600; }

/* =====================================================
   Sections layout
   ===================================================== */
section { position: relative; z-index: 2; }
.section {
  padding: clamp(72px, 10vw, 140px) var(--gutter);
}
.container {
  max-width: var(--max);
  margin: 0 auto;
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}
.split.center { align-items: center; }

.divider {
  height: 1px; background: var(--line);
  margin: 0;
}

/* =====================================================
   Intro / Story
   ===================================================== */
.intro {
  background: var(--paper);
}
.intro .lede {
  font-size: clamp(1.1rem, 1.4vw, 1.32rem);
  color: var(--ink-soft);
  max-width: 60ch;
  line-height: 1.55;
}
.intro h2 { max-width: 16ch; }
.intro-meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 22px;
  margin-top: 32px;
  font-size: 0.9rem;
  color: var(--muted);
  align-items: center;
}
.intro-meta dt { color: var(--ink-soft); font-weight: 600; }
.intro-meta dd { margin: 0; }

/* =====================================================
   Marquee facts strip
   ===================================================== */
.marquee {
  display: flex; align-items: center; gap: 40px;
  padding: 22px 0;
  background: var(--pine-deep);
  color: var(--bone);
  overflow: hidden;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.4vw, 2.4rem);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  animation: scroll 35s linear infinite;
  padding-left: 40px;
}
.marquee-track span { opacity: 0.9; }
.marquee-track .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--terracotta);
  display: inline-block;
}
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =====================================================
   Feature trio
   ===================================================== */
.trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trio article {
  padding: 56px clamp(20px, 3vw, 44px);
  border-right: 1px solid var(--line);
  display: grid; gap: 18px;
  align-content: start;
}
.trio article:last-child { border-right: 0; }
.trio .num {
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: 0.16em;
  color: var(--terracotta);
}
.trio h3 { font-family: var(--serif); font-weight: 400; max-width: 12ch; font-size: 1.7rem; line-height: 1.05; }
.trio p { color: var(--muted); }

/* =====================================================
   Apartments showcase
   ===================================================== */
.apartments { background: var(--paper); }
.apt-list {
  display: grid;
  gap: 80px;
  margin-top: 64px;
}
.apt-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}
.apt-card.reverse { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
.apt-card.reverse .apt-img { order: 2; }
.apt-card.reverse .apt-body { order: 1; }

.apt-img {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 5 / 4;
  box-shadow: var(--shadow-md);
  background: var(--sand);
}
.apt-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
.apt-card:hover .apt-img img { transform: scale(1.04); }
.apt-img .tag {
  position: absolute; top: 18px; left: 18px;
  padding: 6px 12px;
  background: rgba(244,239,230,0.94);
  color: var(--ink);
  border-radius: var(--r-pill);
  font-size: 0.76rem; font-weight: 500;
  letter-spacing: 0.04em; text-transform: none;
}

.apt-body .apt-name {
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 2.85rem);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 4px 0 18px;
}
.apt-body .apt-meta {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 22px;
}
.apt-body .apt-meta span {
  padding: 6px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  font-size: 0.78rem;
  color: var(--ink-soft);
}
.apt-body .apt-desc { color: var(--ink-soft); max-width: 56ch; }
.apt-body .apt-features {
  list-style: none; padding: 0; margin: 22px 0 28px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.apt-body .apt-features li { display: flex; gap: 10px; align-items: baseline; }
.apt-body .apt-features li::before {
  content: ""; width: 5px; height: 5px;
  border-radius: 50%; background: var(--terracotta);
  flex: 0 0 5px; transform: translateY(-2px);
}

.apt-price {
  display: inline-flex; align-items: baseline; gap: 8px;
  padding: 12px 18px;
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 0.85rem;
  color: var(--muted);
}
.apt-price strong { color: var(--ink); font-size: 1rem; font-weight: 600; }

/* =====================================================
   Amenities grid
   ===================================================== */
.amenities {
  background: var(--bone);
}
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  margin-top: 56px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.amenities-grid article {
  background: var(--paper);
  padding: 36px 28px;
  display: grid; gap: 12px;
  align-content: start;
}
.amenities-grid svg { width: 28px; height: 28px; color: var(--pine); }
.amenities-grid h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.15rem;
}
.amenities-grid p { color: var(--muted); font-size: 0.9rem; }

/* =====================================================
   Photo Gallery
   ===================================================== */
.gallery { background: var(--paper); }
.gallery-head {
  display: flex; flex-wrap: wrap;
  align-items: end; justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
}
.gallery-filters {
  display: inline-flex; flex-wrap: wrap; gap: 8px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--bone);
}
.gallery-filters button {
  background: transparent;
  border: 0;
  border-radius: var(--r-pill);
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  transition: background .2s, color .2s;
}
.gallery-filters button.active {
  background: var(--pine);
  color: var(--white);
}
/* Justified-rows layout */
.gallery-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.gallery-row {
  display: flex;
  flex-wrap: nowrap;
}
.gallery-grid figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--r-sm);
  background: var(--sand);
  cursor: zoom-in;
  flex: 0 0 auto;
}
.gallery-grid img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s ease, filter .4s ease;
  display: block;
}
.gallery-grid figure:hover img { transform: scale(1.05); }
.gallery-grid figure::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(15,22,18,0.55));
  opacity: 0; transition: opacity .3s ease;
}
.gallery-grid figure:hover::after { opacity: 1; }
.gallery-grid figcaption {
  position: absolute; bottom: 14px; left: 16px;
  color: var(--white);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0; transform: translateY(8px);
  transition: opacity .3s ease, transform .3s ease;
  z-index: 2;
}
.gallery-grid figure:hover figcaption {
  opacity: 1; transform: translateY(0);
}
.gallery-load {
  display: flex; justify-content: center;
  margin-top: 36px;
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  display: none;
  align-items: center; justify-content: center;
  background: rgba(15,22,18,0.94);
  z-index: 100;
  padding: clamp(20px, 4vw, 60px);
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-lg);
  object-fit: contain;
}
.lb-close, .lb-prev, .lb-next {
  position: absolute;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  border-radius: var(--r-pill);
  width: 48px; height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
  backdrop-filter: blur(10px);
  transition: background .2s;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,0.22); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lb-counter {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.78);
  font-size: 0.8rem; letter-spacing: 0.16em;
}

/* =====================================================
   Location / Distances
   ===================================================== */
.location { background: var(--pine-deep); color: var(--bone); }
.location h2, .location .eyebrow { color: inherit; }
.location .eyebrow { color: #efd8b1; }
.location .eyebrow::before { background: #efd8b1; }
.location .lede { color: rgba(244,239,230,0.78); }
.distances {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.12);
  margin-top: 56px;
  border: 1px solid rgba(255,255,255,0.12);
}
.distances > div {
  background: var(--pine-deep);
  padding: 32px 26px;
  display: grid; gap: 8px;
}
.distances dt {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244,239,230,0.6);
  font-weight: 500;
}
.distances dd {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--white);
}
.distances dd small {
  display: block;
  font-family: var(--sans);
  font-size: 0.86rem;
  color: rgba(244,239,230,0.58);
  letter-spacing: 0;
  text-transform: none;
  margin-top: 6px;
}
.map-link {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 32px;
  color: #efd8b1;
  font-size: 0.94rem;
  font-weight: 500;
}
.map-link::after {
  content: "→"; transition: transform .25s;
}
.map-link:hover::after { transform: translateX(4px); }

/* =====================================================
   Rates table
   ===================================================== */
.rates { background: var(--paper); }
.rate-card {
  margin-top: 56px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.rate-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 26px;
  background: var(--bone);
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap; gap: 14px;
}
.rate-toolbar strong { font-family: var(--serif); font-size: 1.1rem; font-weight: 400; }
.rate-toolbar span {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.rate-table-wrap { overflow-x: auto; }
.rate-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  min-width: 640px;
}
.rate-table th, .rate-table td {
  padding: 18px 22px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.rate-table thead th {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--paper);
}
.rate-table tbody th {
  font-weight: 600;
  color: var(--ink);
  background: var(--paper);
  width: 26%;
}
.rate-table tbody td {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--ink);
  font-weight: 400;
}
.rate-table tbody tr.high td, .rate-table tbody tr.high th { background: rgba(194, 105, 67, 0.04); }
.rate-table tbody tr:last-child th,
.rate-table tbody tr:last-child td { border-bottom: 0; }
.rate-notes {
  padding: 22px 26px;
  border-top: 1px solid var(--line);
  background: var(--paper);
  font-size: 0.86rem;
  color: var(--muted);
  display: grid; gap: 6px;
}

/* =====================================================
   Big image story panels
   ===================================================== */
.story-panel {
  position: relative;
  min-height: 70vh;
  display: grid;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}
.story-panel img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
}
.story-panel.show-full { background: #16201a; min-height: 80vh; }
.story-panel.show-full img { object-fit: cover; }
.story-panel.show-full::after {
  background: linear-gradient(
    90deg,
    rgba(15,22,18,0.9) 0%,
    rgba(15,22,18,0.7) 30%,
    rgba(15,22,18,0.42) 62%,
    rgba(15,22,18,0.1) 88%,
    transparent 100%
  );
}
.story-panel::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(
    90deg,
    rgba(15,22,18,0.86) 0%,
    rgba(15,22,18,0.68) 28%,
    rgba(15,22,18,0.38) 58%,
    rgba(15,22,18,0.08) 86%,
    transparent 100%
  );
  z-index: -1;
}
.story-panel.right::after {
  background: linear-gradient(
    270deg,
    rgba(15,22,18,0.86) 0%,
    rgba(15,22,18,0.68) 28%,
    rgba(15,22,18,0.38) 58%,
    rgba(15,22,18,0.08) 86%,
    transparent 100%
  );
}
.story-panel.right .story-content { margin-left: auto; }
.story-content {
  max-width: 540px;
  padding: clamp(60px, 8vw, 100px) var(--gutter);
}
.story-content .eyebrow { color: #efd8b1; }
.story-content .eyebrow::before { background: #efd8b1; }
.story-content h2 { color: var(--white); max-width: 12ch; }
.story-content p { color: rgba(255,255,255,0.86); margin-top: 18px; max-width: 50ch; }

/* =====================================================
   Contact
   ===================================================== */
.contact { background: var(--bone); }
.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(36px, 5vw, 72px);
  margin-top: 48px;
  padding: 56px;
  background: var(--paper);
  border: 1px solid rgba(42, 56, 38, 0.10);
  border-radius: var(--r-md);
  box-shadow: 0 18px 46px rgba(20, 30, 22, 0.07);
}
.contact-info { display: grid; gap: 22px; align-content: start; min-width: 0; }
.contact-info dl {
  margin: 12px 0 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px 18px;
  font-size: 0.94rem;
}
.contact-info dt {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding-top: 4px;
}
.contact-info dd { margin: 0; font-weight: 500; min-width: 0; overflow-wrap: anywhere; }
.contact-info a:hover { color: var(--terracotta); }

.contact-form { display: grid; gap: 14px; }
.contact-form .row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.contact-form label {
  display: grid; gap: 6px;
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.contact-form input, .contact-form textarea, .contact-form select {
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: rgba(250, 247, 239, 0.78);
  border: 1px solid rgba(42, 56, 38, 0.12);
  border-radius: var(--r-sm);
  padding: 13px 14px;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
  outline: none;
  border-color: rgba(42, 56, 38, 0.42);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(42,56,38,0.07), 0 6px 16px rgba(20,30,22,0.05);
}
.contact-form input.is-invalid, .contact-form select.is-invalid {
  border-color: var(--terracotta);
  background: rgba(194, 105, 67, 0.06);
}
.form-message {
  display: none;
  padding: 12px 14px;
  border: 1px solid rgba(194, 105, 67, 0.35);
  border-radius: var(--r-sm);
  background: rgba(194, 105, 67, 0.08);
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.45;
}
.form-message.is-visible { display: block; }
.contact-form textarea { resize: vertical; min-height: 110px; }
.contact-form button { justify-self: start; margin-top: 4px; }
.form-actions {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 8px;
}
.btn-whatsapp {
  background: #25d366;
  color: var(--white);
  border-color: #25d366;
  box-shadow: 0 6px 16px rgba(20, 120, 70, 0.12);
}
.btn-whatsapp:hover {
  background: #1ebe5d;
  border-color: #1ebe5d;
  box-shadow: 0 10px 22px rgba(20, 120, 70, 0.16);
}
.btn-whatsapp:focus-visible {
  box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.18), 0 6px 16px rgba(20, 120, 70, 0.12);
}
.btn-whatsapp svg { flex: 0 0 18px; }

/* =====================================================
   Footer
   ===================================================== */
.site-footer {
  background: var(--pine-deep);
  color: rgba(244,239,230,0.78);
  padding: 64px var(--gutter) 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: var(--max);
  margin: 0 auto;
}
.footer-grid h4 {
  font-family: var(--sans);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone);
  margin-bottom: 16px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 0.92rem; }
.footer-grid a:hover { color: #efd8b1; }
.footer-brand {
  font-family: var(--serif);
  font-size: 1.6rem;
  letter-spacing: 0.02em;
  color: var(--bone);
  margin-bottom: 14px;
}
.footer-brand small {
  display: block;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(244,239,230,0.5);
  margin-top: 8px;
}
.footer-brand-award { margin-top: 20px; display: inline-flex; }
.footer-brand-award .booking-badge {
  background: rgba(244,239,230,0.045);
  border-color: rgba(244,239,230,0.12);
  box-shadow: inset 0 1px 0 rgba(244,239,230,0.04);
}
.footer-brand-award .booking-badge .booking-score { color: var(--white); }
.footer-brand-award .booking-badge .booking-label { color: rgba(244,239,230,0.52); }
.footer-brand-award .booking-badge .booking-chip {
  color: var(--bone);
  border-color: rgba(244,239,230,0.35);
}
.footer-bottom {
  max-width: var(--max); margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(244,239,230,0.16);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  font-size: 0.78rem;
  color: rgba(244,239,230,0.55);
  letter-spacing: 0.06em;
}

/* =====================================================
   Scroll reveal
   ===================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1);
}
.reveal.is-in { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: .1s; }
.reveal.delay-2 { transition-delay: .2s; }
.reveal.delay-3 { transition-delay: .3s; }

/* =====================================================
   Responsive
   ===================================================== */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .menu-toggle { display: inline-flex; }
  .hero-inner { grid-template-columns: 1fr; padding-top: 130px; padding-bottom: 100px; }
  .hero-meta { padding-bottom: 0; max-width: 100%; }
  .split { grid-template-columns: 1fr; }
  .apt-card, .apt-card.reverse { grid-template-columns: 1fr; gap: 30px; }
  .apt-card.reverse .apt-img, .apt-card.reverse .apt-body { order: initial; }
  .trio { grid-template-columns: 1fr; }
  .trio article { border-right: 0; border-bottom: 1px solid var(--line); }
  .trio article:last-child { border-bottom: 0; }
  .amenities-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { gap: 6px; }
  .gallery-grid figure { border-radius: 6px; }
  .contact-card { padding: 32px; grid-template-columns: 1fr; }
  .contact-form .row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .distances { grid-template-columns: 1fr; }
}

/* ===== Legal pages ===== */
.legal-page {
  padding: 160px var(--gutter) 100px;
  background: var(--paper);
  min-height: 70vh;
}
.legal-page .container { max-width: 820px; }
.legal-page h1 { font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: 32px; }
.legal-page h2 { font-size: clamp(1.5rem, 2vw, 2rem); margin: 48px 0 14px; }
.legal-page p, .legal-page li {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 14px;
}
.legal-page ul, .legal-page ol { padding-left: 22px; margin-bottom: 18px; }
.legal-page a { color: var(--terracotta); text-decoration: underline; text-underline-offset: 3px; }
.legal-page .legal-meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 24px;
  margin: 24px 0 32px;
  padding: 22px;
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  font-size: 0.92rem;
}
.legal-page .legal-meta dt { color: var(--muted); font-weight: 600; }
.legal-page .legal-meta dd { margin: 0; color: var(--ink); font-weight: 500; }
.legal-page .legal-back {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}
.legal-page .legal-back::before { content: "<-"; }

/* ===== WhatsApp button + form-actions ===== */
.form-actions {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 8px;
}
.btn-whatsapp {
  background: #25d366;
  color: var(--white);
  border-color: #25d366;
  box-shadow: 0 6px 16px rgba(20, 120, 70, 0.12);
}
.btn-whatsapp:hover {
  background: #1ebe5d;
  border-color: #1ebe5d;
  box-shadow: 0 10px 22px rgba(20, 120, 70, 0.16);
}
.btn-whatsapp:focus-visible {
  box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.18), 0 6px 16px rgba(20, 120, 70, 0.12);
}
.btn-whatsapp svg { flex: 0 0 18px; }

/* ===== Re-add 560px media block ===== */
@media (max-width: 560px) {
  h1 { font-size: clamp(2.4rem, 11vw, 3.4rem); }
  .hero-inner { padding-top: 110px; padding-bottom: 80px; }
  .amenities-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .apt-body .apt-features { grid-template-columns: 1fr; }
  .section { padding-top: 64px; padding-bottom: 64px; }
  .contact-card { padding: 24px; }
  .brand-text small { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ===== Mobile header + drawer menu ===== */
@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto 1fr;
    gap: 8px;
    padding: 10px 16px;
  }
  .brand img { height: 32px; }
  .brand-text { display: none; }

  .header-actions { gap: 8px; flex-wrap: nowrap; align-items: center; }
  /* Declutter: the language switch moves into the drawer on mobile */
  .header-actions > .lang-switch { display: none; }
  .header-actions .btn-primary {
    padding: 9px 16px;
    font-size: 0.8rem;
    min-height: 38px;
  }
  .menu-toggle { display: inline-flex; width: 40px; height: 40px; }
  .menu-toggle span,
  .menu-toggle span::before,
  .menu-toggle span::after {
    transition: transform .25s ease, top .25s ease, background .2s ease;
  }

  /* Drawer panel */
  .nav-links {
    display: flex;
    position: fixed;
    top: var(--header-h, 60px);
    left: 12px;
    right: 12px;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 2px;
    background: var(--paper);
    padding: 12px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    color: var(--ink);
    font-size: 1.02rem;
    z-index: 60;
    max-height: calc(100dvh - var(--header-h, 60px) - 24px);
    overflow-y: auto;
    /* hidden by default */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .26s ease, transform .26s ease, visibility .26s;
  }
  body.menu-open .nav-links {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav-links a {
    padding: 13px 12px;
    border-radius: 10px;
  }
  .nav-links a::after { display: none; }
  .nav-links a:active { background: var(--bone); }

  /* Language row inside the drawer */
  .nav-links .lang-switch {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    margin-top: 10px;
    padding-top: 14px;
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
    font-size: 0.82rem;
    opacity: 1;
    overflow: visible;
  }
  .nav-links .lang-switch a {
    padding: 9px 14px;
    border-radius: var(--r-pill);
    min-width: 44px;
    text-align: center;
  }
  .nav-links .lang-switch a.active { background: var(--pine-deep); }

  /* Backdrop behind the drawer (sits below the fixed header, z-index 50) */
  body.menu-open::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(20, 30, 22, 0.30);
    z-index: 45;
  }
  body.menu-open { overflow: hidden; }

  /* Hamburger -> X */
  body.menu-open .menu-toggle span { background: transparent; }
  body.menu-open .menu-toggle span::before { top: 0; transform: rotate(45deg); }
  body.menu-open .menu-toggle span::after { top: 0; transform: rotate(-45deg); }
}
@media (max-width: 600px) {
  .site-header { padding: 8px 12px; }
  .brand img { height: 28px; }
  .header-actions .btn-primary {
    padding: 8px 14px;
    font-size: 0.78rem;
    min-height: 36px;
  }
}

/* ===== Mobile content polish ===== */
@media (max-width: 700px) {
  /* Hero: tighter and more legible */
  .hero-title { font-size: clamp(2.2rem, 9vw, 3.2rem); line-height: 1.05; }
  .hero-inner { padding-top: 100px; padding-bottom: 70px; gap: 24px; }
  .hero-meta .lede { font-size: 1rem; }
  .hero-actions .btn { padding: 12px 18px; font-size: 0.85rem; }
  .hero-scroll { display: none; }

  /* Section spacing */
  .section { padding-top: 56px; padding-bottom: 56px; }
  h2 { font-size: clamp(1.8rem, 7.5vw, 2.6rem); line-height: 1.1; }

  /* Awards strip: stack neatly */
  .awards {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 18px;
    padding: 16px 14px;
    font-size: 0.72rem;
    text-align: center;
  }

  /* Story panels: shorter, better contrast */
  .story-panel { min-height: 60vh; }
  .story-panel.show-full { min-height: 56vh; }
  .story-panel::after,
  .story-panel.right::after,
  .story-panel.show-full::after {
    background: linear-gradient(
      180deg,
      rgba(15,22,18,0.32) 0%,
      rgba(15,22,18,0.52) 34%,
      rgba(15,22,18,0.78) 100%
    );
  }
  .story-content { padding: 60px 18px; }

  /* Apt cards */
  .apt-card { gap: 20px; }
  .apt-list { gap: 48px; margin-top: 40px; }
  .apt-img { aspect-ratio: 4 / 3; }
  .apt-body { padding: 4px 0 0; }
  .apt-name { font-size: 1.5rem; }
  .apt-meta { flex-wrap: wrap; gap: 6px; }
  .apt-meta span { font-size: 0.72rem; padding: 4px 10px; }
  .apt-desc { font-size: 0.95rem; }
  .apt-body .apt-features {
    gap: 5px 18px;
    margin: 16px 0 20px;
    font-size: 0.9rem;
  }
  .apt-price { padding: 10px 16px; }

  /* Gallery filter chips: scroll horizontally without wrapping */
  .gallery-head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .gallery-filters {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding: 4px;
  }
  .gallery-filters button { flex: 0 0 auto; white-space: nowrap; }

  /* Rate table: season cards */
  .rate-table-wrap {
    overflow-x: visible;
  }
  .rate-table {
    display: block;
    width: 100%;
    min-width: 0;
    border-collapse: separate;
    font-size: 0.95rem;
  }
  .rate-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .rate-table tbody {
    display: grid;
    gap: 14px;
    padding: 18px;
    background: var(--paper);
  }
  .rate-table tbody tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: var(--line);
    box-shadow: var(--shadow-sm);
  }
  .rate-table tbody tr.high {
    border-color: rgba(194, 105, 67, 0.28);
  }
  .rate-table tbody th,
  .rate-table tbody td {
    border-bottom: 0;
    background: var(--white);
  }
  .rate-table tbody th {
    grid-column: 1 / -1;
    width: auto;
    padding: 16px 18px;
    font-size: 1rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
  }
  .rate-table tbody tr.high th {
    background: rgba(194, 105, 67, 0.08);
  }
  .rate-table tbody td {
    display: grid;
    gap: 5px;
    padding: 14px 18px 15px;
    font-size: 1.25rem;
    line-height: 1.1;
  }
  .rate-table tbody tr.high td {
    background: var(--white);
  }
  .rate-table tbody td::before {
    content: attr(data-label);
    font-family: var(--sans);
    font-size: 0.66rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.04em;
    text-transform: none;
    color: var(--muted);
    overflow-wrap: anywhere;
  }

  /* Contact form */
  .contact-card { padding: 22px 18px; }
  .contact-form label { font-size: 0.78rem; }
  .contact-card,
  .contact-form,
  .contact-form .row,
  .contact-form label {
    min-width: 0;
  }
  .contact-form input, .contact-form select, .contact-form textarea {
    font-size: 16px; /* prevents iOS zoom */
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

}

@media (max-width: 560px) {
  /* Contact details: stack label above value so long strings (email) keep full width */
  .contact-info dl { grid-template-columns: 1fr; gap: 0; }
  .contact-info dt { padding-top: 16px; }
  .contact-info dt:first-of-type { padding-top: 0; }
  .contact-info dd { margin-top: 3px; }
}

@media (max-width: 420px) {
  .header-actions .btn-primary { padding: 7px 12px; font-size: 0.74rem; }
  h2 { font-size: clamp(1.6rem, 8vw, 2.2rem); }
}

/* ===== Booking award badge ===== */
.booking-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px 8px 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  color: var(--ink);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}
.booking-badge:hover { transform: translateY(-1px); box-shadow: 0 8px 18px rgba(20,30,22,0.08); }
.booking-badge .booking-chip {
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  flex: 0 0 42px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
}
.booking-badge .booking-meta {
  display: flex; flex-direction: column;
  line-height: 1.2;
  gap: 2px;
}
.booking-badge .booking-score {
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: 0;
  color: var(--ink);
  font-weight: 400;
  text-transform: none;
}
.booking-badge .booking-label {
  font-size: 0.62rem;
  letter-spacing: 0.045em;
  color: var(--muted);
}
.footer-brand-award .booking-badge:hover {
  box-shadow: inset 0 1px 0 rgba(244,239,230,0.05), 0 8px 18px rgba(0,0,0,0.12);
}

/* ===== Location map ===== */
.map-container { margin-top: 40px; }
.map-frame {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid rgba(244,239,230,0.16);
  box-shadow: var(--shadow-md);
  background: var(--pine);
  aspect-ratio: 16 / 7;
}
.map-frame iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
  filter: saturate(0.85);
}
@media (max-width: 700px) {
  .map-frame { aspect-ratio: 4 / 3; }
  .map-container { margin-top: 28px; }
}

/* Map: on mobile let the page scroll past the iframe instead of getting hijacked */
.map-frame { position: relative; }
@media (max-width: 980px) {
  .map-frame iframe { pointer-events: none; }
  .map-frame.is-active iframe { pointer-events: auto; }
  .map-frame::after {
    content: attr(data-hint);
    position: absolute;
    bottom: 12px; left: 50%;
    transform: translateX(-50%);
    padding: 8px 16px;
    background: rgba(15,22,18,0.85);
    color: var(--white);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: var(--r-pill);
    pointer-events: none;
    backdrop-filter: blur(6px);
    transition: opacity .25s;
  }
  .map-frame.is-active::after { opacity: 0; }
}

/* ===== Apartment card photo badge ===== */
.apt-img {
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
  border-radius: var(--r-md);
}
.apt-img img {
  transition: transform .7s ease;
  display: block;
}
.apt-img::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(15,22,18,0);
  transition: background .25s ease;
  pointer-events: none;
}
.apt-img:hover img { transform: scale(1.03); }
.apt-img:hover::after { background: rgba(15,22,18,0.10); }

.apt-photo-badge {
  position: absolute;
  bottom: 14px; right: 14px;
  background: rgba(244, 239, 230, 0.94);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 9px 14px;
  border-radius: var(--r-pill);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: none;
  transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
  z-index: 2;
  box-shadow: 0 4px 14px rgba(20,30,22,0.12);
  white-space: nowrap;
}
.apt-img:hover .apt-photo-badge {
  transform: translateY(-3px);
  background: var(--paper);
  box-shadow: 0 8px 20px rgba(20,30,22,0.18);
}
@media (max-width: 700px) {
  .apt-photo-badge { bottom: 10px; right: 10px; font-size: 0.68rem; padding: 7px 12px; }
}

/* ===== Mobile + tablet hero legibility ===== */
@media (max-width: 980px) {
  .hero-overlay {
    background:
      linear-gradient(180deg,
        rgba(15,22,18,0.55) 0%,
        rgba(15,22,18,0.35) 20%,
        rgba(15,22,18,0.55) 45%,
        rgba(15,22,18,0.80) 72%,
        rgba(15,22,18,0.95) 100%);
  }
  .hero-title {
    text-shadow:
      0 2px 4px rgba(0,0,0,0.85),
      0 4px 18px rgba(0,0,0,0.7);
  }
  .hero-title em {
    color: #fbeac4;
    text-shadow:
      0 2px 4px rgba(0,0,0,0.95),
      0 4px 20px rgba(0,0,0,0.9),
      0 0 30px rgba(0,0,0,0.5);
  }
  .hero .eyebrow { text-shadow: 0 1px 8px rgba(0,0,0,0.55); }
  .hero-meta {
    color: #ffffff;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
  }
  .hero-meta .lede {
    color: #ffffff;
    max-width: 100%;
    overflow-wrap: break-word;
    font-size: 1.05rem;
    line-height: 1.55;
    text-shadow:
      0 1px 3px rgba(0,0,0,0.9),
      0 3px 14px rgba(0,0,0,0.7);
  }
  .hero-actions .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.7); }
}
@media (max-width: 700px) {
  .hero-inner,
  .hero-inner > * {
    min-width: 0;
    max-width: 100%;
  }
  .hero-meta {
    width: auto;
    padding: 16px 18px;
  }
  .hero-meta .lede { font-size: 1rem; }
  .hero-actions { max-width: 100%; }
  .hero-actions .btn {
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }
}

/* ===== Hero carousel ===== */
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.0);
  animation: heroSlideShow 35s infinite ease-in-out;
}
.hero-slide:nth-child(1) { animation-delay: 0s; opacity: 1; }
.hero-slide:nth-child(2) { animation-delay: 7s; }
.hero-slide:nth-child(3) { animation-delay: 14s; }
.hero-slide:nth-child(4) { animation-delay: 21s; }
.hero-slide:nth-child(5) { animation-delay: 28s; }
@keyframes heroSlideShow {
  0%   { opacity: 0; transform: scale(1.0); }
  3%   { opacity: 1; }
  20%  { opacity: 1; transform: scale(1.06); }
  23%  { opacity: 0; transform: scale(1.06); }
  100% { opacity: 0; transform: scale(1.0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide { animation: none; opacity: 0; }
  .hero-slide:nth-child(1) { opacity: 1; }
}


/* =====================================================
   Uitstraling ronde 2 (2026-06-12)
   ===================================================== */

::selection { background: var(--pine); color: var(--bone); }

.rate-table tbody td { font-variant-numeric: tabular-nums; }

/* Voorzieningen: editorial in plaats van hairline-grid */
.amenities-grid { gap: 44px 36px; background: transparent; border: 0; }
.amenities-grid article {
  background: transparent;
  padding: 26px 0 0;
  border-top: 1px solid var(--line-strong);
  gap: 14px;
}
.amenities-grid svg { width: 34px; height: 34px; stroke-width: 1.2; }
@media (max-width: 720px) { .amenities-grid { gap: 32px 24px; } }

/* Taalswitcher: compacte dropdown op desktop (JS bouwt .lang-dd) */
.lang-dd { position: relative; display: inline-flex; }
.lang-dd-btn {
  display: inline-flex; align-items: center; gap: 7px;
  border: 1px solid currentColor;
  border-radius: var(--r-pill);
  background: transparent; color: inherit; cursor: pointer;
  font-family: var(--sans);
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.1em;
  padding: 7px 14px;
  opacity: 0.92;
}
.lang-dd-btn:hover { opacity: 1; }
.lang-dd-btn svg { width: 10px; height: 10px; transition: transform .2s; }
.lang-dd.open .lang-dd-btn svg { transform: rotate(180deg); }
.lang-dd-panel {
  position: absolute; top: calc(100% + 10px); right: 0;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  padding: 6px;
  display: none;
  box-shadow: 0 14px 30px rgba(20, 30, 22, 0.14);
  z-index: 80;
}
.lang-dd.open .lang-dd-panel { display: block; }
.lang-dd .lang-switch {
  flex-direction: column; align-items: stretch;
  border: 0; border-radius: 0; overflow: visible; opacity: 1;
}
.lang-dd .lang-switch a { padding: 8px 18px; border-radius: 9px; text-align: center; }
.lang-dd .lang-switch a:hover { background: var(--bone); }
.lang-dd .lang-switch a.active { background: var(--pine-deep); }
@media (max-width: 980px) { .lang-dd { display: none; } }

/* Pull-quote gastenreview */
.quote-band { background: var(--bone); }
.quote-band .container { max-width: 880px; text-align: center; }
.quote-band blockquote { margin: 0; }
.quote-band blockquote p {
  font-family: var(--serif);
  font-weight: 350;
  font-size: clamp(1.5rem, 3.4vw, 2.3rem);
  line-height: 1.4;
  color: var(--ink);
}
.quote-band .quote-source {
  display: block; margin-top: 24px;
  font-style: normal;
  font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
}

/* Zwevende WhatsApp-knop */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 70;
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--pine-deep); color: var(--bone);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 26px rgba(20, 30, 22, 0.28);
  transition: transform .2s, box-shadow .2s;
}
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(20, 30, 22, 0.32); }
.wa-float svg { width: 26px; height: 26px; }
@media (max-width: 720px) { .wa-float { right: 14px; bottom: 14px; width: 50px; height: 50px; } }
