/* ===========================================================
   Durham Region Moving Co. — Design tokens
   =========================================================== */
:root {
  --ink-navy: #12233F;
  --ink-navy-soft: #1B345C;
  --signal-orange: #E8590C;
  --signal-orange-dark: #C4480A;
  --kraft-tan: #D9C9AD;
  --kraft-tan-light: #EFE7D6;
  --paper: #FAF7F2;
  --route-blue: #2F6FED;
  --slate: #5B6472;
  --line: #DCD3BF;
  --white: #FFFFFF;

  --font-display: 'Archivo Black', 'Arial Narrow', sans-serif;
  --font-body: 'Source Sans 3', 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', 'Courier New', monospace;

  --radius: 3px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-navy);
  background: var(--paper);
  line-height: 1.55;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: var(--route-blue); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--route-blue); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; margin: 0 0 .5em; letter-spacing: .01em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12.5px;
  color: var(--signal-orange-dark);
  font-weight: 600;
  display: inline-block;
  margin-bottom: 10px;
}

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--ink-navy);
  color: var(--kraft-tan-light);
  font-family: var(--font-mono);
  font-size: 13px;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; padding: 8px 24px; flex-wrap: wrap; gap: 6px; }
.topbar a { color: var(--kraft-tan-light); }
.topbar strong { color: var(--white); }

/* ---------- Header / nav ---------- */
header.site-header { background: var(--paper); border-bottom: 3px solid var(--ink-navy); position: sticky; top: 0; z-index: 50; }
.header-row { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; gap: 20px; }
.logo { font-family: var(--font-display); font-size: 22px; color: var(--ink-navy); line-height: 1.05; }
.logo span { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; color: var(--slate); font-weight: 400; text-transform: uppercase; margin-top: 3px; }

nav.main-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
nav.main-nav a {
  color: var(--ink-navy);
  font-weight: 600;
  padding: 10px 14px;
  border-radius: var(--radius);
  display: block;
}
nav.main-nav a:hover, nav.main-nav a[aria-current="page"] { background: var(--kraft-tan-light); text-decoration: none; }

.header-cta { display: flex; align-items: center; gap: 14px; }
.phone-pill {
  background: var(--signal-orange);
  color: var(--white);
  font-family: var(--font-mono);
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 999px;
  white-space: nowrap;
}
.phone-pill:hover { background: var(--signal-orange-dark); color: var(--white); text-decoration: none; }

