:root {
  --ink: #173127;
  --muted: #617467;
  --paper: #f5f8f0;
  --white: #ffffff;
  --leaf: #2d6c42;
  --deep: #123322;
  --sage: #dce8ce;
  --clay: #c07d4c;
  --line: rgba(23, 49, 39, .15);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

.wrap {
  width: min(1360px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--deep);
  border-bottom: 4px solid var(--clay);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.brand img {
  display: block;
  width: auto;
  height: 52px;
  max-width: min(270px, 44vw);
  object-fit: contain;
}

nav {
  display: flex;
  gap: 6px;
  padding: 6px;
  background: rgba(255, 255, 255, .08);
  border-radius: 999px;
}

nav a {
  padding: 8px 14px;
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
  border-radius: 999px;
}

nav a:hover,
nav a:focus {
  color: var(--deep);
  background: var(--sage);
}

.nav-toggle {
  display: none;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 8px;
  background: transparent;
}

.nav-toggle span {
  display: block;
  height: 3px;
  margin: 6px 9px;
  background: var(--white);
  border-radius: 999px;
}

main {
  flex: 1 0 auto;
  width: 100%;
}

.hero {
  position: relative;
  min-height: 700px;
  padding: 0;
  overflow: hidden;
  background: var(--deep);
}

.hero-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 700px;
  object-fit: cover;
  object-position: 58% center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(10, 44, 29, .94) 0%,
      rgba(14, 52, 34, .90) 24%,
      rgba(18, 51, 34, .72) 44%,
      rgba(18, 51, 34, .36) 65%,
      rgba(18, 51, 34, .08) 100%),
    linear-gradient(180deg, rgba(8, 35, 24, .12), rgba(8, 35, 24, .20));
}

.hero-inner {
  position: relative;
  z-index: 2;
  min-height: 700px;
  display: flex;
  align-items: center;
  padding-top: 68px;
  padding-bottom: 68px;
}

.hero-copy {
  width: min(820px, 66%);
}

.hero .eyebrow {
  color: #e3a46f;
}

.hero h1 {
  max-width: 820px;
  margin-bottom: 22px;
  color: var(--sage);
  font-size: clamp(50px, 5.3vw, 78px);
  line-height: .98;
  text-shadow: 0 3px 20px rgba(0,0,0,.18);
}

.hero h1 span {
  display: inline;
  color: var(--white);
}

.hero .lead {
  max-width: 720px;
  margin-bottom: 0;
  color: rgba(255,255,255,.90);
  font-size: 19px;
  line-height: 1.58;
  text-shadow: 0 2px 14px rgba(0,0,0,.16);
}

.hero-actions {
  margin-top: 28px;
}

.hero-actions .button:first-child {
  min-width: 164px;
  min-height: 50px;
}

.hero-actions .button.light {
  color: var(--deep);
  background: rgba(220, 232, 206, .94);
}

.services-section--first {
  padding-top: 48px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--clay);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  color: var(--leaf);
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  color: var(--leaf);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  color: var(--deep);
}

.lead {
  max-width: 650px;
  color: var(--muted);
  font-size: 19px;
}

