/* ==========================================================================
   ARKALA COURTYARD — Nature-inspired theme layer
   Loaded AFTER css/style.css. Keeps the reference layout intact and only
   re-skins it: brochure colour palette, botanical motifs, premium hovers.
   Palette sampled from "Arkala Courtyard Brochure.pdf"
     deep forest teal  #155059      leaf green   #00A859
     lime canopy       #A2CE5D      mint wash    #E1F1E5
   ========================================================================== */

:root {
  /* brochure palette */
  --ark-teal: #155059;
  --ark-teal-dark: #0c3a41;
  --ark-teal-deep: #072a30;
  --ark-green: #00a859;
  --ark-green-dark: #00814a;
  --ark-lime: #a2ce5d;
  --ark-lime-bright: #b9dd76;
  --ark-mint: #e1f1e5;
  --ark-mint-soft: #f1f8f0;
  --ark-cream: #fbfdf9;
  --ark-bark: #2f3d33;
  --dark:#000000;

  /* remap the reference tokens so the whole sheet re-colours at once */
  --primary: #00a859;
  --primary-pink: #a2ce5d;
  --text-color: #2f3d33;
  --text-dark: #17242c;
  --dark-blue: #155059;

  --ark-shadow-soft: 0 10px 30px rgba(12, 58, 65, 0.1);
  --ark-shadow-lift: 0 22px 48px rgba(12, 58, 65, 0.22);
  --ark-ease: cubic-bezier(0.22, 0.75, 0.3, 1);
}

/* --------------------------------------------------------------------------
   1. Botanical surfaces
   -------------------------------------------------------------------------- */

/* the repeating leaf motif from the brochure cover, drawn as SVG */
.texture-pattern::after {
  background-color: var(--ark-cream) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'%3E%3Cg fill='none' stroke='%2300a859' stroke-width='2' stroke-linecap='round' opacity='.06'%3E%3Cg transform='translate(18 18) scale(1.1)'%3E%3Cpath d='M25.6 40.4C21.3 24.6 31.4 10.2 52.4 7.6c2.2 21-6.6 34.6-26.8 32.8z'/%3E%3Cpath d='M9 57c3.6-4.6 7.4-9 11.6-13.2C28.4 36 39.4 25.6 52 8'/%3E%3C/g%3E%3Cg transform='translate(190 150) scale(-1.1 1.1)'%3E%3Cpath d='M25.6 40.4C21.3 24.6 31.4 10.2 52.4 7.6c2.2 21-6.6 34.6-26.8 32.8z'/%3E%3Cpath d='M9 57c3.6-4.6 7.4-9 11.6-13.2C28.4 36 39.4 25.6 52 8'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") !important;
  background-repeat: repeat !important;
  background-size: 240px 240px !important;
  background-position: center !important;
}

/* soft mint wash on alternating sections so the page breathes like the book */
section.section-overview.texture-pattern::after,
section.section-amenities.texture-pattern::after,
section.section-about.texture-pattern::after {
  background-color: var(--ark-mint-soft) !important;
}

/* the sun motif of the reference becomes a canopy glow */
.texture-pattern.sun-pattern::before {
  /* background: radial-gradient(
    circle at 0% 50%,
    rgba(162, 206, 93, 0.35) 0%,
    rgba(0, 168, 89, 0.12) 42%,
    rgba(255, 255, 255, 0) 70%
  ) !important; */
  width: 38vw;
  height: 90%;
  pointer-events: none;
}

/* falling petals of the reference become falling leaves */
.leaf-scene div {
  background-image: url("../assets/images/arkala/leaf-lime.svg") !important;
  width: 27px;
  height: 27px;
  opacity: 0.55;
}

/* --------------------------------------------------------------------------
   2. Header / navigation
   -------------------------------------------------------------------------- */

/* the header now sits on its own band above the banner instead of
   floating over it, so it carries a solid brand background */
.header-container {
  position: sticky !important;
  background: linear-gradient(90deg, #0c3a41 0%, #155059 55%, #0f4a3a 100%);
  border-bottom: 1px solid rgba(162, 206, 93, 0.28);
  box-shadow: 0 6px 24px rgba(7, 42, 48, 0.22);
  backdrop-filter: none;
}

header.scrolled,
.header-container.scrolled {
  background: linear-gradient(90deg, #0a3238 0%, #124851 55%, #0d4235 100%);
  backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 10px 34px rgba(7, 42, 48, 0.28);
  border-bottom: 1px solid rgba(162, 206, 93, 0.28);
}

/* the Arkala lockup is a single wide mark — the reference used two files */
.navbar-container {
  padding: 0.55rem 4rem;
}

.logo-img-1 {
  display: none !important;
}

.logo-img-2 {
  width: 128px !important;
}

.scrolled .logo-img-2 {
  width: 108px !important;
}

.header-container .btnPrimary {
  padding: 0.7rem 1.6rem;
  font-size: 0.9rem !important;
}

.offcanvas-logo .logo-img {
  width: 150px;
}

.navbar-container .logo img {
  transition: transform 0.6s var(--ark-ease), filter 0.6s var(--ark-ease);
}

.navbar-container .logo:hover img {
  transform: translateY(-2px) scale(1.03);
  filter: drop-shadow(0 8px 18px rgba(162, 206, 93, 0.45));
}

.navLinks .navLink {
  letter-spacing: 0.06em;
  transition: color 0.45s var(--ark-ease), transform 0.45s var(--ark-ease);
}

.navLinks .navLink:hover {
  color: var(--ark-lime-bright);
  transform: translateY(-2px);
}

.navLinks .navLink::after {
  background-color: var(--ark-lime) !important;
  box-shadow: 0 0 12px rgba(162, 206, 93, 0.7);
}

/* a leaf that unfurls beside the hovered link */
.navLinks .navLink::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -14px;
  width: 10px;
  height: 10px;
  transform: translateX(-50%) scale(0) rotate(-40deg);
  border-radius: 0 100% 0 100%;
  background: var(--ark-lime);
  transition: transform 0.5s var(--ark-ease);
}

.navLinks .navLink:hover::before {
  transform: translateX(-50%) scale(1) rotate(0deg);
}

.offcanvas {
  /* background: linear-gradient(160deg, #0c3a41 0%, #155059 55%, #0f4a3a 100%) !important; */
}

/* the brochure's own leaf-arch pattern, lifted from the cover artwork */
.offcanvas::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.1;
  background: url("../assets/images/arkala/overlay/leaf-pattern-lime.png") repeat
    center center;
  background-size: 130px 260px;
}

