:root {
  --sv-forest: #14342b;
  --sv-moss: #2c5545;
  --sv-sage: #8ba888;
  --sv-sage-soft: #c9d7c1;
  --sv-cream: #f4efe4;
  --sv-parchment: #fbf8f0;
  --sv-gold: #c9a24b;
  --sv-gold-deep: #94701f;
  --sv-charcoal: #1f231e;
  --sv-stone: #565a52;
  --sv-line: rgba(31, 35, 30, 0.12);
  --sv-shadow: 0 28px 60px rgba(20, 52, 43, 0.16);
  --sv-shadow-soft: 0 12px 32px rgba(20, 52, 43, 0.1);
  --sv-radius: 18px;
  --sv-radius-sm: 12px;
  --sv-font-display: Georgia, 'Palatino Linotype', 'Book Antiqua', serif;
  --sv-font-body: 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --sv-transition: 240ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sv-font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--sv-charcoal);
  background-color: var(--sv-parchment);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--sv-font-display);
  color: var(--sv-forest);
  line-height: 1.2;
  margin: 0 0 1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }

p { margin: 0 0 1.1rem; }

a {
  color: var(--sv-moss);
  text-decoration: none;
  transition: color var(--sv-transition);
}

a:hover,
a:focus-visible {
  color: var(--sv-gold-deep);
}

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

.container-wide {
  width: min(1240px, 92vw);
  margin: 0 auto;
}

.container-narrow {
  width: min(820px, 92vw);
  margin: 0 auto;
}

.sv-muted { color: var(--sv-stone); }
.section-block--dark .sv-muted,
.section-block--image .sv-muted { color: var(--sv-sage-soft); }

.btn-leaf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.9rem;
  border-radius: 999px;
  font-family: var(--sv-font-body);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1.5px solid transparent;
  background: var(--sv-forest);
  color: var(--sv-parchment);
  cursor: pointer;
  transition: transform var(--sv-transition), box-shadow var(--sv-transition),
    background var(--sv-transition), color var(--sv-transition), border-color var(--sv-transition);
}

.btn-leaf:hover,
.btn-leaf:focus-visible {
  background: var(--sv-moss);
  color: var(--sv-parchment);
  transform: translateY(-2px);
  box-shadow: var(--sv-shadow-soft);
}

.btn-leaf--ghost {
  background: transparent;
  color: var(--sv-forest);
  border-color: var(--sv-forest);
}

.btn-leaf--ghost:hover,
.btn-leaf--ghost:focus-visible {
  background: var(--sv-forest);
  color: var(--sv-parchment);
}

.btn-leaf--gold {
  background: var(--sv-gold);
  color: var(--sv-charcoal);
}

.btn-leaf--gold:hover,
.btn-leaf--gold:focus-visible {
  background: var(--sv-gold-deep);
  color: var(--sv-parchment);
}

.btn-leaf--white {
  background: var(--sv-parchment);
  color: var(--sv-forest);
}

.btn-leaf--white:hover,
.btn-leaf--white:focus-visible {
  background: var(--sv-sage-soft);
  color: var(--sv-forest);
}

header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(251, 248, 240, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: box-shadow var(--sv-transition), background var(--sv-transition);
}

header.is-scrolled {
  background: rgba(251, 248, 240, 0.98);
  box-shadow: 0 12px 40px rgba(20, 52, 43, 0.12);
}

header .navbar-brand {
  font-family: var(--sv-font-display);
  font-size: 1.5rem;
  color: var(--sv-forest);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--sv-charcoal);
  padding: 0.6rem 0.9rem;
  position: relative;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.15rem;
  height: 2px;
  background: var(--sv-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--sv-transition);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link:focus-visible::after,
.navbar-nav .nav-link.is-active::after {
  transform: scaleX(1);
}

.header-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  font-size: 0.85rem;
  color: var(--sv-stone);
}

.header-contact a { color: var(--sv-stone); }
.header-contact a:hover { color: var(--sv-moss); }

.hero-garden {
  position: relative;
  min-height: clamp(520px, 82vh, 860px);
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--sv-parchment);
  padding: clamp(5rem, 10vw, 8rem) 0;
}

.hero-garden::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 26, 21, 0.32), rgba(10, 26, 21, 0.74));
  z-index: 1;
}

.hero-garden > .container-wide,
.hero-garden > .container {
  position: relative;
  z-index: 2;
}

