/* Edit these colours to update the brand throughout the site. */
:root {
  --ink: #29465e;
  --paper: #f5f3ef;
  --accent: #f5a12b;
  --accent-text: #27221b;
  --muted: #5c6871;
  --line: #d3dce2;
  --surface: #e8edf0;
  --field: #fcfbf8;
  --accent-label: #9a580d;
  --lime: var(--accent);
}
body,
header,
.hero,
.contact {
  background: var(--paper);
  color: var(--ink);
}
.hero h1,
.nav-call,
.hero .btn.light,
.contact-side a {
  color: var(--ink);
}
.review,
.trust,
.about,
footer {
  background: var(--surface);
}
header,
.nav-call,
.hero .btn.light,
.contact .phone {
  border-color: var(--line);
}
.hero .btn,
.contact .btn,
.mobile-call {
  background: var(--accent);
  color: var(--accent-text);
}
.hero .btn.light {
  background: transparent;
}
.dot {
  background: var(--accent);
}
.num,
.contact .eyebrow {
  color: var(--accent-label);
}
.photo-caption strong {
  color: var(--accent);
}
form input:not([type="file"]),
form textarea {
  background: var(--field);
  color: var(--ink);
  border-color: var(--line);
}
a:focus-visible,
button:focus-visible,
form input:focus,
form textarea:focus {
  outline-color: var(--accent-label);
}
@media (max-width: 760px) {
}

/* Blue supports the logo orange without replacing the soft page background. */
.hero .btn.light {
  border-color: var(--ink);
}
.nav-call {
  border-color: var(--ink);
}
.experience {
  color: var(--ink);
}
.mission-copy p {
  color: var(--muted);
}
.trust strong {
  color: var(--ink);
}

.menu-close {
  display: none;
}
@media (max-width: 760px) {
  body.menu-is-open {
    overflow: hidden;
  }
  header.nav-open nav {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    padding: 90px 8% max(45px, env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--paper);
    border: 0;
    box-shadow: none;
  }
  header.nav-open nav > a {
    font-size: clamp(28px, 8vw, 42px);
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.2;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
  }
  header.nav-open nav > .nav-call {
    font-size: 22px;
    letter-spacing: 0;
    color: var(--ink);
    background: var(--accent);
    padding: 18px;
    margin-top: 32px;
    border: 0;
    text-align: center;
  }
  header.nav-open .menu-close {
    display: block;
    position: absolute;
    top: max(24px, env(safe-area-inset-top));
    right: 8%;
    min-height: 48px;
    padding: 10px 16px;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-weight: 700;
    font-size: 16px;
  }
  body.menu-is-open .mobile-call {
    display: none;
  }
}
@media (max-width: 760px) and (max-height: 500px) {
  header.nav-open nav {
    justify-content: flex-start;
    padding-top: 80px;
  }
  header.nav-open nav > a {
    font-size: 26px;
    padding: 12px 0;
  }
  header.nav-open nav > .nav-call {
    margin-top: 18px;
  }
}

