/* Scoped to the home page, including its shared header and contact dialog. */
.home-page { background: #f7f5ef; color: #18392c; }
.home-page .floating-contact-btn { animation: none; box-shadow: none; }
.home-page footer { background: #1c2420; box-shadow: none; }
.home-page footer .text-secondary { color: #ced9d0 !important; }
.home-page footer .text-warning { color: #e4be6e !important; }
.home-page :is(a, button, input, textarea, select):focus-visible { outline: 3px solid #b48225; outline-offset: 4px; }
.home { --home-line: #deded3; }
.home :is(h1, h2) { font-family: Georgia, 'Times New Roman', serif; color: #18392c; font-weight: 600; line-height: 1.12; }
.home h2 { font-size: clamp(1.9rem, 3vw, 2.65rem); margin: 0 0 24px; }
.home :is(h3, h4) { color: #18392c; font-family: inherit; line-height: 1.35; }
.home a { color: #18392c; text-underline-offset: 4px; }
.home p { line-height: 1.65; }
.home-section { margin-top: 64px; }
.home [id] { scroll-margin-top: 24px; }
.home-eyebrow { color: #78633a; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.home-hero { position: relative; isolation: isolate; overflow: hidden; padding: 40px 32px 32px; border-radius: 10px; text-align: center; background: #e9e5db; }
.home-hero-background { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.home-hero::before { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, rgba(247, 245, 239, .78), rgba(247, 245, 239, .65) 35%, rgba(247, 245, 239, .08) 100%); }
.home-hero h1 { max-width: 960px; margin: 0 auto 20px; font-size: clamp(2.2rem, 4.2vw, 3.8rem); letter-spacing: -.035em; text-wrap: balance; }
.home-intro { max-width: 760px; margin: 0 auto 30px; font-size: 1.05rem; color: #52645a; }
.home-directions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.home-direction { position: relative; border: 1px solid rgba(255, 255, 255, .7); border-radius: 10px; overflow: hidden; min-height: 350px; text-align: left; background: #18392c; }
.home-direction > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.home-direction::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 15%, rgba(8, 25, 18, .3) 40%, rgba(8, 25, 18, .94) 100%); }
.home-direction-content { position: relative; z-index: 1; padding: 28px; margin-top: 150px; }
.home-direction h2 { font-size: clamp(1.7rem, 2.4vw, 2.3rem); color: #fff; margin-bottom: 8px; }
.home-direction p { color: #fff; margin-bottom: 18px; }
.home .home-button { display: inline-flex; justify-content: center; align-items: center; gap: 24px; min-height: 48px; text-decoration: none; font-size: .9rem; line-height: 1.4; }
.home-task-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.home-task { display: flex; align-items: center; gap: 16px; padding: 22px 18px; border: 1px solid var(--home-line); border-radius: 8px; text-decoration: none; background: #fbfaf6; }
@media (hover: hover) and (pointer: fine) {
  .home-task:hover { border-color: #b48225; background: #fff; }
}
.home-task h3 { font-size: .97rem; margin: 0 0 6px; font-weight: 700; }
.home-task p { font-size: .8rem; margin: 0; color: #59675e; }
.home-task-icon { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #f0e9da; font-size: 1.3rem; }
.home-arrow { color: #946917; margin-left: auto; }
.home-related { font-size: .85rem; margin: 18px 0 0; }
.home-section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.home-section-heading p { font-size: .85rem; color: #59675e; }
.home-section-heading > a { font-size: .9rem; flex-shrink: 0; }
.home-group-title { margin: 24px 0 16px; font-size: 1.1rem; }
.home-product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.home-product { display: flex; flex-direction: column; border: 1px solid var(--home-line); background: #fbfaf6; border-radius: 8px; overflow: hidden; }
.home-product-image { position: relative; display: block; flex: 0 0 auto; aspect-ratio: 1.6; background: #e9e5db; overflow: hidden; }
.home-product-image img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.home-product-content { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.home-product h4 { font-size: 1rem; font-weight: 700; margin-bottom: 12px; overflow-wrap: anywhere; }
.home-product h4 a { text-decoration: none; }
.home-product h4 a:hover { text-decoration: underline; }
.home-product p { font-size: .85rem; color: #59675e; margin-bottom: 20px; }
.home-product-link { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; font-size: .85rem; font-weight: 700; }
.home-product-link > span:last-child { color: #946917; }
.home-section-note { color: #59675e; max-width: 800px; font-size: .9rem; margin-bottom: 24px; }
.home-application-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.home-application { text-decoration: none; border: 1px solid var(--home-line); border-radius: 8px; overflow: hidden; background: #fbfaf6; }
.home-application:hover { border-color: #b48225; }
.home-application img { width: 100%; height: auto; aspect-ratio: 1.6; object-fit: cover; }
.home-application > div { padding: 20px; }
.home-application h3 { font-size: 1.05rem; display: flex; justify-content: space-between; gap: 12px; }
.home-application h3 span { color: #946917; }
.home-application p { font-size: .85rem; margin: 0; color: #59675e; }
.home-about { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding: 32px 0; border-block: 1px solid var(--home-line); }
.home-about h2 { margin-bottom: 0; }
.home-about > div:last-child { padding-top: 8px; }
.home-client-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.home-client { height: 96px; display: grid; place-items: center; padding: 14px; border: 1px solid var(--home-line); border-radius: 6px; background: #fff; overflow: hidden; min-width: 0; }
.home-client-dark { background: #18392c; }
.home-client img { width: 100%; height: 64px; max-width: 100%; object-fit: contain; }
.home-benefit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.home-benefit-grid article { border-top: 1px solid var(--home-line); padding-top: 20px; }
.home-step { color: #946917; font-size: .85rem; font-weight: 700; }
.home-benefit-grid h3 { font-size: 1.1rem; margin: 14px 0 10px; }
.home-benefit-grid p { font-size: .9rem; color: #59675e; margin: 0; }
.home-request { display: flex; align-items: center; justify-content: space-between; gap: 40px; background: #18392c; color: #fff; border-radius: 10px; padding: 40px; }
.home-request h2 { color: #fff; margin-bottom: 16px; }
.home-request .home-eyebrow { color: #e4be6e; }
.home-request p:last-child { max-width: 720px; margin-bottom: 0; color: #e0e8e2; font-size: .95rem; }
.home-request .home-button { flex-shrink: 0; }
.home-contacts { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 32px; }
.home-contact-details { border: 1px solid var(--home-line); border-radius: 8px; padding: 28px; }
.home-contact-details h3 { font-size: 1.3rem; }
.home-contact-details p { max-width: 420px; }
.home-contact-details dt { font-size: .8rem; color: #59675e; }
.home-contact-details dd { margin-bottom: 14px; }
.home-map { display: flex; flex-direction: column; gap: 12px; }
.home-map iframe { border: 1px solid var(--home-line); border-radius: 8px; width: 100%; min-height: 320px; flex: 1; }
.home-map > a { font-size: .8rem; }
@media (max-width: 1199px) {
  .home-task { gap: 12px; padding: 18px 14px; }
  .home-task-icon { flex-basis: 36px; width: 36px; height: 36px; font-size: 1.1rem; }
}
@media (max-width: 991px) {
  .home-task-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-direction-content { padding: 24px; }
  .home-product-content { padding: 16px; }
  .home-client-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .home-request { flex-direction: column; align-items: flex-start; gap: 24px; }
  .home-section-heading { display: block; }
}
@media (max-width: 767px) {
  .home-hero { padding: 28px 16px 20px; }
  .home-hero h1 { font-size: 2rem; }
  .home-intro { font-size: .95rem; }
  .home-directions, .home-task-grid, .home-application-grid, .home-about, .home-benefit-grid, .home-contacts { grid-template-columns: 1fr; }
  .home-directions { gap: 14px; }
  .home-direction { min-height: 280px; }
  .home-direction-content { margin-top: 100px; padding: 22px; }
  .home-section { margin-top: 42px; }
  .home-task { padding: 18px; }
  .home-task-icon { flex-basis: 46px; width: 46px; height: 46px; }
  .home-product-grid { grid-template-columns: 1fr; gap: 16px; }
  .home-product-content { padding: 16px; }
  .home-about { gap: 20px; padding: 28px 0; }
  .home-client-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .home-client { height: 80px; padding: 12px; }
  .home-client img { height: 52px; }
  .home-benefit-grid { gap: 24px; }
  .home-request { padding: 28px 24px; }
  .home-map iframe { height: 320px; }
}
@media (max-width: 479px) {
  .home-product-grid { grid-template-columns: 1fr; }
  .home-page .modal-body { padding-inline: 20px; }
}
