/* Junk Dogs - brand: deep navy base, safety orange CTAs, warm off-white background */
:root {
  --navy: #14233f;
  --navy-2: #1e3159;
  --orange: #f28a1e;
  --orange-dk: #d9740b;
  --cream: #fbf6ec;
  --sand: #f1e8d6;
  --slot: #d8cfbd;
  --ink: #1b1f27;
  --muted: #4a5160;
  --line: #e2d8c4;
  --radius: 12px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  overflow-wrap: break-word;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; color: var(--navy); letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.small { font-size: .9rem; color: var(--muted); }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--orange); color: var(--navy); padding: 8px 14px; z-index: 100; font-weight: 700; }
.skip:focus { left: 8px; top: 8px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 12px 22px; border-radius: 999px;
  font-weight: 700; font-size: 1.05rem; text-decoration: none; text-align: center;
  border: 2px solid transparent; transition: background .15s, transform .15s;
}
.btn-main { background: var(--orange); color: var(--navy); }
.btn-main:hover { background: #ff9a33; transform: translateY(-1px); }
.btn-ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-ghost-light { border-color: #fff; color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--navy); }
.btn-big { font-size: 1.15rem; padding: 16px 28px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.2em 0; }
.cta-center { justify-content: center; }

/* Header */
.top { background: var(--navy); color: #fff; position: sticky; top: 0; z-index: 50; }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; font-size: 1.25rem; }
.mark {
  display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 9px;
  background: var(--orange); color: var(--navy); font-weight: 900; font-size: .95rem; letter-spacing: -.02em;
}
.mark-sm { width: 30px; height: 30px; font-size: .8rem; border-radius: 7px; }
.nav { display: none; gap: 22px; }
.nav a { color: #fff; text-decoration: none; font-size: .98rem; }
.nav a:hover { text-decoration: underline; }
.top-call { color: var(--orange); font-weight: 700; text-decoration: none; font-size: .95rem; white-space: nowrap; }
.top-call:hover { text-decoration: underline; }

/* Photo slots: real photos drop into /images. If a file is missing, the neutral colour shows. */
.photo {
  background-color: var(--slot);
  background-image: var(--img);
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
}

/* Hero */
.hero { background: var(--navy); color: #fff; padding: 40px 0 48px; }
.hero h1 { color: #fff; }
.hero .lead { font-size: 1.15rem; color: #e6eaf2; max-width: 34em; }
.hero .small { color: #c9d1e0; }
.hero .btn-ghost { border-color: #fff; color: #fff; }
.hero .btn-ghost:hover { background: #fff; color: var(--navy); }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; font-weight: 700; color: var(--orange); margin-bottom: .6em; }
.hero-grid { display: grid; gap: 28px; }
.photo-hero { min-height: 240px; aspect-ratio: 4 / 3; }

/* Trust strip */
.trust { background: var(--sand); border-bottom: 1px solid var(--line); }
.trust-list { list-style: none; margin: 0 auto; padding-top: 22px; padding-bottom: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.trust-list li { display: flex; flex-direction: column; font-size: .95rem; line-height: 1.4; }
.trust-list strong { color: var(--navy); font-size: 1rem; }
.trust-list span { color: var(--muted); }

/* Sections */
.section { padding: 56px 0; }
.section-alt { background: #fff; }
.section-lead { color: var(--muted); font-size: 1.08rem; max-width: 40em; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 18px; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: relative; }
.num {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy); color: var(--orange); font-weight: 800; margin-bottom: 10px;
}
.steps p { margin: 0; color: var(--muted); }

/* Services */
.services { display: grid; gap: 18px; margin-top: 24px; }
.card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.card-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.card-body p { color: var(--muted); }
.photo-card { border-radius: 0; aspect-ratio: 3 / 2; min-height: 180px; }
.text-link { margin-top: auto; font-weight: 700; color: var(--navy); text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 3px; text-underline-offset: 4px; }

/* Partners */
.partners { background: var(--navy-2); color: #fff; }
.partners h2 { color: #fff; }
.partners p { color: #e6eaf2; }
.partners-grid { display: grid; gap: 28px; align-items: center; }
.photo-partners { aspect-ratio: 4 / 3; min-height: 220px; background-color: #3a4a6b; }
.ticks { list-style: none; padding: 0; margin: 18px 0; }
.ticks li { padding-left: 32px; position: relative; margin-bottom: 10px; color: #e6eaf2; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: .45em; width: 14px; height: 8px; border-left: 3px solid var(--orange); border-bottom: 3px solid var(--orange); transform: rotate(-45deg); }
.ticks strong { color: #fff; }

/* Quote */
.quote { background: var(--sand); }
.quote-box { max-width: 860px; text-align: center; }
.quote .section-lead { margin-left: auto; margin-right: auto; }
.chips { border: 0; padding: 0; margin: 22px 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chip {
  font: inherit; font-size: .98rem; font-weight: 600; cursor: pointer;
  min-height: 46px; padding: 10px 16px; border-radius: 999px;
  border: 2px solid var(--navy); background: #fff; color: var(--navy);
}
.chip:hover { background: #eef1f7; }
.chip[aria-pressed="true"] { background: var(--navy); color: #fff; }
.chip[aria-pressed="true"]::before { content: "\2713  "; color: var(--orange); }
.preview { background: #fff; border: 1px dashed #b9ad94; border-radius: var(--radius); padding: 14px 18px; text-align: left; max-width: 620px; margin: 0 auto; }
.preview-label { display: block; font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.preview p { margin: 4px 0 0; font-size: 1rem; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 4px 0; }
details:first-of-type { border-top: 1px solid var(--line); margin-top: 20px; }
summary {
  cursor: pointer; list-style: none; font-weight: 700; color: var(--navy);
  padding: 16px 40px 16px 0; position: relative; font-size: 1.08rem;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font-size: 1.6rem; line-height: 1; color: var(--orange-dk); font-weight: 800; }
details[open] summary::after { content: "\2212"; }
details p { color: var(--muted); }

/* Footer */
.foot { background: var(--navy); color: #e6eaf2; padding: 40px 0 110px; font-size: .98rem; }
.foot a { color: #fff; }
.foot .small { color: #c9d1e0; }
.foot-grid { display: grid; gap: 18px; }
.foot-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: #fff; font-size: 1.15rem; margin-bottom: .4em; }

/* Mobile sticky bar */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: 2fr 1fr; gap: 10px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(20, 35, 63, .97); box-shadow: 0 -4px 16px rgba(0,0,0,.18);
}
.mobile-bar .btn { min-height: 50px; }
.btn-call { background: #fff; color: var(--navy); }

/* Privacy page */
.doc { padding: 48px 0 64px; }
.doc h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); }
.doc h2 { font-size: 1.35rem; margin-top: 1.6em; }
.doc ul { padding-left: 1.2em; }
.foot-plain { padding-bottom: 40px; }

/* Wider screens */
@media (min-width: 640px) {
  .trust-list { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .services { grid-template-columns: repeat(2, 1fr); }
  .card-feature { grid-column: 1 / -1; }
  .foot-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  .nav { display: flex; }
  .hero { padding: 64px 0 72px; }
  .hero-grid { grid-template-columns: 1.1fr 1fr; align-items: center; gap: 48px; }
  .services { grid-template-columns: repeat(3, 1fr); }
  .card-feature { grid-column: 1 / -1; flex-direction: row; }
  .card-feature .photo-card { flex: 0 0 46%; aspect-ratio: auto; min-height: 280px; }
  .partners-grid { grid-template-columns: 1.1fr 1fr; gap: 48px; }
  .mobile-bar { display: none; }
  .foot { padding-bottom: 40px; }
}
@media (max-width: 420px) {
  .top-call { font-size: 0; }
  .top-call::after { content: "705-761-0266"; font-size: .95rem; }
  .cta-row .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* 5 small service cards: 3 + 2 on desktop, no empty slot */
@media (min-width: 900px) {
  .services { grid-template-columns: repeat(6, 1fr); }
  .services .card { grid-column: span 2; }
  .services .card:nth-child(5), .services .card:nth-child(6) { grid-column: span 3; }
  .services .card-feature { grid-column: 1 / -1; }
}
section[id] { scroll-margin-top: 72px; }
