/* ===========================================================================
   Lemon Drops Villa & Pool — section styles
   ---------------------------------------------------------------------------
   One block per component, roughly in the order a visitor meets them:

     1  Navigation            7  Rates and availability
     2  Hero + page headers   8  Frequently asked questions
     3  Property facts        9  Enquiry
     4  The villa            10  Footer
     5  Gallery + lightbox   11  Page index and 'more' links
     6  Location             12  Mobile bottom bar

   Each block is self-contained, so a component can move between pages without
   untangling shared rules.
   =========================================================================== */

/* --- Shared section shells ------------------------------------------------- */

.ld-section {
  padding-block: var(--ld-section-y);
}

.ld-section--limestone {
  background: var(--ld-limestone);
}

.ld-section--teal {
  background: var(--ld-teal-800);
  color: rgba(255, 255, 255, .88);
}

/* Any block marked .ld-on-dark carries its own light text colour. Relying on
   .ld-section--teal for that left the CTA band painting dark teal while its
   paragraphs inherited near-black body ink. */
.ld-on-dark { color: rgba(255, 255, 255, .88); }

.ld-on-dark h2,
.ld-on-dark h3 { color: #fff; }
.ld-on-dark strong { color: #fff; }
.ld-on-dark .ld-eyebrow { color: var(--ld-lemon); }
.ld-on-dark .ld-note { color: rgba(255, 255, 255, .72); }
.ld-on-dark a { color: var(--ld-lemon); }
.ld-on-dark a:hover { color: #fff; }

/* …but a button is not a link for colour purposes. Without this exclusion the
   rule above repaints .ld-btn--lemon's label lemon on a lemon ground and the
   text disappears. */
.ld-on-dark a.ld-btn { color: var(--_fg); }
.ld-on-dark a.ld-btn:hover { color: var(--_fg); }

.ld-section-head {
  max-width: 46rem;
  margin-bottom: clamp(2rem, 1.2rem + 2.2vw, 3.25rem);
}

/* =========================================================================
   1  NAVIGATION
   ========================================================================= */

.ld-nav {
  position: sticky;
  top: 0;
  z-index: var(--ld-z-nav);
  padding-block: .6rem;
  background: rgba(250, 247, 241, .88);
  border-bottom: 1px solid var(--ld-line);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
}

/* Where backdrop-filter is unavailable the bar must still be readable. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .ld-nav { background: var(--ld-cream); }
}

.ld-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.ld-brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;          /* the wordmark is a link, so it needs the target size */
  padding-block: .2rem;
  text-decoration: none;
  transition: opacity var(--ld-dur) var(--ld-ease);
}
.ld-brand:hover { opacity: .82; }

/* The lockup carries its own "VILLA & POOL" line, so no type sits beside it.
   width + height:auto keeps the whole lockup in frame; the bar grows to fit
   rather than cropping the mark. */
.ld-brand__logo {
  display: block;
  width: 172px;
  height: auto;
  max-height: none;
}
@media (min-width: 992px) {
  .ld-brand__logo { width: 208px; }
}

/* Desktop menu ------------------------------------------------------------- */

.ld-menu {
  display: flex;
  align-items: center;
  gap: .25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ld-menu__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .5rem .85rem;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--ld-ink);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color var(--ld-dur) var(--ld-ease),
              border-color var(--ld-dur) var(--ld-ease);
}
.ld-menu__link:hover {
  color: var(--ld-teal-800);
  border-bottom-color: var(--ld-lemon);
}
.ld-menu__link[aria-current="true"] {
  color: var(--ld-teal-800);
  border-bottom-color: var(--ld-lemon);
}

.ld-menu__cta { margin-left: .6rem; }
.ld-menu__cta .ld-btn {
  min-height: 44px;
  padding-block: .55rem;
}

/* Mobile trigger and offcanvas --------------------------------------------- */

.ld-nav__toggle {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 44px;
  min-width: 44px;
  padding: .5rem .85rem;
  background: transparent;
  border: 1px solid var(--ld-line-strong);
  border-radius: var(--ld-radius-sm);
  color: var(--ld-teal-800);
  font-family: var(--ld-font-body);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
}
.ld-nav__toggle:hover { border-color: var(--ld-teal-600); }
.ld-nav__toggle svg { width: 18px; height: 18px; }

.ld-offcanvas {
  /* Set Bootstrap's own token rather than the width property: its
     .offcanvas.offcanvas-end rule is more specific than this one and would
     win a straight fight. */
  --bs-offcanvas-width: min(22rem, 86vw);
  background: var(--ld-cream);
  border-left: 1px solid var(--ld-line);
}
.ld-offcanvas .offcanvas-header {
  padding: 1.1rem var(--ld-gutter);
  border-bottom: 1px solid var(--ld-line);
}
.ld-offcanvas .offcanvas-title {
  font-family: var(--ld-font-display);
  font-size: 1.15rem;
  color: var(--ld-teal-800);
}
.ld-offcanvas .btn-close {
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  opacity: .7;
}
.ld-offcanvas .btn-close:hover { opacity: 1; }
.ld-offcanvas .offcanvas-body {
  padding: .5rem var(--ld-gutter) calc(1.5rem + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
}

.ld-menu--stacked {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}
/* Full-width rows: inline-flex would only draw the rule under the text. */
.ld-menu--stacked .ld-menu__link {
  display: flex;
  width: 100%;
  min-height: 56px;
  padding: .9rem .25rem;
  font-size: 1.0625rem;
  border-bottom: 1px solid var(--ld-line);
}
.ld-menu--stacked .ld-menu__link:hover,
.ld-menu--stacked .ld-menu__link[aria-current="true"] {
  border-bottom-color: var(--ld-line);
  color: var(--ld-teal-600);
}
.ld-menu--stacked .ld-menu__link[aria-current="true"] {
  color: var(--ld-teal-800);
  font-weight: 600;
}
.ld-menu--stacked .ld-menu__cta {
  margin: 1.5rem 0 0;
}
.ld-menu--stacked .ld-menu__cta .ld-btn {
  width: 100%;
  min-height: 52px;
}

.ld-offcanvas__foot {
  margin-top: auto;
  padding-top: 1.75rem;
  font-size: var(--ld-step-small);
  color: var(--ld-muted);
}
.ld-offcanvas__foot p { margin-bottom: .35rem; }

@media (min-width: 992px) {
  .ld-nav__toggle { display: none; }
}
@media (max-width: 991.98px) {
  .ld-menu--inline { display: none; }
}

/* =========================================================================
   2  HERO
   ========================================================================= */

.ld-hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: min(88svh, 46rem);
  padding-block: clamp(3.5rem, 2rem + 9vw, 7rem);
  isolation: isolate;
  background: var(--ld-teal-900);
  color: #fff;
  overflow: hidden;
}

.ld-hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.ld-hero__media picture { width: 100%; height: 100%; }
.ld-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Portrait crops keep the terrace and pergola in frame rather than plain
     water; the wide crop lets the open sky sit under the copy column. */
  object-position: 68% 52%;
}

