/* ==========================================================================
   Stone-seed — Split-Screen Modern design system
   Garden care & landscaping, Cardiff
   ========================================================================== */

:root {
  --leaf: #27432a;
  --moss: #4a7c42;
  --fern: #6fa35e;
  --sage: #a7c196;
  --mist: #eef2e6;
  --cream: #f7f5ec;
  --paper: #fcfbf5;
  --bark: #2d2820;
  --stone: #5f5a4e;
  --terracotta: #c06a3c;
  --terracotta-dk: #a0552d;
  --line: #e2ddcd;
  --white: #ffffff;
  --shadow: 0 18px 45px -24px rgba(39, 67, 42, 0.55);
  --radius: 18px;
  --maxw: 1200px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  color: var(--bark);
  background: var(--paper);
  line-height: 1.68;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  color: var(--leaf);
  line-height: 1.1;
  font-weight: 600;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.7rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.28rem; }

p { margin: 0 0 1.1em; }

a { color: var(--terracotta-dk); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 56px);
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--moss);
  margin-bottom: 1rem;
}

.lead { font-size: 1.18rem; color: var(--stone); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.95rem 1.8rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease), color 0.25s var(--ease);
  text-decoration: none;
  font-family: inherit;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--terracotta); color: #fff; box-shadow: 0 12px 26px -14px rgba(192, 106, 60, 0.9); }
