/* The Best Garage Door: contractor-style theme. Navy + royal blue from the logo, orange for calls to action. */
:root {
  --navy: #03234a;
  --navy-deep: #021a37;
  --blue: #0558b3;
  --ink: #1b2430;
  --muted: #5b6673;
  --line: #d9dee5;
  --bg: #ffffff;
  --bg-alt: #f2f4f7;
  --accent: #c9500c;          /* white text 4.5:1 */
  --accent-dark: #a8420a;
  --accent-ink: #b44308;       /* orange dark enough for text on white */
  --good: #15803d;
  --radius: 3px;
  --wrap: 1220px;
  --display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", system-ui, sans-serif;
  --body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  font-family: var(--body);
  -webkit-text-size-adjust: 100%;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); line-height: 1.65; font-size: 1.125rem; padding-bottom: 64px; }
@media (min-width: 900px) { body { padding-bottom: 0; } }
img, svg { max-width: 100%; }
a { color: var(--blue); }
h1, h2, h3 { font-family: var(--display); color: var(--navy); margin: 0 0 .45em; line-height: 1.05; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); font-weight: 800; text-transform: uppercase; letter-spacing: .5px; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; text-transform: uppercase; letter-spacing: .4px; }
h3 { font-size: 1.45rem; font-weight: 700; line-height: 1.15; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 20px; }
.narrow { max-width: 880px; }
.muted { color: var(--muted); }
.fine { color: var(--muted); font-size: .9rem; }
.icon { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; vertical-align: -.15em; }
.skip, .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; left: 12px; top: 12px; width: auto; height: auto; clip: auto; z-index: 99; background: #fff; padding: 8px 12px; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.hero :focus-visible, .cta-band :focus-visible, .site-footer :focus-visible, .aside-card :focus-visible, .mobile-bar :focus-visible,
.topbar :focus-visible, .svc-tile:focus-visible, .chat-head :focus-visible { outline-color: #ffb020; }
html { scroll-padding-top: 120px; }
a, button, input, label, summary { touch-action: manipulation; -webkit-tap-highlight-color: rgba(5, 88, 179, .15); }
.spaced { margin-top: 18px; }
.eyebrow { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; font-size: 1rem; color: var(--accent-ink); margin: 0 0 .4em; }
.lede { font-size: 1.2rem; max-width: 62ch; }
.link { font-weight: 700; }

/* Buttons: square-ish, uppercase, heavy */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 52px; padding: .7em 1.35em;
  border-radius: var(--radius); font-family: var(--display); font-weight: 700; font-size: 1.2rem; letter-spacing: .5px;
  text-transform: uppercase; text-decoration: none; border: 2px solid transparent; cursor: pointer; white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-outline, .btn-light { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover, .btn-light:hover { background: var(--navy); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--navy); }
.btn-ghost, .btn-text { background: transparent; color: var(--blue); border-color: transparent; text-decoration: underline; text-underline-offset: 3px; }
.btn-ghost:hover, .btn-text:hover { color: var(--navy); }
.btn-sm { min-height: 42px; font-size: 1.02rem; padding: .45em 1em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta-stack .btn, .aside-card .cta-row .btn { flex: 1 1 100%; }
@media (max-width: 560px) { .cta-row .btn { flex: 1 1 100%; } }

/* Utility bar + header */
.topbar { background: var(--navy-deep); color: #d5e2f0; font-size: .88rem; font-weight: 500; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-block: 7px; }
.topbar span { display: inline-flex; gap: 6px; align-items: center; }
@media (max-width: 760px) { .hide-sm { display: none !important; } .topbar .wrap { justify-content: center; } }
.site-header { background: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 0 var(--line); }
.header-inner { display: flex; align-items: center; gap: 22px; min-height: 96px; }
.logo { flex: none; display: block; }
.logo img { height: 78px; width: auto; display: block; }
.site-nav { margin-left: auto; }
.site-nav > ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.site-nav a { display: block; padding: 12px 11px; text-decoration: none; color: var(--navy); font-family: var(--display);
  font-weight: 700; font-size: 1.12rem; text-transform: uppercase; letter-spacing: .4px; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--accent-ink); }
.has-sub { position: relative; }
.sub { display: none; position: absolute; top: 100%; left: 0; background: #fff; border-top: 3px solid var(--accent);
  box-shadow: 0 12px 30px rgba(2, 26, 55, .18); list-style: none; padding: 8px 0; margin: 0; min-width: 270px; }
.has-sub:hover .sub, .has-sub:focus-within .sub { display: block; }
.sub a { font-family: var(--body); text-transform: none; font-weight: 600; font-size: 1rem; padding: 9px 18px; letter-spacing: 0; }
.sub a:hover { background: var(--bg-alt); }
.header-phone { display: grid; text-decoration: none; color: var(--navy); font-family: var(--display); font-weight: 800;
  font-size: 1.65rem; line-height: 1; white-space: nowrap; }
.header-phone small { font-family: var(--body); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--accent-ink); margin-bottom: 3px; }
.header-book { flex: none; }
.sub-toggle { display: none; }
.nav-toggle { display: none; background: none; border: 0; width: 48px; height: 48px; padding: 12px 10px; cursor: pointer; }
.nav-toggle span { display: block; height: 3px; background: var(--navy); margin: 5px 0; }
@media (max-width: 1180px) {
  .site-nav a { font-size: 1rem; padding: 12px 8px; }
  .header-phone { font-size: 1.4rem; }
}
@media (max-width: 1040px) {
  .nav-toggle { display: block; margin-left: auto; }
  .header-phone, .header-book { display: none; }
  .header-inner { min-height: 76px; }
  .logo img { height: 60px; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; box-shadow: 0 14px 30px rgba(2,26,55,.2); }
  .site-nav.open { display: block; }
  .site-nav > ul { flex-direction: column; padding: 6px 20px 18px; }
  .site-nav { max-height: calc(100vh - var(--nav-top, 120px)); max-height: calc(100dvh - var(--nav-top, 120px)); overflow-y: auto; overscroll-behavior: contain; }
  .site-nav a { font-size: 1.25rem; padding: 12px 0; min-height: 48px; border-bottom: 1px solid var(--line); }
  .has-sub { display: flex; flex-wrap: wrap; align-items: stretch; }
  .has-sub > a { flex: 1; }
  .sub-toggle { flex: none; width: 52px; min-height: 48px; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--navy); cursor: pointer; display: grid; place-items: center; }
  .sub-toggle svg { width: 22px; height: 22px; fill: currentColor; transition: transform .25s var(--ease-out); }
  .sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .sub, .has-sub:hover .sub, .has-sub:focus-within .sub { display: none; position: static; box-shadow: none; border: 0; min-width: 0; animation: none; }
  .has-sub.sub-open .sub { display: grid; flex: 1 1 100%; grid-template-columns: repeat(auto-fill, minmax(135px, 1fr)); gap: 0 14px; padding: 4px 0 10px 12px; border-left: 3px solid var(--accent); margin: 8px 0 6px; }
  .sub a { font-size: 1rem; padding: 10px 0; min-height: 44px; border-bottom: 0; display: flex; align-items: center; line-height: 1.25; }
}