/* Two scrims: a vertical one for mood and overall unity, and a directional
   one that guarantees contrast wherever the copy actually sits.
   Verified in tools/contrast.py against the brightest pixel in the image. */
.ld-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg,
      rgba(7, 48, 59, .74) 0%,
      rgba(7, 48, 59, .62) 42%,
      rgba(7, 48, 59, .76) 100%);
}

.ld-hero__content {
  max-width: 40rem;
}

.ld-hero h1 {
  color: #fff;
  margin-bottom: 1.15rem;
  max-width: 19ch;
}

.ld-hero .ld-lead {
  color: rgba(255, 255, 255, .92);
  margin-bottom: 2rem;
}

.ld-hero .ld-eyebrow {
  color: #fff;
  opacity: .82;
  margin-bottom: 1rem;
}

/* Status chip — rectangular, hairline, with its own darker ground so the
   lemon text clears 4.5:1 over the photograph. */
.ld-status-chip {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: 1.4rem;
  padding: .4rem .8rem;
  border: 1px solid rgba(245, 185, 68, .55);
  border-radius: var(--ld-radius-xs);
  background: rgba(7, 48, 59, .55);
  color: var(--ld-lemon);
  font-size: var(--ld-step-micro);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1;
}
.ld-status-chip__dot {
  width: .45rem;
  height: .45rem;
  border-radius: 50%;
  background: var(--ld-lemon);
  flex: 0 0 auto;
}

.ld-hero .ld-placeholder-flag {
  top: auto;
  bottom: .9rem;
  left: auto;
  right: var(--ld-gutter);
}