.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { background: var(--ink-navy); color: var(--white); padding: 64px 0 56px; position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(32px, 4.4vw, 52px); color: var(--white); }
.hero h1 em { font-style: normal; color: var(--signal-orange); }
.hero p.lead { font-size: 19px; color: var(--kraft-tan-light); max-width: 46ch; }
.hero-ctas { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; padding: 14px 24px; border-radius: var(--radius);
  border: 2px solid transparent; font-size: 16px; cursor: pointer;
}
.btn-primary { background: var(--signal-orange); color: var(--white); }
.btn-primary:hover { background: var(--signal-orange-dark); text-decoration: none; color: var(--white); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { border-color: var(--white); text-decoration: none; }

/* Route map motif */
.route-map { position: relative; }
.route-svg { width: 100%; height: auto; }
.route-svg .route-line { fill: none; stroke: var(--signal-orange); stroke-width: 2.5; stroke-dasharray: 5 6; }
.route-svg .route-dot { fill: var(--white); stroke: var(--ink-navy); stroke-width: 2; }
.route-svg text { font-family: var(--font-mono); font-size: 11px; fill: var(--kraft-tan-light); }

.trust-strip { background: var(--ink-navy-soft); border-top: 1px solid rgba(255,255,255,.12); }
.trust-strip .wrap { display: flex; gap: 32px; padding: 16px 24px; flex-wrap: wrap; justify-content: space-between; }
.trust-strip .item { font-family: var(--font-mono); font-size: 13px; color: var(--kraft-tan-light); display: flex; align-items: center; gap: 8px; }
.trust-strip .item strong { color: var(--white); font-size: 15px; }

/* ---------- Section basics ---------- */
section { padding: 64px 0; }
section.tight { padding: 44px 0; }
.section-head { max-width: 62ch; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(26px, 3vw, 36px); }
.section-head p { color: var(--slate); font-size: 18px; }
.bg-tan { background: var(--kraft-tan-light); }
.bg-navy { background: var(--ink-navy); color: var(--white); }
.bg-navy h2, .bg-navy h3 { color: var(--white); }
.bg-navy p { color: var(--kraft-tan-light); }

/* ---------- Services cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; position: relative; border-top: 4px solid var(--signal-orange);
}
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--slate); font-size: 15.5px; margin-bottom: 14px; }
.card .icon { width: 44px; height: 44px; margin-bottom: 16px; color: var(--ink-navy); }
.card a.card-link { font-family: var(--font-mono); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }

/* ---------- Pricing / manifest table ---------- */
.manifest {
  background: var(--white); border: 1px solid var(--ink-navy); border-radius: var(--radius);
  overflow: hidden;
}
.manifest-head { background: var(--ink-navy); color: var(--white); padding: 14px 20px; font-family: var(--font-mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; display: flex; justify-content: space-between; }
table.rates { width: 100%; border-collapse: collapse; font-family: var(--font-mono); font-size: 15px; }
table.rates th { text-align: left; padding: 12px 20px; background: var(--kraft-tan-light); border-bottom: 2px solid var(--ink-navy); font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; }
table.rates td { padding: 11px 20px; border-bottom: 1px solid var(--line); }
table.rates tr:nth-child(even) td { background: #FCFAF5; }
table.rates td.price { font-weight: 700; color: var(--ink-navy); text-align: right; }

/* ---------- CTA banner ---------- */
.cta-banner { background: var(--signal-orange); color: var(--white); text-align: center; padding: 52px 24px; }
.cta-banner h2 { color: var(--white); font-size: clamp(24px, 3vw, 34px); }
.cta-banner .btn-ghost { border-color: rgba(255,255,255,.7); color: var(--white); }
.cta-banner .btn-ghost:hover { background: rgba(255,255,255,.12); }

/* ---------- FAQ accordion ---------- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer; padding: 18px 4px; font-weight: 700; font-size: 17px;
  display: flex; justify-content: space-between; align-items: center; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-family: var(--font-display); font-size: 20px; color: var(--signal-orange); }
.faq-item[open] summary::after { content: '\2212'; }
.faq-item p { padding: 0 4px 18px; color: var(--slate); }

.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { padding: 12px 0 12px 34px; border-bottom: 1px solid var(--line); position: relative; }
.checklist li::before {
  content: ''; position: absolute; left: 0; top: 14px; width: 18px; height: 18px;
  border: 2px solid var(--signal-orange); border-radius: 3px;
}
.checklist strong { display: block; margin-bottom: 2px; }
.checklist span { color: var(--slate); font-size: 15px; }

/* ---------- Photo placeholder ---------- */
.photo-slot {
  background: repeating-linear-gradient(45deg, var(--kraft-tan-light), var(--kraft-tan-light) 10px, var(--paper) 10px, var(--paper) 20px);
  border: 2px dashed var(--slate);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--slate); font-family: var(--font-mono); font-size: 13px; text-align: center;
  padding: 20px; min-height: 220px;
}

/* ---------- Two column layout ---------- */
.two-col { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: start; }

.info-block { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.info-block h3 { font-size: 18px; }
.info-block .row { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.info-block .row:first-of-type { border-top: none; }
.info-block .row .label { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; color: var(--slate); width: 90px; flex-shrink: 0; padding-top: 2px; }

.links-list { list-style: none; margin: 0; padding: 0; }
.links-list li { padding: 9px 0; border-bottom: 1px solid var(--line); }
.links-list li:last-child { border-bottom: none; }

/* ---------- Footer ---------- */
footer.site-footer { background: var(--ink-navy); color: var(--kraft-tan-light); padding: 48px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-grid h4 { color: var(--white); font-family: var(--font-mono); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: var(--kraft-tan-light); }
.footer-grid a:hover { color: var(--white); }
.footer-route { border-top: 1px solid rgba(255,255,255,.15); padding: 22px 0; }
.footer-route .route-svg text { fill: rgba(255,255,255,.55); }
.footer-route .route-svg .route-dot { fill: var(--ink-navy); stroke: var(--kraft-tan); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); padding: 18px 24px; font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer-bottom a { color: var(--kraft-tan-light); }

/* ---------- Quote form ---------- */
.quote-form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.quote-form .field { margin-bottom: 20px; }
.quote-form label { display: block; font-weight: 700; font-size: 14.5px; margin-bottom: 6px; }
.quote-form label .req { color: var(--signal-orange-dark); font-weight: 400; }
.quote-form input[type="text"],
.quote-form input[type="tel"],
.quote-form input[type="email"],
.quote-form textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius);
  font-family: var(--font-body); font-size: 16px; background: var(--paper); color: var(--ink-navy);
}
.quote-form input:focus, .quote-form textarea:focus { outline: none; border-color: var(--route-blue); background: var(--white); }
.quote-form textarea { resize: vertical; min-height: 110px; }
.radio-group { display: flex; gap: 24px; flex-wrap: wrap; padding-top: 4px; }
.radio-group label { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; margin: 0; }
.radio-group input { width: 18px; height: 18px; accent-color: var(--signal-orange); }
.two-field { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.quote-form .required-note { text-align: right; font-size: 13px; color: var(--slate); margin: -6px 0 18px; }
@media (max-width: 640px) { .two-field { grid-template-columns: 1fr; } }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  nav.main-nav { position: fixed; inset: 64px 0 0 0; background: var(--paper); padding: 20px 24px; transform: translateY(-120%); transition: transform .25s ease; overflow-y: auto; }
  nav.main-nav[data-open="true"] { transform: translateY(0); }
  nav.main-nav ul { flex-direction: column; gap: 2px; }
  nav.main-nav a { padding: 14px; font-size: 18px; border-bottom: 1px solid var(--line); }
  .nav-toggle {
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: var(--radius); border: 2px solid var(--ink-navy);
    background: transparent; cursor: pointer; flex-direction: column; gap: 4px;
  }
  .nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink-navy); }
  .header-cta .btn-text { display: none; }
  .trust-strip .wrap { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
