/* ==========================================================================
   IN HOURS — site styles
   Brand colors are defined once below; change them here to restyle the site.
   ========================================================================== */

:root {
  --navy: #061c3b;
  --navy-2: #0a2f5c;
  --navy-3: #123b5b;
  --orange: #ff690e;
  --orange-2: #f45e0a;
  --orange-soft: #fff3ea;
  --ink: #081b3b;
  --muted: #546172;
  --border: #dce1e8;
  --soft: #f4f7fb;
  --ok: #12784a;
  --error: #b42318;
  --orange-text: #c2410c;   /* orange that is readable as text on white (5.2:1) */
  --field-border: #7d8899;  /* form field outlines, 3.6:1 on white */
  --focus: #0a2f5c;         /* keyboard focus ring on light backgrounds */
  --focus-dark: #ffb37d;    /* keyboard focus ring on dark backgrounds */
  --fs: 1;                  /* text size: changed by the Accessibility menu */
  --shadow: 0 10px 24px rgba(7, 24, 46, .12);
  --font: Arial, Helvetica, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; color: var(--ink); background: #fff; font-family: var(--font); font-size: calc(16px * var(--fs)); line-height: 1.4; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.service-band :focus-visible, .footer :focus-visible, .hero :focus-visible, .quote-intro :focus-visible { outline-color: var(--focus-dark); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

.container { max-width: 1200px; margin: 0 auto; padding-inline: 38px; }
.icon { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.125em; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: 6px; }
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 6px; padding: 12px 19px;
  font-weight: 800; font-size: calc(14px * var(--fs)); white-space: nowrap; color: #fff;
  background: linear-gradient(135deg, #d24600, #b33900);
  transition: filter .15s, background-color .15s;
}
.btn:hover { filter: brightness(.94); }
.btn:disabled { opacity: .55; cursor: not-allowed; filter: none; }
.btn-navy { background: var(--navy); }
.btn-outline { background: transparent; border: 2px solid currentColor; padding: 10px 24px; }
.btn-outline:hover { background: rgba(255, 255, 255, .12); filter: none; }
.link-btn { background: none; border: 0; padding: 4px 0; color: var(--navy-2); font-weight: 800; text-decoration: underline; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 20; background: #fff; box-shadow: 0 2px 10px rgba(0, 28, 51, .07); }
.nav { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
.logo-mark { width: 46px; height: 30px; fill: var(--orange); }
.brand-name { display: block; font-weight: 900; font-style: italic; font-size: 31px; letter-spacing: -1.5px; line-height: .9; }
.brand-sub { display: block; font-weight: 900; font-style: italic; font-size: 9.5px; letter-spacing: .2px; margin-top: 5px; }
.links { display: flex; align-items: center; gap: 26px; font-weight: 700; font-size: calc(14px * var(--fs)); }
.links a { padding: 6px 0; border-bottom: 3px solid transparent; }
.links a:hover { color: var(--orange-text); }
.links a.active { color: var(--orange-text); border-bottom-color: var(--orange); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.icon-btn { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 0; border-radius: 8px; background: none; color: var(--navy); font-size: 26px; }
.call-icon { background: var(--orange-soft); color: var(--orange-2); font-size: 21px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 450px; overflow: hidden; color: #fff; background: linear-gradient(90deg, #03172f 0%, #06264a 42%, var(--navy-3) 100%); }
.hero-photo { position: absolute; top: 0; right: 0; width: 59%; height: 100%; object-fit: cover; object-position: 30% center; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #041a34 0%, #08294b 29%, rgba(8, 41, 75, .86) 41%, transparent 67%); }
.hero-content { position: relative; z-index: 1; padding-top: 44px; padding-bottom: 104px; }
.hero h1 { margin: 0 0 18px; font-size: calc(48px * var(--fs)); line-height: 1.02; letter-spacing: -1.4px; font-weight: 900; }
.hero h1 em { color: #ff7623; }
.hero p { max-width: 465px; margin: 0 0 22px; font-size: calc(18px * var(--fs)); line-height: 1.42; }
.hero-benefits { display: flex; flex-wrap: wrap; row-gap: 14px; max-width: 380px; }
.hero-benefits span { flex: 1 1 90px; padding: 0 10px; border-right: 1px solid rgba(255, 255, 255, .2); text-align: center; font-size: calc(13px * var(--fs)); font-weight: 800; line-height: 1.25; }
.hero-benefits span:first-child { padding-left: 0; }
.hero-benefits span:last-child { border: 0; }
.hero-benefits .icon { display: block; margin: 0 auto 7px; font-size: calc(26px * var(--fs)); color: var(--orange); }

/* ---------- Instant quote ---------- */
.quote-wrap { position: relative; z-index: 2; margin-top: -62px; }
.quote { display: grid; grid-template-columns: 265px 1fr; overflow: hidden; border: 2px solid #fff; border-radius: 14px; background: #f6f8fb; box-shadow: var(--shadow); }
.quote-intro { display: flex; gap: 14px; align-items: flex-start; padding: 22px 24px; color: #fff; background: linear-gradient(135deg, #0a396a, #031a3b); }
.quote-icon { font-size: calc(38px * var(--fs)); color: var(--orange); stroke-width: 1.8; }
.quote-intro h2 { margin: 0 0 10px; font-size: calc(25px * var(--fs)); line-height: 1.04; }
.quote-intro p { margin: 0; font-size: calc(12.5px * var(--fs)); line-height: 1.45; color: #d6e0ee; }

.quote-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: end; gap: 14px 15px; padding: 22px 20px; }
.quote-fields .btn { height: 40px; }
.field input[type="date"]::-webkit-date-and-time-value { text-align: left; }
.field label { display: block; margin-bottom: 7px; font-size: calc(12px * var(--fs)); font-weight: 800; }
.field .optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-width: 0; height: 40px; padding: 0 11px;
  border: 1px solid var(--field-border); border-radius: 6px; background: #fff; color: #26374b; font-size: calc(14px * var(--fs));
}
.field textarea { height: auto; min-height: 80px; padding: 10px 11px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }

.quote-result, .quote-details, .quote-done { grid-column: 1 / -1; border-top: 1px solid var(--border); background: #fff; }
.quote-result { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 18px 24px; }
.estimate { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 14px; }
.estimate-label { width: 100%; font-size: calc(11.5px * var(--fs)); font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: var(--muted); }
.estimate-price { font-size: calc(34px * var(--fs)); font-weight: 900; letter-spacing: -1px; color: var(--orange-2); }
.estimate-price.is-text { font-size: calc(20px * var(--fs)); letter-spacing: 0; color: var(--ink); }
.estimate-detail { font-size: calc(13px * var(--fs)); color: var(--muted); }
.estimate-note { width: 100%; margin: 0; font-size: calc(12px * var(--fs)); color: var(--muted); }

.quote-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; padding: 20px 24px 24px; }
.quote-details h3 { grid-column: 1 / -1; margin: 0; font-size: calc(18px * var(--fs)); }
.field-wide { grid-column: 1 / -1; }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.form-actions p { margin: 0; font-size: calc(12px * var(--fs)); color: var(--muted); }
.form-error { grid-column: 1 / -1; margin: 0; padding: 12px 14px; border-radius: 8px; background: #fff1ef; color: var(--error); font-size: calc(13.5px * var(--fs)); line-height: 1.5; }
.form-error a { font-weight: 800; text-decoration: underline; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.quote-done { display: flex; gap: 16px; align-items: flex-start; padding: 26px 24px; outline: none; }
.quote-done h3 { margin: 4px 0 6px; font-size: calc(20px * var(--fs)); }
.quote-done p { margin: 0 0 12px; color: var(--muted); line-height: 1.5; }
.quote-done p a { color: var(--ink); font-weight: 800; }
.done-icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #e3f5ec; color: var(--ok); font-size: calc(24px * var(--fs)); }

/* ---------- Section headings ---------- */
.section-title { margin: 0; font-size: calc(35px * var(--fs)); letter-spacing: -1.1px; font-weight: 900; text-align: center; }
.underline { width: 72px; height: 4px; margin: 12px auto 15px; background: var(--orange); }
.section-desc { margin: 0 auto 26px; max-width: 640px; font-size: calc(16px * var(--fs)); color: #465367; text-align: center; }

/* ---------- Pricing ---------- */
.pricing { padding-block: 44px 46px; }
.price-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.price-card {
  position: relative; display: flex; flex-direction: column; align-items: center; min-height: 228px;
  padding: 18px 10px 14px; border: 1px solid #d7dce4; border-radius: 12px; background: #fff; text-align: center;
  box-shadow: 0 4px 10px rgba(8, 31, 58, .045); transition: transform .15s, box-shadow .15s, border-color .15s;
}
.price-card:hover { transform: translateY(-3px); border-color: #f7b48a; box-shadow: 0 12px 22px rgba(8, 31, 58, .1); }
.price-card.featured { border: 2px solid var(--orange); background: #fffaf6; }
.price-badge { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); padding: 3px 10px; border-radius: 99px; background: var(--orange-text); color: #fff; font-size: calc(11px * var(--fs)); font-weight: 800; letter-spacing: .4px; text-transform: uppercase; }
.price-icon { display: grid; place-items: center; height: 40px; font-size: calc(32px * var(--fs)); color: var(--navy); }
.featured .price-icon { color: var(--orange); }
.price-card h3 { margin: 6px 0 8px; font-size: calc(22px * var(--fs)); line-height: 1.04; letter-spacing: -.6px; }
.price-card p { flex: 1; max-width: 185px; margin: 0; font-size: calc(13px * var(--fs)); line-height: 1.35; color: #34445a; }
.price-card small { margin-top: 14px; font-size: calc(12px * var(--fs)); }
.price-card strong { margin-top: 2px; font-size: calc(26px * var(--fs)); color: var(--orange-2); }
.price-choose { display: inline-flex; align-items: center; gap: 5px; margin-top: 8px; font-size: calc(12px * var(--fs)); font-weight: 800; color: var(--navy-2); }
.price-note { margin: 16px auto 0; max-width: 720px; font-size: calc(12px * var(--fs)); color: #6b7280; text-align: center; }

/* ---------- What we deliver ---------- */
.services { padding-block: 8px 60px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service-item { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border: 1px solid var(--border); border-radius: 14px; background: #fff; }
.service-item .feature-icon { flex: none; }
.service-item h3 { margin: 2px 0 6px; font-size: calc(17px * var(--fs)); }
.service-item p { margin: 0; color: var(--muted); font-size: calc(14px * var(--fs)); line-height: 1.5; }

/* ---------- FAQ ---------- */
.faq { padding-block: 60px; }
.faq-list { display: grid; gap: 12px; max-width: 820px; margin: 0 auto; }
.faq-list details { border: 1px solid var(--border); border-radius: 12px; background: #fff; }
.faq-list details[open] { border-color: #f7b48a; }
.faq-list summary { position: relative; padding: 18px 54px 18px 20px; font-weight: 800; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: calc(24px * var(--fs)); font-weight: 400; color: var(--orange-text); }
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { margin: 0; padding: 0 20px 18px; color: var(--muted); line-height: 1.55; }

/* ---------- Service areas ---------- */
.service-band { display: grid; grid-template-columns: 56% 44%; min-height: 320px; background: #051e40; }
.service-image { min-height: 320px; background: url("../assets/van-los-angeles.webp") center / cover no-repeat; clip-path: polygon(0 0, 100% 0, 91% 100%, 0 100%); }
.service-content { padding: 30px 42px 30px 16px; color: #fff; }
.service-content h2 { margin: 0 0 13px; font-size: calc(29px * var(--fs)); line-height: 1.08; letter-spacing: -.6px; }
.service-content h2 .icon { color: var(--orange); font-size: calc(30px * var(--fs)); vertical-align: -4px; }
.service-content p { max-width: 460px; font-size: calc(15px * var(--fs)); line-height: 1.4; color: #dbe4f0; }
.city-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; margin: 18px 0 26px; padding: 0; list-style: none; font-size: calc(14px * var(--fs)); font-weight: 700; }
.city-grid li { display: flex; align-items: center; gap: 10px; }
.city-grid li::before { content: "✓"; content: "✓" / ""; display: grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; background: var(--orange); font-size: calc(11px * var(--fs)); }

/* ---------- How it works ---------- */
.more { padding-block: 64px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; margin-top: 30px; }
.step { padding: 28px; border: 1px solid var(--border); border-radius: 14px; background: #f8fafc; }
.step b { font-size: calc(30px * var(--fs)); color: var(--orange-text); }
.step h3 { margin: 14px 0 8px; }
.step p { margin: 0; line-height: 1.5; color: var(--muted); }

/* ---------- About ---------- */
.about { padding: 60px 0; background: var(--soft); }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { padding: 24px; border: 1px solid var(--border); border-radius: 14px; background: #fff; }
.feature h3 { margin: 14px 0 6px; font-size: calc(18px * var(--fs)); }
.feature p { margin: 0; line-height: 1.5; color: var(--muted); font-size: calc(14.5px * var(--fs)); }
.feature-icon, .contact-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; font-size: calc(22px * var(--fs)); }
.feature-icon { background: var(--orange-soft); color: var(--orange-2); }

/* ---------- Contact ---------- */
.contact { padding: 60px 0 66px; background: var(--soft); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 18px; }
.hours-card { grid-column: 3; grid-row: 1 / span 2; }
.contact-card { display: flex; flex-direction: column; gap: 6px; padding: 22px; border: 1px solid var(--border); border-radius: 14px; background: #fff; }
a.contact-card { transition: border-color .15s, transform .15s; }
a.contact-card:hover { border-color: var(--orange); transform: translateY(-2px); }
.contact-card strong { margin-top: 8px; font-size: calc(17px * var(--fs)); }
.contact-card > span:last-child { color: var(--muted); font-size: calc(14px * var(--fs)); word-break: break-word; }
.contact-icon { background: var(--navy); color: #fff; }
.hours-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.hours-head strong { margin: 0; }
.hours-card ul { margin: 6px 0 0; padding: 0; list-style: none; font-size: calc(14px * var(--fs)); }
.hours-card li { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-bottom: 1px dashed var(--border); color: var(--muted); }
.hours-card li:last-child { border: 0; }
.hours-card li.today { color: var(--ink); font-weight: 800; }
.status { display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; border-radius: 99px; background: #eef1f5; color: var(--muted); font-size: calc(12.5px * var(--fs)); font-weight: 800; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status.is-open { background: #e3f5ec; color: var(--ok); }
.status.is-closed { background: #fdeceb; color: var(--error); }

/* ---------- Footer ---------- */
.footer { padding: 38px 0 26px; background: #061a36; color: #fff; }
.footer-inner { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 24px; align-items: start; }
.footer-brand { font-style: italic; font-weight: 900; font-size: calc(22px * var(--fs)); letter-spacing: -.5px; }
.footer p { margin: 8px 0 0; font-size: calc(13px * var(--fs)); line-height: 1.5; color: #b6c1d0; }
.footer nav { display: grid; gap: 4px; font-size: calc(14px * var(--fs)); color: #d5deea; }
.footer nav a { padding-block: 3px; }
.footer nav a:hover, .footer-contact:hover { color: var(--orange); }
.footer-contact { display: flex; align-items: center; gap: 9px; min-height: 28px; margin-bottom: 6px; font-size: calc(14px * var(--fs)); font-weight: 700; }
.footer-contact .icon { color: var(--orange); }
.fine { margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: calc(12px * var(--fs)); color: #9fb0c6; }

/* ---------- 404 page ---------- */
.notfound { padding-block: 90px; text-align: center; }
.notfound p { color: var(--muted); }
.notfound .btn { margin: 8px 6px 0; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .container { padding-inline: 22px; }
  .links { gap: 16px; font-size: calc(13px * var(--fs)); }
  .brand-name { font-size: 27px; }
  .brand-sub { font-size: 8.5px; }
  .phone-btn span { display: none; }
  .quote { grid-template-columns: 220px 1fr; }
  .quote-intro { padding: 20px 14px; }
  .quote-fields { gap: 10px; }
  .price-card h3 { font-size: calc(19px * var(--fs)); }
  .service-content { padding-right: 22px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .hours-card { grid-column: 1 / -1; grid-row: auto; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile menu */
@media (max-width: 900px) {
  .icon-btn { display: inline-flex; }
  .phone-btn, .quote-btn { display: none; }
  .links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 22px 16px;
    background: #fff; box-shadow: 0 14px 20px rgba(0, 0, 0, .12); font-size: calc(16px * var(--fs));
  }
  .links.open { display: flex; }
  .links a { padding: 13px 0; border-bottom: 1px solid var(--border); }
  .links a.active { border-bottom-color: var(--border); }
}

@media (max-width: 790px) {
  .nav { min-height: 66px; }
  .hero { min-height: 0; }
  .hero-photo { width: 100%; opacity: .5; object-position: 25% center; }
  .hero::after { background: linear-gradient(90deg, rgba(4, 23, 47, .93), rgba(6, 30, 59, .7)); }
  .hero-content { padding-top: 42px; padding-bottom: 100px; }
  .hero h1 { font-size: calc(42px * var(--fs)); }
  .quote { grid-template-columns: 1fr; }
  .quote-intro { align-items: center; }
  .quote-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 18px; }
  .quote-fields .btn { height: 44px; }
  .quote-details { grid-template-columns: 1fr; padding: 18px; }
  .quote-result { padding: 18px; }
  .quote-result .btn { width: 100%; }
  .field input, .field select, .field textarea { height: 44px; font-size: calc(16px * var(--fs)); } /* 16px stops iPhone zooming in */
  .field textarea { height: auto; }
  .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
  .price-card.featured { grid-column: 1 / -1; }
  .service-band { grid-template-columns: minmax(0, 1fr); }
  .service-image { min-height: 240px; clip-path: none; }
  .service-content { padding: 30px 22px 36px; }
  .steps { grid-template-columns: 1fr; gap: 16px; }
  .service-grid { grid-template-columns: 1fr; gap: 12px; }
  .service-item { padding: 18px; }
  .contact-grid { grid-template-columns: 1fr; gap: 12px; }
  a.contact-card { display: grid; grid-template-columns: 46px 1fr; column-gap: 14px; row-gap: 2px; align-items: center; padding: 16px 18px; }
  a.contact-card .contact-icon { grid-row: span 2; }
  a.contact-card strong { margin-top: 0; align-self: end; }
  a.contact-card > span:last-child { align-self: start; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .container { padding-inline: 16px; }
  .brand { gap: 8px; }
  .logo-mark { width: 36px; height: 24px; }
  .brand-name { font-size: 24px; }
  .brand-sub { font-size: 7.5px; }
  .hero h1 { font-size: calc(36px * var(--fs)); }
  .hero p { font-size: calc(16px * var(--fs)); }
  .quote-fields { grid-template-columns: 1fr; }
  .section-title { font-size: calc(28px * var(--fs)); }
  .price-card { padding: 16px 8px 12px; min-height: 0; }
  .price-card h3 { font-size: calc(18px * var(--fs)); }
  .price-card strong { font-size: calc(23px * var(--fs)); }
  .features { grid-template-columns: 1fr; }
  .city-grid { gap: 10px 16px; font-size: calc(13px * var(--fs)); }
}

/* ==========================================================================
   Accessibility menu (js/a11y.js) and the modes it switches on
   ========================================================================== */
.a11y-fab {
  position: fixed; left: 16px; bottom: 16px; z-index: 60;
  display: grid; place-items: center; width: 52px; height: 52px; padding: 0;
  border: 2px solid #fff; border-radius: 50%; background: var(--navy-2); color: #fff; font-size: 30px;
  box-shadow: 0 6px 16px rgba(6, 28, 59, .35);
}
.a11y-fab:hover { background: var(--navy); }
.a11y-fab.is-on::after { content: ""; position: absolute; top: 1px; right: 1px; width: 12px; height: 12px; border: 2px solid #fff; border-radius: 50%; background: var(--orange-text); }
.a11y-panel {
  position: fixed; left: 16px; bottom: 80px; z-index: 61;
  width: min(340px, calc(100vw - 32px)); max-height: calc(100vh - 100px); overflow: auto;
  padding: 16px 18px 18px; border: 2px solid var(--navy-2); border-radius: 14px;
  background: #fff; color: var(--ink); box-shadow: 0 18px 40px rgba(6, 28, 59, .3);
  font-size: calc(15px * var(--fs)); line-height: 1.4;
}
.a11y-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.a11y-head h2 { margin: 0; font-size: calc(20px * var(--fs)); outline: none; }
.a11y-close { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -10px; border: 0; border-radius: 8px; background: none; color: var(--navy); font-size: calc(22px * var(--fs)); }
.a11y-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 0 14px; margin-bottom: 12px; border-bottom: 1px solid var(--border); font-weight: 800; }
.a11y-size { display: flex; align-items: center; gap: 6px; }
.a11y-size button { min-width: 44px; min-height: 44px; padding: 0 10px; border: 2px solid var(--navy-2); border-radius: 8px; background: #fff; color: var(--navy-2); font-weight: 800; }
.a11y-size output { min-width: 52px; text-align: center; }
.a11y-toggle {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; min-height: 48px; margin-bottom: 8px; padding: 8px 12px;
  border: 2px solid var(--field-border); border-radius: 10px; background: #fff; color: var(--ink);
  text-align: left; font-weight: 700;
}
.a11y-toggle::after {
  content: "Off"; content: "Off" / ""; flex: none; min-width: 46px; padding: 4px 8px; border-radius: 99px;
  background: #e5e9f0; color: var(--ink); font-size: calc(12px * var(--fs)); font-weight: 800; text-align: center;
}
.a11y-toggle[aria-pressed="true"] { border-color: var(--navy-2); background: #eef3fa; }
.a11y-toggle[aria-pressed="true"]::after { content: "On"; content: "On" / ""; background: var(--navy-2); color: #fff; }
.a11y-reset { display: block; min-height: 44px; margin: 2px auto 0; padding: 0 12px; border: 0; background: none; color: var(--navy-2); font-weight: 800; text-decoration: underline; }
.a11y-help, .a11y-note { margin: 10px 0 0; line-height: 1.5; }
.a11y-help a { font-weight: 800; text-decoration: underline; }
.a11y-note { color: var(--muted); font-size: calc(13px * var(--fs)); }
.footer-a11y { padding: 0; border: 0; background: none; color: inherit; text-align: left; }
@media (max-width: 790px) { .footer { padding-bottom: 88px; } }  /* keep the round button off the last lines */
@media print { .a11y-fab, .a11y-panel { display: none !important; } }

/* --- High contrast --- */
html.a11y-contrast { --ink: #000; --muted: #1b1f24; --border: #4b5563; --field-border: #000; --soft: #fff; }
html.a11y-contrast .section-desc, html.a11y-contrast .price-card p, html.a11y-contrast .price-note,
html.a11y-contrast .field input, html.a11y-contrast .field select, html.a11y-contrast .field textarea { color: #000; }
html.a11y-contrast .btn:not(.btn-outline):not(.btn-navy) { background: #8a2c00; }
html.a11y-contrast .btn-navy, html.a11y-contrast .contact-icon { background: #000; }
html.a11y-contrast .price-card, html.a11y-contrast .service-item, html.a11y-contrast .feature, html.a11y-contrast .step,
html.a11y-contrast .contact-card, html.a11y-contrast .faq-list details, html.a11y-contrast .field input,
html.a11y-contrast .field select, html.a11y-contrast .field textarea { border: 2px solid #000; }
html.a11y-contrast .price-card strong, html.a11y-contrast .estimate-price, html.a11y-contrast .step b,
html.a11y-contrast .links a.active, html.a11y-contrast .links a:hover { color: #8a2c00; }
html.a11y-contrast .underline { background: #000; }
html.a11y-contrast .hero::after { background: rgba(0, 0, 0, .85); }
html.a11y-contrast .hero h1 em { color: #ffb37d; }
html.a11y-contrast .quote-intro, html.a11y-contrast .service-band, html.a11y-contrast .footer { background: #000; }
html.a11y-contrast .quote-intro p, html.a11y-contrast .service-content p, html.a11y-contrast .footer p,
html.a11y-contrast .footer nav, html.a11y-contrast .fine { color: #fff; }
html.a11y-contrast a:not(.btn):not(.brand):not(.icon-btn):not(.skip-link):not(.a11y-fab) { text-decoration: underline; }
html.a11y-contrast :focus-visible { outline-width: 4px; }

/* --- Underline links --- */
html.a11y-links a:not(.btn):not(.brand):not(.icon-btn):not(.skip-link),
html.a11y-links .link-btn, html.a11y-links .footer-a11y, html.a11y-links .faq-list summary {
  text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px;
}

/* --- Easier reading: the spacing values from WCAG 1.4.12 --- */
html.a11y-spacing body, html.a11y-spacing body *:not(svg):not(use) {
  letter-spacing: .12em !important; word-spacing: .16em !important; line-height: 1.6 !important;
}
html.a11y-spacing p { margin-bottom: 1em; }
html.a11y-spacing .brand-name, html.a11y-spacing .brand-sub { letter-spacing: normal !important; line-height: 1 !important; } /* logo keeps its shape */
html.a11y-spacing .btn { white-space: normal; height: auto !important; min-height: 44px; text-align: center; }

/* --- Bigger text (130%+) or extra spacing: let the price cards wrap to fewer per row --- */
html.a11y-bigtext .price-grid, html.a11y-spacing .price-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
html.a11y-bigtext .price-card.featured, html.a11y-spacing .price-card.featured { grid-column: auto; }

/* --- Stop animations --- */
html.a11y-motion { scroll-behavior: auto; }
html.a11y-motion *, html.a11y-motion *::before, html.a11y-motion *::after { transition: none !important; animation: none !important; }
html.a11y-motion .price-card:hover, html.a11y-motion a.contact-card:hover { transform: none; }
