/*
Theme Name: HBM Collision Center
Theme URI: https://hbmautobody.com/
Author: HBM Collision Center
Description: Custom responsive homepage for HBM Collision Center. Built for staging and review.
Version: 1.5.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: hbm-collision
*/
:root{--red:#e51c2d;--dark:#101113;--muted:#b4b5b9}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#111214;color:#f6f6f6;font-family:Arial,Helvetica,sans-serif}a{color:inherit;text-decoration:none}button,a{ -webkit-tap-highlight-color:transparent}a:focus-visible{outline:3px solid #fff;outline-offset:3px}.utility{background:#0a0b0d;color:#c9c9cc;padding:11px 5%;display:flex;justify-content:space-between;gap:16px;font-size:12px}.header{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:18px 5%;background:#121316;position:sticky;top:0;z-index:20;border-bottom:1px solid #ffffff1c}.logo{display:flex;flex-direction:column;line-height:.9;font-style:italic;font-weight:950;letter-spacing:-2px;font-size:37px;white-space:nowrap}.logo small{font-size:10px;letter-spacing:2.1px;font-weight:800;font-style:normal;margin-top:6px}.slashes{color:var(--red);letter-spacing:-5px;margin-left:3px}.header nav{display:flex;align-items:center;gap:20px}.header nav a{font-size:12px;font-weight:700;white-space:nowrap}.header nav a:hover,.text-link:hover{color:#ff4050}.header-actions{display:flex;align-items:center;gap:13px;white-space:nowrap}.phone{font-weight:800;font-size:15px}.button{display:inline-flex;align-items:center;justify-content:center;min-height:45px;padding:13px 20px;border-radius:3px;font-size:13px;font-weight:800;transition:transform .15s,background .15s}.button:hover{transform:translateY(-2px)}.primary{background:var(--red);color:#fff}.primary:hover{background:#bf1122}.outline{border:1px solid #ffffffb0;color:#fff;background:#15151540}.light{background:#fff;color:#b80b1b}.hero{min-height:660px;position:relative;display:flex;align-items:center;overflow:hidden}.hero-photo{position:absolute;inset:0;background:url('assets/hbm-shop-evening.jpg') center 42%/cover no-repeat}.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,#090a0df5 0%,#090a0de5 30%,#090a0d65 62%,#090a0d15 100%)}.hero-content{position:relative;z-index:1;width:min(670px,90%);margin:0 5%;padding:70px 0}.kicker,.eyebrow{font-size:11px;letter-spacing:2px;font-weight:800;color:#ef3443}.hero h1{font-size:clamp(56px,7.2vw,100px);line-height:.96;letter-spacing:-4px;margin:25px 0 22px;text-transform:uppercase;font-weight:950}.hero h1 em{color:var(--red);font-style:normal}.hero p{max-width:480px;color:#e0e0e1;font-size:17px;line-height:1.6}.actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:27px}.capabilities{display:grid;grid-template-columns:repeat(4,1fr);background:#18191c;border-block:1px solid #343438}.capabilities span{padding:23px 12px;text-align:center;text-transform:uppercase;font-size:12px;font-weight:800;letter-spacing:.5px;border-right:1px solid #343438}.section{padding:110px 6%;scroll-margin-top:95px}.section h2{font-size:clamp(36px,5vw,66px);line-height:1.06;letter-spacing:-2px;margin:17px 0 24px;text-transform:uppercase}.section-intro{display:flex;justify-content:space-between;align-items:end;gap:50px;margin-bottom:36px}.section-intro p{max-width:370px;color:#bdbec1;line-height:1.7}.services-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.service{background:linear-gradient(145deg,#25272b,#18191b);border:1px solid #393a3d;padding:34px;min-height:250px;display:flex;flex-direction:column;justify-content:end;position:relative;transition:border-color .2s}.service:hover{border-color:var(--red)}.service-no{position:absolute;top:26px;left:34px;color:#e63b47;font-size:13px;font-weight:800}.service h3{font-size:23px;margin:0 0 10px}.service p{color:#bfc0c4;line-height:1.5;margin:0;font-size:14px}.about{background:#1a1b1e;display:grid;grid-template-columns:1fr 1fr;gap:7%;align-items:center}.about-image{min-height:410px;background:url('assets/hbm-shop-evening.jpg') center/cover no-repeat}.about-copy p{color:#c3c4c7;line-height:1.8;font-size:16px}.text-link{display:inline-block;margin-top:18px;font-weight:800;color:#f14653}.work{background:#eee;color:#16171a}.work .section-lead{color:#555b62;max-width:650px;line-height:1.6}.comparison{margin-top:35px;display:grid;grid-template-columns:1fr 1fr;position:relative;min-height:310px;box-shadow:0 16px 35px #0002}.comparison-half{background:#d8dade;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:25px;border:1px dashed #9ca0a5}.comparison-half:last-of-type{background:#c6c9ce}.comparison-half strong{font-size:22px}.comparison-half p{font-size:13px;color:#565b62}.divider-handle{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:54px;height:54px;background:#fff;border-radius:50%;display:grid;place-items:center;box-shadow:0 4px 16px #0003;color:#111;font-size:23px}.note{font-size:12px;color:#666}.insurance{background:#141518}.insurance-content{display:grid;grid-template-columns:1fr 1fr;gap:8%;align-items:center}.insurance-content p{line-height:1.7;color:#d1d1d3}.insurance-names{font-size:clamp(16px,2.1vw,24px);font-weight:800;line-height:2;margin-top:20px}.insurance-names span{color:var(--red);margin:0 6px}.insurance small{color:#a6a6aa}.contact{text-align:center;padding:100px 20px;background:linear-gradient(115deg,#9b0716,#df1a2b 60%,#920b1c)}.contact .eyebrow{color:#fff}.contact h2{font-size:clamp(38px,5vw,68px);margin:15px 0;text-transform:uppercase;letter-spacing:-2px}.contact p{color:#ffe5e8}.center{justify-content:center}footer{display:grid;grid-template-columns:2fr 1.5fr 1fr;gap:30px;padding:60px 6% 30px;background:#0c0d0f;color:#ccc}footer h3{color:#fff;font-size:15px}footer a:not(.logo){display:block;margin:10px 0;font-size:14px}footer p{line-height:1.7;font-size:13px}footer .copyright{grid-column:1/-1;border-top:1px solid #ffffff22;padding-top:24px;font-size:12px;color:#999}.mobile-call{display:none}@media(max-width:1150px){.header nav{gap:12px}.header nav a{font-size:11px}.phone{display:none}}@media(max-width:850px){.utility{font-size:10px}.header{flex-wrap:wrap}.header nav{order:3;width:100%;overflow-x:auto;padding-top:8px;padding-bottom:4px}.hero{min-height:620px}.services-grid{grid-template-columns:repeat(2,1fr)}.section-intro,.insurance-content{display:block}.about{grid-template-columns:1fr}.about-image{min-height:350px}.capabilities{grid-template-columns:repeat(2,1fr)}footer{grid-template-columns:1fr 1fr}}@media(max-width:550px){.utility{display:none}.header{padding:13px 5%}.logo{font-size:29px}.logo small{font-size:8px}.header-actions .button{padding:10px;font-size:11px;min-height:38px}.hero{min-height:690px;align-items:end}.hero-photo{background-position:57% center}.hero-shade{background:linear-gradient(0deg,#090a0df9,#090a0d99 62%,#090a0d30)}.hero-content{padding:50px 0}.hero h1{font-size:clamp(44px,11vw,65px);letter-spacing:-2px}.hero p{font-size:15px}.actions .button{width:100%}.section{padding:75px 5%}.section h2{letter-spacing:-1px}.services-grid{grid-template-columns:1fr}.service{min-height:190px}.about-image{min-height:240px}.comparison{min-height:230px}.comparison-half strong{font-size:17px}footer{grid-template-columns:1fr;padding-bottom:90px}.mobile-call{display:block;position:fixed;bottom:0;left:0;right:0;background:#e51c2d;text-align:center;padding:16px;font-weight:800;z-index:30;box-shadow:0 -5px 25px #0006}}

body.admin-bar .header{top:32px}@media(max-width:782px){body.admin-bar .header{top:46px}}

/* HBM photo gallery and fleet additions v1.1 */
.hbm-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:34px}.hbm-project{overflow:hidden;border-radius:8px;border:1px solid #d1d1d1;background:#fff;box-shadow:0 8px 20px #0001}.hbm-compare{position:relative;aspect-ratio:1.6;overflow:hidden;isolation:isolate;background:#222;--position:50%}.hbm-after,.hbm-before{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.hbm-before-clip{position:absolute;inset:0;clip-path:inset(0 calc(100% - var(--position)) 0 0)}.hbm-slider-line{position:absolute;left:var(--position);top:0;bottom:0;width:3px;background:white;transform:translateX(-50%);pointer-events:none}.hbm-slider-icon{position:absolute;top:50%;left:var(--position);transform:translate(-50%,-50%);border-radius:50%;width:46px;height:46px;background:#fff;color:#111;display:grid;place-items:center;box-shadow:0 3px 12px #0006;pointer-events:none;font-size:22px}.hbm-compare input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:ew-resize;z-index:5}.hbm-tag{position:absolute;top:14px;padding:8px 14px;color:#fff;font-size:12px;font-weight:900;letter-spacing:1px;z-index:3;pointer-events:none}.hbm-tag-before{left:12px;background:#171717}.hbm-tag-after{right:12px;background:#d31829}.hbm-project-caption{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:17px 18px}.hbm-project-caption strong{font-size:18px}.hbm-project-caption span{font-size:13px;color:#555}.hbm-gallery-subhead{margin-top:55px;font-size:26px;text-transform:uppercase}.hbm-jeep-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.hbm-jeep-grid figure{margin:0;background:#fff;border:1px solid #d1d1d1;border-radius:8px;overflow:hidden}.hbm-jeep-grid img{display:block;width:100%;aspect-ratio:1.6;object-fit:cover}.hbm-jeep-grid figcaption{padding:14px 18px;font-weight:800}.hbm-insurance-intro{max-width:700px;line-height:1.7;color:#d1d1d3}.hbm-insurer-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:30px 0}.hbm-insurer-grid span{background:#f5f5f5;color:#1a1a1a;min-height:70px;padding:15px;text-align:center;display:flex;align-items:center;justify-content:center;font-weight:800;border-bottom:3px solid #d7182b}.hbm-disclaimer{font-size:12px;color:#aaa;line-height:1.6;margin-top:20px}.hbm-fleet{background:#1e2024}.hbm-fleet>p:not(.hbm-disclaimer){max-width:790px;color:#d3d3d3;line-height:1.8}.hbm-fleet-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:30px 0}.hbm-fleet-grid>div{padding:24px;border:1px solid #555;background:#151619;display:flex;flex-direction:column;gap:10px}.hbm-fleet-grid strong{font-size:20px}.hbm-fleet-grid span{color:#bbb;font-size:14px}.work .note{margin-top:20px}@media(max-width:900px){.hbm-gallery{grid-template-columns:1fr}.hbm-insurer-grid{grid-template-columns:repeat(3,1fr)}.hbm-fleet-grid{grid-template-columns:1fr}}@media(max-width:550px){.hbm-jeep-grid{grid-template-columns:1fr}.hbm-insurer-grid{grid-template-columns:repeat(2,1fr)}.hbm-project-caption{display:block}.hbm-project-caption span{display:block;margin-top:5px}.hbm-compare{aspect-ratio:1.25}.hbm-tag{font-size:10px;padding:6px 9px}}

/* HBM v1.4 - unified gallery, clear shop backdrop, responsive insurance/fleet cards */
.section.work{position:relative;isolation:isolate;background:#111419!important;color:#fff!important;overflow:hidden}
.section.work::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(8,11,16,.88),rgba(8,11,16,.70)),url("assets/hbm-shop-evening.jpg") center 30%/cover no-repeat}
.section.work .section-lead,.section.work .note{color:#d9dce2!important}
.section.work .hbm-gallery{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:28px!important;margin:36px 0 0!important}
.section.work .hbm-project{min-width:0!important;overflow:hidden!important;border:1px solid #45484e!important;border-radius:10px!important;background:#191c22!important;box-shadow:0 16px 38px #0008!important}
.section.work .hbm-compare{position:relative!important;display:block!important;aspect-ratio:1.45!important;width:100%!important;height:auto!important;overflow:hidden!important;isolation:isolate!important;background:#242830!important;--position:50%;touch-action:pan-y}
.section.work .hbm-compare>img.hbm-after,.section.work .hbm-compare>img.hbm-before{display:block!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:cover!important;margin:0!important;border:0!important}
.section.work .hbm-compare>img.hbm-after{z-index:1!important}
.section.work .hbm-compare>img.hbm-before{z-index:2!important;clip-path:inset(0 calc(100% - var(--position)) 0 0)!important}
.section.work .hbm-compare .hbm-slider-line{position:absolute!important;z-index:3!important;left:var(--position)!important;top:0!important;bottom:0!important;width:3px!important;background:white!important;transform:translateX(-50%)!important;pointer-events:none!important}
.section.work .hbm-compare .hbm-slider-icon{position:absolute!important;z-index:4!important;top:50%!important;left:var(--position)!important;transform:translate(-50%,-50%)!important;width:52px!important;height:52px!important;border-radius:50%!important;background:#fff!important;color:#151515!important;display:grid!important;place-items:center!important;box-shadow:0 3px 18px #0009!important;font-size:25px!important;pointer-events:none!important}
.section.work .hbm-compare .hbm-tag{position:absolute!important;z-index:4!important;top:14px!important;padding:9px 13px!important;background:#111c!important;color:white!important;font-weight:800!important;font-size:12px!important;letter-spacing:1px!important;pointer-events:none!important}
.section.work .hbm-compare .hbm-tag-before{left:14px!important}.section.work .hbm-compare .hbm-tag-after{right:14px!important;background:#d91b2b!important}
.section.work .hbm-compare input[type=range]{position:absolute!important;z-index:5!important;inset:0!important;width:100%!important;height:100%!important;display:block!important;opacity:0!important;cursor:ew-resize!important;margin:0!important;touch-action:pan-y}
.section.work .hbm-project-caption{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:12px!important;padding:19px 21px!important;background:#191c22!important;color:#fff!important}
.section.work .hbm-project-caption strong{font-size:18px!important;color:#fff!important}.section.work .hbm-project-caption span{font-size:13px!important;color:#b9c0cb!important}
.section.work .hbm-gallery-subhead{color:#fff!important;margin-top:58px!important}.section.work .hbm-jeep-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:28px!important}
.section.work .hbm-jeep-grid figure{margin:0!important;overflow:hidden!important;background:#191c22!important;border:1px solid #45484e!important;border-radius:10px!important;box-shadow:0 16px 38px #0008!important}.section.work .hbm-jeep-grid img{display:block!important;width:100%!important;aspect-ratio:1.5!important;object-fit:cover!important}.section.work .hbm-jeep-grid figcaption{color:#fff!important;padding:18px 21px!important}
.section.insurance .hbm-insurer-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;margin:32px 0!important}.section.insurance .hbm-insurer-grid span{display:flex!important;align-items:center!important;justify-content:center!important;min-width:0!important;min-height:78px!important;padding:16px!important;text-align:center!important;overflow-wrap:anywhere!important;line-height:1.35!important;font-size:15px!important;font-weight:750!important;background:#24272d!important;color:#fff!important;border:1px solid #424650!important;border-bottom:3px solid #e51c2d!important}
.section.hbm-fleet .hbm-fleet-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important;margin:32px 0!important}.section.hbm-fleet .hbm-fleet-grid>div{min-width:0!important;display:flex!important;flex-direction:column!important;gap:12px!important;padding:28px!important;background:#292c33!important;border:1px solid #474b55!important;border-top:3px solid #e51c2d!important}.section.hbm-fleet .hbm-fleet-grid strong{display:block!important;color:#fff!important;font-size:20px!important;line-height:1.3!important}.section.hbm-fleet .hbm-fleet-grid span{display:block!important;color:#d2d5dc!important;font-size:14px!important;line-height:1.6!important}
@media(max-width:900px){.section.work .hbm-gallery{grid-template-columns:1fr!important}.section.insurance .hbm-insurer-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.section.hbm-fleet .hbm-fleet-grid{grid-template-columns:1fr!important}}
@media(max-width:600px){.section.work .hbm-compare{aspect-ratio:1.2!important}.section.work .hbm-jeep-grid{grid-template-columns:1fr!important}.section.work .hbm-project-caption{display:block!important}.section.work .hbm-project-caption span{display:block!important;margin-top:5px!important}.section.insurance .hbm-insurer-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

/* v1.5: keep every original vehicle fully visible, including portrait photos.
   Blurred side-fill is baked into the comparison assets so both slider layers
   have identical canvas geometry without stretching or cutting off vehicles. */
.section.work .hbm-gallery{gap:32px!important;max-width:1400px;margin-left:auto!important;margin-right:auto!important}
.section.work .hbm-project{border:1px solid #40454c!important;border-radius:12px!important;background:#181c22!important;box-shadow:0 14px 36px #0006!important}
.section.work .hbm-compare{aspect-ratio:960/650!important;background:#111820!important}
.section.work .hbm-compare>img.hbm-after,.section.work .hbm-compare>img.hbm-before{object-fit:cover!important;object-position:center!important}
.section.work .hbm-project-caption{padding:20px 22px!important;background:#181c22!important;color:#fff!important}
.section.work .hbm-project-caption span{color:#c5cbd2!important}
.section.work .hbm-jeep-grid{gap:32px!important;max-width:1400px;margin-left:auto;margin-right:auto}
.section.work .hbm-jeep-grid figure{border-radius:12px!important;border:1px solid #40454c!important;background:#181c22!important;box-shadow:0 14px 36px #0006!important}
.section.work .hbm-jeep-grid img{aspect-ratio:1.8!important;object-fit:contain!important;background:#12171d!important}
.section.work .hbm-jeep-grid figcaption{color:#fff!important;background:#181c22!important;padding:18px 22px!important}
.section.work .hbm-slider-icon{border:2px solid #eee!important}
@media(max-width:600px){.section.work .hbm-compare{aspect-ratio:960/650!important}.section.work .hbm-gallery,.section.work .hbm-jeep-grid{gap:20px!important}}