/* Breadcrumbs */
.crumbs { font-size: .88rem; color: var(--muted); padding-block: 10px; }
.crumbs a { color: var(--muted); display: inline-block; padding-block: 6px; }

/* Hero: full-bleed photo with navy overlay */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; isolation: isolate; }
.hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(3,35,74,.94) 0%, rgba(3,35,74,.82) 45%, rgba(3,35,74,.45) 100%); }
.hero-inner { display: grid; gap: 40px; align-items: center; padding-block: 72px 80px; }
.hero-with-card { grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr); }
.hero-short .hero-inner { padding-block: 52px 56px; }
@media (max-width: 960px) {
  .hero-with-card { grid-template-columns: 1fr; }
  .hero-inner { padding-block: 40px 44px; }
  .hero::before { background: linear-gradient(180deg, rgba(3,35,74,.86), rgba(3,35,74,.93)); }
}
.hero h1 { color: #fff; }
.hero .eyebrow { color: #ffb27a; }
.hero .lede { color: #e3ebf4; }
.cta-hero { margin: 26px 0 18px; }
.hero-checks { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 0; font-weight: 600; }
.hero-checks li { display: inline-flex; align-items: center; gap: 7px; }
.hero-checks .icon { color: #ffb27a; width: 1.25em; height: 1.25em; }
.hero-card-form { background: #fff; color: var(--ink); border-top: 6px solid var(--accent); padding: 26px 24px 18px; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.hero-card-form h2 { font-size: 1.9rem; margin-bottom: .15em; }
.hero-card-form > p { color: var(--muted); margin-bottom: 12px; }
.hero-card-form .issue-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
.hero-card-form .issue > span { padding: 10px 12px; flex-direction: row; align-items: center; gap: 10px; }
.hero-card-form .issue small { display: none; }
.hero-card-form .issue-icon { width: 26px; height: 26px; margin: 0; }
.hero-card-form .issue b { font-size: .98rem; }
.hero-card-foot { text-align: center; margin: 12px 0 0; font-weight: 600; color: var(--muted); }
.hero-card-foot a { color: var(--navy); font-weight: 800; }

/* Trust strip */
.trust-strip { background: #fff; border-bottom: 1px solid var(--line); }
.trust-strip ul { list-style: none; margin: 0; padding: 18px 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.trust-strip li { display: grid; align-content: center; padding: 4px 14px; border-left: 3px solid var(--accent); line-height: 1.3; }
.trust-strip b, .trust-strip a { font-family: var(--display); font-weight: 800; font-size: 1.2rem; text-transform: uppercase; color: var(--navy); text-decoration: none; }
.trust-strip span { font-size: .88rem; color: var(--muted); }
@media (max-width: 960px) { .trust-strip ul { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
.stars { color: #f5a623; letter-spacing: 1px; }

/* Sections */
.section { padding-block: 72px; }
.section-soft { background: var(--bg-alt); }
.section-dark { background: var(--navy); color: #e3ebf4; }
.section-dark h2, .section-dark h3 { color: #fff; }
@media (max-width: 700px) { .section { padding-block: 52px; } }
.section-head { max-width: 780px; margin-bottom: 32px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.updated { color: var(--muted); font-size: .92rem; padding-top: 22px; margin: 0; }
.prose { max-width: 780px; }
.prose h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); margin-top: 1.2em; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .45em; }
.two-col { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: minmax(0, 1fr); } }
.aside-card { background: var(--navy); color: #e3ebf4; padding: 26px 24px; position: sticky; top: 120px; border-top: 6px solid var(--accent); }
.aside-card h3 { color: #fff; font-size: 1.8rem; text-transform: uppercase; }
.aside-card a:not(.btn) { color: #ffb27a; }
.aside-card .btn-light, .aside-card .btn-outline { background: transparent; color: #fff; border-color: #fff; }
.aside-card .btn-light:hover, .aside-card .btn-outline:hover { background: #fff; color: var(--navy); }
.aside-card .btn-ghost, .aside-card .btn-text { color: #fff; }
.aside-card .checklist li::before { color: #ffb27a; }
.aside-card .muted { color: #b9c9da; }
.callout { border-left: 5px solid var(--blue); background: #eef4fb; padding: 16px 20px; margin: 1.4em 0; }
.callout-safety { border-color: #c81e1e; background: #fdf1f1; }
.checklist { list-style: none; padding: 0 !important; }
.checklist li { padding-left: 1.9em; position: relative; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-ink); font-weight: 800; }

/* Services: photo tiles */
.svc-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 900px) { .svc-tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .svc-tiles { grid-template-columns: 1fr; } }
.svc-tile { position: relative; display: flex; min-height: 300px; color: #fff; text-decoration: none; overflow: hidden; background: var(--navy); isolation: isolate; }
.svc-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .35s; }
.svc-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(3,35,74,.05) 20%, rgba(3,35,74,.92) 78%); }
.svc-tile:hover img { transform: scale(1.05); }
.svc-tile-body { margin-top: auto; padding: 20px 20px 18px; display: grid; gap: 4px; }
.svc-tile b { font-family: var(--display); font-size: 1.75rem; font-weight: 800; text-transform: uppercase; line-height: 1; }
.svc-tile small { font-size: .95rem; color: #dbe5ef; line-height: 1.4; }
.svc-tile-go { font-family: var(--display); font-weight: 700; text-transform: uppercase; color: #ffb27a; letter-spacing: .5px; margin-top: 4px; }

/* Why choose us */
.why { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 44px; align-items: stretch; }
@media (max-width: 900px) { .why { grid-template-columns: 1fr; } }
.why-photo img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; display: block; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; align-content: center; }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }
.why-num { font-family: var(--display); font-weight: 800; font-size: 3.2rem; line-height: 1; color: var(--accent-ink); text-transform: uppercase; }
.why-point h3 { margin: 6px 0 6px; text-transform: uppercase; font-size: 1.35rem; }
.why-point p { color: var(--muted); margin: 0; font-size: 1rem; }

/* Coupons */
.offer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 18px; }
.offer { position: relative; background: #fff; border: 3px dashed var(--accent); padding: 26px 22px 18px; display: flex; flex-direction: column; gap: 8px; text-align: center; align-items: center; }
.offer-tag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--navy); color: #fff; font-family: var(--display);
  font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: .85rem; padding: 3px 12px; white-space: nowrap; }
.offer-title { font-family: var(--display); font-weight: 800; font-size: 2.1rem; line-height: 1; color: var(--navy); text-transform: uppercase; }
.offer p { color: var(--muted); margin: 0; flex: 1; font-size: 1rem; }
.offer-foot { font-size: .8rem; color: var(--muted); }
.offer-empty { grid-column: 1 / -1; max-width: 560px; margin-inline: auto; }

/* Reviews */
.reviews-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.rating-line { font-family: var(--display); font-weight: 700; font-size: 1.3rem; text-transform: uppercase; color: var(--navy); }
.rating-line .stars { font-size: 1.4rem; }
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 18px; }
.review { margin: 0; background: #fff; border-top: 4px solid var(--blue); padding: 22px; box-shadow: 0 0 0 1px var(--line); }
.review blockquote { margin: .4em 0 .8em; }
.review figcaption { color: var(--muted); font-size: .92rem; }
.review-empty { text-align: center; }

/* Process */
.process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
@media (max-width: 900px) { .process { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } }
.step-num { display: block; font-family: var(--display); font-weight: 800; font-size: 3.6rem; line-height: 1; color: var(--accent-ink); border-bottom: 3px solid var(--navy); padding-bottom: 8px; margin-bottom: 12px; }
.process h3 { text-transform: uppercase; }
.process p { color: var(--muted); margin: 0; font-size: 1rem; }

/* Photos */
.photo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.photo { margin: 0; }
.photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-slot { aspect-ratio: 4 / 3; background: repeating-linear-gradient(45deg, #eef1f5, #eef1f5 10px, #e3e8ee 10px, #e3e8ee 20px);
  display: grid; place-items: center; color: var(--muted); font-size: .85rem; border: 1px dashed #b8c4cf; }
.photo figcaption { font-size: .9rem; color: var(--muted); margin-top: 6px; }

/* Areas */
.area-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 24px; list-style: none; padding: 0; margin: 0; }
@media (max-width: 900px) { .area-list { grid-template-columns: repeat(2, 1fr); } }
.area-list a { display: flex; gap: 8px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none;
  font-family: var(--display); font-weight: 700; font-size: 1.25rem; text-transform: uppercase; color: var(--navy); }
.area-list a:hover { color: var(--accent-ink); }
.area-list .icon { color: var(--accent); }
.map-wrap { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--line); background: var(--bg-alt); }
.map-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); margin-bottom: 1em; }
.price-table { width: 100%; border-collapse: collapse; background: #fff; }
.price-table th, .price-table td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.price-table th { background: var(--navy); color: #fff; font-family: var(--display); text-transform: uppercase; letter-spacing: .5px; font-size: 1.05rem; }
.price-table td:last-child { font-weight: 700; font-variant-numeric: tabular-nums; }
.price-table tr:nth-child(even) td { background: #f8f9fb; }
.price-table tr:last-child td { border-bottom: 0; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 44px 18px 0; font-family: var(--display); font-weight: 700; font-size: 1.35rem; color: var(--navy); list-style: none; position: relative; line-height: 1.2; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font-size: 2rem; color: var(--accent); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 0 18px; color: #3a4550; }

/* CTA band */
.cta-band { background: var(--navy) linear-gradient(120deg, var(--navy-deep), var(--navy) 60%, #06356e); color: #fff; padding-block: 60px; border-top: 6px solid var(--accent); }
.cta-band-inner { display: grid; grid-template-columns: minmax(0, 1.2fr) auto; gap: 32px; align-items: center; }
@media (max-width: 900px) { .cta-band-inner { grid-template-columns: 1fr; } }
.cta-band h2 { color: #fff; margin-bottom: .2em; }
.cta-band .eyebrow { color: #ffb27a; }
.cta-band p { color: #cfdcea; margin: 0; }
.cta-band-actions { display: grid; gap: 14px; justify-items: start; }
.big-phone { display: inline-flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 800; font-size: clamp(2.4rem, 5vw, 3.4rem); color: #fff; text-decoration: none; line-height: 1; }
.big-phone .icon { color: var(--accent); }

/* Issue picker */
.issue-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 10px; margin: 14px 0 6px; }
.issue { position: relative; display: block; text-decoration: none; color: var(--ink); cursor: pointer; }
.issue input { position: absolute; opacity: 0; }
.issue > span { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; height: 100%; padding: 16px 14px;
  border: 2px solid #8a96a3; background: #fff; transition: border-color .12s, background .12s; }
.issue b { color: var(--navy); font-size: 1.05rem; line-height: 1.2; }
.issue small { color: var(--muted); font-size: .85rem; line-height: 1.3; }
.issue-icon { width: 34px; height: 34px; color: var(--blue); fill: currentColor; margin-bottom: 8px; }
.issue:hover > span { border-color: var(--accent); background: #fff8f2; }
.issue input:checked + span { border-color: var(--accent); background: #fff1e6; }
.issue input:focus-visible + span { outline: 3px solid #ffb020; outline-offset: 2px; }
@media (max-width: 440px) { .issue-grid { grid-template-columns: 1fr 1fr; } .issue > span { padding: 12px 10px; } }
.picked { font-weight: 700; color: var(--accent-ink); }

/* Booking + forms */
.booking { background: #fff; border-top: 6px solid var(--accent); box-shadow: 0 0 0 1px var(--line), 0 18px 40px rgba(2,26,55,.1); padding: 30px; }
.booking-steps { display: flex; gap: 6px; list-style: none; padding: 0; margin: 0 0 22px; }
.booking-steps li { flex: 1; height: 6px; background: var(--line); }
.booking-steps li.done { background: var(--accent); }
.step { border: 0; padding: 0; margin: 0; min-width: 0; }
.field + .form-msg { margin: -6px 0 12px; }
.step[hidden] { display: none; }
.step h2 { font-size: 2rem; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label, .legend { font-weight: 700; font-size: 1rem; color: var(--navy); }
.field input, .field textarea, .field select { font: inherit; font-size: 1.05rem; padding: 13px 14px; border: 2px solid #7b8794; border-radius: var(--radius); width: 100%; background: #fff; min-height: 52px; }
.field [aria-invalid="true"] { border-color: #b91c1c; }
.field input:focus, .field textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(5, 88, 179, .18); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } .booking { padding: 20px 16px; } }
.options { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin-bottom: 16px; }
.option { position: relative; }
.option input { position: absolute; opacity: 0; }
.option span { display: block; border: 2px solid #8a96a3; padding: 12px 14px; cursor: pointer; font-weight: 700; height: 100%; }
.option small { display: block; font-weight: 400; color: var(--muted); }
.option input:checked + span { border-color: var(--accent); background: #fff1e6; }
.option input:focus-visible + span { outline: 3px solid #ffb020; }
.step-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 8px; }
.form-msg { font-weight: 700; margin: 8px 0 0; }
.form-msg.bad { color: #b91c1c; }
.form-msg.ok { color: var(--good); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); margin-bottom: 14px; }
.consent input { margin-top: 5px; width: 18px; height: 18px; }
.booking-embed { width: 100%; min-height: 760px; border: 0; }
.booking-done { text-align: center; padding: 30px 20px; }
.booking-done .icon { width: 60px; height: 60px; color: var(--good); }

/* Learning center & blog */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; margin-bottom: 40px; }
.post-card { display: flex; flex-direction: column; background: #fff; box-shadow: 0 0 0 1px var(--line); text-decoration: none; color: var(--ink); }
.post-card:hover { box-shadow: 0 0 0 2px var(--navy); }
.post-card-img img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.post-card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.post-card-body h3 { font-size: 1.5rem; }
.post-card-body p { color: var(--muted); font-size: 1rem; flex: 1; }
.post-meta { font-size: .8rem; text-transform: uppercase; letter-spacing: 1px; color: var(--accent-ink); font-weight: 700; margin-bottom: 6px; }
.read-more { font-family: var(--display); font-weight: 700; text-transform: uppercase; color: var(--blue); }
.lc-cat { margin-top: 16px; scroll-margin-top: 130px; font-size: clamp(1.7rem, 3vw, 2.3rem); border-bottom: 3px solid var(--navy); padding-bottom: 8px; }
.lc-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.chip-link { padding: 8px 16px; border: 2px solid var(--navy); color: var(--navy); text-decoration: none; font-family: var(--display); font-weight: 700; text-transform: uppercase; }
.chip-link:hover { background: var(--navy); color: #fff; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #b9c9da; padding-top: 56px; font-size: 1rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #ffb27a; }
.site-footer h2 { color: #fff; font-size: 1.35rem; letter-spacing: 1px; border-bottom: 3px solid var(--accent); padding-bottom: 8px; display: inline-block; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.site-footer li a { display: inline-block; padding-block: 6px; }
.site-footer address { font-style: normal; margin: 16px 0; line-height: 1.7; }
.site-footer .btn-primary { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.logo-footer img { height: 104px; width: auto; }
.site-footer .fine { color: #8ea4ba; }
.footer-base { border-top: 1px solid #16375c; margin-top: 40px; padding-block: 18px; font-size: .88rem; color: #8ea4ba; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-legal a { color: #b9c9da !important; text-decoration: underline; text-underline-offset: 3px; }

/* Mobile action bar */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr;
  box-shadow: 0 -4px 18px rgba(0,0,0,.18); padding-bottom: env(safe-area-inset-bottom, 0px); background: var(--navy); }
.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 60px; text-decoration: none; color: #fff;
  font-family: var(--display); font-weight: 800; font-size: 1.2rem; text-transform: uppercase; letter-spacing: .5px; }
.mobile-bar .icon { width: 22px; height: 22px; }
.mobile-bar .mb-call { background: var(--accent); }
.mobile-bar .mb-book { background: var(--navy); }
@media (min-width: 900px) { .mobile-bar { display: none; } }

/* Floating widgets: accessibility (left) and chat (right) */
.fab { position: fixed; bottom: 20px; z-index: 70; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 8px 24px rgba(2,26,55,.3); font-family: var(--display); font-weight: 700; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .5px; }
.fab svg { width: 26px; height: 26px; fill: currentColor; }
.fab-a11y { left: 20px; width: 52px; height: 52px; justify-content: center; border-radius: 50%; background: var(--blue); color: #fff; }
.fab-chat { right: 20px; min-height: 52px; padding: 0 18px; border-radius: 26px 26px 4px 26px; background: var(--navy); color: #fff; }
.fab:hover { filter: brightness(1.12); }
@media (max-width: 899px) {
  .fab { bottom: 76px; }
  .fab-a11y { left: 12px; width: 46px; height: 46px; }
  .fab-chat { right: 12px; padding: 0 14px; min-height: 46px; }
  .fab-chat span { display: none; }
}
.fab-panel { position: fixed; bottom: 84px; z-index: 71; background: #fff; box-shadow: 0 18px 50px rgba(2,26,55,.35); border-top: 5px solid var(--accent); }
@media (max-width: 899px) { .fab-panel { bottom: 132px; } }
.a11y-panel { left: 20px; width: min(300px, calc(100vw - 24px)); padding: 18px 18px 14px; }
.a11y-panel h2 { font-size: 1.5rem; margin-bottom: .4em; }
.a11y-row { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; cursor: pointer; border-bottom: 1px solid var(--line); }
.a11y-row input { width: 22px; height: 22px; accent-color: var(--blue); }
.a11y-reset { margin: 12px 12px 0 0; min-height: 40px; padding: 0 14px; border: 2px solid var(--navy); background: #fff; color: var(--navy); font-weight: 700; cursor: pointer; }
.a11y-panel a { font-size: .9rem; }
.chat-panel { right: 20px; width: min(370px, calc(100vw - 24px)); height: min(560px, calc(100vh - 160px)); display: flex; flex-direction: column; }
.chat-panel[hidden] { display: none; }
@media (max-width: 899px) { .chat-panel { right: 12px; height: min(520px, calc(100vh - 200px)); } }
.chat-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--navy); color: #fff; padding: 12px 14px; }
.chat-head b { display: block; font-family: var(--display); font-size: 1.2rem; text-transform: uppercase; }
.chat-head small { color: #b9c9da; font-size: .78rem; }
.chat-close { background: none; border: 0; color: #fff; font-size: 1.8rem; line-height: 1; width: 40px; height: 40px; cursor: pointer; }
.chat-log { flex: 1; overflow-y: auto; padding: 14px; background: var(--bg-alt); display: flex; flex-direction: column; gap: 8px; }
.chat-msg { max-width: 88%; padding: 10px 12px; font-size: .95rem; line-height: 1.45; }
.chat-msg.bot { background: #fff; align-self: flex-start; box-shadow: 0 0 0 1px var(--line); }
.chat-msg.me { background: var(--blue); color: #fff; align-self: flex-end; }
.chat-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.chat-chip { display: inline-flex; align-items: center; min-height: 38px; padding: 0 12px; border: 2px solid var(--navy); background: #fff; color: var(--navy);
  font-weight: 700; font-size: .88rem; text-decoration: none; cursor: pointer; font-family: var(--body); }
.chat-chip:hover { background: var(--navy); color: #fff; }
.chat-chip.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.chat-input { display: flex; gap: 6px; padding: 10px; border-top: 1px solid var(--line); }
.chat-input input { flex: 1; min-width: 0; font: inherit; font-size: 1rem; padding: 10px 12px; border: 2px solid #7b8794; }
.chat-input .btn { min-height: 44px; }

/* Accessibility preferences */
html.a11y-text { font-size: 118%; }
html.a11y-contrast { --ink: #000; --muted: #1f2933; --line: #6b7785; --bg-alt: #ffffff; --blue: #003a8c; --accent: #b83f00; --accent-dark: #8f3100; --accent-ink: #8f3100; }
html.a11y-contrast .hero::before { background: rgba(2, 20, 42, .96); }
html.a11y-contrast .fine, html.a11y-contrast .muted { color: #1f2933; }
html.a11y-links a:not(.btn):not(.fab):not(.chat-chip) { text-decoration: underline !important; text-underline-offset: 3px; }
html.a11y-spacing body { letter-spacing: .03em; word-spacing: .12em; line-height: 1.9; }
html.a11y-spacing p, html.a11y-spacing li { max-width: 70ch; }
html.a11y-motion *, html.a11y-motion *::before, html.a11y-motion *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
html.a11y-motion .reveal { opacity: 1 !important; transform: none !important; }

/* Motion */
:root { --ease-out: cubic-bezier(.16, 1, .3, 1); --ease-spring: cubic-bezier(.34, 1.36, .64, 1); }
html.motion .reveal { opacity: 0; transform: translate3d(0, 28px, 0); }
html.motion .reveal.in { opacity: 1; transform: none;
  transition: opacity .7s var(--ease-out), transform .8s var(--ease-out); transition-delay: var(--reveal-delay, 0ms); }

/* Hero entrance: transform-led so the headline paints immediately */
@keyframes rise { from { transform: translate3d(0, 22px, 0); opacity: .01; } to { transform: none; opacity: 1; } }
@keyframes rise-soft { from { transform: translate3d(0, 14px, 0); } to { transform: none; } }
@keyframes card-in { from { transform: translate3d(0, 36px, 0) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes hero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero h1 { animation: rise-soft .9s var(--ease-out) both; }
.hero .eyebrow { animation: rise .7s var(--ease-out) both; }
.hero .lede { animation: rise .8s var(--ease-out) .08s both; }
.hero .cta-hero { animation: rise .8s var(--ease-out) .16s both; }
.hero .hero-checks { animation: rise .8s var(--ease-out) .24s both; }
.hero-card-form { animation: card-in .9s var(--ease-out) .2s both; }
.hero-bg img { animation: hero-zoom 1.8s var(--ease-out) both; }

/* Hover and press feedback */
.btn { transition: background .15s, color .15s, border-color .15s, transform .25s var(--ease-spring), box-shadow .25s var(--ease-out); }
.btn:hover { transform: translateY(-2px); }
.btn-primary:hover { box-shadow: 0 10px 22px rgba(201, 80, 12, .35); }
.btn:active { transform: translateY(0) scale(.98); transition-duration: .08s; }
.issue > span { transition: border-color .15s, background .15s, transform .3s var(--ease-spring), box-shadow .3s var(--ease-out); }
.issue:hover > span { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(2, 26, 55, .12); }
.post-card, .review, .offer { transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out); }
.post-card:hover, .offer:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(2, 26, 55, .14), 0 0 0 1px var(--line); }
.post-card-img { overflow: hidden; }
.post-card-img img { transition: transform .6s var(--ease-out); }
.post-card:hover .post-card-img img { transform: scale(1.05); }
.svc-tile img { transition: transform .8s var(--ease-out); }
.svc-tile-go { transition: letter-spacing .3s var(--ease-out); }
.svc-tile:hover .svc-tile-go { letter-spacing: 1.5px; }
.area-list a { transition: color .15s, padding-left .3s var(--ease-out); }
.area-list a:hover { padding-left: 6px; }
.faq summary::after { transition: transform .3s var(--ease-spring); }
.faq details[open] summary::after { transform: rotate(180deg); }

/* Header shrinks on scroll */
.header-inner { transition: min-height .35s var(--ease-out); }
.logo img { transition: height .35s var(--ease-out); }
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(2, 26, 55, .12); }
@media (min-width: 1041px) {
  .site-header.is-scrolled .header-inner { min-height: 72px; }
  .site-header.is-scrolled .logo img { height: 58px; }
}

/* Floating panels and dropdowns */
@keyframes pop { from { opacity: 0; transform: translate3d(0, 12px, 0) scale(.97); } to { opacity: 1; transform: none; } }
.fab-panel:not([hidden]) { animation: pop .35s var(--ease-out); transform-origin: bottom right; }
.a11y-panel:not([hidden]) { transform-origin: bottom left; }
.fab { transition: transform .3s var(--ease-spring), filter .2s; }
.fab:hover { transform: translateY(-3px) scale(1.04); }
.chat-msg, .chat-actions { animation: pop .3s var(--ease-out); }
.has-sub:hover .sub, .has-sub:focus-within .sub { animation: pop .25s var(--ease-out); }
.site-nav.open { animation: pop .25s var(--ease-out); }
.step:not([hidden]) { animation: rise .45s var(--ease-out); }

/* Phones & tablets */
@media (min-width: 600px) and (max-width: 1040px) {
  .header-phone { display: grid; margin-left: auto; font-size: 1.3rem; }
  .nav-toggle { margin-left: 8px; }
}
@media (min-width: 900px) and (max-width: 1040px) { .header-book { display: inline-flex; } }
/* Comfortable tap targets on phones and touch tablets */
@media (max-width: 1040px), (pointer: coarse) {
  .crumbs a { padding-block: 11px; }
  .link, .fine a, .footer-legal a { display: inline-block; padding-block: 11px; }
  .big-phone { min-height: 48px; }
  .btn-sm { min-height: 46px; }
  .site-footer li a { display: flex; align-items: center; min-height: 44px; padding-block: 8px; line-height: 1.3; }
  .footer-legal { gap: 0 20px; }
  .chat-chip { min-height: 44px; }
  .chat-close { width: 44px; height: 44px; }
  .a11y-reset { min-height: 44px; }
  .a11y-panel a { display: inline-block; padding-block: 10px; }
  .lc-jump .chip-link { min-height: 44px; display: inline-flex; align-items: center; }
  .header-phone { padding-block: 4px; }
}
@media (max-width: 1040px) { html.nav-open .fab, html.nav-open .fab-panel { display: none; } }
@media (max-width: 899px) {
  .site-nav { max-height: calc(100vh - var(--nav-top, 120px) - 64px); max-height: calc(100dvh - var(--nav-top, 120px) - 64px - env(safe-area-inset-bottom, 0px)); }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
  html { scroll-padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
  .fab { bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  .fab-panel { bottom: calc(132px + env(safe-area-inset-bottom, 0px)); }
  .chat-panel { height: min(520px, calc(100dvh - 150px - env(safe-area-inset-bottom, 0px))); }
  .mobile-bar { padding-left: env(safe-area-inset-left, 0px); padding-right: env(safe-area-inset-right, 0px); }
  /* Photo shows through the hero a little more */
  .hero::before { background: linear-gradient(180deg, rgba(3,35,74,.8), rgba(3,35,74,.92)); }
  /* Tables: tighter cells, prices on one line */
  .price-table { font-size: 1rem; }
  .price-table th, .price-table td { padding: 10px 12px; line-height: 1.4; }
  .price-table th { font-size: 1rem; line-height: 1.2; }
  .price-table td:last-child:nth-child(2) { white-space: nowrap; }
  .map-wrap { aspect-ratio: 4 / 3; }
  .step-nav { flex-wrap: wrap; }
  .step-nav .btn-primary { flex: 1 1 auto; }
}
.hero-card-form .issue-icon { flex: none; }
@media (max-width: 400px) {
  .hero-card-form { padding-inline: 16px; }
  .hero-card-form .issue > span { padding: 10px 8px; gap: 8px; }
  .hero-card-form .issue-icon { width: 22px; height: 22px; }
}
@media (max-width: 599px) {
  /* Phones: chat opens as a near full-height sheet and rides above the on-screen keyboard (see widgets.js) */
  .chat-panel { left: 8px; right: 8px; width: auto; bottom: calc(8px + var(--kb, 0px) + env(safe-area-inset-bottom, 0px));
    height: min(560px, calc(var(--vvh, 100dvh) - 16px - env(safe-area-inset-bottom, 0px))); }
  .a11y-panel { left: 12px; }
}

@media (min-width: 600px) and (max-width: 960px) {
  .trust-strip ul { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 540px) {
  .footer-grid > div:nth-child(2) ul, .footer-grid > div:nth-child(3) ul, .footer-grid > div:nth-child(4) ul { grid-template-columns: 1fr 1fr; column-gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.motion .reveal { opacity: 1; transform: none; }
}
