/* Page-scoped photo cards matching the approved homepage. */
.page-home-services .hero-image img {display:block;width:100%;height:auto;}
.page-home-services .home-services-trade-photos {padding:68px 0 76px;background:#f3f5f7;scroll-margin-top:88px;}
.page-home-services .hs-trade-label {margin:0 0 14px;color:#626b78;font-size:13px;letter-spacing:.14em;text-transform:uppercase;text-align:center;}
.page-home-services .hs-trade-heading {margin:0 0 34px;color:#132b3b;font-size:clamp(28px,3.4vw,40px);line-height:1.2;letter-spacing:-.025em;text-align:center;}
.page-home-services .hs-trade-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;}
.page-home-services .hs-trade-card {display:flex;flex-direction:column;height:100%;background:#fff;color:#132b3b;border:1px solid rgba(19,43,59,.06);border-radius:20px;overflow:hidden;box-shadow:0 12px 30px rgba(19,43,59,.05);text-decoration:none;transition:transform .2s ease,box-shadow .2s ease;}
.page-home-services .hs-trade-card:hover {transform:translateY(-4px);box-shadow:var(--shadow-lg);}
.page-home-services .hs-trade-card:focus-visible {outline:3px solid #9a4e00;outline-offset:4px;}
.page-home-services .hs-trade-image {aspect-ratio:4/3;overflow:hidden;flex-shrink:0;background:linear-gradient(180deg,#e6edf3,#f3f6f9);}
.page-home-services .hs-trade-image img {display:block;width:100%;height:100%;object-fit:cover;}
.page-home-services .hs-trade-card h3 {margin:0;padding:16px 14px 18px;color:#132b3b;font-size:15px;font-weight:500;line-height:1.4;letter-spacing:-.01em;text-align:center;}
.page-home-services .hs-trade-card p {margin:0;padding:0 16px 20px;color:#6b7280;font-size:14px;line-height:1.65;text-align:center;flex:1;}
.page-home-services .hs-trade-placeholder {display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:#405666;font-size:13px;}
.page-home-services .hs-trade-placeholder svg {width:48px;height:48px;}
.page-home-services .features-label {color:#626b78;}
@media(max-width:1100px){.page-home-services .hs-trade-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:600px){.page-home-services .hs-trade-grid{grid-template-columns:1fr;}}
@media(prefers-reduced-motion:reduce){.page-home-services .hs-trade-card{transition:none;}}

.page-home-services .hs-features {padding:76px 0;background:#f4f7f9;color:#132b3b;scroll-margin-top:88px;}
.page-home-services .hs-features-label {margin:0 0 14px;color:#626b78;font-size:12px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;text-align:center;}
.page-home-services .hs-features h2 {max-width:800px;margin:0 auto 20px;font-size:clamp(28px,3.4vw,40px);line-height:1.2;letter-spacing:-.025em;scroll-margin-top:88px;text-align:center;}
.page-home-services .hs-features-intro {max-width:660px;margin:0 auto 38px;color:#405666;font-size:17px;line-height:1.7;text-align:center;}
.page-home-services .hs-feature-list {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;align-items:stretch;}
.page-home-services .hs-feature {display:flex;align-items:flex-start;gap:18px;padding:30px;min-width:0;height:100%;border:1px solid #d9e2e9;border-radius:20px;background:#fff;box-shadow:0 12px 30px rgba(19,43,59,.04);text-align:left;cursor:default;transition:box-shadow .2s ease,border-color .2s ease;}
.page-home-services .hs-feature-icon {--hs-badge-bg:#fff0df;--hs-badge-fg:#9a4e00;display:grid;place-items:center;width:48px;height:48px;flex:0 0 48px;border-radius:15px;background:var(--hs-badge-bg);}
.page-home-services .hs-feature:nth-child(4n+1) .hs-feature-icon {--hs-badge-bg:#eaf3fb;--hs-badge-fg:#28638f;}
.page-home-services .hs-feature:nth-child(4n+2) .hs-feature-icon {--hs-badge-bg:#e9f6f4;--hs-badge-fg:#176c64;}
.page-home-services .hs-feature:nth-child(4n) .hs-feature-icon {--hs-badge-bg:#edf6ec;--hs-badge-fg:#376b35;}
.page-home-services .hs-feature-icon span {display:block;width:26px;height:26px;background:var(--hs-badge-fg);mask:var(--hs-feature-icon) center/contain no-repeat;-webkit-mask:var(--hs-feature-icon) center/contain no-repeat;}
.page-home-services .hs-feature h3 {margin:0 0 10px;font-size:20px;line-height:1.35;}
.page-home-services .hs-feature p {margin:0;color:#405666;font-size:16px;line-height:1.7;}
.page-home-services .hs-features :is(a,button,input):focus-visible {outline:3px solid #9a4e00;outline-offset:4px;}
@media(hover:hover){.page-home-services .hs-feature:hover{border-color:#bdccd7;box-shadow:0 15px 34px rgba(19,43,59,.07);}}
@media(max-width:900px){.page-home-services .hs-feature{flex-direction:column;padding:26px;gap:18px;}}
@media(max-width:700px){.page-home-services .hs-features{padding:56px 0;}.page-home-services .hs-feature-list{grid-template-columns:1fr;gap:18px;}.page-home-services .hs-feature{padding:26px;}}
@media(prefers-reduced-motion:reduce){.page-home-services .hs-feature{transition:none;}}

/* Center the final pair at the same width as the four-column trade cards. */
@media(min-width:1101px){
 .page-home-services .hs-trade-card:nth-last-child(2):nth-child(4n+1){grid-column:2;}
 .page-home-services .hs-trade-card:last-child:nth-child(4n+2){grid-column:3;}
}