.offcanvas-links .offcanvas-link {
  position: relative;
  transition: color 0.4s var(--ark-ease), padding-left 0.4s var(--ark-ease);
}

.offcanvas-links .offcanvas-link:hover {
  color: var(--ark-lime-bright);
  padding-left: 14px;
}

.offcanvas-links .offcanvas-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  opacity: 0;
  border-radius: 0 100% 0 100%;
  background: var(--ark-lime);
  transform: translateY(-50%) rotate(-45deg);
  transition: opacity 0.4s var(--ark-ease);
}

.offcanvas-links .offcanvas-link:hover::before {
  opacity: 1;
}

/* --------------------------------------------------------------------------
   3. Buttons — pill, gradient, shine sweep
   -------------------------------------------------------------------------- */

.btnPrimary {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-full);
  padding: 0.95rem 2.25rem;
  font-size: 1rem !important;
  letter-spacing: 0.04em;
  color: #fff !important;
  isolation: isolate;
  transition: transform 0.45s var(--ark-ease), box-shadow 0.45s var(--ark-ease),
    color 0.45s var(--ark-ease);
}

.btnPrimary::after {
  background: linear-gradient(120deg, var(--ark-green) 0%, #17b566 45%, var(--ark-lime) 100%) !important;
  border-radius: var(--radius-full);
  z-index: -1;
  box-shadow: 0 8px 22px rgba(0, 168, 89, 0.32);
  transition: box-shadow 0.45s var(--ark-ease), filter 0.45s var(--ark-ease);
}

/* the sweep */
.btnPrimary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  z-index: -1;
  transform: skewX(-22deg);
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.55) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transition: left 0.75s var(--ark-ease);
}

.btnPrimary:hover {
  transform: translateY(-3px);
}

.btnPrimary:hover::before {
  left: 130%;
}

.btnPrimary:hover::after {
  box-shadow: 0 16px 34px rgba(0, 168, 89, 0.42);
  filter: saturate(1.15);
}

.btnPrimary.light {
  color: var(--ark-teal) !important;
}

.btnPrimary.light::after {
  background: linear-gradient(120deg, #ffffff 0%, var(--ark-mint) 100%) !important;
  box-shadow: 0 8px 22px rgba(12, 58, 65, 0.22);
}

.btnPrimary.light:hover::after {
  box-shadow: 0 16px 34px rgba(12, 58, 65, 0.3);
}

/* outline variant used in the hero */
.btnPrimary.ark-ghost {
  color: #fff !important;
}

.btnPrimary.ark-ghost::after {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(6px);
  box-shadow: none;
}

.btnPrimary.ark-ghost:hover::after {
  background: rgba(255, 255, 255, 0.16) !important;
  border-color: var(--ark-lime);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}

.toggle-up {
  background: linear-gradient(135deg, var(--ark-teal) 0%, var(--ark-green) 100%);
  box-shadow: 0 10px 24px rgba(12, 58, 65, 0.35);
  transition: transform 0.5s var(--ark-ease), box-shadow 0.5s var(--ark-ease),
    opacity 1s ease;
}

.toggle-up:hover {
  box-shadow: 0 16px 32px rgba(0, 168, 89, 0.45);
}

.fixed-button .btnPrimary {
  padding: 0.8rem 1.6rem;
}

/* --------------------------------------------------------------------------
   4. Section headings — with a leaf rule, as in the brochure
   -------------------------------------------------------------------------- */

.section-title {
  color: var(--ark-teal) !important;
  letter-spacing: 0.02em;
}

.section-subtitle {
  color: var(--ark-green-dark) !important;
}

.section-desc {
  color: var(--text-color);
}

.ark-rule {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 1.1rem 0 0 0;
}

.ark-rule.center {
  justify-content: center;
}

.ark-rule span {
  display: block;
  height: 2px;
  width: 64px;
  border-radius: 100px;
  background: linear-gradient(90deg, var(--ark-green), rgba(162, 206, 93, 0));
}

.ark-rule i {
  width: 11px;
  height: 11px;
  border-radius: 0 100% 0 100%;
  background: var(--ark-lime);
  transform: rotate(-45deg);
}

.line {
  background: linear-gradient(
    90deg,
    rgba(0, 168, 89, 0.35),
    rgba(162, 206, 93, 0.08)
  ) !important;
}

/* --------------------------------------------------------------------------
   5. Hero
   -------------------------------------------------------------------------- */

.main-banner {
  position: relative;
  /* the sticky header keeps its own band — this is the breathing room under it */
  --ark-banner-gap: 14px;
}

/* the slides start below the header, never behind it */
.main-banner .carousel-inner {
  /* margin-top: var(--ark-banner-gap); */
}

/* no copy sits on the banner any more — the artwork reads on its own */
.main-banner .carousel-item::after {
  content: none;
}

/* every slide keeps the same box so the fade never jumps between images */
.main-banner .carousel-item {
  overflow: hidden;
}

.main-banner .carousel-item img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center center;
}

