:root {
  --green: #0b7f43;
  --green-dark: #075934;
  --blue: #1d3e8a;
  --gold: #d8a31a;
  --ink: #17211d;
  --muted: #65736d;
  --line: #dfe7e2;
  --paper: #f7faf6;
  --white: #ffffff;
  --shadow: 0 20px 45px rgba(23, 33, 29, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.skip-link:focus {
  z-index: 20;
  width: auto;
  height: auto;
  padding: 10px 14px;
  clip: auto;
  background: var(--ink);
  color: var(--white);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(223, 231, 226, 0.9);
  backdrop-filter: blur(14px);
}

.top-strip {
  background: var(--green-dark);
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
}

.top-strip__inner {
  display: flex;
  justify-content: flex-end;
  gap: 22px;
  min-height: 34px;
  align-items: center;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--green-dark);
  letter-spacing: 0;
}

.brand img {
  width: 118px;
  height: auto;
}

.site-nav > ul {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a,
.site-nav button {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 13px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.site-nav a:hover,
.site-nav button:hover,
.site-nav .is-active {
  color: var(--green);
}

.has-menu {
  position: relative;
}

.mega-menu {
  position: absolute;
  top: 100%;
  right: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 22px;
  width: min(880px, calc(100vw - 40px));
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.has-menu:hover .mega-menu,
.has-menu:focus-within .mega-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mega-menu a {
  display: flex;
  min-height: 0;
  padding: 6px 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.mega-menu .mega-title {
  color: var(--blue);
  font-size: 15px;
  font-weight: 800;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 540px;
  color: var(--white);
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-home {
  min-height: clamp(560px, 56.25vw, 820px);
  background-position: center top;
}

.page-contacts .hero {
  min-height: clamp(560px, 56.25vw, 820px);
  background-position: center top;
}

.hero-home .hero__scrim {
  background:
    linear-gradient(90deg, rgba(5, 46, 27, 0.94), rgba(5, 46, 27, 0.58) 46%, rgba(5, 46, 27, 0.08) 78%),
    linear-gradient(0deg, rgba(5, 46, 27, 0.18), rgba(5, 46, 27, 0.18));
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 40, 25, 0.78), rgba(7, 40, 25, 0.42) 52%, rgba(7, 40, 25, 0.16));
}

.hero__inner {
  position: relative;
  z-index: 1;
  padding: 92px 0 76px;
}

.hero-home .hero__inner {
  padding-bottom: 150px;
}

.hero__eyebrow,
.section-kicker,
.panel-label {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 0.98;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.hero__lead {
  max-width: 710px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 19px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 800;
}

.button-primary {
  background: var(--gold);
  color: #221b08;
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: var(--white);
}

.button-plain {
  border: 1px solid var(--line);
  color: var(--green-dark);
}

.section {
  padding: 76px 0;
}

.product-section {
  background: var(--paper);
}

.product-section h2 {
  margin: 0 0 28px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.product-card {
  display: grid;
  grid-template-rows: 180px auto 1fr;
  min-height: 360px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(23, 33, 29, 0.06);
}

.product-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.product-card span {
  padding: 18px 18px 0;
  color: var(--green-dark);
  font-size: 18px;
  font-weight: 900;
}

.product-card p {
  margin: 0;
  padding: 8px 18px 20px;
  color: var(--muted);
  font-size: 14px;
}

.home-section-head {
  max-width: 780px;
  margin-bottom: 28px;
}

.home-section-head h2,
.home-intro h2,
.home-methods h2,
.home-values h2,
.home-contact h2 {
  margin: 0;
  color: var(--green-dark);
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05;
  overflow-wrap: break-word;
}

.home-services {
  background: var(--white);
}

.home-service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.home-service-grid article {
  min-height: 245px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f7faf6);
  box-shadow: 0 12px 30px rgba(23, 33, 29, 0.06);
}

.home-service-grid span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
  border-radius: 8px;
  background: var(--green-dark);
  color: var(--white);
  font-weight: 900;
}

.home-service-grid h3,
.home-product-card h3,
.home-blog-card h3 {
  margin: 0;
  color: var(--blue);
  font-size: 22px;
  line-height: 1.15;
}

.home-service-grid p {
  margin: 12px 0 0;
  color: var(--muted);
}

.home-intro,
.home-methods,
.home-blog {
  background: var(--paper);
}

.home-intro-grid,
.home-methods-grid,
.home-values-grid,
.home-quote-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.85fr);
  gap: 48px;
  align-items: center;
}

.home-intro p,
.home-methods p,
.home-values p,
.home-contact p {
  color: #33413b;
  font-size: 18px;
}

.home-check-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 28px;
  padding: 0;
  list-style: none;
}

.home-check-list li {
  padding: 13px 16px;
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  background: var(--white);
  color: var(--green-dark);
  font-weight: 900;
}

.home-intro-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.home-intro-media img {
  width: 100%;
  min-height: 210px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.home-intro-media img:first-child {
  grid-row: span 2;
  min-height: 434px;
}

.home-intro-media--single {
  grid-template-columns: 1fr;
}

.home-intro-media--single img,
.home-intro-media--single img:first-child {
  width: 100%;
  min-height: 0;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  grid-row: auto;
  box-shadow: var(--shadow);
}

.home-products {
  background: var(--white);
}

.home-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.home-product-card {
  position: relative;
  min-height: 0;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  border-radius: 8px;
  background: #0f2018;
  color: var(--white);
}

.home-product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 37, 23, 0.02), rgba(8, 37, 23, 0.82));
}