@media (max-width: 760px) {
  .trust {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .trust div {
    min-width: 0;
    padding: 20px 10px;
  }
  .trust strong {
    font-size: clamp(11px, 3.3vw, 14px);
    line-height: 1.4;
    letter-spacing: -0.15px;
  }
  .trust strong > span {
    display: block;
    white-space: nowrap;
  }
}

.attachment-label {
  margin-top: 26px;
}
.attachment-label .optional {
  font-weight: 400;
  color: var(--muted);
}
.contact .attachment-help {
  font-size: 14px;
  line-height: 1.5;
  max-width: 42ch;
  margin: 8px 0 16px;
}
form input[type="file"] {
  display: block;
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  background: var(--field);
  font-size: 13px;
  color: var(--ink);
}
form input[type="file"]::file-selector-button {
  padding: 14px 18px;
  margin-right: 12px;
  min-height: 48px;
  border: 0;
  border-radius: 0;
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
form input[type="file"]::file-selector-button:hover {
  filter: brightness(1.15);
}

.ui-icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  flex: none;
  vertical-align: middle;
}
.nav-call {
  display: inline-flex;
}
.nav-call,
.mobile-call {
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  max-width: 560px;
}
.actions .btn {
  width: 100%;
  min-height: 56px;
  padding: 15px 18px;
  border: 1px solid transparent;
  gap: 12px;
  line-height: 1.3;
  text-align: center;
}
.actions .btn.light {
  border-color: var(--ink);
}
.contact .email-link .ui-icon {
  width: 20px;
  height: 20px;
}
@media (max-width: 760px) {
  .actions {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 420px;
  }
  .actions .btn {
    min-height: 54px;
  }
  header .menu-toggle,
  header nav > .nav-call {
    min-height: 44px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
  }
  header:not(.nav-open) nav > .nav-call {
    display: flex;
    padding: 10px;
  }
  header .menu-toggle {
    margin-top: 0;
    margin-bottom: 0;
    padding: 10px 12px;
  }
  .mobile-call {
    display: flex;
    min-height: 52px;
  }
  .mobile-call .ui-icon {
    width: 16px;
    height: 16px;
  }
}

/* Contact contrast: blue-charcoal supports the client's orange/blue palette. */
:root {
  --contact-surface: #1c2d3b;
  --contact-ink: #f5f3ef;
  --contact-muted: #c2ced7;
  --contact-line: #526371;
}
.contact {
  background: var(--contact-surface);
  color: var(--contact-ink);
  border-color: var(--contact-surface);
}
.contact .contact-heading,
.contact .contact-side,
.contact .phone {
  border-color: var(--contact-line);
}
.contact .contact-side a {
  color: var(--contact-ink);
}
.contact p,
.contact .attachment-label .optional {
  color: var(--contact-muted);
}
.contact .eyebrow {
  color: var(--accent);
}
.contact input[type="file"]::file-selector-button {
  background: var(--accent);
  color: var(--accent-text);
}
.contact input[type="file"] {
  color: var(--ink);
}
.contact a:focus-visible,
.contact button:focus-visible,
.contact input:focus,
.contact textarea:focus {
  outline-color: var(--accent);
}

/* Small brand accents within the approved layout. */
.service h3 {
  color: var(--ink);
}
.service .num {
  display: inline-block;
  margin-top: 8px;
  padding-bottom: 6px;
  color: var(--accent-label);
  border-bottom: 3px solid var(--accent);
  font-weight: 700;
}
.experience {
  width: fit-content;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 5px solid var(--accent);
  font-weight: 800;
}
.experience span {
  color: var(--accent-label);
}
.contact {
  border-top: 5px solid var(--accent);
}

/* Client-confirmed services and coverage. */
.repair-details{margin-top:36px;padding-top:24px;border-top:1px solid var(--line)}
.repair-details>p{max-width:64ch;color:var(--muted)}
.repair-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 30px;padding:0;list-style:none}
.repair-list li{padding:12px 0 12px 16px;border-left:3px solid var(--accent);font-size:15px;font-weight:700}
.coverage{border-top:1px solid var(--line)}
.coverage-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:8%;margin-top:32px}
.coverage-grid p{max-width:58ch;color:var(--muted)}
.highway-panel{padding:24px 28px;background:var(--surface);border-top:3px solid var(--accent)}
.highway-panel h3{margin-top:0}
@media(max-width:760px){.repair-list{grid-template-columns:1fr;gap:0}.coverage-grid{grid-template-columns:1fr;gap:22px}.highway-panel{padding:22px}}

/* Coverage provides a light blue-grey break between the cream sections. */
.coverage {
  background: var(--surface);
}
.coverage .highway-panel {
  background: var(--paper);
}

.coverage .coverage-label { font-size: 15px; margin-top: 26px; letter-spacing: 0; }
.coverage-locations { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; list-style: none; padding: 0; margin: 14px 0 24px; }
.coverage-locations li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--ink); }
.coverage-routes { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 20px 0; }
.coverage-routes li { padding: 8px 12px; border: 1px solid var(--line); color: var(--ink); font-size: 14px; font-weight: 700; }
.highway-panel { align-self: start; }
@media (max-width: 380px) { .coverage-locations { gap: 0 14px; } .coverage-locations li { font-size: 14px; } }
