@import url('https://fonts.googleapis.com/css2?family=Bitter:wght@500;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
  --forest: #1E3A28;
  --forest-deep: #142A1C;
  --meadow: #6FA05A;
  --meadow-deep: #56813F;
  --cream: #FAF5E9;
  --cream-alt: #F1E9D6;
  --soil: #4A3826;
  --gold: #D4A24C;
  --line: #E3D9BE;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--soil);
  font-family: 'Inter', -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}

h1, h2, h3 {
  font-family: 'Bitter', Georgia, serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--forest-deep);
  margin: 0;
}

p { margin: 0 0 1em; }
a { color: inherit; }
img { max-width: 100%; display: block; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 28px; }

/* ---------- Header ---------- */

.site-header {
  background: var(--forest);
  padding: 16px 0;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.brand {
  color: var(--cream);
  font-family: 'Bitter', serif;
  font-weight: 700;
  font-size: 1.3rem;
  text-decoration: none;
}

.brand span { color: var(--gold); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav a {
  color: rgba(250,245,233,0.85);
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 500;
}

.site-nav a:hover { color: var(--cream); }

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.icon-link {
  color: rgba(250,245,233,0.85);
  text-decoration: none;
  display: inline-flex;
}

.icon-link:hover { color: var(--gold); }

.header-phone {
  color: var(--cream);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-phone::before {
  content: '\260E';
  color: var(--gold);
}

/* ---------- Sub-page banner (non-home pages) ---------- */

.page-banner {
  background: var(--forest-deep);
  padding: 54px 0 44px;
  text-align: center;
}

.page-banner h1 {
  color: var(--cream);
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  margin-bottom: 10px;
}

.page-banner p {
  color: rgba(250,245,233,0.75);
  max-width: 56ch;
  margin: 0 auto;
}

/* ---------- Pro/Con cards (Grass Types page) ---------- */

.grass-block { margin-bottom: 64px; }

.grass-block:last-child { margin-bottom: 0; }

.grass-block-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.grass-block-head h2 { font-size: 1.7rem; }

.grass-block-head span {
  color: var(--meadow-deep);
  font-weight: 600;
  font-size: 0.9rem;
}

.grass-photo {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
}

.pro-con-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.pro-con-card {
  border-radius: 10px;
  padding: 22px 24px;
}

.pro-con-card.pro { background: rgba(111,160,90,0.12); border: 1px solid rgba(111,160,90,0.3); }
.pro-con-card.con { background: rgba(212,162,76,0.12); border: 1px solid rgba(212,162,76,0.35); }

.pro-con-card .tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
}

.pro-con-card.pro .tag { color: var(--meadow-deep); }
.pro-con-card.con .tag { color: var(--gold); }

.pro-con-card h3 { font-size: 1.02rem; margin-bottom: 6px; }
.pro-con-card p { font-size: 0.92rem; color: var(--soil); opacity: 0.85; margin: 0 0 14px; }
.pro-con-card p:last-child { margin-bottom: 0; }

/* ---------- Calculator ---------- */

.calculator-box {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 32px;
  max-width: 480px;
  margin: 0 auto 20px;
}

.calc-field { margin-bottom: 16px; }

.calc-field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--forest-deep);
  margin-bottom: 6px;
}

.calc-field input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  background: #fff;
}

.calc-btn {
  width: 100%;
  background: var(--meadow);
  color: var(--forest-deep);
  border: none;
  padding: 13px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 6px;
}

