/* ==========================================================================
   DOMAINE DE BELLEVUE - REFINED SWISS ARCHITECTURAL DESIGN
   Authentic proportions matching https://domaine-de-bellevue.ch/
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

@font-face {
  font-family: "Ridley";
  font-display: swap;
  src: url("../assets/fonts/RidleyGrotesk-Regular.ttf") format("truetype");
}
@font-face {
  font-family: "Ridley Grotesk Regular";
  font-display: swap;
  src: url("../assets/fonts/RidleyGrotesk-Regular.ttf") format("truetype");
}
@font-face {
  font-family: "Ridley Grotesk Medium";
  font-display: swap;
  src: url("../assets/fonts/RidleyGrotesk-Medium.ttf") format("truetype");
}

:root {
  --color-primary: #384c3d;
  --color-gold: #847657;
  --color-gold-hover: #9c8b67;
  --color-gold-light: rgba(132, 118, 87, 0.12);
  --color-bg-light: #eceff3;
  --color-white: #ffffff;
  --color-text-dark: #333333;
  --color-text-body: #666666;
  --font-serif: 'Playfair Display', Georgia, "Times New Roman", serif;
  --font-ridley: 'Ridley Grotesk Regular', "Ridley", Helvetica, Arial, sans-serif;
  --font-body: 'Open Sans', Arial, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 13.5px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-body);
  background-color: var(--color-white);
  line-height: 1.65em;
  font-weight: 400;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   HEADER & HAMBURGER (Refined Dimensions)
   ========================================================================== */
#domain-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20000;
  background: transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  align-items: center;
  min-height: 80px;
  padding: 0 4vw;
}

#domain-header.shrink,
body.menu-open #domain-header {
  background: #eceff3 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 0 auto;
}

.col-left {
  flex: 1;
  display: flex;
  align-items: center;
}

.col-center {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.col-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 15px;
}

#site-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#site-logo img {
  height: 44px;
  width: 170px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease, transform 0.25s ease;
}

#site-logo:hover img {
  transform: scale(1.02);
}

#domain-header.shrink #site-logo img,
body.menu-open #site-logo img {
  filter: none !important;
}

/* Hamburger */
.hamburger-btn {
  background: transparent;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  position: relative;
  z-index: 2147483647;
  padding: 8px;
}

.hamburger {
  width: 24px;
  height: 18px;
  position: relative;
  display: block;
}

.hamburger .line {
  position: absolute;
  height: 2px;
  width: 24px;
  left: 0;
  background: #ffffff;
  transition: all 0.25s ease;
}

.hamburger .line-1 {
  top: 0;
  width: 13px;
  right: 0;
  left: auto;
}

.hamburger .line-2 {
  top: 8px;
  width: 24px;
  left: 0;
}

.hamburger .line-3 {
  bottom: 0;
  width: 16px;
  left: 0;
}

#domain-header.shrink .hamburger .line {
  background: #384c3d;
}

body.menu-open .hamburger .line {
  background: #384c3d !important;
}

body.menu-open .hamburger-btn.is-open .line-1 {
  top: 50%;
  left: 0;
  width: 24px;
  transform: translateY(-50%) rotate(45deg);
}

body.menu-open .hamburger-btn.is-open .line-2 {
  opacity: 0;
}

body.menu-open .hamburger-btn.is-open .line-3 {
  top: 50%;
  bottom: auto;
  left: 0;
  width: 24px;
  transform: translateY(-50%) rotate(-45deg);
}

/* Top Right Special Button */
#special-btn {
  font-family: var(--font-ridley);
  font-size: 11.5px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.7);
  padding: 6px 18px;
  border-radius: 2px;
  transition: all 0.25s ease;
}

#special-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

#domain-header.shrink #special-btn {
  background-color: #384c3d !important;
  color: #eceff3 !important;
  border-color: #384c3d !important;
}

#domain-header.shrink #special-btn:hover {
  background-color: var(--color-gold) !important;
  border-color: var(--color-gold) !important;
}

body.menu-open #special-btn {
  display: none !important;
}

/* ==========================================================================
   FULLSCREEN OVERLAY MENU
   ========================================================================== */
#domain-overlay {
  position: fixed;
  inset: 0;
  background: #384c3d;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 15000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

body.menu-open #domain-overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.overlay-menu {
  display: flex;
  flex-direction: column;
  gap: 28px;
  text-align: center;
}

.overlay-link {
  font-family: var(--font-ridley);
  font-weight: normal;
  text-transform: uppercase;
  color: #ffffff;
  font-size: clamp(17px, 2.2vw, 23px);
  letter-spacing: 2.5px;
  opacity: 0;
  transform: translateY(18px);
  position: relative;
  display: inline-block;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.overlay-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--color-gold);
  transition: width 0.25s ease;
}

.overlay-link:hover::after {
  width: 100%;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

body.menu-open .overlay-link {
  animation: fadeUp 0.35s ease forwards;
}

body.menu-open .overlay-link:nth-child(1) { animation-delay: 0.08s; }
body.menu-open .overlay-link:nth-child(2) { animation-delay: 0.16s; }
body.menu-open .overlay-link:nth-child(3) { animation-delay: 0.24s; }
body.menu-open .overlay-link:nth-child(4) { animation-delay: 0.32s; }
body.menu-open .overlay-link:nth-child(5) { animation-delay: 0.40s; }
body.menu-open .overlay-link:nth-child(6) { animation-delay: 0.48s; }
body.menu-open .overlay-link:nth-child(7) { animation-delay: 0.56s; }

/* ==========================================================================
   FULLSCREEN SLIDESHOW HERO (Balanced Proportions)
   ========================================================================== */
#fullscreen-slideshow {
  position: relative;
  width: 100vw;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: #384c3d;
}

@supports (height: 100svh) {
  #fullscreen-slideshow { height: 100svh; }
}

#fullscreen-slideshow .slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 1.8s ease, transform 6s ease;
  will-change: opacity, transform;
}

#fullscreen-slideshow .slide.active,
#fullscreen-slideshow .slide.first-visible {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

/* Dark green elegant overlay for superior contrast against bright renders */
#fullscreen-slideshow::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(24, 34, 27, 0.72) 0%,
    rgba(56, 76, 61, 0.58) 35%,
    rgba(56, 76, 61, 0.62) 65%,
    rgba(20, 30, 23, 0.82) 100%
  );
  z-index: 2;
  pointer-events: none;
}

.hero-overlay-center {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px 110px;
  box-sizing: border-box;
}

.hero-content-wrapper {
  max-width: 960px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: auto 0;
}

/* Simple hero: location line, one title, one button, scroll cue */
.hero-location {
  display: block;
  font-family: var(--font-ridley);
  font-size: 11.5px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 22px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}

