/* Homepage product story: fast catalogue, direct contact and one detailed product explorer. */
.page-home #catalog .section-heading .eyebrow,
.product-services-heading .eyebrow,
.dialogue-intro .eyebrow,
.product-explorer-nav > .eyebrow { margin: 0 0 7px; }

.page-home #catalog .section-heading h2,
.product-services-heading h2,
.dialogue-intro h2 { margin: 0; }

.dialogue-strip {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 4px;
  padding: 18px 20px;
  border-radius: 10px;
  background: linear-gradient(110deg, #25301f, #354327);
  box-shadow: 0 10px 30px #1d2a1712;
}

.dialogue-intro { padding-left: 5px; }
.dialogue-intro .eyebrow { color: #b7d35f; }
.dialogue-intro h2 { color: white; font-size: 25px; }
.dialogue-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.dialogue-link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 66px;
  padding: 12px 15px;
  border: 1px solid #ffffff25;
  border-radius: 8px;
  background: #ffffff0c;
  color: #eff4e9;
  font-size: 11px;
  line-height: 1.3;
  transition: background .18s, border-color .18s, transform .18s;
}

.dialogue-link:hover { background: #ffffff16; border-color: #b7d35f88; transform: translateY(-1px); }
.dialogue-link strong { color: white; font-size: 14px; font-weight: 600; }
.dialogue-icon {
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--green);
  color: #213000;
  font-size: 15px;
  font-weight: 700;
}
.dialogue-file .dialogue-icon { background: #e8efda; color: #516b1c; }

.benefits-section > .reading > .prose {
  width: 100%;
  max-width: none;
}

.page-wood .reading > .prose {
  width: 100%;
  max-width: none;
}

.prose a,
.text-link {
  color: #6c842c;
  text-decoration: none;
  transition: color .18s;
}

.prose a:hover,
.text-link:hover {
  color: #405718;
  text-decoration: none;
}

.product-services {
  overflow: hidden;
  padding-block: 48px 46px;
  border-block: 1px solid #e7ebdf;
  background: linear-gradient(180deg, #f6f8f2 0, #f8f9f5 55%, #fff 100%);
}

.product-services-heading { align-items: end; }
.service-controls { display: flex; gap: 8px; }
.service-controls button {
  width: 38px;
  height: 38px;
  border: 1px solid #d9e1d0;
  border-radius: 50%;
  background: white;
  color: #536b25;
  font-size: 18px;
  transition: background .18s, border-color .18s;
}
.service-controls button:hover { border-color: #9bb663; background: #edf3e2; }
.service-viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.service-viewport::-webkit-scrollbar { display: none; }
.product-services .service-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 32px) / 3);
  grid-template-columns: none;
  gap: 16px;
  padding: 0;
}

.service-card {
  overflow: hidden;
  scroll-snap-align: start;
  border: 1px solid #dfe5d7;
  border-radius: 11px;
  background: white;
  box-shadow: 0 8px 24px #26341b09;
}
.service-card-image { display: block; overflow: hidden; background: #ecefe7; }
.product-services .service-card-image img {
  width: 100%;
  height: 158px;
  margin: 0;
  border-radius: 0;
  object-fit: cover;
  transition: transform .35s;
}
.service-card:hover .service-card-image img { transform: scale(1.025); }
.service-card-copy { display: grid; grid-template-columns: 31px 1fr; gap: 0 12px; padding: 17px 18px 18px; }
.service-number { grid-row: 1 / 5; padding-top: 4px; color: #78932d; font-size: 10px; letter-spacing: .08em; }
.service-card h3 { margin: 0 0 9px; font-size: 16px; line-height: 1.28; letter-spacing: -.02em; }
.service-card p { min-height: 54px; margin: 0 0 13px; color: #697067; font-size: 12px; line-height: 1.5; }
.service-link { display: inline-flex; align-items: center; gap: 8px; color: var(--green-dark); font-size: 11px; }
.service-card:hover h3 { color: var(--green-dark); }

.region-section {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 265px;
  margin-top: 18px;
  overflow: hidden;
  padding: 28px;
  border: 1px solid #dfe5d7;
  border-radius: 12px;
  background: #edf1e7;
}

.region-section::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, #eef3e6aa 0%, #ffffff1f 62%, #ffffff08 100%);
  pointer-events: none;
}

.region-section > img {
  position: absolute;
  z-index: -2;
  inset: -8px;
  width: calc(100% + 16px);
  height: calc(100% + 16px);
  max-height: none;
  margin: 0;
  object-fit: cover;
  object-position: center;
}

.region-section > div {
  width: min(520px, 56%);
  padding: 25px 28px 27px;
  border: 1px solid #ffffff99;
  border-radius: 10px;
  background: #f9fbf5c9;
  box-shadow: 0 14px 35px #2330181a;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.region-section h2 { margin-bottom: 20px; }

.product-explorer {
  display: grid;
  grid-template-columns: 34% 66%;
  overflow: hidden;
  margin-top: 24px;
  border: 1px solid #dce4d3;
  border-radius: 12px;
  background: white;
  box-shadow: 0 15px 40px #26341b0c;
}
.product-explorer-nav { padding: 25px 22px 22px; background: #263020; color: white; }
.product-explorer-nav > .eyebrow { color: #b8d360; }
.product-tabs { display: flex; flex-direction: column; margin-top: 14px; }
.product-tabs button {
  display: grid;
  grid-template-columns: 30px 1fr 18px;
  gap: 9px;
  align-items: center;
  width: 100%;
  padding: 13px 10px;
  border: 0;
  border-bottom: 1px solid #ffffff17;
  background: transparent;
  color: #dfe5d9;
  text-align: left;
  font-size: 13px;
  line-height: 1.35;
}
.product-tabs button > span { color: #aab49e; font-size: 10px; }
.product-tabs button > b { color: #8fa84d; font-size: 15px; font-weight: 400; transition: transform .18s; }
.product-tabs button:hover { background: #ffffff08; color: white; }
.product-tabs button[aria-selected="true"] { background: #ffffff0d; color: white; box-shadow: inset 3px 0 var(--green); }
.product-tabs button[aria-selected="true"] > span { color: #b8d360; }
.product-tabs button[aria-selected="true"] > b { color: #b8d360; transform: translateX(3px); }
.product-panels { min-width: 0; padding: 27px 31px 28px; }
.product-panel[hidden] { display: none; }
.product-panel-label { margin: 0 0 8px; color: var(--green-dark); font-size: 10px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.product-panel > h3 { margin: 0 0 19px; font-size: 26px; }
.product-panel .prose { color: #505751; font-size: 14px; line-height: 1.62; }
.product-panel .prose img {
  float: right;
  width: 205px;
  max-width: 36%;
  max-height: 210px;
  margin: 0 0 18px 26px;
  padding: 7px;
  border-radius: 8px;
  background: #f3f5ef;
  object-fit: contain;
}
.product-panel .prose li { padding: 3px 0; }
.product-panel .prose p { margin-bottom: 13px; }

@media (max-width: 1100px) {
  .dialogue-strip { grid-template-columns: 160px 1fr; }
  .dialogue-actions { gap: 7px; }
  .dialogue-link { padding: 10px; font-size: 10px; }
  .dialogue-link strong { font-size: 12px; }
  .product-services .service-grid { grid-auto-columns: calc((100% - 16px) / 2); }
  .product-explorer { grid-template-columns: 38% 62%; }
  .product-explorer-nav { padding: 22px 17px; }
  .product-panels { padding: 24px; }
  .product-panel > h3 { font-size: 23px; }
  .product-panel .prose img { width: 170px; }
  .product-tabs button { padding: 12px 8px; font-size: 12px; }
}

@media (max-width: 650px) {
  .dialogue-strip { grid-template-columns: 1fr; gap: 14px; margin-bottom: 3px; padding: 17px; }
  .dialogue-intro { display: flex; align-items: baseline; justify-content: space-between; padding: 0 2px; }
  .dialogue-intro .eyebrow { margin: 0; }
  .dialogue-intro h2 { font-size: 22px; }
  .dialogue-actions { grid-template-columns: 1fr 1fr; }
  .dialogue-link { min-height: 61px; padding: 10px 12px; }
  .dialogue-file { grid-column: 1 / -1; }
  .product-services { padding-block: 34px; }
  .product-services-heading { align-items: center; }
  .product-services .service-grid { grid-auto-columns: 84%; gap: 12px; }
  .product-services .service-card-image img { height: 150px; }
  .service-card-copy { padding: 15px; }
  .service-card p { min-height: 0; }
  .product-explorer { grid-template-columns: 1fr; margin-top: 19px; }
  .product-explorer-nav { padding: 18px 16px 14px; }
  .product-tabs { flex-direction: row; gap: 7px; overflow-x: auto; margin-top: 11px; scrollbar-width: none; }
  .product-tabs::-webkit-scrollbar { display: none; }
  .product-tabs button { display: flex; flex: 0 0 auto; width: auto; padding: 10px 12px; border: 1px solid #ffffff1d; border-radius: 6px; white-space: nowrap; font-size: 11px; }
  .product-tabs button > span { display: none; }
  .product-tabs button > b { margin-left: 5px; }
  .product-tabs button[aria-selected="true"] { border-color: #a9c15366; box-shadow: inset 0 -2px var(--green); }
  .product-panels { padding: 21px 18px 23px; }
  .product-panel > h3 { margin-bottom: 16px; font-size: 22px; }
  .product-panel .prose { font-size: 13px; line-height: 1.6; }
  .product-panel .prose img { float: none; width: auto; max-width: 100%; max-height: 200px; margin: 0 0 18px; padding: 5px; }
  .service-controls button { width: 36px; height: 36px; }
  .region-section { min-height: 260px; margin-top: 12px; padding: 16px; }
  .region-section::after { background: linear-gradient(90deg, #eef3e68f, #ffffff16); }
  .region-section > div { width: min(100%, 390px); padding: 21px 20px 23px; }
  .region-section h2 { margin-bottom: 17px; }
}

@media (max-width: 380px) {
  .dialogue-actions { grid-template-columns: 1fr; }
  .dialogue-file { grid-column: auto; }
  .product-services .service-grid { grid-auto-columns: 91%; }
  .service-controls { gap: 5px; }
  .service-controls button { width: 33px; height: 33px; }
  .product-tabs button { padding: 9px 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .service-viewport { scroll-behavior: auto !important; }
}

/* Audit: compact cards must wrap long headings at 360px. */
.category-card h3,.category-grid h3,.quick-catalog h3{min-width:0;overflow-wrap:anywhere}

.image-card h3{min-width:0;overflow-wrap:anywhere}.image-card h3 .arrow{flex-shrink:0}
