:root {
  --pine: #0f2d22;
  --leaf: #2f6b3f;
  --lime: #93bf4f;
  --safety: #f0a11a;
  --bark: #5b3a25;
  --charcoal: #171d1a;
  --ash: #eef1ea;
  --cream: #fbf7ed;
  --white: #ffffff;
  --muted: #68736c;
  --shadow: 0 18px 48px rgba(15, 45, 34, 0.16);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.6;
}
body.has-prototype-notice { padding-bottom: 98px; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--pine);
  color: var(--white);
}
.skip-link:focus { left: 10px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(251, 247, 237, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(15, 45, 34, 0.12);
}
.topbar { background: var(--pine); color: var(--white); font-size: 0.86rem; }
.topbar-inner, .nav-inner, .section-inner { width: min(1180px, calc(100% - 36px)); margin: 0 auto; }
.topbar-inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.topbar-links { display: flex; gap: 16px; flex-wrap: wrap; }
.nav-inner { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--pine); font-weight: 950; }
.brand img { width: 56px; height: 56px; object-fit: contain; }
.brand small { display: block; margin-top: -3px; color: var(--bark); text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.04em; }
.nav-menu { display: flex; align-items: center; gap: 18px; font-weight: 900; font-size: 0.92rem; color: var(--pine); }
.nav-menu a:hover, .nav-menu a[aria-current="page"] { color: var(--leaf); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid rgba(15, 45, 34, 0.16); border-radius: 50%; background: var(--white); color: var(--pine); cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 2px; margin: 4px auto; background: currentColor; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--pine);
  color: var(--white);
  font-weight: 950;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn.secondary { background: var(--white); color: var(--pine); border-color: rgba(15, 45, 34, 0.18); }
.btn.safety { background: var(--safety); color: #211303; }

.hero, .page-hero {
  position: relative;
  overflow: hidden;
  background: var(--pine);
  display: grid;
  align-items: end;
}
.hero { min-height: 690px; }
.page-hero { min-height: 430px; }
.hero::before, .page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 28, 21, 0.88), rgba(10, 28, 21, 0.54), rgba(10, 28, 21, 0.22)), var(--hero-image);
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}
.hero .section-inner { position: relative; padding: 120px 0 72px; color: var(--white); }
.page-hero .section-inner { position: relative; padding: 96px 0 60px; color: var(--white); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; color: var(--safety); font-weight: 950; text-transform: uppercase; font-size: 0.78rem; letter-spacing: 0.08em; }
h1, h2, h3 { margin: 0; line-height: 1.08; color: var(--pine); letter-spacing: 0; }
.hero h1, .page-hero h1 { max-width: 850px; color: var(--white); font-size: clamp(2.55rem, 5.8vw, 5.6rem); }
.hero p, .page-hero p { max-width: 720px; margin: 20px 0 0; font-size: clamp(1.05rem, 2vw, 1.25rem); color: rgba(255, 255, 255, 0.9); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.badge { padding: 12px 15px; border-radius: 999px; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.18); color: var(--white); font-weight: 900; }

