/* Grene Gardening - clean Hostinger rebuild. */
:root {
  --green-900: #163d2b;
  --green-700: #2f704d;
  --green-500: #78a663;
  --green-100: #eef7eb;
  --beige: #f7f1e6;
  --grey-100: #f8faf6;
  --grey-300: #dfe4dd;
  --charcoal: #26302b;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(22, 61, 43, 0.13);
  --radius: 8px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--charcoal);
  background: linear-gradient(180deg, #ffffff 0%, #fbfcf9 100%);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid #91b987; outline-offset: 3px; }
.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  background: var(--green-900);
  color: var(--white);
  padding: 10px 14px;
  z-index: 1000;
}
.skip-link:focus { left: 10px; }

.container { width: min(100% - 32px, var(--max)); margin: 0 auto; }
.section { padding: 82px 0; }
.section.alt { background: var(--grey-100); }
.section.beige { background: var(--beige); }
.eyebrow {
  color: var(--green-700);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
h1, h2, h3 { color: var(--green-900); line-height: 1.15; margin: 0 0 18px; }
h1 { font-size: clamp(2.15rem, 4vw, 4.4rem); max-width: 980px; }
h2 { font-size: clamp(1.75rem, 2.6vw, 2.7rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 18px; }
.lead { font-size: 1.18rem; max-width: 780px; }
.narrow { max-width: 850px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.94);
  border-bottom: 1px solid var(--grey-300);
  backdrop-filter: blur(10px);
}
.site-header.is-scrolled { box-shadow: 0 8px 22px rgba(18,56,42,0.08); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 78px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--green-900);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.brand-logo {
  width: auto;
  height: 54px;
  max-width: 190px;
  object-fit: contain;
}
.nav-wrap { display: flex; align-items: center; gap: 18px; }
.main-nav { display: flex; align-items: center; gap: 22px; }
.main-nav a {
  color: var(--charcoal);
  font-size: 0.96rem;
  font-weight: 700;
  padding: 26px 0;
}
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle {
  display: none;
  border: 1px solid var(--grey-300);
  background: var(--white);
  border-radius: var(--radius);
  padding: 10px 12px;
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary { background: var(--green-700); color: var(--white); box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--green-900); }
.btn-secondary { background: var(--white); color: var(--green-900); border-color: var(--green-700); }
.btn-light { background: var(--beige); color: var(--green-900); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.hero {
  position: relative;
  min-height: 680px;
  display: grid;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(18,56,42,.9), rgba(18,56,42,.56), rgba(18,56,42,.12)),
    url("../images/hero/gardener-st-ives-hero.jpg") center/cover no-repeat,
    linear-gradient(135deg, #294a35, #8ca579);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 70%, rgba(248,250,246,.95));
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero h1, .hero p { color: var(--white); }
.hero .lead { max-width: 760px; }
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.trust-badges span {
  padding: 9px 12px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  color: var(--white);
  font-weight: 700;
}

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  background: var(--white);
  border: 1px solid var(--grey-300);
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 12px 30px rgba(18,56,42,.07);
}
.service-card { min-height: 100%; overflow: hidden; padding: 0; }
.service-card .card-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.service-card .card-body { padding: 24px; }
.service-card a { font-weight: 800; }
.feature-list, .area-list, .check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.feature-list li, .check-list li {
  padding-left: 28px;
  position: relative;
}
.feature-list li::before, .check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green-500);
}
.area-list {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.area-list li {
  background: var(--green-100);
  color: var(--green-900);
  padding: 10px 12px;
  border-radius: var(--radius);
  font-weight: 700;
}

.placeholder-media {
  min-height: 210px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(35,97,70,.18), rgba(243,239,230,.85)),
    repeating-linear-gradient(45deg, rgba(18,56,42,.08) 0 1px, transparent 1px 12px);
  border: 1px dashed rgba(18,56,42,.32);
  display: grid;
  place-items: center;
  padding: 20px;
  color: var(--green-900);
  font-weight: 800;
  text-align: center;
}
.image-card {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
}
.image-card img,
.work-video {
  width: 100%;
  height: auto;
  display: block;
}
.work-video {
  border-radius: 18px;
  background: var(--green-900);
  box-shadow: var(--shadow);
  max-height: 620px;
  object-fit: cover;
}
.media-caption {
  padding: 14px 16px;
  margin: 0;
  color: #56635b;
  font-size: .95rem;
}
.gallery-card { overflow: hidden; padding: 0; }
.gallery-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery-card .placeholder-media { border-radius: var(--radius) var(--radius) 0 0; border-width: 0 0 1px; }
.gallery-card .card-body { padding: 20px; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 28px; }
.filter-btn {
  border: 1px solid var(--grey-300);
  background: var(--white);
  border-radius: 999px;
  padding: 9px 14px;
  cursor: pointer;
  font-weight: 700;
}
.filter-btn.is-active { background: var(--green-700); color: var(--white); border-color: var(--green-700); }

