/* =========================================================
   FILE: static/css/style.css  (FULL / EDITED / DEDUPED / ORDERED)
   Load AFTER Bootstrap so overrides apply.
========================================================= */


/* =========================================================
   1) FONTS
========================================================= */
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700;900&family=Playfair+Display:wght@700;900&display=swap");


/* =========================================================
   2) THEME TOKENS
========================================================= */
:root {
  /* === LOGO-MATCHED PALETTE === */
  --brand: #00628b ;   /* dark slate from logo */
  --accent: #0B84B8;  /* bright blue from logo */
  --bg: #F0F8F8;      /* soft off-white */
  --surface: #FFFFFF; /* cards / sections */
  --text: #0B1220;    /* near-black (cleaner than pure #000) */

  /* keep your wiring */
  --page-bg: var(--bg);
  --nav-bg: var(--brand);
  --nav-text: rgba(240, 248, 248, .96);
  --footer-bg: var(--brand);
  --footer-text: rgba(240, 248, 248, .96);

  /* links */
  --link: var(--accent);
  --link-hover: #096C97; /* darker accent */

  /* nav hover/active (visible on dark nav) */
  --nav-hover-bg: rgba(240, 248, 248, .14);
  --nav-active-bg: rgba(240, 248, 248, .22);

  /* buttons */
  --c-button: var(--accent);                 /* make CTAs pop */
  --c-button-outline: rgba(255, 255, 255, .26);
  --c-button-hover: rgba(255, 255, 255, .18);

  --heading: var(--text);
  --text-muted: rgba(11, 18, 32, .65);

  --section-bg: var(--surface);
  --card-bg: var(--surface);

  --border: 1px solid rgba(11, 18, 32, .14);
  --border-soft: 1px solid rgba(11, 18, 32, .14);
  --border-soft-2: 1px solid rgba(11, 18, 32, .10);

  --shadow-sm: 0 2px 10px rgba(0, 0, 0, .10);
  --shadow-md: 0 4px 15px rgba(0, 0, 0, .06);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, .10);

  --btn-bg: var(--accent);
  --btn-text: rgba(240, 248, 248, .96);
  --btn-border: rgba(11, 18, 32, .18);

  --base-font: "Roboto", Arial, sans-serif;
  --title-font: "Playfair Display", Georgia, serif;

  --fw-regular: 400;
  --fw-medium: 500;
  --fw-bold: 700;
  --fw-black: 900;

  --header-height: 64px;

  --space-xs: .5rem;
  --space-sm: 1rem;
  --space-md: 4rem;
  --space-lg: 6rem;

  --fs-base: clamp(1rem, 1vw, 2rem);
  --fs-xs-title: clamp(1rem, 1vw, 2rem);
  --fs-sm-title: clamp(1rem, 2vw, 4rem);
  --fs-md-title: clamp(1rem, 4vw, 8rem);
  --fs-xl-title: clamp(1rem, 6vw, 10rem);
  --fs-lead: clamp(1rem, 1vw, 5rem);

  --banner-fit: cover;
  --banner-url: none;

  --radius: 18px;
  --bs-secondary-color: var(--text-muted);

  --detail-hero-h: clamp(360px, 70vh, 560px);

  --modal-z: 120000;
  --modal-backdrop-z: 119000;
  --modal-close-z: 121000;

  --modal-close-size: 32px;
  --modal-close-line: 12px;

  --modal-stage-pad: 12px;
  --modal-stage-pad-top: 56px;
}



/* =========================================================
   3) GLOBAL BASE
========================================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scrollbar-gutter: stable;
  background: var(--page-bg);
}

html,
body {
  width: 100%;
  overflow-x: hidden;
}

body {
  background: var(--page-bg);
  color: var(--text);
  font-family: var(--base-font);
  font-size: var(--fs-base);
  line-height: 1.6;
  word-break: break-word;

  min-height: 100vh;
  display: flex;
  flex-direction: column;

  padding-top: var(--header-height);
}

body.no-scroll {
  overflow: hidden;
}

header {
  margin: 0;
  padding: 0;
}

.main-content-wrapper {
  padding-right: 0 !important;
  flex: 1 0 auto;
}

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: var(--link);
  text-decoration: none;
  transition: color .3s ease;
}

a:hover {
  color: var(--link-hover);
}

.sectionSpace {
  margin: clamp(1rem, 3vw, var(--space-lg));
  padding: clamp(1.25rem, 2.4vw, 2rem);
  border-radius: 1rem;
}

.lightBg {
  background: var(--section-bg);
  border: var(--border-soft-2);
}

.text-muted {
  color: var(--text-muted) !important;
}


/* =========================================================
   4) TYPOGRAPHY UTILITIES
========================================================= */
.xlTitle,
.mdTitle,
.smTitle,
.xsTitle,
.lead {
  overflow-wrap: break-word;
}

.xlTitle {
  font-family: var(--title-font);
  font-size: var(--fs-xl-title);
  font-weight: var(--fw-black);
  line-height: 1.15;
  color: var(--heading);
}

.mdTitle {
  font-family: var(--title-font);
  font-size: var(--fs-md-title);
  font-weight: var(--fw-bold);
  color: var(--heading);
}

.smTitle {
  font-family: var(--title-font);
  font-size: var(--fs-sm-title);
  font-weight: var(--fw-bold);
  color: var(--heading);
}

.xsTitle {
  font-size: var(--fs-xs-title);
  font-weight: var(--fw-bold);
  color: var(--heading);
}

.lead {
  font-size: var(--fs-lead);
}


/* =========================================================
   5) BUTTONS (site buttons)
========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;

  max-width: 100%;
  padding: .85rem 1.75rem;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;

  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;

  background-color: var(--c-button) !important;
  border: 2px solid var(--c-button-outline) !important;
  color: var(--btn-text) !important;

  border-radius: 999px;

  transition: transform .25s cubic-bezier(.23, 1, .32, 1),
    box-shadow .25s cubic-bezier(.23, 1, .32, 1);
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-color: var(--c-button-hover);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: 50% 50%;
  transition: transform .35s cubic-bezier(.23, 1, .32, 1);
}

.btn:hover::before {
  transform: scaleX(1);
}

.btn:hover {
  transform: scale(1.03);
  box-shadow: 0 0 20px rgba(0, 0, 0, .15);
}

.btn:active {
  transform: scale(1);
}

.back-button {
  margin: 0 !important;
  width: fit-content;
  font-size: 1.05rem !important;
  padding: .75rem 1.25rem !important;
  border-radius: 999px;
  white-space: nowrap;
  max-width: 45vw;
  overflow: hidden;
  text-overflow: ellipsis;
}


/* =========================================================
   6) FORMS
========================================================= */
.form-container {
  max-width: 100%;
  margin: 0 auto;
  padding: var(--space-md);
  padding-top: 0;
}

#contactForm input[type="text"],
#contactForm input[type="email"],
#contactForm textarea {
  width: 100%;
  margin-bottom: clamp(1rem, 2vw, 2rem);
  padding: clamp(.75rem, 1.5vw, 2rem);
  border: 1px solid rgba(43, 46, 36, .25);
  border-radius: .5rem;
  background: var(--bg);
  color: var(--text);
}

#contactForm .btn {
  width: 100%;
  border-radius: .5rem;
}


/* =========================================================
   7) HEADER + NAV
========================================================= */
.headerCol {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2000;

  height: var(--header-height) !important;
  min-height: var(--header-height) !important;
  max-height: var(--header-height) !important;

  display: flex;
  align-items: center;

  background: var(--nav-bg);
  box-shadow: var(--shadow-sm);
  overflow: visible;

  padding-left: 0 !important;
  padding-right: 0 !important;
}

.header-inner-container {
  width: 100%;
  height: 100%;

  padding: 0 !important;
  margin: 0 !important;

  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: .75rem;

  min-width: 0;
}

.brandLogo {
  height: 100%;
  display: flex;
  align-items: center;
  justify-self: start;
  flex: 0 0 auto;

  margin: 0 !important;
  padding: 0 !important;
}

.brandLogo img {
  height: calc(var(--header-height) - 12px) !important;
  max-height: calc(var(--header-height) - 12px) !important;
  width: auto !important;
  object-fit: contain;
}

.siteTitle {
  justify-self: center;
  width: 100%;
  min-width: 0;

  margin: 0 !important;
  padding: 0 .5rem;

  color: var(--nav-text);
  font-family: var(--title-font);
  font-weight: var(--fw-black);
  font-size: clamp(1.05rem, 1.6vw, 1.9rem);
  line-height: 1;

  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.headerRight {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: .75rem;
  min-width: 0;

  padding-right: 0 !important;
}

.navCol {
  min-width: 0;
  max-width: none;
}

.navCol ul {
  display: flex;
  align-items: center;
  gap: clamp(.15rem, .6vw, .35rem);
  flex-wrap: nowrap;
  min-width: max-content;
}

/* Base link styles */
.headerCol .navCol a,
.headerCol .navCol a.nav-link {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: 0;

  display: flex !important;
  align-items: center !important;

  height: calc(var(--header-height) * .70) !important;
  padding: 0 clamp(.55rem, 1.1vw, .95rem) !important;

  color: var(--nav-text) !important;
  font-weight: var(--fw-medium) !important;
  font-size: clamp(.90rem, .9vw, 1rem) !important;

  border-radius: 10px !important;
  white-space: nowrap !important;
  text-decoration: none !important;

  transition: background-color .25s ease-in-out;
}

.headerCol .navCol a:hover {
  background: rgba(0, 0, 0, .25) !important;
}

.headerCol .navCol a.active,
.headerCol .navCol a[aria-current="page"] {
  background: rgba(0, 0, 0, .25) !important;
}

/* Desktop dropdown (About) */
.navCol ul>li.dropdown {
  position: relative;
}

/* Hover-bridge to cover the "gap" between button and menu */
.navCol ul>li.dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 14px;
  background: transparent;
}

/* Toggle button matches nav links */
.headerCol .navCol .dropdownToggle {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;

  display: flex !important;
  align-items: center !important;
  gap: .35rem;

  height: calc(var(--header-height) * .70) !important;
  padding: 0 clamp(.55rem, 1.1vw, .95rem) !important;

  color: var(--nav-text) !important;
  font-weight: var(--fw-medium) !important;
  font-size: clamp(.90rem, .9vw, 1rem) !important;

  border-radius: 10px !important;
  white-space: nowrap !important;
  cursor: pointer;

  transition: background-color .25s ease-in-out;
}

.headerCol .navCol .dropdownToggle:hover,
.headerCol .navCol .dropdownToggle:focus-visible {
  background: rgba(0, 0, 0, .25) !important;
}

.headerCol .navCol .dropdownToggle:focus-visible {
  outline: 3px solid rgba(245, 246, 244, .55);
  outline-offset: 3px;
}