.hero-main-title {
  font-family: var(--font-serif);
  font-size: clamp(34px, 5vw, 64px);
  color: #ffffff;
  line-height: 1.15em;
  font-weight: 400;
  text-align: center;
  margin: 0 0 36px;
  letter-spacing: -0.3px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45), 0 1px 6px rgba(0, 0, 0, 0.3);
}

.hero-btn-simple {
  display: inline-block;
  font-family: var(--font-ridley);
  font-size: 11.5px;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.75);
  padding: 13px 30px;
  border-radius: 2px;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.hero-btn-simple:hover {
  background: #ffffff;
  color: #384c3d;
  border-color: #ffffff;
}

.hero-scroll-cue {
  position: absolute;
  bottom: 30px;
  left: 50%;
  width: 1px;
  height: 46px;
  margin-left: -0.5px;
  background: rgba(255, 255, 255, 0.25);
  overflow: hidden;
}

.hero-scroll-cue::after {
  content: "";
  position: absolute;
  left: 0;
  top: -46px;
  width: 1px;
  height: 46px;
  background: #ffffff;
  animation: scrollCue 2.2s ease-in-out infinite;
}

@keyframes scrollCue {
  0% { top: -46px; }
  60%, 100% { top: 46px; }
}

@media (max-width: 768px) {
  .hero-overlay-center {
    padding-bottom: 60px;
  }
  .hero-location {
    font-size: 10.5px;
    letter-spacing: 2.4px;
  }
}

/* ==========================================================================
   LANGUAGE SWITCH (FR | EN)
   ========================================================================== */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-ridley);
  font-size: 11.5px;
  letter-spacing: 1.6px;
  color: rgba(255, 255, 255, 0.55);
}

.lang-btn {
  background: none;
  border: 0;
  padding: 4px 2px;
  cursor: pointer;
  font: inherit;
  letter-spacing: inherit;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.25s ease;
}

.lang-btn:hover,
.lang-btn.is-active {
  color: #ffffff;
}

.lang-btn.is-active {
  text-decoration: underline;
  text-underline-offset: 4px;
}

#domain-header.shrink .lang-switch,
body.menu-open .lang-switch,
#domain-header.shrink .lang-btn,
body.menu-open .lang-btn {
  color: rgba(56, 76, 61, 0.5);
}

#domain-header.shrink .lang-btn:hover,
#domain-header.shrink .lang-btn.is-active,
body.menu-open .lang-btn:hover,
body.menu-open .lang-btn.is-active {
  color: #384c3d;
}

@media (max-width: 600px) {
  .col-left, .col-right { flex: 0 0 72px; }
  .col-center { flex: 1 1 auto; min-width: 0; }
  .col-right { gap: 10px; }
  /* Contact stays reachable via the overlay menu */
  #special-btn { display: none; }
  #site-logo img { height: 38px; max-width: 100%; }
}

/* ==========================================================================
   GENERIC SECTIONS & TYPOGRAPHY (Refined Swiss Scale)
   ========================================================================== */
.container {
  width: 78%;
  max-width: 980px;
  margin: auto;
  position: relative;
}

.section-regular {
  padding: 5vw 0;
  position: relative;
}

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

h2.sub-title {
  font-family: var(--font-ridley);
  font-size: 13.5px;
  color: var(--color-gold) !important;
  letter-spacing: 1.8px;
  line-height: 1.5em;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 6px;
  font-weight: 500;
}

h1.main-title {
  font-family: var(--font-serif);
  font-size: 32px;
  color: var(--color-gold) !important;
  letter-spacing: 0.8px;
  line-height: 1.25em;
  text-align: center;
  font-weight: normal;
  margin-bottom: 20px;
}

.section-text {
  font-size: 13.5px;
  color: #666666;
  line-height: 1.75em;
  max-width: 760px;
  margin: 0 auto 24px;
  text-align: center;
}

/* Constrained Zoom Image */
.my-zoom-img {
  position: relative;
  display: block;
  overflow: hidden;
  max-width: 1100px;
  max-height: 480px;
  margin: 0 auto;
  border-radius: 2px;
}

.my-zoom-img img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 3.5s ease-in-out;
}

.my-zoom-img.in-view img {
  transform: scale(1);
}

/* ==========================================================================
   EXCLUSIVE SHOWCASE: STACKED FULL-WIDTH ARCHITECTURAL TRIPTYCH
   All 3 views displayed side-by-side without scrolling
   ========================================================================== */
.signature-section {
  background: #fbfbfa;
  border-top: 1px solid #e5e0d8;
  border-bottom: 1px solid #e5e0d8;
  padding: 4.5vw 0 5vw;
}

.signature-section .container {
  width: 88%;
  max-width: 1200px;
}

/* Aerial availability map (above the villa cards) */
.villas-availability-map {
  margin: 40px 0 0;
}

.vam-frame {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(56, 76, 61, 0.12);
}

.vam-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.vam-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.96);
  color: #384c3d;
  border: 1.5px solid #847657;
  border-radius: 999px;
  font-family: var(--font-ridley);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  z-index: 6;
}

.vam-pin-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #52a447;
  box-shadow: 0 0 0 2px rgba(82, 164, 71, 0.35);
  flex-shrink: 0;
}

.vam-pin-title {
  font-weight: 700;
  letter-spacing: 0.14em;
}

.vam-pin-badge {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #245722;
  background: rgba(127, 176, 74, 0.2);
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(82, 164, 71, 0.3);
  transition: all 0.25s ease;
}

.vam-pin:hover,
.vam-pin:focus-visible {
  background: #384c3d;
  color: #ffffff;
  border-color: #384c3d;
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.vam-pin:hover .vam-pin-dot {
  background: #ffffff;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.4);
}

.vam-pin:hover .vam-pin-badge {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}

/* Muted pins for reserved / sold villas */
.vam-pin-muted {
  position: absolute;
  transform: translate(-50%, -50%);
  padding: 4px 10px;
  background: rgba(22, 28, 24, 0.72);
  color: #d1d8d5;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  font-family: var(--font-ridley);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  pointer-events: none;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 4;
}

.vam-pin-muted .vam-tag-res,
.vam-pin-muted .vam-tag-sold {
  font-size: 8.5px;
  color: #a0aba6;
}

.vam-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 14px;
  font-family: var(--font-ridley);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b6b6b;
}