@media (min-width: 992px) {
  .ld-hero { align-items: center; }
  .ld-hero__media img { object-position: 58% 50%; }
  .ld-hero__scrim {
    background:
      linear-gradient(180deg, rgba(7, 48, 59, .42) 0%, rgba(7, 48, 59, .52) 100%),
      linear-gradient(90deg,
        rgba(7, 48, 59, .82) 0%,
        rgba(7, 48, 59, .68) 34%,
        rgba(7, 48, 59, .36) 62%,
        rgba(7, 48, 59, .12) 100%);
  }
  .ld-hero .ld-placeholder-flag { bottom: 1.5rem; }
}

/* =========================================================================
   3  PROPERTY FACTS
   A single hairline band, not a card grid.
   ========================================================================= */

.ld-facts {
  background: var(--ld-cream);
  border-bottom: 1px solid var(--ld-line);
}

.ld-facts__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
  border-left: 1px solid var(--ld-line);
}

.ld-facts__item {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  padding: 1.5rem 1rem;
  border-right: 1px solid var(--ld-line);
  border-bottom: 1px solid var(--ld-line);
}
/* The last row has the section border beneath it already. */
.ld-facts__list > .ld-facts__item:nth-last-child(-n+2) { border-bottom: 0; }

.ld-facts__icon {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  margin-top: .15rem;
  color: var(--ld-teal-600);
}

.ld-facts__value {
  display: block;
  font-family: var(--ld-font-display);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.15;
  color: var(--ld-teal-800);
}

.ld-facts__label {
  display: block;
  margin-top: .15rem;
  font-size: var(--ld-step-small);
  color: var(--ld-muted);
}

@media (min-width: 768px) {
  .ld-facts__list { grid-template-columns: repeat(4, 1fr); }
  .ld-facts__item {
    padding: 1.75rem 1.25rem;
    border-bottom: 0;
  }
}

/* =========================================================================
   4  THE VILLA
   ========================================================================= */

.ld-villa__media {
  position: relative;
}
.ld-villa__frame {
  aspect-ratio: 4 / 3;
  border: 1px solid var(--ld-line);
  box-shadow: var(--ld-shadow-soft);
}
.ld-villa__caption {
  margin-top: .7rem;
  font-size: var(--ld-step-micro);
  color: var(--ld-muted);
  max-width: 34ch;
}

/* Amenities as a hairline list — one row each, not six cards. */
.ld-amenities {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ld-line);
}

.ld-amenities__item {
  display: grid;
  grid-template-columns: 1.65rem 1fr;
  gap: .1rem .9rem;
  align-items: start;
  padding: 1rem .25rem;
  border-bottom: 1px solid var(--ld-line);
}

.ld-amenities__icon {
  width: 22px;
  height: 22px;
  margin-top: .15rem;
  /* Cypress rather than teal, so the facilities read a shade warmer than the
     headings above them. */
  color: var(--ld-cypress);
}

.ld-amenities__name {
  font-family: var(--ld-font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--ld-teal-800);
  margin: 0;
}

.ld-amenities__detail {
  grid-column: 2;
  margin: .15rem 0 0;
  font-size: var(--ld-step-small);
  color: var(--ld-muted);
  max-width: 42ch;
}

@media (min-width: 576px) and (max-width: 991.98px) {
  .ld-amenities {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 2rem;
  }
}

/* =========================================================================
   5  GALLERY
   ========================================================================= */

.ld-mosaic {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ld-mosaic__item { margin: 0; }

/* The pool is the lead frame at every width. */
.ld-mosaic__item--lead { grid-column: span 2; }

.ld-shot {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  border: 1px solid var(--ld-line);
  border-radius: var(--ld-radius-md);
  overflow: hidden;
  background: var(--ld-limestone);
  cursor: zoom-in;
  aspect-ratio: 4 / 3;
}
.ld-mosaic__item--lead .ld-shot { aspect-ratio: 16 / 10; }

.ld-shot picture { width: 100%; height: 100%; }

.ld-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 420ms var(--ld-ease);
}
.ld-shot:hover img { transform: scale(1.025); }

/* A caption chip rather than a hover-only overlay, which would be invisible to
   touch users — and rather than a gradient wash, which left white text between
   2.5:1 and 6:1 depending on how pale the photograph underneath happened to be.
   A solid ground makes the caption legible over any image. */
