/* Air Tech Solutions
   Navy and gold from the logo, Archivo's width axis for headings,
   dark photo headers with a curved edge, and the steel data plate. */

:root {
  --navy: #003a60;
  --navy-deep: #00243d;
  --night: #001829;
  --gold: #d4a93a;
  --gold-hi: #e6bf55;
  --gold-deep: #a9832a;
  --gold-tint: #fbf3df;
  --ink: #142231;
  --muted: #556371;
  --on-dark: #c9d6e2;
  --line: #e1e6eb;
  --paper: #f5f7f9;
  --steel-1: #eef1f4;
  --steel-2: #d5dce2;
  --steel-3: #a9b4be;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(0, 36, 61, .05), 0 10px 30px rgba(0, 36, 61, .07);
  --font: "Archivo", system-ui, sans-serif;
  --wrap: 1240px;
  --mock: #c2410c;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; font: 400 1.0625rem/1.6 var(--font); color: var(--ink); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.08; color: var(--navy); font-stretch: 116%; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.1rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.22rem; font-stretch: 108%; font-weight: 700; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--night); padding: 8px 14px; z-index: 90; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Buttons and small parts */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 1rem/1 var(--font); font-stretch: 106%;
  padding: 14px 22px; border-radius: 8px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s;
}
.btn-lg { padding: 17px 26px; font-size: 1.05rem; }
.btn-gold { background: var(--gold); color: var(--night); }
.btn-gold:hover { background: var(--gold-hi); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); }
.btn-ghost { border-color: var(--navy); color: var(--navy); background: #fff; }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-light { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-light:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.text-link { font-weight: 700; font-stretch: 106%; text-underline-offset: 4px; text-decoration-thickness: 2px; text-decoration-color: var(--gold); }

.pill {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 22px;
  padding: 7px 14px 7px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2);
  color: #e6edf3; font-size: .9rem; font-weight: 600;
}
.pill .ic { width: 18px; height: 18px; color: var(--gold); }

.badge-ic { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--gold-tint); color: var(--navy); flex: none; }
.badge-ic .ic { width: 24px; height: 24px; }

.tag { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--steel-1); color: var(--navy); font-size: .8rem; font-weight: 700; }
.tag-gold { background: var(--gold-tint); color: var(--gold-deep); }

.checks { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.checks .ic { width: 20px; height: 20px; color: var(--gold-deep); stroke-width: 2.4; margin-top: 2px; }

/* Stand-in for photos the owner still needs to send */
.photo-tile {
  position: relative; display: grid; place-items: center; overflow: hidden;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .25) 0 1px, transparent 1px 3px),
    linear-gradient(170deg, #f1f4f6 0%, #dbe1e6 60%, #ccd4db 100%);
}
.photo-tile .ic { width: 64px; height: 64px; color: var(--navy); stroke-width: 1.3; opacity: .5; }
.photo-tile > span { position: absolute; left: 12px; bottom: 12px; font-size: .78rem; font-weight: 700; color: var(--muted); background: rgba(255, 255, 255, .85); padding: 3px 9px; border-radius: 99px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--navy-deep); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 10px 30px rgba(0, 14, 26, .35); }
.header-row { display: flex; align-items: center; gap: 18px; min-height: 80px; }
.brand { display: block; flex: none; margin-right: auto; }
.brand img { width: 58px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 2px; }
.nav-link {
  font: 600 .98rem/1 var(--font); color: #dbe5ee; text-decoration: none;
  padding: 10px 12px; border-radius: 6px; background: none; border: 0; cursor: pointer; white-space: nowrap;
}
.nav-link:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.nav-link[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--gold); border-radius: 6px 6px 0 0; }
.menu-btn::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.has-menu { position: relative; }
.menu {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 270px; display: none;
  background: #fff; border-radius: 10px; padding: 8px; box-shadow: 0 20px 50px rgba(0, 20, 40, .25);
}
.has-menu:hover .menu, .has-menu:focus-within .menu, .has-menu.open .menu { display: grid; }
.has-menu:hover::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 10px; }
.menu a { padding: 10px 12px; text-decoration: none; color: var(--ink); border-radius: 6px; font-weight: 500; }
.menu a:hover { background: var(--steel-1); color: var(--navy); }
.menu .menu-all { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 12px; font-weight: 700; color: var(--navy); }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; margin: 0 6px 0 14px; color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap; }
.nav-phone .ic { color: var(--gold); width: 18px; height: 18px; }
.site-nav > .btn { margin-left: 8px; }
.nav-toggle { display: none; }