.vam-legend-group {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.vam-legend {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #384c3d;
  font-weight: 600;
}

.vam-legend.muted {
  color: #7a7a7a;
  font-weight: 400;
}

.vam-swatch {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.vam-swatch.available {
  background: #52a447;
  border: 1px solid rgba(82, 164, 71, 0.4);
  box-shadow: 0 0 0 2px rgba(82, 164, 71, 0.25);
}

.vam-swatch.muted {
  background: #999999;
  border: 1px solid rgba(0, 0, 0, 0.15);
}

@media (max-width: 600px) {
  .vam-pin { padding: 4px 8px; font-size: 9.5px; gap: 5px; }
  .vam-pin-badge { display: none; }
  .vam-pin-muted { display: none; }
  .vam-caption {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
  }
  .vam-legend-group {
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }
  .vam-legend {
    justify-content: center;
    font-size: 10px;
  }
}

.villas-stacked-showcase {
  display: flex;
  flex-direction: column;
  gap: 45px;
  margin-top: 36px;
}

.villa-stacked-block {
  scroll-margin-top: 100px;
  background: #ffffff;
  border: 1px solid #ebe6df;
  border-radius: 4px;
  padding: 28px 30px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  position: relative;
  text-align: left;
}

.villa-stacked-block:hover,
.villa-stacked-block.highlighted {
  transform: translateY(-4px);
  border-color: #d4cdbf;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
}

/* Header within each stacked block */
.villa-stacked-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #ebe6df;
}

.villa-header-left {
  flex: 1;
}

.villa-tags-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.villa-stacked-tag {
  font-family: var(--font-ridley);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #847657;
  font-weight: 700;
  display: inline-block;
}

.villa-location-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: #847657;
  font-family: var(--font-ridley);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  border: 1.5px solid #847657;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.25s ease;
}

.villa-location-pill .pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #847657;
  display: inline-block;
  box-shadow: 0 0 5px rgba(132, 118, 87, 0.5);
  flex-shrink: 0;
}

.villa-stacked-name {
  font-family: var(--font-serif);
  font-size: 28px;
  color: #384c3d;
  line-height: 1.25em;
  margin-bottom: 8px;
  font-weight: 600;
  letter-spacing: 0.4px;
}

.villa-title-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.villa-title-row .villa-stacked-name {
  margin-bottom: 0;
}

.villa-stacked-lead {
  font-size: 13.5px;
  color: #555555;
  line-height: 1.65em;
  max-width: 780px;
}

.villa-header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  flex-shrink: 0;
}

.villa-status-chip {
  font-family: var(--font-ridley);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #847657;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  background: transparent;
  border: none;
  padding: 0;
}

.villa-status-chip::before {
  content: none;
}

.villa-btn-pdf-stacked {
  font-family: var(--font-ridley);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #ffffff;
  background: #847657;
  border: 1px solid #847657;
  padding: 8px 18px;
  text-align: center;
  border-radius: 2px;
  transition: all 0.25s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.villa-btn-pdf-stacked:hover {
  background: #384c3d;
  border-color: #384c3d;
  color: #ffffff;
}

/* 3 Images Side-by-Side (NO SCROLLING) */
.villa-images-triptych {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 22px 0;
}

.triptych-item {
  position: relative;
  height: 220px;
  overflow: hidden;
  border-radius: 2px;
  background: #384c3d;
  cursor: pointer;
  border: 1px solid rgba(132, 118, 87, 0.25);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.triptych-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.triptych-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 7px 12px;
  background: linear-gradient(180deg, rgba(56, 76, 61, 0) 0%, rgba(30, 44, 33, 0.92) 80%);
  color: #ffffff;
  font-family: var(--font-ridley);
  font-size: 10.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  z-index: 5;
}

.triptych-zoom-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 6;
  background: rgba(56, 76, 61, 0.75);
  color: #ffffff;
  width: 26px;
  height: 26px;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.2s ease;
}

.triptych-item:hover .triptych-zoom-btn {
  opacity: 1;
  background: #847657;
}

/* Bottom Row: Specs Grid + Mini Lot Locator Map */
.villa-stacked-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: #f7f6f3;
  padding: 16px 24px;
  border-radius: 4px;
  border: 1px solid #ebe6df;
}

.stacked-specs-grid {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1 1 auto;
}

.spec-tile {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-right: 32px;
  border-right: 1px solid #dfd9cf;
}

.spec-tile:last-child {
  border-right: none;
  padding-right: 0;
}

.spec-tile .spec-label {
  font-family: var(--font-ridley);
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #888888;
  margin-bottom: 4px;
  white-space: nowrap;
}

.spec-tile .spec-val {
  font-family: var(--font-serif);
  font-size: 24px;
  color: #384c3d;
  font-weight: 600;
  line-height: 1.1;
}

.spec-tile.highlight .spec-val {
  color: #847657;
}

/* Triptych Corner Location Badge */
.triptych-location-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 6;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #384c3d;
  font-family: var(--font-ridley);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 2px;
  border: 1.5px solid #847657;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.triptych-location-badge::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #847657;
  box-shadow: 0 0 4px rgba(132, 118, 87, 0.6);
}

/* Enhanced Prominent Masterplan Mini Locator Card - Pure White, High Visibility */
.stacked-locator-box.prominent {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  width: auto;
  min-width: 340px;
  max-width: 400px;
  background: #ffffff;
  border: 1px solid #847657;
  padding: 10px 14px;
  border-radius: 4px;
  box-sizing: border-box;
  transition: all 0.25s ease;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(56, 76, 61, 0.08);
}

.stacked-locator-box.prominent:hover {
  background: #faf8f5;
  border-color: #847657;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(56, 76, 61, 0.14);
}

.locator-thumb-wrap {
  width: 145px;
  height: 82px;
  flex-shrink: 0;
  margin: 0;
  border-radius: 3px;
  overflow: hidden;
  background: #ffffff !important;
  border: 1px solid #ebe6df;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  box-sizing: border-box;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.locator-thumb-wrap:hover {
  border-color: #847657;
}

.locator-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  background: #ffffff !important;
  transition: transform 0.35s ease;
}

.locator-thumb-wrap:hover img {
  transform: scale(1.04);
}

.locator-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  flex: 1;
  min-width: 0;
}

.locator-top-bar {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  margin: 0;
}

.locator-title {
  font-family: var(--font-ridley);
  font-size: 8.5px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #847657;
  font-weight: 600;
  margin: 0;
}

.locator-name {
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 600;
  color: #384c3d;
  letter-spacing: 0.2px;
  margin: 0;
  line-height: 1.2;
}

.locator-btn-zoom {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #384c3d;
  color: #ffffff;
  font-family: var(--font-ridley);
  font-size: 8.5px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  font-weight: 600;
  padding: 4px 10px;
  border: 1px solid #384c3d;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 2px;
  line-height: 1;
}

.locator-btn-zoom:hover {
  background: #847657;
  border-color: #847657;
  transform: translateY(-1px);
}

.locator-btn-zoom:active {
  transform: translateY(0);
}

.locator-btn-zoom svg {
  flex-shrink: 0;
}


