/* ===== Southern Soil Supply ===== */
:root {
  --green: #1c4a2a;
  --green-dark: #143a20;
  --green-deep: #10271a;
  --tan: #a38f5f;
  --tan-light: #bfa973;
  --cream: #f4f0e6;
  --cream-2: #ece6d8;
  --ink: #1c211d;
  --muted: #3f443f;
  --line: #d6cebd;
  --footer: #222422;
  --slab: "Alfa Slab One", "Rockwell Extra Bold", Rockwell, Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 3px;
  --header-h: 84px;
  /* faint paper grain, like the mockup */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .3 0 0 0 0 .2 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); overflow-x: clip; }
body { overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  color: var(--ink);
  background: var(--cream) var(--grain);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }

.container { width: 100%; max-width: 1340px; margin: 0 auto; padding: 0 44px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ----- Type ----- */
.eyebrow {
  font: 700 14px/1 var(--sans);
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 14px;
}
.eyebrow-light { color: #fff; }
h1, h2 {
  font-family: var(--slab);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.005em;
}
h2 { font-size: clamp(34px, 3.8vw, 54px); color: var(--green); }
.h2-dark { color: var(--ink); }
.accent { color: var(--tan); }

/* ----- Buttons ----- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 16px 30px;
  font: 600 17px/1 var(--sans);
  text-decoration: none;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-green { background: var(--green); color: #fff; border-color: #fff; }
.btn-green:hover { background: var(--green-dark); }
.section-cream .btn-green, .site-nav .btn-green, .quote-form .btn-green { border-color: var(--green); }
.btn-outline { color: #fff; border-color: #fff; background: rgba(0,0,0,.1); }
.btn-outline:hover { background: #fff; color: var(--green); }
.btn-tan { background: var(--tan); color: #fff; }
.btn-tan:hover { background: var(--tan-light); }
.btn-sm { padding: 12px 24px; font-size: 15px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 18px; }

/* ----- Header ----- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: transparent;
  transition: background .25s, box-shadow .25s;
}
.site-header.scrolled { background: var(--cream) var(--grain); box-shadow: 0 2px 14px rgba(0,0,0,.1); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-icon { height: 62px; width: auto; }
.brand-text { height: 56px; width: auto; }
.site-nav { position: relative; align-self: stretch; display: flex; align-items: center; gap: 38px; }
/* At the top, the dump bed rises into the header; the nav gets a cream backdrop that fades in from the left */
.site-nav::before {
  content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: -90px;
  right: calc(-44px - max(0px, (100vw - 1340px) / 2)); /* reach the viewport edge, no further */
  background: linear-gradient(90deg, rgba(244, 240, 230, 0), var(--cream) 80px);
  transition: opacity .25s;
}
.site-header.scrolled .site-nav::before { opacity: 0; }
/* Same idea for the logo: on narrower screens the dump bed reaches the logo, so it gets a cream backdrop that fades out to the right */
.brand { position: relative; align-self: stretch; }
.brand::before {
  content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; right: -70px;
  left: calc(-44px - max(0px, (100vw - 1340px) / 2));
  background: linear-gradient(270deg, rgba(244, 240, 230, 0), var(--cream) 70px);
  transition: opacity .25s;
}
.site-header.scrolled .brand::before, body.inner .brand::before, .site-footer .brand::before { display: none; }
.site-nav a:not(.btn) {
  text-decoration: none; font-size: 16px; font-weight: 500; color: var(--ink);
  padding: 8px 0; position: relative;
}
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 3px;
  background: var(--green); transform: scaleX(0); transition: transform .2s;
}
.site-nav a:not(.btn):hover::after, .site-nav a.active::after { transform: scaleX(1); }
.site-nav a.active { font-weight: 700; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 28px; height: 3px; background: var(--green); margin: 6px 0; border-radius: 2px; }

/* ----- Hero ----- */
.hero {
  position: relative; overflow: hidden; background: var(--green-deep);
  min-height: calc(560px + var(--header-h));
  display: flex; align-items: center;
  margin-top: calc(-1 * var(--header-h)); padding-top: var(--header-h);
  color: #fff;
}
/* Both photo layers share one box so the cut-out lines up exactly with the photo */
.hero-media { position: absolute; inset: 0; }
.hero-bg { width: 100%; height: 100%; object-fit: cover; object-position: 60% 0; }
.hero-band {
  position: absolute; top: 0; left: 0; right: 0; height: var(--header-h); z-index: 2;
  background: var(--cream) var(--grain);
}
.hero-pop { z-index: 3; clip-path: inset(0 0 calc(100% - var(--header-h)) 0); pointer-events: none; }
.hero::before {
  content: ""; position: absolute; inset: var(--header-h) 0 0 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(10, 26, 16, .92) 0%, rgba(10, 26, 16, .84) 30%, rgba(10, 26, 16, .5) 46%, rgba(10, 26, 16, .12) 58%, rgba(10, 26, 16, 0) 66%),
    linear-gradient(0deg, rgba(10, 26, 16, .35), rgba(10, 26, 16, 0) 30%);
}
.hero-content { position: relative; z-index: 4; padding-top: 60px; padding-bottom: 70px; }
.hero h1 { font-size: clamp(46px, 6.6vw, 92px); margin-bottom: 22px; text-shadow: 0 3px 24px rgba(0,0,0,.35); }
.hero .lead { font-size: clamp(17px, 1.6vw, 23px); line-height: 1.35; max-width: 560px; margin-bottom: 34px; }