.section { padding: 84px 0; }
.section.alt { background: var(--white); }
.section.dark { background: var(--pine); color: rgba(255,255,255,0.82); }
.section.dark h2, .section.dark h3 { color: var(--white); }
.section-heading { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.6fr); gap: 34px; align-items: end; margin-bottom: 32px; }
.section-heading h2 { font-size: clamp(2rem, 4vw, 3.35rem); }
.section-heading p { margin: 0; color: var(--muted); }
.section.dark .section-heading p { color: rgba(255,255,255,0.72); }
.grid { display: grid; gap: 22px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); border: 1px solid rgba(15, 45, 34, 0.08); overflow: hidden; }
.card.pad { padding: 26px; }
.service-card img, .gallery-card img, .feature-card img { width: 100%; height: 250px; object-fit: cover; }
.card-body { padding: 24px; }
.card h3 { font-size: 1.38rem; margin-bottom: 10px; }
.service-list { display: grid; gap: 11px; margin: 18px 0 0; padding: 0; list-style: none; }
.service-list li { display: flex; gap: 10px; }
.service-list li::before { content: ""; flex: 0 0 8px; width: 8px; height: 8px; margin-top: 10px; border-radius: 50%; background: var(--safety); }
.split { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: 48px; align-items: center; }
.split-image img { width: 100%; min-height: 440px; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow); }
.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 26px; }
.stat { padding: 22px; border-radius: 18px; background: var(--ash); }
.stat strong { display: block; color: var(--pine); font-size: 1.5rem; }
.cta-band { padding: 44px; border-radius: 28px; background: linear-gradient(135deg, var(--pine), #1d5a37); color: rgba(255,255,255,0.84); display: flex; align-items: center; justify-content: space-between; gap: 24px; box-shadow: var(--shadow); }
.cta-band h2 { color: var(--white); font-size: clamp(1.8rem, 4vw, 3rem); }
.notice-card { padding: 18px; border-radius: 14px; background: #fff7e5; border-left: 5px solid var(--safety); color: #4a3215; }

.filterbar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.filter-btn { border: 1px solid rgba(15,45,34,0.18); border-radius: 999px; background: var(--white); color: var(--pine); padding: 9px 14px; font-weight: 950; cursor: pointer; }
.filter-btn.active { background: var(--pine); color: var(--white); }

.contact-grid { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: 30px; }
.contact-list { display: grid; gap: 14px; margin-top: 18px; }
.contact-item { padding: 18px; border-radius: 16px; background: var(--white); border: 1px solid rgba(15,45,34,0.08); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
label { font-weight: 950; color: var(--pine); font-size: 0.9rem; }
input, select, textarea { width: 100%; min-height: 46px; border: 1px solid rgba(15,45,34,0.16); border-radius: 12px; padding: 11px 12px; font: inherit; background: var(--white); color: var(--charcoal); }
textarea { min-height: 128px; resize: vertical; }

.site-footer { background: #121715; color: rgba(255,255,255,0.72); padding: 58px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.1fr repeat(3, minmax(0, 0.62fr)); gap: 28px; }
.site-footer h2, .site-footer h3 { color: var(--white); }
.footer-links { display: grid; gap: 8px; }
.footer-bottom { margin-top: 34px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.12); display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; font-size: 0.88rem; }

.quote-fab {
  position: fixed;
  right: 24px;
  bottom: 124px;
  z-index: 75;
  width: 68px;
  height: 68px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--safety), #f7c85a);
  color: #241601;
  box-shadow: 0 18px 36px rgba(15,45,34,0.28);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.quote-fab svg { width: 34px; height: 34px; }
.modal-backdrop { position: fixed; inset: 0; z-index: 95; display: none; place-items: center; padding: 18px; background: rgba(12, 23, 17, 0.72); }
.modal-backdrop.open { display: grid; }
.quote-modal { width: min(680px, 100%); max-height: min(88vh, 820px); overflow: auto; border-radius: 24px; background: var(--white); box-shadow: 0 28px 90px rgba(0,0,0,0.34); }
.modal-header { padding: 26px 28px 18px; border-bottom: 1px solid rgba(15,45,34,0.1); display: grid; grid-template-columns: 1fr auto; gap: 16px; }
.modal-header h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
.modal-header p { margin: 8px 0 0; color: var(--muted); }
.modal-close { width: 42px; height: 42px; border: 1px solid rgba(15,45,34,0.16); border-radius: 50%; background: var(--white); cursor: pointer; font-size: 1.4rem; }
.progress-wrap, .quote-step, .modal-actions, .success-box { padding-left: 28px; padding-right: 28px; }
.progress-wrap { padding-top: 18px; }
.progress-label { display: flex; justify-content: space-between; font-weight: 950; color: var(--pine); font-size: 0.88rem; }
.progress-bar { height: 8px; margin-top: 8px; overflow: hidden; border-radius: 999px; background: rgba(15,45,34,0.12); }
.progress-bar span { display: block; height: 100%; width: 25%; background: var(--leaf); }
.quote-step { display: none; padding-top: 24px; padding-bottom: 6px; }
.quote-step.active { display: block; }
.modal-actions { padding-top: 18px; padding-bottom: 28px; display: flex; justify-content: space-between; gap: 12px; }
.error-message { display: none; margin: 14px 28px 0; padding: 10px 12px; border-radius: 12px; background: #fff1f1; color: #8b1e1e; font-weight: 850; }
.success-box { display: none; padding-top: 28px; padding-bottom: 28px; }
.success-box.active { display: block; }

.prototype-notice { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: #fff; color: #242424; border-top: 1px solid rgba(0,0,0,0.16); box-shadow: 0 -10px 24px rgba(0,0,0,0.1); }
.prototype-notice__inner { width: min(1180px, calc(100% - 28px)); margin: 0 auto; padding: 10px 0; display: grid; gap: 3px; }
.prototype-notice__label { font-weight: 950; color: var(--pine); text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.05em; }
.prototype-notice__body { margin: 0; font-size: 0.72rem; line-height: 1.35; }

@media (max-width: 1020px) {
  .grid.four, .grid.three, .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-heading, .split, .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 780px) {
  body.has-prototype-notice { padding-bottom: 68px; }
  .topbar { display: none; }
  .nav-inner { min-height: 68px; }
  .nav-toggle { display: block; }
  .nav-menu { position: absolute; left: 18px; right: 18px; top: 74px; display: none; padding: 18px; border-radius: 18px; background: var(--white); box-shadow: var(--shadow); flex-direction: column; align-items: stretch; }
  .nav-menu.open { display: flex; }
  .hero { min-height: 620px; }
  .grid.two, .grid.three, .grid.four, .footer-grid, .form-grid, .stat-row { grid-template-columns: 1fr; }
  .section { padding: 58px 0; }
  .cta-band { padding: 28px; flex-direction: column; align-items: flex-start; }
  .quote-fab { width: 58px; height: 58px; right: 16px; bottom: 84px; }
  .modal-actions { flex-direction: column-reverse; }
  .modal-actions .btn { width: 100%; }
  .prototype-notice__inner { width: min(100% - 18px, 980px); padding: 6px 0; }
  .prototype-notice__label { font-size: 0.55rem; }
  .prototype-notice__body { font-size: 0.56rem; line-height: 1.22; }
}