.table-pos-pill {
  display: inline-block;
  font-size: 9.5px;
  font-family: var(--font-ridley);
  letter-spacing: 1px;
  text-transform: uppercase;
  background: rgba(132, 118, 87, 0.12);
  color: #847657;
  padding: 3px 8px;
  border-radius: 12px;
  margin-left: 8px;
  font-weight: 700;
  vertical-align: middle;
  border: 1px solid rgba(132, 118, 87, 0.4);
}

.batch-num {
  font-weight: 700;
  color: #384c3d;
}

/* ==========================================================================
   INTERACTIVE LOT TABLE & MASTERPLAN
   ========================================================================== */
/* Container width for Masterplan */
.plan-container {
  width: 92% !important;
  max-width: 1260px !important;
}

.plane {
  margin-top: 24px;
}

.interactive-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

/* Col Gauche: Masterplan Takes Prominent 60% of Width */
.image-display {
  flex: 1.4 1 60%;
  min-width: 0;
  height: 520px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: #ffffff;
  border: 1px solid rgba(132, 118, 87, 0.25);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  padding: 12px;
  box-sizing: border-box;
}

.map-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 15 / 8;
  max-height: 100%;
  max-width: 100%;
}

.map-stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.3s ease;
  position: absolute;
  left: 0;
  top: 0;
  pointer-events: none;
}

.map-stage img.active {
  opacity: 1;
  z-index: 1;
}

/* Clean Transparent Map Hotspots Layer */
.map-hotspots-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
}

.map-lot-hotspot {
  position: absolute;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.2s ease;
}

.map-lot-hotspot:hover {
  background: rgba(132, 118, 87, 0.08);
}

/* Col Droite: Refined, Compact Proportional Table */
/* Standalone Centered Availability Chart */
.table-standalone-wrapper {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  width: 100%;
}

.table-standalone-wrapper .table-container {
  flex: none;
  width: 100%;
  max-width: 960px;
  background: #ffffff;
  border: 1px solid #ebe6df;
  border-radius: 6px;
  padding: 24px 28px;
  box-shadow: 0 8px 30px rgba(56, 76, 61, 0.05);
  box-sizing: border-box;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.interactive-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-family: var(--font-body);
  font-size: 13.5px;
}

.interactive-table th {
  padding: 12px 6px;
  font-weight: 600;
  font-family: var(--font-ridley);
  font-size: 10.5px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #847657;
  border-bottom: 2px solid #847657;
  text-align: center;
  white-space: nowrap;
}

.interactive-table th:nth-child(1) { width: 15%; text-align: left; padding-left: 14px; }
.interactive-table th:nth-child(2) { width: 14%; }
.interactive-table th:nth-child(3) { width: 14%; }
.interactive-table th:nth-child(4) { width: 14%; }
.interactive-table th:nth-child(5) { width: 25%; }
.interactive-table th:nth-child(6) { width: 18%; }

.interactive-table td {
  padding: 12px 6px;
  text-align: center;
  border-bottom: 1px solid #eee9e0;
  color: #384c3d;
  font-size: 13px;
  line-height: 1.4em;
  white-space: nowrap;
  transition: all 0.2s ease;
  cursor: pointer;
}

.interactive-table td.cell-villa {
  text-align: left;
  padding-left: 14px;
  font-family: var(--font-serif);
  font-size: 15px;
  color: #1e2c21;
}

.interactive-table tbody tr.row-available td {
  font-weight: 500;
  color: #1e2c21;
}

.interactive-table tbody tr:hover td,
.interactive-table tbody tr.highlighted td,
.interactive-table tbody tr.active td {
  background: rgba(132, 118, 87, 0.12) !important;
  color: #384c3d !important;
}

.interactive-table tbody tr.row-available:hover td,
.interactive-table tbody tr.row-available.highlighted td {
  background: rgba(132, 118, 87, 0.18) !important;
}

.interactive-table tbody tr.highlighted td:first-child {
  border-left: 3px solid #847657;
}

/* Status Pills */
.table-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--font-ridley);
  font-size: 10px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  font-weight: 600;
  white-space: nowrap;
}

.table-status-pill.available {
  background: rgba(56, 76, 61, 0.08);
  color: #384c3d;
  border: 1px solid rgba(56, 76, 61, 0.22);
}

.table-status-pill.reserved,
.table-status-pill.sold {
  background: rgba(120, 120, 120, 0.08);
  color: #888888;
  border: 1px solid rgba(120, 120, 120, 0.18);
}

.link-icon {
  color: #847657;
  font-size: 16px;
}

.link-icon a {
  color: #847657;
  font-size: 16px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.link-icon a:hover {
  opacity: 0.7;
  transform: scale(1.1);
}

.table-plan-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #847657;
  color: #ffffff !important;
  font-family: var(--font-ridley);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 2px;
  text-decoration: none;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.table-plan-btn:hover {
  background: #384c3d;
  color: #ffffff !important;
  transform: translateY(-1px);
}

.table-plan-na {
  color: #b5ad9e;
  font-size: 15px;
  display: inline-block;
}

.table-footnote {
  margin: 16px 0 0;
  font-size: 11.5px;
  color: #6b6b6b;
  line-height: 1.6em;
}

.table-footnote p {
  margin: 0;
}

/* ==========================================================================
   PERSONNALISATION SUR MESURE
   ========================================================================== */
.customization-section {
  padding: 4.5vw 0 5vw;
  background: #ffffff;
}

.custom-grid-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 30px;
}

.custom-list-editorial {
  list-style: none;
}

.custom-list-item {
  position: relative;
  padding-left: 24px;
  margin-bottom: 22px;
  transition: transform 0.25s ease;
}

.custom-list-item:hover {
  transform: translateX(4px);
}

.custom-list-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 12px;
  height: 1px;
  background: #847657;
}

.custom-list-item h4 {
  font-family: var(--font-ridley);
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #847657;
  margin-bottom: 4px;
  font-weight: 500;
}

.custom-list-item p {
  font-size: 13px;
  color: #666;
  line-height: 1.65em;
}

/* ==========================================================================
   LIFESTYLE CAROUSEL (Proportional Dimensions)
   ========================================================================== */
.scroll-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 0;
}

.scroll-container {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  padding-left: 8%;
}

.scroll-container::-webkit-scrollbar {
  display: none;
}

.scroll-item {
  flex: 0 0 28%;
  min-width: 280px;
  margin: 0 18px;
  text-align: left;
  cursor: pointer;
  background: transparent;
}

.scroll-item .img-wrapper {
  width: 100%;
  height: 380px;
  overflow: hidden;
  position: relative;
  border-radius: 2px;
}

.scroll-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
}

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

.scroll-item h3 {
  font-family: var(--font-ridley);
  font-weight: 400;
  line-height: 1.5em;
  font-size: 15px;
  letter-spacing: 1.5px;
  margin: 18px 0 8px;
  position: relative;
  display: inline-block;
  color: #000000;
}

