@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700;900&display=swap');
:root{color-scheme:light;--dark:#0b0f14;--red:#e10600;--red-text:#b40702;--paper:#f4f6f8;--steel:#9aa2ad;--ink:#152029;--muted:#4c5965;--line:#dce1e7;--radius:12px;font:16px/1.55 Lato,Arial,sans-serif;color:var(--ink);background:var(--paper)}
*{box-sizing:border-box}body{margin:0;min-height:100vh;display:flex;flex-direction:column}main{flex:1}img{max-width:100%;height:auto}a{color:var(--red-text);text-underline-offset:.22em}a:hover{text-decoration-thickness:2px}:focus-visible{outline:3px solid #087aad;outline-offset:4px}h1,h2,h3,p{margin:0 0 .65em}h1,h2,h3{line-height:1.08;letter-spacing:-.025em}h1{font-size:clamp(2.35rem,6vw,5rem);font-weight:900}h2{font-size:clamp(1.75rem,4vw,2.65rem);font-weight:900}h3{font-size:1.27rem;font-weight:900}p{max-width:65ch}small{color:var(--muted);font-size:.82rem}.shell{width:min(1130px,calc(100% - 48px));margin-inline:auto}.block{padding-block:clamp(38px,7vw,76px)}.narrow{width:min(620px,calc(100% - 48px));margin:42px auto 64px}.skip{position:absolute;left:12px;top:-200px;background:white;padding:.55rem;z-index:10}.skip:focus{top:12px}
header,footer{background:var(--dark);color:white}.nav,.footer{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:20px}.logo{display:block;width:207px}.nav nav,.footer nav{display:flex;align-items:center;gap:clamp(12px,2.5vw,28px);flex-wrap:wrap}.nav nav a,.footer nav a{color:white;font-weight:700;text-decoration:none}.nav nav a:hover,.footer nav a:hover{text-decoration:underline}.footer{padding-block:20px}
.button{display:inline-flex;justify-content:center;align-items:center;min-height:44px;padding:.6rem 1.05rem;border:1px solid transparent;border-radius:8px;background:#c80905;color:white;font:inherit;font-weight:900;text-decoration:none;cursor:pointer;text-align:center;line-height:1.2}.button:hover{background:#a90704;color:white}.button.outline{background:transparent;color:var(--ink);border-color:#66717c}.button.outline:hover{background:#e6eaee;color:var(--ink)}.hero .button.outline{color:white;border-color:var(--steel)}.hero .button.outline:hover{background:#26303a}.actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px}.eyebrow{font-size:.87rem;font-weight:900;letter-spacing:.12em;text-transform:uppercase;color:var(--red-text);margin-bottom:.8rem}
.hero,.intro{background:#10161d;color:white}.hero-grid{display:grid;grid-template-columns:1.06fr .94fr;gap:40px;align-items:center;padding-block:clamp(54px,10vw,118px)}.hero .eyebrow,.intro .eyebrow{color:#ff7d76}.hero h1{font-size:clamp(3.25rem,8vw,6.3rem);margin-bottom:21px;line-height:.93}.hero-p{font-size:1.2rem;max-width:38ch;color:#d9dfe5;margin-bottom:24px}.hero-art{min-height:300px;display:grid;align-content:center;justify-items:center;isolation:isolate;position:relative;overflow:hidden;background:#151d26;border:1px solid #2e3945;border-radius:var(--radius)}.hero-art .logo{width:78%;z-index:1}.hero-glow{position:absolute;inset:0;opacity:.55;background:radial-gradient(ellipse at 75% 15%,#354455,transparent 60%)}.plate{position:absolute;left:24px;bottom:20px;display:flex;align-items:center;gap:10px;color:#e3e6ea;letter-spacing:.1em;text-transform:uppercase;font-size:.82rem}.plate span,.service-mark{display:block;width:28px;height:4px;border-radius:4px;background:var(--red)}.intro .shell{padding-block:42px}.intro h1{font-size:clamp(2.5rem,6vw,4rem)}.intro p{color:#d9dfe5;margin-bottom:0}
.offer-strip{background:#e9edf1;border-bottom:1px solid var(--line)}.offer-strip .shell{padding-block:15px;display:flex;align-items:center;justify-content:space-between;gap:14px}.offer-strip span{display:block;color:var(--muted)}.cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.panel{padding:clamp(17px,3vw,30px);background:white;border:1px solid var(--line);border-radius:var(--radius);overflow-wrap:anywhere}.service{display:flex;flex-direction:column}.service-mark{margin-bottom:20px}.service p,.steps p,.coverage-callout p,.summary p{color:var(--muted)}.service-bottom{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;align-items:center;margin-top:auto;padding-top:14px;font-weight:900}.service-bottom span{color:var(--muted)}.section-heading,.coverage-callout{display:flex;justify-content:space-between;align-items:center;gap:18px}.section-heading{margin-bottom:14px}.how{background:#e9edf1;border-block:1px solid var(--line)}.steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:24px}.steps article{border-top:2px solid #aeb8c2;padding-top:16px}
.stack{display:grid;gap:16px;justify-items:start}.stack>*:not(.button){width:100%}.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.booking-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(225px,1fr);align-items:start;gap:20px}.summary{position:sticky;top:16px}.summary h2{font-size:1.6rem}fieldset{display:grid;gap:14px;border:0;border-bottom:1px solid var(--line);padding:0 0 20px;margin:0;min-width:0}legend{font-size:1.2rem;font-weight:900;margin-bottom:12px}label{display:grid;gap:6px;font-weight:700;font-size:.94rem}input,select,textarea{border:1px solid #7c8792;border-radius:8px;min-height:44px;width:100%;padding:.58rem .7rem;color:var(--ink);background:white;font:inherit;font-weight:400}select{appearance:none;padding-right:2rem;background:linear-gradient(45deg,transparent 50%,#364653 50%) calc(100% - 15px) 52%/6px 6px no-repeat,linear-gradient(135deg,#364653 50%,transparent 50%) calc(100% - 9px) 52%/6px 6px no-repeat,white}textarea{resize:vertical}.signed-in{margin:auto 0 0;overflow-wrap:anywhere}.check{display:flex;align-items:center;gap:.5rem}.check input{min-height:0;width:auto}.admin h2,.case+h2{margin-top:34px}.case{margin-bottom:14px}.case .actions,.admin .panel>.actions{margin-top:12px}.case summary{cursor:pointer;margin-bottom:10px}.case summary small{float:right}.status{padding:.25rem .65rem;border-radius:8px;background:#e8edf3;font-weight:700}.case dl{display:flex;flex-wrap:wrap;gap:18px}.case dt{color:var(--muted)}.case dd{margin:0;font-weight:700}pre{font:inherit;white-space:pre-wrap}
dialog{border:1px solid var(--line);border-radius:var(--radius);width:min(460px,calc(100% - 30px));max-height:calc(100% - 30px);padding:28px;color:var(--ink);background:white}dialog::backdrop{background:#0b0f14be}.close{position:absolute;right:12px;top:10px;background:white;border:1px solid var(--line);border-radius:8px;width:42px;height:42px;cursor:pointer;font:inherit;font-size:1.55rem;line-height:1}.offer-values{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:14px}.offer-values div{padding:8px 12px;background:var(--paper);border-radius:8px;display:grid;flex:1 1 145px}.offer-values strong{color:var(--red-text);font-size:1.3rem}.code{padding:10px;background:var(--paper);font:700 1.2rem ui-monospace,monospace;letter-spacing:.04em}
@media(max-width:780px){.nav{align-items:flex-start;flex-wrap:wrap;padding-block:12px}.nav nav{padding-bottom:4px}.hero-grid{grid-template-columns:1fr;gap:25px}.hero-art{min-height:180px}.hero-art .logo{width:min(70%,350px)}.steps{grid-template-columns:1fr;gap:16px}.booking-grid{grid-template-columns:1fr}.summary{position:static}.coverage-callout{align-items:flex-start;flex-direction:column}}
@media(max-width:480px){.shell,.narrow{width:calc(100% - 30px)}.nav nav{gap:9px 14px}.nav nav a{font-size:.9rem}.cards,.fields{grid-template-columns:1fr}.footer{align-items:flex-start;flex-direction:column}.section-heading{align-items:flex-start}.logo{width:176px}.offer-strip .shell{align-items:flex-start}.offer-strip .button{flex:0 0 auto}}
@media print{header,footer,.skip{display:none}.panel{border:0}}

[hidden] { display: none !important; }
html { scroll-padding-top: 94px; }
.skip { position: fixed; }
.mobile-menu-button { display: none; }
header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: linear-gradient(90deg, #0b1520, #15283d 52%, #223e5d);
  border-bottom: 0;
}
@media (min-width: 1000px) {
  #site-navigation a[href="/portal"] { margin-inline-start: clamp(18px, 4.5vw, 88px); }
}
.hero-photo {
  background-color: #11181f;
  background-image: linear-gradient(90deg, #0b0f14f5, #0b0f14ce 36%, #0b0f1433 75%), url('/assets/hero.webp?v=driveway');
  background-position: center, center 48%;
  background-size: cover;
}
.hero-photo .hero-grid { grid-template-columns: minmax(0, 640px); min-height: 520px; }
.hero .hero-location-label { margin-bottom: 8px; }
.hero-location-name { margin: 0 0 18px; font-size: clamp(1.9rem, 4.7vw, 3rem); line-height: 1; font-weight: 900; letter-spacing: -.03em; }
.home-location-finder { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 16px 32px; border-top: 3px solid var(--red); }
.home-location-finder h2 { margin-bottom: .35em; }
.home-location-finder h3 { font-size: 1.05rem; }
.home-location-finder p { color: var(--muted); }
.home-area-links { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.home-area-links a { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 5px 12px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 700; }
.home-area-links a:hover { border-color: var(--red-text); color: var(--red-text); }
@media (max-width: 680px) {
  .home-location-finder { grid-template-columns: minmax(0, 1fr); }
}
.hero-book { max-width: 410px; }
.hero-book label { margin-bottom: 6px; color: #fff; }
.hero-book-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.registration-plate {
  display: flex;
  align-items: stretch;
  min-width: 0;
  min-height: 54px;
  border: 3px solid #101112;
  border-radius: 11px;
  overflow: hidden;
  background: #f8d126;
}
.registration-plate:focus-within { outline: 3px solid #087aad; outline-offset: 4px; }
.registration-plate input {
  min-width: 0;
  flex: 1;
  min-height: 48px;
  padding-inline: 5px;
  border: 0;
  border-radius: 0;
  background: #f8d126;
  color: #111;
  font: 900 1.25rem/1 Lato, Arial, sans-serif;
  letter-spacing: .1em;
  text-align: center;
  text-transform: uppercase;
}
.registration-plate input:focus { outline: none; }
.registration-plate input::placeholder { color: #493e1b; opacity: 1; }
.registration-badge {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 2px;
  flex: 0 0 clamp(35px, 12%, 46px);
  color: #ffdc39;
  background: #1673ca;
  font-size: 1.05rem;
  line-height: 1;
}
.registration-stars { position: relative; width: 16px; height: 16px; }
.registration-stars span {
  position: absolute;
  top: 50%;
  left: 50%;
  font: 4px/1 Arial, sans-serif;
  transform: translate(-50%, -50%) rotate(var(--star-angle, 0deg)) translateY(-7px) rotate(calc(-1 * var(--star-angle, 0deg)));
}
.registration-stars span:nth-child(2) { --star-angle: 30deg; }
.registration-stars span:nth-child(3) { --star-angle: 60deg; }
.registration-stars span:nth-child(4) { --star-angle: 90deg; }
.registration-stars span:nth-child(5) { --star-angle: 120deg; }
.registration-stars span:nth-child(6) { --star-angle: 150deg; }
.registration-stars span:nth-child(7) { --star-angle: 180deg; }
.registration-stars span:nth-child(8) { --star-angle: 210deg; }
.registration-stars span:nth-child(9) { --star-angle: 240deg; }
.registration-stars span:nth-child(10) { --star-angle: 270deg; }
.registration-stars span:nth-child(11) { --star-angle: 300deg; }
.registration-stars span:nth-child(12) { --star-angle: 330deg; }
.hero-services { display: inline-block; margin-top: 14px; color: #fff; font-weight: 700; }
.hero-links { display: flex; flex-wrap: wrap; gap: 0 16px; }
.about-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 6vw, 76px); align-items: center; }
.about-intro h1 { font-size: clamp(2.85rem, 7vw, 5.1rem); margin-bottom: .28em; }
.about-intro-copy > p { max-width: 34ch; color: var(--muted); font-size: clamp(1.1rem, 2.2vw, 1.45rem); margin-bottom: 22px; }
.about-intro-copy strong { color: var(--ink); }
.about-photo { display: block; width: 100%; aspect-ratio: 1.65; object-fit: cover; object-position: 72% 53%; border-radius: var(--radius); border-bottom: 4px solid var(--red); }
.about-benefits { background: #12191f; color: white; }
.about-benefits h2, .about-booking h2 { margin-bottom: 24px; }
.about-benefit-grid, .about-booking ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.about-benefit-grid article { border-top: 2px solid #ff7d76; padding-top: 13px; }
.about-benefit-grid p { color: #d9dfe5; margin-bottom: 0; }
.about-booking ol { padding: 0; margin: 0 0 22px; list-style-position: inside; }
.about-booking li { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; background: white; }
.about-booking li::marker { color: var(--red-text); font-weight: 900; }
.about-booking li h3 { display: inline; }
.about-booking li p { margin: 7px 0 0; color: var(--muted); }
.contact-page h1 { margin-bottom: .28em; }
.contact-intro { color: var(--muted); font-size: 1.13rem; margin-bottom: 24px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.contact-grid h2 { font-size: clamp(1.5rem, 3.1vw, 2rem); }
.contact-form-panel legend small { font-weight: 400; }
.contact-form-panel textarea { min-height: 124px; }
.contact-message-panel { background: #12191f; color: white; padding: clamp(18px, 3vw, 30px); border-top: 3px solid var(--red); border-radius: var(--radius); }
.contact-message-panel .contact-number { font-size: 1.35rem; font-weight: 900; font-variant-numeric: tabular-nums; }
.contact-message-panel .actions { margin-bottom: 20px; }
.contact-message-panel .button.outline { color: white; border-color: var(--steel); }
.contact-message-panel .button.outline:hover { background: #26303a; }
.contact-message-panel p:not(.contact-number), .contact-message-panel ul { color: #e0e5e9; }
.contact-message-panel ul { padding-inline-start: 1.2em; margin: 0; }
.contact-message-panel li + li { margin-top: 5px; }
.crm-message p { white-space: pre-wrap; }
@media (max-width: 740px) {
  .about-intro, .about-benefit-grid, .about-booking ol, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .about-photo { aspect-ratio: 1.8; }
}
.service-catalogue-hero {
  background: linear-gradient(90deg, #0b0f14 10%, #0b0f14ed 40%, #0b0f1455 100%), url('/assets/hero.webp?v=driveway') 65% 55% / cover, var(--dark);
  color: white;
  border-bottom: 3px solid var(--red);
  padding-block: clamp(42px, 7vw, 92px);
}
.service-catalogue-hero h1 { font-size: clamp(2.5rem, 7vw, 4.9rem); max-width: 14ch; margin-bottom: .24em; }
.service-catalogue-hero p { color: #edf0f3; font-size: clamp(1rem, 2vw, 1.2rem); max-width: 41ch; margin: 0; }
.service-catalogue { padding-block: 22px clamp(40px, 7vw, 78px); }
.service-category-nav { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 19px; border-bottom: 1px solid var(--line); }
.service-category-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 15px; border-radius: 8px; border: 1px solid #c4cbd3; background: white; color: var(--ink); font-weight: 900; text-decoration: none; }
.service-category-nav a:hover { border-color: var(--red-text); color: var(--red-text); }
.service-catalogue-section { margin-top: clamp(24px, 4vw, 46px); }
.service-catalogue-section h2 { margin-bottom: 15px; font-size: clamp(1.65rem, 4vw, 2.25rem); padding-left: 11px; border-left: 4px solid var(--red); }
.service-catalogue-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: start; }
.service-catalogue-card { background: white; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(16px, 2vw, 22px); overflow-wrap: anywhere; }
.service-catalogue-card h3 { margin-bottom: 7px; }
.service-catalogue-card p { color: var(--muted); margin-bottom: 14px; }
.service-catalogue-card dl { display: flex; flex-wrap: wrap; gap: 8px 20px; border-block: 1px solid var(--line); padding: 9px 0; margin: 0; }
.service-catalogue-card dt { color: var(--muted); font-size: .83rem; }
.service-catalogue-card dd { margin: 0; font-weight: 900; }
.service-catalogue-card dl > div:first-child dd { color: var(--red-text); }
.service-catalogue-card details { margin-top: 8px; }
.service-catalogue-card summary { font-weight: 700; cursor: pointer; padding: 8px 0; }
.service-catalogue-action { margin-top: 10px; }
.service-catalogue-action a { justify-content: space-between; gap: 12px; }
@media (max-width: 960px) {
  .service-catalogue-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .service-catalogue-grid { grid-template-columns: minmax(0, 1fr); }
  .service-catalogue-hero { background-image: linear-gradient(90deg, #0b0f14f7, #0b0f148c), url('/assets/hero.webp?v=driveway'); }
}
@media (max-width: 340px) {
  .hero-book-row .button { padding-inline: .65rem; }
}
.availability-calendar { display: grid; gap: 12px; }
.calendar-nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
.calendar-nav h3 { margin: 0; text-align: center; }
.calendar-nav [data-previous] { justify-self: start; }
.calendar-nav [data-next] { justify-self: end; }
.calendar-nav .button:disabled { opacity: .45; cursor: default; }
.calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.calendar-weekday { text-align: center; font-size: .84rem; font-weight: 700; color: var(--muted); }
.calendar-grid button {
  padding: 1px;
  min-height: 44px;
  border: 1px solid var(--day-border, #dce1e7);
  border-radius: 8px;
  background: var(--day-background, var(--paper));
  color: var(--day-ink, #4c5965);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}
.calendar-grid button:hover:not(:disabled) { border-color: currentColor; }
.calendar-grid button[aria-pressed="true"] { background: var(--day-ink); color: white; }
.calendar-grid button:disabled { cursor: default; opacity: 1; }
.calendar-grid button[data-availability="unavailable"] { font-weight: 400; }
.availability-calendar [data-availability="available"] { --day-border: #acd5b5; --day-background: #e6f4e9; --day-ink: #205b33; }
.availability-calendar [data-availability="limited"] { --day-border: #e4bd68; --day-background: #fff0cb; --day-ink: #704600; }
.availability-calendar [data-availability="closed"] { --day-border: #e6abad; --day-background: #fbe2e2; --day-ink: #86262d; }
.calendar-legend { display: flex; flex-wrap: wrap; gap: 4px 13px; padding: 0; margin: 0; list-style: none; color: var(--muted); font-size: .83rem; }
.calendar-legend li { display: flex; align-items: center; gap: 5px; }
.calendar-legend li::before {
  content: '';
  width: 11px;
  height: 11px;
  border: 1px solid var(--day-border, #dce1e7);
  border-radius: 3px;
  background: var(--day-background, var(--paper));
}
.calendar-status, .scheduling-hint { margin: 0; color: var(--muted); font-size: .9rem; }
.service-inclusions { margin: 8px 0; padding-inline-start: 21px; color: var(--muted); }
.selected-service, .addon-option { border-radius: 8px; background: #f4f6f8; padding: 10px 12px; }
.addon-options { display: grid; gap: 8px; }
.addon-options h3 { margin: 4px 0 0; font-size: 1.08rem; }
.addon-option .check { min-height: 44px; align-items: center; }
.addon-option input { flex: 0 0 auto; width: 18px; height: 18px; accent-color: var(--red-text); }
.addon-option:has(input:disabled) { opacity: .55; }
.addon-option .service-inclusions { margin-left: 18px; }
.booked-addons ul { margin-block: 4px 10px; }
.addon-option[data-deal] { background: #e7f4eb; border: 1px solid #badaca; }
.addon-option[data-deal] [data-addon-price] { color: #205b33; font-weight: 900; }
.booking-progress { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; }
.booking-progress li { border-bottom: 3px solid var(--line); color: var(--muted); padding: 0 2px 8px; font-weight: 700; font-size: .88rem; }
.booking-progress li.finished { border-color: #acd5b5; }
.booking-progress li[aria-current] { border-color: var(--red); color: var(--ink); }
.booking-stage { display: grid; gap: 16px; }
.booking-stage > h2 { font-size: clamp(1.45rem,3vw,1.85rem); margin: 5px 0 1px; }
.booking-stage > h2:focus { outline: none; }
.booking-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.booking-discount { display: flex; align-items: end; gap: 10px; flex-wrap: wrap; }
.booking-discount label { flex: 1 1 160px; }
.booking-estimate, .booking-payment { padding: 14px; border-radius: 8px; background: var(--paper); }
.booking-review, .booking-estimate dl, .booking-payment p { margin: 0; }
.booking-review > div, .booking-estimate dl > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; padding-block: 5px; }
.booking-review dd, .booking-estimate dd { margin: 0; font-weight: 700; }
.booking-estimate .estimate-total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 8px; font-weight: 900; }
.booking-payment h3 { font-size: 1.14rem; }
.availability-admin { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.availability-admin [data-calendar-fields] { grid-column: 1 / -1; }
.availability-admin .availability-calendar { margin-top: 18px; max-width: 660px; }
.working-hours { display: grid; gap: 10px; }
.working-day { display: grid; grid-template-columns: minmax(98px, 1fr) minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 8px; }
.working-day .check { min-height: 44px; }
@media (max-width: 780px) {
  html { scroll-padding-top: 170px; }
  html:has(.nav.menu-ready) { scroll-padding-top: 86px; }
  .nav.menu-ready {
    position: relative;
    min-height: 66px;
    align-items: center;
    flex-wrap: nowrap;
    padding-block: 8px;
  }
  .nav.menu-ready > a { min-width: 0; }
  .nav.menu-ready .mobile-menu-button {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid #75808a;
    border-radius: 8px;
    background: #343e47;
    color: white;
    font: 700 .92rem/1 Lato, Arial, sans-serif;
    cursor: pointer;
  }
  .mobile-menu-button:hover, .mobile-menu-button[aria-expanded="true"] { border-color: #bac1c8; }
  .mobile-menu-icon { width: 16px; height: 16px; position: relative; }
  .mobile-menu-icon::before, .mobile-menu-icon::after, .mobile-menu-icon span {
    content: '';
    position: absolute;
    inset-inline: 0;
    height: 2px;
    border-radius: 1px;
    background: currentColor;
  }
  .mobile-menu-icon::before { top: 2px; }
  .mobile-menu-icon span { top: 7px; }
  .mobile-menu-icon::after { top: 12px; }
  .mobile-menu-button[aria-expanded="true"] .mobile-menu-icon::before { top: 7px; transform: rotate(45deg); }
  .mobile-menu-button[aria-expanded="true"] .mobile-menu-icon span { opacity: 0; }
  .mobile-menu-button[aria-expanded="true"] .mobile-menu-icon::after { top: 7px; transform: rotate(-45deg); }
  .nav.menu-ready #site-navigation {
    display: none;
    position: absolute;
    inset: 100% 0 auto;
    max-height: calc(100dvh - 76px);
    overflow-y: auto;
    padding: 6px 10px;
    border: 1px solid #505b64;
    border-radius: 10px;
    background: #29333c;
    box-shadow: 0 12px 24px #0b0f1444;
  }
  .nav.menu-ready .mobile-menu-button[aria-expanded="true"] + #site-navigation { display: grid; gap: 0; }
  .nav.menu-ready #site-navigation a {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    min-height: 44px;
    padding: 8px 10px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: white;
    font-size: .95rem;
    text-align: left;
  }
  .nav.menu-ready #site-navigation a:hover, .nav.menu-ready #site-navigation a:focus-visible { background: #3b4650; }
  body:not(.crm) main { font-size: .97rem; }
  body:not(.crm) main h2 { font-size: clamp(1.6rem, 4vw, 2.15rem); }
  body:not(.crm) main :is(input, select, textarea) { font-size: 1rem; }
  .hero h1 { font-size: clamp(2.85rem, 8vw, 4.4rem); }
  .hero-p { font-size: 1.05rem; }
  .intro h1 { font-size: clamp(2.2rem, 6vw, 3.2rem); }
  .hero-photo { background-position: center, 76% 46%; }
  .hero-photo .hero-grid { min-height: 475px; }
  .availability-admin { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .hero-photo { background-image: linear-gradient(90deg, #0b0f14ed, #0b0f148c 80%), url('/assets/hero.webp?v=driveway'); }
  .calendar-nav h3 { font-size: 1.05rem; }
  .calendar-nav .button { padding-inline: .5rem; font-size: .9rem; }
}

.crm { --crm-side-width: 236px; display: grid; grid-template-columns: var(--crm-side-width) minmax(0, 1fr); background: #f3f5f7; }
.crm-side {
  position: sticky; top: 0; align-self: start; height: 100dvh; overflow-y: auto;
  padding: 26px 16px; background: linear-gradient(160deg, #12191f, #222c34); color: white;
}
.crm-brand { display: grid; gap: 10px; padding: 0 7px 20px; color: #d2d9e0; text-decoration: none; font-size: .85rem; }
.crm-brand .logo { width: 180px; }
.crm-nav-group { margin: 16px 0 22px; }
.crm-nav-group p { margin: 0 10px 8px; color: #aebbc8; font-size: .82rem; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.crm-nav-group a { display: block; padding: 10px 11px; border-radius: 8px; border-left: 3px solid transparent; color: #e4e8ed; text-decoration: none; font-weight: 700; }
.crm-nav-group a:hover { background: #ffffff16; color: white; }
.crm-nav-group a[aria-current] { background: #ffffff17; border-left-color: #fd4d43; color: white; }
.crm-workspace { min-width: 0; }
.crm-bar {
  min-height: 68px; padding: 10px clamp(16px, 4vw, 44px); display: flex; justify-content: space-between;
  align-items: center; gap: 12px; border-bottom: 1px solid var(--line); background: white; color: var(--ink);
}
.crm-bar > a { color: var(--ink); font-weight: 900; text-decoration: none; }
.crm-bar .actions { justify-content: end; }
.crm-bar .actions a { font-weight: 700; }
.crm-main { width: min(100%, 1540px); padding: clamp(19px, 4vw, 44px); }
.crm-main > .crm-panel { margin-bottom: 18px; }
.crm-follow-panel { margin-top: 16px; }
.crm-main:has(.crm-service-table) { padding-block: clamp(17px, 2vw, 26px); }
.crm-service-toolbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.crm-service-table { padding: 16px; }
.crm-service-table .crm-filters { flex: 1 1 400px; max-width: 490px; margin: 0; }
.crm-service-table .crm-filters label:first-child { flex-basis: 145px; }
.crm-service-table .crm-table-wrap { margin-bottom: 0; }
.crm-service-table table { table-layout: fixed; min-width: 680px; }
.crm-service-table th:first-child { width: 24%; }
.crm-service-table th:nth-child(2) { width: 14%; }
.crm-service-table th:nth-child(3) { width: 30%; }
.crm-service-table td { padding: 7px 9px; vertical-align: middle; }
.crm-service-price { white-space: nowrap; }
.crm-unpriced { color: var(--muted); }
.crm-service-description { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; color: var(--muted); }
.crm-linked-deals { display: grid; gap: 4px; padding: 0; margin: 0; list-style: none; }
.crm-linked-deals a {
  display: inline-flex; align-items: baseline; justify-content: space-between; gap: 6px; padding: 2px 6px;
  color: #205b33; background: #e7f4eb; border-radius: 5px; text-decoration: none; font-size: .87rem;
}
.crm-linked-deals a:hover { text-decoration: underline; }
.crm-linked-deals a.deal-paused { color: var(--muted); background: var(--paper); }
.crm-linked-deals a strong { white-space: nowrap; }
.crm-linked-deals a small { display: inline; }
.crm-no-deals { color: var(--muted); font-size: .87rem; }
.crm-service-editor { max-width: 730px; }
.crm-heading { margin-bottom: 24px; }
.crm-heading h1 { font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 8px; }
.crm-heading p { margin: 0; color: var(--muted); }
.crm-notice { border: 1px solid #badaca; background: #e7f5ed; color: #1d5a39; padding: 10px 14px; border-radius: 8px; }
.crm-stats, .crm-split, .crm-catalogue { display: grid; gap: 16px; margin-bottom: 18px; }
.crm-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.crm-split, .crm-catalogue { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.crm-stat { min-height: 122px; display: grid; align-content: center; gap: 10px; color: var(--ink); text-decoration: none; }
.crm-stat:hover { border-color: #aeb6bf; color: var(--red-text); }
.crm-stat span { color: var(--muted); font-size: .95rem; font-weight: 700; }
.crm-stat strong { font-size: clamp(1.45rem, 3vw, 2.3rem); line-height: 1.05; }
.crm-panel { min-width: 0; }
.crm-panel h2 { font-size: 1.22rem; margin-bottom: 16px; }
.crm-panel p { color: var(--muted); }
.crm-panel .availability-calendar { margin-top: 16px; }
.crm-filters { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; margin-bottom: 16px; }
.crm-filters label:first-child { flex: 1 1 190px; }
.crm-filters > a { padding-block: 10px; }
.crm-table-wrap { overflow-x: auto; margin-bottom: 14px; }
.crm-table-wrap table { width: 100%; border-collapse: collapse; text-align: left; }
.crm-table-wrap th { white-space: nowrap; padding: 9px; color: var(--muted); background: #f4f6f8; font-size: .84rem; }
.crm-table-wrap td { border-bottom: 1px solid var(--line); padding: 11px 9px; vertical-align: top; }
.crm-table-wrap a { font-weight: 700; }
.crm-table-wrap small, .crm-message small { display: block; margin-top: 2px; }
.crm-badge { display: inline-block; white-space: nowrap; padding: 2px 8px; background: #edf0f2; color: #46525d; border-radius: 999px; font-size: .84rem; font-weight: 700; }
.crm-badge.amber { background: #fff0d5; color: #785000; }
.crm-badge.blue { background: #e2edf8; color: #234e75; }
.crm-badge.green { background: #e3f3e9; color: #245b3a; }
.crm-breadcrumb, .crm-pagination, .crm-tabs { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin: 0 0 18px; }
.crm-pagination { margin-bottom: 0; }
.crm-tabs a { padding: 7px 0; color: var(--muted); text-decoration: none; border-bottom: 3px solid transparent; font-weight: 700; }
.crm-tabs a[aria-current] { border-color: var(--red); color: var(--ink); }
.crm-list-item { border-top: 1px solid var(--line); padding: 14px 0; overflow-wrap: anywhere; }
.crm-message p { white-space: pre-wrap; margin-block: 8px; }
.crm-block { display: flex; gap: 8px; flex-wrap: wrap; justify-content: space-between; align-items: center; margin-top: 8px; }
.crm-details { display: grid; gap: 12px; }
.crm-details dt { color: var(--muted); font-size: .88rem; }
.crm-details dd { margin: 0; font-weight: 700; white-space: pre-wrap; }
.crm-empty { padding: 13px 0; }
.crm-catalogue h3 { font-size: 1.2rem; }
@media (max-width: 1150px) {
  .crm-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .crm-split { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 820px) {
  .crm { display: block; }
  .crm-side { position: relative; height: auto; padding: 14px 16px; }
  .crm-brand { padding: 0 0 6px; }
  .crm-brand span { display: none; }
  .crm-nav-group { display: flex; align-items: center; gap: 3px; flex-wrap: wrap; margin: 6px 0; }
  .crm-nav-group p { margin: 0 5px 0 0; }
  .crm-nav-group a { padding: 6px 7px; font-size: .9rem; }
  .crm-bar { position: static; }
  html:has(.crm) { scroll-padding-top: 12px; }
}
@media (max-width: 520px) {
  .crm-catalogue { grid-template-columns: minmax(0, 1fr); }
  .crm-stat { min-height: 90px; padding: 12px; }
  .crm-bar > a { display: none; }
  .crm-bar .actions { width: 100%; justify-content: space-between; }
  .crm .working-day { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .crm .working-day .check { grid-column: 1 / -1; min-height: 22px; }
}
@media print {
  .crm, .crm-split { display: block; }
  .crm-side, .crm-breadcrumb, .crm-panel form { display: none; }
}

.coverage-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 18px; align-items: start; }
.coverage-checker { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: end; margin-bottom: 20px; }
.coverage-areas { padding: 0; margin: 0; list-style: none; }
.coverage-areas li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; padding: 9px 0; }
.coverage-areas a[aria-current] { font-weight: 700; }
.coverage-areas span { font-size: .85em; }
.area-coverage { padding-bottom: 32px; }
.coverage-map { position: relative; margin: 12px 0 0; }
.coverage-map-canvas { position: relative; overflow: hidden; height: clamp(260px, 40vw, 390px); isolation: isolate; border-radius: 8px; background: #31373c; }
.coverage-map[data-editable] .coverage-map-canvas { cursor: crosshair; }
[data-map-tiles] { position: absolute; inset: 0; }
[data-map-tiles] img { position: absolute; display: block; width: 256px; height: 256px; max-width: none; user-select: none; }
.coverage-pin, .coverage-ring { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none; }
.coverage-ring { border: 2px solid #ad181e; background: rgb(217 30 40 / 20%); }
.coverage-pin { width: 16px; height: 16px; border: 2px solid white; background: #bf1720; box-shadow: 0 1px 4px #202326; }
.coverage-zoom { position: absolute; top: 10px; right: 10px; display: grid; gap: 3px; }
.coverage-zoom button { width: 40px; height: 40px; cursor: pointer; border-radius: 5px; border: 1px solid #585e64; background: #22272c; color: white; font-size: 1.25rem; }
.coverage-zoom button:disabled { opacity: .55; cursor: default; }
.coverage-zoom[hidden], .location-lookup[hidden], .booking-coverage-check [hidden] { display: none; }
.coverage-map figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; margin-top: 8px; font-size: .82em; }
.day-agenda { margin-bottom: 18px; }
.day-agenda > p a { margin-left: 10px; }
.day-controls { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: end; margin-bottom: 14px; }
.day-controls > a { align-self: end; padding: 10px 0; }
.day-controls form { gap: 8px; align-items: end; }
.day-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: start; gap: 14px; }
.day-jobs { display: grid; gap: 8px; list-style: none; padding: 0; margin: 0; min-width: 0; }
.day-job { padding: 11px; border: 1px solid var(--line); border-radius: 8px; scroll-margin-top: 96px; }
.day-job:target { outline: 2px solid var(--red-text); }
.day-job-title { display: flex; gap: 7px; flex-wrap: wrap; align-items: center; margin-bottom: 6px; }
.day-job p { margin: 0 0 6px; }
.day-job small { margin-left: 5px; }
.day-stop, .day-map-pin { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; min-height: 26px; padding: 2px 6px; border-radius: 16px; background: var(--red-text); color: white; font-weight: 900; }
.day-postcode { font-weight: 900; white-space: nowrap; }
.job-parts-form { display: flex; align-items: end; flex-wrap: wrap; gap: 7px; margin-top: 7px; }
.job-parts-form label { width: min(100%, 160px); }
.day-map-panel { min-width: 0; margin: 0; }
.day-map-panel .coverage-map-canvas { height: clamp(300px, 39vw, 460px); }
.day-map-panel [data-map-fit] { font: inherit; font-size: .85rem; }
.day-map-pin { position: absolute; transform: translate(-50%, -50%); text-decoration: none; z-index: 1; border: 2px solid white; box-shadow: 0 2px 4px #0b0f14a6; min-width: 30px; min-height: 30px; white-space: nowrap; }
.day-map-pin:hover, .day-map-pin:focus-visible { z-index: 2; background: var(--dark); }
@media (max-width: 960px) {
  .day-layout { grid-template-columns: minmax(0, 1fr); }
}
.location-lookup { display: flex; flex-wrap: wrap; align-items: end; gap: 8px 12px; }
.location-lookup p { flex-basis: 100%; margin: 0; }
.location-lookup p:empty, .booking-coverage-check:has(> button[hidden]) { display: none; }
.location-coordinates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.location-map-editor { min-width: 0; }
.booking-coverage-check p { margin: 8px 0 0; }
@media (max-width: 760px) {
  .coverage-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 440px) {
  .coverage-checker, .location-coordinates { grid-template-columns: minmax(0, 1fr); }
}

.invoice-style-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.invoice-style-option { padding: 12px; border: 1px solid var(--line); border-radius: 9px; min-width: 0; }
.invoice-style-option:has(input:checked) { border-color: var(--red-text); background: #fff8f7; }
.invoice-style-option label { justify-items: start; cursor: pointer; }
.invoice-style-option label > span:last-child { font-weight: 400; color: var(--muted); }
.invoice-style-option input { width: 18px; height: 18px; min-height: 0; margin: 2px 0; accent-color: var(--red-text); }
.invoice-style-option > a { display: inline-block; margin-top: 8px; }
.invoice-mini { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 5px; padding: 10px; min-height: 48px; border: 1px solid var(--line); background: white; color: var(--dark); }
.invoice-mini img { width: min(62%, 130px); }
.invoice-mini-signature { background: var(--dark); color: white; border-bottom: 2px solid var(--red); }
.invoice-mini-redline { border-left: 4px solid var(--red); }
.invoice-mini-classic { border-bottom-color: var(--dark); }
.invoice-document { min-width: 0; width: 100%; max-width: 820px; margin: 0 auto; border: 1px solid var(--line); background: white; color: var(--dark); overflow-wrap: anywhere; }
.invoice-document.invoice-redline { border-left: 6px solid var(--red); }
.invoice-letterhead { position: static; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: clamp(16px, 3.5vw, 30px); background: white; color: var(--dark); }
.invoice-signature .invoice-letterhead { background: var(--dark); color: white; border-bottom: 3px solid var(--red); }
.invoice-classic .invoice-letterhead { border-bottom: 1px solid var(--dark); }
.invoice-letterhead img { width: min(55%, 265px); }
.invoice-letterhead > div { text-align: right; min-width: 0; }
.invoice-letterhead strong { display: block; font-size: clamp(1.25rem, 3vw, 2.1rem); line-height: 1; margin-bottom: 5px; }
.invoice-body { padding: clamp(12px, 4vw, 30px); }
.invoice-parties { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.invoice-document h3 { font-size: 1rem; }
.invoice-document p { white-space: pre-line; margin-bottom: .45em; }
.invoice-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(135px, 100%), 1fr)); gap: 8px 12px; padding: 12px 0; font-size: .9rem; }
.invoice-document dd { margin: 0; }
.invoice-meta dt { font-weight: 700; }
.invoice-document table { width: 100%; border-collapse: collapse; text-align: left; }
.invoice-document th, .invoice-document td { padding: 8px; border-bottom: 1px solid var(--line); }
.invoice-document th { background: var(--paper); }
.invoice-document :is(th,td):last-child { white-space: nowrap; text-align: right; }
.invoice-totals { max-width: 230px; margin: 16px 0 20px auto; }
.invoice-totals > div { display: flex; justify-content: space-between; gap: 12px; padding: 5px 8px; }
.invoice-totals .invoice-total { font-size: 1.12rem; font-weight: 900; }
.invoice-signature .invoice-total { background: var(--dark); color: white; }
.invoice-redline .invoice-total { background: var(--red-text); color: white; }
.invoice-classic .invoice-total { border-top: 1px solid var(--dark); }
.crm-invoice-layout { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
#invoice-preview { margin-top: 16px; scroll-margin-top: 24px; }
.invoice-portal-actions, .invoice-print-controls { margin-bottom: 16px; }
.invoice-print-page main { width: min(820px, calc(100% - 24px)); margin: 18px auto; }
@media (max-width: 1000px) {
  .crm-invoice-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 620px) {
  .invoice-style-options { grid-template-columns: minmax(0, 1fr); }
}
@media print {
  @page invoice-sheet { size: A4; margin: 12mm; }
  .invoice-print-page { page: invoice-sheet; min-height: 0; background: white; display: block; }
  .invoice-print-page main { width: 100%; margin: 0; }
  .invoice-print-controls { display: none; }
  .invoice-print-page .invoice-document { border: 0; }
  .invoice-print-page .invoice-redline { border-left: 4px solid var(--red); }
  .invoice-print-page :is(tr,.invoice-letterhead,.invoice-parties,.invoice-totals) { break-inside: avoid; }
  .invoice-letterhead { display: flex; print-color-adjust: exact; }
  .invoice-document .invoice-total { print-color-adjust: exact; }
}
