/* Woodstock Towing - site styles */
:root {
  --orange: #E94615;
  --orange-dark: #C4380E;
  --black: #111111;
  --charcoal: #333333;
  --grey: #727272;
  --grey-light: #D6D6D6;
  --grey-lighter: #EDEDED;
  --white: #FFFFFF;
  --font: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
  --maxw: 1140px;
  --radius: 100px;
  --header-h: 88px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--charcoal);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange); }
a:hover { color: var(--orange-dark); }
h1, h2, h3 { font-family: var(--font); font-weight: 700; line-height: 1.2; color: var(--black); margin: 0 0 .6em; }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: 1.25rem; }
h1 { font-weight: 600; }
p { margin: 0 0 1.1em; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 860px; }
.center { text-align: center; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--black); color: var(--white); padding: 8px 14px; z-index: 200; }
.skip-link:focus { left: 8px; top: 8px; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 34px;
  border-radius: var(--radius);
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--orange);
  cursor: pointer;
  transition: background .3s, color .3s, border-color .3s;
}
.btn:hover { background: var(--black); border-color: var(--black); color: var(--white); }
.btn-white { background: var(--white); color: var(--charcoal); border-color: var(--white); }
.btn-white:hover { background: var(--black); border-color: var(--black); color: var(--white); }
.btn-outline { background: transparent; color: var(--orange); }
.btn-outline:hover { background: var(--orange); color: var(--white); border-color: var(--orange); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(0,0,0,.08);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h); gap: 20px;
  max-width: 1280px; margin: 0 auto; padding: 8px 20px;
}
.logo { flex: 0 0 auto; display: block; }
.logo img { height: 72px; width: auto; }
.main-nav { flex: 1 1 auto; display: flex; justify-content: center; }
.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; align-items: center; }
.main-nav a, .dropdown-toggle {
  display: block; padding: 10px 16px;
  color: var(--charcoal); text-decoration: none;
  font-size: .98rem; font-weight: 500; font-family: var(--font);
  background: none; border: 0; cursor: pointer;
}
.main-nav a:hover, .dropdown-toggle:hover, .main-nav a[aria-current="page"], .has-dropdown.active > .dropdown-toggle { color: var(--orange); }
.has-dropdown { position: relative; }
.dropdown-toggle::after { content: ""; display: inline-block; margin-left: 7px; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.dropdown {
  list-style: none; margin: 0; padding: 8px 0;
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  min-width: 230px; background: var(--white);
  box-shadow: 0 10px 30px rgba(0,0,0,.15); border-top: 3px solid var(--orange);
  opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown, .has-dropdown.open .dropdown { opacity: 1; visibility: visible; }
.dropdown a { padding: 9px 22px; font-size: .95rem; }
.header-phone {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 1.3rem; color: var(--black); text-decoration: none; white-space: nowrap;
}
.header-phone svg { width: 20px; height: 20px; fill: var(--orange); }
.header-phone:hover { color: var(--orange); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 3px; margin: 5px 0; background: var(--black); border-radius: 2px; transition: transform .3s, opacity .3s; }
.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); }

/* Home hero */
.hero {
  position: relative; color: var(--white); text-align: center;
  background: var(--black) url('../images/hero-flatbed-tow-truck.jpg') center/cover no-repeat;
  padding: clamp(70px, 12vw, 150px) 0 clamp(50px, 8vw, 90px);
}
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.62); }
.hero .container { position: relative; }
.hero h1 { color: var(--white); margin: 0 0 .3em; font-weight: 600; }
.hero-title { display: block; font-size: clamp(2.1rem, 8.5vw, 5.2rem); letter-spacing: .04em; text-transform: uppercase; line-height: 1.05; }
.hero-sub { display: block; font-size: clamp(1rem, 2.6vw, 1.45rem); font-weight: 400; letter-spacing: .02em; margin-top: .7em; color: var(--grey-lighter); }
.hero-phone {
  display: inline-block; white-space: nowrap;
  font-size: clamp(1.6rem, 5.5vw, 2.8rem); font-weight: 700; line-height: 1.1;
  color: var(--white); text-decoration: none; margin: .1em 0 .5em;
}
.hero-phone:hover { color: var(--orange); }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 900px; margin: 30px auto 0; }
.feature { display: flex; flex-direction: column; align-items: center; gap: 12px; font-weight: 700; font-size: 1.05rem; letter-spacing: .03em; }
.feature-icon { width: 74px; height: 74px; border-radius: 50%; border: 2px solid var(--orange); display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.35); }
.feature-icon img, .feature-icon svg { width: 36px; height: 36px; }
.feature-icon svg { fill: var(--orange); }