.scroll-item h3::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #847657;
  transition: width 0.35s ease;
}

.scroll-item:hover h3::after {
  width: 100%;
}

.scroll-item p {
  font-size: 12.5px;
  line-height: 1.65em;
  color: #666666;
  padding: 0 10px 10px 0;
  margin: 0;
}

.scroll-btn {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  color: #333333;
  font-size: 26px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: background 0.3s ease, color 0.3s ease;
  border: none;
}

.scroll-btn span {
  position: relative;
  top: -2px;
}

.scroll-btn:hover {
  background: #847657;
  color: #ffffff;
}

.scroll-btn.left { left: 15px; }
.scroll-btn.right { right: 15px; }

/* ==========================================================================
   DISTANCES TABLE
   ========================================================================== */
.distanz-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-body);
  line-height: 1.8em;
  table-layout: fixed;
  border-spacing: 0;
  margin: 25px auto;
  max-width: 820px;
}

.distanz-table th,
.distanz-table td {
  padding: 10px 4px;
  font-size: 13px;
  white-space: nowrap;
}

.distanz-table th:first-child,
.distanz-table td:first-child {
  text-align: left;
  padding-left: 0;
}

.distanz-table th:not(:first-child),
.distanz-table td:not(:first-child) {
  text-align: center;
}

.distanz-table th {
  font-weight: 500;
  font-family: var(--font-ridley);
  font-size: 11px;
  text-transform: uppercase;
  color: #847657;
}

.distanz-table tbody td {
  color: #000000;
  border-bottom: 1px solid #847657;
}

/* ==========================================================================
   BROCHURE & PLANS SECTION
   ========================================================================== */
#brochure {
  background-color: #f7f7f7;
  padding: 4vw 0;
}

.brochure-row {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 24px;
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
}

.brochure-col {
  flex: 1;
  max-width: 320px;
  min-height: 195px;
  border: 1px solid #847657;
  padding: 26px 20px 22px;
  background: #ffffff;
  transition: all 0.3s ease;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  box-sizing: border-box;
}

.brochure-col:hover {
  background: rgba(132, 118, 87, 0.05);
  border-color: #384c3d;
}

.brochure-icon-wrap {
  width: 40px;
  height: 40px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #847657;
}

.brochure-col h4 {
  font-family: var(--font-ridley);
  font-size: 12px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #847657;
  margin: 0;
}

.brochure-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  max-width: 100%;
  height: 44px;
  padding: 0 16px;
  border: 1px solid #384c3d;
  background: #ffffff;
  color: #384c3d !important;
  font-family: var(--font-ridley);
  font-size: 11px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  text-decoration: none !important;
  font-weight: 600;
  border-radius: 3px;
  transition: all 0.25s ease;
  box-sizing: border-box;
  text-align: center;
}

.brochure-btn:hover {
  background: #384c3d;
  color: #ffffff !important;
}

.brochure-subnote,
.brochure-plans-note {
  display: block;
  margin-top: 12px;
  font-family: var(--font-ridley);
  font-size: 10.5px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #847657;
  line-height: 1.4;
  min-height: 15px;
}

.brochure-subnote-empty {
  visibility: hidden;
  pointer-events: none;
}

/* ==========================================================================
   CONTACT FORM & ADVISOR
   ========================================================================== */
#contact {
  padding: 5vw 0;
}