.home-product-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #efe4d2;
}

.home-product-card span,
.home-product-card h3 {
  position: relative;
  z-index: 1;
}

.home-product-card span {
  color: var(--gold);
  font-size: 18px;
  font-weight: 900;
}

.home-product-card h3 {
  margin-top: 8px;
  color: var(--white);
}

.home-quote {
  padding: 44px 0;
  background: var(--green-dark);
  color: var(--white);
}

.home-quote-grid {
  grid-template-columns: 1fr auto;
}

.home-quote h2 {
  margin: 0;
  max-width: 680px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
}

.home-methods-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-self: stretch;
}

.home-methods-panel span {
  display: grid;
  min-height: 130px;
  place-items: center;
  padding: 18px;
  border: 1px solid #cfe0d4;
  border-radius: 8px;
  background: var(--white);
  color: var(--green-dark);
  font-weight: 900;
  text-align: center;
  box-shadow: 0 10px 24px rgba(23, 33, 29, 0.06);
}

.home-methods-panel span:first-child {
  grid-column: 1 / -1;
  min-height: 150px;
  background: var(--green-dark);
  color: var(--white);
}

.home-faq {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.home-faq details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.home-faq summary {
  padding: 16px 18px;
  color: var(--green-dark);
  cursor: pointer;
  font-weight: 900;
}

.home-faq details p {
  margin: 0;
  padding: 0 18px 18px;
  font-size: 16px;
}

.home-stats {
  padding: 46px 0;
  background: #12231b;
}

.home-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.home-stats-grid div {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: var(--white);
  text-align: center;
}

.home-stats-grid strong {
  display: block;
  color: var(--gold);
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1;
}

.home-stats-grid span {
  display: block;
  margin-top: 8px;
  font-weight: 900;
}

.home-values {
  background: var(--white);
}

.home-person {
  margin-top: 28px;
  color: var(--green-dark) !important;
  font-weight: 900;
}

.home-person span {
  color: var(--muted);
  font-weight: 700;
}

.home-testimonials {
  display: grid;
  gap: 16px;
}

.home-testimonials blockquote {
  margin: 0;
  padding: 24px;
  border-left: 5px solid var(--gold);
  border-radius: 8px;
  background: var(--paper);
  color: #33413b;
  font-size: 18px;
}

.home-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.home-blog-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  min-height: 190px;
}

.home-blog-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.home-blog-card div {
  padding: 24px;
}

.client-certifications {
  background: var(--white);
}

.client-certifications-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(520px, 1fr);
  gap: 44px;
  align-items: center;
}

