/* ============================================================
   PSM Landscapers & Property Maintenance — Nuneaton
   Design tokens — matched to the client logo (bold green wordmark,
   black outline, leaf crown)
   ============================================================ */
:root {
  --ink: #0a130c;
  --navy: #123a1c;
  --navy-panel: #163f20;
  --navy-panel-2: #1a4726;
  --slat: #0c3315;
  --slat-light: #146622;
  --brass: #1c9a34;
  --brass-light: #6fe085;
  --brass-dim: #0f5c1c;
  --sage: #3f6b46;
  --sage-light: #6b9c72;
  --cream: #f4f1e6;
  --cream-dim: #cfc9b6;
  --ok-line: rgba(244, 241, 230, 0.14);

  --font-display: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Work Sans", "Segoe UI", sans-serif;

  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;

  --max-w: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }

body {
  font-family: var(--font-body);
  background: #ffffff;
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  margin: 0 0 0.5em;
  color: var(--ink);
}

h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); letter-spacing: -0.01em; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; color: #3a3730; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-dim);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--brass);
  display: inline-block;
}

/* ============ SLAT DIVIDER — signature element ============
   A row of vertical slats used as a section break — bright brand
   green near the top of the page, shifting to a deeper mossy green
   by the footer. */
.slat-divider {
  width: 100%;
  height: 34px;
  display: flex;
  overflow: hidden;
}
.slat-divider span {
  flex: 1;
  min-width: 6px;
  max-width: 22px;
}
.slat-divider.timber span:nth-child(odd) { background: var(--brass); }
.slat-divider.timber span:nth-child(even) { background: var(--brass-light); }
.slat-divider.composite span:nth-child(odd) { background: var(--slat); }
.slat-divider.composite span:nth-child(even) { background: var(--slat-light); }

/* ============ HEADER ============ */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e8e2d1;
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}
.brand img {
  width: 46px;
  height: 46px;
  border-radius: 10px;
}
.brand .name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.22rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brand .name small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-dim);
  margin-top: 2px;
}
nav.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
nav.main-nav a {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color .15s ease;
  position: relative;
}
nav.main-nav a:hover { color: var(--brass-dim); }
nav.main-nav .dropdown { position: relative; }
nav.main-nav .dropdown-panel {
  display: none;
  position: absolute;
  top: calc(100% + 18px);
  left: -20px;
  background: #ffffff;
  border: 1px solid #e8e2d1;
  border-radius: var(--radius-sm);
  padding: 10px;
  min-width: 230px;
  box-shadow: 0 18px 40px rgba(20,20,10,0.14);
}
nav.main-nav .dropdown:hover .dropdown-panel { display: block; }
nav.main-nav .dropdown-panel a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: 0.88rem;
  color: var(--ink);
}
nav.main-nav .dropdown-panel a:hover { background: rgba(28,154,52,0.08); color: var(--brass-dim); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn-brass {
  background: linear-gradient(135deg, var(--brass-light), var(--brass));
  color: var(--ink);
}
.btn-brass:hover { filter: brightness(1.06); }
.btn-outline {
  border-color: rgba(244,241,230,0.5);
  color: var(--cream);
}
.btn-outline:hover { border-color: var(--brass-light); color: var(--brass-light); }
.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.header-phone svg { width: 16px; height: 16px; color: var(--brass-dim); }

.menu-toggle { display: none; }

/* ============ HERO ============ */
.hero {
  background:
    linear-gradient(100deg, rgba(10,19,12,0.90) 0%, rgba(15,92,28,0.78) 45%, rgba(28,154,52,0.42) 100%),
    url("../../images/hero-1448.webp") center/cover no-repeat;
  color: var(--cream);
  padding: 96px 0 0;
  overflow: hidden;
}
.hero .container { max-width: 760px; }
.hero .eyebrow { color: var(--brass-light); }
.hero .eyebrow::before { background: var(--brass-light); }
.hero h1 { color: var(--cream); }
.hero .lede { color: var(--cream-dim); font-size: 1.1rem; max-width: 46ch; }
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 28px;
}
.hero-badges li {
  border: 1px solid var(--ok-line);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 0.82rem;
  color: var(--cream-dim);
  display: flex;
  align-items: center;
  gap: 7px;
}
.hero-badges li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brass-light);
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============ SECTIONS ============ */
section { padding: 78px 0; }
.section-tight { padding: 56px 0; }
.section-dark {
  background: #eef6ee;
  color: var(--ink);
}
.section-dark h2, .section-dark h3 { color: var(--ink); }
.section-dark p { color: #3a3730; }

.section-head {
  max-width: 640px;
  margin: 0 0 42px;
}
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Service grid */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.card {
  background: #fff;
  border: 1px solid #e8e2d1;
  border-radius: var(--radius-md);
  padding: 30px 26px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(20,20,10,0.08); }
.card .icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brass-light), var(--brass));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card .icon svg { width: 22px; height: 22px; color: var(--ink); }
.card h3 { margin-bottom: 8px; font-size: 1.18rem; }
.card p { font-size: 0.95rem; margin-bottom: 14px; }
.card .more { font-size: 0.86rem; font-weight: 600; color: var(--brass-dim); }

/* Cards on the light-green section keep the standard white treatment */
.section-dark .card {
  background: #fff;
  border-color: #e8e2d1;
}
.section-dark .card h3 { color: var(--ink); }
.section-dark .card p { color: #3a3730; }
.section-dark .card .more { color: var(--brass-dim); }

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.gallery-grid figure {
  margin: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  position: relative;
}
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; }
.gallery-grid figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 10px 12px;
  font-size: 0.72rem;
  color: #fff;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}

