/* Spring Meadows website. Colours are taken from the logo. */
:root {
  --sm-green: #5f6e24;
  --sm-green-dark: #48541a;
  --sm-green-light: #8a9a46;
  --sm-ink: #2d2d2d;
  --sm-muted: #5c5c56;
  --sm-cream: #f6f7ef;
  --sm-line: #e2e4d6;
  --sm-serif: Georgia, 'Times New Roman', serif;

  --bs-body-color: var(--sm-ink);
  --bs-body-bg: #ffffff;
  --bs-link-color-rgb: 72, 84, 26;
  --bs-link-hover-color-rgb: 47, 55, 17;
}

body {
  background: #ffffff;
  color: var(--sm-ink);
  font-size: 1.0625rem;
  line-height: 1.65;
}

h1, h2, h3, .display-5, .footer-brand {
  font-family: var(--sm-serif);
  color: var(--sm-ink);
  font-weight: 600;
}
h1 { font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.15; }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.2; margin-bottom: 1rem; }
h3 { font-size: 1.25rem; }

a { text-underline-offset: 0.15em; }

.skip-link {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 2000;
  background: #fff;
  padding: 0.5rem 1rem;
}

/* Buttons */
.btn-brand {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--sm-green);
  --bs-btn-border-color: var(--sm-green);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--sm-green-dark);
  --bs-btn-hover-border-color: var(--sm-green-dark);
  --bs-btn-active-bg: var(--sm-green-dark);
  --bs-btn-active-border-color: var(--sm-green-dark);
  --bs-btn-focus-shadow-rgb: 95, 110, 36;
  font-weight: 600;
}
.btn-outline-brand {
  --bs-btn-color: var(--sm-green-dark);
  --bs-btn-border-color: var(--sm-green);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--sm-green);
  --bs-btn-hover-border-color: var(--sm-green);
  --bs-btn-active-bg: var(--sm-green-dark);
  --bs-btn-focus-shadow-rgb: 95, 110, 36;
  font-weight: 600;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--sm-line);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 1030;
}
.navbar { padding-top: 0.6rem; padding-bottom: 0.6rem; }
.brand-text {
  font-family: var(--sm-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--sm-ink);
  line-height: 1.1;
  display: flex;
  flex-direction: column;
}
.brand-text small {
  font-family: system-ui, sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sm-muted);
  font-weight: 500;
}
.navbar .nav-link { color: var(--sm-ink); font-weight: 500; }
.navbar .nav-link:hover,
.navbar .nav-link.active { color: var(--sm-green-dark); }
.navbar .nav-link.active { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.4em; }
.dropdown-item:active { background: var(--sm-green); }

.breadcrumb-bar {
  background: var(--sm-cream);
  border-bottom: 1px solid var(--sm-line);
  font-size: 0.9rem;
  padding: 0.6rem 0;
}

/* Sections */
.section { padding: 4.5rem 0; }
.section-tight { padding: 3rem 0; }
.section-cream { background: var(--sm-cream); }
.section-green { background: var(--sm-green-dark); color: #fff; }
.section-green h2, .section-green h3 { color: #fff; }
.section-green a:not(.btn) { color: #fff; }
.lead { color: var(--sm-muted); font-weight: 400; }
.section-green .lead { color: rgba(255, 255, 255, 0.85); }
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--sm-green);
  margin-bottom: 0.75rem;
}
.section-green .eyebrow { color: #d6e09e; }
.measure { max-width: 46rem; }

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--sm-cream) 0%, #fff 100%);
  padding: 4.5rem 0 4rem;
  border-bottom: 1px solid var(--sm-line);
}
.hero .lead { font-size: 1.25rem; }
.hero-points { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.hero-points li { margin-bottom: 0.35rem; }
.hero-points i { color: var(--sm-green); width: 1.4rem; }
.hero-card {
  background: #fff;
  border: 1px solid var(--sm-line);
  border-radius: 1rem;
  padding: 1.75rem;
  box-shadow: 0 12px 30px rgba(72, 84, 26, 0.08);
}
.hero-card .stat { font-family: var(--sm-serif); font-size: 2rem; color: var(--sm-green-dark); line-height: 1; }
.hero-card hr { border-color: var(--sm-line); opacity: 1; }

.page-hero { padding: 3.5rem 0 3rem; background: var(--sm-cream); border-bottom: 1px solid var(--sm-line); }

/* Cards */
.feature-card {
  height: 100%;
  background: #fff;
  border: 1px solid var(--sm-line);
  border-radius: 0.85rem;
  padding: 1.5rem;
}
.feature-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.feature-card p:last-child, .feature-card ul:last-child { margin-bottom: 0; }
.feature-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--sm-cream);
  color: var(--sm-green-dark);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}