.ld-shot__caption {
  position: absolute;
  left: .7rem;
  right: .7rem;
  bottom: .7rem;
  padding: .4rem .6rem;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--ld-radius-xs);
  background: rgba(7, 48, 59, .9);
  color: #fff;
  font-size: var(--ld-step-micro);
  font-weight: 500;
  text-align: left;
  line-height: 1.3;
}

@media (min-width: 992px) {
  .ld-mosaic {
    grid-template-columns: repeat(4, 1fr);
    gap: .75rem;
  }
  .ld-mosaic__item--lead {
    grid-column: span 2;
    grid-row: span 2;
  }
  .ld-mosaic__item--lead .ld-shot { aspect-ratio: auto; height: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .ld-shot:hover img { transform: none; }
}

/* Lightbox ------------------------------------------------------------------
   A native <dialog>, so focus trapping, Escape and focus restoration are the
   browser's job rather than ours. */

.ld-lightbox {
  width: min(96vw, 1200px);
  max-width: none;
  max-height: 94svh;
  padding: 0;
  border: 0;
  border-radius: var(--ld-radius-md);
  background: var(--ld-teal-900);
  color: #fff;
  overflow: hidden;
}
.ld-lightbox::backdrop {
  background: rgba(7, 48, 59, .88);
  backdrop-filter: blur(3px);
}

.ld-lightbox__stage {
  position: relative;
  display: grid;
  place-items: center;
  background: #06262f;
  aspect-ratio: 4 / 3;
  max-height: 74svh;
  touch-action: pan-y;
}
.ld-lightbox__stage picture { width: 100%; height: 100%; }
.ld-lightbox__stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;   /* never crop away part of a photograph */
  display: block;
}

.ld-lightbox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 1rem calc(.85rem + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 255, 255, .14);
}

.ld-lightbox__caption {
  margin: 0;
  font-size: var(--ld-step-small);
  color: rgba(255, 255, 255, .9);
  max-width: 46ch;
}
.ld-lightbox__count {
  display: block;
  font-size: var(--ld-step-micro);
  color: rgba(255, 255, 255, .62);
  letter-spacing: .06em;
}

.ld-lightbox__controls {
  display: flex;
  gap: .4rem;
  flex: 0 0 auto;
}

.ld-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: var(--ld-radius-sm);
  background: rgba(255, 255, 255, .06);
  color: #fff;
  cursor: pointer;
  transition: background-color var(--ld-dur) var(--ld-ease);
}
.ld-icon-btn:hover { background: rgba(255, 255, 255, .18); }
.ld-icon-btn svg { width: 20px; height: 20px; }

.ld-lightbox__close {
  position: absolute;
  top: .6rem;
  right: .6rem;
  z-index: 3;
  background: rgba(7, 48, 59, .72);
}

.ld-lightbox .ld-placeholder-flag {
  top: .6rem;
  left: .6rem;
  z-index: 3;
}

@media (max-width: 575.98px) {
  .ld-lightbox { width: 100vw; max-height: 100svh; border-radius: 0; }
  .ld-lightbox__stage { aspect-ratio: 1 / 1; }
  .ld-lightbox__bar { flex-direction: column; align-items: stretch; }
  .ld-lightbox__controls { justify-content: space-between; }
}

/* =========================================================================
   6  LOCATION
   ========================================================================= */

.ld-location__media {
  position: relative;
  margin-bottom: clamp(2rem, 1.2rem + 2.4vw, 3.25rem);
}
.ld-location__frame {
  aspect-ratio: 21 / 9;
  border: 1px solid var(--ld-line);
}
@media (max-width: 575.98px) {
  .ld-location__frame { aspect-ratio: 16 / 10; }
}

.ld-distances {
  margin: 1.75rem 0 1rem;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--ld-line);
}
.ld-distances__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .15rem 1rem;
  padding: .85rem .25rem;
  border-bottom: 1px solid var(--ld-line);
}
.ld-distances__place { flex: 1 1 12rem; }
.ld-distances__time {
  font-family: var(--ld-font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ld-teal-800);
  white-space: nowrap;
}

/* Click-to-load map --------------------------------------------------------
   Nothing is requested from Google until the visitor asks for it. */