/* Menu panel */
.dropdownMenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);

  min-width: 220px;
  padding: .5rem;

  background: var(--brand);
  border: 1px solid rgba(245, 246, 244, .35);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);

  z-index: 4000;
}

.dropdown:hover .dropdownMenu,
.dropdown:focus-within .dropdownMenu,
.dropdown.open .dropdownMenu {
  display: block;
}

/* Menu items */
.dropdownMenu a {
  display: block;
  padding: .75rem .85rem;
  border-radius: 10px;

  color: var(--nav-text) !important;
  font-weight: 800;
  text-decoration: none !important;
  white-space: nowrap;

  transition: background-color .2s ease-in-out;
}

.dropdownMenu a:hover,
.dropdownMenu a:focus-visible {
  background: rgba(0, 0, 0, .18);
}

.dropdownCaret {
  display: inline-block;
  transition: transform .2s ease-in-out;
}

.dropdown.open .dropdownCaret {
  transform: rotate(180deg);
}

/* Hamburger */
.navToggle {
  display: none;

  appearance: none;
  -webkit-appearance: none;

  width: var(--header-height) !important;
  height: var(--header-height) !important;
  flex: 0 0 var(--header-height) !important;

  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 10px !important;

  cursor: pointer;
  position: relative;

  transition: background-color .25s ease-in-out;
}

.navToggle:hover,
.navToggle:active,
.navToggle.open,
.navToggle:focus-visible {
  background: rgba(0, 0, 0, .25) !important;
}

.navToggle:focus-visible {
  outline: 3px solid rgba(245, 246, 244, .55);
  outline-offset: 3px;
}

.navToggle .bar1,
.navToggle .bar2,
.navToggle .bar3 {
  position: absolute;
  left: 50%;
  width: 34px !important;
  height: 4px !important;
  border-radius: 999px;
  background-color: var(--nav-text);

  transform: translateX(-50%);
  transition: top .25s ease-in-out, transform .25s ease-in-out, opacity .2s ease-in-out;
}

.navToggle .bar1 {
  top: 36% !important;
}

.navToggle .bar2 {
  top: 50% !important;
}

.navToggle .bar3 {
  top: 64% !important;
}

.navToggle.open .bar1 {
  top: 50% !important;
  transform: translateX(-50%) rotate(45deg);
}

.navToggle.open .bar2 {
  opacity: 0;
}

.navToggle.open .bar3 {
  top: 50% !important;
  transform: translateX(-50%) rotate(-45deg);
}

/* Mobile off-canvas nav */
.navCollapseCol {
  display: none;

  position: fixed;
  top: var(--header-height);
  right: -100%;
  z-index: 1999;

  width: min(85vw, 320px);
  height: calc(100vh - var(--header-height));

  background-color: var(--nav-bg);
  box-shadow: var(--shadow-lg);

  transition: right .35s ease-in-out;
  overflow-y: auto;
}

.navCollapseCol.show-menu {
  right: 0;
}

.navCollapseCol ul {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: .75rem 0;
}

.navCollapseCol a {
  display: block;
  padding: .95rem 1rem !important;
  color: var(--nav-text) !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-decoration: none !important;

  transition: background-color .25s ease-in-out;
}

.navCollapseCol a:hover {
  background: rgba(0, 0, 0, .25) !important;
}

/* Mobile dropdown inside drawer */
.navCollapseCol .mobileDropdownToggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: .95rem 1rem !important;
  background: transparent !important;
  border: 0 !important;

  color: var(--nav-text) !important;
  font: inherit;
  font-weight: 800;

  cursor: pointer;
  text-align: left;
}

.navCollapseCol .mobileDropdownMenu {
  display: none;
  padding: 0 0 .5rem 0;
}

.navCollapseCol .mobileDropdown.open .mobileDropdownMenu {
  display: block;
}

.navCollapseCol .mobileDropdownMenu a {
  padding-left: 1.75rem !important;
  opacity: .98;
}

/* Desktop/mobile switch */
@media (max-width: 992px) {
  .navCol {
    display: none !important;
  }

  .navToggle {
    display: inline-flex !important;
  }

  #mobileNav {
    display: block !important;
  }
}

@media (min-width: 993px) {
  .navCol {
    display: block !important;
  }

  .navToggle {
    display: none !important;
  }

  #mobileNav {
    display: none !important;
  }
}

/* High zoom / tiny viewports */
@media (max-width: 520px),
(max-height: 520px) {
  :root {
    --header-height: 52px;
  }

  .siteTitle {
    font-size: clamp(.95rem, 4.2vw, 1.25rem) !important;
  }

  .brandLogo img {
    height: calc(var(--header-height) - 10px) !important;
    max-height: calc(var(--header-height) - 10px) !important;
  }

  .headerCol .navCol a,
  .headerCol .navCol .dropdownToggle {
    height: calc(var(--header-height) * .62) !important;
    padding: 0 .55rem !important;
    font-size: .90rem !important;
  }

  .navCollapseCol a,
  .navCollapseCol .mobileDropdownToggle {
    padding: .75rem .90rem !important;
    font-size: .95rem !important;
  }

  .navToggle .bar1,
  .navToggle .bar2,
  .navToggle .bar3 {
    width: 28px !important;
    height: 3px !important;
  }
}


/* =========================================================
   8) PAGE BANNER (back button + title no wrap)
========================================================= */
.page-banner{
  margin: 0;
  padding: 1.15rem 0;
  background: var(--section-bg);
  border-bottom: var(--border-soft-2);
}

.page-banner__inner{
  display: grid;
  grid-template-columns: max-content minmax(0,1fr);
  align-items: center;
  column-gap: 1.25rem;
  min-width: 0;
  overflow: visible;
}

.page-banner__back{ justify-self: start; position: relative; z-index: 2; }
.page-banner__titlewrap{ min-width: 0; position: relative; z-index: 1; }

.page-banner__title{
  margin: 0;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.page-banner__desc{ margin: .35rem 0 0; color: var(--text-muted); }


/* =========================================================
   9) HERO / BANNER + HUD (home hero)
========================================================= */
.bannerSection {
  position: relative;

  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  max-width: 100vw;

  background-image: var(--banner-url);
  background-size: var(--banner-fit);
  background-position: center 60%;
  background-repeat: no-repeat;

  min-height: var(--banner-min-height, calc(100dvh - var(--header-height)));
  min-height: var(--banner-min-height, calc(100svh - var(--header-height)));

  isolation: isolate;
}

@supports (overflow: clip) {
  .bannerSection {
    overflow: clip;
  }
}

@supports not (overflow: clip) {
  .bannerSection {
    overflow: hidden;
  }
}

.bannerSection .hero-hud {
  position: absolute;
  inset: 0;
  z-index: 80;

  --hud-pad: clamp(.75rem, 2.5vw, 2.25rem);
  padding: var(--hud-pad);

  pointer-events: none;
}

/* WEATHER container: fixed top-right */
.bannerSection .hero-hud__weather {
  position: absolute !important;
  top: var(--hud-pad) !important;
  right: var(--hud-pad) !important;
  left: auto !important;
  bottom: auto !important;
  transform: none !important;

  width: fit-content !important;
  max-width: calc(100% - (var(--hud-pad) * 2)) !important;

  pointer-events: auto !important;
  z-index: 2600 !important;
}

/* CTA: bottom center */
.bannerSection .hero-hud__cta {
  position: absolute;
  left: 50%;
  bottom: var(--hud-pad);

  transform: translateX(-50%);
  transform-origin: bottom center;

  width: auto;
  pointer-events: auto;
  z-index: 1500 !important;
}

.bannerSection .hero-hud__cta .btn {
  width: auto !important;
  max-width: min(420px, calc(100vw - 2rem)) !important;

  font-size: clamp(.95rem, 1vw, 1.10rem) !important;
  padding: clamp(.60rem, .9vw, .80rem) clamp(1.20rem, 1.8vw, 1.70rem) !important;

  white-space: nowrap !important;
  border-radius: 999px !important;
}

.bannerSection .hero-hud__cta .btn * {
  font-size: inherit !important;
  font-family: inherit !important;
  line-height: inherit !important;
  margin: 0 !important;
  font-weight: inherit !important;
}

@media (max-width: 520px),
(max-height: 520px) {
  .bannerSection .hero-hud__cta {
    transform: translateX(-50%) scale(.58) !important;
  }
}

@media (max-width: 720px),
(max-height: 620px) {
  .bannerSection .hero-hud__cta {
    transform: translateX(-50%) scale(.80) !important;
  }
}


/* =========================================================
   10) COMPONENTS (Apartments slider, flip cards, hover cards, 3D, testimonials)
========================================================= */

/* Apartments auto slider */
.apartments-slider {
  --width: clamp(170px, 18vw, 240px);
  --height: clamp(170px, 18vw, 240px);
  --quantity: 1;
  --duration: clamp(14s, 12s + 1vw, 18s);

  width: 100%;
  height: var(--height);
  overflow: hidden;
  position: relative;

  -webkit-mask-image: linear-gradient(to right, transparent, var(--text) 10% 90%, transparent);
  mask-image: linear-gradient(to right, transparent, var(--text) 10% 90%, transparent);
}

.apartments-slider:focus-visible {
  outline: 3px solid rgba(43, 46, 36, .15);
  outline-offset: 6px;
}

.apartments-slider .apartments-list {
  position: relative;
  width: 100%;
  height: 100%;
  min-width: calc(var(--width) * var(--quantity));
}

.apartments-slider .apartments-item {
  position: absolute;
  top: 0;
  left: 100%;
  width: var(--width);
  height: var(--height);
  display: block;

  animation: apartmentsAutoRun var(--duration) linear infinite;
  transition: filter .5s;
  animation-delay: calc((var(--duration) / var(--quantity)) * (var(--position) - 1) - var(--duration)) !important;
}

.apartments-slider[reverse="true"] .apartments-item {
  animation-name: apartmentsReverseRun;
}

@keyframes apartmentsAutoRun {
  from {
    left: 100%;
  }

  to {
    left: calc(var(--width) * -1);
  }
}

@keyframes apartmentsReverseRun {
  from {
    left: calc(var(--width) * -1);
  }

  to {
    left: 100%;
  }
}

.apartments-slider:hover .apartments-item {
  animation-play-state: paused !important;
  filter: grayscale(1);
}

.apartments-slider .apartments-item:hover {
  filter: grayscale(0);
}

.apartments-card {
  width: 100%;
  height: 100%;
  padding: 15px;

  border: 1px solid rgba(43, 46, 36, .20);
  border-radius: 16px;
  overflow: hidden;

  box-shadow: 0 2px 5px rgba(0, 0, 0, .10);
  position: relative;
  background: rgba(255, 255, 255, .92);
}

.apartments-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.apartments-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .55), rgba(0, 0, 0, .05));
}

.apartments-overlay {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding: 14px;
}