.tick-list { list-style: none; padding: 0; }
.tick-list li { position: relative; padding-left: 1.6rem; margin-bottom: 0.4rem; }
.tick-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0.05rem;
  color: var(--sm-green);
}
.badge-soon {
  font-size: 0.7rem;
  font-weight: 600;
  background: var(--sm-cream);
  color: var(--sm-green-dark);
  border: 1px solid var(--sm-line);
  vertical-align: middle;
}

/* Steps */
.steps { counter-reset: step; list-style: none; padding: 0; }
.steps > li { position: relative; padding-left: 3.5rem; margin-bottom: 1.75rem; }
.steps > li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--sm-green);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps h3 { margin-bottom: 0.35rem; }

/* Pricing */
.price-card {
  height: 100%;
  border: 1px solid var(--sm-line);
  border-radius: 1rem;
  padding: 1.75rem 1.5rem;
  background: #fff;
  display: flex;
  flex-direction: column;
}
.price-card.featured { border: 2px solid var(--sm-green); box-shadow: 0 12px 30px rgba(72, 84, 26, 0.12); }
.price-card h3 { font-size: 1.2rem; margin-bottom: 0.2rem; }
.price-card .homes { color: var(--sm-muted); margin-bottom: 1rem; }
.price-card .price { font-family: var(--sm-serif); font-size: 2.4rem; color: var(--sm-ink); line-height: 1; }
.price-card .price small { font-family: system-ui, sans-serif; font-size: 0.95rem; color: var(--sm-muted); }
.price-card .per-home { font-size: 0.9rem; color: var(--sm-muted); min-height: 1.5rem; }
.price-card .btn { margin-top: auto; }
.popular-tag {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  background: var(--sm-green);
  border-radius: 999px;
  padding: 0.15rem 0.7rem;
  margin-bottom: 0.75rem;
}

/* Comparison table */
.compare-table th, .compare-table td { padding: 0.8rem; vertical-align: top; }
.compare-table thead th { background: var(--sm-cream); font-family: var(--sm-serif); }

