
:root{--dark:#332116;--accent:#c56a1a;--light:#fff3e3;--ink:#172033;--muted:#5b6575;--card:#ffffff;--line:#e5e7eb}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,Arial,sans-serif;color:var(--ink);background:#fff;line-height:1.55}a{color:inherit;text-decoration:none}.wrap{width:min(1120px,92vw);margin:auto}header{z-index:50}.nav{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 0}.brand{font-weight:950;letter-spacing:-.03em;font-size:clamp(1.02rem,2vw,1.4rem);color:var(--dark)}.navlinks{display:flex;align-items:center;gap:18px;font-weight:850;color:#263247}.dropdown{position:relative}.dropdown>span{cursor:default}.drop{display:none;position:absolute;top:100%;left:0;background:#fff;border:1px solid var(--line);box-shadow:0 18px 40px rgba(0,0,0,.13);border-radius:16px;min-width:250px;padding:10px}.dropdown:hover .drop{display:grid}.drop a{padding:10px 12px;border-radius:10px;color:#263247}.drop a:hover{background:var(--light)}.callbtn,.hero .callbtn,.cta .callbtn{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:var(--accent);color:#111827;font-weight:950;padding:13px 19px;box-shadow:0 10px 25px rgba(0,0,0,.18)}.menucheck,.menulabel{display:none}.hero,.page-hero{position:relative;isolation:isolate;color:white;background:linear-gradient(120deg,rgba(0,0,0,.70),rgba(0,0,0,.42)),var(--hero-image) center/cover no-repeat;display:grid;align-items:center}.hero{min-height:470px}.page-hero{min-height:390px}.hero h1,.page-hero h1{font-size:clamp(2.25rem,5.6vw,5rem);letter-spacing:-.06em;line-height:.95;margin:0 0 18px;max-width:1050px;text-shadow:0 4px 22px rgba(0,0,0,.65)}.lead{font-size:clamp(1.08rem,2vw,1.35rem);font-weight:750;max-width:850px;margin:0 0 28px;color:#fff;text-shadow:0 3px 16px rgba(0,0,0,.7)}.section{padding:74px 0}.section.alt{background:var(--light)}h2{font-size:clamp(1.75rem,3.8vw,3rem);line-height:1.05;letter-spacing:-.045em;margin:0 0 18px;color:var(--dark)}h3{font-size:1.18rem;margin:0 0 8px;color:var(--dark)}p{font-size:1.02rem;color:#384255}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:28px}.card{background:#fff;border:1px solid var(--line);border-radius:24px;padding:24px;box-shadow:0 14px 34px rgba(15,23,42,.07)}.card strong{display:block;color:var(--dark);font-size:1.12rem;margin-bottom:6px}.split{display:grid;grid-template-columns:1.1fr .9fr;gap:34px;align-items:center}.photo{min-height:340px;border-radius:30px;background:linear-gradient(135deg,rgba(0,0,0,.18),rgba(0,0,0,.05)),var(--photo) center/cover no-repeat;box-shadow:0 24px 60px rgba(15,23,42,.2)}.pillrow{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}.pill{padding:9px 13px;border-radius:999px;background:#fff;border:1px solid var(--line);font-weight:800;color:#2d3748}.cta{background:var(--dark);color:white;padding:54px 0;text-align:center}.cta h2,.cta p{color:white}.faq{display:grid;gap:14px;margin-top:24px}.faq details{background:#fff;border:1px solid var(--line);border-radius:18px;padding:18px}summary{font-weight:900;color:var(--dark)}footer{background:#0f172a;color:white;padding:48px 0}footer p,footer a{color:#dbe4f0}.footgrid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:28px}.mini{font-size:.94rem;color:#5b6575}.band{padding:22px;border-left:6px solid var(--accent);background:#fff;border-radius:18px}.rail{display:grid;gap:16px}.steps{counter-reset:step}.steps .card{position:relative;padding-left:54px}.steps .card:before{counter-increment:step;content:counter(step);position:absolute;left:18px;top:22px;width:26px;height:26px;border-radius:50%;background:var(--accent);display:grid;place-items:center;font-weight:950}.strip{display:grid;gap:0;border:1px solid var(--line);border-radius:28px;overflow:hidden}.strip .card{border:0;border-bottom:1px solid var(--line);border-radius:0;box-shadow:none}.strip .card:last-child{border-bottom:0}@media(max-width:820px){.nav{align-items:flex-start}.menulabel{display:block;font-weight:900;background:var(--dark);color:#fff;border-radius:12px;padding:10px 12px}.navlinks{display:none;position:absolute;left:0;right:0;top:64px;background:#fff;padding:18px 4vw;flex-direction:column;align-items:stretch;border-bottom:1px solid var(--line)}.menucheck:checked~.navlinks{display:flex}.dropdown:hover .drop,.drop{position:static;display:grid;box-shadow:none;border:0;padding:0;min-width:0}.grid,.cards,.split,.footgrid{grid-template-columns:1fr}.hero,.page-hero{min-height:430px}.headercall{display:none}}

header{position:sticky;top:0;background:#fff7ed;border-bottom:1px solid #ead7bd}.hero,.page-hero{text-align:left;background:linear-gradient(90deg,rgba(38,24,14,.68),rgba(38,24,14,.20)),var(--hero-image) center/cover no-repeat}.hero .wrap,.page-hero .wrap{border-left:8px solid var(--accent);padding-left:28px}.section{padding:58px 0}.split{grid-template-columns:1fr}.photo{min-height:260px}.cards{display:grid;grid-template-columns:1fr;gap:14px}.card{border-radius:14px;box-shadow:none;border-left:5px solid var(--accent)}.grid{grid-template-columns:1fr}.cta{text-align:left;background:#3a2618}.footgrid{grid-template-columns:1fr 1fr 1fr}
/* humanfix-20260530: preserve real automotive hero image and avoid flat gray AI slab */
.hero,.page-hero{background-image:linear-gradient(105deg,rgba(4,13,22,.55),rgba(4,13,22,.20)),url('/assets/midland-mobile-mechanic-hero.jpg')!important;background-size:cover!important;background-position:center 46%!important;box-shadow:inset 0 0 0 9999px rgba(0,0,0,.02)}
.hero h1,.page-hero h1,.hero .lead,.page-hero .lead{text-shadow:0 3px 18px rgba(0,0,0,.72)}
.hero{min-height:clamp(430px,58vh,560px)!important}
.page-hero{min-height:clamp(300px,42vh,420px)!important}


/* pass11 Alec SOP correction: readability, call links, balanced cards */
main p a[href^="tel:"], main li a[href^="tel:"], .section p a[href^="tel:"], .content a[href^="tel:"]{
  color:#0b5794 !important;
  font-weight:800;
  text-decoration:underline;
  text-underline-offset:.16em;
}
a.btn[href^="tel:"], a.hero-call[href^="tel:"], a.call-nav[href^="tel:"], .cta a[href^="tel:"], .footer a.btn[href^="tel:"]{
  color:inherit !important;
  text-decoration:none !important;
}
.card,.service-card,.location-card,.symptom-card,.trust-card,.step,.bubble,.feature-card,.problem-strip>div,.mini-card,.tile{
  color:#101820 !important;
}
.card p,.service-card p,.location-card p,.symptom-card p,.trust-card p,.step p,.bubble p,.feature-card p,.problem-strip>div p,.mini-card p,.tile p{
  color:#273744 !important;
}
.dark .card,.dark .service-card,.dark .location-card,.dark .symptom-card,.dark .trust-card,.dark .step,.dark .bubble,.dark .feature-card,.dark .problem-strip>div{
  background:#ffffff !important;
  color:#101820 !important;
}
.dark .card h3,.dark .service-card h3,.dark .location-card h3,.dark .symptom-card h3,.dark .trust-card h3,.dark .step h3,.dark .bubble h3,.dark .feature-card h3,.dark .problem-strip>div h3{color:#101820 !important;}
.dark .card p,.dark .service-card p,.dark .location-card p,.dark .symptom-card p,.dark .trust-card p,.dark .step p,.dark .bubble p,.dark .feature-card p,.dark .problem-strip>div p{color:#273744 !important;}
.problem-strip,.service-grid.services-4,.cards-4,.grid-4,.symptom-grid:has(> :nth-child(4):last-child),.service-grid:has(> :nth-child(4):last-child),.cards:has(> :nth-child(4):last-child){
  display:grid !important;
  grid-template-columns:repeat(2,minmax(260px,1fr)) !important;
  max-width:1120px;
  margin-left:auto;
  margin-right:auto;
}
.problem-strip:has(> :nth-child(3):last-child),.symptom-grid:has(> :nth-child(3):last-child),.service-grid:has(> :nth-child(3):last-child),.cards:has(> :nth-child(3):last-child),.visual-grid:has(> :nth-child(3):last-child){
  display:grid !important;
  grid-template-columns:repeat(3,minmax(240px,1fr)) !important;
}
.problem-strip:has(> :nth-child(6):last-child),.symptom-grid:has(> :nth-child(6):last-child),.service-grid:has(> :nth-child(6):last-child),.cards:has(> :nth-child(6):last-child){
  display:grid !important;
  grid-template-columns:repeat(3,minmax(240px,1fr)) !important;
}
.section{padding-top:clamp(44px,6vw,86px) !important; padding-bottom:clamp(44px,6vw,86px) !important;}
.visual-services,.split,.intro-grid,.feature-row,.media-row{align-items:start !important; gap:clamp(28px,4vw,64px) !important;}
.side-photo,.image-card img,.visual-services img{max-height:560px; object-fit:cover;}
.local-service-note .split-copy{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(320px,1.2fr);gap:clamp(24px,4vw,56px);align-items:start;}
@media (max-width:900px){
  .problem-strip,.service-grid.services-4,.cards-4,.grid-4,.symptom-grid,.service-grid,.cards,.visual-grid,.local-service-note .split-copy{grid-template-columns:1fr !important;}
  .section{padding-top:42px !important;padding-bottom:42px !important;}
}


/* pass11b readability follow-up: all CTA buttons readable */
a.btn[href^="tel:"], a.hero-call[href^="tel:"], a.call-nav[href^="tel:"], .cta a[href^="tel:"], .footer a.btn[href^="tel:"], .callout a[href^="tel:"], .band a.btn[href^="tel:"]{
  color:#101820 !important;
  text-decoration:none !important;
}
.dark a.btn[href^="tel:"], .cta.dark a[href^="tel:"], .band.dark a.btn[href^="tel:"], .callout.dark a[href^="tel:"]{
  color:#101820 !important;
}
a.btn.primary[href^="tel:"], a.call-nav[href^="tel:"], a.hero-call[href^="tel:"]{
  background:#f5b83d !important;
  color:#101820 !important;
  border-color:#f5b83d !important;
}