.apartments-title {
  margin: 0;
  color: var(--bg);
  font-weight: 800;
  font-size: 18px;
}

/* Flip card */
.flip-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.flip-card {
  position: relative;
  width: 100%;
  height: 260px;

  background: #fff;
  border-radius: 14px;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;
  perspective: 1000px;

  box-shadow: 0 0 0 5px #fff;
  transition: transform .6s cubic-bezier(.175, .885, .32, 1.275),
    box-shadow .6s cubic-bezier(.175, .885, .32, 1.275);
}

.flip-card:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 22px rgba(0, 0, 0, .12);
}

.flip-card__img,
.flip-card__placeholder {
  width: 100%;
  height: 100%;
  display: block;
}

.flip-card__img {
  height: 100% !important;
  object-fit: contain;
  object-position: center;
  background: #fff;
}

.flip-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .06);
}

.flip-card__placeholder svg {
  width: 54px;
  fill: #000;
  transition: all .6s cubic-bezier(.175, .885, .32, 1.275);
}

.flip-card:hover .flip-card__placeholder svg {
  transform: scale(0);
}

.flip-card__frontTitle {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;

  margin: 0;
  padding: 16px 18px 18px;

  font-family: var(--title-font);
  font-weight: 900;
  font-size: clamp(1.05rem, .6vw + .95rem, 1.35rem);
  line-height: 1.15;
  color: #fff;

  background: linear-gradient(to top, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .35) 55%, rgba(0, 0, 0, 0) 100%);
  text-shadow: 0 8px 18px rgba(0, 0, 0, .55);

  z-index: 2;
  pointer-events: none;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;

  transition: opacity .2s ease, transform .2s ease;
}

.flip-card:hover .flip-card__frontTitle,
.flip-card:focus-within .flip-card__frontTitle {
  opacity: 0;
  transform: translateY(10px);
}

.flip-card__content {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;
  padding: 18px;

  background: #fff;
  transform: rotateX(-90deg);
  transform-origin: bottom;

  transition: all .6s cubic-bezier(.175, .885, .32, 1.275);

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  z-index: 3;
}

.flip-card:hover .flip-card__content,
.flip-link:focus-visible .flip-card .flip-card__content {
  transform: rotateX(0deg);
}

.flip-card__title {
  margin: 0 0 8px;
  font-size: 20px;
  color: rgba(0, 0, 0, .85);
  font-weight: 800;
}

.flip-card__price {
  font-weight: 600;
  margin-bottom: .35rem;
  color: var(--accent);
}

.flip-card__description {
  margin: 0;
  font-size: 14px;
  color: rgba(0, 0, 0, .60);
  line-height: 1.45;
}

.flip-card__cta {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(0, 0, 0, .85);
  font-weight: 700;
  font-size: 14px;
}

.flip-link:focus-visible .flip-card {
  outline: 3px solid rgba(245, 246, 244, .70);
  outline-offset: 3px;
}

.flip-card--blog .flip-card__img {
  object-fit: cover;
}

.flip-card--blog .flip-card__frontTitle {
  white-space: normal;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* Hover card */
.hover_card_link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.hover_card {
  position: relative;
  width: 100%;
  height: 200px;
  background: #f2f2f2;
  border-radius: 10px;
  overflow: hidden;
  perspective: 1000px;
  box-shadow: 0 0 0 5px #ffffff80;
  transition: transform .6s cubic-bezier(.175, .885, .32, 1.275),
    box-shadow .6s cubic-bezier(.175, .885, .32, 1.275);
}

.hover_card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, .12);
}

.hover_card__front,
.hover_card__content {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  transition: all .6s cubic-bezier(.175, .885, .32, 1.275);
}

.hover_card__front {
  background: #f2f2f2;
  overflow: hidden;
  padding: 0;
  transform: rotateX(0deg);
}

.hover_card__img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
}

.hover_card__front-text {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  text-align: center;
}

.hover_card__content {
  padding: 1rem;
  background: #f2f2f2;
  transform: rotateX(-90deg);
  transform-origin: bottom;
  display: grid;
  place-items: center;
}

.hover_card__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #333;
  text-align: center;
}

.hover_card:hover .hover_card__front {
  transform: rotateX(90deg);
  transform-origin: bottom;
}

.hover_card:hover .hover_card__content {
  transform: rotateX(0deg);
}

/* 3D Card carousel */
@keyframes autoRun3d {
  from {
    transform: perspective(800px) rotateY(-360deg);
  }

  to {
    transform: perspective(800px) rotateY(0deg);
  }
}

@keyframes animateBrightness {
  10% {
    filter: brightness(1);
  }

  50% {
    filter: brightness(.1);
  }

  90% {
    filter: brightness(1);
  }
}

.card-3d-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1rem;
}

.card-3d {
  position: relative;
  width: min(520px, 100%);
  height: 260px;
  transform-style: preserve-3d;
  transform: perspective(800px);
  animation: autoRun3d 20s linear infinite;
  will-change: transform;
}

.card-3d:hover {
  animation-play-state: paused !important;
}

.card-3d:hover .card-face {
  animation-play-state: paused !important;
}

.card-face {
  position: absolute;
  width: 90px;
  height: 125px;
  top: 50%;
  left: 50%;
  transform-origin: center center;
  transform: translate(-50%, -50%) rotateY(calc(var(--i) * var(--step))) translateZ(150px);
  animation: animateBrightness 20s linear infinite;
  animation-delay: calc(var(--i) * var(--delayStep));
  border: 2px solid rgba(0, 0, 0, .18);
  border-radius: .5rem;
  overflow: hidden;
  background: rgba(0, 0, 0, .08);
  will-change: transform, filter;
  backface-visibility: hidden;
}

.card-face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Testimonials (3D cycle container) */
.testimonialsGallery {
  width: 100%;
  padding: 3rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.testimonialsSlider {
  max-width: 1500px;
  margin: 0 auto;
  padding: clamp(.5rem, 1.6vw, 1rem);
  width: 100%;
  height: clamp(28em, 34vw, 35em);
  position: relative;
  perspective: 1200px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.testimonialsWrapper {
  transform-style: preserve-3d;
  position: relative;
  width: 320px;
  height: 420px;
  display: flex;
  justify-content: center;
  align-items: center;
  --step: 2000ms;
}

.testimonialsSlide {
  position: absolute;
  width: 280px;
  height: 380px;
  transform-origin: bottom;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 .5rem 1.25rem rgba(0, 0, 0, .12);
  background: #fff;
  animation: cardCycle 12s infinite;
}

.testimonialsSlide::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .10;
  pointer-events: none;
  background: #0d6efd;
}

@keyframes cardCycle {
  0% {
    transform: translateZ(0) rotateX(0);
    z-index: 2;
  }

  13.88% {
    transform: translateZ(600px) rotateX(90deg);
    z-index: 3;
  }

  16.66% {
    transform: translateZ(0px) rotateX(90deg);
    z-index: 1;
  }

  83.33% {
    transform: translateZ(0px) rotateX(0);
    z-index: 1;
  }

  97.22% {
    transform: translateZ(0) rotateX(0);
    z-index: 2;
  }

  100% {
    transform: translateZ(0) rotateX(0);
    z-index: 2;
  }
}

.testimonialCardInner {
  position: relative;
  height: 100%;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.testimonialHeader {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonialAvatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #0d6efd;
  flex: 0 0 auto;
}

.testimonialQuote {
  margin: 0;
  font-style: italic;
  color: #6c757d;
  line-height: 1.5;
}

.testimonialName {
  margin: 0;
  font-weight: 700;
  color: #212529;
}

.testimonialRole {
  color: #0d6efd;
  font-weight: 600;
}


/* =========================================================
   11) DETAIL PAGES (gallery + floorplan)
========================================================= */
.detail-img-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.detail-img {
  height: 100%;
  max-height: 7rem;
  width: auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, .10);
}

.hero-img {
  width: 100%;
  height: clamp(260px, 45vh, 520px);
  object-fit: cover;
}

.thumb-btn {
  padding: 0;
  border: 0;
  background: transparent;
  width: 100%;
  text-align: left;
  cursor: pointer;
}

.thumb-img {
  width: 100%;
  height: clamp(140px, 18vh, 180px);
  object-fit: cover;
}

.plan-modal-img {
  width: 100%;
  height: auto;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 0 !important;
}

.modal-img {
  width: 100%;
  max-height: 85vh;
  object-fit: contain;
  background: #000;
}

.plan-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 0 !important;
  overflow: visible !important;
  cursor: pointer;
}

.plan-trigger:focus-visible {
  outline: 3px solid rgba(36, 86, 108, .35);
  outline-offset: 4px;
}

.floorplan-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0 !important;
  clip-path: none !important;
}

.floorplan-card {
  width: 100%;
  background: rgba(255, 255, 255, .85);
  border: 1px solid rgba(43, 46, 36, .14);
  border-radius: 16px;
  padding: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
}

.floorplan-card .floorplan-img {
  border-radius: 12px !important;
}


/* =========================================================
   12) BOOKING / AVAILABILITY IFRAME WRAPPERS
========================================================= */
.booking-section,
.availability-section {
  width: 100%;
}

.booking-frame,
.availability-frame {
  position: relative;
  width: 100%;
}

.booking-iframe,
.availability-iframe {
  width: 100%;
  display: block;
  border: 0;
  background: transparent;
  height: 1px;
}

.booking-frame__loading,
.availability-frame__loading {
  display: none;
  padding: 12px 0;
  color: rgba(43, 46, 36, .65);
}

.booking-frame[aria-busy="true"] .booking-frame__loading,
.availability-frame[aria-busy="true"] .availability-frame__loading {
  display: block;
}


/* =========================================================
   13) LEAFLET MAP CARD + TOOLTIP
========================================================= */
.map-card {
  background: var(--bg);
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: var(--border-soft-2);
}

.lemarche-map {
  width: 100%;
  height: clamp(360px, 55vh, 520px);
  max-height: 70vh;
}

.leaflet-div-icon.place-marker-icon {
  background: transparent !important;
  border: none !important;
}

.place-marker {
  position: relative;
  width: 44px;
  height: 44px;
}

.place-pin {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  text-align: center;
  pointer-events: none;
  text-shadow: 0 1px 1px rgba(0, 0, 0, .45);
  top: 2px;
  font-size: 1.55rem;
  line-height: 1;
  transition: transform 180ms ease;
}

.leaflet-marker-icon:hover .place-pin {
  transform: translateX(-50%) translateY(6px);
}

.place-tooltip-wrap {
  position: absolute;
  left: 50%;
  bottom: 54px;
  transform: translateX(-50%) translateY(10px);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition: opacity 160ms ease, transform 160ms ease;
  z-index: 10;
}