/* Process timeline */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.process .step {
  border-top: 3px solid var(--brass);
  padding-top: 18px;
}
.process .step .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--brass-dim);
  display: block;
  margin-bottom: 6px;
}

/* Coverage areas */
.area-chip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.area-chip {
  border: 1px solid #e8e2d1;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  font-size: 0.94rem;
  background: #fff;
  color: var(--ink);
}
.area-chip:hover { border-color: var(--brass); color: var(--brass-dim); }
.area-chip svg { width: 14px; height: 14px; opacity: 0.5; }

/* Two column FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 40px;
}
.faq-item {
  border-bottom: 1px solid var(--ok-line);
  padding-bottom: 18px;
}
.section:not(.section-dark) .faq-item { border-bottom-color: #e8e2d1; }
.faq-item h4 { font-size: 1.02rem; margin-bottom: 6px; }
.faq-item p { font-size: 0.94rem; margin-bottom: 0; }

/* CTA band */
.cta-band {
  background:
    linear-gradient(120deg, rgba(10,19,12,0.90) 0%, rgba(15,92,28,0.80) 55%, rgba(28,154,52,0.55) 100%),
    url("../../images/gallery-patio.webp") center/cover no-repeat;
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: 50px 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--cream); margin-bottom: 6px; }
.cta-band p { color: var(--cream-dim); margin-bottom: 0; }

/* Trust bar */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  align-items: center;
  justify-content: center;
  padding: 26px 0;
  border-top: 1px solid #e8e2d1;
  border-bottom: 1px solid #e8e2d1;
}
.trust-bar .item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #57503f;
}
.trust-bar svg { width: 20px; height: 20px; color: var(--brass-dim); }

/* Area/service intro split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.split .stat-box {
  background: #fff;
  border: 1px solid #e8e2d1;
  border-radius: var(--radius-md);
  padding: 22px;
}
.split .stat-box + .stat-box { margin-top: 16px; }
.split .stat-box strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--brass-dim);
}
.split .stat-box span { font-size: 0.86rem; color: #6b6553; }

/* ============ CONTACT FORM ============ */
.form-card {
  background: #fff;
  border: 1px solid #e8e2d1;
  border-radius: var(--radius-md);
  padding: 32px;
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.field .optional { font-weight: 400; color: #8a8367; }
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid #ddd5bd;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(28,154,52,0.18);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 0.82rem; color: #6b6553; margin-top: 14px; }
.form-banner {
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin-bottom: 22px;
  font-size: 0.92rem;
}
.form-banner ul { list-style: disc; padding-left: 1.2em; margin-top: 6px; }
.form-banner ul li { display: list-item; }
.form-banner.error {
  background: #fbeceb;
  border: 1px solid #edc3bf;
  color: #7a2a22;
}

/* Breadcrumb */
.breadcrumb-bar {
  background: var(--cream);
  border-bottom: 1px solid #e8e2d1;
  padding: 12px 0;
}
.breadcrumb-bar ul {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.8rem;
  color: #6b6553;
  flex-wrap: wrap;
}
.breadcrumb-bar a { color: #6b6553; }
.breadcrumb-bar a:hover { color: var(--brass-dim); }
.breadcrumb-bar li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: var(--brass-dim);
}
.breadcrumb-bar li:last-child { color: var(--ink); }

/* Footer */
footer.site-footer {
  background: var(--brass-dim);
  color: var(--cream-dim);
  padding: 60px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 40px;
}
.footer-grid h4 {
  color: var(--cream);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-grid a, .footer-grid li, .footer-grid p { font-size: 0.88rem; margin-bottom: 10px; color: var(--cream-dim); }
.footer-grid a:hover { color: var(--brass-light); }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand img { width: 38px; height: 38px; border-radius: 8px; }
.footer-brand span { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--cream); }
.footer-bottom {
  border-top: 1px solid rgba(244,241,230,0.12);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.8rem;
}
.footer-bottom a { color: var(--cream-dim); }
.footer-bottom a:hover { color: var(--brass-light); }

/* Utility */
.center { text-align: center; }
.mt-lg { margin-top: 50px; }
.text-sm { font-size: 0.88rem; }
.tag-pill {
  display: inline-block;
  background: rgba(28,154,52,0.12);
  color: var(--brass-dim);
  border: 1px solid rgba(28,154,52,0.3);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 600;
  margin-bottom: 8px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--brass);
  color: var(--ink);
  padding: 10px 16px;
  z-index: 999;
}
.skip-link:focus { left: 10px; top: 10px; }

a:focus-visible, button:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  nav.main-nav, .header-phone { display: none; }
  .menu-toggle {
    display: flex;
    background: none;
    border: 1px solid rgba(10,19,12,0.25);
    color: var(--ink);
    border-radius: 8px;
    padding: 10px 12px;
  }
  .grid-3, .grid-2, .process, .area-chip-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 620px) {
  .grid-3, .grid-2, .process, .area-chip-grid, .footer-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-band { flex-direction: column; align-items: flex-start; }
  section { padding: 54px 0; }
  .hero { padding-top: 46px; }
  .site-header .inner { gap: 10px; }
  .brand .name { font-size: 1.02rem; }
  .header-cta .btn-brass { display: none; }
}