.cta {
  background: var(--green-900);
  color: var(--white);
  padding: 58px 0;
}
.cta h2, .cta p { color: var(--white); }
.split {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 36px;
  align-items: center;
}

.form {
  display: grid;
  gap: 16px;
}
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
label { display: block; font-weight: 800; margin-bottom: 7px; color: var(--green-900); }
input, select, textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--grey-300);
  border-radius: var(--radius);
  padding: 11px 12px;
  font: inherit;
  background: var(--white);
}
textarea { min-height: 150px; resize: vertical; }
.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-status {
  display: none;
  padding: 13px 14px;
  border-radius: var(--radius);
  font-weight: 800;
}
.form-status.success { display: block; background: #e5f3e5; color: #1f5a30; }
.form-status.error { display: block; background: #f8e7e5; color: #7b231d; }

.page-hero {
  background:
    linear-gradient(90deg, rgba(22,61,43,.92), rgba(47,112,77,.78)),
    url("../images/hero/gardener-st-ives-hero.jpg") center/cover no-repeat;
  color: var(--white);
  padding: 86px 0;
}
.page-hero h1, .page-hero p { color: var(--white); }
.breadcrumbs { color: rgba(255,255,255,.78); margin-bottom: 14px; }
.breadcrumbs a { color: var(--white); text-decoration: underline; }

.site-footer {
  background: #14241b;
  color: rgba(255,255,255,.86);
  padding: 50px 0 26px;
}
.footer-logo {
  width: 210px;
  height: auto;
  max-height: 92px;
  object-fit: contain;
  margin-bottom: 16px;
  background: rgba(255,255,255,.96);
  border-radius: 12px;
  padding: 10px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 28px;
}
.site-footer h2, .site-footer h3 { color: var(--white); }
.site-footer a { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.16);
  margin-top: 34px;
  padding-top: 20px;
  font-size: .94rem;
}

@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; }
  .nav-wrap {
    position: absolute;
    left: 0;
    right: 0;
    top: 78px;
    background: var(--white);
    border-bottom: 1px solid var(--grey-300);
    display: none;
    padding: 18px 16px 22px;
    box-shadow: var(--shadow);
  }
  .nav-wrap.is-open { display: block; }
  .main-nav, .header-actions { flex-direction: column; align-items: stretch; }
  .main-nav { gap: 12px; margin-bottom: 16px; }
  .main-nav a { padding: 8px 0; }
  .header-actions .btn { width: 100%; }
  .grid-3, .grid-4, .footer-grid, .split { grid-template-columns: 1fr 1fr; }
  .area-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .container { width: min(100% - 24px, var(--max)); }
  .section { padding: 52px 0; }
  .hero { min-height: 560px; background-position: 58% center; }
  .hero h1 { font-size: 2.2rem; }
  .grid-2, .grid-3, .grid-4, .footer-grid, .split, .form-row { grid-template-columns: 1fr; }
  .area-list { grid-template-columns: 1fr 1fr; }
  .header-inner { min-height: 70px; }
  .nav-wrap { top: 70px; }
  .brand-logo { height: 44px; max-width: 155px; }
  .work-video { max-height: 520px; object-fit: contain; }
}
@media (max-width: 420px) {
  .area-list { grid-template-columns: 1fr; }
  .btn-row .btn { width: 100%; }
}
