:root {
  --bg: #f7f8f4;
  --surface: #ffffff;
  --surface-soft: #eef3ed;
  --ink: #1f2521;
  --muted: #667067;
  --line: #d9ded4;
  --wood: #9b6237;
  --wood-dark: #6f3f21;
  --forest: #2f5f4e;
  --steel: #385f71;
  --amber: #d8a85f;
  --radius: 8px;
  --shadow: 0 16px 40px rgba(31, 37, 33, 0.08);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 248, 244, 0.93);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(47, 95, 78, 0.35);
  border-radius: var(--radius);
  background: var(--forest);
  color: #fff;
  font-weight: 800;
}

.brand-copy {
  display: grid;
  min-width: 0;
}

.brand-name {
  font-weight: 800;
  line-height: 1.1;
}

.brand-tagline {
  color: var(--muted);
  font-size: 0.88rem;
}

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

.site-nav a {
  border-radius: var(--radius);
  color: var(--ink);
  font-weight: 650;
  padding: 10px 12px;
}

.site-nav a:hover,
.site-nav a.active {
  background: rgba(47, 95, 78, 0.1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  border-radius: 2px;
  background: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--forest);
  color: #fff;
  font-weight: 750;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background 140ms ease, border-color 140ms ease, transform 140ms ease;
}

.btn:hover {
  background: #23483b;
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-secondary {
  background: var(--wood);
}

.btn-secondary:hover {
  background: var(--wood-dark);
}

.btn-ghost {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: rgba(47, 95, 78, 0.4);
  background: rgba(47, 95, 78, 0.08);
}

.btn-small {
  min-height: 38px;
  padding: 8px 12px;
  font-size: 0.92rem;
}

.hero {
  position: relative;
  display: grid;
  min-height: 78svh;
  overflow: hidden;
  background: #1f2521;
  color: #fff;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(16, 24, 20, 0.82) 0%, rgba(16, 24, 20, 0.54) 42%, rgba(16, 24, 20, 0.15) 100%),
    linear-gradient(0deg, rgba(16, 24, 20, 0.35), rgba(16, 24, 20, 0.02));
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  max-width: 680px;
  padding-block: 86px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--amber);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  font-size: 4.1rem;
  line-height: 0.98;
}

.hero .lead {
  max-width: 58ch;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.18rem;
}

.hero-actions,
.section-actions,
.form-actions,
.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-signals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.signal {
  border-left: 3px solid var(--amber);
  padding-left: 12px;
}

.signal strong {
  display: block;
  color: #fff;
}

.signal span {
  display: block;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
}

.section {
  padding: 74px 0;
}

.section-tight {
  padding: 52px 0;
}

.section-band {
  border-block: 1px solid var(--line);
  background: var(--surface-soft);
}