.client-certifications-copy h2 {
  margin: 0;
  color: var(--green-dark);
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.05;
}

.client-certifications-copy p:not(.section-kicker) {
  color: #33413b;
  font-size: 18px;
}

.client-certification-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.client-certification-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.client-certification-card img {
  width: 100%;
  height: 145px;
  padding: 18px;
  object-fit: contain;
  object-position: center;
  background: #f8fbf8;
}

.client-certification-card:nth-child(3) img {
  background: #12231b;
}

.certification-text-badge {
  display: grid;
  height: 145px;
  place-items: center;
  padding: 18px;
  background: #f8fbf8;
  color: var(--blue);
  font-size: 38px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.client-certification-card h3 {
  min-height: 86px;
  margin: 0;
  padding: 16px;
  background: var(--white);
  color: var(--green-dark);
  font-size: 15px;
  line-height: 1.25;
}

.home-blog-card span {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-contact {
  padding: 72px 0;
  background: linear-gradient(90deg, rgba(7, 89, 52, 0.94), rgba(7, 89, 52, 0.78)), var(--green-dark);
  color: var(--white);
  text-align: center;
}

.home-contact h2,
.home-contact p {
  color: var(--white);
}

.home-contact p:not(.section-kicker) {
  margin-bottom: 24px;
}

.content-section {
  background: var(--white);
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 42px;
  align-items: start;
}

.content-prose {
  min-width: 0;
}

.content-prose h1,
.content-prose h2 {
  margin: 48px 0 16px;
  color: var(--green-dark);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
}

.content-prose h1:first-child,
.content-prose h2:first-child {
  margin-top: 0;
}

.content-prose h3,
.content-prose h4 {
  margin: 28px 0 8px;
  color: var(--blue);
  font-size: 21px;
  line-height: 1.2;
}

.content-prose p {
  margin: 0 0 18px;
  color: #33413b;
  font-size: 17px;
}

.content-prose > p:not(.media-card):has(+ h1),
.content-prose > p:not(.media-card):has(+ h2) {
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.content-prose ul,
.content-prose ol {
  display: grid;
  gap: 10px;
  margin: 18px 0 30px;
  padding: 0;
  list-style: none;
}

.content-prose li {
  padding: 14px 16px;
  border-left: 4px solid var(--gold);
  background: var(--paper);
  border-radius: 8px;
}

.content-prose strong {
  color: var(--green-dark);
}

.content-prose a {
  color: var(--blue);
  font-weight: 800;
}

.about-story {
  display: grid;
  gap: 42px;
}

.about-story section {
  min-width: 0;
}

.about-legacy-panel,
.about-closing {
  padding: 28px;
  border: 1px solid rgba(216, 163, 26, 0.35);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(216, 163, 26, 0.12), rgba(11, 127, 67, 0.08)),
    var(--paper);
}

.about-legacy-panel h2,
.about-closing h2 {
  margin: 4px 0 10px;
}

.about-legacy-panel > p:not(.section-kicker) {
  margin-bottom: 22px;
  color: var(--green-dark);
  font-size: 20px;
  font-weight: 900;
}

.about-legacy-points,
.about-feature-grid,
.about-portfolio-grid {
  display: grid;
  gap: 14px;
}

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

.about-legacy-points span,
.about-feature-grid article,
.about-portfolio-grid article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.about-legacy-points span {
  color: var(--green-dark);
  font-weight: 900;
}

.about-feature-grid,
.about-portfolio-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 22px;
}

.about-feature-grid h3,
.about-portfolio-grid h3 {
  margin-top: 0;
}

.about-feature-grid p,
.about-portfolio-grid p {
  margin-bottom: 0;
}

.about-number-list {
  counter-reset: about-edge;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 28px 0 34px;
}

.content-prose .media-card {
  margin: 0;
}

.media-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.stat-label {
  margin-top: 22px;
  color: var(--muted);
  font-weight: 800;
}

.stat-value {
  color: var(--green-dark) !important;
  font-size: 42px !important;
  font-weight: 900;
  line-height: 1 !important;
}

.inquiry-panel,
.contact-form-card {
  position: sticky;
  top: 128px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.inquiry-panel h2,
.contact-form-card h2 {
  margin: 0 0 10px;
  color: var(--green-dark);
  font-size: 25px;
  line-height: 1.15;
}

.inquiry-panel p:not(.panel-label) {
  margin: 0 0 18px;
  color: var(--muted);
}

.inquiry-panel .button,
.contact-form-card .button {
  width: 100%;
  margin-top: 10px;
}

.contact-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--green-dark);
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid #cfdcd4;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.form-consent {
  grid-template-columns: 18px 1fr;
  align-items: start;
  color: var(--muted) !important;
  font-size: 14px;
  font-weight: 700 !important;
}