/* One grid cell holding either the consent panel or, once asked for, the map.
   An aspect-ratio and a min-height together would fight each other: the
   min-height wins and then drives the width past the column, so narrow screens
   get a ratio only and let the content set the height. */
.ld-map {
  position: relative;
  display: grid;
  grid-template: 1fr / 1fr;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--ld-line);
  border-radius: var(--ld-radius-md);
  overflow: hidden;
  background: var(--ld-teal-800);
}
.ld-map > * { grid-area: 1 / 1; }

@media (max-width: 575.98px) {
  .ld-map {
    aspect-ratio: auto;
    min-height: 22rem;
  }
}
@media (min-width: 992px) {
  .ld-map { aspect-ratio: 3 / 2; }
}

.ld-map__consent {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: .75rem;
  padding: clamp(1.25rem, .8rem + 1.8vw, 2.25rem);
  color: rgba(255, 255, 255, .9);
  /* A drawn, brand-coloured stand-in for the map — no third-party request. */
  background:
    radial-gradient(circle at 32% 38%, rgba(47, 142, 160, .22), transparent 48%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 68px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 68px),
    var(--ld-teal-800);
}
.ld-map__pin {
  width: 30px;
  height: 30px;
  color: var(--ld-lemon);
}
.ld-map__title {
  font-family: var(--ld-font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
}
.ld-map__consent p {
  margin: 0;
  font-size: var(--ld-step-small);
  max-width: 34ch;
  color: rgba(255, 255, 255, .82);
}
.ld-map__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: .35rem;
}

.ld-map iframe {
  width: 100%;
  height: 100%;
  min-height: inherit;
  border: 0;
  display: block;
}

/* =========================================================================
   7  RATES AND AVAILABILITY
   One honest panel — there is one fact to state, so there is one panel.
   ========================================================================= */

.ld-availability {
  display: grid;
  gap: 0;
  border: 1px solid var(--ld-line);
  border-radius: var(--ld-radius-lg);
  background: var(--ld-cream);
  overflow: hidden;
  box-shadow: var(--ld-shadow-soft);
}

.ld-availability__main {
  padding: clamp(1.75rem, 1.1rem + 2.4vw, 3rem);
}
.ld-availability__headline {
  font-family: var(--ld-font-display);
  font-size: clamp(1.4rem, 1.1rem + 1.3vw, 2rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--ld-teal-800);
  margin: 0 0 1rem;
  max-width: 20ch;
}
.ld-availability__main p { margin-bottom: 1rem; }
.ld-availability__main .ld-btn-row { margin-top: 1.6rem; }

.ld-availability__side {
  padding: clamp(1.75rem, 1.1rem + 2.4vw, 3rem);
  background: var(--ld-limestone-soft);
  border-top: 1px solid var(--ld-line);
}

.ld-availability__side-title {
  font-family: var(--ld-font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ld-teal-800);
  margin: 0 0 .35rem;
}

.ld-seasons {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}
.ld-seasons__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .2rem 1rem;
  padding: .6rem 0;
  border-bottom: 1px solid var(--ld-line);
  font-size: var(--ld-step-small);
}
.ld-seasons__row:last-child { border-bottom: 0; }
.ld-seasons__name { color: var(--ld-ink); font-weight: 500; }
.ld-seasons__months { color: var(--ld-muted); }

@media (min-width: 992px) {
  .ld-availability { grid-template-columns: 1.35fr 1fr; }
  .ld-availability__side {
    border-top: 0;
    border-left: 1px solid var(--ld-line);
  }
}

/* =========================================================================
   8  FREQUENTLY ASKED QUESTIONS
   ========================================================================= */

.ld-faq {
  --bs-accordion-bg: transparent;
  --bs-accordion-border-color: var(--ld-line);
  --bs-accordion-border-width: 0;
  --bs-accordion-border-radius: 0;
  --bs-accordion-inner-border-radius: 0;
  --bs-accordion-btn-padding-x: .25rem;
  --bs-accordion-btn-padding-y: 1.15rem;
  --bs-accordion-btn-color: var(--ld-teal-800);
  --bs-accordion-btn-bg: transparent;
  --bs-accordion-btn-focus-box-shadow: none;
  --bs-accordion-active-color: var(--ld-teal-800);
  --bs-accordion-active-bg: transparent;
  --bs-accordion-body-padding-x: .25rem;
  --bs-accordion-body-padding-y: 0;
  --bs-accordion-btn-icon-width: 1rem;
  max-width: 52rem;
  border-top: 1px solid var(--ld-line);
}