.leaflet-marker-icon:hover .place-tooltip-wrap {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.place-tooltip-card {
  position: relative;
  width: max-content;
  max-width: 280px;

  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(43, 46, 36, .12);
  border-radius: 16px;
  padding: 10px 12px;

  text-align: left;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .18);

  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.place-tooltip-card::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%);
  border-width: 8px 8px 0 8px;
  border-style: solid;
  border-color: rgba(255, 255, 255, .96) transparent transparent transparent;
  filter: drop-shadow(0 4px 3px rgba(0, 0, 0, .12));
}

.place-title {
  font-weight: 800;
  font-size: 13px;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 6px;
  max-width: 260px;
  white-space: normal;
  word-break: break-word;
}

.place-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.place-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  padding: 2px 8px;
  border-radius: 999px;

  background: rgba(43, 46, 36, .06);
  border: 1px solid rgba(43, 46, 36, .10);

  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

.place-sub {
  margin-top: 6px;
  font-size: 11px;
  color: rgba(43, 46, 36, .55);
}

.place-sub--muted {
  font-style: italic;
}

.leaflet-control-zoom {
  border: 0 !important;
  border-radius: 14px !important;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .18);
}

.leaflet-control-zoom a {
  width: 38px !important;
  height: 38px !important;
  line-height: 38px !important;
  border: 0 !important;
  background: rgba(255, 255, 255, .92) !important;
  color: var(--text) !important;
}

.leaflet-control-zoom a:hover {
  background: rgba(255, 255, 255, 1) !important;
}

.leaflet-control-attribution {
  background: rgba(255, 255, 255, .75) !important;
  border-radius: 10px;
  padding: 4px 8px !important;
}


/* =========================================================
   14) WEATHER WIDGET (hover expand)
========================================================= */
.weather-widget {
  --w: clamp(240px, 38vw, 320px);
  --h-collapsed: 130px;
  --h-expanded: 330px;
  --shift: 55px;
  --status-h: 44px;

  position: relative;
  width: min(var(--w), 100%);
  height: var(--h-collapsed);
  margin: 0 auto;

  border-radius: 35px;
  overflow: hidden;
  isolation: isolate;

  font-size: 16px;
  line-height: 1.2;
  outline: none;
  transition: height .4s ease-in-out;
}

.weather-widget:hover,
.weather-widget:focus,
.weather-widget:focus-within {
  height: var(--h-expanded);
}

.weather-widget .ww-back {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--bg);
  border-radius: 35px;

  display: flex;
  flex-direction: column;
  padding: 14px 16px calc(var(--status-h) + 12px) 16px;

  box-shadow: var(--shadow-lg);
  transition: border-radius .4s ease-in-out;
}

.weather-widget:hover .ww-back,
.weather-widget:focus .ww-back,
.weather-widget:focus-within .ww-back {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.weather-widget .ww-upper,
.weather-widget .ww-lower {
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}

.weather-widget:hover .ww-upper,
.weather-widget:hover .ww-lower,
.weather-widget:focus .ww-upper,
.weather-widget:focus .ww-lower,
.weather-widget:focus-within .ww-upper,
.weather-widget:focus-within .ww-lower {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.weather-widget .ww-upper {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 2px;
}

.weather-widget .ww-metric {
  display: flex;
  align-items: center;
  gap: 8px;
}

.weather-widget .ww-metric-col {
  flex-direction: column;
  gap: 6px;
}

.weather-widget .ww-lower {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  text-align: center;
}

.weather-widget .ww-metric-text {
  font-size: 11px;
  line-height: 1.15;
  color: rgba(0, 0, 0, .75);
}

.weather-widget .ww-status {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--status-h);
  display: flex;
  align-items: center;
  justify-content: center;

  background: var(--accent);
  color: var(--bg);
  border-radius: 0 0 35px 35px;

  z-index: 2;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease;
}

.weather-widget:hover .ww-status,
.weather-widget:focus .ww-status,
.weather-widget:focus-within .ww-status {
  opacity: 1;
  transform: translateY(0);
}

.weather-widget .ww-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: var(--h-collapsed);
  border-radius: 25px;

  background: var(--brand);
  color: var(--text);
  z-index: 3;

  display: grid;
  grid-template-columns: 88px 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 14px;
  padding: 16px;

  box-shadow: 0 10px 30px rgba(0, 0, 0, .10);
  transition: transform .4s ease-in-out, background-color .4s ease-in-out;
}

.weather-widget:hover .ww-top,
.weather-widget:focus .ww-top,
.weather-widget:focus-within .ww-top {
  background-color: var(--brand);
  transform: translateY(var(--shift));
}

.weather-widget .ww-icon {
  grid-row: 1 / span 2;
  width: 76px !important;
  height: 76px !important;
}

.weather-widget .ww-temp {
  grid-column: 2;
  grid-row: 1;
  font-size: 40px;
  line-height: 1;
  font-weight: 600;
}

.weather-widget .ww-location {
  grid-column: 2;
  grid-row: 2;
  font-size: 12px;
  opacity: .9;
}

.weather-widget svg {
  fill: none;
  stroke: var(--text);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.weather-widget .ww-metric-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  opacity: .9;
}


/* =========================================================
   15) FOOTER + SHARE BUTTONS
========================================================= */
.footerCol {
  padding: 2rem 1rem 1rem;
  background-color: var(--footer-bg);
  color: var(--footer-text);
  text-align: center;

  margin-top: auto;
  flex-shrink: 0;
}

.socialCol {
  display: flex;
  justify-content: center;
}

.share {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1em;
  width: 100%;
  margin: 0 0 1rem;
}

.share-btn {
  --brand: #000;
  position: relative;
  width: 3em;
  height: 3em;
  border: 0;
  border-radius: 999px;
  background: #fff;

  display: grid;
  place-items: center;

  text-decoration: none;
  transition: background-color .25s ease-in-out;
}

.share-btn:hover,
.share-btn:focus-visible {
  background: var(--brand);
}

.share-btn:focus-visible {
  outline: 3px solid rgba(245, 246, 244, .65);
  outline-offset: 4px;
}

.share-btn .icon-img {
  width: 1.65em;
  height: 1.65em;
  object-fit: contain;
  display: block;
  filter: none;
}

.share-btn .tooltip {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 14px);
  transform: translateX(-50%) translateY(8px);

  width: max-content;
  max-width: 14rem;
  padding: .8rem 1rem;

  border-radius: 12px;
  background: whitesmoke;
  color: #000;
  text-align: center;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .6rem;

  visibility: hidden;
  opacity: 0;
  pointer-events: none;

  transition: .12s ease-in-out;
  z-index: 9999;
}

.share-btn:hover .tooltip,
.share-btn:focus-visible .tooltip {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.share-btn .tooltip::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%);

  border-width: 8px 8px 0 8px;
  border-style: solid;
  border-color: whitesmoke transparent transparent transparent;
}

.share-btn .tooltip-card {
  width: 4.2rem;
  height: 4.2rem;
  background: #fff;
  border-radius: 0;
  overflow: hidden;

  display: grid;
  place-items: center;
}

.share-btn .avatar-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
  display: block;
}

.share-btn .username {
  display: block;
  margin-top: 0;
  font-weight: 700;
  font-size: .8em;
  line-height: 1.2;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 12rem;
}

.copyrightCol {
  color: rgba(245, 246, 244, .85);
}

.copyrightCol a {
  color: var(--footer-text)
}


/* =========================================================
   16) COOKIE CONSENT BAR + MODAL
========================================================= */
.cookie-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99999;

  background: rgba(245, 246, 244, .98);
  border-top: 1px solid rgba(43, 46, 36, .18);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, .10);

  padding: .9rem 0;
}

.cookie-bar__inner {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;

  flex-wrap: wrap;
}

.cookie-bar__content {
  min-width: 0;
  flex: 1 1 320px;
}

.cookie-bar__title {
  font-weight: 800;
  color: var(--text);
  margin-bottom: .25rem;
}

.cookie-bar__text {
  color: var(--text-muted);
  font-size: .95rem;
  line-height: 1.35;
}

.cookie-bar__link {
  color: var(--link);
  font-weight: 700;
  text-decoration: none;
}

.cookie-bar__link:hover {
  color: var(--link-hover)
}

.cookie-bar__actions {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex: 0 1 auto;
  flex-wrap: wrap;
  white-space: normal;
  justify-content: flex-start;
}

.cookie-bar__btn {
  padding: .75rem 1.25rem !important;
  font-size: 1rem !important;
  border-radius: 999px !important;
}

body.cookie-banner-visible {
  padding-bottom: 120px;
}

.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .45);
  z-index: 99998;
}

.cookie-modal {
  position: fixed;
  left: clamp(.75rem, 2vw, 1rem);
  right: clamp(.75rem, 2vw, 1rem);
  bottom: calc(clamp(.75rem, 2vw, 1rem) + 100px);
  width: auto;
  max-width: 560px;

  background: #fff;
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .18);
  border: 1px solid rgba(43, 46, 36, .14);

  z-index: 99999;
  padding: 1rem;
  color: var(--text);
}

.cookie-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-modal__title {
  font-weight: 900;
}

.cookie-modal__subtitle {
  margin-top: .25rem;
  font-size: .95rem;
  color: var(--text-muted);
}

.cookie-modal__close {
  border: 0;
  background: transparent;
  font-size: 1.1rem;
  cursor: pointer;
  line-height: 1;
  padding: .25rem .5rem;
}

.cookie-modal__body {
  margin-top: 1rem;
  display: grid;
  gap: .75rem;
}

.cookie-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;

  padding: .85rem;
  border: 1px solid rgba(43, 46, 36, .12);
  border-radius: 14px;
  background: rgba(245, 246, 244, .7);
}

.cookie-row__name {
  font-weight: 800;
  color: var(--text);
}

.cookie-row__desc {
  margin-top: .15rem;
  font-size: .95rem;
  color: var(--text-muted);
}

.cookie-modal__actions {
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  flex-wrap: wrap;
}

.cookie-modal__actionsRight {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}

.switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 26px;
  flex: 0 0 auto;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: rgba(43, 46, 36, .18);
  border-radius: 999px;
  transition: .2s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 3px;
  top: 3px;
  background-color: #fff;
  border-radius: 999px;
  transition: .2s;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
}

.switch input:checked+.slider {
  background-color: var(--brand);
}

.switch input:checked+.slider:before {
  transform: translateX(20px);
}


/* =========================================================
   17) PRIVACY POLICY
========================================================= */
.privacy-policy {
  max-width: 900px;
}

.privacy-policy .policy-title {
  font-family: var(--title-font);
  font-weight: var(--fw-black);
  margin: 0 0 .75rem;
}

.privacy-policy .policy-content p {
  margin: 0 0 .6rem;
  line-height: 1.6;
}

.privacy-policy .policy-content h2 {
  font-family: var(--title-font);
  color: var(--heading);
  font-weight: var(--fw-bold);
  margin: 1.1rem 0 .45rem;
  line-height: 1.25;
}