.form-consent input {
  width: 18px;
  min-height: 18px;
  margin-top: 4px;
  padding: 0;
}

.field-error {
  color: #ad2727;
  font-size: 13px;
  font-weight: 800;
}

.form-alert {
  margin: 14px 0 4px;
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 800;
}

.form-alert--success {
  background: #e3f5e8;
  color: #0b6d3a;
}

.form-alert--error {
  background: #fae7e7;
  color: #9e2424;
}

.form-direct {
  margin: 0;
  color: var(--muted);
  text-align: center;
  font-size: 14px;
}

.form-direct a {
  color: var(--green-dark);
  font-weight: 900;
}

.form-direct--emails {
  display: grid;
  gap: 4px;
}

.site-footer {
  background:
    linear-gradient(135deg, rgba(216, 163, 26, 0.14), rgba(11, 127, 67, 0.08)),
    #f4f8ef;
  color: #32463d;
  border-top: 1px solid #d7e4d8;
  padding: 56px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 34px;
}

.footer-brand img {
  width: 150px;
  margin-bottom: 16px;
  filter: none;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: var(--green-dark);
  font-size: 16px;
}

.site-footer a {
  display: block;
  margin: 8px 0;
  color: #24483a;
}

.copyright {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(7, 89, 52, 0.16);
  font-size: 13px;
}