.contact-layout {
  max-width: 760px;
  margin: 0 auto;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.form-full {
  grid-column: span 2;
}

.contact-input,
.contact-textarea {
  width: 100%;
  border: 1px solid #ccc;
  padding: 10px 12px;
  font-family: var(--font-body);
  font-size: 13px;
  color: #333;
  background: #fff;
  transition: border-color 0.2s ease;
  border-radius: 2px;
}

.contact-input:focus,
.contact-textarea:focus {
  border-color: #384c3d;
}

.contact-textarea {
  min-height: 105px;
  resize: vertical;
}

.contact-checkbox-wrap {
  grid-column: span 2;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #666;
}

.contact-submit-btn {
  grid-column: span 2;
  margin-top: 8px;
  padding: 12px 24px;
  background: #847657;
  color: #fff;
  font-family: var(--font-ridley);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  border-radius: 2px;
}

.contact-submit-btn:hover {
  background: #384c3d;
}

.contact-submit-btn:disabled {
  cursor: default;
}

/* Contact Form Instant Confirmation Banner */
.contact-feedback {
  grid-column: span 2;
  margin-top: 14px;
  padding: 16px 20px;
  background: #f1f6f2;
  border-left: 4px solid #384c3d;
  border-radius: 3px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  box-shadow: 0 2px 12px rgba(56, 76, 61, 0.08);
  animation: fadeInFeedback 0.35s ease-out forwards;
}

.contact-feedback-icon {
  color: #384c3d;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  margin-top: 2px;
}

.contact-feedback-icon svg {
  stroke: #384c3d;
}

.contact-feedback-text {
  flex: 1;
}

.contact-feedback-title {
  font-family: var(--font-ridley);
  font-size: 12.5px;
  font-weight: 700;
  color: #1e2c21;
  letter-spacing: 0.6px;
  margin: 0 0 4px 0;
  text-transform: uppercase;
}

.contact-feedback-desc {
  font-size: 13px;
  line-height: 1.5;
  color: #334437;
  margin: 0;
}

@keyframes fadeInFeedback {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Conseiller & Silverpine */
.advisor-row {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px solid #eee;
}

.advisor-text-col {
  flex: 2;
}

h2.advisor-eyebrow,
.advisor-text-col .advisor-eyebrow {
  text-align: left;
  margin-bottom: 10px;
}

.advisor-logo-wrap {
  margin-bottom: 16px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.advisor-logo-wrap img {
  max-height: 34px;
  width: auto;
}

.advisor-text-col p {
  font-size: 13px;
  color: #666;
  line-height: 1.75em;
  margin-bottom: 14px;
}

.advisor-links a {
  display: block;
  font-family: var(--font-ridley);
  font-size: 12px;
  letter-spacing: 1px;
  color: #847657;
  margin-bottom: 4px;
}

.advisor-instagram-wrap {
  margin-top: 14px;
}

.advisor-instagram-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(132, 118, 87, 0.08);
  border: 1px solid rgba(132, 118, 87, 0.35);
  border-radius: 3px;
  color: #847657;
  font-family: var(--font-ridley);
  font-size: 11px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.25s ease;
}

.advisor-instagram-btn:hover {
  background: #847657;
  color: #ffffff;
  border-color: #847657;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(132, 118, 87, 0.2);
}

.advisor-instagram-btn svg {
  flex-shrink: 0;
}

.advisor-instagram-btn .insta-arrow {
  transition: transform 0.2s ease;
}

.advisor-instagram-btn:hover .insta-arrow {
  transform: translateX(3px);
}

.advisor-photo-col {
  flex: 1;
  text-align: center;
}

.advisor-photo-col img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 10px;
}

.advisor-photo-col h5 {
  font-family: var(--font-ridley);
  font-size: 13px;
  color: #000;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.advisor-photo-col span {
  font-size: 11px;
  color: #847657;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ==========================================================================
   PARTENAIRES & FOOTER
   ========================================================================== */
.partners-wrap {
  padding: 40px 0;
  border-top: 1px solid #eee;
  text-align: center;
}

.partners-wrap p {
  font-family: var(--font-ridley);
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #847657;
  margin-bottom: 24px;
}

.partners-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.partners-logos img {
  max-height: 36px;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.partners-logos img:hover {
  filter: none;
  opacity: 1;
}

#site-footer {
  padding: 22px 0;
  border-top: 1px solid #eee;
  font-size: 11.5px;
  color: #999;
  text-align: center;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 980px) {
  #domain-header {
    padding: 3vw 20px;
    min-height: 70px;
  }
  
  #site-logo img {
    height: 38px;
    width: 145px;
  }
  
  h1.main-title {
    font-size: 26px;
  }
  
  .villa-stacked-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .villa-header-right {
    flex-direction: row;
    align-items: center;
    width: 100%;
    justify-content: space-between;
  }

  .villa-images-triptych {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .triptych-item {
    height: 240px;
  }

  .villa-stacked-footer {
    flex-direction: column;
    align-items: stretch;
    padding: 14px 14px;
    gap: 12px;
  }

  .stacked-specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    width: 100%;
  }

  .spec-tile {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    padding: 8px 6px;
    background: #ffffff;
    border: 1px solid #ebe6df;
    border-radius: 3px;
  }

  .spec-tile:last-child {
    border-right: 1px solid #ebe6df;
    padding-right: 6px;
  }

  .spec-tile .spec-label {
    min-height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8.5px;
    letter-spacing: 0.5px;
    text-align: center;
    line-height: 1.2;
    margin-bottom: 4px;
    white-space: normal;
  }

  .spec-tile .spec-val {
    font-size: 15px;
  }

  .stacked-locator-box.prominent {
    display: flex;
    flex-direction: column;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 12px 14px 10px !important;
    gap: 8px !important;
    box-sizing: border-box !important;
  }

  .locator-content {
    display: contents;
  }

  .locator-top-bar {
    order: 1;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f0ece6;
    padding-bottom: 6px;
    margin-bottom: 2px;
    width: 100%;
  }

  .locator-thumb-wrap {
    order: 2;
    width: 100% !important;
    height: 140px !important;
    margin: 0 !important;
  }

  .locator-btn-zoom {
    order: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #384c3d;
    color: #ffffff;
    font-family: var(--font-ridley);
    font-size: 9.5px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 7px 12px;
    border: 1px solid #384c3d;
    border-radius: 2px;
    width: 100%;
    cursor: pointer;
    margin-top: 2px;
    box-sizing: border-box;
  }

  .locator-btn-zoom:hover {
    background: #847657;
    border-color: #847657;
  }

  
  .custom-grid-two-col {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .interactive-section {
    flex-direction: column;
    gap: 15px;
  }

  .image-display {
    height: 280px;
    width: 100%;
  }

  .table-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .interactive-table {
    width: 100%;
  }

  .scroll-item {
    flex: 0 0 75%;
    margin: 0 12px;
  }

  .scroll-item .img-wrapper {
    height: 260px;
  }

  .scroll-btn {
    display: none;
  }

  .brochure-row {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .brochure-col {
    min-height: 0;
    max-width: 280px;
    padding: 12px 14px;
    gap: 8px;
  }

  .advisor-row {
    flex-direction: column-reverse;
    text-align: center;
  }

  h2.advisor-eyebrow,
  .advisor-text-col .advisor-eyebrow,
  .advisor-eyebrow {
    text-align: center !important;
  }

  .advisor-logo-wrap {
    justify-content: center;
    margin-bottom: 16px;
  }

  .advisor-instagram-wrap {
    display: flex;
    justify-content: center;
    margin-top: 16px;
  }
}

/* ==========================================================================
   FULLSCREEN HIGH-RES LIGHTBOX MODAL
   ========================================================================== */
.villa-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.villa-lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 26, 20, 0.94);
  backdrop-filter: blur(8px);
}