/* Page hero (service pages: photo; other pages: solid band) */
.page-hero {
  position: relative; color: var(--white); text-align: center;
  background: var(--black) center/cover no-repeat;
  padding: clamp(80px, 14vw, 160px) 0;
}
.page-hero.photo::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.55); }
.page-hero.solid { background: var(--black); padding: clamp(60px, 10vw, 110px) 0; border-bottom: 5px solid var(--orange); }
.page-hero .container { position: relative; }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 6.5vw, 4.2rem); margin: 0; font-weight: 600; }
.page-hero p { margin: .6em 0 0; font-size: clamp(1rem, 2.4vw, 1.25rem); color: var(--grey-lighter); }

/* Sections */
.section { padding: clamp(50px, 8vw, 90px) 0; }
.section-grey { background: var(--grey-lighter); }
.section-dark { background: var(--black); color: var(--grey-light); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.intro p { font-size: 1.08rem; }
.lead-title { font-size: clamp(1.7rem, 4.5vw, 2.6rem); }
.content p { font-size: 1.04rem; }
.content h2 { margin-top: 1.4em; }
.content h2:first-child { margin-top: 0; }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 30px; }
.card { background: var(--white); display: flex; flex-direction: column; box-shadow: 0 4px 22px rgba(0,0,0,.08); transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,0,0,.14); }
.card img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.card-body { padding: 24px 24px 28px; display: flex; flex-direction: column; flex: 1; text-align: center; }
.card-body h3 { margin-bottom: .5em; }
.card-body h3 a { color: var(--black); text-decoration: none; }
.card-body h3 a:hover { color: var(--orange); }
.card-body p { flex: 1; font-size: .98rem; }
.card-body .btn { align-self: center; padding: 11px 28px; font-size: .85rem; }

/* CTA band */
.cta-band { background: var(--orange); color: var(--white); text-align: center; padding: clamp(44px, 7vw, 70px) 0; }
.cta-band h2 { color: var(--white); margin-bottom: .7em; }
.cta-phone { display: inline-block; white-space: nowrap; color: var(--white); text-decoration: none; font-weight: 700; font-size: clamp(1.9rem, 7vw, 3.2rem); line-height: 1.1; margin-bottom: .5em; }
.cta-phone:hover { color: var(--black); }

/* Split (text + image) */
.split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 50px; align-items: start; }
.split img { width: 100%; position: sticky; top: calc(var(--header-h) + 24px); }
.check-list { list-style: none; padding: 0; margin: 0 0 1.4em; columns: 2; column-gap: 30px; }
.check-list li { padding-left: 28px; position: relative; margin-bottom: 8px; break-inside: avoid; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 8px; border-left: 3px solid var(--orange); border-bottom: 3px solid var(--orange); transform: rotate(-45deg); }

/* Map */
.areas { max-width: 760px; margin: 0 auto 28px; font-size: 1.05rem; }
.map-wrap { position: relative; width: 100%; height: 380px; background: var(--grey-lighter); }
.map-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Other services links */
.service-links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; list-style: none; padding: 0; margin: 20px 0 0; }
.service-links a { display: block; padding: 10px 22px; border: 2px solid var(--grey-light); border-radius: var(--radius); color: var(--charcoal); text-decoration: none; font-weight: 600; font-size: .95rem; }
.service-links a:hover { border-color: var(--orange); color: var(--orange); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 50px; align-items: start; }
.info-block { margin-bottom: 30px; }
.info-block h2 { font-size: 1.35rem; margin-bottom: .3em; }
.info-block p { margin: 0; font-size: 1.05rem; }
.info-block .big-phone { font-size: clamp(1.6rem, 5vw, 2.1rem); font-weight: 700; color: var(--orange); text-decoration: none; white-space: nowrap; }