.privacy-policy .policy-content h2+p {
  margin-top: 0;
}

.privacy-policy .policy-content p+h2 {
  margin-top: 1.25rem;
}

.privacy-policy .policy-content ul {
  list-style: disc;
  margin: 0 0 .8rem;
  padding-left: 1.25rem;
}

.privacy-policy .policy-content li {
  margin: 0 0 .3rem;
}


/* =========================================================
   18) WEEKLY WEATHER CARD (SCOPED) — base styles
   Used by initWeeklyWeatherWidget() in JS
========================================================= */
.week-weather-card,
.week-weather-card * {
  box-sizing: border-box;
}

.week-weather-card {
  --ww-brand: var(--brand, #566C24);
  --ww-accent: var(--accent, #24566C);
  --ww-bg: var(--bg, #F5F6F4);
  --ww-surface: var(--surface, #EBEDE9);
  --ww-text: var(--text, #2B2E24);
  --ww-muted: var(--text-muted, rgba(43, 46, 36, .65));

  width: clamp(250px, 20vw, 340px);
  height: 390px;
  border-radius: 22px;
  overflow: hidden;

  position: relative;
  display: flex;
  flex-direction: column;

  background: rgba(245, 246, 244, .86);
  border: 1px solid rgba(43, 46, 36, .14);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .18);

  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);

  font-family: var(--base-font, Arial, sans-serif);
}

/* Landscape */
.week-weather-card .ww-landscape {
  position: relative;
  width: 100%;
  flex: 0 0 150px;
  height: 150px;
  overflow: hidden;
  border-bottom: 1px solid rgba(43, 46, 36, .10);
}

.week-weather-card .ww-landscape * {
  position: absolute;
}

.week-weather-card .ww-sky {
  inset: 0;
  background: linear-gradient(180deg,
      rgba(86, 108, 36, .95) 0%,
      rgba(86, 108, 36, .70) 40%,
      rgba(235, 237, 233, 1) 100%);
}

.week-weather-card .ww-sun {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(245, 246, 244, .98);
  left: 18%;
  top: 26%;
  filter: drop-shadow(0 0 14px rgba(245, 246, 244, .65));
}

.week-weather-card .ww-sun::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: rgba(245, 246, 244, .30);
}

.week-weather-card .ww-ocean {
  left: 0;
  right: 0;
  bottom: 0;
  height: 32%;
  background: linear-gradient(180deg,
      rgba(235, 237, 233, 1) 0%,
      rgba(245, 246, 244, 1) 100%);
}

.week-weather-card .ww-reflection {
  background: rgba(86, 108, 36, .18);
  border-radius: 999px;
  z-index: 1;
}

.week-weather-card .ww-ocean .ww-reflection:nth-child(1) {
  width: 48px;
  height: 6px;
  top: 18%;
  left: 34%;
}

.week-weather-card .ww-ocean .ww-reflection:nth-child(2) {
  width: 88px;
  height: 7px;
  top: 32%;
  left: 42%;
}

.week-weather-card .ww-ocean .ww-reflection:nth-child(3) {
  width: 70px;
  height: 6px;
  top: 54%;
  right: 16%;
}

.week-weather-card .ww-ocean .ww-reflection:nth-child(4) {
  width: 86px;
  height: 6px;
  top: 68%;
  right: 28%;
}

.week-weather-card .ww-ocean .ww-reflection:nth-child(5) {
  width: 72px;
  height: 6px;
  top: 78%;
  right: 10%;
}

.week-weather-card .ww-hill-1 {
  right: -30%;
  bottom: 24%;
  width: 190px;
  height: 52px;
  border-radius: 50%;
  background: rgba(43, 46, 36, .18);
}

.week-weather-card .ww-hill-2 {
  right: -42%;
  bottom: 14%;
  width: 210px;
  height: 92px;
  border-radius: 50%;
  background: rgba(43, 46, 36, .26);
}

.week-weather-card .ww-hill-3 {
  left: -120%;
  bottom: -34%;
  width: 380px;
  height: 170px;
  border-radius: 50%;
  background: rgba(43, 46, 36, .28);
  z-index: 3;
}

.week-weather-card .ww-hill-4 {
  right: -120%;
  bottom: -46%;
  width: 380px;
  height: 170px;
  border-radius: 50%;
  background: rgba(43, 46, 36, .22);
  z-index: 3;
}

.week-weather-card .ww-filter {
  inset: 0;
  background: linear-gradient(180deg,
      rgba(0, 0, 0, .06) 0%,
      rgba(0, 0, 0, 0) 45%,
      rgba(0, 0, 0, .08) 100%);
  z-index: 6;
  opacity: .55;
}

/* decorative trees off */
.week-weather-card .ww-tree-1,
.week-weather-card .ww-tree-2,
.week-weather-card .ww-tree-3 {
  display: none;
}

/* Content */
.week-weather-card .ww-content {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

/* Header bar */
.week-weather-card .ww-weather-info {
  width: 100%;
  padding: 12px 14px 10px;
  color: rgba(245, 246, 244, .96);

  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;

  background: linear-gradient(135deg,
      rgba(86, 108, 36, .96) 0%,
      rgba(86, 108, 36, .82) 55%,
      rgba(36, 86, 108, .55) 100%);
}

.week-weather-card .ww-left-side {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.week-weather-card .ww-left-side p {
  margin: 0;
  font-weight: 800;
  font-size: clamp(.92rem, .55vw + .85rem, 1.05rem);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.week-weather-card .ww-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.week-weather-card .ww-icon svg {
  width: 34px;
  height: 34px;
  display: block;
  color: rgba(245, 246, 244, .96);
}

.week-weather-card .ww-right-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.week-weather-card .ww-location {
  display: flex;
  align-items: center;
  gap: 6px;
}

.week-weather-card .ww-location svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  opacity: .95;
}

.week-weather-card .ww-location span {
  font-weight: 900;
  letter-spacing: .04em;
  font-size: .78rem;
  max-width: 18ch;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.week-weather-card #wwDate {
  margin: 0;
  font-size: .76rem;
  opacity: .92;
}

.week-weather-card .ww-temperature {
  margin: 0;
  font-weight: 900;
  line-height: 1;
  font-size: clamp(1.25rem, 1.2vw + 1.05rem, 1.75rem);
}

/* Forecast list */
.week-weather-card .ww-forecast {
  flex: 1 1 auto;
  min-height: 0;

  padding: 10px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;

  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;

  background: rgba(245, 246, 244, .72);
}

.week-weather-card .ww-row {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 22px auto;
  align-items: center;
  column-gap: 10px;

  padding: 8px 10px;
  border-radius: 14px;

  background: rgba(235, 237, 233, .85);
  border: 1px solid rgba(43, 46, 36, .10);
}

.week-weather-card .ww-row--today {
  border-color: rgba(86, 108, 36, .35);
  box-shadow: 0 10px 20px rgba(0, 0, 0, .08);
}

.week-weather-card .ww-day {
  margin: 0;
  font-weight: 900;
  color: var(--text);
  font-size: .88rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.week-weather-card .ww-miniIcon {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  color: rgba(86, 108, 36, .95);
}

.week-weather-card .ww-miniIcon svg {
  width: 22px;
  height: 22px;
  display: block;
  color: rgba(86, 108, 36, .95);
}

.week-weather-card .ww-temps {
  margin: 0;
  font-weight: 900;
  color: rgba(43, 46, 36, .86);
  font-size: .88rem;
  white-space: nowrap;
}


/* =========================================================
   19) HERO WEEKLY WEATHER — TEMP-ONLY PILL + EXPAND ON HOVER
   - Always: show only current temperature
   - Hover/focus: show week temps list
========================================================= */

/* Container stays top-right and shrink-to-fit */
.bannerSection .hero-hud__weather {
  width: fit-content !important;
  max-width: calc(100% - 1rem) !important;
  z-index: 2600 !important;
}

/* DEFAULT: TEMP-ONLY PILL */
.bannerSection .hero-hud__weather #weeklyWeatherWidget {
  display: flex !important;
  flex-direction: column !important;

  width: auto !important;
  height: auto !important;
  max-height: none !important;

  border-radius: 999px !important;
  overflow: hidden !important;

  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Hide everything except the header (we use it as the pill) */
.bannerSection .hero-hud__weather #weeklyWeatherWidget .ww-landscape,
.bannerSection .hero-hud__weather #weeklyWeatherWidget .ww-forecast {
  display: none !important;
}

/* Pill header */
.bannerSection .hero-hud__weather #weeklyWeatherWidget .ww-weather-info {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  padding: 8px 14px !important;
  border-radius: 999px !important;

  background: linear-gradient(135deg,
      rgba(86, 108, 36, .96) 0%,
      rgba(86, 108, 36, .82) 60%,
      rgba(36, 86, 108, .45) 100%) !important;

  border: 2px solid rgba(245, 246, 244, .55) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .14) !important;
}

/* Hide left/location/date so only temp remains */
.bannerSection .hero-hud__weather #weeklyWeatherWidget .ww-left-side,
.bannerSection .hero-hud__weather #weeklyWeatherWidget .ww-location,
.bannerSection .hero-hud__weather #weeklyWeatherWidget #wwDate {
  display: none !important;
}

/* Temperature always visible */
.bannerSection .hero-hud__weather #weeklyWeatherWidget .ww-temperature {
  display: block !important;
  margin: 0 !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  white-space: nowrap !important;

  color: rgba(245, 246, 244, .96) !important;
  font-size: clamp(1.05rem, 1.1vw, 1.45rem) !important;
}

/* EXPANDED on hover/focus-within: show week temps list */
.bannerSection .hero-hud__weather:hover #weeklyWeatherWidget,
.bannerSection .hero-hud__weather:focus-within #weeklyWeatherWidget {
  width: clamp(220px, 18vw, 280px) !important;
  height: min(280px, calc(100svh - var(--header-height) - 1rem)) !important;

  border-radius: 18px !important;
  overflow: hidden !important;

  background: rgba(245, 246, 244, .86) !important;
  border: 1px solid rgba(43, 46, 36, .14) !important;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .18) !important;

  -webkit-backdrop-filter: blur(10px) !important;
  backdrop-filter: blur(10px) !important;
}

/* Turn header into top bar inside expanded card */
.bannerSection .hero-hud__weather:hover #weeklyWeatherWidget .ww-weather-info,
.bannerSection .hero-hud__weather:focus-within #weeklyWeatherWidget .ww-weather-info {
  border-radius: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Show forecast list */
.bannerSection .hero-hud__weather:hover #weeklyWeatherWidget .ww-forecast,
.bannerSection .hero-hud__weather:focus-within #weeklyWeatherWidget .ww-forecast {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;

  padding: 10px 12px 12px !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  min-height: 0 !important;

  background: rgba(245, 246, 244, .72) !important;
}