.ld-faq .accordion-item { border-bottom: 1px solid var(--ld-line); }

.ld-faq .accordion-button {
  font-family: var(--ld-font-display);
  font-size: clamp(1.05rem, 1rem + .3vw, 1.22rem);
  font-weight: 600;
  letter-spacing: -0.005em;
  gap: 1rem;
  min-height: 56px;
}
.ld-faq .accordion-button:hover { color: var(--ld-teal-600); }

/* Bootstrap's chevron is a background image; swap it for a lemon one that
   matches the rest of the iconography. */
.ld-faq .accordion-button::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%230a3f4d' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M3 6l5 5 5-5'/%3E%3C/svg%3E");
  background-size: 1rem;
  flex: 0 0 auto;
}

.ld-faq .accordion-body {
  padding-bottom: 1.35rem;
}
.ld-faq .accordion-body p {
  margin-bottom: .75rem;
  color: var(--ld-muted);
  max-width: 60ch;
}
.ld-faq .accordion-body p:last-child { margin-bottom: 0; }

/* =========================================================================
   9  ENQUIRY
   ========================================================================= */

.ld-enquiry { background: var(--ld-teal-800); }

.ld-enquiry__aside p { color: rgba(255, 255, 255, .88); }

.ld-enquiry__direct {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--ld-line-light);
}
.ld-enquiry__direct p { margin-bottom: .35rem; }
.ld-enquiry__email {
  font-family: var(--ld-font-display);
  font-size: clamp(1.05rem, 1rem + .5vw, 1.3rem);
  font-weight: 600;
  color: var(--ld-lemon);
  text-decoration: underline;
  text-underline-offset: .22em;
  word-break: break-word;
}
.ld-enquiry__email:hover { color: #fff; }

/* The form sits on its own slightly lighter panel so the fields read as a
   single unit against the teal. */
.ld-form {
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--ld-line-light);
  border-radius: var(--ld-radius-lg);
}

.ld-form .ld-label { color: rgba(255, 255, 255, .94); }
.ld-form .ld-optional { color: rgba(255, 255, 255, .66); }

.ld-form .ld-input {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .38);
  color: #fff;
}
.ld-form .ld-input::placeholder { color: rgba(255, 255, 255, .55); }
.ld-form .ld-input:hover { border-color: rgba(255, 255, 255, .65); }
.ld-form .ld-input:focus {
  background: rgba(255, 255, 255, .13);
  border-color: var(--ld-lemon);
}