/* Dark photo headers with a curved bottom edge */
.hero, .page-hero { position: relative; overflow: hidden; background: var(--night); color: var(--on-dark); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::before, .page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(0, 20, 36, .95) 0%, rgba(0, 32, 56, .88) 45%, rgba(0, 46, 80, .55) 100%);
}
.hero > .wrap, .page-hero > .wrap { position: relative; z-index: 2; }
.curve::after {
  content: ""; position: absolute; left: -5%; right: -5%; bottom: -1px; height: 84px; z-index: 3;
  background: var(--curve, #fff); clip-path: ellipse(58% 100% at 50% 100%);
}
.hero h1, .page-hero h1 { color: #fff; }
.hero-sub { font-size: 1.18rem; color: var(--on-dark); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.hero { padding: 72px 0 168px; }
.hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 56px; align-items: center; }
.hero h1 { max-width: 15ch; }
.trust { list-style: none; padding: 0; margin: 38px 0 0; display: flex; flex-wrap: wrap; gap: 14px 30px; }
.trust li { display: flex; align-items: center; gap: 12px; font-size: .9rem; line-height: 1.3; }
.trust .badge-ic { width: 40px; height: 40px; border-radius: 10px; background: rgba(255, 255, 255, .08); color: var(--gold); }
.trust .badge-ic .ic { width: 20px; height: 20px; }
.trust strong { display: block; color: #fff; font-size: 1rem; }

.page-hero { padding: 64px 0 140px; }
.page-hero h1 { max-width: 18ch; }
.page-hero .hero-sub { max-width: 58ch; }
.page-hero.center { text-align: center; }
.page-hero.center h1, .page-hero.center .hero-sub { margin-left: auto; margin-right: auto; }
.page-hero.center .hero-actions { justify-content: center; }

/* The data plate */
.plate {
  position: relative; justify-self: end; width: 100%; max-width: 360px;
  padding: 24px 28px 22px; border-radius: 8px; border: 1px solid #8f9ba6;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .22) 0 1px, transparent 1px 3px),
    linear-gradient(170deg, #f5f7f9 0%, #dde3e8 55%, #c8d0d7 100%);
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(0, 0, 0, .12), 0 30px 60px rgba(0, 0, 0, .45);
  color: var(--navy-deep); text-shadow: 0 1px 0 rgba(255, 255, 255, .75);
  animation: stamp .7s cubic-bezier(.2, .9, .3, 1.15) .35s both;
}
.rivet { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff 0 15%, #b5bec6 40%, #7d8893 100%); box-shadow: 0 1px 1px rgba(0, 0, 0, .3); }
.rivet:nth-child(1) { top: 9px; left: 9px; }
.rivet:nth-child(2) { top: 9px; right: 9px; }
.rivet:nth-child(3) { bottom: 9px; left: 9px; }
.rivet:nth-child(4) { bottom: 9px; right: 9px; }
.plate-name { margin: 0 0 12px; padding-bottom: 10px; border-bottom: 2px solid var(--navy); font-weight: 800; font-stretch: 125%; font-size: 1.15rem; letter-spacing: .02em; }
.plate dl { margin: 0; display: grid; gap: 7px; }
.plate dl div { display: grid; grid-template-columns: 78px 1fr; gap: 10px; align-items: baseline; }
.plate dt { font-stretch: 75%; font-weight: 600; color: #4b5967; font-size: .86rem; }
.plate dd { margin: 0; font-weight: 700; }
@keyframes stamp {
  from { opacity: 0; transform: translateY(-18px) rotate(-2.5deg) scale(1.03); }
  to { opacity: 1; transform: none; }
}

/* Quote starter (sits on the hero's curve) */
.starter-wrap { position: relative; z-index: 5; margin-top: -120px; }
.starter {
  max-width: 780px; margin: 0 auto; background: #fff; border-radius: 16px;
  box-shadow: 0 24px 70px rgba(0, 36, 61, .16); padding: 30px 34px 28px;
}
.starter-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 18px; }
.starter-head h2 { font-size: 1.5rem; margin: 0; }
.starter-head span { color: var(--muted); font-size: .92rem; white-space: nowrap; }
.starter-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.choice-card {
  display: flex; align-items: center; gap: 16px; text-align: left; width: 100%;
  padding: 18px 20px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff;
  font: inherit; color: var(--ink); cursor: pointer; transition: border-color .15s, background-color .15s;
}
.choice-card:hover { border-color: var(--navy); background: var(--paper); }
.choice-card strong { display: block; font-size: 1.12rem; font-stretch: 108%; color: var(--navy); }
.choice-card small { color: var(--muted); font-size: .92rem; }
.starter-services { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-btn {
  padding: 11px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff;
  font: 600 .96rem/1.2 var(--font); color: var(--ink); cursor: pointer; transition: border-color .15s, background-color .15s;
}
.chip-btn:hover { border-color: var(--navy); background: var(--steel-1); color: var(--navy); }
.starter-back { margin-top: 16px; background: none; border: 0; padding: 4px 0; font: 600 .95rem var(--font); color: var(--navy); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* Sections */
.section { padding: 96px 0; }
.section.tight-top { padding-top: 64px; }
.section.alt { background: var(--paper); }
.section.dark { background: var(--navy-deep); color: var(--on-dark); }
.section.dark h2, .section.dark h3 { color: #fff; }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.12rem; margin: 0; }
.dark .section-head p { color: var(--on-dark); }
.section-head.left { margin-left: 0; text-align: left; }
.section-foot { text-align: center; margin-top: 40px; }
.curve-alt { --curve: var(--paper); }
.lead { font-size: 1.15rem; color: var(--muted); }
.fine-print { margin: 16px 0 0; color: var(--muted); font-size: .92rem; text-align: center; }
.teaser { display: flex; align-items: center; gap: 24px; padding: 32px 36px; background: var(--gold-tint); border: 1px solid #efdcab; border-radius: 16px; }
.teaser h2 { font-size: 1.6rem; margin-bottom: .25em; }
.teaser p { margin: 0; color: var(--muted); }
.teaser .btn { margin-left: auto; flex: none; }

/* Proudly served: brand names + auto-advancing strip of their jobs */
.served-head { display: flex; align-items: center; justify-content: space-between; gap: 14px 40px; flex-wrap: wrap; margin-bottom: 26px; }
.served-head h2 { margin: 0; font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.brand-marks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 36px; }
.brand-mark {
  padding: 6px 0; border: 0; border-bottom: 2px solid transparent; background: none; cursor: pointer;
  font: 800 clamp(1.15rem, 2vw, 1.55rem)/1 var(--font); font-stretch: 112%; letter-spacing: -.01em;
  color: var(--navy); opacity: .4; transition: opacity .2s, border-color .2s;
}
.brand-mark:hover, .brand-mark[aria-current="true"] { opacity: 1; border-bottom-color: var(--gold); }
/* Official logo files drop in here as <img>; they turn grey and faded to match */
.brand-mark img { height: 44px; width: auto; filter: grayscale(1); }

.served-track {
  --h: clamp(250px, 30vw, 360px);
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; overscroll-behavior-x: contain;
}
.served-track::-webkit-scrollbar { display: none; }
.served-slide { position: relative; flex: none; height: var(--h); aspect-ratio: var(--ar, 4 / 3); margin: 0; border-radius: 14px; overflow: hidden; background: var(--night); scroll-snap-align: start; }
.served-slide::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(180deg, transparent, rgba(0, 18, 32, .88)); pointer-events: none; }
.served-media { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.served-media img, .served-media video { display: block; width: 100%; height: 100%; object-fit: cover; }
.served-brand {
  position: absolute; top: 12px; left: 12px; z-index: 2; pointer-events: none;
  padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .16); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  color: #fff; font-weight: 700; font-size: .85rem;
}
.served-slide figcaption { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 2; color: #fff; font-weight: 700; line-height: 1.3; pointer-events: none; }
.play-badge { position: absolute; z-index: 2; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 18, 32, .6); color: #fff; pointer-events: none; }
.play-badge .ic { width: 16px; height: 16px; fill: currentColor; margin-left: 2px; }
.served-controls { display: flex; align-items: center; gap: 10px; margin-top: 18px; }
.served-controls button { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border: 1.5px solid var(--line); border-radius: 50%; background: #fff; color: var(--navy); cursor: pointer; }
.served-controls button:hover { border-color: var(--navy); }
.served-controls .when-paused, .served-controls [aria-pressed="true"] .when-playing { display: none; }
.served-controls [aria-pressed="true"] .when-paused { display: block; }
.served-controls .when-paused .ic { fill: currentColor; margin-left: 2px; }
.served-progress { flex: 1; height: 4px; margin: 0 8px; border-radius: 99px; background: var(--steel-1); overflow: hidden; }
.served-progress span { display: block; width: 0; height: 100%; background: var(--gold); transition: width .4s ease; }

/* Services: tabs + cards */
.services-head { display: flex; flex-direction: column; align-items: center; gap: 24px; margin-bottom: 44px; text-align: center; }
.services-head h2 { margin-bottom: .2em; }
.services-head p { color: var(--muted); font-size: 1.12rem; margin: 0; }
.tabs { display: inline-grid; grid-template-columns: 1fr 1fr; padding: 5px; background: var(--steel-1); border-radius: 12px; gap: 4px; }
.tabs button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 700 1.02rem/1 var(--font); font-stretch: 110%; padding: 14px 30px; border: 0; border-radius: 9px;
  background: transparent; color: var(--muted); cursor: pointer; transition: background-color .15s, color .15s;
}
.tabs button:hover { color: var(--navy); }
.tabs button[aria-selected="true"] { background: var(--navy); color: #fff; box-shadow: 0 6px 16px rgba(0, 36, 61, .25); }
.tabs button[aria-selected="true"] .ic { color: var(--gold); }

.svc-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.svc { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.svc-media { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.svc-body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.svc-body h3 { margin-bottom: .4em; }
.svc-body p { color: var(--muted); margin: 0 0 20px; flex: 1; }
.svc-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.svc-actions .text-link { font-size: .95rem; }

/* Capability grid for facility managers */
.bento { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 18px; }
.cap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.cap h3 { margin: 18px 0 6px; }
.cap p { color: var(--muted); margin: 0; font-size: .98rem; }
.cap-lead { grid-row: span 2; display: flex; flex-direction: column; background: var(--navy-deep); border-color: var(--navy-deep); color: var(--on-dark); }
.cap-lead h3 { color: #fff; font-size: 1.5rem; }
.cap-lead p { color: var(--on-dark); font-size: 1.05rem; }
.cap-lead .badge-ic { background: rgba(255, 255, 255, .08); color: var(--gold); }
.cap-lead .checks { margin: 22px 0 26px; }
.cap-lead .checks li { color: #fff; }
.cap-lead .checks .ic { color: var(--gold); }
.cap-lead .btn { margin-top: auto; align-self: flex-start; }

/* How a job works */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.steps li { counter-increment: step; border-top: 3px solid var(--gold); padding-top: 22px; }
.steps li::before { content: counter(step); display: block; font-weight: 800; font-stretch: 125%; font-size: 2.8rem; line-height: 1; color: var(--gold); margin-bottom: 14px; }
.steps p { margin: 0; }

/* Featured project */
.project-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.project-grid > img { border-radius: 14px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.project-copy p { color: var(--muted); }
.project-copy h2 { margin-top: 14px; }
.dark .text-link { color: #fff; }
.specs { margin: 24px 0 28px; border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: 120px 1fr; padding: 11px 0; border-bottom: 1px dashed var(--steel-3); }
.specs dt { font-stretch: 80%; color: var(--muted); font-weight: 600; }
.specs dd { margin: 0; font-weight: 700; }

/* Reviews */
.rating-pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); color: #fff; font-weight: 700; margin-bottom: 18px; }
.stars { color: var(--gold); letter-spacing: 3px; }
.carousel { max-width: 820px; margin: 0 auto; }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; border-radius: 16px; }
.slides::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: center; margin: 0; padding: 40px 44px 34px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 16px; position: relative; }
.slide::before { content: "\201C"; position: absolute; top: 6px; left: 30px; font: 800 5rem/1 Georgia, serif; color: var(--gold); opacity: .5; }
.slide blockquote { margin: 18px 0 22px; font-size: 1.22rem; line-height: 1.55; color: #fff; }
.slide figcaption { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.slide figcaption strong { color: #fff; display: block; }
.slide figcaption span { font-size: .92rem; }
.carousel-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 22px; }
.carousel-nav button.arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; }
.carousel-nav button.arrow:hover { background: rgba(255, 255, 255, .1); }
.dots { display: flex; gap: 8px; }
.dots button { width: 10px; height: 10px; border-radius: 99px; border: 0; padding: 0; background: rgba(255, 255, 255, .3); cursor: pointer; transition: width .2s, background-color .2s; }
.dots button[aria-current="true"] { width: 26px; background: var(--gold); }
.sample-tag { display: inline-block; font-size: .72rem; font-weight: 700; color: #fff; background: var(--mock); padding: 3px 8px; border-radius: 99px; }

.review-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.review { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; box-shadow: var(--shadow); }
.review-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.review blockquote { margin: 0 0 16px; font-size: 1.05rem; line-height: 1.6; }
.review figcaption { font-weight: 700; color: var(--navy); }
.review figcaption > span { display: block; font-weight: 500; color: var(--muted); font-size: .92rem; }
.rating-card { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: var(--navy-deep); color: var(--on-dark); border-radius: 16px; padding: 30px 34px; margin-bottom: 36px; }
.rating-card strong { display: block; font-size: 2.6rem; font-stretch: 112%; color: #fff; line-height: 1; }
.rating-card .stars { font-size: 1.3rem; }
.rating-card p { margin: 6px 0 0; }
.rating-card .hero-actions { margin-top: 0; }

/* Service area */
.areas-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.areas-grid p { color: var(--muted); max-width: 48ch; }
.chips { list-style: none; padding: 0; margin: 24px 0 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { display: inline-flex; align-items: center; gap: 6px; padding: 9px 15px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-weight: 600; font-size: .96rem; }
.chips .ic { width: 16px; height: 16px; color: var(--gold-deep); }
.chips.center { justify-content: center; }
.chips a { color: var(--navy); text-decoration: none; }
.chips li:has(a):hover { border-color: var(--navy); }
.map-frame { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.map { display: block; width: 100%; height: 420px; border: 0; filter: saturate(.7); }
.city-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.city { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow); }
.city h3 { margin: 2px 0 4px; font-size: 1.12rem; }
.city p { margin: 0; color: var(--muted); font-size: .95rem; }
.city-note { background: var(--gold-tint); border-color: #efdcab; }
.city-note a { font-weight: 700; }
.map-tall { height: 520px; }

/* Closing call to action */
.cta-band { padding: 96px 0; text-align: center; background: linear-gradient(180deg, #fff 0%, var(--paper) 100%); }
.cta-band h2 { max-width: 22ch; margin-left: auto; margin-right: auto; }
.cta-band > .wrap > p { color: var(--muted); font-size: 1.12rem; max-width: 56ch; margin: 0 auto; }
.cta-band .hero-actions { justify-content: center; }
.cta-trust { display: flex; justify-content: center; flex-wrap: wrap; gap: 18px 40px; list-style: none; padding: 0; margin: 40px 0 0; }
.cta-trust li { display: flex; align-items: center; gap: 12px; text-align: left; font-size: .92rem; color: var(--muted); line-height: 1.35; }
.cta-trust strong { display: block; color: var(--navy); font-size: 1rem; }
.cta-trust .badge-ic { width: 42px; height: 42px; }

/* Service sections on the Commercial and Residential pages */
.svc-rows { display: grid; }
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 64px 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.svc-row:first-child { border-top: 0; padding-top: 0; }
.svc-row:nth-child(even) .svc-row-media { order: 2; }
.svc-row-media { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; box-shadow: var(--shadow); }
.svc-row h2 { font-size: clamp(1.7rem, 2.8vw, 2.2rem); margin-top: 14px; }
.svc-row p { color: var(--muted); font-size: 1.08rem; }
.svc-row .checks { grid-template-columns: 1fr 1fr; gap: 10px 22px; }

/* Standard vs high efficiency */
.options { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 64px; }
.option { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 30px 32px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.option.featured { border: 2px solid var(--gold); }
.option .tag { position: absolute; top: 22px; right: 24px; }
.option-head { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.option-head h3 { margin: 0; font-size: 1.4rem; }
.option-head small { color: var(--muted); }
.option > p { color: var(--muted); }
.option .btn { margin-top: auto; align-self: flex-start; }
.table-wrap { overflow-x: auto; border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.compare { width: 100%; border-collapse: collapse; min-width: 560px; background: #fff; }
.compare th, .compare td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--navy-deep); color: #fff; font-stretch: 108%; }
.compare thead th:last-child { background: var(--gold); color: var(--night); }
.compare tbody th { font-weight: 600; color: var(--navy); }
.compare td:last-child { font-weight: 700; color: var(--navy); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }

/* Repair or replace calculator */
.tool-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.calc { background: var(--navy-deep); color: var(--on-dark); border-radius: 18px; padding: 32px; display: grid; gap: 12px; box-shadow: 0 24px 60px rgba(0, 36, 61, .2); }
.calc h2 { color: #fff; font-size: 1.5rem; margin: 0 0 6px; }
.calc label { font-weight: 600; display: flex; justify-content: space-between; gap: 12px; color: #fff; }
.calc output { font-weight: 800; font-stretch: 110%; color: var(--gold); }
.calc input[type="range"] { width: 100%; accent-color: var(--gold); margin: 0 0 10px; padding: 0; border: 0; }
.money { display: flex; align-items: center; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .25); border-radius: 8px; padding-left: 14px; }
.money span { font-weight: 700; color: var(--on-dark); }
.money input { border: 0; background: transparent; color: #fff; font-weight: 700; font-size: 1.15rem; }
.money:focus-within { outline: 2px solid var(--gold); }
.money input:focus { outline: 0; }
.meter { position: relative; height: 10px; border-radius: 99px; background: rgba(255, 255, 255, .12); margin-top: 14px; }
.meter span { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 99px; background: linear-gradient(90deg, #8fb8d6, var(--gold)); transition: width .3s ease; }
.meter i { position: absolute; top: -6px; bottom: -6px; left: 50%; width: 2px; background: #fff; }
.calc-score { margin: 6px 0 0; font-size: 2.2rem; font-weight: 800; font-stretch: 112%; color: #fff; line-height: 1.1; }
.calc-score small { display: block; font-size: .9rem; font-weight: 400; color: var(--on-dark); }
.calc-verdict { font-size: 1.3rem; font-weight: 800; font-stretch: 108%; color: var(--gold); margin: 6px 0 0; }
.calc-note { font-size: .95rem; margin: 0 0 8px; min-height: 1.5em; }
.calc .btn { justify-self: start; }
.calc-fine { font-size: .88rem; margin: 4px 0 0; }
.factor-list { display: grid; gap: 16px; margin-top: 28px; }
.factor { display: flex; gap: 16px; align-items: flex-start; }
.factor h3 { margin: 4px 0 4px; font-size: 1.1rem; }
.factor p { margin: 0; color: var(--muted); }

/* Our work gallery */
.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filters button { padding: 11px 20px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font: 700 .96rem/1 var(--font); color: var(--muted); cursor: pointer; }
.filters button:hover { border-color: var(--navy); color: var(--navy); }
.filters button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.work { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.work-media { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; }
.work-media .play-badge { top: 50%; left: 50%; right: auto; width: 58px; height: 58px; transform: translate(-50%, -50%); background: rgba(0, 18, 32, .65); }
.work-media .play-badge .ic { width: 22px; height: 22px; }
button.work-media { padding: 0; border: 0; background: none; cursor: zoom-in; }
.work-media.photo-tile { display: grid; }
.work-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.work-media:hover img { transform: scale(1.03); }
.work figcaption { padding: 18px 20px 20px; }
.work-top { display: flex; flex-direction: column-reverse; align-items: flex-start; gap: 8px; }
.work-top .tag { white-space: nowrap; }
.work h3 { font-size: 1.1rem; margin: 0 0 4px; }
.work p { margin: 0; color: var(--muted); font-size: .95rem; }
.work .loc { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-size: .88rem; color: var(--gold-deep); font-weight: 600; }
.work .loc .ic { width: 15px; height: 15px; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1100px, 92vw); color: #fff; }
.lightbox::backdrop { background: rgba(0, 12, 22, .88); }
.lightbox img, .lightbox video { max-height: 80vh; max-width: 100%; width: auto; margin: 0 auto; border-radius: 12px; display: block; }
.lightbox video { background: #000; }
.lightbox p { text-align: center; margin: 14px 0 0; }
.lightbox-close { position: fixed; top: 18px; right: 22px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; color: var(--navy-deep); font-size: 1.6rem; cursor: pointer; }

/* About */
.story-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.story-grid p { color: var(--muted); font-size: 1.08rem; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 20px; text-align: center; box-shadow: var(--shadow); }
.stat strong { display: block; font-size: 1.6rem; font-stretch: 112%; color: var(--navy); line-height: 1.1; margin-bottom: 6px; overflow-wrap: anywhere; }
.stat span { color: var(--muted); font-size: .92rem; }
.stat .code { font-size: clamp(.9rem, 3.4vw, 1.2rem); font-stretch: 96%; padding-top: 6px; white-space: nowrap; overflow-wrap: normal; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.value { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; text-align: center; box-shadow: var(--shadow); }
.value .badge-ic { margin: 0 auto 16px; }
.value p { margin: 0; color: var(--muted); font-size: .96rem; }
.creds { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.creds p { max-width: 54ch; }
.cred-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.cred-badges span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 8px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .15); color: #fff; font-weight: 600; font-size: .95rem; }
.cred-badges .ic { color: var(--gold); width: 18px; height: 18px; }
.team-tile { aspect-ratio: 16 / 7; border-radius: 16px; }

/* FAQ */
.faq-wrap { max-width: 860px; margin: 0 auto; }
.faq-wrap h2 { font-size: 1.6rem; margin: 48px 0 12px; display: flex; align-items: center; gap: 12px; }
.faq-wrap h2:first-child { margin-top: 0; }
.faq-wrap h2 .ic { width: 26px; height: 26px; color: var(--gold-deep); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative;
  font-weight: 700; font-stretch: 106%; font-size: 1.1rem; color: var(--navy);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before, .faq-list summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 16px; height: 2.5px; background: var(--gold-deep); transition: transform .2s; }
.faq-list summary::after { transform: rotate(90deg); }
.faq-list details[open] summary::after { transform: rotate(0); }
.faq-list details p { margin: 0 0 22px; color: var(--muted); max-width: 66ch; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.info-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 20px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list small { display: block; color: var(--muted); font-size: .85rem; }
.info-list a, .info-list strong { font-weight: 700; color: var(--navy); text-decoration: none; overflow-wrap: anywhere; }
.info-list a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.aside-title { font-size: 1.4rem; margin-bottom: 20px; }
.callout { display: flex; gap: 14px; padding: 20px; border-radius: var(--radius); background: var(--gold-tint); border: 1px solid #efdcab; }
.callout h3 { margin: 2px 0 4px; font-size: 1.05rem; }
.callout p { margin: 0; color: var(--ink); font-size: .96rem; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 32px 34px; box-shadow: var(--shadow); }
.form-card > h2 { font-size: 1.6rem; margin-bottom: 6px; }
.form-card > p { color: var(--muted); }

/* Quote form */
.quote-form { display: grid; gap: 16px; }
.quote-form > label, .field-row label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.optional { font-weight: 400; color: var(--muted); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
input, select, textarea {
  font: inherit; font-size: 1rem; color: var(--ink); width: 100%;
  padding: 12px 14px; border: 1.5px solid #c3ccd5; border-radius: 8px; background: #fff;
}
input:focus, select:focus, textarea:focus { border-color: var(--navy); outline: 2px solid var(--gold); outline-offset: 0; }
.segmented { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.segmented legend { font-weight: 600; font-size: .95rem; margin-bottom: 6px; padding: 0; }
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.segmented span { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 13px; border: 1.5px solid #c3ccd5; border-radius: 8px; font-weight: 700; cursor: pointer; }
.segmented input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.segmented input:checked + span .ic { color: var(--gold); }
.segmented input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.timing { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.timing legend { font-weight: 600; font-size: .95rem; margin-bottom: 6px; padding: 0; }
.timing label { position: relative; }
.timing input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.timing span { display: block; padding: 10px 14px; border: 1.5px solid #c3ccd5; border-radius: 999px; font-weight: 600; font-size: .95rem; cursor: pointer; }
.timing input:checked + span { border-color: var(--navy); background: var(--steel-1); color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.timing input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.urgent-note { margin: -4px 0 0; padding: 10px 14px; background: var(--gold-tint); border-left: 3px solid var(--gold); border-radius: 0 8px 8px 0; font-size: .95rem; }
.quote-form .btn { justify-self: start; }
.form-status { margin: 0; min-height: 1.5em; font-weight: 600; color: var(--navy); }
.form-status.error { color: #b42318; }

.quote-dialog {
  width: min(660px, calc(100vw - 24px)); max-height: calc(100vh - 32px); padding: 0;
  border: 0; border-radius: 16px; box-shadow: 0 30px 80px rgba(0, 20, 40, .4); overflow: auto;
}
.quote-dialog::backdrop { background: rgba(0, 24, 42, .65); }
.quote-dialog-head { display: flex; justify-content: space-between; align-items: center; padding: 24px 28px 0; }
.quote-dialog-head h2 { margin: 0; font-size: 1.6rem; }
.dialog-close { width: 40px; height: 40px; border: 0; border-radius: 8px; background: var(--steel-1); color: var(--navy); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.dialog-close:hover { background: var(--steel-2); }
.quote-dialog .quote-form { padding: 18px 28px 28px; }

/* Footer */
.site-footer { background: var(--navy-deep); color: var(--on-dark); padding: 72px 0 28px; font-size: .97rem; }
.site-footer h2 { color: #fff; font-size: 1.05rem; font-stretch: 110%; margin-bottom: 16px; }
.site-footer a { color: #e6edf3; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr .9fr 1.3fr; gap: 40px; }
.footer-grid nav { display: grid; align-content: start; gap: 9px; }
.footer-brand p { margin: 16px 0 18px; max-width: 34ch; }
.social { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(255, 255, 255, .08); }
.social:hover { background: rgba(255, 255, 255, .16); }
.footer-contact { display: grid; align-content: start; gap: 14px; }
.fc-item { display: flex; gap: 12px; align-items: flex-start; margin: 0; overflow-wrap: anywhere; }
.fc-item .ic { color: var(--gold); margin-top: 2px; }
.fc-item small { display: block; color: var(--on-dark); font-size: .8rem; }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .88rem; }

.call-bar { display: none; }

/* Mockup helper */
.mock-toggle { position: fixed; left: 16px; bottom: 16px; z-index: 60; font: 600 .85rem/1 var(--font); padding: 10px 14px; border-radius: 999px; border: 0; background: var(--mock); color: #fff; cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .25); }
.show-ph .ph { outline: 2px dashed var(--mock); outline-offset: 3px; }

/* Assistant (chat.js) */
.chat-launcher {
  position: fixed; right: 20px; bottom: 20px; z-index: 55;
  display: inline-flex; align-items: center; padding: 14px 20px 14px 16px;
  border: 0; border-radius: 999px; background: var(--navy-deep); color: #fff;
  font: 700 1rem/1 var(--font); font-stretch: 106%; cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 20, 40, .35); transition: background-color .15s;
}
.chat-launcher:hover { background: var(--navy); }
.chat-launcher .ic { width: 22px; height: 22px; color: var(--gold); }
.chat-launcher-open, .chat-launcher-close { display: inline-flex; align-items: center; gap: 10px; }
.chat-launcher-close { display: none; }
.chat-launcher[aria-expanded="true"] { padding: 14px; }
.chat-launcher[aria-expanded="true"] .chat-launcher-open { display: none; }
.chat-launcher[aria-expanded="true"] .chat-launcher-close { display: inline-flex; }

.chat {
  position: fixed; right: 20px; bottom: 88px; z-index: 70;
  width: min(390px, calc(100vw - 40px)); height: min(600px, calc(100vh - 120px));
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0, 20, 40, .35);
  transform-origin: bottom right; animation: chat-in .18s ease-out;
}
@keyframes chat-in { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 18px; background: var(--navy-deep); color: #fff; }
.chat-head img { width: 40px; height: auto; }
.chat-title { flex: 1; display: grid; line-height: 1.25; }
.chat-title strong { font-size: 1.02rem; font-stretch: 108%; }
.chat-title span { font-size: .82rem; color: var(--on-dark); }
.chat-icon-btn { width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 8px; background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; }
.chat-icon-btn:hover { background: rgba(255, 255, 255, .16); }
.chat-icon-btn .ic { width: 18px; height: 18px; }
.chat-log { flex: 1; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 12px; padding: 18px 16px 8px; background: var(--paper); }
.chat-msg { display: flex; flex-direction: column; max-width: 88%; }
.chat-msg.bot { align-self: flex-start; }
.chat-msg.user { align-self: flex-end; align-items: flex-end; }
.chat-bubble { padding: 11px 14px; border-radius: 14px; font-size: .95rem; line-height: 1.5; }
.bot .chat-bubble { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.user .chat-bubble { background: var(--navy); color: #fff; border-bottom-right-radius: 4px; }
.chat-bubble ul { margin: 6px 0; padding-left: 18px; }
.chat-bubble li { margin-bottom: 3px; }
.chat-bubble a { color: var(--navy); font-weight: 600; }
.chat-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chat-action { display: inline-flex; padding: 8px 12px; border: 1.5px solid var(--navy); border-radius: 8px; background: #fff; color: var(--navy); font: 700 .86rem/1.2 var(--font); text-decoration: none; cursor: pointer; }
.chat-action:hover { background: var(--navy); color: #fff; }
.chat-action-primary { background: var(--gold); border-color: var(--gold); color: var(--night); }
.chat-action-primary:hover { background: var(--gold-hi); border-color: var(--gold-hi); color: var(--night); }
.chat-typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.chat-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--steel-3); animation: chat-dot 1s infinite ease-in-out; }
.chat-typing span:nth-child(2) { animation-delay: .15s; }
.chat-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes chat-dot { 0%, 80%, 100% { opacity: .35; transform: none; } 40% { opacity: 1; transform: translateY(-3px); } }
.chat-suggest { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 16px 12px; background: var(--paper); }
.chat-suggest:empty { display: none; }
.chat-chip { padding: 8px 12px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font: 600 .86rem/1.2 var(--font); color: var(--navy); cursor: pointer; }
.chat-chip:hover { border-color: var(--navy); }
.chat-form { display: flex; gap: 8px; padding: 12px 14px 8px; border-top: 1px solid var(--line); background: #fff; }
.chat-form input { flex: 1; min-width: 0; padding: 11px 16px; border-radius: 999px; font-size: .95rem; }
.chat-send { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--gold); color: var(--night); cursor: pointer; }
.chat-send:hover { background: var(--gold-hi); }
.chat-note { margin: 0; padding: 0 16px 12px; background: #fff; font-size: .76rem; color: var(--muted); text-align: center; }
.chat-note a { color: var(--navy); font-weight: 700; }

/* Narrow desktops */
@media (max-width: 1220px) {
  .nav-phone { display: none; }
}

/* Tablet */
@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .plate { justify-self: start; }
  .svc-grid, .gallery, .city-grid { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .cap-lead { grid-column: span 2; grid-row: auto; }
  .project-grid, .areas-grid, .tool-grid, .story-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .svc-row { grid-template-columns: 1fr; gap: 32px; }
  .svc-row:nth-child(even) .svc-row-media { order: 0; }
  .values { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Collapse the nav */
@media (max-width: 980px) {
  .nav-toggle { display: grid; place-items: center; width: 46px; height: 46px; background: none; border: 1.5px solid rgba(255, 255, 255, .4); border-radius: 8px; cursor: pointer; }
  .bars, .bars::before, .bars::after { display: block; width: 20px; height: 2px; background: #fff; position: relative; transition: transform .2s; }
  .bars::before, .bars::after { content: ""; position: absolute; left: 0; }
  .bars::before { top: -6px; }
  .bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy-deep); padding: 8px 16px 22px; border-top: 1px solid rgba(255, 255, 255, .12);
    max-height: calc(100vh - 72px); overflow: auto; box-shadow: 0 20px 40px rgba(0, 0, 0, .3);
  }
  .site-nav.open { display: flex; }
  .nav-link { display: block; width: 100%; text-align: left; padding: 15px 4px; border-bottom: 1px solid rgba(255, 255, 255, .1); border-radius: 0; }
  .nav-link[aria-current="page"] { box-shadow: inset 3px 0 0 var(--gold); padding-left: 12px; border-radius: 0; }
  .menu { position: static; box-shadow: none; margin: 8px 0; min-width: 0; display: none; }
  .has-menu:hover .menu, .has-menu:focus-within .menu { display: none; }
  .has-menu.open .menu { display: grid; }
  .nav-phone { display: inline-flex; margin: 18px 4px 12px; font-size: 1.2rem; }
  .site-nav > .btn { margin: 4px 0 0; }
}

/* Phone */
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .header-row { min-height: 72px; }
  .brand img { width: 50px; }
  .section { padding: 64px 0; }
  .hero { padding: 44px 0 150px; }
  .page-hero { padding: 44px 0 110px; }
  .curve::after { height: 48px; }
  .trust { gap: 14px 22px; }
  .starter-wrap { margin-top: -110px; }
  .starter { padding: 22px 18px; }
  .starter-head { flex-direction: column; gap: 4px; }
  .starter-choices { grid-template-columns: 1fr; }
  .tabs { width: 100%; }
  .tabs button { padding: 14px 10px; }
  .served-head { flex-direction: column; align-items: flex-start; }
  .brand-marks { gap: 4px 22px; }
  .served-track { --h: 280px; margin: 0 -16px; padding: 0 16px; scroll-padding: 0 16px; }
  .served-slide { max-width: 82vw; }
  .served-controls .text-link { display: none; }
  .svc-grid, .gallery, .city-grid, .bento, .review-grid, .options, .values { grid-template-columns: 1fr; }
  .cap-lead { grid-column: auto; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .svc-row { padding: 48px 0; }
  .svc-row .checks { grid-template-columns: 1fr; }
  .slide { padding: 34px 22px 26px; }
  .slide blockquote { font-size: 1.08rem; }
  .field-row { grid-template-columns: 1fr; }
  .form-card { padding: 22px 18px; }
  .quote-dialog-head { padding: 18px 18px 0; }
  .quote-dialog .quote-form { padding: 14px 18px 22px; }
  .map { height: 300px; }
  .rating-card { padding: 24px; }
  .teaser { flex-direction: column; align-items: flex-start; padding: 24px; }
  .teaser .btn { margin-left: 0; }
  .map-tall { height: 340px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-base { flex-direction: column; gap: 6px; }

  body { padding-bottom: 62px; }
  .call-bar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; box-shadow: 0 -4px 16px rgba(0, 0, 0, .15); }
  .call-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 18px 10px; font-weight: 800; font-stretch: 110%; text-decoration: none; }
  .call-bar a:first-child { background: var(--navy-deep); color: #fff; }
  .call-bar a:first-child .ic { color: var(--gold); }
  .call-bar a:last-child { background: var(--gold); color: var(--night); }
  .mock-toggle { bottom: 76px; }

  .chat-launcher { right: 16px; bottom: 76px; padding: 15px; }
  .chat-launcher-open > span { display: none; }
  .chat { inset: 0; width: 100%; height: 100%; height: 100dvh; border: 0; border-radius: 0; }
  .chat-open body { overflow: hidden; }
  .chat-open .chat-launcher { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .plate { animation: none; }
  .slides { scroll-behavior: auto; }
  .chat, .chat-typing span { animation: none; }
  * { transition: none !important; }
}