.hero-garden__title {
  font-size: clamp(2.6rem, 5.6vw, 4.6rem);
  color: var(--sv-parchment);
  margin-bottom: 1.4rem;
  max-width: 16ch;
}

.hero-garden__lead {
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  color: rgba(251, 248, 240, 0.9);
  max-width: 56ch;
  margin-bottom: 2rem;
}

.hero-garden__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.section-block {
  position: relative;
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}

.section-block--cream { background: var(--sv-cream); }
.section-block--parchment { background: var(--sv-parchment); }

.section-block--dark {
  background: var(--sv-forest);
  color: var(--sv-sage-soft);
}

.section-block--dark h2,
.section-block--dark h3,
.section-block--dark h4 { color: var(--sv-parchment); }

.section-block--image {
  color: var(--sv-parchment);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.section-block--image h2,
.section-block--image h3,
.section-block--image h4 { color: var(--sv-parchment); }

.section-head {
  max-width: 720px;
  margin: 0 auto clamp(2.2rem, 4vw, 3.4rem);
  text-align: center;
}

.section-head--left {
  margin-left: 0;
  text-align: left;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sv-gold-deep);
  margin-bottom: 0.8rem;
  font-weight: 700;
}

.section-block--dark .section-eyebrow,
.section-block--image .section-eyebrow { color: var(--sv-gold); }

.section-lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--sv-stone);
  max-width: 640px;
}

.section-block--dark .section-lead,
.section-block--image .section-lead { color: var(--sv-sage-soft); }

.plot-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--sv-parchment);
  border-radius: var(--sv-radius);
  overflow: hidden;
  box-shadow: var(--sv-shadow-soft);
  transition: transform var(--sv-transition), box-shadow var(--sv-transition);
}

.plot-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sv-shadow);
}

.plot-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.plot-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.plot-card:hover .plot-card__media img { transform: scale(1.05); }

.plot-card__body {
  padding: 1.6rem 1.5rem 1.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex-grow: 1;
}

.plot-card__title {
  font-family: var(--sv-font-display);
  font-size: 1.35rem;
  margin: 0;
  color: var(--sv-forest);
}

.plot-card__text {
  color: var(--sv-stone);
  margin: 0;
  flex-grow: 1;
}

.plot-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--sv-moss);
  font-size: 0.95rem;
}

.plot-card__link:hover { color: var(--sv-gold-deep); }

.grove-stat {
  text-align: center;
  padding: 1.2rem 0.8rem;
}

.grove-stat__value {
  font-family: var(--sv-font-display);
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  color: var(--sv-gold-deep);
  line-height: 1;
  display: block;
  margin-bottom: 0.4rem;
}

.section-block--dark .grove-stat__value,
.section-block--image .grove-stat__value { color: var(--sv-gold); }

.grove-stat__label {
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sv-stone);
}

.section-block--dark .grove-stat__label,
.section-block--image .grove-stat__label { color: var(--sv-sage-soft); }

.walkthrough {
  display: grid;
  gap: 1rem;
}

.walkthrough__step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.2rem;
  align-items: start;
  padding: 1.2rem 1.35rem;
  background: var(--sv-parchment);
  border-radius: var(--sv-radius);
  box-shadow: var(--sv-shadow-soft);
}

.walkthrough__index {
  font-family: var(--sv-font-display);
  font-size: 1.6rem;
  color: var(--sv-gold-deep);
  line-height: 1;
}

.walkthrough__title {
  font-family: var(--sv-font-display);
  margin: 0 0 0.25rem;
  color: var(--sv-forest);
  font-size: 1.15rem;
}

.walkthrough__text {
  margin: 0;
  color: var(--sv-stone);
  font-size: 0.95rem;
}

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

.gardener-card__photo {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--sv-radius);
  margin-bottom: 1rem;
}

.gardener-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gardener-card__name {
  font-family: var(--sv-font-display);
  font-size: 1.2rem;
  margin: 0 0 0.15rem;
  color: var(--sv-forest);
}

.gardener-card__role {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sv-gold-deep);
  margin: 0;
}

.gallery-plot {
  position: relative;
  overflow: hidden;
  border-radius: var(--sv-radius);
  aspect-ratio: 4 / 3;
}

.gallery-plot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.gallery-plot:hover img { transform: scale(1.05); }

.gallery-plot__caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 1rem 1.1rem;
  background: linear-gradient(rgba(10, 26, 21, 0), rgba(10, 26, 21, 0.86));
  color: var(--sv-parchment);
  font-size: 0.9rem;
}