/* Ensure scrolling works */
.bannerSection .hero-hud__weather:hover #weeklyWeatherWidget .ww-content,
.bannerSection .hero-hud__weather:focus-within #weeklyWeatherWidget .ww-content {
  display: flex !important;
  flex-direction: column !important;
  min-height: 0 !important;
}

/* Rows: Day | Temps (no icon column) */
.bannerSection .hero-hud__weather:hover #weeklyWeatherWidget .ww-miniIcon,
.bannerSection .hero-hud__weather:focus-within #weeklyWeatherWidget .ww-miniIcon {
  display: none !important;
}

.bannerSection .hero-hud__weather:hover #weeklyWeatherWidget .ww-row,
.bannerSection .hero-hud__weather:focus-within #weeklyWeatherWidget .ww-row {
  grid-template-columns: minmax(0, 1fr) auto !important;
  padding: 8px 10px !important;
}


/* =========================================================
   20) ACTIVITIES — CLICKABLE CARDS + PHOTO STACK (BIGGER + CLIPPED)
========================================================= */
.activities-feature {
  display: flex;
  flex-direction: column;
  gap: clamp(2.25rem, 4vw, 3.75rem);
  width: 100%;
}

/* FULL clickable card */
.activity-row__link {
  display: block;
  width: 100%;

  max-width: 1600px;
  margin: 0 auto;

  background: var(--section-bg);
  border: var(--border-soft-2);
  border-radius: 26px;

  padding: clamp(1.25rem, 2.8vw, 2.25rem);

  box-shadow: var(--shadow-md);

  text-decoration: none;
  color: inherit;

  transition: transform .25s cubic-bezier(.23, 1, .32, 1),
    box-shadow .25s cubic-bezier(.23, 1, .32, 1);

  /* clip overflow to the rounded card */
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

/* Prefer overflow:clip when supported */
@supports (overflow: clip) {
  .activity-row__link {
    overflow: clip;
  }
}

.activity-row__link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.activity-row__link:focus-visible {
  outline: 3px solid rgba(36, 86, 108, .35);
  outline-offset: 4px;
}

/* Inner row layout */
.activity-row {
  width: 100%;
  max-width: none;
  margin: 0;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: clamp(1.5rem, 4vw, 3.5rem);
}

.activity-row--reverse {
  flex-direction: row-reverse;
}

/* Media column */
.activity-row__media {
  display: block !important;

  flex: 0 0 60%;
  max-width: 780px;
  min-width: 260px;

  /* padding so the stack has room inside the card */
  padding: clamp(.35rem, .8vw, .9rem);
  box-sizing: border-box;
}

/* Text column */
.activity-row__content {
  display: block;

  flex: 1 1 40%;
  min-width: 260px;
  max-width: 640px;
}

.activity-row__title {
  margin: 0 0 .75rem 0;
  font-family: var(--title-font);
  font-weight: 900;
  line-height: 1.15;
  font-size: clamp(1.55rem, 1.3vw + 1.15rem, 2.3rem);
  color: var(--text);
}

.activity-row__desc {
  margin: 0 0 1.25rem 0;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 70ch;
}

/* Button anim on card hover */
.activity-row__link:hover .btn::before {
  transform: scaleX(1);
}

.activity-row__link:hover .btn {
  transform: scale(1.03);
  box-shadow: 0 0 20px rgba(0, 0, 0, .15);
}

/* Photo stack (clipped + sized to fit) */
.activity-photoStack {
  display: block !important;
  position: relative;
  width: 100%;

  max-width: 720px;
  /* reduced to fit */
  height: clamp(300px, 26vw, 480px);

  margin: 0;
}

.activity-photoStack__frame {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  border: 4px solid rgba(43, 46, 36, .85);
  box-shadow: var(--shadow-md);
  transform-origin: center;
  transition: transform .2s ease, box-shadow .2s ease;
}

.activity-photoStack__frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Layering */
.activity-photoStack__frame--1 {
  z-index: 3;
  transform: rotate(0deg);
}

.activity-photoStack__frame--2 {
  z-index: 2;
  transform: translate(-2.5%, -2.5%) rotate(-3.5deg);
}

.activity-photoStack__frame--3 {
  z-index: 1;
  transform: translate(2.5%, 2.5%) rotate(3.5deg);
}

/* Hover fan-out (reduced so it stays inside) */
.activity-row__link:hover .activity-photoStack__frame--2 {
  transform: translate(-3.5%, -3.5%) rotate(-5deg);
}

.activity-row__link:hover .activity-photoStack__frame--3 {
  transform: translate(3.5%, 3.5%) rotate(5deg);
}

.activity-row__link:hover .activity-photoStack__frame--1 {
  box-shadow: var(--shadow-lg);
}

/* Placeholder */
.activity-photoStack__placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: rgba(43, 46, 36, .55);
  letter-spacing: .02em;
  background: rgba(0, 0, 0, .04);
}

/* Mobile */
@media (max-width: 900px) {

  .activity-row,
  .activity-row--reverse {
    flex-direction: column;
    align-items: stretch;
  }

  .activity-row__media,
  .activity-row__content {
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
  }

  .activity-photoStack {
    max-width: none;
    height: clamp(260px, 70vw, 520px);
    margin: 0 auto;
  }
}


/* =========================================================
   21) DETAIL HERO (APARTMENT + RETRAITE)
   - Banner sits ABOVE hero (no overlap)
   - ALWAYS show full image (contain)
   - Fix Bootstrap carousel slide stacking
========================================================= */

/* Banner should NOT overlap hero on detail pages */
.detail-page .page-banner {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  z-index: 1 !important;

  background: var(--section-bg) !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;

  border-bottom: var(--border-soft-2) !important;
}

/* Full-bleed hero */
.detail-hero {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  position: relative;
}

/* Ensure carousel fills the hero height */
.detail-hero .carousel,
.detail-hero .carousel-inner,
.detail-hero .carousel-item {
  height: var(--detail-hero-h);
}

/* Clip carousel so neighbors never peek */
.detail-hero .carousel-inner {
  border-radius: 0 !important;
  overflow: hidden !important;
}

/* CRITICAL: do NOT force display:flex for ALL slides (breaks Bootstrap) */
.detail-hero .carousel-item {
  display: none !important;
  height: var(--detail-hero-h) !important;
  background: rgba(0, 0, 0, .14) !important;
}

/* Show only active + transition slides */
.detail-hero .carousel-item.active,
.detail-hero .carousel-item-next,
.detail-hero .carousel-item-prev,
.detail-hero .carousel-item.carousel-item-start,
.detail-hero .carousel-item.carousel-item-end {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* IMPORTANT: show FULL image (no cut-off) */
.detail-hero-img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;

  object-fit: contain !important;
  object-position: 50% 50% !important;

  /* Letterbox background */
  background: rgba(0, 0, 0, .14);
}

/* Hero controls styled like modal controls */
.detail-hero .carousel-control-prev,
.detail-hero .carousel-control-next {
  width: 14%;
  opacity: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.detail-hero .carousel-control-prev-icon,
.detail-hero .carousel-control-next-icon {
  width: 3rem;
  height: 3rem;

  border-radius: 999px;
  background-size: 58% 58%;

  background-color: rgba(0, 0, 0, .55);
  box-shadow: 0 10px 25px rgba(0, 0, 0, .25);
}

/* Indicators */
.detail-hero .carousel-indicators {
  z-index: 6;
  margin-bottom: 14px;
}

.detail-hero .carousel-indicators [data-bs-target] {
  width: 34px;
  height: 3px;
  border-radius: 999px;
}

/* Make content snug under hero */
.retraite-section.sectionSpace,
.apartment-section.sectionSpace {
  margin-top: 0 !important;
}

/* Mobile tuning */
@media (max-width: 576px),
(max-height: 576px) {

  .detail-hero .carousel-control-prev,
  .detail-hero .carousel-control-next {
    width: 18%;
  }

  .detail-hero .carousel-control-prev-icon,
  .detail-hero .carousel-control-next-icon {
    width: 2.6rem;
    height: 2.6rem;
  }
}

/* Hero image as a real modal trigger button (matches thumbnails) */
.detail-hero-btn {
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  display: block;
  cursor: pointer;
}

.detail-hero-btn:focus-visible {
  outline: 3px solid rgba(36, 86, 108, .45);
  outline-offset: 4px;
}


/* =========================================================
   22) RETRAITE INSTRUCTOR CARD (IMPROVED)
========================================================= */
.retraite-section,
.retraite-section .container,
.retraite-section .row {
  overflow: visible;
}

@media (min-width: 992px) {
  .retraite-instructor-sticky {
    position: sticky;
    top: calc(var(--header-height, 64px) + 14px);
  }
}

.contact-card {
  --cc-header-h: 210px;
  --cc-avatar: 84px;
  --cc-header-focus-x: 50%;
  --cc-header-focus-y: 22%;

  position: relative;
  width: 100%;
  border-radius: 22px;
  overflow: hidden;

  background: rgba(245, 246, 244, .92);
  border: 1px solid rgba(43, 46, 36, .14);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .14);
}

.contact-card__header {
  position: relative;
  height: var(--cc-header-h);
  background: rgba(0, 0, 0, .06);
}

.contact-card__header-img {
  width: 100%;
  height: 100%;
  display: block;

  object-fit: cover;
  object-position: var(--cc-header-focus-x) var(--cc-header-focus-y) !important;
}

.contact-card__header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, .12) 0%,
      rgba(0, 0, 0, .04) 45%,
      rgba(0, 0, 0, .22) 100%);
  pointer-events: none;
}

.contact-card__mail {
  position: absolute;
  top: 14px;
  right: 14px;

  width: 44px;
  height: 44px;
  border-radius: 999px;

  display: grid;
  place-items: center;

  background: rgba(245, 246, 244, .92);
  border: 1px solid rgba(43, 46, 36, .14);
  box-shadow: 0 10px 22px rgba(0, 0, 0, .18);
  color: var(--text);
}

.contact-card__avatar-wrap {
  position: absolute;
  left: 18px;
  top: calc(var(--cc-header-h) - (var(--cc-avatar) / 2));

  width: var(--cc-avatar);
  height: var(--cc-avatar);

  border-radius: 999px;
  padding: 4px;

  background: rgba(245, 246, 244, .98);
  border: 1px solid rgba(43, 46, 36, .12);
  box-shadow: 0 16px 35px rgba(0, 0, 0, .18);
}

.contact-card__avatar {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  display: block;
}

.contact-card__top {
  padding: calc((var(--cc-avatar) / 2) + 18px) 18px 14px 18px;
}

.contact-card__name {
  font-weight: 900;
  font-size: 1.15rem;
  margin: 0 0 4px 0;
  color: var(--text);
}

.contact-card__role {
  font-weight: 800;
  color: var(--text-muted);
  margin: 0 0 10px 0;
}