.btn-primary:hover { background: var(--terracotta-dk); }
.btn-solid { background: var(--leaf); color: #fff; }
.btn-solid:hover { background: var(--moss); }
.btn-ghost { background: transparent; color: var(--leaf); border-color: var(--sage); }
.btn-ghost:hover { background: var(--mist); }
.btn-wide { width: 100%; justify-content: center; }

/* ---------- Global header ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(252, 251, 245, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.ad-note {
  background: var(--leaf);
  color: var(--sage);
  text-align: center;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  padding: 0.4rem 1rem;
}
.head-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0.85rem clamp(20px, 5vw, 56px);
}
.brand {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--leaf);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.brand:hover { text-decoration: none; color: var(--moss); }
.brand .mark {
  width: 26px; height: 26px;
  flex: 0 0 auto;
}
.nav { display: flex; align-items: center; }
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0.3rem;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 26px; height: 2px;
  background: var(--leaf);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list a {
  color: var(--bark);
  font-weight: 500;
  font-size: 0.97rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.nav-list a:hover { background: var(--mist); color: var(--leaf); text-decoration: none; }
.nav-list a.is-active { color: var(--leaf); background: var(--mist); }

/* ---------- Split section primitives ---------- */
.split {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
}
.split > .half {
  flex: 1 1 440px;
  min-width: 0;
}
.split-pad {
  padding: clamp(2.6rem, 6vw, 5.5rem) clamp(1.5rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.split-media { position: relative; min-height: 340px; background: var(--mist); }
.split-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.flip { flex-direction: row-reverse; }

section { position: relative; }

.bg-cream { background: var(--cream); }
.bg-mist { background: var(--mist); }
.bg-leaf { background: var(--leaf); color: var(--sage); }
.bg-leaf h1, .bg-leaf h2, .bg-leaf h3 { color: #fff; }
.bg-paper { background: var(--paper); }

/* ---------- Hero ---------- */
.hero { border-bottom: 1px solid var(--line); }
.hero .half { flex: 1 1 460px; }
.hero-media { min-height: 460px; }
.hero-copy { padding: clamp(3rem, 7vw, 6rem) clamp(1.5rem, 5vw, 4.5rem); }
.hero-copy h1 { margin-bottom: 0.7rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.6rem; }
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.8rem;
  margin-top: 2.4rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.hero-stats .stat strong {
  display: block;
  font-family: "Fraunces", serif;
  font-size: 1.9rem;
  color: var(--terracotta-dk);
  line-height: 1;
}
.hero-stats .stat span { font-size: 0.86rem; color: var(--stone); }

/* ---------- Generic content wrap ---------- */
.block { padding: clamp(3rem, 7vw, 6rem) 0; }
.measure { max-width: 620px; }

/* ---------- Price list (index teaser) ---------- */
.pricelist { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.pricelist li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px dashed var(--line);
}
.pricelist li:last-child { border-bottom: 0; }
.pricelist .name { font-weight: 600; color: var(--leaf); }
.pricelist .price { font-family: "Fraunces", serif; font-weight: 600; color: var(--terracotta-dk); white-space: nowrap; }
.pricelist .note { display: block; font-size: 0.85rem; color: var(--stone); font-weight: 400; }

/* ---------- Approach / steps (SVG, split-screen friendly) ---------- */
.steps { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 2rem; }
.step {
  flex: 1 1 220px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
}
.step .ico {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  background: var(--mist);
  border-radius: 12px;
  margin-bottom: 1rem;
}
.step .ico svg { width: 24px; height: 24px; stroke: var(--moss); }
.step h3 { margin-bottom: 0.35rem; }
.step p { margin: 0; font-size: 0.96rem; color: var(--stone); }

/* ---------- Testimonials band ---------- */
.quoteband { position: relative; color: #fff; isolation: isolate; }
.quoteband .bg {
  position: absolute; inset: 0; z-index: -2;
  background: var(--leaf);
}
.quoteband .bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.28; }
.quoteband::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, rgba(39,67,42,0.92), rgba(39,67,42,0.65));
}
.quoteband .wrap { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.quoteband h2 { color: #fff; }
.quotes { display: flex; flex-wrap: wrap; gap: 1.6rem; margin-top: 2rem; }
.quote {
  flex: 1 1 300px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  padding: 1.7rem;
}
.quote p { color: #f3f1e6; font-size: 1.02rem; font-style: italic; }
.quote .who { font-style: normal; font-weight: 600; color: var(--sage); margin: 0; }
.quote .who span { display: block; font-weight: 400; font-size: 0.85rem; color: #cdd8bf; }

/* ---------- Service cards (services.html) ---------- */
.svc-list { display: flex; flex-direction: column; gap: 2.4rem; margin-top: 2.5rem; }
.svc {
  display: flex;
  flex-wrap: wrap;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.svc .svc-media { flex: 1 1 320px; position: relative; min-height: 260px; background: var(--mist); }
.svc .svc-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc .svc-body { flex: 2 1 420px; padding: clamp(1.6rem, 3vw, 2.6rem); display: flex; flex-direction: column; }
.svc .svc-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 0.6rem; }
.svc .tag { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--moss); font-weight: 600; }
.svc .amount { font-family: "Fraunces", serif; font-size: 1.5rem; color: var(--terracotta-dk); white-space: nowrap; }
.svc .amount small { display: block; font-size: 0.78rem; color: var(--stone); font-family: "Inter", sans-serif; text-align: right; }
.svc ul.incl { list-style: none; padding: 0; margin: 0.6rem 0 1.2rem; }
.svc ul.incl li { position: relative; padding-left: 1.5rem; margin-bottom: 0.4rem; font-size: 0.96rem; color: var(--stone); }
.svc ul.incl li::before {
  content: ""; position: absolute; left: 0; top: 0.5rem;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--fern);
}
.svc .meta { font-size: 0.88rem; color: var(--stone); margin-top: auto; }
.svc .svc-foot { margin-top: 1.2rem; }

/* ---------- Form ---------- */
.formcard {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 4vw, 2.8rem);
  box-shadow: var(--shadow);
}
.field { margin-bottom: 1.15rem; }
.field label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 0.4rem; color: var(--leaf); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--paper);
  color: var(--bark);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--fern);
  box-shadow: 0 0 0 3px rgba(111, 163, 94, 0.22);
}
.field textarea { resize: vertical; min-height: 110px; }
.field .err { color: #b23b3b; font-size: 0.84rem; margin-top: 0.35rem; display: none; }
.field.invalid input, .field.invalid select { border-color: #cf6a6a; }
.field.invalid .err { display: block; }
.form-note { font-size: 0.84rem; color: var(--stone); margin-top: 0.8rem; }

/* ---------- Contact details ---------- */
.contact-grid { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 2rem; }
.contact-card {
  flex: 1 1 240px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem;
}
.contact-card h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.contact-card p { margin: 0; color: var(--stone); font-size: 0.97rem; }
.contact-card .big { font-size: 1.05rem; color: var(--leaf); font-weight: 600; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--terracotta); color: #fff; }
.cta-band .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1.6rem; padding: clamp(2.4rem, 5vw, 3.6rem) 0;
}
.cta-band h2 { color: #fff; margin: 0; }
.cta-band p { margin: 0.4rem 0 0; color: #fbe7da; }
.cta-band .btn-solid { background: #fff; color: var(--terracotta-dk); }
.cta-band .btn-solid:hover { background: var(--cream); }

/* ---------- Legal / article pages ---------- */
.doc { max-width: 820px; }
.doc h2 { font-size: 1.5rem; margin-top: 2.4rem; }
.doc h2:first-of-type { margin-top: 1rem; }
.doc ul { padding-left: 1.2rem; }
.doc li { margin-bottom: 0.5rem; }
.page-head { padding: clamp(2.6rem, 6vw, 4.5rem) 0 1rem; }
.page-head .eyebrow { margin-bottom: 0.6rem; }

/* ---------- Thanks ---------- */
.thanks { text-align: center; max-width: 640px; margin: 0 auto; padding: clamp(3rem, 8vw, 6rem) 0; }
.thanks .check {
  width: 84px; height: 84px; margin: 0 auto 1.6rem;
  background: var(--mist); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.thanks .check svg { width: 40px; height: 40px; stroke: var(--moss); }
.thanks .pill {
  display: inline-block; background: var(--mist); color: var(--leaf);
  font-weight: 600; padding: 0.4rem 1rem; border-radius: 999px; margin: 0.4rem 0 1.2rem;
}

/* ---------- Divider / misc ---------- */
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.mt-s { margin-top: 0.8rem; }
.mt-m { margin-top: 1.4rem; }
.mt-l { margin-top: 1.8rem; }
.flush-left { margin-left: 0; }
.eyebrow-light { color: #bcd0a6; }
.is-hidden { display: none; }
.tagrow { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.4rem; }
.tagrow span {
  font-size: 0.82rem; background: var(--mist); color: var(--moss);
  padding: 0.35rem 0.85rem; border-radius: 999px; font-weight: 600;
}
.disclaimer {
  background: var(--mist);
  border-left: 4px solid var(--fern);
  border-radius: 10px;
  padding: 1.3rem 1.5rem;
  font-size: 0.93rem;
  color: var(--stone);
  margin-top: 2rem;
}

/* ---------- Global footer ---------- */
.ssfoot { background: var(--leaf); color: #cdd8bf; margin-top: 0; }
.ssfoot-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(2.8rem, 6vw, 4rem) clamp(20px, 5vw, 56px) 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
}
.ssfoot-col { flex: 1 1 220px; min-width: 0; }
.ssfoot-brand { font-family: "Fraunces", serif; font-size: 1.4rem; color: #fff; margin-bottom: 0.6rem; }
.ssfoot h4 { color: #fff; font-family: "Inter", sans-serif; font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; margin: 0 0 0.9rem; }
.ssfoot p { color: #c3d0b5; font-size: 0.92rem; margin: 0 0 0.6rem; }
.ssfoot ul { list-style: none; margin: 0; padding: 0; }
.ssfoot li { margin-bottom: 0.5rem; }
.ssfoot a { color: #d4dec8; font-size: 0.92rem; }
.ssfoot a:hover { color: #fff; }
.ssfoot-data { font-size: 0.92rem; color: #c3d0b5; }
.ssfoot-data strong { color: #fff; font-weight: 600; }
.ssfoot-bottom {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.4rem clamp(20px, 5vw, 56px) 2.4rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-size: 0.82rem; color: #a9b89b;
}
.ssfoot-disc { max-width: 760px; }

/* ---------- Cookie banner ---------- */
.cookie {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%) translateY(140%);
  width: min(680px, calc(100% - 32px));
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 24px 60px -20px rgba(39,67,42,0.5);
  padding: 1.3rem 1.5rem;
  z-index: 80;
  transition: transform 0.45s var(--ease);
}
.cookie.show { transform: translateX(-50%) translateY(0); }
.cookie p { margin: 0 0 1rem; font-size: 0.92rem; color: var(--stone); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.cookie-actions .btn { padding: 0.7rem 1.3rem; font-size: 0.9rem; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-list {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 0.6rem clamp(20px, 5vw, 56px) 1rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s var(--ease);
  }
  .nav.open .nav-list { max-height: 320px; }
  .nav-list a { padding: 0.8rem 0.4rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .split-media, .hero-media { min-height: 300px; }
}
