/* Woodstock Mobile Truck Repair — styles */
:root {
  --blue: #325998;
  --blue-dark: #264878;
  --blue-soft: #d6deea;
  --orange: #f26b24;
  --orange-dark: #d9571a;
  --text: #2f2e2e;
  --ink: #2f2e2e;
  --dark: #1c1c1c;
  --grey-soft: #f4f6f9;
  --line: #d9d9d9;
  --white: #ffffff;
  --font: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
  --wrap: 1180px;
  --header-h: 96px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font); font-weight: 700; color: var(--ink); line-height: 1.25; margin: 0 0 .6em; }
p { margin: 0 0 1.1em; }
svg { width: 1em; height: 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 860px; }
.center { text-align: center; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--blue); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 11px 30px;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  transition: background .2s;
}
.btn:hover, .btn:focus-visible { background: var(--orange-dark); }
.btn-lg { padding: 14px 38px; font-size: 16px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 5px solid var(--blue); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand img { height: 80px; width: auto; }
.site-nav { flex: 1; display: flex; justify-content: center; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav > ul { display: flex; gap: 10px; align-items: center; }
.site-nav a, .sub-toggle {
  display: block; padding: 10px 20px;
  font-size: 16px; text-transform: uppercase; letter-spacing: .03em; text-decoration: none; color: var(--orange);
  background: none; border: 0; font-family: inherit; cursor: pointer;
}
.site-nav a:hover, .sub-toggle:hover, .site-nav a.active, .active-parent > .sub-toggle { color: var(--blue); }
.caret { display: inline-block; width: 0; height: 0; margin-left: 4px; vertical-align: middle; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; }
.has-sub { position: relative; }
.sub {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  min-width: 250px; background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.14);
  padding: 8px 0 !important; display: none; border-top: 3px solid var(--orange);
}
.sub a { font-size: 15px; padding: 9px 20px; text-transform: none; color: var(--ink); }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { display: block; }
.header-phone { font-weight: 700; font-size: 24px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.header-phone:hover { color: var(--orange); }
.nav-toggle { display: none; }

/* Home hero */
.hero, .svc-hero, .call-band, .why { position: relative; overflow: hidden; background: #1a1f2a; isolation: isolate; }
.hero-bg, .band-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after, .svc-hero::after, .call-band::after, .why::after { content: ""; position: absolute; inset: 0; z-index: -1; }
.hero::after { background: linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.6)); }
.hero { color: #fff; text-align: center; }
.hero-inner { padding: clamp(90px, 12vw, 170px) 24px clamp(80px, 10vw, 150px); max-width: 980px; }
.hero h1 { color: #fff; text-transform: uppercase; font-size: clamp(32px, 6vw, 60px); line-height: 1.12; margin-bottom: .45em; }
.hero p { max-width: 640px; margin: 0 auto 1.6em; font-size: 18px; }

/* Feature band */
.features { background: var(--blue); color: #fff; padding: 44px 0 40px; }
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.feat-grid > div { padding: 0 28px; }
.feat-grid > div + div { border-left: 1px solid rgba(255,255,255,.45); }
.feat-grid img { height: 80px; width: auto; margin: 0 auto 14px; }
.feat-h { font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: 17px; margin-bottom: .35em; }
.feat-grid p:last-child { margin: 0; font-size: 15px; }

/* Sections */
.section { padding: 80px 0; }
.section-title { font-size: clamp(26px, 3.4vw, 38px); }
.underline::after, .center-line::after { content: ""; display: block; width: 110px; height: 3px; background: var(--orange); margin-top: .45em; }
.center-line::after { margin-left: auto; margin-right: auto; }
.split-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.split-grid a, .prose a, .svc-blocks p a, .about a, .contact-info a { color: var(--blue); }
.split-grid > img { width: 100%; border-radius: 4px; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: 15px; margin-bottom: .4em; color: var(--blue); font-weight: 600; }

/* Call band */
.call-band::after { background: linear-gradient(90deg, rgba(0,0,0,.78), rgba(0,0,0,.45)); }
.call-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 76px; padding-bottom: 76px; }
.call-big { color: #fff; font-size: clamp(28px, 4vw, 44px); font-weight: 700; line-height: 1.35; margin: 0; }
.phone-pill {
  display: inline-flex; align-items: center; gap: 16px; background: var(--orange); color: #fff; text-decoration: none;
  font-weight: 700; font-size: clamp(22px, 3vw, 32px); padding: 22px 44px; border-radius: 100px; white-space: nowrap;
}
.phone-pill svg { width: 1.2em; height: 1.2em; }
.phone-pill:hover { background: var(--orange-dark); }

/* Forms */
.form-card { background: var(--blue-soft); border-radius: 18px; padding: 30px 30px 24px; }
.form-title { font-size: clamp(24px, 2.8vw, 32px); font-style: italic; color: var(--ink); margin-bottom: .7em; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 14px; margin-bottom: 4px; }
.req { color: var(--orange-dark); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  padding: 9px 12px; border: 1px solid #b7c3d6; border-radius: 6px; background: #fff;
}
.field input::placeholder { color: #9aa3b0; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; }
.field.invalid input, .field.invalid textarea { border-color: #d62d20; background: #fff4f3; }
.hp { position: absolute; left: -9999px; }
.contact-form .btn { width: 100%; margin-top: 4px; }
.form-status { margin: 12px 0 0; font-weight: 600; min-height: 1.5em; font-size: 15px; }
.form-status.ok { color: #1c7a3c; }
.form-status.err { color: #c0271b; }
.contact-form button[disabled] { opacity: .6; cursor: wait; }

/* Gallery */
.gallery { padding: 0 0 20px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gallery-grid img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* Home service blocks */
.svc-block { display: grid; grid-template-columns: 1fr 300px; gap: 40px; align-items: center; padding: 44px 0; }
.svc-block + .svc-block { border-top: 3px solid transparent; background: linear-gradient(var(--orange), var(--orange)) top left / 110px 3px no-repeat; }
.svc-block h2 { font-size: clamp(26px, 3.2vw, 34px); margin-bottom: .45em; }
.svc-block h2 a { color: var(--blue); text-decoration: none; }
.svc-block h2 a:hover { text-decoration: underline; }
.svc-block h3 { font-size: 21px; margin: 1.1em 0 .45em; }
.svc-block img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.svc-block p { font-size: 15px; }
.more { font-weight: 600; color: var(--orange-dark); text-decoration: none; }
.more:hover { text-decoration: underline; }
.svc-blocks { padding-top: 40px; }

.map-section { padding: 20px 0 70px; }
.map-section iframe { display: block; width: 100%; height: 360px; border: 0; }

/* Service pages */
.svc-hero::after { background: linear-gradient(90deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.55) 60%, rgba(0,0,0,.4) 100%); }
.svc-hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.svc-hero-text { color: #fff; }
.svc-hero h1 { color: #fff; font-size: clamp(34px, 5vw, 54px); margin-bottom: .35em; }
.svc-hero .lead { font-weight: 700; font-size: 19px; margin-bottom: .3em; }
.svc-hero p { font-size: 16px; }
.call-now { font-weight: 700; font-size: 21px; margin: 1.2em 0 .1em; }
.hero-phone { color: #fff; font-weight: 700; font-size: clamp(28px, 3.6vw, 36px); text-decoration: none; white-space: nowrap; }
.hero-phone:hover { color: var(--orange); }
.svc-hero .form-card { background: rgba(255,255,255,.96); }
.svc-hero .form-title { font-size: 24px; }

.prose .wrap { max-width: 1040px; }
.prose p { font-size: 16px; }

.why::after { background: rgba(10,14,20,.8); }
.why { color: #fff; padding: 70px 0 74px; }
.why h2 { color: #fff; text-align: center; font-size: clamp(28px, 3.6vw, 38px); font-weight: 600; margin-bottom: 1.1em; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 60px; max-width: 980px; margin: 0 auto; }
.why-item { display: flex; gap: 18px; align-items: flex-start; }
.why-item svg { width: 46px; height: 46px; flex: none; color: var(--orange); margin-top: 2px; }
.why-item h3 { color: #fff; font-size: 21px; margin-bottom: .2em; }
.why-item p { margin: 0; font-size: 15px; color: #e4e7ec; }

.loc-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.loc-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.loc-imgs img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.locations h2 { font-size: clamp(26px, 3.2vw, 34px); }
.loc-list { list-style: none; margin: 0 0 1.6em; padding: 0; }
.loc-list li { font-weight: 700; font-size: 16px; padding: 6px 0; }
.loc-list li::before { content: "–"; color: var(--orange); margin-right: 8px; }

/* About / contact */
.page-title { font-size: clamp(30px, 4.4vw, 46px); text-align: center; }
.about .page-title { margin-bottom: 1.2em; }
.about-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; align-items: start; }
.about-imgs { display: grid; gap: 20px; }
.contact .page-title { margin-bottom: 1.1em; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info h2 { font-size: 18px; color: var(--blue); margin: 1.2em 0 .2em; }
.contact-info h2 + p { margin-bottom: 0; }
.contact-info a[href^="tel"] { color: var(--ink); text-decoration: none; }

/* Legal */
.legal h2 { font-size: 21px; margin-top: 1.8em; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: .5em; }
.legal a { color: var(--blue); }
.updated { text-align: center; color: #777; font-size: 14px; }
.callout { background: #eef2f8; border-left: 5px solid var(--blue); padding: 18px 22px; margin: 24px 0; }
.callout p { margin: 0; }
.page-404 { min-height: 50vh; }
.page-404 a[href^="tel"] { color: var(--blue); }

/* Footer */
.footer-band { background: var(--blue); color: #fff; padding: 30px 0; }
.band-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.band-grid > div { padding: 0 28px; }
.band-grid > div + div { border-left: 1px solid rgba(255,255,255,.45); }
.band-h { text-transform: uppercase; letter-spacing: .05em; font-size: 18px; margin: 0 0 .25em; display: flex; align-items: center; gap: 10px; }
.band-h svg { width: 20px; height: 20px; }
.band-grid p:last-child { margin: 0; font-size: 14px; }
.band-grid a { text-decoration: none; }
.band-grid a:hover { text-decoration: underline; }
.footer-main { background: #fff; padding: 44px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 32px; align-items: start; }
.footer-about img { width: 110px; margin-bottom: 12px; }
.footer-about p { font-size: 13px; color: #555; }
.footer-h { font-weight: 700; font-size: 17px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .8em; }
.footer-main ul { list-style: none; margin: 0; padding: 0; }
.footer-main li { margin-bottom: 4px; }
.footer-main a { font-size: 14px; text-decoration: underline; text-underline-offset: 2px; }
.footer-main a:hover { color: var(--orange-dark); }
.footer-main p { font-size: 14px; }
.mobile-call { display: none; }

/* Tablet */
@media (max-width: 1024px) {
  .site-nav a, .sub-toggle { padding: 10px 12px; font-size: 15px; }
  .header-phone { font-size: 20px; }
  .brand img { height: 70px; }
  .svc-hero-grid, .split-grid { gap: 36px; }
  .svc-block { grid-template-columns: 1fr 260px; }
}

/* Mobile nav */
@media (max-width: 900px) {
  :root { --header-h: 76px; }
  .brand img { height: 60px; }
  .header-phone { display: none; }
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 46px; height: 46px; background: none; border: 0; cursor: pointer; padding: 10px;
  }
  .nav-toggle span { display: block; height: 3px; background: var(--blue); transition: transform .2s, opacity .2s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0; background: #fff;
    border-bottom: 4px solid var(--orange); box-shadow: 0 10px 20px rgba(0,0,0,.12);
    display: none; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .site-nav.open { display: block; }
  .site-nav > ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0; }
  .site-nav a, .sub-toggle { width: 100%; text-align: left; padding: 14px 24px; font-size: 16px; }
  .sub { position: static; transform: none; box-shadow: none; border-top: 0; padding: 0 0 6px !important; background: var(--grey-soft); }
  .has-sub:hover .sub, .has-sub:focus-within .sub { display: none; }
  .has-sub.open .sub { display: block; }
  .sub a { padding-left: 40px; }
  .mobile-call {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--orange); color: #fff; text-decoration: none; font-weight: 700; font-size: 18px;
    padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
    box-shadow: 0 -4px 14px rgba(0,0,0,.2);
  }
  .mobile-call svg { width: 18px; height: 18px; }
  body { padding-bottom: 58px; }
  .split-grid, .svc-hero-grid, .contact-grid, .about-grid, .loc-grid { grid-template-columns: 1fr; }
  .svc-block { grid-template-columns: 1fr; gap: 20px; }
  .svc-block img { max-width: 520px; }
  .call-inner { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-imgs { grid-template-columns: 1fr 1fr; }
}

/* Phones */
@media (max-width: 700px) {
  body { font-size: 15px; line-height: 1.4; }
  p, li { line-height: 1.4; }
  .wrap { padding: 0 16px; }
  .section { padding: 48px 0; }
  .hero-inner { padding: 72px 16px 64px; }
  .hero p { font-size: 15px; }
  .features { padding: 30px 0 26px; }
  .feat-grid { grid-template-columns: 1fr; gap: 24px; }
  .feat-grid > div { padding: 0 8px; }
  .feat-grid > div + div { border-left: 0; border-top: 1px solid rgba(255,255,255,.35); padding-top: 22px; }
  .feat-grid img { height: 60px; margin-bottom: 10px; }
  .feat-grid p:last-child { font-size: 14px; }
  .call-inner { padding-top: 48px; padding-bottom: 48px; gap: 22px; }
  .phone-pill { padding: 16px 28px; font-size: 24px; }
  .form-card { padding: 22px 16px 18px; border-radius: 14px; }
  .row2 { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; gap: 12px; }
  .gallery-grid img:nth-child(n+2) { display: none; }
  .svc-block { padding: 32px 0; }
  .svc-block h3 { font-size: 18px; }
  .svc-block p, .prose p, .why-item p, .legal { font-size: 15px; }
  .section-title, .svc-block h2 { font-size: 25px; }
  .svc-hero-grid { padding-top: 40px; padding-bottom: 40px; gap: 28px; }
  .svc-hero h1 { font-size: 32px; }
  .svc-hero p { font-size: 15px; }
  .call-now { font-size: 18px; }
  .why { padding: 48px 0; }
  .why-grid { grid-template-columns: 1fr; gap: 24px; }
  .why-item svg { width: 38px; height: 38px; }
  .why-item h3 { font-size: 18px; }
  .loc-imgs img { aspect-ratio: 1 / 1; }
  .about-imgs { grid-template-columns: 1fr; }
  .page-title { font-size: 28px; }
  .legal h2 { font-size: 18px; }
  .map-section { padding: 0 0 40px; }
  .map-section iframe { height: 300px; }
  .band-grid { grid-template-columns: 1fr; gap: 18px; }
  .band-grid > div { padding: 0; }
  .band-grid > div + div { border-left: 0; border-top: 1px solid rgba(255,255,255,.35); padding-top: 16px; }
  .band-h { font-size: 16px; }
  .footer-grid { gap: 28px 20px; }
  .footer-about { grid-column: 1 / -1; }
  .mobile-call { font-size: 16px; }
}
@media (max-width: 380px) {
  .footer-grid { grid-template-columns: 1fr; }
  .phone-pill { font-size: 21px; padding: 14px 22px; }
}
