/* Scoped fixes for the company contact area and craft-guide closing sections. */
#contact.content-band {
  padding: 64px 0;
  background: #edf1e8;
  color: #24372b;
}
#contact .contact {
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
}
#contact h2 {
  color: #24372b;
  font-size: clamp(28px, 2.45vw, 36px);
  line-height: 1.5;
  letter-spacing: -.025em;
}
#contact h2 > span {
  display: block;
  max-width: none;
  margin: 0;
  white-space: normal;
  text-wrap: pretty;
}
#contact .contact-copy {
  max-width: 660px;
  margin: 20px 0 0;
  color: #4c5d50;
  font-size: 15px;
  line-height: 1.85;
}
#contact .contact-actions { margin-top: 24px; gap: 12px; }
#contact .button { min-height: 46px; padding: 12px 20px; font-size: 15px; }
#contact .button.secondary {
  background: #fff;
  border-color: #9da99e;
  color: #24372b;
}
#contact .button.secondary:hover { background: #e2e8dc; border-color: #536a58; }
#contact .contact-meta { gap: 0; }
#contact .contact-meta > div {
  padding: 15px 0;
  border-top: 1px solid #c6d0c2;
}
#contact .contact-meta > div:first-child { padding-top: 8px; border-top: 0; }
#contact .contact-meta > div:last-child { padding-bottom: 0; }
#contact .contact-meta dt { color: #536257; font-size: 12px; line-height: 1.5; }
#contact .contact-meta dd { margin-top: 5px; color: #24372b; font-size: 16px; line-height: 1.6; }
#contact .contact-meta a {
  color: #24372b;
  text-decoration-color: #809780;
  text-underline-offset: 4px;
}
#contact .contact-meta a:hover { text-decoration-color: #24372b; }
.site-footer.footer-company { padding: 0 0 28px; color: #536257; background: #edf1e8; }
.footer-company .site-footer-inner { padding-top: 24px; border-color: #c6d0c2; align-items: center; line-height: 1.7; }
.footer-company .site-footer-logo { filter: none; opacity: 1; }
.footer-company .site-footer-links a:hover,
.footer-company .site-footer-links a:focus-visible { color: #24372b; }

#variables.waste-section { padding: 40px; box-shadow: none; }
#variables h2 {
  max-width: none;
  color: #24372b;
  font-size: 34px;
  line-height: 1.4;
  letter-spacing: -.025em;
}
#variables > p { max-width: none; margin-top: 14px; color: #4c5d50; font-size: 15px; line-height: 1.8; }
#variables .waste-grid { margin-top: 28px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
#variables .waste-cell {
  min-height: 0;
  padding: 26px 28px;
  gap: 8px;
  justify-content: flex-start;
  background: #f4f6f1;
  color: #24372b;
}
#variables .waste-cell small { max-width: none; color: #536257; font-size: 12px; line-height: 1.5; }
#variables .factor-title { max-width: none; color: #24372b; font-size: 24px; line-height: 1.4; letter-spacing: -.02em; }
#variables .waste-cell p { margin-top: 10px; color: #4c5d50; font-size: 14px; line-height: 1.8; }
#variables .waste-note { margin-top: 22px; padding-top: 18px; color: #536257; font-size: 13px; line-height: 1.8; }

#videos.section { padding-bottom: 0; }
.diagnosis-bridge.inquiry-closing {
  margin: 56px auto 32px;
  padding: 36px 40px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 36px;
  border-left-width: 4px;
  background: #fff;
  color: #24372b;
  box-shadow: none;
}
.inquiry-closing h2 { max-width: none; color: #24372b; font-size: 32px; line-height: 1.45; letter-spacing: -.025em; }
.inquiry-closing p { max-width: 760px; margin-top: 14px; color: #4c5d50; font-size: 15px; line-height: 1.8; }
.inquiry-closing .button { min-height: 46px; padding: 12px 24px; margin: 0; font-size: 15px; white-space: nowrap; background: #24372b; color: #fff; border-color: #24372b; }
.inquiry-closing .button:hover { background: #38533e; border-color: #38533e; }
.site-footer.footer-craft {
  min-height: 0;
  padding: 28px 0 36px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: start;
  gap: 32px;
  color: #24372b;
}
.footer-craft strong { max-width: none; font-size: 17px; line-height: 1.7; }
.footer-craft p { max-width: none; margin: 0; color: #536257; font-size: 13px; line-height: 1.8; text-align: left; }

@media (max-width: 1100px) {
  #contact.content-band { padding: 48px 0; }
  #contact .contact { grid-template-columns: minmax(0, 1fr) minmax(270px, .8fr); gap: 32px; }
  #contact h2 { font-size: 28px; }
  #variables.waste-section { padding: 32px; }
  #variables h2 { font-size: 30px; }
  .diagnosis-bridge.inquiry-closing { padding: 30px; gap: 24px; }
  .inquiry-closing h2 { font-size: 28px; }
  .footer-company .site-footer-inner { flex-wrap: wrap; gap: 18px; }
}
@media (max-width: 900px) {
  #contact .contact { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  #contact .contact-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
  #contact .contact-meta > div { padding: 14px 0; border-top: 1px solid #c6d0c2; }
  #contact .contact-meta > div:first-child { padding-top: 14px; border-top: 1px solid #c6d0c2; }
  .diagnosis-bridge.inquiry-closing { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .inquiry-closing .button { justify-self: start; }
  .site-footer.footer-craft { grid-template-columns: minmax(0, 1fr); gap: 10px; }
}