.contact-card__bio {
  margin: 0;
  color: rgba(43, 46, 36, .78);
  line-height: 1.45;
}

.contact-card__panel {
  border-top: 1px solid rgba(43, 46, 36, .12);
  background: rgba(235, 237, 233, .60);
}

.contact-card__panel-inner {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-card__row {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 10px;
  align-items: center;

  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(245, 246, 244, .85);
  border: 1px solid rgba(43, 46, 36, .10);
}

.contact-card__label {
  font-weight: 900;
  font-size: .95rem;
  color: rgba(43, 46, 36, .65);
}

.contact-card__value {
  font-weight: 900;
  color: var(--link);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.contact-card__actions .btn {
  flex: 1 1 160px;
}

.contact-card__social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.contact-card__social .social-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 42px;
  height: 42px;
  border-radius: 999px;

  background: rgba(245, 246, 244, .92);
  border: 1px solid rgba(43, 46, 36, .12);

  font-weight: 900;
  color: var(--text);
  text-decoration: none;

  box-shadow: 0 8px 18px rgba(0, 0, 0, .08);
}

@media (max-width: 575px) {
  .contact-card {
    --cc-header-h: 170px;
    --cc-avatar: 74px;
  }

  .contact-card__row {
    grid-template-columns: 80px minmax(0, 1fr);
  }
}


/* =========================================================
   23) MODALS (PHOTOS + PLAN) — CONSOLIDATED (NO ZOOM)
   - Fullscreen stage
   - No overlapping slides
   - Smaller fixed close button
   - Plan modal matches photo modal (same stage)
========================================================= */

/* Ensure Bootstrap modal is above fixed header/cookie */
.modal {
  z-index: var(--modal-z) !important;
}

.modal-backdrop {
  z-index: var(--modal-backdrop-z) !important;
}

/* Prevent page scroll behind modals */
body.modal-open {
  overflow: hidden !important;
}

/* Prevent scroll chaining to document */
.modal.modal-media,
.modal.modal-media * {
  overscroll-behavior: contain;
}

/* Fullscreen media modal (photos + plan) */
.modal.modal-media .modal-dialog {
  margin: 0 !important;
  width: 100vw !important;
  max-width: 100vw !important;
  height: 100dvh !important;
}

.modal.modal-media .modal-content {
  height: 100dvh !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: rgba(0, 0, 0, .88) !important;
}

/* Optional: light variant for plan modal-content */
.modal.modal-media .modal-content.modal-content--light {
  background: rgba(245, 246, 244, .98) !important;
}

.modal.modal-media .modal-body {
  height: 100% !important;
  padding: 0 !important;
}

/* Close button (your .modal-fab-close) */
.modal.modal-media .modal-fab-close {
  position: fixed !important;
  top: calc(env(safe-area-inset-top) + 12px) !important;
  right: calc(env(safe-area-inset-right) + 12px) !important;

  width: var(--modal-close-size) !important;
  height: var(--modal-close-size) !important;
  min-width: var(--modal-close-size) !important;
  min-height: var(--modal-close-size) !important;

  border-radius: 999px !important;
  background: rgba(245, 246, 244, .92) !important;
  border: 1px solid rgba(43, 46, 36, .20) !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .28) !important;

  z-index: var(--modal-close-z) !important;
  cursor: pointer !important;

  padding: 0 !important;
  margin: 0 !important;

  appearance: none;
  -webkit-appearance: none;
}

.modal.modal-media .modal-fab-close::before,
.modal.modal-media .modal-fab-close::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--modal-close-line) !important;
  height: 2px !important;
  background: rgba(0, 0, 0, .85);
  border-radius: 999px;
  transform-origin: center;
}

.modal.modal-media .modal-fab-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.modal.modal-media .modal-fab-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.modal.modal-media .modal-fab-close:focus-visible {
  outline: 3px solid rgba(36, 86, 108, .45);
  outline-offset: 3px;
}

/* If Bootstrap .btn-close is used anywhere */
.modal.modal-media .btn-close,
.modal.modal-media .btn-close.modal-close {
  position: fixed !important;
  top: calc(env(safe-area-inset-top) + 12px) !important;
  right: calc(env(safe-area-inset-right) + 12px) !important;

  width: var(--modal-close-size) !important;
  height: var(--modal-close-size) !important;

  opacity: 1 !important;
  z-index: var(--modal-close-z) !important;

  border-radius: 999px !important;
  background-color: rgba(245, 246, 244, .92) !important;
  border: 1px solid rgba(43, 46, 36, .20) !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .28) !important;

  padding: 0 !important;
  margin: 0 !important;
  transform: none !important;

  background-size: 14px 14px !important;
}

/* Stage centers media and guarantees full-size layout */
.modal.modal-media .modal-media-stage {
  width: 100% !important;
  height: 100% !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  padding:
    calc(env(safe-area-inset-top) + var(--modal-stage-pad-top)) calc(env(safe-area-inset-right) + var(--modal-stage-pad)) calc(env(safe-area-inset-bottom) + var(--modal-stage-pad)) calc(env(safe-area-inset-left) + var(--modal-stage-pad)) !important;

  overflow: hidden !important;
  -webkit-overflow-scrolling: touch;
}

/* Carousel fills the stage */
.modal.modal-media .modal-media-carousel,
.modal.modal-media .modal-media-carousel .carousel-inner {
  width: 100% !important;
  height: 100% !important;
}

.modal.modal-media .modal-media-carousel .carousel-inner {
  border-radius: 18px !important;
  overflow: hidden !important;
  background: rgba(0, 0, 0, .55) !important;
}

/* CRITICAL: prevent all slides being visible at once */
.modal.modal-media .modal-media-carousel .carousel-item {
  height: 100% !important;
  display: none !important;
}

.modal.modal-media .modal-media-carousel .carousel-item.active,
.modal.modal-media .modal-media-carousel .carousel-item-next,
.modal.modal-media .modal-media-carousel .carousel-item-prev,
.modal.modal-media .modal-media-carousel .carousel-item.carousel-item-start,
.modal.modal-media .modal-media-carousel .carousel-item.carousel-item-end {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Media sizing (PHOTOS + PLAN) */
.modal.modal-media .modal-media-img,
.modal.modal-media .modal-img,
.modal.modal-media .retraite-modal-img,
.modal.modal-media .plan-modal-img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;

  object-fit: contain !important;
  object-position: 50% 50% !important;

  background: transparent !important;

  cursor: default !important;
  user-select: none;
  -webkit-user-drag: none;
}

/* Controls (photos) */
.modal.modal-media .carousel-control-prev,
.modal.modal-media .carousel-control-next {
  width: 14% !important;
  opacity: 1 !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal.modal-media .carousel-control-prev-icon,
.modal.modal-media .carousel-control-next-icon {
  width: 3rem !important;
  height: 3rem !important;

  border-radius: 999px !important;
  background-size: 58% 58% !important;

  background-color: rgba(0, 0, 0, .55) !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .25) !important;
}

/* PLAN is single image: hide carousel UI if present */
.modal.modal-media.is-single .carousel-control-prev,
.modal.modal-media.is-single .carousel-control-next,
.modal.modal-media.is-single .carousel-indicators {
  display: none !important;
}

/* Modern browsers: auto-detect plan image and hide controls */
@supports selector(:has(*)) {

  .modal.modal-media:has(.plan-modal-img) .carousel-control-prev,
  .modal.modal-media:has(.plan-modal-img) .carousel-control-next,
  .modal.modal-media:has(.plan-modal-img) .carousel-indicators {
    display: none !important;
  }
}

/* Mobile tweaks */
@media (max-width: 576px),
(max-height: 576px) {
  :root {
    --modal-close-size: 30px;
    --modal-close-line: 11px;
    --modal-stage-pad-top: 52px;
  }

  .modal.modal-media .carousel-control-prev,
  .modal.modal-media .carousel-control-next {
    width: 18% !important;
  }

  .modal.modal-media .carousel-control-prev-icon,
  .modal.modal-media .carousel-control-next-icon {
    width: 2.6rem !important;
    height: 2.6rem !important;
  }
}

/* === FIX: make hover/active states visible on dark nav === */

/* Desktop nav links */
.headerCol .navCol a:hover,
.headerCol .navCol a.nav-link:hover {
  background: var(--nav-hover-bg) !important;
}

.headerCol .navCol a.active,
.headerCol .navCol a[aria-current="page"] {
  background: var(--nav-active-bg) !important;
}

/* Dropdown toggle hover */
.headerCol .navCol .dropdownToggle:hover,
.headerCol .navCol .dropdownToggle:focus-visible {
  background: var(--nav-hover-bg) !important;
}

/* Dropdown menu items */
.dropdownMenu a:hover,
.dropdownMenu a:focus-visible {
  background: var(--nav-hover-bg) !important;
}

/* Hamburger hover */
.navToggle:hover,
.navToggle:active,
.navToggle.open,
.navToggle:focus-visible {
  background: var(--nav-hover-bg) !important;
}

/* Mobile drawer links */
.navCollapseCol a:hover {
  background: var(--nav-hover-bg) !important;
}

.navCollapseCol .mobileDropdownToggle:hover,
.navCollapseCol .mobileDropdownToggle:focus-visible {
  background: var(--nav-hover-bg) !important;
}

/* === FIX: center title without it getting squeezed by the nav === */
.header-inner-container {
  position: relative !important;
}

/* Take the title out of the grid sizing so it won't get truncated */
.siteTitle {
  position: absolute !important;
  left: 50% !important;
  transform: translateX(-50%) !important;

  width: auto !important;
  max-width: calc(100% - 520px) !important;
  /* leaves room for logo + right nav */

  padding: 0 .75rem !important;

  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;

  pointer-events: none !important;
  /* prevents blocking clicks on nav */
}

/* If the viewport is tighter, allow more room for the title */
@media (max-width: 1200px) {
  .siteTitle {
    max-width: calc(100% - 280px) !important;
    font-size: clamp(1rem, 2vw, 1.55rem) !important;
  }
}

/* =========================================================
   PRODUCT FEEDBACK FORM (pf-*) + SUCCESS OVERLAY (fsOverlay)
   Paste into: static/css/style.css (near your FORMS section)
========================================================= */

/* Wrapper centers the card but won’t force 100vh */
.pf-wrapper{
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(1rem, 2.5vw, 2rem) 0;
}