/* Form */
.contact-form { background: var(--white); padding: clamp(24px, 4vw, 40px); box-shadow: 0 4px 26px rgba(0,0,0,.09); text-align: left; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--black); }
.form-group label .req { color: var(--orange); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 13px 14px; font: inherit; font-size: 1rem; color: var(--black);
  border: 1px solid var(--grey-light); border-radius: 4px; background: #fafafa;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--orange); background: var(--white); box-shadow: 0 0 0 3px rgba(233,70,21,.15); }
.form-group textarea { min-height: 130px; resize: vertical; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .85rem; color: var(--grey); margin: 12px 0 0; }
.form-status { display: none; margin-top: 18px; padding: 14px 16px; border-radius: 4px; font-weight: 600; }
.form-status.success { display: block; background: #e8f6ec; color: #1d6b35; border: 1px solid #b6e0c2; }
.form-status.error { display: block; background: #fdecea; color: #a4260f; border: 1px solid #f5c2b8; }
.contact-form .btn { width: 100%; }
.contact-form .btn[disabled] { opacity: .6; cursor: wait; }

/* Legal */
.legal h2 { font-size: 1.45rem; margin-top: 1.8em; }
.legal h3 { font-size: 1.1rem; margin-top: 1.4em; }
.legal ul { padding-left: 1.3em; }
.legal li { margin-bottom: .5em; }
.callout { background: #fff4ef; border-left: 5px solid var(--orange); padding: 20px 24px; margin: 0 0 30px; }
.callout p:last-child { margin-bottom: 0; }
.updated { color: var(--grey); font-size: .92rem; }

/* Footer */
.site-footer { background: var(--black); color: var(--grey-light); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1.2fr; gap: 36px; padding: 56px 20px 40px; }
.footer-logo img { width: 150px; }
.footer-heading { color: var(--white); font-weight: 700; font-size: 1.05rem; letter-spacing: .05em; text-transform: uppercase; margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 7px; }
.site-footer a { color: var(--grey-light); text-decoration: none; }
.site-footer a:hover { color: var(--orange); }
.footer-phone { font-size: 1.35rem; font-weight: 700; color: var(--white) !important; white-space: nowrap; }
.footer-bottom { border-top: 1px solid #2a2a2a; padding: 20px 0; font-size: .85rem; color: var(--grey); }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.footer-bottom a { color: var(--grey-light); }
.footer-disclosure { margin: 0; padding: 16px 20px; border-top: 1px solid #2a2a2a; text-align: center; font-size: .85rem; line-height: 1.5; color: var(--grey-light); }

/* Mobile call bar */
.mobile-call { display: none; }

/* 404 */
.notfound { text-align: center; padding: clamp(70px, 12vw, 130px) 0; }
.notfound .big { font-size: clamp(4rem, 18vw, 8rem); font-weight: 700; color: var(--orange); line-height: 1; margin: 0; }

/* Responsive */
@media (max-width: 1080px) {
  .header-phone span { display: none; }
  .main-nav a, .dropdown-toggle { padding: 10px 11px; }
}
@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .split img { position: static; max-width: 560px; margin: 0 auto; }
}
@media (max-width: 860px) {
  :root { --header-h: 72px; }
  .logo img { height: 58px; }
  .nav-toggle { display: block; order: 3; }
  .header-phone { order: 2; margin-left: auto; font-size: 1.1rem; }
  .header-phone span { display: inline; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); box-shadow: 0 12px 24px rgba(0,0,0,.12);
    display: none; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .main-nav.open { display: block; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0 16px; }
  .main-nav a, .dropdown-toggle { padding: 13px 24px; width: 100%; text-align: left; font-size: 1.05rem; border-bottom: 1px solid var(--grey-lighter); }
  .dropdown { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; border-top: 0; padding: 0; display: none; background: #fafafa; }
  .has-dropdown.open .dropdown { display: block; }
  .has-dropdown:hover .dropdown { display: none; }
  .has-dropdown.open:hover .dropdown { display: block; }
  .dropdown a { padding-left: 42px; font-size: 1rem; }
  .dropdown-toggle { display: flex; justify-content: space-between; align-items: center; }
}
@media (max-width: 640px) {
  .footer-disclosure { font-size: .78rem; padding: 14px 16px; line-height: 1.4; }
  body { font-size: 15px; line-height: 1.4; padding-bottom: 64px; }
  .container { padding: 0 16px; }
  .header-inner { padding: 6px 12px; gap: 8px; }
  .logo img { height: 52px; }
  .header-phone span { display: none; }
  .header-phone svg { width: 24px; height: 24px; }
  .header-phone { padding: 10px; }
  .cards { grid-template-columns: 1fr; gap: 22px; }
  .features { grid-template-columns: 1fr; gap: 18px; max-width: 280px; }
  .feature { flex-direction: row; gap: 16px; text-align: left; }
  .feature-icon { width: 56px; height: 56px; flex: 0 0 56px; }
  .feature-icon img, .feature-icon svg { width: 28px; height: 28px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .check-list { columns: 1; }
  .content p, .intro p { font-size: 1rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding: 40px 16px 28px; }
  .footer-bottom .container { flex-direction: column; }
  .map-wrap { height: 300px; }
  .btn { padding: 13px 26px; }
  .mobile-call {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; height: 58px;
    background: var(--orange); color: var(--white); font-weight: 700; font-size: 1.1rem;
    text-decoration: none; letter-spacing: .03em; box-shadow: 0 -2px 12px rgba(0,0,0,.2);
  }
  .mobile-call svg { width: 20px; height: 20px; fill: var(--white); }
  .mobile-call:hover { color: var(--white); }
}