/* Native date controls render near-invisible on a dark field without this. */
.ld-form input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1) opacity(.85);
  cursor: pointer;
}
.ld-form input[type="date"]::-webkit-datetime-edit-text,
.ld-form input[type="date"]::-webkit-datetime-edit-day-field,
.ld-form input[type="date"]::-webkit-datetime-edit-month-field,
.ld-form input[type="date"]::-webkit-datetime-edit-year-field { color: #fff; }
.ld-form input[type="date"] { color-scheme: dark; }

.ld-form .ld-error { color: #ffd0b8; }
.ld-form .ld-input[aria-invalid="true"] {
  border-color: #ffd0b8;
  border-width: 2px;
}

.ld-form__submit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: .5rem;
}

.ld-form .ld-status { color: rgba(255, 255, 255, .92); }
.ld-form .ld-status--error { color: #ffd0b8; }

.ld-form__after {
  margin: 1.25rem 0 0;
  font-size: var(--ld-step-small);
  color: rgba(255, 255, 255, .72);
  max-width: 52ch;
}

/* =========================================================================
   10  FOOTER
   ========================================================================= */

.ld-footer {
  background: var(--ld-teal-900);
  color: rgba(255, 255, 255, .82);
  padding-block: clamp(2.5rem, 1.8rem + 2vw, 3.75rem)
                 calc(clamp(2.5rem, 1.8rem + 2vw, 3.75rem) + env(safe-area-inset-bottom));
  font-size: var(--ld-step-small);
}

.ld-footer__grid {
  display: grid;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.ld-footer__name {
  font-family: var(--ld-font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 .4rem;
}

.ld-footer p { margin-bottom: .35rem; max-width: 40ch; }

.ld-footer__status {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: .25rem;
  color: var(--ld-lemon);
  font-weight: 600;
  font-size: var(--ld-step-micro);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ld-footer__link {
  color: var(--ld-lemon);
  text-decoration: underline;
  text-underline-offset: .22em;
  word-break: break-word;
}
.ld-footer__link:hover { color: #fff; }

.ld-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  justify-content: space-between;
  padding-top: 1.5rem;
  color: rgba(255, 255, 255, .62);
  font-size: var(--ld-step-micro);
}
.ld-footer__bottom p { margin: 0; max-width: none; }

@media (min-width: 768px) {
  .ld-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
}

/* =========================================================================
   11  PAGE HEADERS, PAGE INDEX AND "MORE" LINKS
   Components that only exist now the site is more than one page.
   ========================================================================= */

/* Page header --------------------------------------------------------------
   Typographic by default. Add an 'image' to $page and it becomes photographic
   without any other change — see partials/page-header.php. */

.ld-page-header {
  position: relative;
  padding-block: clamp(2.5rem, 1.6rem + 3.4vw, 5rem);
  background: var(--ld-limestone);
  border-bottom: 1px solid var(--ld-line);
  isolation: isolate;
  overflow: hidden;
}

.ld-page-header__content { max-width: 44rem; }
.ld-page-header h1 { max-width: 20ch; }
.ld-page-header .ld-lead { color: var(--ld-ink); }

/* Photographic variant */
.ld-page-header--image {
  background: var(--ld-teal-900);
  border-bottom: 0;
  min-height: min(52svh, 26rem);
  display: grid;
  align-items: end;
}
.ld-page-header--image h1,
.ld-page-header--image .ld-lead { color: #fff; }
.ld-page-header--image .ld-eyebrow { color: #fff; opacity: .82; }

.ld-page-header__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.ld-page-header__media picture { width: 100%; height: 100%; }
.ld-page-header__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 50%;
}
.ld-page-header__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(7, 48, 59, .52) 0%, rgba(7, 48, 59, .68) 100%);
}
@media (min-width: 992px) {
  .ld-page-header--image .ld-page-header__media img { object-position: 62% 50%; }
  .ld-page-header--image .ld-page-header__scrim {
    background:
      linear-gradient(180deg, rgba(7, 48, 59, .42) 0%, rgba(7, 48, 59, .52) 100%),
      linear-gradient(90deg,
        rgba(7, 48, 59, .78) 0%,
        rgba(7, 48, 59, .62) 36%,
        rgba(7, 48, 59, .30) 64%,
        rgba(7, 48, 59, .10) 100%);
  }
}
.ld-page-header--image .ld-placeholder-flag {
  top: auto;
  bottom: .9rem;
  left: auto;
  right: var(--ld-gutter);
}

/* A section that follows a page header does not need its own top padding. */
.ld-section--flush-top { padding-top: clamp(2.5rem, 1.6rem + 3vw, 4.5rem); }

/* A standalone subheading inside a section. */
.ld-block-title {
  font-family: var(--ld-font-display);
  font-size: var(--ld-step-h3);
  font-weight: 600;
  color: var(--ld-teal-800);
  margin: 0 0 .25rem;
}
.ld-block-title--light { color: #fff; }

/* Home-page introduction */
.ld-intro { max-width: 46rem; }

/* "More" links — a quiet, underlined route to the next page. */
.ld-more { margin: 1.5rem 0 0; }
.ld-more--centred { margin-top: 2.5rem; }

.ld-more__link {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 44px;
  font-weight: 600;
  color: var(--ld-teal-800);
  text-decoration: underline;
  text-decoration-color: var(--ld-lemon);
  text-decoration-thickness: 2px;
  text-underline-offset: .35em;
}
.ld-more__link:hover {
  color: var(--ld-teal-600);
  text-decoration-color: var(--ld-teal-600);
}
.ld-more__link svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  transition: transform var(--ld-dur) var(--ld-ease);
}
.ld-more__link:hover svg { transform: translateX(3px); }

@media (prefers-reduced-motion: reduce) {
  .ld-more__link:hover svg { transform: none; }
}

/* Page index — the way into each page from home.
   Large images with hairline captions, not a card grid. */

.ld-index {
  display: grid;
  gap: clamp(1.5rem, 1rem + 2vw, 2.25rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 768px) {
  .ld-index { grid-template-columns: repeat(3, 1fr); }
}

.ld-index__link {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.ld-index__frame {
  aspect-ratio: 4 / 3;
  border: 1px solid var(--ld-line);
}
.ld-index__frame img {
  transition: transform 420ms var(--ld-ease);
}
.ld-index__link:hover .ld-index__frame img { transform: scale(1.03); }

.ld-index__body { display: block; }

.ld-index__title {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--ld-font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ld-teal-800);
  border-bottom: 2px solid var(--ld-lemon);
  padding-bottom: .15rem;
}
.ld-index__link:hover .ld-index__title { color: var(--ld-teal-600); }

.ld-index__note {
  display: block;
  margin-top: .6rem;
  font-size: var(--ld-step-small);
  color: var(--ld-muted);
  max-width: 34ch;
}

@media (prefers-reduced-motion: reduce) {
  .ld-index__link:hover .ld-index__frame img { transform: none; }
}

/* Closing call to action --------------------------------------------------- */

.ld-cta { background: var(--ld-teal-800); }

.ld-cta__inner {
  display: grid;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 992px) {
  .ld-cta__inner {
    grid-template-columns: 1.3fr 1fr;
    gap: 3rem;
    align-items: center;
  }
}

.ld-cta__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .85rem;
}
.ld-cta__email {
  margin: 0;
  font-size: var(--ld-step-small);
  color: rgba(255, 255, 255, .78);
}

.ld-gallery__note { margin-top: 1.75rem; }

/* =========================================================================
   12  MOBILE BOTTOM BAR
   Below 992px only. Four destinations plus Menu, which opens the offcanvas
   holding every link — so nothing is unreachable from the bar.
   ========================================================================= */

.ld-bottom-nav { display: none; }

@media (max-width: 991.98px) {
  .ld-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1040;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    background: rgba(250, 247, 241, .97);
    border-top: 1px solid var(--ld-line);
    box-shadow: 0 -2px 16px rgba(7, 48, 59, .08);
    padding-bottom: env(safe-area-inset-bottom);
  }

  @supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .ld-bottom-nav {
      background: rgba(250, 247, 241, .86);
      backdrop-filter: saturate(150%) blur(12px);
      -webkit-backdrop-filter: saturate(150%) blur(12px);
    }
  }

  .ld-bottom-nav__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .22rem;
    min-height: 56px;
    padding: .5rem .15rem;
    border: 0;
    background: transparent;
    color: var(--ld-muted);
    font-family: var(--ld-font-body);
    font-size: .6875rem;
    font-weight: 500;
    line-height: 1.1;
    text-align: center;
    text-decoration: none;
    /* A wrapped label would push the bar taller than the clearance reserved
       on <body>, hiding page content behind it. */
    white-space: nowrap;
    cursor: pointer;
  }

  .ld-bottom-nav__item svg {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
  }

  .ld-bottom-nav__item:hover { color: var(--ld-teal-800); }

  .ld-bottom-nav__item[aria-current="page"] {
    color: var(--ld-teal-800);
    font-weight: 600;
  }
  .ld-bottom-nav__item[aria-current="page"] svg { stroke-width: 2; }

  .ld-bottom-nav__item--cta { color: var(--ld-lemon-deep); }
  .ld-bottom-nav__item--cta[aria-current="page"] { color: var(--ld-lemon-deep); }

  .ld-bottom-nav__item:focus-visible { outline-offset: -3px; }

  /* Clearance so the fixed bar never covers the end of a page. 56px of bar
     plus a little breathing room, plus the home indicator. */
  body {
    padding-bottom: calc(4.25rem + env(safe-area-inset-bottom));
  }

  /* The lightbox and the offcanvas sit above the bar. */
  .ld-lightbox { z-index: 1060; }
}

/* Footer link column, added with the multi-page structure.
   Two columns on narrow screens so seven 44px rows do not run away down the
   page; one column once there is room beside the other footer blocks. */
.ld-footer__links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ld-footer__links .ld-footer__link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  /* Short labels like "Home" would otherwise be under 44px wide. */
  min-width: 44px;
  min-height: 44px;
}
@media (min-width: 768px) {
  .ld-footer__links { grid-template-columns: 1fr; }
}
