/* Dillon Towing & Recovery — site styles */
:root {
  --navy: #0a1c2e;
  --navy-2: #12304d;
  --blue: #1aa3dc;
  --blue-dark: #0d7fb3;
  --gold: #c9a14a;
  --gold-light: #e6c27a;
  --ink: #1b2430;
  --muted: #5b6776;
  --bg: #ffffff;
  --bg-alt: #f3f6f9;
  --line: #dde4ec;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(10, 28, 46, .12);
  --max: 1180px;
  --head: "Oswald", "Arial Narrow", Arial, sans-serif;
  --body: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--bg); line-height: 1.65; font-size: 17px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-dark); }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.15; margin: 0 0 .6em; color: var(--navy); letter-spacing: .01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); text-transform: uppercase; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); text-transform: uppercase; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.container { width: min(var(--max), 92%); margin: 0 auto; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; background: #fff; padding: .5rem 1rem; z-index: 1000; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .85rem 1.5rem; border-radius: 6px; font-weight: 700; text-decoration: none; font-family: var(--head); text-transform: uppercase; letter-spacing: .04em; font-size: 1.05rem; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: var(--gold-light); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-dark); }
.btn-outline { border-color: #fff; color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.1); }

/* Top bar */
.topbar { background: var(--navy); color: #cfd8e3; font-size: .9rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; padding: .45rem 0; gap: 1rem; flex-wrap: wrap; }
.topbar .only-sm { display: none; }
.topbar a { color: var(--gold-light); text-decoration: none; font-weight: 600; }
.topbar .badge-247 { background: #c62828; color: #fff; padding: .1rem .55rem; border-radius: 4px; font-weight: 700; margin-right: .5rem; }

/* Header */
.site-header { background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.08); position: sticky; top: 0; z-index: 100; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; padding: .6rem 0; gap: 1rem; }
.logo img { width: 190px; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .2rem; align-items: center; }
.nav a { display: block; white-space: nowrap; padding: .55rem .75rem; text-decoration: none; color: var(--navy); font-family: var(--head); text-transform: uppercase; font-size: 1rem; letter-spacing: .03em; border-radius: 5px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--blue-dark); background: var(--bg-alt); }
.nav .has-sub { position: relative; }
.nav .sub { display: none; position: absolute; top: 100%; left: 0; background: #fff; box-shadow: var(--shadow); border-radius: 8px; padding: .4rem; min-width: 250px; flex-direction: column; align-items: stretch; }
.nav .has-sub:hover .sub, .nav .has-sub:focus-within .sub { display: flex; }
.header-call { white-space: nowrap; }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.8rem; cursor: pointer; color: var(--navy); }

/* Hero */
.hero { position: relative; color: #fff; background: var(--navy) center 65% / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,28,46,.6) 0%, rgba(10,28,46,0) 30%), linear-gradient(90deg, rgba(10,28,46,.96) 0%, rgba(10,28,46,.85) 45%, rgba(10,28,46,.35) 100%); }
.hero .container { position: relative; padding: 5.5rem 0 6rem; }
.hero h1 { color: #fff; max-width: 760px; }
.hero h1 span { color: var(--gold-light); }
.hero p.lead { font-size: 1.2rem; max-width: 620px; color: #dbe4ee; }
.hero .actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.6rem; }
.eyebrow { display: inline-block; font-family: var(--head); text-transform: uppercase; letter-spacing: .14em; color: var(--blue); font-weight: 600; margin-bottom: .6rem; font-size: .95rem; }
.hero .eyebrow { color: var(--gold-light); }

.page-hero { background: linear-gradient(120deg, var(--navy), var(--navy-2)); color: #fff; padding: 3.5rem 0 3rem; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.2vw, 3rem); }
.page-hero p { color: #cdd8e4; max-width: 720px; font-size: 1.1rem; margin: 0; }
.page-hero.has-img { background-size: cover; background-position: center; padding: 4.5rem 0 4rem; }
.breadcrumbs { font-size: .88rem; margin-bottom: 1rem; color: #9fb2c6; }
.breadcrumbs a { color: var(--gold-light); text-decoration: none; }

/* Photos */
.photo { margin: 0 0 1.8rem; }
.photo img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); max-height: 520px; object-fit: cover; }
.gallery .photo img, .photo-pair .photo img { aspect-ratio: 4 / 3; max-height: none; }
.photo figcaption { font-size: .88rem; color: var(--muted); margin-top: .5rem; }
.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.5rem 0; }
.photo-pair .photo { margin: 0; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.gallery .photo { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); }
.gallery .photo img { box-shadow: none; border-radius: 0; transition: transform .4s; }
.gallery .photo:hover img { transform: scale(1.04); }
.gallery .photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 2rem 1rem .8rem; color: #fff; font-weight: 600; background: linear-gradient(transparent, rgba(10,28,46,.9)); }

/* Stats strip */
.stats { background: var(--blue); color: #fff; }
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; padding: 1.6rem 0; gap: 1rem; }
.stats strong { display: block; font-family: var(--head); font-size: 2.3rem; line-height: 1; }
.stats span { font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; }

/* Sections */
section.block { padding: 4.5rem 0; }
section.alt { background: var(--bg-alt); }
section.dark { background: var(--navy); color: #d6e0ea; }
section.dark h2, section.dark h3 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: 2.4rem; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: start; }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: 0 2px 6px rgba(0,0,0,.03); transition: box-shadow .2s, transform .2s; }
a.card { text-decoration: none; color: inherit; display: block; }
a.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card .icon { width: 52px; height: 52px; border-radius: 10px; background: rgba(26,163,220,.12); color: var(--blue-dark); display: grid; place-items: center; margin-bottom: 1rem; }
.card .icon svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--muted); margin: 0; }
.card .more { display: inline-block; margin-top: .9rem; font-weight: 700; color: var(--blue-dark); }

.checklist { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.checklist li { padding-left: 1.8rem; position: relative; margin-bottom: .55rem; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .45em; width: 1.05rem; height: 1.05rem; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%230a1c2e'%3E%3Cpath d='M8 13.6 4.4 10l-1.4 1.4L8 16.4l9-9L15.6 6z'/%3E%3C/svg%3E") center / 75% no-repeat; }
.cols-2 { columns: 2; column-gap: 2rem; }
.cols-3 { columns: 3; column-gap: 2rem; }

.panel { background: var(--navy); color: #d6e0ea; border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.panel h3 { color: #fff; }
.panel a { color: var(--gold-light); }
.panel .big-phone { font-family: var(--head); font-size: 2rem; color: #fff; text-decoration: none; display: block; }

.prose h2 { margin-top: 1.6em; font-size: 1.8rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.4em; }

/* CTA band */
.cta-band { background: linear-gradient(110deg, var(--blue-dark), var(--blue)); color: #fff; padding: 3rem 0; }
.cta-band .container { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 .3rem; }
.cta-band p { margin: 0; color: #e6f5fc; }

/* Testimonials */
.review { background: #fff; border-radius: var(--radius); padding: 1.6rem; border-left: 5px solid var(--gold); box-shadow: 0 2px 10px rgba(0,0,0,.05); margin: 0; }
.review .stars { color: var(--gold); letter-spacing: .15em; font-size: 1.15rem; }
.review blockquote { margin: .6rem 0 1rem; font-style: italic; }
.review figcaption { font-weight: 700; color: var(--navy); }
.review figcaption span { display: block; font-weight: 400; color: var(--muted); font-size: .9rem; }
.notice { background: #fff8e6; border: 1px dashed var(--gold); color: #6b5310; padding: .8rem 1rem; border-radius: 8px; font-size: .92rem; margin-bottom: 1.5rem; }

/* Jobs */
.job { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.job summary { list-style: none; cursor: pointer; padding: 1.2rem 1.5rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.job summary::-webkit-details-marker { display: none; }
.job summary h3 { margin: 0; }
.job summary .meta { color: var(--muted); font-size: .92rem; }
.job summary .chev { font-size: 1.4rem; color: var(--blue-dark); transition: transform .2s; }
.job[open] summary .chev { transform: rotate(45deg); }
.job .job-body { padding: 0 1.5rem 1.5rem; border-top: 1px solid var(--line); }
.job .job-body h4 { margin-top: 1.2rem; font-size: 1.05rem; text-transform: uppercase; color: var(--blue-dark); }
.jobs { display: grid; gap: 1rem; }

/* Forms */
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .3rem; color: var(--navy); }
.form .field { margin-bottom: 1rem; }
.form input, .form select, .form textarea { width: 100%; padding: .75rem .85rem; border: 1px solid #c4cfdb; border-radius: 6px; font: inherit; font-size: 1rem; background: #fff; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--blue); border-color: var(--blue); }
.form textarea { min-height: 130px; resize: vertical; }
.form .hint { font-size: .82rem; color: var(--muted); margin-top: .25rem; }
.form .file-drop { border: 2px dashed #b9c6d4; border-radius: 8px; padding: 1.2rem; text-align: center; background: var(--bg-alt); }
.form .checkbox { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; }
.form .checkbox input { width: auto; margin-top: .3rem; }
.form-status { margin-top: 1rem; padding: .9rem 1rem; border-radius: 8px; display: none; }
.form-status.show { display: block; background: #e7f6ec; color: #1d6b37; border: 1px solid #b5e0c3; }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 8px; margin-bottom: .8rem; }
.faq summary { cursor: pointer; padding: 1rem 1.2rem; font-weight: 700; color: var(--navy); }
.faq details p { padding: 0 1.2rem 1rem; margin: 0; color: var(--muted); }

/* Areas */
.area-tags { display: flex; flex-wrap: wrap; gap: .6rem; }
.area-tags a, .area-tags span { background: #fff; border: 1px solid var(--line); padding: .45rem .9rem; border-radius: 999px; text-decoration: none; color: var(--navy); font-weight: 600; font-size: .95rem; }
section.dark .area-tags span { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); color: #fff; }
.map-embed { border: 0; width: 100%; height: 360px; border-radius: var(--radius); }

/* Footer */
.site-footer { background: #06121e; color: #9fb0c2; padding: 3.5rem 0 0; font-size: .95rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2rem; }
.site-footer h4 { color: #fff; text-transform: uppercase; font-size: 1.05rem; letter-spacing: .05em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .45rem; }
.site-footer a { color: #cdd8e4; text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); }
.site-footer .logo-foot { background: #fff; display: inline-block; padding: .5rem .8rem; border-radius: 8px; margin-bottom: 1rem; }
.site-footer .logo-foot img { width: 170px; }
.site-footer .bottom { border-top: 1px solid #1a2b3c; margin-top: 2.5rem; padding: 1.2rem 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: .85rem; }

/* Mobile call bar */
.mobile-call { display: none; }

/* Hamburger menu on phones and tablets (incl. iPad landscape) */
@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; box-shadow: var(--shadow); display: none;
         max-height: calc(100vh - 80px); max-height: calc(100dvh - 80px); overflow-y: auto; overscroll-behavior: contain; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; padding: .5rem 4% 1rem; }
  .nav a { padding: .75rem .75rem; }
  .nav .sub { display: flex; position: static; box-shadow: none; padding: 0 0 0 1rem; min-width: 0; }
  .nav .sub a { text-transform: none; font-family: var(--body); font-size: .98rem; padding: .55rem .75rem; }
  .header-call { display: none; }
}
@media (max-width: 1020px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .gallery { grid-template-columns: repeat(2, 1fr); }
  .stats .container { grid-template-columns: repeat(2, 1fr); }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 64px; }
  .grid-2, .grid-3, .grid-4, .gallery, .photo-pair, .form .row { grid-template-columns: 1fr; }
  .cols-2, .cols-3 { columns: 1; }
  .stats .container { grid-template-columns: repeat(2, 1fr); }
  .site-footer .cols { grid-template-columns: 1fr; }
  .topbar .hide-sm { display: none; }
  .topbar .only-sm { display: inline; }
  .topbar .container { flex-wrap: nowrap; }
  .hero .container { padding: 3.5rem 0 4rem; }
  .logo img { width: 150px; }
  .nav { max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px); }
  .mobile-call { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 200; }
  .mobile-call a { flex: 1; text-align: center; padding: 1rem; font-family: var(--head); text-transform: uppercase; font-size: 1.1rem; text-decoration: none; color: #fff; background: #c62828; }
  .mobile-call a + a { background: var(--blue-dark); }
}
.panel .btn-primary { color: var(--navy); }
.card.card-dark { background: var(--navy); border: 0; }
.card.card-dark h3 { color: #fff; }
.card.card-dark p { color: #cdd8e4; }
.card.card-dark .more { color: var(--gold-light); }
.form-status.error { background: #fdecea; color: #a12a1f; border-color: #f2b8b2; }
.hp { position: absolute; left: -9999px; }