.section-head {
  display: grid;
  max-width: 760px;
  gap: 8px;
  margin-bottom: 28px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

.section-head h1,
.section-head h2,
.page-hero h1 {
  margin: 0;
  font-size: 2.45rem;
  line-height: 1.08;
}

.section-head p,
.page-hero p,
.muted {
  margin: 0;
  color: var(--muted);
}

.page-hero {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  padding: 54px 0;
}

.page-hero-inner {
  display: grid;
  gap: 10px;
  max-width: 820px;
}

.overview-grid,
.process-grid,
.legal-grid {
  display: grid;
  gap: 22px;
}

.overview-grid {
  grid-template-columns: repeat(3, 1fr);
}

.overview-item {
  border-top: 3px solid var(--forest);
  padding-top: 16px;
}

.overview-item h3,
.process-step h3,
.contact-panel h3,
.legal-card h2,
.product-copy h2 {
  margin: 0 0 8px;
}

.overview-item p,
.process-step p,
.product-copy p {
  margin: 0;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 18px;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.product-card,
.gallery-card {
  display: grid;
  min-height: 100%;
  color: inherit;
  transition: transform 140ms ease, border-color 140ms ease;
}

.product-card:hover,
.gallery-card:hover {
  border-color: rgba(47, 95, 78, 0.42);
  transform: translateY(-2px);
}

.photo-placeholder {
  position: relative;
  display: grid;
  aspect-ratio: 4 / 3;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(47, 95, 78, 0.16), rgba(155, 98, 55, 0.12)),
    repeating-linear-gradient(90deg, rgba(111, 63, 33, 0.16) 0 10px, rgba(216, 168, 95, 0.1) 10px 18px);
  color: rgba(31, 37, 33, 0.68);
  font-weight: 800;
  text-align: center;
}

.photo-placeholder.large {
  aspect-ratio: 16 / 11;
}

.photo-placeholder.small {
  aspect-ratio: 1 / 1;
  border-bottom: 0;
}

.photo-placeholder.video::before {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: rgba(47, 95, 78, 0.9);
  color: #fff;
  content: "Play";
  display: grid;
  place-items: center;
}

.card-body {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.card-kicker,
.product-category {
  color: var(--steel);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.card-title {
  margin: 0;
  font-size: 1.16rem;
  line-height: 1.25;
}

.card-body p {
  margin: 0;
  color: var(--muted);
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.92rem;
}

.quote-price {
  color: var(--wood-dark);
  font-weight: 850;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.filter-btn {
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  font-weight: 750;
}

.filter-btn.active,
.filter-btn:hover {
  border-color: rgba(47, 95, 78, 0.4);
  background: rgba(47, 95, 78, 0.1);
}

.process-grid {
  grid-template-columns: repeat(4, 1fr);
  counter-reset: step;
}

.process-step {
  position: relative;
  padding-top: 44px;
}

.process-step::before {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: var(--forest);
  color: #fff;
  content: counter(step);
  counter-increment: step;
  font-weight: 850;
}

.cta-band {
  background: var(--forest);
  color: #fff;
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
}

.cta-inner h2 {
  margin: 0 0 8px;
  font-size: 2rem;
}

.cta-inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.crumbs {
  margin-bottom: 20px;
}

.crumbs a {
  color: var(--forest);
  font-weight: 800;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 26px;
  align-items: start;
}

.product-media {
  padding: 14px;
}

.product-main-photo {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.product-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.thumb {
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  cursor: pointer;
}

.thumb:hover,
.thumb.active {
  border-color: var(--forest);
}

.product-summary,
.contact-panel,
.legal-card {
  padding: 22px;
}

.product-summary h1 {
  margin: 0 0 12px;
  font-size: 2.35rem;
  line-height: 1.05;
}

.product-summary .summary {
  color: var(--muted);
  font-size: 1.04rem;
}

.spec-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 20px 0 0;
}

.spec-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(47, 95, 78, 0.05);
  padding: 12px;
}

.spec-item dt {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.spec-item dd {
  margin: 4px 0 0;
  font-weight: 800;
}

.product-copy {
  display: grid;
  gap: 22px;
  margin-top: 26px;
}

.detail-list {
  margin: 10px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.detail-list li + li {
  margin-top: 6px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 22px;
  align-items: start;
}

.quote-form {
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  gap: 7px;
}

.form-row label {
  font-weight: 780;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  padding: 12px 13px;
  outline: none;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(47, 95, 78, 0.5);
  box-shadow: 0 0 0 4px rgba(47, 95, 78, 0.12);
}

.info-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.info-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.info-row strong {
  color: var(--ink);
}

.info-row span,
.info-row a {
  color: var(--muted);
}

.legal-grid {
  grid-template-columns: minmax(0, 1fr);
}

.legal-card {
  display: grid;
  gap: 12px;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
}

.legal-card ul {
  margin: 0;
  padding-left: 20px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 24px 0;
}

.footer-links,
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  justify-content: flex-end;
}

.footer-links a {
  color: var(--muted);
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--forest);
}

.social {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.social svg {
  width: 19px;
  height: 19px;
  fill: var(--forest);
}

.footer-brand {
  margin-bottom: 3px;
  font-weight: 850;
}

@media (max-width: 980px) {
  .hero h1,
  .page-hero h1 {
    font-size: 3.15rem;
  }

  .hero-signals,
  .overview-grid,
  .grid-3,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-detail,
  .contact-grid,
  .cta-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .header-inner {
    min-height: 68px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 68px;
    right: 14px;
    left: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
    padding: 10px;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
  }

  .hero {
    min-height: 72svh;
  }

  .hero-content {
    padding-block: 68px;
  }

  .hero h1,
  .page-hero h1,
  .section-head h1,
  .section-head h2,
  .product-summary h1 {
    font-size: 2.35rem;
  }

  .hero .lead {
    font-size: 1rem;
  }

  .hero-signals,
  .overview-grid,
  .grid-2,
  .grid-3,
  .process-grid,
  .spec-list,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 56px 0;
  }

  .page-hero {
    padding: 42px 0;
  }

  .footer-links,
  .footer-social {
    justify-content: flex-start;
  }

  .info-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

@media (max-width: 460px) {
  .brand-tagline {
    display: none;
  }

  .hero h1,
  .page-hero h1,
  .section-head h1,
  .section-head h2,
  .product-summary h1 {
    font-size: 2rem;
  }

  .product-thumbs {
    grid-template-columns: repeat(2, 1fr);
  }
}