section {
  padding: 58px 0;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.button,
button[type="submit"] {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  color: var(--white);
  background: var(--leaf);
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.button.light {
  color: var(--leaf);
  background: var(--sage);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.services-section {
  position: relative;
}

.services-grid {
  align-items: stretch;
}

.services-grid .service-card {
  position: relative;
  padding: 0;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(220, 232, 206, .58));
  border: 1px solid rgba(45, 108, 66, .16);
  border-radius: 10px;
  box-shadow: 0 14px 30px rgba(23, 49, 39, .08);
}

.service-card--photo img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.service-card__body {
  position: relative;
  padding: 22px 22px 22px;
}

.service-card__body::before {
  content: "";
  width: 34px;
  height: 4px;
  display: block;
  margin-bottom: 18px;
  background: var(--clay);
  border-radius: 999px;
}

.services-grid .service-card h3 {
  margin-bottom: 10px;
}

.card,
details,

.card {
  padding: 22px;
}

.project-strip {
  background: var(--sage);
}

.project-case {
  margin-top: 28px;
}

.project-case h3 {
  margin-bottom: 0;
}

.before-after {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

figure {
  margin: 0;
  overflow: hidden;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(23, 49, 39, .1);
}

figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

figcaption {
  padding: 12px 16px;
  color: var(--leaf);
  font-weight: 900;
}

.proof {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 28px;
  align-items: start;
}

.faq {
  display: grid;
  gap: 14px;
}

details {
  padding: 18px 20px;
  background: linear-gradient(90deg, rgba(103, 133, 80, .12), #fff);
  border-left: 7px solid var(--leaf);
  border-radius: 6px 18px 18px 6px;
}

summary {
  color: var(--leaf);
  font-weight: 900;
  cursor: pointer;
}

details p {
  margin: 10px 0 0;
}

.contact-grid { display:grid; grid-template-columns:minmax(0, 1fr) minmax(0, 1fr); gap:48px; align-items:start; max-width:1180px; padding-right:min(15vw, 177px); }

.contact {
  padding:44px 0;
  background:linear-gradient(90deg, var(--sage) 0%, rgba(220,232,206,.97) 36%, rgba(220,232,206,.78) 60%, rgba(220,232,206,0) 86%), url("assets/service-6-garden-improvements.webp") right center / cover;
}
.contact-information .contact-link { font-weight:500; }


/* Compact contact information and quiet supporting guidance. */
.contact-list { display:grid; gap:10px; margin:22px 0; padding:0; list-style:none; font-size:14px; }
.contact-information { min-width: 0; }
.enquiry-guidance { margin-top:20px; padding-top:16px; border-top:1px solid var(--line); font-size:14px; }
.enquiry-guidance h3 { margin: 0 0 8px; font-size: 1rem; color: var(--deep); }
.enquiry-guidance p { margin: 0; }
.contact-information .privacy-note { margin-top: 18px; font-size: 13px; }

/* Local social profile links. */
.contact-social { display:flex; align-items:flex-start; flex-direction:column; gap:10px; margin-top:22px; padding-top:18px; border-top:1px solid var(--line); }
.contact-social h3 { margin: 0; color: inherit; font: inherit; font-size: .85rem; font-weight: 700; }
.social-links { display: flex; gap: 10px; }
.social-link { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); text-decoration: none; }
.social-link img { display:block; width:22px; height:22px; filter: invert(24%) sepia(55%) saturate(1628%) hue-rotate(178deg) brightness(91%) contrast(97%); }
.social-link:hover { background: var(--sage); }
.social-link:focus-visible { outline: 3px solid var(--leaf); outline-offset: 3px; }

.contact-prompt {
  display: inline-block;
  margin-top: 6px;
  padding: 14px 16px;
  color: var(--deep);
  background: var(--white);
  border-left: 5px solid var(--clay);
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(23, 49, 39, .08);
  font-size: 16px;
  font-weight: 800;
}

.contact-card-note { margin:0; padding:10px 12px; color:var(--deep); background:var(--paper); border-radius:4px; font-size:12px; line-height:1.5; font-weight:600; }

/* Configured contact form, using the existing contact card and palette. */
.contact-form { grid-template-columns:minmax(0, 1fr); }
.contact-form > h2,
.contact-form > h3,
.contact-form > p,
.contact-form > button,
.contact-form > noscript,
.contact-form .form-wide { grid-column: 1 / -1; }

.contact-form label { display:grid; gap:5px; font-size:13px; font-weight:700; }

.contact-form input,
.contact-form textarea,
.contact-form select { width:100%; padding:9px 11px; border:1px solid var(--line); border-radius:4px; color:var(--ink); background:var(--white); font:inherit; font-weight:400; }

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

.contact-form :focus-visible {
  outline: 3px solid var(--leaf);
  outline-offset: 3px;
}

.form-result {
  padding: 14px 16px;
  border: 2px solid currentColor;
  border-radius: 6px;
  font-weight: 800;
}

.form-result.is-error {
  color: #a11919;
  background: var(--white);
}

footer {
  flex-shrink: 0;
  width: 100%;
  margin-top: auto;
  padding: 28px 0;
  color: var(--white);
  background: #111827;
}

@media (max-width: 860px) {
  .nav-shell {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: block;
  }

  nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    border-radius: 8px;
  }

  .topbar.is-open nav {
    display: flex;
  }

  nav a {
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .08);
  }

  .hero-grid,
  .card-grid,
  .before-after,
  .proof,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  section,
  .hero {
    padding: 42px 0;
  }
}

.contact-link {
  display: inline-flex;
  align-items: center;
  color: inherit;
  font-weight: 700;
  text-decoration: none;
}

.contact-link:hover,
.contact-link:focus {
  color: var(--accent, currentColor);
  text-decoration: none;
}

.contact-icon {
  font-size: 0.95em;
  line-height: 1;
  margin-right: 0.5rem;
}

a:not(.contact-link) > .contact-icon {
  margin-right: 0.5rem;
}

/* Sticky site header */
.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
}
.contact-action-card { display:grid; gap:12px; align-content:start; padding:24px; background:var(--white); border:1px solid var(--line); border-radius:6px; box-shadow:0 8px 24px rgba(23,49,39,.1); }

.contact-details-card {
  height: 100%;
}

.contact-action-card h2,
.contact-action-card h3,
.contact-action-card p {
  margin: 0;
}