/* ----- Feature strip ----- */
.features { background: var(--cream-2) var(--grain); border-bottom: 1px solid var(--line); }
.features-inner { display: grid; grid-template-columns: repeat(3, 1fr); }
.feature { display: flex; align-items: center; justify-content: center; gap: 22px; padding: 22px 16px; }
.feature + .feature { border-left: 1px solid #b9b09b; }
.feature svg { width: 46px; height: 46px; fill: var(--green); flex-shrink: 0; }
.feature h3 { font: 700 14px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.feature p { font-size: 15px; color: var(--muted); }

/* ----- Materials ----- */
.section-cream { background: var(--cream) var(--grain); }
.materials { padding: 48px 0 24px; }
.materials-head {
  display: grid; grid-template-columns: auto 1fr auto; gap: 56px; align-items: center;
  margin-bottom: 32px;
}
.materials-intro { color: var(--muted); font-size: 17px; line-height: 1.5; max-width: 480px; }
.material-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px;
  max-width: 1400px; margin: 0 auto; padding: 0 40px;
}
.material-card {
  background: #fbf9f4; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 1px 3px rgba(40, 30, 10, .12), 0 6px 18px rgba(40, 30, 10, .08);
  transition: transform .25s, box-shadow .25s;
}
.material-card:hover { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(40, 30, 10, .18); }
.material-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.material-body { padding: 14px 18px 20px; }
.material-body h3 { font: 400 24px/1.15 var(--slab); color: var(--ink); margin-bottom: 8px; }
.material-body p { font-size: 15px; color: var(--muted); line-height: 1.4; }

/* ----- Hauling ----- */
.hauling { position: relative; overflow: hidden; color: #fff; margin-top: 24px; background: var(--green-deep); }
.hauling-bg { position: absolute; top: 0; right: 0; width: 70%; height: 100%; object-fit: cover; object-position: 0% 55%; }
.hauling::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(16, 39, 26, 1) 30%, rgba(16, 39, 26, .75) 38%, rgba(16, 39, 26, .15) 50%, rgba(16, 39, 26, 0) 62%, rgba(16, 39, 26, .25) 78%, rgba(16, 39, 26, .7) 100%);
}
.hauling-inner {
  position: relative; z-index: 2;
  display: flex; justify-content: space-between; align-items: center; gap: 40px;
  padding-top: 40px; padding-bottom: 40px; min-height: 350px;
}
.hauling-copy { max-width: 620px; }
.hauling-copy p { max-width: 520px; }
.hauling h2 { color: #fff; font-size: clamp(32px, 3.3vw, 46px); margin-bottom: 18px; }
.hauling-copy p { color: #fff; font-size: 18px; line-height: 1.4; margin-bottom: 24px; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.checklist li {
  display: flex; align-items: center; gap: 14px; font-size: 16px; font-weight: 600;
  text-shadow: 0 1px 8px rgba(0,0,0,.7);
}
.checklist li::before {
  content: ""; width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%;
  border: 2px solid var(--tan-light);
  background: rgba(15, 38, 24, .55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23bfa973' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}

/* ----- Our Source ----- */
.source { padding: 18px 0; }
.source-inner { display: grid; grid-template-columns: 380px 1fr; gap: 36px; align-items: center; max-width: 1400px; padding-right: 40px; }
.source-copy h2 { font-size: clamp(30px, 3vw, 42px); margin-bottom: 14px; }
.source-copy .eyebrow { color: var(--tan); }
.source-copy p { color: var(--muted); font-size: 17px; margin-bottom: 22px; }
.source-gallery {
  display: grid; grid-template-columns: 2.3fr 1fr; grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); gap: 12px;
  height: 380px;
}
.source-gallery img { width: 100%; height: 100%; min-height: 0; object-fit: cover; border-radius: var(--radius); }
.g-main { grid-row: 1 / span 2; }

/* ----- Service area ----- */
.service { position: relative; overflow: hidden; color: #fff; background: var(--green-deep); }
.service-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.service::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(12, 28, 18, .55), rgba(12, 28, 18, .1) 50%, rgba(12, 28, 18, .45));
}
.service-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center;
  padding-top: 32px; padding-bottom: 32px;
}
.service .eyebrow { color: #e8e2d2; }
.service h2 { color: #fff; font-size: clamp(30px, 3vw, 42px); white-space: nowrap; text-shadow: 0 2px 14px rgba(0,0,0,.35); }
.towns {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, auto); justify-content: end; row-gap: 22px;
}
.towns li {
  display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 600; white-space: nowrap;
  padding: 0 28px; border-left: 1px solid rgba(255,255,255,.3);
  text-shadow: 0 1px 8px rgba(0,0,0,.5);
}
.towns li:nth-child(4n + 1) { border-left: 0; }
.towns li::before {
  content: ""; width: 20px; height: 27px; flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 22'%3E%3Cpath d='M8 0a8 8 0 0 0-8 8c0 6 8 14 8 14s8-8 8-14a8 8 0 0 0-8-8zm0 11a3 3 0 1 1 0-6 3 3 0 0 1 0 6z' fill='%23bfa973'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ----- Quote ----- */
.quote { padding: 28px 0 32px; }
.quote-inner { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: start; }
.quote-copy .eyebrow { color: var(--ink); }
.quote-copy h2 { margin-bottom: 18px; }
.quote-copy p { color: var(--muted); font-size: 17px; max-width: 460px; }
.quote-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quote-form .full { grid-column: 1 / -1; }
.quote-form input, .quote-form select {
  width: 100%; height: 48px; padding: 0 16px;
  font: 400 16px var(--sans); color: var(--ink);
  background: #fff; border: 1px solid #c7bfae; border-radius: var(--radius);
  transition: border-color .2s, box-shadow .2s;
}
.quote-form select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231c211d' stroke-width='1.8'/%3E%3C/svg%3E") right 16px center / 12px no-repeat;
  padding-right: 40px;
}
.quote-form select:invalid { color: #666a65; }
.quote-form input::placeholder { color: #666a65; }
.quote-form input:focus, .quote-form select:focus {
  outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(28, 74, 42, .18);
}
.quote-form button { height: 52px; font-size: 17px; }

/* ----- Footer ----- */
.site-footer { background: var(--footer); color: #e7e3d8; padding: 28px 0 16px; }
.footer-inner { display: flex; align-items: center; gap: 36px; }
.brand-footer .brand-icon { height: 64px; }
.brand-footer .brand-text { height: 58px; }
.footer-tag { font-size: 14px; color: #d6d2c7; padding-right: 40px; border-right: 1px solid #4a4c48; line-height: 1.6; }
.footer-nav { display: flex; gap: 32px; margin-left: auto; flex-wrap: wrap; }
.footer-nav a { text-decoration: none; font-size: 16px; }
.footer-nav a:hover { color: var(--tan-light); }
.footer-bottom { margin-top: 20px; padding-top: 14px; border-top: 1px solid #3a3c38; font-size: 13px; color: #8f8c84; }

/* ===== Responsive ===== */
@media (max-width: 1200px) {
  .material-grid { grid-template-columns: repeat(3, 1fr); }
  .materials-head { grid-template-columns: 1fr 1fr; }
  .materials-head .btn { grid-column: 1 / -1; justify-self: start; }
  .site-nav { gap: 26px; }
  .towns li { padding: 0 18px; }
}

@media (max-width: 960px) {
  :root { --header-h: 70px; }
  body { font-size: 16px; }
  .container { padding: 0 24px; }
  .brand-icon { height: 44px; }
  .brand-text { height: 40px; }
  .site-header { background: var(--cream) var(--grain); box-shadow: 0 2px 10px rgba(0,0,0,.08); }
  .nav-toggle { display: block; }
  .site-nav::before, .brand::before { display: none; }
  .site-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    box-shadow: 0 10px 20px rgba(0,0,0,.08);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .site-nav.open { max-height: 420px; }
  .site-nav a:not(.btn) { padding: 15px 24px; border-top: 1px solid var(--line); }
  .site-nav a:not(.btn)::after { display: none; }
  .site-nav .btn { margin: 14px 24px 18px; }

  .hero { margin-top: 0; padding-top: 0; min-height: 560px; }
  .hero-band, .hero-pop { display: none; }
  .hero::before { inset: 0; background: linear-gradient(90deg, rgba(10, 26, 16, .88), rgba(10, 26, 16, .4)); }

  .features-inner { grid-template-columns: 1fr; }
  .feature { justify-content: flex-start; padding: 16px 4px; }
  .feature + .feature { border-left: 0; border-top: 1px solid #cfc6b1; }
  .feature svg { width: 38px; height: 38px; }

  .materials { padding-top: 48px; }
  .materials-head { grid-template-columns: 1fr; gap: 18px; }
  .material-grid { padding: 0 24px; }

  .hauling-bg { width: 100%; object-position: 30% 55%; }
  .hauling::before { background: linear-gradient(180deg, rgba(16, 39, 26, .9), rgba(16, 39, 26, .7)); }
  .hauling-inner { flex-direction: column; align-items: flex-start; padding-top: 56px; padding-bottom: 56px; }

  .source { padding: 48px 0; }
  .source-inner { grid-template-columns: 1fr; padding-right: 24px; }
  .source-gallery { height: 340px; }

  .service-inner { grid-template-columns: 1fr; padding-top: 44px; padding-bottom: 44px; }
  .service h2 { white-space: normal; }
  .towns { grid-template-columns: repeat(2, 1fr); justify-content: start; }
  .towns li, .towns li:nth-child(4n + 1) { border-left: 0; padding-left: 0; }

  .quote { padding: 56px 0; }
  .quote-inner { grid-template-columns: 1fr; gap: 28px; }

  .footer-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-nav { margin-left: 0; }
  .footer-tag { border-right: 0; padding-right: 0; }
}

@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .material-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 0 16px; }
  .material-body { padding: 12px 12px 16px; }
  .material-body h3 { font-size: 19px; }
  .material-body p { font-size: 14px; }
  .brand-icon { height: 36px; }
  .brand-text { height: 32px; }
  .hero { min-height: 540px; }
  .hero::before { background: linear-gradient(180deg, rgba(10, 26, 16, .5), rgba(10, 26, 16, .88)); }
  .hero-bg { object-position: 62% center; }
  .btn { padding: 15px 22px; font-size: 16px; }
  .source-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 210px 140px; height: auto; }
  .g-main { grid-row: auto; grid-column: 1 / -1; }
  .quote-form { grid-template-columns: 1fr; }
  .footer-nav { gap: 20px; }
  .brand-footer .brand-icon { height: 56px; }
  .brand-footer .brand-text { height: 52px; }
}

/* ----- Accessibility helpers ----- */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--green); color: #fff; padding: 10px 16px; border-radius: var(--radius);
  font-weight: 600; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; }
#top { scroll-margin-top: 0; }

/* ----- Service area counties line ----- */
.counties {
  grid-column: 1 / -1; font-size: 14px; color: #e3ded0; margin-top: -8px;
  text-shadow: 0 1px 6px rgba(0,0,0,.5);
}

/* ----- FAQ ----- */
.faq { padding: 56px 0 36px; }
.faq-inner { display: grid; grid-template-columns: 1fr 1.8fr; gap: 56px; align-items: start; }
.faq-head .eyebrow { color: var(--tan); }
.faq-list { display: grid; gap: 10px; }
.faq details {
  background: #fbf9f4; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 1px 3px rgba(40, 30, 10, .06);
}
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; position: relative;
  font-weight: 700; font-size: 17px; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font: 400 26px/1 var(--sans); color: var(--green); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq summary:hover { color: var(--green); }
.faq details p { padding: 0 22px 20px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.faq details a { color: var(--green); font-weight: 600; }

/* ----- Footer SEO links ----- */
.footer-seo { margin-top: 22px; display: grid; gap: 6px; font-size: 13px; color: #a9a59b; }
.footer-seo strong { color: #d6d2c7; font-weight: 600; }
.footer-seo a { color: #c9c5ba; text-decoration: none; }
.footer-seo a:hover { color: var(--tan-light); }

@media (max-width: 960px) {
  .faq-inner { grid-template-columns: 1fr; gap: 24px; }
  .counties { margin-top: 0; }
}

/* =================================================================
   Multi-page additions
   ================================================================= */
body.inner .site-nav::before { display: none; }
.nav-phone { font-weight: 700 !important; color: var(--green) !important; }
.hp { position: absolute; left: -9999px; }
a.material-card { display: block; text-decoration: none; color: inherit; }
.card-link { display: inline-block; margin-top: 10px; font-size: 14px; font-weight: 700; color: var(--green); }
a.material-card:hover .card-link { text-decoration: underline; }
.counties a { color: #fff; font-weight: 600; }
.towns a { color: inherit; text-decoration: none; }
.towns a:hover { color: var(--tan-light); }
.btn-ghost { color: var(--green); border-color: var(--green); background: transparent; }
.btn-ghost:hover { background: var(--green); color: #fff; }
.fine { font-size: 13px; color: #6d6f6b; margin-top: 10px; }

/* Breadcrumbs */
.crumbs ol { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.crumbs a { text-decoration: none; opacity: .85; }
.crumbs a:hover { opacity: 1; text-decoration: underline; }
.page-hero .crumbs { color: #fff; }

/* Inner-page hero */
.page-hero { position: relative; overflow: hidden; color: #fff; background: var(--green-deep); }
.page-hero-bg { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(10, 26, 16, .92) 0%, rgba(10, 26, 16, .78) 45%, rgba(10, 26, 16, .35) 100%);
}
.page-hero-mountains::before { background: linear-gradient(90deg, rgba(10, 26, 16, .6), rgba(10, 26, 16, .15)); }
.page-hero-content { position: relative; z-index: 2; padding-top: 56px; padding-bottom: 64px; }
.page-hero h1 { font-size: clamp(38px, 5vw, 68px); margin-bottom: 16px; text-shadow: 0 3px 20px rgba(0,0,0,.35); }
.page-hero .lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.45; max-width: 640px; }

/* Intro blocks */
.detail-main a, .simple-inner a:not(.btn), .calc-out a { color: var(--green); font-weight: 600; }
.table-title { font-size: clamp(26px, 2.6vw, 36px); margin: 48px 0 18px; }

/* Comparison table */

/* Calculator */
.calc-inner { margin-top: 36px; display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: center;
  background: #fbf9f4; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; }
.calc-inner .eyebrow { color: var(--tan); }
.calc-inner h2 { margin-bottom: 12px; font-size: clamp(28px, 3vw, 40px); }
.calc-inner p { color: var(--muted); }
.calculator { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.calculator label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.calculator input, .calculator select, .quote-form textarea {
  width: 100%; height: 46px; padding: 0 14px; font: 400 16px var(--sans); color: var(--ink);
  background: #fff; border: 1px solid #c7bfae; border-radius: var(--radius);
}
.calculator .full, .calc-out { grid-column: 1 / -1; }
.calc-out { display: block; background: var(--green); color: #fff; padding: 16px 18px; border-radius: var(--radius); font-size: 17px; line-height: 1.6; }
.calc-out a { color: #fff !important; }
.quote-form textarea { height: auto; padding: 12px 14px; resize: vertical; }

/* Detail pages */
.detail { padding: 56px 0; }
.detail-inner { display: grid; grid-template-columns: 1fr 360px; gap: 48px; align-items: start; }
.detail-main h2 { font-size: clamp(24px, 2.4vw, 32px); margin: 32px 0 12px; }
.detail-main h2:first-child, .detail-photo + h2 { margin-top: 0; }
.detail-main p { color: var(--muted); font-size: 17px; line-height: 1.65; }
.detail-photo { width: 100%; max-height: 420px; object-fit: cover; border-radius: var(--radius); margin-bottom: 32px; box-shadow: 0 6px 18px rgba(40,30,10,.12); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; font-size: 17px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--green)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.ticks a { color: var(--green); font-weight: 600; }
.steps { margin: 0; padding-left: 22px; display: grid; gap: 10px; font-size: 17px; color: var(--muted); }
.steps strong { color: var(--ink); }
.detail-side { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 16px; }
.spec-card { background: #fbf9f4; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: 0 6px 18px rgba(40,30,10,.08); }
.spec-card h2 { font-size: 26px; margin-bottom: 14px; color: var(--ink); }
.specs { width: 100%; border-collapse: collapse; margin-bottom: 20px; font-size: 15px; }
.specs th, .specs td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { width: 42%; color: var(--muted); font-weight: 600; padding-right: 12px; }
.spec-card .btn { white-space: normal; text-align: center; }
.related { padding: 0 0 56px; }
.related .table-title { margin-top: 0; }
.material-grid.grid-3 { grid-template-columns: repeat(3, 1fr); max-width: 1100px; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; color: #fff; background: var(--green-deep); }
.cta-bg { position: absolute; inset: 0; width: 100%; height: 100% !important; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(12,28,18,.7), rgba(12,28,18,.3)); }
.cta-inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 44px; padding-bottom: 44px; }
.cta-band h2 { color: #fff; font-size: clamp(28px, 3vw, 42px); margin-bottom: 8px; }
.cta-band p { max-width: 560px; color: #eeeae0; }

/* Service area page */

/* FAQ page / simple pages / quote page */
.simple-page { padding: 80px 0; min-height: 50vh; }
.simple-inner { max-width: 760px; }
.simple-inner h1 { font-size: clamp(36px, 4.5vw, 60px); margin-bottom: 20px; }
.simple-inner p { color: var(--muted); font-size: 17px; margin-bottom: 14px; }
.simple-inner .btn-row { margin-top: 24px; }

@media (max-width: 1200px) {
}
@media (max-width: 960px) {
  .detail-inner, .calc-inner { grid-template-columns: 1fr; }
  .detail-side { position: static; }
  .material-grid.grid-3 { grid-template-columns: repeat(2, 1fr); }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .calc-inner { padding: 24px; gap: 24px; }
}
@media (max-width: 600px) {
  .calculator { grid-template-columns: 1fr; }
  .page-hero-content { padding-top: 36px; padding-bottom: 44px; }
  .material-grid.grid-3 { grid-template-columns: repeat(2, 1fr); }
}