/* --- slider arrows, left & right --- */
.main-banner .ark-slider-btn {
  width: auto;
  opacity: 1;
  padding: 0 1.6rem;
  z-index: 3;
}

.main-banner .ark-slider-btn .ark-slider-arrow {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 1.05rem;
  color: #fff;
  background: rgba(7, 42, 48, 0.45);
  border: 1px solid rgba(162, 206, 93, 0.55);
  backdrop-filter: blur(6px);
  transition: background 0.4s var(--ark-ease), transform 0.4s var(--ark-ease),
    box-shadow 0.4s var(--ark-ease);
}

.main-banner .ark-slider-btn:hover .ark-slider-arrow,
.main-banner .ark-slider-btn:focus-visible .ark-slider-arrow {
  background: linear-gradient(120deg, var(--ark-green) 0%, var(--ark-lime) 100%);
  border-color: transparent;
  transform: scale(1.08);
  box-shadow: 0 10px 26px rgba(0, 168, 89, 0.38);
}

@media (max-width: 767px) {
  .main-banner {
    --ark-banner-gap: 8px;
  }
  .main-banner .ark-slider-btn {
    padding: 0 0.6rem;
  }
  .main-banner .ark-slider-btn .ark-slider-arrow {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }

  /* the portrait artwork is shown whole — no side bleed */
  .main-banner .carousel-item img,
  .main-banner .carousel-item.active img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain;
    margin: 0 auto;
  }
}

.banner-overlay-txt {
  bottom: auto;
  top: 50%;
  transform: translateY(-42%);
  left: 7%;
  max-width: 40rem;
  gap: 0.9rem;
}

.banner-logo {
  width: 190px;
  margin-bottom: 0.5rem;
}

.banner-logo img {
  width: 100%;
}

.banner-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  align-self: flex-start;
  padding: 0.45rem 1.1rem;
  border-radius: 100px;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ark-lime-bright);
  border: 1px solid rgba(162, 206, 93, 0.5);
  background: rgba(7, 42, 48, 0.35);
  backdrop-filter: blur(6px);
}

.banner-overlay-txt .banner-overlay-title {
  font-size: 2.9vw;
  line-height: 1.18;
  text-transform: none;
  text-shadow: 0 10px 34px rgba(0, 0, 0, 0.35);
}

.banner-overlay-txt .banner-overlay-title em {
  font-style: normal;
  color: var(--ark-lime-bright);
}

.banner-overlay-txt .banner-overlay-subtitle {
  text-transform: none;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
}

.banner-price {
  font-size: 1.15rem;
  color: #fff;
  font-weight: 500;
}

.banner-price strong {
  color: var(--ark-lime-bright);
  font-weight: 600;
}

.banner-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.6rem;
}

.banner-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  margin-top: 1.6rem;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.banner-facts .fact strong {
  display: block;
  font-size: 1.35rem;
  color: var(--ark-lime-bright);
  line-height: 1.2;
}

.banner-facts .fact span {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 991px) {
  .banner-overlay-txt {
    left: 5% !important;
    right: 5% !important;
    width: auto !important;
    max-width: 90vw !important;
    top: auto;
    bottom: 6%;
    transform: none;
  }
  .banner-overlay-txt .banner-overlay-title {
    font-size: 6.4vw;
  }
  /* the mark already sits in the header on small screens */
  .banner-logo {
    display: none;
  }
  .banner-cta {
    gap: 0.6rem;
  }
  .banner-cta .btnPrimary {
    padding: 0.75rem 1.35rem;
    font-size: 0.9rem !important;
  }
  .banner-facts {
    gap: 0.9rem 1.4rem;
    margin-top: 1.1rem;
    padding-top: 1rem;
  }
  .banner-facts .fact strong {
    font-size: 1rem;
  }
  .banner-facts .fact span {
    font-size: 0.68rem;
  }
  .logo-img-2 {
    width: 122px !important;
  }
  .scrolled .logo-img-2 {
    width: 106px !important;
  }
}

/* --------------------------------------------------------------------------
   6. Forms
   -------------------------------------------------------------------------- */

.overview-form {
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.96) 0%,
    var(--ark-mint) 100%
  ) !important;
  background-size: auto !important;
  border: 1px solid rgba(0, 168, 89, 0.18);
  border-radius: 20px;
  padding: 3rem 2.5rem !important;
  align-items: center !important;
  box-shadow: var(--ark-shadow-soft);
  overflow: hidden;
  transition: box-shadow 0.6s var(--ark-ease), transform 0.6s var(--ark-ease);
}

.overview-form::before {
  content: "";
  position: absolute;
  top: -70px;
  right: -60px;
  width: 220px;
  height: 220px;
  border-radius: 0 100% 0 100%;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(162, 206, 93, 0.45),
    rgba(0, 168, 89, 0.08)
  );
  transition: transform 0.9s var(--ark-ease);
}

.overview-form:hover {
  box-shadow: var(--ark-shadow-lift);
  transform: translateY(-4px);
}

.overview-form:hover::before {
  transform: rotate(25deg) scale(1.1);
}

.overview-form form {
  width: 100% !important;
}

.form-title {
  color: var(--ark-teal) !important;
  margin: 0 0 0.6rem 0 !important;
  font-size: 1.45rem !important;
  line-height: 1.4rem !important;
  line-height: 1.35 !important;
  font-weight: 500;
}

.form-subtitle {
  color: var(--text-color);
  margin-bottom: 1.4rem;
  font-size: 0.92rem;
}