/* FAQs */
.faq-list { border-top: 1px solid var(--sm-line); }
.faq-item { border-bottom: 1px solid var(--sm-line); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 2.5rem 1.1rem 0;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "\2b";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 0.5rem;
  top: 1.15rem;
  color: var(--sm-green);
  transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-question { font-family: inherit; font-size: 1.05rem; font-weight: 600; margin: 0; display: inline; }
.faq-answer { padding: 0 0 1rem; color: var(--sm-muted); }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-item summary:focus-visible { outline: 2px solid var(--sm-green); outline-offset: 2px; }

/* Article / guide */
.article h2 { margin-top: 2.75rem; scroll-margin-top: 6rem; }
.article h3 { margin-top: 1.75rem; }
.toc {
  background: var(--sm-cream);
  border: 1px solid var(--sm-line);
  border-radius: 0.85rem;
  padding: 1.25rem 1.5rem;
}
.toc ol { margin-bottom: 0; padding-left: 1.2rem; }
.toc li { margin-bottom: 0.3rem; }
@media (min-width: 992px) {
  .toc-sticky { position: sticky; top: 6.5rem; }
}
.callout {
  border-left: 4px solid var(--sm-green);
  background: var(--sm-cream);
  padding: 1.1rem 1.35rem;
  border-radius: 0 0.6rem 0.6rem 0;
  margin: 1.5rem 0;
}
.callout p:last-child { margin-bottom: 0; }
.pull-quote {
  font-family: var(--sm-serif);
  font-size: 1.35rem;
  line-height: 1.45;
  color: var(--sm-green-dark);
  border-left: 4px solid var(--sm-green-light);
  padding-left: 1.25rem;
  margin: 2rem 0;
}

/* Contact */
.contact-card {
  height: 100%;
  border: 1px solid var(--sm-line);
  border-radius: 0.85rem;
  padding: 1.5rem;
  background: #fff;
}
.email-big { font-size: 1.15rem; font-weight: 600; word-break: break-word; }

/* CTA band */
.cta-band { padding: 3.5rem 0; background: var(--sm-green-dark); color: #fff; }
.cta-band h2 { color: #fff; }
.cta-band .btn-light { color: var(--sm-green-dark); font-weight: 600; }

/* Footer */
.site-footer {
  background: #23261a;
  color: #cfd2c2;
  padding: 3.5rem 0 2rem;
  font-size: 0.95rem;
}
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-brand { color: #fff; font-size: 1.4rem; margin-bottom: 0.75rem; }
.footer-heading {
  font-family: system-ui, sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #a9ae94;
  margin-bottom: 0.9rem;
}
.footer-links li { margin-bottom: 0.4rem; }
.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  font-size: 0.85rem;
  color: #a9ae94;
}

@media (max-width: 575.98px) {
  .section { padding: 3rem 0; }
  .hero { padding: 3rem 0; }
}
.text-brand { color: var(--sm-green) !important; }

/* Pricing calculator */
.price-calculator {
  max-width: 44rem;
  background: var(--sm-cream);
  border: 1px solid var(--sm-line);
  border-radius: 1rem;
  padding: 1.75rem;
}
.calc-result { font-size: 1.15rem; min-height: 3.5rem; }
.calc-result strong { font-family: var(--sm-serif); font-size: 1.6rem; color: var(--sm-green-dark); }
.price-card .price-unit { font-size: 0.95rem; font-weight: 600; color: var(--sm-ink); }
.navbar .nav-link, .navbar .btn { white-space: nowrap; }
.section-green .feature-card h3 { color: var(--sm-ink); }
.section-green .btn-light { color: var(--sm-green-dark); font-weight: 600; }

/* Photo hero: the meadow photo, colour-boosted, under an olive gradient so the text stays readable. */
.hero-photo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #2b3016;
  color: #fff;
  border-bottom: 0;
  padding: 6rem 0 5.5rem;
}
.hero-photo::before,
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
}
.hero-photo::before {
  z-index: -2;
  background-image: url("/assets/img/meadow-1024.jpg");
  background-image: image-set(url("/assets/img/meadow-1024.webp") type("image/webp"), url("/assets/img/meadow-1024.jpg") type("image/jpeg"));
  background-size: cover;
  background-position: center 62%;
  filter: saturate(1.25) contrast(1.05);
  transform: scale(1.02);
}
@media (min-width: 1025px) {
  .hero-photo::before {
    background-image: url("/assets/img/meadow-1920.jpg");
    background-image: image-set(url("/assets/img/meadow-1920.webp") type("image/webp"), url("/assets/img/meadow-1920.jpg") type("image/jpeg"));
  }
}
.hero-photo::after {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(28, 32, 15, 0.93) 0%, rgba(40, 47, 19, 0.82) 42%, rgba(60, 70, 25, 0.30) 100%),
    linear-gradient(0deg, rgba(28, 32, 15, 0.55) 0%, rgba(28, 32, 15, 0) 35%);
}
@media (max-width: 991.98px) {
  .hero-photo::after { background: rgba(28, 32, 15, 0.82); }
}
.hero-photo h1 { color: #fff; }
.hero-photo .lead { color: rgba(255, 255, 255, 0.9); }
.hero-photo .eyebrow { color: #d6e09e; }
.hero-photo .hero-points i { color: #d6e09e; }
.hero-photo .hero-points a { color: #fff; }
.hero-photo .hero-card { box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35); }

/* Framed photo with caption */
.photo-frame { margin: 0; }
.photo-frame img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 14px 34px rgba(72, 84, 26, 0.18);
  filter: saturate(1.15);
}
.photo-frame figcaption {
  font-size: 0.9rem;
  color: var(--sm-muted);
  margin-top: 0.6rem;
}
.hero-photo .hero-card .eyebrow { color: var(--sm-green); }