.contact-action-card .actions {
  margin-top: 4px;
}

.privacy-note {
  margin: 0;
  color: var(--muted, #5f6b73);
  font-size: 14px;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 18px;
  align-items: center;
}

.footer-contact a {
  color: inherit;
  font-weight: 800;
  text-decoration: none;
}

.footer-contact a:hover,
.footer-contact a:focus {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.standard-section .card-grid {
  margin-top: 20px;
}

.faq {
  display: grid;
  gap: 12px;
}

/* Anchor offset for sticky headers */
html {
  scroll-padding-top: 34px;
}

[id] {
  scroll-margin-top: 34px;
}
/* Responsive overflow guard */
* {
  min-width: 0;
}

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

.button,
.contact-link,
.nav a,
.card,
.panel,
summary,
p,
h1,
h2,
h3 {
  overflow-wrap: anywhere;
}

@media (max-width: 980px) {
  .contact-grid { padding-right:0; gap:28px; }
  .contact { background:linear-gradient(rgba(220,232,206,.94), rgba(220,232,206,.88)), url("assets/service-6-garden-improvements.webp") right center / cover; }
  .hero-grid,
  .grid,
  .example-grid,
  .story-grid,
  .split,
  .contact-grid,
  .contact-hero .hero-grid,
  .contact-details-section,
  .contact-cta,
  .visual-note,
  .gallery-row,
  .gallery-row:nth-child(even),
  .contact-card-main,
  .contact-action-card,
  .freshlane-contact-panel .contact-action-card {
    grid-template-columns: 1fr !important;
  }

  .hero,
  section,
  .panel,
  .card,
  .contact-action-card,
  .visual-note,
  .gallery-row {
    max-width: 100%;
  }
}


/* GOS Business One-Page content progression */
.service-intro{max-width:860px;margin:14px 0 30px;color:var(--muted);font-size:17px;line-height:1.65}
.how-section{padding:76px 0;background:var(--deep);color:var(--white)}
.how-section .eyebrow{color:var(--clay)}
.how-heading{max-width:820px;margin-bottom:34px}
.how-heading h2{color:var(--sage)}
.how-heading>p:not(.eyebrow){max-width:720px;color:rgba(255,255,255,.78);font-size:17px}
.how-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.18)}
.how-grid article{padding:28px 24px;background:var(--deep)}
.how-grid span{display:block;margin-bottom:22px;color:var(--clay);font-weight:900;font-size:13px;letter-spacing:.14em}
.how-grid h3{color:var(--sage);font-size:22px}
.how-grid p{margin-bottom:0;color:rgba(255,255,255,.76);font-size:14px;line-height:1.55}
@media(max-width:900px){.how-grid{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.service-intro{font-size:16px}.how-grid{grid-template-columns:1fr}.how-section{padding:54px 0}}


/* One-page hero responsive treatment */
@media (max-width: 980px) {
  .hero,
  .hero-inner {
    min-height: 625px;
  }

  .hero-background {
    min-height: 625px;
    object-position: 64% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg,
        rgba(10,44,29,.94) 0%,
        rgba(14,52,34,.86) 46%,
        rgba(18,51,34,.48) 72%,
        rgba(18,51,34,.14) 100%);
  }

  .hero-copy {
    width: min(760px, 78%);
  }
}

@media (max-width: 620px) {
  .hero,
  .hero-inner {
    min-height: 680px;
  }

  .hero-background {
    min-height: 680px;
    object-position: 68% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg,
        rgba(10,44,29,.96) 0%,
        rgba(14,52,34,.88) 56%,
        rgba(18,51,34,.54) 82%,
        rgba(18,51,34,.26) 100%),
      linear-gradient(180deg, rgba(8,35,24,.12), rgba(8,35,24,.34));
  }

  .hero-inner {
    align-items: flex-end;
    padding-top: 84px;
    padding-bottom: 52px;
  }

  .hero-copy {
    width: 100%;
  }

  .hero h1 {
    max-width: 560px;
    font-size: clamp(44px, 12vw, 58px);
  }

  .hero .lead {
    max-width: 560px;
    font-size: 17px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 360px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .services-section--first {
    padding-top: 40px;
  }
}

@media (max-width: 620px) {
  .brand img { height: 46px; max-width: 58vw; }
}

/* Mobile hero readability: keep words intact and reduce the oversized headline. */
h1, h2, h3 {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

@media (max-width: 980px) {
  .hero h1 {
    font-size: clamp(2.1rem, 5vw, 3rem);
    line-height: 1.05;
  }
}

@media (max-width: 620px) {
  .hero h1 {
    font-size: clamp(1.7rem, 7.5vw, 2.25rem);
    line-height: 1.08;
  }
}