.custom-input {
  border: 1px solid rgba(12, 58, 65, 0.16) !important;
  background: rgba(255, 255, 255, 0.9) !important;
  border-radius: 10px !important;
  padding: 0.85rem 1rem !important;
  transition: border-color 0.4s var(--ark-ease), box-shadow 0.4s var(--ark-ease),
    transform 0.4s var(--ark-ease);
}

.custom-input:hover {
  border-color: rgba(0, 168, 89, 0.45) !important;
}

.custom-input:focus {
  border-color: var(--ark-green) !important;
  box-shadow: 0 0 0 4px rgba(0, 168, 89, 0.14) !important;
  transform: translateY(-1px);
}

.form-check-input:checked {
  background-color: var(--ark-green) !important;
  border-color: var(--ark-green) !important;
}

.form-check-label,
.checkbox-label {
  color: var(--text-color);
}

/* --------------------------------------------------------------------------
   7. Project overview / highlights strip
   -------------------------------------------------------------------------- */

.ark-highlight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.ark-highlight {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.1rem 1.2rem;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(0, 168, 89, 0.16);
  transition: transform 0.5s var(--ark-ease), box-shadow 0.5s var(--ark-ease),
    border-color 0.5s var(--ark-ease);
}

.ark-highlight::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--ark-green), var(--ark-lime));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.5s var(--ark-ease);
}

.ark-highlight:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 168, 89, 0.4);
  box-shadow: var(--ark-shadow-lift);
}

.ark-highlight:hover::after {
  transform: scaleY(1);
}

.ark-highlight .ark-leaf {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ark-mint);
  border: 1px solid rgba(0, 168, 89, 0.28);
  transition: background 0.5s var(--ark-ease), border-color 0.5s var(--ark-ease);
}

.ark-highlight:hover .ark-leaf {
  background: var(--ark-green);
  border-color: var(--ark-green);
}

.ark-highlight .ark-leaf img {
  width: 18px;
  transition: filter 0.5s var(--ark-ease);
}

.ark-highlight:hover .ark-leaf img {
  filter: brightness(0) invert(1);
}

.ark-highlight strong {
  display: block;
  color: var(--ark-teal);
  font-size: 1.02rem;
  line-height: 1.3;
}

.ark-highlight span {
  font-size: 0.82rem;
  color: rgba(47, 61, 51, 0.75);
}

@media (max-width: 575px) {
  .ark-highlight-grid {
    grid-template-columns: 1fr;
  }
}

/* framed media — master plan, floor plans, map */
.ark-frame {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  padding: 12px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.9), var(--ark-mint));
  border: 1px solid rgba(0, 168, 89, 0.2);
  box-shadow: var(--ark-shadow-soft);
  transition: box-shadow 0.6s var(--ark-ease), transform 0.6s var(--ark-ease);
}

.ark-frame img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  transition: transform 0.9s var(--ark-ease);
}

.ark-frame iframe {
  width: 100%;
  height: 340px;
  border: 0;
  display: block;
  border-radius: 12px;
}

.ark-frame::before {
  content: "";
  position: absolute;
  top: 0;
  left: -140%;
  width: 55%;
  height: 100%;
  z-index: 2;
  transform: skewX(-20deg);
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transition: left 0.9s var(--ark-ease);
}

.ark-frame:hover {
  transform: translateY(-6px);
  box-shadow: var(--ark-shadow-lift);
}

.ark-frame:hover::before {
  left: 150%;
}

.ark-frame:hover img {
  transform: scale(1.04);
}

/* --------------------------------------------------------------------------
   8. Configuration
   -------------------------------------------------------------------------- */

.custom-nav .nav-link,
.custom-nav-link {
  color: var(--ark-teal) !important;
  border-radius: 100px !important;
  transition: all 0.45s var(--ark-ease);
}

.custom-nav .nav-link:hover,
.custom-nav-link:hover {
  color: var(--ark-green-dark) !important;
  transform: translateY(-2px);
}

.custom-nav .nav-link.active,
.custom-nav-link.active {
  color: #fff !important;
  background: linear-gradient(120deg, var(--ark-green), var(--ark-lime)) !important;
  box-shadow: 0 10px 24px rgba(0, 168, 89, 0.3);
}

.config-about {
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.92) 0%,
    var(--ark-mint) 100%
  ) !important;
  background-size: auto !important;
  border: 1px solid rgba(0, 168, 89, 0.2);
  border-radius: 18px;
  padding: 3rem 0 !important;
  position: relative;
  overflow: hidden;
  transition: transform 0.6s var(--ark-ease), box-shadow 0.6s var(--ark-ease);
}

.config-about::before {
  content: "";
  position: absolute;
  bottom: -60px;
  left: -50px;
  width: 190px;
  height: 190px;
  border-radius: 0 100% 0 100%;
  background: radial-gradient(
    circle at 60% 40%,
    rgba(162, 206, 93, 0.4),
    rgba(0, 168, 89, 0.05)
  );
  transition: transform 0.9s var(--ark-ease);
}

.config-about:hover {
  transform: translateY(-6px);
  box-shadow: var(--ark-shadow-lift);
}

.config-about:hover::before {
  transform: rotate(-20deg) scale(1.12);
}

.config-about-txt .config-title {
  color: var(--ark-teal) !important;
  font-size: 1.6rem !important;
  position: relative;
  z-index: 1;
}

.config-about-img {
  border: 1px solid rgba(0, 168, 89, 0.2) !important;
  background: rgba(255, 255, 255, 0.7) !important;
  border-radius: 16px !important;
  transition: transform 0.6s var(--ark-ease), box-shadow 0.6s var(--ark-ease);
}

/* floor plans are tall portraits — show them whole, without stretching the section */
.config-about-img {
  max-height: 540px;
  display: flex;
  padding: 10px;
}

