:root {
  color-scheme: light;
  --ink: #101a27;
  --navy: #071522;
  --blue: #006eaa;
  --cyan: #08b9d7;
  --text: #263649;
  --muted: #5b6b7c;
  --line: #d8e1e9;
  --wash: #f2f6f9;
  --white: #fff;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: var(--sans);
  --mono: ui-monospace, "Cascadia Code", Consolas, monospace;
  --content: 1120px;
  --gutter: clamp(20px, 5vw, 40px);
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; min-width: 320px; color: var(--text); background: var(--white); font-size: 19px; line-height: 1.65; }
img { display: block; max-width: 100%; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: #04598f; }
button, input, textarea, select { font: inherit; }
button, a, input, textarea, select, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; box-shadow: 0 0 0 5px var(--white); }
[hidden] { display: none !important; }

.wrap { width: min(var(--content), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.skip-link { position: fixed; z-index: 20; top: 10px; left: 10px; transform: translateY(-160%); padding: 10px 15px; color: var(--navy); background: var(--white); border: 2px solid var(--cyan); font-weight: 700; }
.skip-link:focus { transform: translateY(0); }

/* Shared navigation */
.header { position: relative; z-index: 2; color: var(--white); background: var(--navy); border-bottom: 1px solid #ffffff1c; }
.nav { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 13px; color: var(--white); text-decoration: none; }
.brand:hover { color: var(--white); }
.brand-name { color: var(--white); font-size: 30px; font-weight: 850; line-height: 1; letter-spacing: -.075em; }
.brand-accent { color: var(--blue); }
.brand-lockup { display: grid; gap: 2px; padding-left: 13px; border-left: 1px solid #8ca1b2; color: #e4edf4; font-size: 14px; line-height: 1.35; }
.brand-lockup span:last-child { color: var(--blue); font-weight: 700; letter-spacing: .08em; }
.links { display: flex; align-items: center; gap: clamp(18px, 2.7vw, 34px); }
.links a { display: inline-flex; min-height: 44px; align-items: center; padding: 9px 0; color: #d9e4ec; font-size: 17px; font-weight: 600; text-decoration: none; border-bottom: 2px solid transparent; transition: color .16s ease, border-color .16s ease; }
.links a:hover, .links a[aria-current="page"] { color: var(--white); border-color: var(--cyan); }
.links a[hidden] { display: none; }

/* Homepage */
.hero { color: var(--white); background: var(--navy); border-bottom: 3px solid var(--blue); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .82fr); align-items: center; gap: clamp(32px, 6vw, 72px); min-height: 450px; padding-block: clamp(52px, 8vw, 88px); }
.eyebrow { margin: 0 0 13px; color: var(--blue); font-size: 14px; font-weight: 750; letter-spacing: .14em; line-height: 1.4; text-transform: uppercase; }
.hero .eyebrow, .location-hero .eyebrow, .shop-hero .eyebrow { color: #62d6ed; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--ink); font-family: var(--display); }
h1 { margin-bottom: 20px; font-size: clamp(43px, calc(5vw + 3px), 65px); font-weight: 760; line-height: 1.04; letter-spacing: -.055em; }
.hero h1, .location-hero h1, .shop-hero h1 { max-width: 670px; color: var(--white); }
.hero-copy { max-width: 61ch; margin-bottom: 0; color: #d5e0e8; font-size: clamp(20px, calc(1.65vw + 3px), 22px); line-height: 1.7; }
.hero-enquire { margin-top: 24px; }
.hero-repair-visual { width: 100%; max-width: 440px; max-height: 300px; justify-self: end; object-fit: contain; }
section:not(.hero):not(.location-hero):not(.shop-hero):not(.about-page-hero) { padding-block: clamp(58px, 7.5vw, 86px); }
#services { background: var(--white); }
#areas, .shop-categories { background: var(--wash); }
#areas .section-heading { grid-template-columns: 1fr; }
#services .section-heading { grid-template-columns: 1fr; }
#pricing { background: #eaf2f7; }
#about { background: var(--white); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .74fr); align-items: end; gap: 36px; margin-bottom: 34px; }
.section-heading h2, .about-grid h2, .about-story h2, .contact-next h2, .location-detail-grid h2, .billing-layout h2, .shop-categories h2 { margin: 0; font-size: clamp(32px, calc(3.4vw + 3px), 45px); line-height: 1.12; letter-spacing: -.045em; }
.section-heading > p { max-width: 54ch; margin: 0 0 2px; color: var(--muted); }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.service-card { min-width: 0; padding: 23px 23px 21px; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--blue); }
.service-kicker { display: block; margin-bottom: 11px; color: var(--blue); font-size: 13px; font-weight: 750; letter-spacing: .12em; line-height: 1.45; text-transform: uppercase; }
.service-card h3 { margin-bottom: 9px; font-size: 22px; line-height: 1.25; letter-spacing: -.02em; }
.service-card p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.65; }
.area-name-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; max-width: 930px; margin: 0; padding: 0; list-style: none; }
.area-name-grid li { display: flex; align-items: center; min-height: 58px; padding: 12px 3px; color: var(--ink); border-bottom: 1px solid var(--line); font-size: 20px; font-weight: 650; }
.area-name-grid li::before { content: ""; width: 7px; height: 7px; flex: 0 0 auto; margin-right: 13px; border-radius: 50%; background: var(--blue); }
.price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.price-card { padding: clamp(23px, 3.2vw, 34px); background: var(--white); border: 1px solid #cdd9e2; }
.price-tag { margin-bottom: 10px; color: var(--blue); font-size: 13px; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
.price-card h3 { margin-bottom: 3px; font-size: 24px; letter-spacing: -.025em; }
.price { margin-bottom: 11px; color: var(--ink); font-size: 34px; font-weight: 760; line-height: 1.25; letter-spacing: -.045em; }
.price small { color: var(--muted); font-size: 17px; font-weight: 500; letter-spacing: 0; }
.price-card > p { margin-bottom: 16px; color: var(--muted); font-size: 17px; }
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; align-items: stretch; gap: clamp(30px, 6vw, 72px); }
.about-card { display: flex; align-items: end; min-height: 250px; padding: clamp(24px, 4vw, 40px); color: var(--white); background: var(--navy); border-left: 4px solid var(--cyan); }
.about-quote { max-width: 12ch; color: var(--white); font-size: clamp(33px, calc(3.5vw + 3px), 46px); font-weight: 720; line-height: 1.12; letter-spacing: -.05em; }
.about-quote span { color: #62d6ed; }
.about-grid h2 { max-width: 17ch; margin-bottom: 16px; }
.about-grid p { max-width: 64ch; color: var(--muted); }

/* About page */
.about-page-hero { padding-block: clamp(54px, 8vw, 84px); color: var(--white); background: var(--navy); border-bottom: 3px solid var(--blue); }
.about-page-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(250px, .7fr); align-items: center; gap: clamp(38px, 8vw, 100px); }
.about-page-hero h1 { max-width: 14ch; margin-bottom: 18px; color: var(--white); }
.about-page-hero p { max-width: 65ch; margin: 0; color: #d5e0e8; font-size: 20px; }
.about-facts { margin: 0; padding: 0; list-style: none; border-top: 1px solid #ffffff3a; }
.about-facts li { padding: 14px 0; color: #e0e9ef; border-bottom: 1px solid #ffffff3a; }
.about-facts strong { display: block; color: #70d8eb; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; }
.about-story { background: var(--white); }
.about-story-grid { display: grid; grid-template-columns: minmax(210px, .7fr) minmax(0, 1.3fr); gap: clamp(35px, 7vw, 82px); }
.about-story-grid > div:first-child { align-self: start; }
.about-story h2 { max-width: 14ch; }
.about-story-grid > div > p { color: var(--muted); }
.about-principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; margin-top: 27px; }
.about-principle { padding: 19px 18px; border: 1px solid var(--line); border-top: 3px solid var(--blue); }
.about-principle > span { color: var(--blue); font-size: 13px; font-weight: 750; letter-spacing: .1em; }
.about-principle h3 { margin: 10px 0 7px; font-size: 20px; }
.about-principle p { margin: 0; color: var(--muted); font-size: 16px; }

/* Contact page */
.location-hero { padding-block: clamp(54px, 8vw, 82px); color: var(--white); background: var(--navy); border-bottom: 3px solid var(--blue); }
.contact-page-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .78fr); align-items: center; gap: clamp(38px, 7vw, 84px); }
.location-hero h1 { max-width: 14ch; margin-bottom: 17px; color: var(--white); }
.location-lead { max-width: 58ch; margin: 0; color: #d5e0e8; font-size: 20px; }
.contact-methods { display: grid; grid-template-columns: 1fr; gap: 12px; }
.contact-method { min-width: 0; padding: 20px; color: var(--ink); background: var(--white); border-top: 3px solid var(--cyan); }
.contact-person-name { margin: 0 0 10px; color: var(--ink); font-size: 22px; line-height: 1.2; }
.contact-method-links { display: flex; align-items: center; flex-wrap: wrap; gap: 3px 16px; }
.coverage-label { display: block; margin-bottom: 9px; color: var(--blue); font-size: 13px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.contact-method a { display: inline-flex; max-width: 100%; min-height: 44px; align-items: center; color: var(--ink); font-size: clamp(18px, calc(1.6vw + 3px), 22px); font-weight: 700; text-decoration: none; white-space: nowrap; letter-spacing: -.03em; }
.contact-method a:hover { color: var(--blue); text-decoration: underline; }
.contact-next { background: var(--wash); }
.contact-next-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(340px, 1.2fr); align-items: start; gap: clamp(35px, 7vw, 85px); }
.contact-next h2 { max-width: 15ch; margin-bottom: 15px; }
.contact-next-grid > div > p { max-width: 54ch; color: var(--muted); }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: clamp(22px, 4vw, 35px); background: var(--white); border: 1px solid var(--line); }
.field { min-width: 0; display: grid; gap: 6px; }
.contact-form > .field:nth-of-type(6) { grid-column: 1 / -1; }
.field label { color: #344a5e; font-size: 15px; font-weight: 700; }
.field input, .field textarea, .field select { width: 100%; min-height: 48px; padding: 10px 12px; color: var(--ink); background: #fcfdfe; border: 1px solid #c7d3de; border-radius: 2px; }
.field textarea { min-height: 115px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #748596; }
.contact-form .button { justify-self: start; min-height: 48px; grid-column: 1 / -1; }
.contact-form .button:disabled { cursor: wait; opacity: .7; }
.form-note { grid-column: 1 / -1; margin: -7px 0 0; color: var(--muted); font-size: 15px; }
.contact-honeypot { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Service area directory and local pages */
.area-directory { min-height: 55vh; padding-block: clamp(55px, 8vw, 86px) !important; background: var(--wash); }
.area-directory .section-heading { display: block; margin-bottom: 30px; }
.area-directory .section-heading h1 { margin: 0; font-size: clamp(39px, calc(5vw + 3px), 57px); }
.area-directory .area-name-grid { max-width: none; }
.area-name-grid a { display: flex; align-items: center; width: 100%; min-height: 58px; color: var(--ink); text-decoration: none; }
.area-name-grid a:hover { color: var(--blue); }
.location-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .7fr); align-items: center; gap: clamp(36px, 7vw, 80px); }
.location-layout > div:first-child { max-width: 680px; }
.location-layout h1 { max-width: 18ch; }
.coverage-card { padding: clamp(23px, 3.5vw, 34px); color: var(--text); background: var(--white); border-top: 4px solid var(--cyan); }
.coverage-card h2 { margin: 0 0 8px; font-size: 29px; }
.coverage-card > p { margin-bottom: 13px; color: var(--muted); font-size: 17px; }
.location-details { background: var(--white); }
.location-detail-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(35px, 7vw, 80px); }
.location-detail-grid > div:first-child p { color: var(--muted); }
.location-services { border-top: 1px solid var(--line); }
.location-services article { display: grid; grid-template-columns: 32px 1fr; column-gap: 13px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.location-services article > span { grid-row: span 2; color: var(--blue); font: 700 14px/1.6 var(--mono); }
.location-services h3 { margin: 0 0 4px; font-size: 20px; }
.location-services p { margin: 0; color: var(--muted); font-size: 17px; }
.location-billing { color: var(--white); background: var(--navy); }
.billing-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(35px, 7vw, 80px); }
.location-billing h2 { color: var(--white); }
.location-billing p { max-width: 70ch; margin-bottom: 11px; color: #d2dee7; }
/* Hidden shop page */
.shop-hero { padding-block: 64px; color: var(--white); background: var(--navy); border-bottom: 3px solid var(--blue); }
.shop-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .75fr); align-items: center; gap: 55px; }
.shop-hero h1 em { color: #62d6ed; font-style: normal; }
.shop-hero p { max-width: 60ch; color: #d5e0e8; }
.shop-hero img { width: 100%; max-width: 380px; justify-self: end; object-fit: contain; }

/* Shared actions and footer */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 11px 18px; color: var(--white); background: var(--blue); border: 1px solid var(--blue); border-radius: 2px; font-size: 17px; font-weight: 700; text-decoration: none; cursor: pointer; transition: background-color .16s ease, border-color .16s ease; }
.button:hover { color: var(--white); background: #0566a4; border-color: #0566a4; }
.arrow { font-size: 20px; line-height: 1; }
.footer { color: #d0dce5; background: var(--navy); border-top: 3px solid var(--blue); }
.footer-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px 28px; min-height: 84px; padding-block: 16px; font-size: 15px; }
.footer-contacts { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-contacts a, .footer-back { display: inline-flex; min-height: 44px; align-items: center; }
.footer a { color: #d9e9f2; text-decoration: none; }
.footer a:hover { color: #7ee4f5; text-decoration: underline; }
.footer-back { font-weight: 700; }

@media (max-width: 850px) {
  .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(230px, .8fr); gap: 34px; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-principles { grid-template-columns: 1fr; }
  .area-name-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 780px) {
  .contact-form { grid-template-columns: 1fr; }
  .contact-form > .field:nth-of-type(6), .contact-form .button, .form-note { grid-column: auto; }
}

@media (max-width: 680px) {
  .nav { min-height: 0; align-items: flex-start; flex-direction: column; gap: 9px; padding-block: 16px 12px; }
  .links { width: 100%; flex-wrap: wrap; gap: 5px clamp(18px, 6vw, 28px); }
  .links a { padding-block: 7px; font-size: 16px; }
  .hero-grid, .about-page-grid, .contact-page-layout, .location-layout, .location-detail-grid, .billing-layout, .about-grid, .about-story-grid, .contact-next-grid, .shop-hero-grid { grid-template-columns: 1fr; }
  .hero-grid { min-height: auto; padding-block: 53px 43px; }
  .hero-repair-visual { justify-self: start; max-width: 340px; max-height: 235px; }
  .section-heading { grid-template-columns: 1fr; gap: 13px; }
  .section-heading > p { max-width: 65ch; }
  .contact-methods { max-width: 560px; }
  .contact-next-grid { gap: 28px; }
  .about-card { min-height: 190px; }
  .about-facts { max-width: 520px; }
  .location-layout { gap: 28px; }
  .coverage-card { max-width: 540px; }
  .location-detail-grid, .billing-layout, .about-story-grid { gap: 24px; }
  .shop-hero-grid { gap: 24px; }
  .shop-hero img { justify-self: start; max-width: 320px; }
}

@media (max-width: 480px) {
  section:not(.hero):not(.location-hero):not(.shop-hero):not(.about-page-hero) { padding-block: 48px; }
  .about-page-hero, .location-hero { padding-block: 48px; }
  .hero-grid { padding-block: 45px 36px; }
  .service-card { padding: 19px 19px 17px; }
  .price-card { padding: 20px; }
  .about-principles { gap: 10px; margin-top: 20px; }
  .about-principle { padding: 16px; }
  .services-grid, .price-grid, .area-name-grid, .contact-methods, .contact-form { grid-template-columns: 1fr; }
  .contact-method { padding-inline: 16px; }
  .contact-form { gap: 13px; padding: 20px; }
  .contact-form > .field:nth-of-type(6) { grid-column: auto; }
  .contact-form .button, .form-note { grid-column: auto; }
  .contact-form .button { justify-self: stretch; }
  .footer-row { align-items: flex-start; flex-direction: column; justify-content: center; }
  .footer-contacts { flex-direction: column; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