.calc-btn:hover { background: #85B573; }

.calc-results {
  display: none;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.calc-results.show { display: block; }

.calc-results .result-row {
  display: flex;
  justify-content: space-between;
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.calc-results .result-row strong { color: var(--forest-deep); }

.calc-note {
  text-align: center;
  font-size: 0.88rem;
  color: var(--soil);
  opacity: 0.75;
  max-width: 440px;
  margin: 0 auto;
}

/* Measuring shapes */

.shapes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 36px;
}

.shape-card {
  background: var(--cream-alt);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 22px;
  text-align: center;
}

.shape-card h3 { font-size: 1rem; margin-bottom: 10px; }
.shape-card .formula {
  font-family: 'Bitter', serif;
  font-weight: 600;
  color: var(--meadow-deep);
  font-size: 0.95rem;
  margin: 10px 0;
}
.shape-card p { font-size: 0.85rem; color: var(--soil); opacity: 0.8; margin: 0; }

/* ---------- Numbered steps (Installation page) ---------- */

.steps-list { counter-reset: step; }

.step-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.step-item .num {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--meadow);
  color: var(--forest-deep);
  font-family: 'Bitter', serif;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

.step-item h3 { font-size: 1.08rem; margin-bottom: 6px; }
.step-item p { font-size: 0.95rem; color: var(--soil); opacity: 0.85; margin: 0; }

.callout {
  background: rgba(212,162,76,0.14);
  border: 1px solid rgba(212,162,76,0.4);
  border-radius: 8px;
  padding: 16px 20px;
  font-weight: 600;
  color: var(--forest-deep);
  margin: 10px 0 30px;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--forest-deep);
  color: rgba(250,245,233,0.65);
  padding: 32px 0;
  text-align: center;
  font-size: 0.85rem;
}

.footer-social {
  margin-top: 14px;
  display: flex;
  justify-content: center;
  gap: 16px;
}

.footer-social a {
  color: rgba(250,245,233,0.8);
  text-decoration: none;
}

.footer-social a:hover { color: var(--gold); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(20,42,28,0.88) 0%, rgba(20,42,28,0.35) 55%, rgba(20,42,28,0.1) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 60px 0 56px;
  color: var(--cream);
}

.eyebrow {
  display: inline-block;
  background: var(--gold);
  color: var(--forest-deep);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 3px;
  margin-bottom: 18px;
}

.hero h1 {
  color: var(--cream);
  font-size: clamp(2.1rem, 4.4vw, 3.3rem);
  max-width: 30ch;
  margin-bottom: 18px;
}

.hero p.lead {
  max-width: 50ch;
  font-size: 1.12rem;
  color: rgba(250, 245, 233, 0.88);
  margin-bottom: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--meadow);
  color: var(--forest-deep);
  text-decoration: none;
  padding: 13px 26px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.98rem;
  transition: background 0.15s ease;
}

.btn:hover { background: #85B573; }

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.hero .btn-group { justify-content: flex-start; }

.btn--ghost {
  background: transparent;
  border: 1.5px solid rgba(250,245,233,0.55);
  color: var(--cream);
}

.btn--ghost:hover { border-color: var(--cream); }

/* ---------- Trust strip ---------- */

.trust-strip {
  background: var(--forest-deep);
  padding: 20px 0;
}

.trust-strip .container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
  text-align: center;
}

.trust-item {
  color: var(--cream);
}

.trust-item strong {
  display: block;
  font-family: 'Bitter', serif;
  font-size: 1.5rem;
  color: var(--gold);
}

.trust-item span {
  font-size: 0.82rem;
  color: rgba(250,245,233,0.75);
  letter-spacing: 0.02em;
}

/* ---------- Sections ---------- */

.section { padding: 76px 0; }

.page-banner + .section { padding-top: 30px; }

.section--alt { background: var(--cream-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { max-width: 60ch; margin-bottom: 40px; }

.section-head .eyebrow-text {
  color: var(--meadow-deep);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
}

.section-head h2 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); margin-bottom: 14px; }
.section-head p { color: var(--soil); opacity: 0.85; font-size: 1.03rem; margin: 0; }

/* About / two-column */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-grid img {
  border-radius: 10px;
  box-shadow: 0 20px 40px -16px rgba(20,42,28,0.35);
}

/* Products */

.products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.product-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 26px 24px;
}

.product-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.product-card p { color: var(--soil); opacity: 0.82; font-size: 0.95rem; margin: 0; }

.product-card .icon {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: var(--meadow);
  margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center;
  color: var(--cream); font-family: 'Bitter', serif; font-weight: 700;
}

/* Gallery */

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery figure { margin: 0; }

.gallery img {
  border-radius: 8px;
  aspect-ratio: 4/5;
  object-fit: cover;
  width: 100%;
}

.gallery figcaption {
  font-size: 0.82rem;
  color: var(--soil);
  opacity: 0.75;
  margin-top: 8px;
  text-align: center;
}

/* Contact / CTA */

.cta-section {
  background: var(--forest);
  color: var(--cream);
  text-align: center;
}

.cta-section h2 { color: var(--cream); font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 16px; }
.cta-section p { color: rgba(250,245,233,0.82); max-width: 52ch; margin: 0 auto 28px; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
  text-align: left;
}

.contact-card {
  border-top: 2px solid var(--line);
  padding-top: 16px;
}

.contact-card .label {
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}

.contact-card a, .contact-card span { color: var(--cream); font-weight: 500; }

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .about-grid, .products, .contact-grid, .pro-con-grid, .shapes-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: 480px; }

  .site-header .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .site-nav {
    order: 3;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 18px;
    padding-top: 10px;
    border-top: 1px solid rgba(250,245,233,0.15);
  }

  .header-right {
    width: 100%;
    justify-content: space-between;
  }

  .calculator-box { padding: 22px 20px; }

  .hero {
    min-height: 420px;
    background-position: center 30%;
  }

  .hero-content {
    text-align: center;
    padding: 40px 0 44px;
  }

  .hero h1 {
    max-width: none;
  }

  .hero p.lead {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }

  .hero .btn-group {
    justify-content: center;
  }
}