.config-about-img img {
  object-fit: contain !important;
  transition: transform 0.9s var(--ark-ease), filter 0.6s var(--ark-ease);
}

/* the plan stays teased behind a soft blur until the enquiry is made */
.config-about-img.locked img {
  filter: blur(7px);
  transform: scale(1.03);
}

.config-about-img.locked:hover img {
  filter: blur(9px) saturate(1.05);
  transform: scale(1.06);
}

.plan-lock {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  background: linear-gradient(
    180deg,
    rgba(12, 58, 65, 0.18) 0%,
    rgba(12, 58, 65, 0.34) 100%
  );
  transition: background 0.6s var(--ark-ease);
}

.config-about-img.locked:hover .plan-lock {
  background: linear-gradient(
    180deg,
    rgba(12, 58, 65, 0.28) 0%,
    rgba(12, 58, 65, 0.46) 100%
  );
}

/* the CTA is a span, so it needs the button chrome spelled out */
.plan-lock .btnPrimary {
  pointer-events: none;
  transition: transform 0.5s var(--ark-ease);
}

.config-about-img.locked:hover .plan-lock .btnPrimary {
  transform: translateY(-3px) scale(1.03);
}

.config-about-img::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0;
  background: linear-gradient(
    0deg,
    rgba(12, 58, 65, 0.55) 0%,
    rgba(12, 58, 65, 0) 55%
  );
  transition: opacity 0.6s var(--ark-ease);
}

.config-about-img:hover {
  transform: translateY(-5px);
  box-shadow: var(--ark-shadow-lift);
}

.config-about-img:hover img {
  transform: scale(1.05);
}

.config-about-img:hover::before {
  opacity: 1;
}

.more-info-icon {
  transition: transform 0.5s var(--ark-ease);
}

.more-info:hover .more-info-icon {
  transform: translateY(-3px) rotate(-8deg);
}

/* --------------------------------------------------------------------------
   9. Amenities slider
   -------------------------------------------------------------------------- */

.amenities-img {
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(12, 58, 65, 0.12);
}

.amenities-img::after {
  background: linear-gradient(
    0deg,
    rgba(12, 58, 65, 0.18) 0%,
    rgba(12, 58, 65, 0.06) 45%,
    rgba(12, 58, 65, 0.22) 100%
  ) !important;
}

.amenities-img img {
  transition: transform 1.1s var(--ark-ease);
}

.swiper-slide:hover .amenities-img img,
.amenities-img:hover img {
  transform: scale(1.08);
}

.amenities-txt {
  background: linear-gradient(140deg, var(--ark-green), var(--ark-teal)) !important;
  border-radius: 0 0 10px 0 !important;
  box-shadow: 0 12px 26px rgba(0, 168, 89, 0.32);
}

/* the amenities corner ornaments are gone — scattered leaves take their place */
.amenities-txt-container::before,
.amenities-txt-container::after {
  content: none !important;
}

/* the brochure branch, used the way the reference used its corner leaves */
.overlay-tree img {
  object-fit: contain !important;
  opacity: 0.5;
}

footer .leaf {
  opacity: 0.28;
}

/* --------------------------------------------------------------------------
   1b. Reusable botanical overlays
   Absolutely positioned, never interactive, always clipped by their section.
   -------------------------------------------------------------------------- */

.ark-overlay {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  width: 15vw;
  max-width: 250px;
  min-width: 110px;
  opacity: 0.34;
}

.ark-overlay img {
  display: block;
  width: 100%;
  height: auto;
}

.ark-overlay-tl {
  top: 0;
  left: 0;
}

.ark-overlay-tr {
  top: 0;
  right: 0;
}

.ark-overlay-bl {
  bottom: 0;
  left: 0;
}

.ark-overlay-br {
  bottom: 0;
  right: 0;
}

/* single leaves, scattered */
.ark-overlay.is-leaf {
  width: 4.5vw;
  max-width: 70px;
  min-width: 34px;
  opacity: 0.3;
}

/* the amenities leaves are scattered rather than pinned to the corners */
.ark-leaf-a {
  top: 14%;
  left: 4%;
  transform: rotate(-20deg);
  animation: arkDrift 9s ease-in-out infinite alternate;
}

.ark-leaf-b {
  bottom: 16%;
  left: 11%;
  transform: rotate(142deg);
  animation: arkDrift 11s ease-in-out infinite alternate-reverse;
}

.ark-leaf-c {
  top: 24%;
  right: 5%;
  transform: rotate(38deg);
  animation: arkDrift 13s ease-in-out infinite alternate;
}

@keyframes arkDrift {
  from {
    translate: 0 0;
  }
  to {
    translate: 0 -14px;
  }
}

/* sections that host an overlay must clip it, or it creates a scrollbar */
section.section-overview,
section.section-amenities,
section.section-gallery,
section.section-location,
section.section-about,
section.section-contact,
section.section-config {
  overflow: hidden;
}

/* one consistent breathing space above every section */
section.section-overview,
section.section-config,
section.section-amenities,
section.section-gallery,
section.section-location,
section.section-about,
section.section-contact {
  padding-top: 6rem;
}

/* the reference watermarked a red house over the plan — the plan speaks for itself */
.config-about-img::after {
  display: none !important;
}

/* caption that rises from the bottom of every amenity card */
.ark-amenity-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 1.1rem 1.15rem;
  color: var(--ark-green-dark);
  text-shadow: 0 1px 6px rgba(251, 253, 249, 0.85);
  transform: translateY(22%);
  opacity: 0;
  transition: transform 0.6s var(--ark-ease), opacity 0.6s var(--ark-ease);
}

/* a light, low-opacity wash sitting between the photo and the caption text,
   just enough to lift the dark type off the image */