/* Card */
.pf-card{
  width: min(560px, 100%);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(11, 18, 32, 0.14);
  border-radius: 22px;
  box-shadow: 0 18px 45px rgba(0,0,0,.12);
  padding: clamp(1.1rem, 2.4vw, 1.6rem);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Title */
.pf-title{
  margin: 0 0 1rem 0;
  font-family: var(--title-font);
  font-weight: 900;
  line-height: 1.15;
  color: var(--heading);
  font-size: clamp(1.25rem, 1.2vw + 1rem, 1.75rem);
}

/* Messages */
.pf-messages{ margin: 0 0 1rem 0; display: grid; gap: .6rem; }

.pf-message{
  padding: .85rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(11, 18, 32, .12);
  background: rgba(240, 248, 248, .7);
  color: rgba(11, 18, 32, .86);
  font-weight: 700;
}

.pf-message-success{
  background: rgba(46, 160, 67, .10);
  border-color: rgba(46, 160, 67, .25);
  color: rgba(12, 66, 30, .95);
}

.pf-message-error{
  background: rgba(220, 53, 69, .10);
  border-color: rgba(220, 53, 69, .25);
  color: rgba(96, 18, 25, .95);
}

/* Fields */
.pf-field{ margin-bottom: .9rem; }

.pf-input{
  width: 100%;
  display: block;

  padding: .85rem .95rem;
  border-radius: 14px;

  background: rgba(240, 248, 248, .85);
  border: 1px solid rgba(11, 18, 32, .14);
  color: var(--text);

  font: inherit;
  line-height: 1.25;

  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.pf-input::placeholder{
  color: rgba(11, 18, 32, .55);
  font-weight: 700;
}

.pf-input:focus{
  outline: none;
  background: rgba(240, 248, 248, 1);
  border-color: rgba(11, 132, 184, .55);
  box-shadow: 0 0 0 4px rgba(11, 132, 184, .18);
}

.pf-textarea{
  resize: vertical;
  min-height: 120px;
}

/* Make number input look consistent (optional) */
.pf-input[type="number"]{
  appearance: textfield;
}
.pf-input[type="number"]::-webkit-outer-spin-button,
.pf-input[type="number"]::-webkit-inner-spin-button{
  -webkit-appearance: none;
  margin: 0;
}

/* Submit button (works with your existing .btn styles) */
.pf-submit.btn{
  width: 100%;
  justify-content: center;
  margin-top: .25rem;

  /* override your global .btn colors to match “gradient CTA” */
  background: linear-gradient(90deg, var(--accent), var(--brand)) !important;
  border-color: rgba(255,255,255,.22) !important;
}

/* Small screens */
@media (max-width: 576px){
  .pf-card{ border-radius: 18px; }
  .pf-input{ border-radius: 12px; }
}

/* =========================================================
   SUCCESS / MESSAGE OVERLAY (fsOverlay) — animated modal
========================================================= */
.fsOverlay {
  position: fixed;
  inset: 0;
  z-index: 999999;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 1rem;
  background: rgba(0, 0, 0, .55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition: opacity .18s ease, visibility 0s linear .18s;
}

.fsOverlay[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity .18s ease;
}

.fsOverlay__panel {
  width: min(520px, 100%);
  background: rgba(255, 255, 255, .97);
  border: 1px solid rgba(11, 18, 32, .14);
  border-radius: 20px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .35);

  padding: 1.35rem 1.35rem 1.15rem;

  transform: translateY(14px) scale(.98);
  opacity: 0;

  transition: transform .22s cubic-bezier(.23, 1, .32, 1), opacity .22s ease;
}

.fsOverlay[aria-hidden="false"] .fsOverlay__panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.fsOverlay__title {
  margin: 0 0 .6rem 0;
  font-family: var(--title-font);
  font-weight: 900;
  color: var(--heading);
  font-size: clamp(1.2rem, 1vw + 1rem, 1.6rem);
}

.fsOverlay__text {
  margin: 0 0 1rem 0;
  display: grid;
  gap: .6rem;
}

.fsOverlay__msg {
  padding: .75rem .9rem;
  border-radius: 14px;
  border: 1px solid rgba(11, 18, 32, .12);
  background: rgba(240, 248, 248, .75);
  color: rgba(11, 18, 32, .86);
  font-weight: 700;
}

.fsOverlay__msg.is-success {
  background: rgba(46, 160, 67, .10);
  border-color: rgba(46, 160, 67, .25);
  color: rgba(12, 66, 30, .95);
}

.fsOverlay__msg.is-error {
  background: rgba(220, 53, 69, .10);
  border-color: rgba(220, 53, 69, .25);
  color: rgba(96, 18, 25, .95);
}


/* =========================================================
   NEWSLETTER (scoped) — use your template classes:
   .newsletter-section .newsletter_card .newsletter_card__form etc.
   Paste into static/css/style.css
========================================================= */

/* Section helper so it’s centered nicely inside your sectionSpace */
.newsletter-section{
  display: flex;
  justify-content: center;
  align-items: center;
}

/* The card (scoped so it won’t touch Bootstrap .card) */
.newsletter_card{
  width: min(560px, 100%);
  padding: clamp(1.2rem, 2.6vw, 1.8rem);

  background: rgba(255,255,255,.92);
  border: 1px solid rgba(11, 18, 32, .14);
  border-radius: 22px;
  box-shadow: 0 18px 45px rgba(0,0,0,.12);

  position: relative;
  overflow: hidden;

  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Title + subtitle */
.newsletter_card__title{
  display: inline-block;
  margin: 0 0 .6rem 0;

  font-family: var(--title-font);
  font-weight: 900;
  color: var(--heading);

  font-size: clamp(1.25rem, 1.1vw + 1rem, 1.8rem);
  line-height: 1.15;
}

.newsletter_card__subtitle{
  margin: 0 0 1.1rem 0;
  color: var(--text-muted);
  font-weight: 600;
  line-height: 1.55;
}

/* Form */
.newsletter_card__form{
  display: flex;
  flex-direction: column;
  gap: .9rem;
}

/* Input */
.newsletter_card__form input{
  width: 100%;
  display: block;

  padding: .9rem .95rem;
  border-radius: 14px;

  background: rgba(240, 248, 248, .85);
  border: 1px solid rgba(11, 18, 32, .14);
  color: var(--text);

  font: inherit;
  line-height: 1.25;

  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease, transform .18s ease;
}

.newsletter_card__form input::placeholder{
  color: rgba(11, 18, 32, .55);
  font-weight: 700;
}

.newsletter_card__form input:focus{
  outline: none;
  background: rgba(240, 248, 248, 1);
  border-color: rgba(11, 132, 184, .55);
  box-shadow: 0 0 0 4px rgba(11, 132, 184, .18);
}

/* Button (separate class so it doesn’t fight global .btn unless you want it) */
/* Newsletter button: use global .btn behavior, just customize colors */
.newsletter_sign-up.btn{
  width: 100%;
  justify-content: center;

  /* keep your site button mechanics, just set colors */
  --c-button: linear-gradient(90deg, var(--accent), var(--brand));
  --c-button-outline: rgba(255,255,255,.22);
  --c-button-hover: rgba(255,255,255,.18);

  background: var(--c-button) !important;
  border-color: var(--c-button-outline) !important;
  color: var(--btn-text) !important;

  border-radius: 999px !important;
  padding: .85rem 1.25rem !important;
}


/* Small screens */
@media (max-width: 576px){
  .newsletter_card{ border-radius: 18px; }
  .newsletter_card__form input{ border-radius: 12px; }
}

.headerCol .navCol > ul {
  display: flex;
  align-items: center;
  gap: clamp(.15rem, .6vw, .35rem);
  flex-wrap: nowrap;
  min-width: max-content;
}

.headerCol .navCol ul,
.headerCol .navCol li,
.navCollapseCol ul,
.navCollapseCol li {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.headerCol .navCol li,
.navCollapseCol li {
  display: block !important;
}

.headerCol .navCol li::marker,
.navCollapseCol li::marker {
  content: "" !important;
}

/* =========================================================
   FINAL SHARED HERO FOR BOTH HOMEPAGES
========================================================= */
.splitHero{
  width: 100%;
  min-height: calc(100svh - var(--header-height));
  min-height: calc(100dvh - var(--header-height));
  display: flex;
  align-items: center;
  background: transparent;
  padding: 1rem 0;
}

.splitHero__container{
  width: 100%;
  max-width: 1320px;
}

.splitHero__card{
  background: var(--section-bg);
  border: var(--border-soft-2);
  border-radius: 28px;
  box-shadow: var(--shadow-md);
  padding: clamp(1.25rem, 2.4vw, 2.5rem);
  overflow: hidden;
}

.splitHero__row{
  min-height: 0 !important;
}

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

.splitHero__contentCol{
  display: flex;
  align-items: center;
}

.splitHero__imageWrap{
  width: min(100%, 420px);
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(11, 18, 32, .10);
  box-shadow: var(--shadow-sm);
  padding: 1rem;
}

.splitHero__image{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
}

.splitHero__content{
  width: 100%;
  padding: clamp(.25rem, 1vw, .75rem);
}

.splitHero__title{
  margin: 0 0 1rem 0;
  font-family: var(--title-font);
  font-weight: var(--fw-black);
  font-size: clamp(2rem, 5vw, 4.8rem);
  line-height: 1.05;
  color: var(--heading);
}

.splitHero__lead{
  margin: 0 0 1.5rem 0;
  max-width: 58ch;
  font-size: clamp(1rem, 1vw + .15rem, 1.12rem);
  line-height: 1.7;
  color: var(--text-muted);
}

.splitHero__actions{
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  align-items: center;
}

/* next section starts directly after hero */
.splitHero + .sectionSpace{
  margin-top: 0 !important;
}

/* if your first next section has id home-main */
#home-main.sectionSpace{
  margin-top: 0 !important;
}

@media (max-width: 991.98px){
  .splitHero{
    min-height: auto;
    padding: 1rem 0;
  }

  .splitHero__content{
    text-align: center;
  }

  .splitHero__lead{
    margin-left: auto;
    margin-right: auto;
  }

  .splitHero__actions{
    justify-content: center;
  }

  .splitHero__imageWrap{
    width: min(85vw, 360px);
  }
}

@media (max-width: 575.98px){
  .splitHero__actions{
    flex-direction: column;
    align-items: stretch;
  }

  .splitHero__actions .btn{
    width: 100%;
  }
}

/* =========================================================
   HERO SPACING FIX
   put this at the very bottom of style.css
========================================================= */

.splitHero{
  width: 100%;
  min-height: calc(100svh - var(--header-height));
  min-height: calc(100dvh - var(--header-height));
  display: flex;
  align-items: center;
  padding: 1rem 0 0 0 !important;   /* no extra bottom space */
  margin: 0 !important;
}

.splitHero__row{
  min-height: 0 !important;         /* remove forced giant height */
}

.splitHero__card{
  margin-bottom: 0 !important;
}

.splitHero + .sectionSpace{
  margin-top: 0 !important;
}

#home-main.sectionSpace{
  margin-top: 0 !important;
}

.splitHero{
  width: 100%;
  min-height: calc(100svh - var(--header-height));
  min-height: calc(100dvh - var(--header-height));
  display: flex;
  align-items: center;
  padding: 1rem 0;
}

.splitHero__row{
  min-height: 0 !important;
}