.lightbox-content {
  position: relative;
  z-index: 10;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-close {
  position: absolute;
  top: -46px;
  right: -10px;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 38px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 12px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.lightbox-close:hover {
  color: #847657;
  transform: scale(1.15);
}

.lightbox-image-wrap {
  max-width: 85vw;
  max-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 3px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(132, 118, 87, 0.35);
  background: #1e2820;
}

.lightbox-image-wrap img {
  max-width: 100%;
  max-height: 75vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.lightbox-image-wrap img[src*="atelier-project"] {
  background: #ffffff !important;
  padding: 14px !important;
  border-radius: 4px !important;
  box-sizing: border-box !important;
}

.lightbox-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 14px;
  padding: 0 4px;
}

.lightbox-caption {
  font-family: var(--font-ridley);
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #f7edd7;
}

.lightbox-nav-buttons {
  display: flex;
  gap: 12px;
}

.lightbox-nav-btn {
  background: rgba(56, 76, 61, 0.85);
  border: 1px solid #847657;
  color: #ffffff;
  font-family: var(--font-ridley);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.lightbox-nav-btn:hover {
  background: #847657;
  color: #ffffff;
}

/* ==========================================================================
   MOBILE OPTIMIZATION (390px - 600px)
   ========================================================================== */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

@media (max-width: 600px) {
  .container {
    width: 92% !important;
    padding: 0 4px;
  }

  .signature-section, .section-regular {
    padding: 42px 0;
  }

  h1.main-title {
    font-size: 22px !important;
    line-height: 1.25 !important;
    margin-bottom: 12px !important;
  }

  h2.sub-title {
    font-size: 10px !important;
    letter-spacing: 1.8px !important;
    margin-bottom: 8px !important;
  }

  .section-text {
    font-size: 13.5px !important;
    line-height: 1.55 !important;
    margin-bottom: 20px !important;
  }

  /* Villa Stacked Card Adjustments */
  .villa-stacked-block {
    padding: 20px 14px;
    border-radius: 6px;
  }

  .villa-title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .villa-stacked-name {
    font-size: 22px;
    margin-bottom: 0;
  }

  .villa-status-chip {
    font-size: 10px;
    padding: 0;
    margin: 0;
    white-space: normal;
  }

  .villa-btn-pdf-stacked {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 10px 12px;
    font-size: 10px;
    margin-top: 8px;
  }

  .triptych-item {
    height: 200px;
  }

  .triptych-label {
    font-size: 10px;
    padding: 6px 10px;
  }

  .stacked-specs-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }

  .spec-tile {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    padding: 8px 4px;
    background: #ffffff;
    border: 1px solid #ebe6df;
    border-radius: 3px;
  }

  .spec-tile .spec-label {
    min-height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    letter-spacing: 0.5px;
    line-height: 1.2;
    margin-bottom: 3px;
  }

  .spec-tile .spec-val {
    font-size: 14px;
    font-weight: 600;
  }

  .stacked-locator-box.prominent {
    width: 100% !important;
    padding: 12px 14px 10px !important;
    gap: 8px !important;
    background: #ffffff !important;
    border: 1px solid #847657 !important;
    border-radius: 4px !important;
    box-sizing: border-box !important;
  }

  .locator-top-bar {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    border-bottom: 1px solid #f0ece6 !important;
    padding-bottom: 6px !important;
    margin-bottom: 2px !important;
  }

  .locator-title {
    font-size: 8.5px !important;
    letter-spacing: 1.2px !important;
  }

  .locator-name {
    font-size: 12px !important;
  }

  .locator-thumb-wrap {
    width: 100% !important;
    height: 150px !important;
    background: #ffffff !important;
    border: 1px solid #ebe6df !important;
    border-radius: 3px !important;
    padding: 6px !important;
  }

  .locator-btn-zoom {
    font-size: 9.5px !important;
    padding: 8px 12px !important;
  }


  /* Distance / Transport Table Mobile Fix */
  .distanz-table {
    width: 100%;
    font-size: 11px;
    margin: 20px 0;
    table-layout: fixed;
  }

  .distanz-table th, .distanz-table td {
    padding: 8px 3px;
    font-size: 11px;
    word-break: break-word;
  }

  .distanz-table th img.icon {
    height: 16px !important;
  }

  .distanz-table th span {
    font-size: 8.5px;
    letter-spacing: 0.5px;
    display: block;
    line-height: 1.1;
  }

  /* Interactive Table Mobile Card View */
  .table-standalone-wrapper {
    width: 100%;
    padding: 0;
  }

  .table-container {
    width: 100%;
    overflow: visible !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
  }

  .interactive-table {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    border: none !important;
  }

  .interactive-table thead {
    display: none !important;
  }

  .interactive-table tbody {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .interactive-table tbody tr {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-template-areas:
      "villa status status"
      "sbp living garden" !important;
    row-gap: 10px !important;
    column-gap: 6px !important;
    padding: 12px 14px 12px !important;
    border: 1px solid #ebe6df !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    box-sizing: border-box !important;
    box-shadow: 0 2px 8px rgba(56, 76, 61, 0.04) !important;
    text-align: left !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
  }

  .interactive-table tbody tr.row-available {
    grid-template-areas:
      "villa status status"
      "sbp living garden"
      "plans plans plans" !important;
    border-color: rgba(56, 76, 61, 0.35) !important;
    border-left: 4px solid #384c3d !important;
  }

  .interactive-table td.cell-plans {
    grid-area: plans !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-top: 4px !important;
  }

  .interactive-table tbody tr:not(.row-available) td.cell-plans {
    display: none !important;
  }

  .interactive-table td.cell-plans .table-plan-btn {
    width: 100% !important;
    padding: 8px 14px !important;
    font-size: 11px !important;
    letter-spacing: 1.2px !important;
    box-sizing: border-box !important;
  }

  .interactive-table tbody tr.row-available:hover,
  .interactive-table tbody tr.row-available.highlighted,
  .interactive-table tbody tr.row-available.active {
    background: rgba(132, 118, 87, 0.08) !important;
    border-color: #847657 !important;
  }

  .interactive-table td {
    padding: 0 !important;
    border: none !important;
    text-align: left !important;
    white-space: normal !important;
    background: transparent !important;
  }

  .interactive-table td.cell-villa {
    grid-area: villa !important;
    font-family: var(--font-serif) !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #1e2c21 !important;
    padding-left: 0 !important;
    display: flex !important;
    align-items: center !important;
  }

  .interactive-table td.cell-status {
    grid-area: status !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
  }

  .interactive-table td.cell-sbp {
    grid-area: sbp !important;
  }

  .interactive-table td.cell-living {
    grid-area: living !important;
  }

  .interactive-table td.cell-garden {
    grid-area: garden !important;
  }

  .interactive-table td.cell-sbp,
  .interactive-table td.cell-living,
  .interactive-table td.cell-garden {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    background: #fbf9f6 !important;
    border-radius: 4px !important;
    padding: 6px 3px !important;
    text-align: center !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    color: #384c3d !important;
  }

  .interactive-table td.cell-sbp::before {
    content: "SBP";
    display: block;
    font-family: var(--font-ridley);
    font-size: 8.5px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #847657;
    font-weight: 500;
    margin-bottom: 2px;
  }

  .interactive-table td.cell-living::before {
    content: "Habitable";
    display: block;
    font-family: var(--font-ridley);
    font-size: 8.5px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #847657;
    font-weight: 500;
    margin-bottom: 2px;
  }

  .interactive-table td.cell-garden::before {
    content: "Jardin";
    display: block;
    font-family: var(--font-ridley);
    font-size: 8.5px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #847657;
    font-weight: 500;
    margin-bottom: 2px;
  }

  html[lang="en"] .interactive-table td.cell-living::before {
    content: "Living";
  }

  html[lang="en"] .interactive-table td.cell-garden::before {
    content: "Garden";
  }

  /* Contact Form Mobile Inputs */
  .form-row-two {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .contact-form-block input[type="text"],
  .contact-form-block input[type="email"],
  .contact-form-block input[type="tel"],
  .contact-form-block textarea {
    font-size: 16px !important; /* Prevents auto-zoom on iOS */
    padding: 12px 14px !important;
  }

  .checkbox-label {
    font-size: 11px !important;
    align-items: flex-start;
  }

  /* Partner Logos & Footer Mobile Sizing */
  .partners-wrap {
    padding: 28px 0 32px !important;
  }

  .partners-wrap p {
    font-size: 9.5px !important;
    letter-spacing: 2px !important;
    margin-bottom: 16px !important;
  }

  .partners-logos {
    gap: 16px 22px !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .partners-logos img {
    max-height: 20px !important;
    max-width: 110px !important;
    height: auto !important;
    object-fit: contain !important;
  }

  h2.advisor-eyebrow,
  .advisor-text-col .advisor-eyebrow,
  .advisor-eyebrow {
    text-align: center !important;
  }

  .advisor-logo-wrap {
    justify-content: center !important;
    text-align: center !important;
    margin-bottom: 14px !important;
  }

  .advisor-logo-wrap img {
    margin: 0 auto !important;
    max-height: 24px !important;
  }

  /* Compact Mobile Brochure Section */
  #brochure {
    padding: 18px 0 !important;
  }

  .brochure-row {
    flex-direction: column !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 0 16px !important;
  }

  .brochure-col {
    width: 100% !important;
    max-width: 270px !important;
    min-height: 0 !important;
    padding: 10px 14px 10px !important;
    border: 1px solid #847657 !important;
    border-radius: 4px !important;
    gap: 6px !important;
  }

  .brochure-icon-wrap {
    width: 20px !important;
    height: 20px !important;
    margin: 0 auto !important;
  }

  .brochure-icon-wrap svg {
    width: 16px !important;
    height: 16px !important;
  }

  .brochure-col h4 {
    font-size: 10px !important;
    letter-spacing: 1.4px !important;
    margin: 0 !important;
  }

  .brochure-btn {
    width: 175px !important;
    max-width: 100% !important;
    height: 30px !important;
    font-size: 9px !important;
    letter-spacing: 0.8px !important;
    padding: 0 8px !important;
    border-radius: 2px !important;
    margin: 2px 0 0 !important;
  }

  .brochure-subnote,
  .brochure-plans-note {
    font-size: 8.5px !important;
    letter-spacing: 0.5px !important;
    margin-top: 5px !important;
    min-height: 0 !important;
    line-height: 1.2 !important;
  }

  .brochure-subnote-empty {
    display: none !important;
  }
}


/* ==========================================================================
   LUXURY PRELOADER
   ========================================================================== */
.ddb-preloader {
  position: fixed;
  inset: 0;
  z-index: 9999999;
  background: #1e2820;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.75s cubic-bezier(0.77, 0, 0.175, 1), visibility 0.75s ease;
  pointer-events: all;
}

.ddb-preloader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  text-align: center;
}

.preloader-logo {
  width: 230px;
  max-width: 80vw;
  height: auto;
  filter: brightness(0) invert(1);
  display: block;
}

.preloader-line-track {
  width: 150px;
  height: 2px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.preloader-line-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #847657, #dfcb9f, #847657);
  animation: preloaderFill 1.1s cubic-bezier(0.4, 0, 0.2, 1) forwards 0.1s;
}



@keyframes preloaderIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes preloaderFill {
  0% { width: 0%; }
  60% { width: 75%; }
  100% { width: 100%; }
}

/* ==========================================================================
   SCROLL REVEAL & IMAGE EFFECTS
   ========================================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.35s ease-out, transform 0.35s ease-out;
  will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
  will-change: opacity, transform;
}

.reveal-scale.is-revealed {
  opacity: 1;
  transform: scale(1);
}

/* Staggered delay for card triptych photos */
.triptych-item.reveal-on-scroll:nth-child(1) { transition-delay: 0.02s; }
.triptych-item.reveal-on-scroll:nth-child(2) { transition-delay: 0.05s; }
.triptych-item.reveal-on-scroll:nth-child(3) { transition-delay: 0.08s; }

/* On mobile screens, disable opacity-zero so images appear instantly without animation lag */
@media (max-width: 768px) {
  .reveal-on-scroll,
  .reveal-scale,
  .triptych-item.reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Interactive Hover Depth on Images */
.triptych-item img {
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.triptych-item:hover img {
  transform: scale(1.04) !important;
}

.vam-frame img {
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.vam-frame:hover img {
  transform: scale(1.015) !important;
}

/* ==========================================================================
   COOKIE CONSENT BANNER
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: -180px;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 16px 24px;
  background: rgba(30, 44, 33, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(132, 118, 87, 0.35);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.25);
  color: #f7f5f0;
  transition: bottom 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.visible {
  bottom: 0;
}

.cookie-container {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-text-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1 1 500px;
}

.cookie-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #dfd7c5;
  flex-shrink: 0;
}

.cookie-text {
  margin: 0;
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.5;
  color: #ebe7df;
}

.cookie-privacy-btn {
  background: none;
  border: none;
  padding: 0 0 0 6px;
  color: #dfd7c5;
  font-family: var(--font-ridley);
  font-size: 11px;
  text-decoration: underline;
  cursor: pointer;
  letter-spacing: 0.5px;
  display: inline;
}

.cookie-privacy-btn:hover {
  color: #ffffff;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 9px 20px;
  font-family: var(--font-ridley);
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 600;
  white-space: nowrap;
}

.cookie-btn-decline {
  background: transparent;
  border: 1px solid rgba(223, 215, 197, 0.4);
  color: #dfd7c5;
}

.cookie-btn-decline:hover {
  border-color: #dfd7c5;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.cookie-btn-accept {
  background: #384c3d;
  border: 1px solid #847657;
  color: #ffffff;
}

.cookie-btn-accept:hover {
  background: #465f4d;
  border-color: #dfd7c5;
}

@media (max-width: 680px) {
  .cookie-banner {
    padding: 14px 16px;
  }
  .cookie-container {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .cookie-text-wrap {
    flex: 1 1 auto;
  }
  .cookie-actions {
    display: flex;
    gap: 8px;
    width: 100%;
  }
  .cookie-btn {
    flex: 1;
    text-align: center;
    padding: 10px 8px;
    font-size: 10.5px;
  }
}

/* ==========================================================================
   PRIVACY POLICY MODAL
   ========================================================================== */
.privacy-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px;
  box-sizing: border-box;
}

.privacy-modal.open {
  opacity: 1;
  visibility: visible;
}

.privacy-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 28, 22, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.privacy-dialog {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 680px;
  max-height: 85vh;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #ebe6df;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modalPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
  from { transform: scale(0.94) translateY(12px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}

.privacy-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #eee9e0;
  background: #faf8f5;
}

.privacy-title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 20px;
  color: #1e2c21;
  font-weight: 500;
}

.privacy-close-btn {
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: #847657;
  cursor: pointer;
  padding: 0 4px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.privacy-close-btn:hover {
  color: #1e2c21;
  transform: scale(1.1);
}

.privacy-body {
  padding: 24px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  color: #384c3d;
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.65;
}

.privacy-body h3 {
  font-family: var(--font-ridley);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #847657;
  margin: 18px 0 6px;
}

.privacy-body h3:first-child {
  margin-top: 0;
}

.privacy-body p {
  margin: 0 0 12px;
}

.privacy-body a {
  color: #384c3d;
  font-weight: 600;
  text-decoration: underline;
}

.privacy-footer {
  padding: 14px 24px;
  border-top: 1px solid #eee9e0;
  background: #faf8f5;
  display: flex;
  justify-content: flex-end;
}

.privacy-ok-btn {
  padding: 8px 24px;
  background: #384c3d;
  color: #ffffff;
  border: none;
  border-radius: 3px;
  font-family: var(--font-ridley);
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.2s ease;
}

.privacy-ok-btn:hover {
  background: #465f4d;
}

body.modal-open {
  overflow: hidden;
}