.form-garden {
  background: var(--sv-parchment);
  border-radius: var(--sv-radius);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  box-shadow: var(--sv-shadow-soft);
}

.form-garden .form-label {
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sv-forest);
  margin-bottom: 0.4rem;
}

.form-garden .form-control,
.form-garden .form-select {
  border-radius: var(--sv-radius-sm);
  border: 1.5px solid var(--sv-line);
  padding: 0.85rem 1rem;
  font-size: 1rem;
  background: var(--sv-cream);
  color: var(--sv-charcoal);
}

.form-garden .form-control:focus,
.form-garden .form-select:focus {
  border-color: var(--sv-moss);
  box-shadow: 0 0 0 3px rgba(44, 85, 69, 0.16);
  background: #fff;
}

.form-garden .form-control::placeholder { color: #7b7f74; }
.form-garden .btn-leaf { width: 100%; }
.form-garden .btn-leaf.is-submitting { opacity: 0.7; pointer-events: none; }

.faq-garden .accordion-item {
  border: 1px solid var(--sv-line);
  border-radius: var(--sv-radius-sm);
  margin-bottom: 0.8rem;
  overflow: hidden;
  background: var(--sv-parchment);
}

.faq-garden .accordion-button {
  font-family: var(--sv-font-display);
  font-size: 1.08rem;
  color: var(--sv-forest);
  background: var(--sv-parchment);
}

.faq-garden .accordion-button:not(.collapsed) {
  background: var(--sv-cream);
  color: var(--sv-moss);
  box-shadow: none;
}

.faq-garden .accordion-button:focus {
  box-shadow: 0 0 0 3px rgba(44, 85, 69, 0.16);
}

.faq-garden .accordion-body {
  color: var(--sv-stone);
  background: var(--sv-parchment);
}

.footer-grove {
  background: var(--sv-forest);
  color: var(--sv-sage-soft);
  padding: clamp(3rem, 6vw, 5rem) 0 2rem;
}

.footer-grove a { color: var(--sv-sage-soft); }
.footer-grove a:hover { color: var(--sv-gold); }

.footer-grove__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.footer-grove__title {
  font-family: var(--sv-font-body);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sv-gold);
  margin-bottom: 1.1rem;
}

.footer-grove__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
}

.footer-grove__meta {
  font-size: 0.85rem;
  color: rgba(201, 215, 193, 0.74);
}

.footer-grove__divider {
  border-color: rgba(201, 215, 193, 0.18);
  margin: 2.4rem 0 1.4rem;
}

.footer-grove__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(201, 215, 193, 0.66);
}

.stimavi-cookie {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  width: min(960px, calc(100vw - 2rem));
  z-index: 1080;
  animation: svCookieRise 480ms cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.stimavi-cookie__panel {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.4rem;
  background: var(--sv-parchment);
  border: 1.5px solid var(--sv-sage);
  border-radius: 22px;
  padding: 1.4rem 1.6rem;
  box-shadow: 0 30px 70px rgba(20, 52, 43, 0.32);
}

.stimavi-cookie__panel::before {
  content: "";
  position: absolute;
  inset-inline-start: 1.6rem;
  top: -6px;
  width: 44px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--sv-moss), var(--sv-gold));
  opacity: 0.85;
}

.stimavi-cookie__copy { flex: 1 1 320px; }

.stimavi-cookie__title {
  font-family: var(--sv-font-display);
  font-size: 1.15rem;
  color: var(--sv-forest);
  margin: 0 0 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.stimavi-cookie__title i { color: var(--sv-moss); }

.stimavi-cookie__text {
  margin: 0;
  font-size: 0.92rem;
  color: var(--sv-stone);
  line-height: 1.55;
}

.stimavi-cookie__link {
  color: var(--sv-forest);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--sv-gold);
  text-underline-offset: 3px;
}

.stimavi-cookie__link:hover { color: var(--sv-moss); }

.stimavi-cookie__actions {
  display: flex;
  gap: 0.7rem;
  flex: 0 0 auto;
}

.stimavi-cookie__accept,
.stimavi-cookie__decline {
  border-radius: 999px;
  padding: 0.68rem 1.4rem;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1.5px solid transparent;
  font-family: var(--sv-font-body);
  white-space: nowrap;
  transition: background var(--sv-transition), color var(--sv-transition),
    border-color var(--sv-transition), transform var(--sv-transition);
}