.ark-amenity-cap::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: -35%;
  z-index: -1;
  pointer-events: none;
  border-radius: 0 0 16px 16px;
  background: linear-gradient(
    0deg,
    rgba(251, 253, 249, 0.55) 0%,
    rgba(251, 253, 249, 0.32) 55%,
    rgba(251, 253, 249, 0) 100%
  );
  backdrop-filter: blur(2px);
}

.amenities-img:hover .ark-amenity-cap,
.swiper-slide-active .ark-amenity-cap {
  transform: translateY(0);
  opacity: 1;
}

.ark-amenity-cap strong {
  display: block;
  color: var(--dark);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ark-amenity-cap span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.82rem;
  color: var(--dark);
  line-height: 1.35;
}

.ark-amenity-cap em {
  display: block;
  width: 40px;
  height: 2px;
  margin-bottom: 0.6rem;
  border-radius: 100px;
  background: var(--ark-lime);
}

/* amenity cards keep a tall, editorial crop */
.amenities-img {
  aspect-ratio: 4 / 5;
}

.amenities-img img {
  height: 100%;
  object-fit: cover;
}

.swiper-button {
  border-radius: 100px;
  cursor: pointer;
  transition: transform 0.5s var(--ark-ease), filter 0.5s var(--ark-ease);
}

.swiper-button:hover {
  transform: translateY(-3px) scale(1.06);
  filter: drop-shadow(0 12px 22px rgba(0, 168, 89, 0.42)) saturate(1.1);
}

/* --------------------------------------------------------------------------
   10. Gallery
   -------------------------------------------------------------------------- */

/* the ornamental frame sits OUTSIDE the photo — the photo is inset by the padding */
.gal_image {
  position: relative;
  overflow: visible;
  padding: 16px;
}

.gal_image > a {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 14px 32px rgba(12, 58, 65, 0.16);
}

.gal_image img {
  transition: transform 1.1s var(--ark-ease), filter 0.7s var(--ark-ease);
}

.gal_image .img-overlay {
  position: absolute;
  inset: 0;
  opacity: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(
    0deg,
    rgba(12, 58, 65, 0.72) 0%,
    rgba(12, 58, 65, 0.1) 60%
  );
  transition: opacity 0.6s var(--ark-ease);
}

.gal_image .img-overlay::after {
  content: "";
  width: 56px;
  height: 56px;
  border-radius: 100px;
  transform: scale(0.7);
  background: rgba(12, 58, 65, 0.55) url("../assets/images/arkala/expand.svg")
    no-repeat center center/22px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(4px);
  transition: transform 0.6s var(--ark-ease);
}

.gal_image:hover .img-overlay {
  opacity: 1;
}

.gal_image:hover .img-overlay::after {
  transform: scale(1);
}

.gal_image:hover img {
  transform: scale(1.08);
  filter: saturate(1.08);
}

/* the ornamental frame on the centre slide, re-drawn in leaf green */
.gal-carousel .owl-item .gal_image::before {
  background: url("../assets/images/arkala/frame-vector.png") no-repeat center !important;
  background-size: 100% 100% !important;
  z-index: 3;
}

/* the dimming veil on side slides belongs on the photo, not the frame gutter */
.gal-carousel .owl-item:not(.active.center) .gal_image::after {
  display: none !important;
}

.gal-carousel .owl-item:not(.active.center) .gal_image > a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  pointer-events: none;
  background: rgba(225, 241, 229, 0.7);
}

.gal_image .overtext {
  position: absolute;
  left: 1.1rem;
  bottom: 1.1rem;
  color: #fff;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transform: translateY(12px);
  opacity: 0;
  transition: all 0.6s var(--ark-ease);
}

.gal_image:hover .overtext {
  transform: translateY(0);
  opacity: 1;
}

.owl-nav button {
  background: linear-gradient(120deg, var(--ark-green), var(--ark-lime)) !important;
  box-shadow: 0 10px 22px rgba(0, 168, 89, 0.32);
  transition: transform 0.45s var(--ark-ease);
}

.owl-nav button:hover {
  transform: scale(1.08);
}

/* the reference sized these at 70px, which competed with the photos */
.gal-carousel .owl-nav button {
  width: 60px !important;
  height: 60px !important;
}

.gal-carousel .owl-nav button img {
  width: 26px !important;
  height: 26px !important;
  object-fit: contain !important;
}

/* a fuller gallery — less shrink on the side slides, a tighter frame gutter */
.gal-carousel .owl-item .gal_image {
  transform: scale(0.88);
}

.gal_image {
  padding: 12px;
}

/* --------------------------------------------------------------------------
   11. Location
   -------------------------------------------------------------------------- */

.location-accordion .accordion-item {
  border-radius: 14px !important;
  overflow: hidden;
  margin-bottom: 0.75rem;
  border: 1px solid rgba(0, 168, 89, 0.16) !important;
  background: rgba(255, 255, 255, 0.7);
  transition: box-shadow 0.5s var(--ark-ease), border-color 0.5s var(--ark-ease),
    transform 0.5s var(--ark-ease);
}

.location-accordion .accordion-item:hover {
  border-color: rgba(0, 168, 89, 0.42) !important;
  box-shadow: var(--ark-shadow-soft);
  transform: translateX(4px);
}

.location-accordion .accordion-button {
  color: var(--ark-teal) !important;
  letter-spacing: 0.05em;
  transition: color 0.4s var(--ark-ease), background 0.4s var(--ark-ease);
}

.location-accordion .accordion-button:not(.collapsed) {
  color: #fff !important;
  background: linear-gradient(120deg, var(--ark-teal), var(--ark-green)) !important;
}

.location-accordion .accordion-button:not(.collapsed)::after {
  filter: brightness(0) invert(1);
}