.copyright a {
  display: inline;
  margin: 0;
  color: var(--green-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.product-hero {
  background:
    radial-gradient(circle at top right, rgba(216, 163, 26, 0.18), transparent 32%),
    linear-gradient(135deg, #f7faf6 0%, #eef5ef 100%);
  border-bottom: 1px solid var(--line);
}

.product-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.78fr);
  gap: 54px;
  align-items: center;
  min-height: 660px;
  padding: 76px 0;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.breadcrumbs a {
  color: var(--green-dark);
}

.product-eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product-hero h1 {
  max-width: 800px;
  margin: 0;
  color: var(--green-dark);
  font-size: clamp(48px, 7vw, 92px);
  line-height: 0.95;
  letter-spacing: 0;
}

.product-hero__lead {
  max-width: 760px;
  margin: 26px 0 0;
  color: #31423a;
  font-size: 19px;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button-light {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--green-dark);
}

.product-gallery {
  display: grid;
  gap: 14px;
}

.product-gallery__main {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.product-gallery__main img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #f4efe4;
}

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

.product-gallery__thumbs img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.product-detail-section {
  padding: 72px 0;
  background: var(--white);
}

.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 42px;
  align-items: start;
}

.product-story {
  display: grid;
  gap: 22px;
  min-width: 0;
}

.product-story-section {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(23, 33, 29, 0.06);
}

.product-story-section--intro {
  background: #f8fbf8;
  border-color: #cfe0d4;
}

.product-section-label {
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-story-section h1,
.product-story-section h2 {
  margin: 0 0 18px;
  color: var(--green-dark);
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.08;
}

.product-story-section h3,
.product-story-section h4 {
  margin: 24px 0 8px;
  color: var(--blue);
  font-size: 20px;
  line-height: 1.2;
}

.product-story-section p {
  margin: 0 0 16px;
  color: #33413b;
  font-size: 17px;
}

.product-story-section p:last-child {
  margin-bottom: 0;
}

.product-story-section ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.product-story-section li {
  min-height: 112px;
  padding: 18px;
  border: 1px solid #dbe8df;
  border-left: 5px solid var(--gold);
  border-radius: 8px;
  background: var(--paper);
}

.product-story-section strong {
  color: var(--green-dark);
}

.product-side {
  position: sticky;
  top: 128px;
  display: grid;
  gap: 16px;
}

.product-side-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.product-side-card h2 {
  margin: 0 0 12px;
  color: var(--green-dark);
  font-size: 25px;
  line-height: 1.15;
}

.product-side-card p:not(.panel-label) {
  margin: 0 0 18px;
  color: var(--muted);
}

.product-side-card .button {
  width: 100%;
  margin-top: 10px;
}

.product-side-card--plain {
  background: var(--white);
}

.product-side-card--plain a,
.product-side-card--plain span {
  color: var(--green-dark);
  font-weight: 900;
}

.related-products {
  background: var(--paper);
}

.related-products h2 {
  margin: 0 0 24px;
  color: var(--ink);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
}

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

.related-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  font-weight: 900;
  color: var(--green-dark);
}

.related-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.related-card span {
  display: block;
  padding: 14px 16px 16px;
}

@media (max-width: 940px) {
  .top-strip {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 78px 0 auto 0;
    display: none;
    max-height: calc(100vh - 78px);
    overflow: auto;
    padding: 18px 20px 28px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav > ul {
    display: grid;
    align-items: stretch;
  }

  .site-nav a,
  .site-nav button {
    width: 100%;
    justify-content: space-between;
    padding: 10px 0;
  }

  .mega-menu {
    position: static;
    width: 100%;
    grid-template-columns: 1fr;
    padding: 10px 0 16px 16px;
    border: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .content-layout,
  .home-intro-grid,
  .home-methods-grid,
  .home-values-grid,
  .home-quote-grid,
  .client-certifications-grid,
  .product-hero__grid,
  .product-detail-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }

  .inquiry-panel,
  .contact-form-card,
  .product-side {
    position: static;
  }

  .product-hero__grid {
    min-height: 0;
    padding: 46px 0 56px;
  }

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

  .about-legacy-points,
  .about-feature-grid,
  .about-portfolio-grid {
    grid-template-columns: 1fr;
  }

  .home-service-grid,
  .home-product-grid,
  .home-blog-grid,
  .client-certification-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(100% - 28px, 1180px);
  }

  .brand span {
    display: none;
  }

  .hero,
  .hero-home {
    min-height: 520px;
  }

  .hero__inner {
    padding: 76px 0 52px;
  }

  .hero-home .hero__inner {
    padding-bottom: 112px;
  }

  .hero h1 {
    font-size: 35px;
    line-height: 1.06;
  }

  .hero__lead {
    font-size: 16px;
  }

  .home-section-head h2,
  .home-intro h2,
  .home-methods h2,
  .home-values h2,
  .home-contact h2 {
    font-size: 30px;
    line-height: 1.12;
  }

  .section {
    padding: 54px 0;
  }

  .product-card {
    min-height: 0;
  }

  .home-service-grid,
  .home-product-grid,
  .home-blog-grid,
  .client-certification-cards,
  .home-stats-grid {
    grid-template-columns: 1fr;
  }

  .home-service-grid article {
    min-height: 0;
  }

  .home-intro-media {
    grid-template-columns: 1fr;
  }

  .home-intro-media img:first-child,
  .home-intro-media img {
    min-height: 220px;
  }

  .home-methods-panel {
    grid-template-columns: 1fr;
  }

  .home-methods-panel span,
  .home-methods-panel span:first-child {
    min-height: 96px;
  }

  .client-certification-card img,
  .certification-text-badge {
    height: 150px;
  }

  .home-product-card {
    min-height: 0;
    aspect-ratio: 3 / 2;
  }

  .product-hero h1 {
    font-size: 46px;
  }

  .product-hero__lead {
    font-size: 17px;
  }

  .product-story-section {
    padding: 24px 18px;
  }

  .product-story-section ul,
  .related-row {
    grid-template-columns: 1fr;
  }

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