.stimavi-cookie__accept {
  background: var(--sv-forest);
  color: var(--sv-parchment);
}

.stimavi-cookie__accept:hover,
.stimavi-cookie__accept:focus-visible {
  background: var(--sv-moss);
  transform: translateY(-1px);
}

.stimavi-cookie__decline {
  background: transparent;
  color: var(--sv-forest);
  border-color: var(--sv-forest);
}

.stimavi-cookie__decline:hover,
.stimavi-cookie__decline:focus-visible {
  background: var(--sv-cream);
  border-color: var(--sv-moss);
  color: var(--sv-moss);
}

.stimavi-cookie--leaving {
  animation: svCookieFade 320ms ease forwards;
}

@keyframes svCookieRise {
  from { opacity: 0; transform: translateX(-50%) translateY(24px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

@keyframes svCookieFade {
  to { opacity: 0; transform: translateX(-50%) translateY(20px); }
}

@media (max-width: 991.98px) {
  .header-contact { font-size: 0.8rem; gap: 0.7rem; }
}

@media (max-width: 767.98px) {
  .stimavi-cookie { bottom: 0.75rem; width: calc(100vw - 1rem); }
  .stimavi-cookie__panel { padding: 1.2rem 1.15rem; border-radius: 18px; }
  .stimavi-cookie__panel::before { inset-inline-start: 1.15rem; }
  .stimavi-cookie__actions { width: 100%; }
  .stimavi-cookie__accept,
  .stimavi-cookie__decline { flex: 1 1 0; text-align: center; }
  .hero-garden { min-height: 78vh; }
  .walkthrough__step { grid-template-columns: 1fr; gap: 0.5rem; }
  .footer-grove__bottom { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* QA_STEP_CARD_GRID_FIX .walkthrough:has(> .walkthrough__step) */
@media(min-width:992px){.walkthrough:has(> .walkthrough__step){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem}.walkthrough:has(> .walkthrough__step)>:not(.walkthrough__step){grid-column:1/-1}.walkthrough:has(> .walkthrough__step)>.walkthrough__step{width:100%;max-width:100%;min-width:0}}

/* QA_CONTRAST_FIX about page: eyebrow + role labels on light backgrounds need >=4.5:1 */
.section-eyebrow { color: #7a5a15; }
.gardener-card__role { color: #7a5a15; }
.walkthrough__index { color: #7a5a15; }
.grove-stat__value { color: #7a5a15; }

/* hero eyebrow sits on a dark photo overlay - use a light gold instead of deep gold */
.hero-garden .section-eyebrow { color: #f0d79a; }

/* ghost buttons inside dark sections were dark-on-dark (invisible) */
.section-block--dark .btn-leaf--ghost,
.section-block--image .btn-leaf--ghost {
  color: #fbf8f0;
  border-color: rgba(251, 248, 240, 0.7);
}
.section-block--dark .btn-leaf--ghost:hover,
.section-block--dark .btn-leaf--ghost:focus-visible,
.section-block--image .btn-leaf--ghost:hover,
.section-block--image .btn-leaf--ghost:focus-visible {
  background: #fbf8f0;
  color: #14342b;
  border-color: #fbf8f0;
}

/* keep AOS scroll-reveal sliding, but never leave text at low opacity
   (rendered contrast checks measured mid-animation transparent text) */
[data-aos] { opacity: 1 !important; }

/* QA_CONTRAST_FIX: darker eyebrow/role gold on light backgrounds (>=4.5:1) */
.section-eyebrow,
.gardener-card__role {
  color: #7a5a12;
}

/* Gold eyebrow on light cream/parchment blocks keeps good contrast */
.section-block--cream .section-eyebrow,
.section-block--parchment .section-eyebrow {
  color: #7a5a12;
}

/* Light eyebrow gold on dark/hero backgrounds */
.hero-garden .section-eyebrow {
  color: #f6e7bd;
}

.section-block--dark .section-eyebrow,
.section-block--image .section-eyebrow {
  color: #ecd8a4;
}

/* QA_CONTRAST_FIX: ghost button must be visible on dark sections */
.section-block--dark .btn-leaf--ghost,
.section-block--image .btn-leaf--ghost,
.hero-garden .btn-leaf--ghost {
  color: #f4efe4;
  border-color: #f4efe4;
}

.section-block--dark .btn-leaf--ghost:hover,
.section-block--dark .btn-leaf--ghost:focus-visible,
.section-block--image .btn-leaf--ghost:hover,
.section-block--image .btn-leaf--ghost:focus-visible,
.hero-garden .btn-leaf--ghost:hover,
.hero-garden .btn-leaf--ghost:focus-visible {
  background: #f4efe4;
  color: #14342b;
  border-color: #f4efe4;
}

/* QA_STABILITY_FIX: keep AOS targets fully opaque so text contrast is never
   measured half-faded and content stays readable without JS/animations. */
[data-aos],
[data-aos].aos-animate {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
  visibility: visible !important;
}

/* QA_CONTRAST_FIX: h1 inside dark/image sections inherited the forest green heading color
   (#14342b) on a #14342b background, producing a 1:1 ratio. Use the light parchment tone. */
.section-block--dark > .container-wide h1,
.section-block--dark > .container-narrow h1,
.section-block--dark > .container h1,
.section-block--image > .container-wide h1,
.section-block--image > .container-narrow h1,
.section-block--image > .container h1,
.section-block--dark .section-head h1,
.section-block--image .section-head h1 {
  color: #fbf8f0;
}

/* Legal pages: keep the long policy copy comfortable to read inside the card */
.section-block--parchment .plot-card__body h2 {
  color: #14342b;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  margin-top: 1.6rem;
}

.section-block--parchment .plot-card__body h2:first-child {
  margin-top: 0;
}

.section-block--parchment .plot-card__body ul {
  padding-left: 1.25rem;
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1.1rem;
  color: #565a52;
}

/* QA_CONTRAST_FIX: page titles (h1) inside dark/hero image sections inherited the
   dark forest color and became invisible on the dark background. */
.section-block--dark h1,
.section-block--image h1 {
  color: var(--sv-parchment);
}

/* QA_FIX_HOME: solid dark fallback behind the hero photo so light hero text
   always has a dark backdrop (also survives a missing/slow background image) */
.hero-garden {
  background-color: #14342b;
}

/* QA_FIX_HOME: placeholder text in the contact form needs >=4.5:1 on the cream field */
.form-garden .form-control::placeholder,
.form-garden .form-select::placeholder {
  color: #5a5e53;
  opacity: 1;
}
.form-garden textarea.form-control::placeholder {
  color: #5a5e53;
  opacity: 1;
}

/* QA_FIX_SERVICE: links inside dark sections inherited the dark moss green
   (#2c5545) which sits on the forest background at ~1.6:1. Use light tones. */
.section-block--dark a:not(.btn-leaf),
.section-block--image a:not(.btn-leaf) {
  color: #e9e0c8;
}
.section-block--dark a:not(.btn-leaf):hover,
.section-block--dark a:not(.btn-leaf):focus-visible,
.section-block--image a:not(.btn-leaf):hover,
.section-block--image a:not(.btn-leaf):focus-visible {
  color: #f6e7bd;
}

/* QA_FIX_SERVICE: grove-stat labels inside narrow plot cards ("κήποι
   ολοκληρωμένοι") were clipped horizontally by the card overflow. */
.plot-card .grove-stat {
  padding: 1rem 0.5rem;
}

.plot-card .grove-stat__label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  line-height: 1.45;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
}

.plot-card:has(> .plot-card__body > .grove-stat) .plot-card__body {
  padding: 1rem 0.75rem;
}

@media (max-width: 575.98px) {
  .plot-card .grove-stat {
    padding: 0.7rem 0.3rem;
  }

  .plot-card .grove-stat__label {
    font-size: 0.7rem;
    letter-spacing: 0.03em;
  }

  .plot-card:has(> .plot-card__body > .grove-stat) .plot-card__body {
    padding: 0.6rem 0.35rem;
  }
}

/* QA_CONTRAST_FIX_SERVICE: mailto link inside the dark contact block used the
   global moss green (#2c5545) on the forest background (#14342b) -> 1.6:1.
   Use the light parchment tone (and light gold on hover) instead. */
.section-block--dark a[href^="mailto:"],
.section-block--image a[href^="mailto:"] {
  color: #f4efe4;
  text-decoration: underline;
  text-decoration-color: rgba(244, 239, 228, 0.45);
  text-underline-offset: 3px;
}

.section-block--dark a[href^="mailto:"]:hover,
.section-block--dark a[href^="mailto:"]:focus-visible,
.section-block--image a[href^="mailto:"]:hover,
.section-block--image a[href^="mailto:"]:focus-visible {
  color: #ecd8a4;
  text-decoration-color: #ecd8a4;
}

/* QA_FIX_FORM_STATUS: inline confirmation shown after an on-page form submit */
.form-garden .form-status-note {
  margin: 1rem 0 0;
  padding: 0.9rem 1.1rem;
  border-radius: 12px;
  background: #e7efe3;
  border: 1.5px solid #2c5545;
  color: #14342b;
  font-size: 0.95rem;
  font-weight: 600;
}

/* QA_FIX_HERO_MOBILE: hero headline was oversized on small viewports, so long
   Greek words overflowed the container and the last line was cut off at the
   viewport edge / hidden behind the fixed cookie banner. Scale the headline to
   the viewport, allow wrapping, and give the hero enough room plus safe padding. */
.hero-garden {
  padding-left: 0;
  padding-right: 0;
}

.hero-garden > .container,
.hero-garden > .container-wide {
  min-width: 0;
  padding-left: 1rem;
  padding-right: 1rem;
}

.hero-garden__title {
  font-size: clamp(1.65rem, 8.2vw, 4.6rem);
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
  line-height: 1.18;
}

.hero-garden__lead {
  max-width: 100%;
  overflow-wrap: break-word;
}

@media (max-width: 767.98px) {
  .hero-garden {
    /* extra bottom space so the fixed cookie banner never covers hero copy */
    padding-top: 3rem;
    padding-bottom: 2.5rem;
    min-height: 0;
  }
}

/* QA_FIX_FOOTER_GAP: the 21:9 map embed inside .footer-grove reserved a very tall
   fixed aspect ratio even when the iframe was empty/unloaded, leaving a huge blank
   strip between the link columns and the legal/contact lines. Cap the map height so
   the footer bottom block stays close to the content, on all viewports. */
.footer-grove .ratio.ratio-21x9 {
  max-height: 240px;
}

.footer-grove .ratio.ratio-21x9 > iframe {
  border: 0;
  display: block;
  width: 100%;
  height: 100%;
}

@media (max-width: 991.98px) {
  .footer-grove .ratio.ratio-21x9 {
    max-height: 200px;
  }
}

@media (max-width: 575.98px) {
  .footer-grove .ratio.ratio-21x9 {
    max-height: 160px;
  }
}

/* QA_FIX_FOOTER_GAP_2: the previous max-height alone did not shrink the 21:9 map
   box because the ratio row still computed its height from the aspect-ratio, so the
   footer kept a tall empty band when the map tiles did not load. Force the map
   container to a modest fixed height and let the iframe fill it. Mobile keeps a
   smaller height. */
.footer-grove .ratio.ratio-21x9 {
  aspect-ratio: auto;
  height: 220px;
  max-height: none;
  background-color: rgba(201, 215, 193, 0.08);
}

.footer-grove .ratio.ratio-21x9 > iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 991.98px) {
  .footer-grove .ratio.ratio-21x9 {
    height: 190px;
  }
}

@media (max-width: 575.98px) {
  .footer-grove .ratio.ratio-21x9 {
    height: 150px;
  }
}

/* QA_CONTRAST_FIX: walkthrough step cards render on a parchment card backdrop, but
   when the .walkthrough grid sits inside a dark/image section the rule
   `.section-block--dark h3 { color: var(--sv-parchment) }` turned the card titles
   into parchment-on-parchment (1:1). Re-assert the forest title color on the card
   only, so the palette stays intact and no global heading color changes. */
.walkthrough .walkthrough__step .walkthrough__title,
.section-block--dark .walkthrough .walkthrough__step .walkthrough__title,
.section-block--image .walkthrough .walkthrough__step .walkthrough__title {
  color: #14342b;
}

/* QA_CONTRAST_FIX_HOME: gallery figcaption text sat on the pale top half of its
   own gradient (rgba(10,26,21,0) -> 0.86), so multi-line captions reached only
   ~1.8:1 (parchment #fbf8f0 on a light mid-tone). Deepen the caption's local
   backdrop with the palette's forest tone and add a subtle text shadow so the
   parchment text keeps >=4.5:1 over any photo, without touching other text. */
.gallery-plot__caption {
  background: linear-gradient(
    rgba(10, 26, 21, 0.55) 0%,
    rgba(10, 26, 21, 0.82) 38%,
    rgba(10, 26, 21, 0.93) 100%
  );
  color: #fbf8f0;
  text-shadow: 0 1px 2px rgba(10, 26, 21, 0.85);
}