/* bootstrap's chevron, tinted to the brand green */
.location-accordion .accordion-button::after {
  filter: hue-rotate(105deg) saturate(2.4) brightness(0.85);
}

.location-accordion .accordion-button:hover {
  color: var(--ark-green-dark) !important;
}

.location-accordion .accordion-button:not(.collapsed):hover {
  color: #fff !important;
}

/* place on the left, distance on its own at the right, joined by a dotted rule */
.accordion-content {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  border-radius: 10px;
  padding: 0.45rem 0.6rem;
  transition: background 0.4s var(--ark-ease), transform 0.4s var(--ark-ease);
}

.accordion-content .acc-name {
  flex: 1 1 auto;
  min-width: 0;
  align-items: baseline !important;
  position: relative;
}

.accordion-content .acc-name::after {
  content: "";
  flex: 1 1 auto;
  min-width: 1.25rem;
  margin: 0 0.15rem 0.28rem 0.35rem;
  border-bottom: 1px dotted rgba(0, 168, 89, 0.35);
}

.accordion-content .acc-icon {
  flex: 0 0 auto;
  position: relative;
  top: 2px;
}

.accordion-content .acc-distance {
  flex: 0 0 auto;
  white-space: nowrap;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ark-green-dark);
  letter-spacing: 0.01em;
}

.accordion-content:hover {
  background: rgba(162, 206, 93, 0.16);
  transform: translateX(6px);
}

.accordion-content .acc-icon img {
  transition: transform 0.45s var(--ark-ease);
}

.accordion-content:hover .acc-icon img {
  transform: translateY(-3px) scale(1.12);
}

/* map column matches the accordion column height, side by side */
.section-location .loc-back {
  display: flex;
  flex-direction: column;
  padding-top: 0;
}

/* the reference stacked its own top padding on top of the section's */
.section-location .location-accordion {
  padding-top: 1rem;
}

.section-location .location-accordion {
  flex: 1 1 auto;
}

/* the map keeps its own proportions and sits centred in the column,
   so the two columns still line up without stretching the artwork */
.location-map {
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  height: 100%;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  background: linear-gradient(150deg, #ffffff 0%, var(--ark-mint) 100%);
  border: 1px solid rgba(0, 168, 89, 0.18);
  box-shadow: var(--ark-shadow-soft);
  transition: box-shadow 0.6s var(--ark-ease), transform 0.6s var(--ark-ease);
}

.location-map a {
  display: block;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
}

.location-map img {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.9s var(--ark-ease);
}

.location-map:hover {
  transform: translateY(-5px);
  box-shadow: var(--ark-shadow-lift);
}

.location-map:hover img {
  transform: scale(1.05);
}

/* --------------------------------------------------------------------------
   12. About / contact / footer
   -------------------------------------------------------------------------- */

.about-img {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--ark-shadow-soft);
  transition: transform 0.7s var(--ark-ease), box-shadow 0.7s var(--ark-ease);
}

.about-img img {
  transition: transform 1s var(--ark-ease);
}

.about-img:hover {
  transform: translateY(-6px);
  box-shadow: var(--ark-shadow-lift);
}

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

.ark-contact-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.15rem 1.25rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 168, 89, 0.16);
  transition: transform 0.5s var(--ark-ease), box-shadow 0.5s var(--ark-ease),
    border-color 0.5s var(--ark-ease);
}

.ark-contact-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 168, 89, 0.4);
  box-shadow: var(--ark-shadow-lift);
}

.ark-contact-card .ark-leaf {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ark-mint);
  border: 1px solid rgba(0, 168, 89, 0.28);
  transition: background 0.5s var(--ark-ease), border-color 0.5s var(--ark-ease);
}

.ark-contact-card:hover .ark-leaf {
  background: var(--ark-green);
  border-color: var(--ark-green);
}

.ark-contact-card .ark-leaf img {
  width: 19px;
  transition: filter 0.5s var(--ark-ease);
}

.ark-contact-card:hover .ark-leaf img {
  filter: brightness(0) invert(1);
}

.ark-contact-card strong {
  display: block;
  color: var(--ark-teal);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.ark-contact-card a,
.ark-contact-card p {
  color: var(--text-color);
  text-decoration: none;
  font-size: 0.98rem;
  margin: 0;
  transition: color 0.4s var(--ark-ease);
}

.ark-contact-card a:hover {
  color: var(--ark-green);
}

/* keep the enquiry block clear of the footer */
section.section-contact {
  padding-bottom: 5rem;
}

.contact-container {
  border-radius: 22px;
  margin-bottom: 1.5rem;
  padding: 3rem 2rem;
  background: linear-gradient(150deg, #0c3a41 0%, #155059 55%, #0f4a3a 100%);
  box-shadow: var(--ark-shadow-lift);
  position: relative;
  overflow: hidden;
}

/* the reference framed this block with a red ornament — the leaf field replaces it */
.contact-container::after {
  display: none !important;
}

.contact-container::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.20;
  pointer-events: none;
  background: url("../assets/images/arkala/overlay/leaf-pattern-lime.png") repeat
    center center;
  background-size: 130px 260px;
}

.contact-container .section-subtitle {
  color: #fff !important;
  position: relative;
}

.contact-container .contact-form {
  position: relative;
}

footer {
  background: linear-gradient(150deg, #072a30 0%, #0c3a41 60%, #103f36 100%);
  color: rgba(255, 255, 255, 0.78);
  position: relative;
}

footer::after {
  display: none !important;
}

footer p,
footer .disc,
footer .created p {
  color: rgba(255, 255, 255, 0.75);
}

footer .disc strong {
  color: var(--ark-lime);
}

footer hr {
  border-color: rgba(255, 255, 255, 0.16);
}

footer a {
  color: var(--ark-lime);
  text-decoration: none;
  transition: color 0.4s var(--ark-ease);
}

footer a:hover {
  color: var(--ark-lime-bright);
}

.ark-footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 2rem;
  margin-bottom: 1.75rem;
}

.ark-footer-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.ark-footer-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  border-radius: 100px;
  background: var(--ark-lime);
  transform: scaleX(0);
  transition: transform 0.45s var(--ark-ease);
}

.ark-footer-nav a:hover::after {
  transform: scaleX(1);
}

.ark-footer-logo {
  width: 170px;
  margin: 0 auto 1.5rem auto;
  display: block;
  transition: transform 0.6s var(--ark-ease);
}

.ark-footer-logo:hover {
  transform: translateY(-3px) scale(1.02);
}

/* --------------------------------------------------------------------------
   13. Modal
   -------------------------------------------------------------------------- */

.custom-modal-content {
  border-radius: 20px !important;
  overflow: hidden;
  border: 1px solid rgba(0, 168, 89, 0.2) !important;
  background: linear-gradient(
    170deg,
    #ffffff 0%,
    var(--ark-mint) 100%
  ) !important;
}

/* drop the cherry-blossom motifs of the reference modal */
.custom-modal-content::before,
.custom-modal-content::after {
  display: none !important;
}

.custom-modal-content {
  padding: 0 0 0.5rem 0 !important;
}

.custom-modal-content .modal-logo {
  width: 100% !important;
  max-width: none !important;
  margin: 0 0 1.25rem 0 !important;
  background: linear-gradient(120deg, #0c3a41, #155059);
  padding: 0.8rem 1rem;
  text-align: center;
}

.custom-modal-content .modal-logo img {
  width: 108px;
  height: auto;
}

.custom-modal-content .modal-body {
  padding: 0 1.5rem 1rem 1.5rem;
}

.custom-modal-content .modal-close {
  top: 1rem;
  right: 1rem;
}

.custom-modal-content .modal-close img {
  filter: brightness(0) invert(1) !important;
}

.modal-close {
  transition: transform 0.45s var(--ark-ease);
}

.modal-close:hover {
  transform: rotate(90deg);
}

/* --------------------------------------------------------------------------
   14. Small screens
   -------------------------------------------------------------------------- */

@media (max-width: 991px) {
  .navbar-container {
    padding: 0.5rem 1.25rem;
  }

  /* gallery tabs wrap instead of running off the edge */
  .custom-nav.custom-nav-tabs {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
  }

  .location-map {
    min-height: 260px;
  }

  /* this container has no gutter of its own, so the row's negative margins
     pulled the heading and accordion off the left edge — absorb them here */
  .location-container {
    width: 100%;
    padding-left: 24px;
    padding-right: 24px;
  }

  .section-location .loc-back {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .contact-container {
    padding: 2rem 1rem;
  }

  section.section-contact {
    padding-bottom: 3rem;
  }

  .ark-frame iframe {
    height: 260px;
  }

  .overview-form {
    padding: 2rem 1.25rem !important;
  }

  .form-title {
    font-size: 1.25rem !important;
  }
}

@media (max-width: 991px) {
  /* overlays shrink so they stay decorative, never crowding the copy */
  .ark-overlay {
    width: 26vw;
    max-width: 190px;
    min-width: 90px;
    opacity: 0.24;
  }

  .ark-overlay.is-leaf {
    width: 9vw;
    max-width: 52px;
    min-width: 28px;
  }

  /* the leaf tile is sized for a desktop canvas — scale it to the screen */
  .texture-pattern::after {
    background-size: 150px 150px !important;
  }

  section.section-overview,
  section.section-config,
  section.section-amenities,
  section.section-gallery,
  section.section-location,
  section.section-about,
  section.section-contact {
    padding-top: 3.5rem;
  }

  .location-map {
    padding: 8px;
  }

  /* the bigger web-view arrows would crowd a phone screen */
  .gal-carousel .owl-nav button {
    width: 44px !important;
    height: 44px !important;
  }

  .gal-carousel .owl-nav button img {
    width: 19px !important;
    height: 19px !important;
  }
}

@media (max-width: 575px) {
  .texture-pattern::after {
    background-size: 115px 115px !important;
  }

  /* on phones only the small leaves stay — branches crowd the copy */
  .ark-overlay:not(.is-leaf) {
    display: none;
  }
}

@media (max-width: 767px) {
  /* the desktop rhythm leaves huge gaps on a phone — tighten top and bottom */
  section.section-overview,
  section.section-config,
  section.section-amenities,
  section.section-gallery,
  section.section-location,
  section.section-about,
  section.section-contact {
    padding-top: 2.25rem !important;
    padding-bottom: 2.25rem !important;
  }

  .about-main-content {
    margin-top: 1.5rem;
  }

  .overview-main-content,
  .contact-container {
    margin-top: 0;
  }

  .section-heading {
    margin-bottom: 0.5rem;
  }

  .config-about-img {
    max-height: 400px;
  }

  /* keep only the corner accents on phones */
  .ark-overlay.is-leaf.ark-leaf-b,
  .ark-overlay.is-leaf.ark-leaf-c {
    display: none;
  }

  .ark-overlay {
    width: 30vw;
    max-width: 150px;
    opacity: 0.2;
  }

  .gal_image {
    padding: 10px;
  }

  .ark-amenity-cap {
    padding: 0.85rem 0.9rem;
  }

  .ark-highlight {
    padding: 0.9rem 1rem;
  }
}

/* --------------------------------------------------------------------------
   15. Reduced motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .ark-overlay {
    animation: none !important;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
