/* ==========================================================
   Brothers Mechanical — shared styles
   Colors are set once here (see :root). Change them there and
   the whole site updates.
   ========================================================== */

:root {
  /* Brand colors, taken from the logo */
  --navy: #1d2b57;         /* headlines, dark sections */
  --navy-deep: #0f1a36;    /* footer */
  --blue: #3759b1;         /* main buttons, highlights */
  --blue-dark: #202f5b;    /* button edge / shadow */
  --blue-mid: #5a7fc9;
  --sky: #afcaec;          /* light accents on dark */
  --peri: #7182ba;         /* small accents */
  --gold: #f5a70a;         /* review stars */

  --bg: #ffffff;
  --soft: #f3f5fb;         /* light gray-blue bands */
  --wash: #e7edfa;         /* light blue panels */
  --line: #dfe5f2;
  --text: #2a3350;
  --muted: #566082;

  --font-head: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1240px;
  --gutter: 24px;
  --radius: 14px;
  --radius-lg: 24px;

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.98;
  letter-spacing: -0.005em;
  color: var(--navy);
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }

:focus-visible { outline: 3px solid var(--blue-mid); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
  position: absolute; left: -999px; top: 8px;
  background: var(--blue); color: #fff; padding: 10px 16px; z-index: 300; font-weight: 600;
}
.skip-link:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 30px;
  border: 0;
  border-radius: var(--radius);
  background: var(--blue);
  color: #fff;
  cursor: pointer;
  line-height: 1.1;
  box-shadow: 0 4px 0 var(--blue-dark), 0 8px 14px rgba(29, 43, 87, 0.18);
  transition: transform 0.12s, box-shadow 0.12s, background 0.12s;
}
.btn:hover { background: #2f4fa3; transform: translateY(1px); box-shadow: 0 3px 0 var(--blue-dark), 0 6px 12px rgba(29, 43, 87, 0.18); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--blue-dark); }
.btn--secondary { background: #fff; color: var(--blue); box-shadow: 0 4px 0 var(--blue), 0 8px 14px rgba(29, 43, 87, 0.12); }
.btn--secondary:hover { background: #f6f8fd; box-shadow: 0 3px 0 var(--blue), 0 6px 12px rgba(29, 43, 87, 0.12); }
.btn--light { background: #fff; color: var(--navy); box-shadow: 0 4px 0 var(--sky); }
.btn--light:hover { background: #eef3fc; box-shadow: 0 3px 0 var(--sky); }
.btn--outline-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,0.7); }
.btn--outline-light:hover { background: rgba(255,255,255,0.1); box-shadow: inset 0 0 0 2px #fff; }
.btn--small { font-size: 1.3rem; padding: 11px 24px; }
.btn--block { width: 100%; }
.btn svg { flex: none; }

/* ---------- Utility bar + header ---------- */
.utility-bar { background: var(--soft); border-bottom: 1px solid var(--line); font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; color: var(--navy); }
.utility-inner { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 20px; }
.utility-bar a { text-decoration: none; font-family: var(--font-body); font-weight: 500; font-size: 0.92rem; color: var(--text); }
.utility-bar a:hover { color: var(--blue); }
.utility-links { display: flex; gap: 22px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 92px; }
.brand { display: block; line-height: 0; }
.brand img { height: 76px; width: auto; }

/* "water level" scroll bar under the header */
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 5px; pointer-events: none; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--sky), var(--blue)); transform-origin: left; transform: scaleX(0); }

.nav { display: flex; align-items: center; gap: 34px; margin-left: auto; }
.nav a.nav-link {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--navy);
  padding: 6px 0;
  border-bottom: 3px solid transparent;
}
.nav a.nav-link:hover { color: var(--blue); }
.nav a.nav-link[aria-current="page"] { border-bottom-color: var(--blue); }
.header-cta { display: flex; align-items: center; margin-left: 8px; }

.nav-toggle {
  display: none;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 12px;
  color: var(--navy);
  width: 48px;
  height: 48px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after {
  display: block; width: 22px; height: 3px; border-radius: 2px; background: currentColor;
  position: relative; content: ""; transition: transform 0.2s, background 0.2s;
}
.nav-toggle .bars::before { position: absolute; top: -7px; left: 0; }
.nav-toggle .bars::after { position: absolute; top: 7px; left: 0; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero (centered) ---------- */
.hero {
  padding: 68px 0 96px;
  text-align: center;
  /* light blue panel behind the lower part of the video */
  background: linear-gradient(180deg, #fff 0, #fff calc(100% - 380px), var(--wash) calc(100% - 380px), var(--wash) 100%);
  overflow: hidden;
}
.hero h1 { font-size: clamp(3.3rem, 8.4vw, 7.2rem); max-width: 12.5em; margin: 0 auto 26px; }
.hero h1 .accent { color: var(--blue); }

/* headline words rise in one after another */
.w { display: inline-block; animation: wordIn 0.75s cubic-bezier(0.2, 0.8, 0.2, 1) both; animation-delay: calc(var(--i, 0) * 0.09s + 0.1s); }
@keyframes wordIn { from { opacity: 0; transform: translateY(46px) rotate(2.5deg); } to { opacity: 1; transform: none; } }

.hero-lede { font-size: 1.32rem; line-height: 1.55; color: var(--text); max-width: 37em; margin: 0 auto 22px; }
/* key phrases get a marker swipe */
.hl {
  background: linear-gradient(transparent 58%, rgba(55, 89, 177, 0.28) 58%) no-repeat left center / 0% 100%;
  color: var(--navy);
  font-weight: 600;
  padding: 0 2px;
  animation: swipe 0.8s ease forwards;
  animation-delay: calc(1.7s + var(--d, 0s));
}
@keyframes swipe { to { background-size: 100% 100%; } }

/* rotating "We handle ..." line */
.hero-rotator {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 0.35em;
  font-family: var(--font-head); font-weight: 700; text-transform: uppercase;
  font-size: clamp(1.7rem, 3.6vw, 2.4rem); line-height: 1.1; color: var(--navy); margin-bottom: 34px;
}
.rot { display: inline-block; position: relative; min-width: 9.4em; text-align: center; color: var(--blue); border-bottom: 4px solid var(--blue); padding: 0 2px 2px; }
.rot-word { display: inline-block; transition: opacity 0.28s, transform 0.28s; }
.rot-word.out { opacity: 0; transform: translateY(-14px); }
.rot-word.pre { opacity: 0; transform: translateY(14px); transition: none; }

.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin-bottom: 60px; }
.hero-actions .btn { min-width: 280px; }

/* shared video frame (16:9 intro, and 9:16 clips in the "work" row) */
.video-frame {
  position: relative;
  aspect-ratio: 9 / 16;
  max-width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(165deg, var(--blue) 0%, var(--navy) 85%);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(29, 43, 87, 0.2);
}
.video-frame video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; background: #000; opacity: 0; transition: opacity 0.2s;
}
.video-frame.has-video video { opacity: 1; }
.video-placeholder {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: flex-end; gap: 6px;
  padding: 24px; text-align: center; color: rgba(255,255,255,0.85);
  font-family: var(--font-head); font-weight: 600; font-size: 1.15rem;
  letter-spacing: 0.05em; text-transform: uppercase;
}
.video-frame.has-video .video-placeholder { display: none; }
.play-btn {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 84px; height: 84px; border-radius: 50%; border: 0; cursor: pointer;
  background: #fff; color: var(--blue); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.28); transition: transform 0.15s;
  padding: 0;
}
.play-btn::before {   /* soft pulse ring */
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 3px solid #fff;
  animation: ring 2.2s ease-out infinite;
}
@keyframes ring { from { transform: scale(1); opacity: 0.8; } to { transform: scale(1.7); opacity: 0; } }
.play-btn:hover { transform: translate(-50%, -50%) scale(1.06); }
.play-btn svg { margin-left: 4px; }
.video-frame.playing .play-btn { display: none; }
.video-frame:not(.has-video) .play-btn { pointer-events: none; }

.video-frame--wide { aspect-ratio: 16 / 9; }
.hero-video { max-width: 980px; margin: 0 auto; text-align: left; }
.hero-video .video-frame { border: 4px solid var(--navy); box-shadow: 16px 16px 0 var(--blue); }
.hero-video .play-btn { width: 104px; height: 104px; }
.hero-video .play-btn svg { width: 42px; height: 42px; }

/* ---------- Marquee (replaces the old static trust row) ---------- */
.marquee { background: var(--navy); color: #fff; overflow: hidden; }
.marquee-track { display: flex; width: max-content; animation: scrollx 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; flex: none; }
.marquee-item {
  display: flex; align-items: center; padding: 22px 0 22px 30px; white-space: nowrap;
  font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; letter-spacing: 0.03em; text-transform: uppercase;
}
.marquee-item::after {
  content: ""; width: 10px; height: 10px; background: var(--sky); transform: rotate(45deg); margin-left: 30px; flex: none;
}
@keyframes scrollx { to { transform: translateX(-50%); } }

/* ---------- Sections (all centered) ---------- */
.section { padding: 92px 0; }
.section--soft { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--blue { background: var(--blue); }
.section-head { max-width: 46em; margin: 0 auto 48px; text-align: center; }
.section-head h2 { overflow-wrap: break-word; font-size: clamp(2.7rem, 5.6vw, 4.4rem); margin-bottom: 16px; }
.section-head p { color: var(--muted); font-size: 1.18rem; }
.section--blue .section-head h2 { color: #fff; }
.section--blue .section-head p { color: #dbe6f7; }

/* ---------- Form fields (shared) ---------- */
.select-wrap { position: relative; text-align: left; }
.select-wrap::after {
  content: ""; position: absolute; right: 18px; top: 50%; width: 9px; height: 9px;
  border-right: 3px solid var(--blue); border-bottom: 3px solid var(--blue);
  transform: translateY(-70%) rotate(45deg); pointer-events: none;
}
select, input, textarea {
  font: inherit; color: var(--text); background: #fff;
  border: 2px solid #c9d2e8; border-radius: 12px; width: 100%;
  padding: 14px 16px; line-height: 1.3;
}
select { appearance: none; -webkit-appearance: none; padding-right: 46px; cursor: pointer; font-weight: 500; }
input::placeholder, textarea::placeholder { color: #8a93b0; }
select:hover, input:hover, textarea:hover { border-color: var(--peri); }
select:focus, input:focus, textarea:focus { outline: 3px solid rgba(55, 89, 177, 0.25); border-color: var(--blue); }

/* ---------- "I need plumbing for..." selector ---------- */
.selector-card {
  display: grid;
  grid-template-columns: minmax(300px, 420px) 1fr;
  max-width: 1060px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 50px rgba(15, 26, 54, 0.35);
}
.selector-pick {
  background: linear-gradient(160deg, var(--navy) 0%, #2a438a 100%);
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  padding: 42px 32px;
  text-align: center;
  display: flex; flex-direction: column; justify-content: center;
}
.selector-pick label {
  display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.5rem;
  letter-spacing: 0.05em; text-transform: uppercase; color: #fff; margin-bottom: 16px;
}
.selector-hint { margin-top: 20px; color: #c9d6f2; font-size: 0.95rem; }
.selector-hint a { color: #fff; font-weight: 600; }

/* custom dropdown (built by main.js; the plain <select> is the fallback) */
.dd { position: relative; text-align: left; }
.dd-btn {
  width: 100%; min-height: 68px; display: flex; align-items: center; gap: 14px; cursor: pointer;
  background: #fff; color: var(--navy); border: 0; border-radius: 16px; padding: 10px 18px 10px 12px;
  box-shadow: 0 5px 0 var(--sky), 0 14px 24px rgba(0, 0, 0, 0.22);
  transition: transform 0.12s, box-shadow 0.12s;
}
.dd-btn:hover { transform: translateY(1px); box-shadow: 0 4px 0 var(--sky), 0 10px 20px rgba(0, 0, 0, 0.22); }
.dd-val { flex: 1; font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; text-transform: uppercase; line-height: 1.05; }
.dd-chev { width: 12px; height: 12px; border-right: 3px solid var(--blue); border-bottom: 3px solid var(--blue); transform: rotate(45deg) translateY(-3px); transition: transform 0.2s; flex: none; margin-right: 4px; }
.dd.open .dd-chev { transform: rotate(-135deg) translateY(-3px); }
.dd-ico {
  width: 44px; height: 44px; border-radius: 50%; background: var(--wash); color: var(--blue);
  display: grid; place-items: center; flex: none;
}
.dd-ico svg { width: 24px; height: 24px; }
.dd-list {
  position: absolute; left: 0; right: 0; top: calc(100% + 12px); z-index: 40; margin: 0; padding: 8px; list-style: none;
  background: #fff; border-radius: 18px; box-shadow: 0 26px 54px rgba(15, 26, 54, 0.45);
  display: none; max-height: min(460px, 70vh); overflow-y: auto; outline: 0;
}
.dd.open .dd-list { display: block; animation: fadeUp 0.18s ease; }
.dd-opt { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 12px; cursor: pointer; color: var(--navy); min-height: 58px; }
.dd-opt .dd-txt { display: flex; flex-direction: column; line-height: 1.15; }
.dd-opt b { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; text-transform: uppercase; }
.dd-opt small { color: var(--muted); font-size: 0.84rem; }
.dd-opt:hover, .dd-opt.active { background: var(--wash); }
.dd-opt[aria-selected="true"] { background: var(--blue); color: #fff; }
.dd-opt[aria-selected="true"] small { color: #d6e2fb; }
.dd-opt[aria-selected="true"] .dd-ico { background: rgba(255, 255, 255, 0.2); color: #fff; }

.selector-out { padding: 40px 44px; text-align: center; display: flex; flex-direction: column; justify-content: center; min-height: 360px; }
.panel-ico { width: 76px; height: 76px; border-radius: 50%; background: var(--wash); color: var(--blue); display: grid; place-items: center; margin: 0 auto 16px; }
.selector-panel h3 { font-size: 2.9rem; margin-bottom: 12px; }
.selector-panel .panel-lede { color: var(--muted); font-size: 1.1rem; margin-bottom: 22px; }
.check-list { list-style: none; margin: 0 auto 28px; padding: 0; display: grid; gap: 10px; width: fit-content; max-width: 100%; text-align: left; }
.check-list li { position: relative; padding-left: 32px; }
.check-list li::before {
  content: ""; position: absolute; left: 3px; top: 0.4em; width: 13px; height: 8px;
  border-left: 3px solid var(--blue); border-bottom: 3px solid var(--blue); transform: rotate(-45deg);
}
.js .selector-panel { animation: panelIn 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); }
.js .selector-panel .check-list li { animation: fadeUp 0.4s ease both; }
.js .selector-panel .check-list li:nth-child(2) { animation-delay: 0.06s; }
.js .selector-panel .check-list li:nth-child(3) { animation-delay: 0.12s; }
.js .selector-panel .check-list li:nth-child(4) { animation-delay: 0.18s; }
@keyframes panelIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Service cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--line); border-top: 7px solid var(--blue); border-radius: var(--radius-lg);
  padding: 30px 30px 28px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px;
  transition: transform 0.18s, box-shadow 0.18s;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 18px 34px rgba(29, 43, 87, 0.18); }
.card h3 { font-size: 2.15rem; }
.card p { color: var(--muted); }
.card .card-link {
  margin-top: auto; padding-top: 8px; font-family: var(--font-head); font-weight: 700;
  font-size: 1.2rem; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; color: var(--blue);
}
.card .card-link:hover { color: var(--navy); }
.card--emergency { background: var(--blue); border-color: var(--blue); border-top-color: var(--navy); }
.card--emergency h3 { color: #fff; }
.card--emergency p { color: #e4ecfb; }
.card--emergency .card-link { color: #fff; }
.card--emergency .card-link:hover { color: var(--sky); }
.card-tag {
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); background: #fff;
  padding: 3px 12px; border-radius: 999px;
}
.more-link { margin-top: 40px; text-align: center; }

/* ---------- Video row ---------- */
.video-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; max-width: 1020px; margin: 0 auto; }
.video-card { margin: 0; transition: transform 0.2s; }
.video-card:hover { transform: translateY(-6px); }

/* ---------- Reviews ---------- */
.stars-row { display: flex; justify-content: center; gap: 4px; color: var(--gold); font-size: 2.4rem; line-height: 1; margin-bottom: 14px; }
.reviews { position: relative; }
.reviews-track {
  display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 10px 4px 26px; scrollbar-width: none;
}
.reviews-track::-webkit-scrollbar { display: none; }
.review {
  flex: 0 0 calc(50% - 12px); scroll-snap-align: start; background: #fff; border-radius: var(--radius-lg);
  padding: 34px 32px 30px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px;
  border: 1px solid var(--line); box-shadow: 0 14px 34px rgba(29, 43, 87, 0.12); position: relative;
}
.review .stars { color: var(--gold); font-size: 2rem; letter-spacing: 4px; line-height: 1; }
.review-pull {
  font-family: var(--font-head); font-weight: 700; font-size: clamp(1.9rem, 3vw, 2.4rem);
  line-height: 1.08; color: var(--navy); text-wrap: balance;
}
.review-pull::before { content: "\201C"; color: var(--blue); }
.review-pull::after { content: "\201D"; color: var(--blue); }
.review-who { font-weight: 600; color: var(--navy); }
.review-who small { display: block; font-weight: 400; color: var(--muted); font-size: 0.88rem; }
.review-more { width: 100%; }
.review-more summary {
  cursor: pointer; list-style: none; color: var(--blue); font-weight: 600; font-size: 0.95rem;
  text-decoration: underline; text-underline-offset: 3px; display: inline-block;
}
.review-more summary::-webkit-details-marker { display: none; }
.review-more[open] summary { margin-bottom: 12px; }
.review-more p { color: var(--text); font-size: 0.98rem; text-align: left; }
.reviews-nav { display: flex; justify-content: center; gap: 12px; margin-top: 4px; }
.reviews-nav button {
  width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--blue); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 3px 0 var(--blue-dark);
}
.reviews-nav button:hover:not(:disabled) { background: #2f4fa3; }
.reviews-nav button:disabled { opacity: 0.35; cursor: default; }
.reviews-link { text-align: center; margin-top: 28px; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; padding: 96px 0; background: var(--navy); }
.cta-band h2 { font-size: clamp(2.9rem, 6.6vw, 5rem); margin-bottom: 14px; color: #fff; }
.cta-band p { color: var(--sky); font-size: 1.22rem; margin-bottom: 32px; }
.cta-band .cta-actions { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; }

/* ---------- Inner page header ---------- */
.page-head { padding: 76px 0 64px; background: var(--soft); border-bottom: 1px solid var(--line); text-align: center; }
.page-head h1 { font-size: clamp(3.2rem, 7.4vw, 6rem); margin: 0 auto 18px; max-width: 14em; }
.page-head p { max-width: 40em; margin: 0 auto; color: var(--muted); font-size: 1.25rem; }
.page-head p a { color: var(--blue); font-weight: 500; }

/* ---------- Services page ---------- */
.service-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-row {
  min-width: 0;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px;
  padding: 34px 30px 32px; background: #fff; border: 1px solid var(--line); border-top: 7px solid var(--blue);
  border-radius: var(--radius-lg); scroll-margin-top: 130px;
  transition: transform 0.18s, box-shadow 0.18s;
}
.service-row:hover { transform: translateY(-4px); box-shadow: 0 18px 34px rgba(29, 43, 87, 0.16); }
.service-row h2 { font-size: 2.5rem; }
.service-row p { color: var(--muted); }
.service-row .check-list { margin: 0 auto 6px; color: var(--text); }
.service-row .btn { margin-top: auto; }
.service-row--wide { grid-column: 1 / -1; }
.service-row--wide p { max-width: 38em; }
.service-row--wide .check-list { grid-template-columns: repeat(2, auto); column-gap: 48px; }
.service-row--emergency { background: var(--blue); border-color: var(--blue); border-top-color: var(--navy); }
.service-row--emergency h2 { color: #fff; }
.service-row--emergency p { color: #e4ecfb; }
.service-row--emergency .check-list { color: #fff; }
.service-row--emergency .check-list li::before { border-color: var(--sky); }

/* ---------- About (centered) ---------- */
.about-center { max-width: 46em; margin: 0 auto; text-align: center; }
.about-center img { width: min(100%, 300px); height: auto; margin: 0 auto 30px; }
.about-center p { color: var(--text); font-size: 1.16rem; }
.about-center p + p { margin-top: 18px; }
.pull-quote { margin: 0 auto; max-width: 46em; text-align: center; }
.pull-quote::before { content: "\201C"; display: block; font-family: var(--font-head); font-weight: 800; font-size: 7rem; line-height: 0.6; color: var(--blue); margin-bottom: 14px; }
.pull-quote p { font-family: var(--font-head); font-weight: 700; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; color: var(--navy); }
.pull-quote cite { display: block; margin-top: 22px; font-style: normal; color: var(--muted); font-size: 1.02rem; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; counter-increment: step; text-align: center; }
.steps li::before {
  content: counter(step); display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; margin: 0 auto 16px;
}
.steps h3 { font-size: 2.3rem; margin-bottom: 10px; }
.steps p { color: var(--muted); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: stretch; }
.contact-grid aside { display: flex; flex-direction: column; gap: 20px; }
.form-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 38px; box-shadow: 0 14px 34px rgba(29, 43, 87, 0.1); }
#quote-form { display: flex; flex-direction: column; flex: 1; }
.field--grow { flex: 1; display: flex; flex-direction: column; }
.field--grow textarea { flex: 1; min-height: 150px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; margin-bottom: 8px; font-size: 0.98rem; color: var(--navy); }
.field .opt { color: var(--muted); font-weight: 400; }
textarea { min-height: 150px; resize: vertical; }
.form-card .btn { width: 100%; }
.hp { position: absolute; left: -5000px; height: 0; width: 0; overflow: hidden; }
.form-note { color: var(--muted); font-size: 0.95rem; margin-top: 16px; text-align: center; }
.form-note a { color: var(--blue); font-weight: 500; }
.form-status { margin-top: 18px; padding: 14px 16px; border: 2px solid var(--line); border-radius: 12px; display: none; font-size: 0.98rem; text-align: center; }
.form-status.show { display: block; }
.form-status.ok { border-color: #3c9a67; background: #eaf7f0; }
.form-status.err { border-color: #c4524f; background: #fbeceb; }
.form-status.info { border-color: var(--blue); background: #eef3fc; }
.aside-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; text-align: center; }
.aside-card--bot { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; background: linear-gradient(160deg, var(--navy-deep), var(--blue-dark)); border-color: var(--navy); }
.aside-card--bot h3 { color: #fff; margin-top: 12px; }
.aside-card.aside-card--bot p { color: var(--sky); max-width: 22em; margin: 0 auto 16px; }
.bot-av--card { width: 72px; height: 72px; }
.aside-card h3 { font-size: 2rem; margin-bottom: 10px; }
.aside-card p { color: var(--muted); }
.big-phone {
  display: block; font-family: var(--font-head); font-weight: 800; font-size: 3rem;
  letter-spacing: 0.01em; text-decoration: none; color: var(--blue); margin: 6px 0 8px; line-height: 1;
}
.big-phone:hover { color: var(--navy); }
.aside-card ul { margin: 12px auto 0; padding: 0; list-style: none; color: var(--muted); display: grid; gap: 6px; }

/* ---------- Footer (centered) ---------- */
.site-footer { background: var(--navy-deep); color: #c6d0e8; padding: 64px 0 26px; text-align: center; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px; justify-items: center; }
.footer-brand img { height: 112px; width: auto; margin: 0 auto 14px; }
.footer-brand p { max-width: 22em; font-size: 0.98rem; margin: 0 auto; }
.site-footer h4 {
  font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--sky); margin: 0 0 14px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--sky); }
.footer-legal { display: flex; gap: 22px; }
.footer-legal a { color: #c6d0e8; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.12); color: #97a4c8; font-size: 0.9rem; }

/* ---------- Brothers Bot (floating chat, bottom right) ---------- */
.bot { position: fixed; right: 22px; bottom: 22px; z-index: 95; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }

/* round mascot avatar with a green "online" dot */
.bot-av { position: relative; display: block; flex: none; width: 56px; height: 56px; border-radius: 50%; }
.bot-av img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; background: var(--navy-deep); border: 3px solid #fff; box-shadow: 0 2px 8px rgba(15, 26, 54, 0.35); }
.bot-dot { position: absolute; right: 0; bottom: 1px; width: 14px; height: 14px; border-radius: 50%; background: #2fd06b; border: 3px solid #fff; }
.bot-dot::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid #2fd06b; animation: ring 2s ease-out infinite; }

/* launcher: just the round avatar with the green "online" dot */
.bot-launch {
  position: relative; display: block; width: 68px; height: 68px; padding: 0; cursor: pointer; border: 0; border-radius: 50%;
  background: var(--navy-deep);
  box-shadow: 0 6px 20px rgba(15, 26, 54, 0.4);
  transition: transform 0.15s, box-shadow 0.15s;
  animation: botBob 3.6s ease-in-out 2.5s infinite;
}
.bot-launch .bot-av { width: 100%; height: 100%; }
.bot-launch .bot-av img { border-width: 3px; box-shadow: none; }
.bot-launch .bot-dot { width: 18px; height: 18px; right: 0; bottom: 2px; }
.bot-launch::before {   /* soft pulse so it catches the eye */
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 3px solid var(--blue-mid);
  animation: botRing 2.6s ease-out 3s infinite; pointer-events: none;
}
@keyframes botRing { from { transform: scale(1); opacity: 0.9; } to { transform: scale(1.5); opacity: 0; } }
@keyframes botBob { 0%, 80%, 100% { transform: translateY(0); } 88% { transform: translateY(-7px); } 94% { transform: translateY(0); } 97% { transform: translateY(-3px); } }
.bot-launch:hover { transform: scale(1.08); box-shadow: 0 10px 26px rgba(15, 26, 54, 0.45); animation: none; }
.bot-launch:active { transform: scale(0.96); }
.bot--open .bot-launch::before { display: none; }

/* little speech bubble that pops up next to the launcher */
.bot-teaser {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px 18px 6px 18px;
  padding: 14px 38px 14px 16px; max-width: 290px; box-shadow: 0 14px 34px rgba(15, 26, 54, 0.22);
  display: flex; flex-direction: column; gap: 2px; font-size: 0.95rem; line-height: 1.4; color: var(--text);
  animation: teaserIn 0.5s cubic-bezier(0.2, 1.3, 0.4, 1) both;
  transform-origin: 90% 100%;
}
.bot-teaser[hidden] { display: none; }
.bot-teaser strong { white-space: nowrap; display: flex; align-items: center; gap: 8px; font-family: var(--font-head); font-size: 1.5rem; text-transform: uppercase; color: var(--navy); line-height: 1.05; }
.drip-ico { display: inline-flex; color: var(--blue); animation: drip 3.2s ease-in-out infinite; transform-origin: 50% 30%; }
.drip-ico svg { width: 24px; height: 24px; }
@keyframes drip { 0%, 60%, 100% { transform: translateY(0) scale(1); } 70% { transform: translateY(5px) scale(0.88, 1.15); } 82% { transform: translateY(-3px) scale(1.08, 0.94); } 92% { transform: translateY(1px) scale(1); } }
.bot-teaser-x { position: absolute; top: 6px; right: 8px; border: 0; background: transparent; font-size: 1.5rem; line-height: 1; color: var(--muted); cursor: pointer; padding: 2px 6px; }
.bot-teaser-x:hover { color: var(--navy); }
@keyframes teaserIn { from { opacity: 0; transform: translateY(14px) scale(0.8); } to { opacity: 1; transform: none; } }

/* chat window */
.bot-panel {
  width: 392px; max-width: calc(100vw - 44px); height: 590px; max-height: calc(100vh - 130px);
  background: #fff; border-radius: 22px; border: 1px solid var(--line); overflow: hidden;
  display: flex; flex-direction: column; box-shadow: 0 28px 70px rgba(15, 26, 54, 0.42);
  animation: panelIn 0.35s cubic-bezier(0.2, 1.1, 0.3, 1) both; transform-origin: 90% 100%;
}
.bot-panel[hidden] { display: none; }
@keyframes panelIn { from { opacity: 0; transform: translateY(24px) scale(0.9); } to { opacity: 1; transform: none; } }
.bot-head {
  background: linear-gradient(135deg, var(--navy-deep), var(--blue-dark) 70%, var(--blue));
  color: #fff; padding: 14px 14px 14px 16px; display: flex; align-items: center; gap: 12px;
}
.bot-av--head { width: 52px; height: 52px; }
.bot-av--head img { border-color: rgba(255, 255, 255, 0.9); }
.bot-av--head .bot-dot { border-color: var(--navy); }
.bot-av--head .bot-dot::after { display: none; }
.bot-title { min-width: 0; }
.bot-title strong { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; text-transform: uppercase; line-height: 1; letter-spacing: 0.01em; }
.bot-title span { display: flex; align-items: center; gap: 6px; font-size: 0.85rem; color: var(--sky); margin-top: 3px; white-space: nowrap; }
.live { width: 8px; height: 8px; border-radius: 50%; background: #2fd06b; flex: none; animation: blip 1.6s infinite; }
.bot-phone, .bot-close {
  flex: none; width: 38px; height: 38px; border-radius: 50%; border: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.12); color: #fff; cursor: pointer; text-decoration: none; transition: background 0.15s;
}
.bot-phone { margin-left: auto; }
.bot-phone:hover, .bot-close:hover { background: rgba(255, 255, 255, 0.25); }
.bot-phone svg { width: 18px; height: 18px; }
.bot-close { font-size: 1.7rem; line-height: 1; padding: 0 0 3px; }
.bot-progress { height: 4px; background: var(--wash); }
.bot-progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue-mid), var(--blue)); transition: width 0.5s ease; border-radius: 0 4px 4px 0; }

.bot-log { flex: 1; overflow-y: auto; padding: 16px 14px; display: flex; flex-direction: column; gap: 10px; background: var(--soft); scroll-behavior: smooth; }
.row { display: flex; align-items: flex-end; gap: 8px; max-width: 100%; animation: msgIn 0.32s cubic-bezier(0.2, 1.2, 0.4, 1) both; transform-origin: 0 100%; }
.row-av { width: 30px; height: 30px; border-radius: 50%; flex: none; object-fit: cover; background: var(--navy-deep); border: 2px solid #fff; box-shadow: 0 1px 4px rgba(15, 26, 54, 0.3); }
.row--bot + .row--bot .row-av { visibility: hidden; }          /* avatar only on the first bubble of a run */
.row--user { align-self: flex-end; justify-content: flex-end; max-width: 86%; transform-origin: 100% 100%; }
.row--bot { align-self: flex-start; max-width: 92%; }
@keyframes msgIn { from { opacity: 0; transform: translateY(10px) scale(0.92); } to { opacity: 1; transform: none; } }
.msg { max-width: 100%; padding: 10px 14px; border-radius: 18px; font-size: 0.97rem; line-height: 1.45; overflow-wrap: anywhere; white-space: pre-line; }
.msg--bot { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 5px; color: var(--text); box-shadow: 0 1px 2px rgba(29, 43, 87, 0.06); }
.msg--user { background: linear-gradient(135deg, var(--blue), var(--blue-dark)); color: #fff; border-bottom-right-radius: 5px; }
.msg--typing { display: flex; gap: 5px; padding: 14px 16px; }
.msg--typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--peri); animation: blip 1s infinite; }
.msg--typing i:nth-child(2) { animation-delay: 0.15s; }
.msg--typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes blip { 0%, 80%, 100% { opacity: 0.25; } 40% { opacity: 1; } }

/* the request summary shown before sending */
.ticket { flex: 0 1 auto; min-width: 0; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: 14px; padding: 12px 14px; min-width: 230px; box-shadow: 0 1px 2px rgba(29, 43, 87, 0.06); }
.ticket h4 { font-family: var(--font-head); font-size: 1.3rem; line-height: 1.1; text-transform: uppercase; color: var(--navy); margin: 0 0 8px; padding: 0; letter-spacing: 0.02em; }
.ticket dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 3px 12px; font-size: 0.92rem; }
.ticket dt { color: var(--muted); }
.ticket dd { margin: 0; color: var(--text); font-weight: 600; overflow-wrap: anywhere; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; align-self: flex-start; max-width: 94%; margin-left: 38px; }
.chip {
  position: relative; overflow: hidden; border: 2px solid var(--blue); color: var(--blue); background: #fff; border-radius: 999px;
  padding: 8px 15px; font: 600 0.92rem var(--font-body); cursor: pointer;
  animation: chipIn 0.4s cubic-bezier(0.2, 1.3, 0.4, 1) both; animation-delay: calc(var(--i, 0) * 0.06s);
  transition: background 0.15s, color 0.15s, transform 0.12s;
}
.chip:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }
@keyframes chipIn { from { opacity: 0; transform: translateY(10px) scale(0.85); } to { opacity: 1; transform: none; } }
.bot-call {
  align-self: flex-start; margin-left: 38px; display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  background: var(--blue); color: #fff; border-radius: 12px; padding: 11px 18px;
  font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; text-transform: uppercase;
  box-shadow: 0 3px 0 var(--blue-dark); animation: msgIn 0.32s ease both;
}
.bot-call:hover { background: #2f4fa3; }

.bot-input { display: none; align-items: center; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); background: #fff; }
.bot-input.show { display: flex; }
.bot-input input { flex: 1; min-width: 0; padding: 12px 16px; border-radius: 999px; background: var(--soft); border: 2px solid transparent; }
.bot-input input:focus { background: #fff; border-color: var(--blue); outline: none; }
.bot-input button {
  flex: none; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--blue); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center; padding: 0; transition: background 0.15s, transform 0.12s;
}
.bot-input button:hover { background: #2f4fa3; transform: scale(1.06); }
.bot-input button svg { width: 20px; height: 20px; margin-left: -2px; }
.bot-foot { text-align: center; font-size: 0.78rem; color: var(--muted); padding: 7px 12px 9px; background: #fff; border-top: 1px solid var(--line); }
.bot-foot a { color: var(--blue); font-weight: 600; text-decoration: none; }
.bot-input.show + .bot-foot { border-top: 0; padding-top: 0; }

/* ---------- Scroll reveal ---------- */
.reveal-ready .reveal {
  opacity: 0; transform: translateY(48px) scale(0.97);
  transition: opacity 0.7s ease, transform 0.85s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--d, 0s);
}
.reveal-ready .reveal-zoom { transform: scale(0.86); }
.reveal-ready .reveal-left { transform: translateX(-56px); }
.reveal-ready .reveal-right { transform: translateX(56px); }
.reveal-ready .reveal.in { opacity: 1; transform: none; }
@media (max-width: 900px) {
  .reveal-ready .reveal-left, .reveal-ready .reveal-right { transform: translateY(40px) scale(0.97); }
}

/* hero and page headers animate on load */
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes zoomIn { from { opacity: 0; transform: translateY(46px) scale(0.93); } to { opacity: 1; transform: none; } }
.hero-lede { animation: rise 0.8s ease both; animation-delay: 0.95s; }
.hero-rotator { animation: rise 0.8s ease both; animation-delay: 1.15s; }
.hero-actions { animation: rise 0.8s ease both; animation-delay: 1.35s; }
.hero-video { animation: zoomIn 1s cubic-bezier(0.2, 0.8, 0.2, 1) both; animation-delay: 1.5s; }
.page-head h1 { animation: rise 0.8s ease both; animation-delay: 0.1s; }
.page-head p { animation: rise 0.8s ease both; animation-delay: 0.3s; }

/* ---------- Mobile call bar ---------- */
.mobile-bar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; background: #fff;
    border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch;
    gap: 0; padding: 6px var(--gutter) 20px; display: none; margin: 0; text-align: center;
    box-shadow: 0 18px 30px rgba(29, 43, 87, 0.12);
  }
  .nav.open { display: flex; }
  .nav a.nav-link { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1.5rem; }
  .nav a.nav-link[aria-current="page"] { color: var(--blue); }
  .header-cta { margin-left: auto; margin-right: 12px; }
  .card-grid, .service-list { grid-template-columns: repeat(2, 1fr); }
  .service-row--wide { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .hero { padding: 48px 0 70px; background: linear-gradient(180deg, #fff 0, #fff calc(100% - 210px), var(--wash) calc(100% - 210px), var(--wash) 100%); }
  .hero-actions { margin-bottom: 44px; }
  .hero-video .video-frame { box-shadow: 10px 10px 0 var(--blue); border-width: 3px; }
  .hero-video { padding-right: 10px; }
  .hero-video .play-btn { width: 76px; height: 76px; }
  .selector-card { grid-template-columns: minmax(0, 1fr); }
  .selector-pick { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .review { flex-basis: 78%; }
}

@media (max-width: 640px) {
  :root { --gutter: 18px; }
  body { font-size: 16.5px; padding-bottom: 74px; }
  .utility-bar { display: none; }
  .header-inner { min-height: 76px; }
  .brand img { height: 62px; }
  .header-cta { display: none; }
  .nav-toggle { margin-left: auto; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 34px; }
  .hero h1 { font-size: clamp(3.1rem, 14.5vw, 4.4rem); }
  .hero-lede { font-size: 1.15rem; }
  .hero-actions { gap: 14px; }
  .hero-actions .btn { width: 100%; min-width: 0; }
  .card-grid, .service-list { grid-template-columns: minmax(0, 1fr); }
  .service-row--wide .check-list { grid-template-columns: minmax(0, 1fr); }
  .service-row h2 { font-size: 2.2rem; overflow-wrap: anywhere; }
  .rot { min-width: 0; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-card { padding: 26px 20px; }
  .selector-pick { padding: 30px 18px 34px; }
  .selector-out { padding: 30px 20px 34px; min-height: 0; }
  .selector-panel h3 { font-size: 2.4rem; }
  .dd-val { font-size: 1.4rem; }
  .dd-btn { min-height: 64px; }
  .dd-opt { min-height: 62px; }
  .panel-ico { width: 64px; height: 64px; }
  .marquee-item { font-size: 1.35rem; padding: 18px 0 18px 22px; }
  .marquee-item::after { margin-left: 22px; }
  /* three vertical videos: swipe sideways on phones */
  .video-row {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px;
    margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 14px;
  }
  .video-card { flex: 0 0 70%; scroll-snap-align: center; }
  .review { flex-basis: 88%; padding: 28px 22px 24px; }
  .stars-row { font-size: 2rem; }
  .pull-quote::before { font-size: 5.5rem; }
  .bot { right: 14px; bottom: 84px; }
  .bot-launch { width: 60px; height: 60px; }
  .bot-teaser { max-width: min(260px, calc(100vw - 40px)); }
  .bot--open .bot-launch, .bot--open .bot-teaser { display: none; }
  .bot-panel {
    position: fixed; left: 0; right: 0; bottom: 0; width: 100%; max-width: none;
    height: min(86vh, 700px); height: min(86dvh, 700px); max-height: none; border-radius: 22px 22px 0 0;
  }
  .bot-foot { padding-bottom: max(9px, env(safe-area-inset-bottom)); }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(29,43,87,0.1);
  }
  .mobile-bar a {
    text-align: center; padding: 12px 8px; border-radius: 12px;
    font-family: var(--font-head); font-weight: 700; font-size: 1.35rem;
    text-transform: uppercase; letter-spacing: 0.02em; text-decoration: none;
  }
  .mobile-bar a:first-child { background: var(--blue); color: #fff; }
  .mobile-bar a:last-child { background: var(--soft); color: var(--navy); }
}

/* ---------- Extra life: bubbles, waves, glow, ripples, stars ---------- */
/* hero: bubbles drift up behind the content */
.hero { position: relative; }
.hero > .wrap { position: relative; z-index: 1; }
.bubble {
  position: absolute; bottom: -60px; border-radius: 50%; pointer-events: none; z-index: 0;
  border: 2px solid rgba(55, 89, 177, 0.22);
  background: radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.95), rgba(175, 202, 236, 0.22) 55%, rgba(55, 89, 177, 0.06));
  animation: bubbleUp var(--t, 14s) linear var(--dl, 0s) infinite;
}
@keyframes bubbleUp {
  0% { transform: translate(0, 0) scale(0.6); opacity: 0; }
  10% { opacity: 1; }
  50% { transform: translate(var(--sway, 24px), -50vh) scale(1); }
  90% { opacity: 1; }
  100% { transform: translate(calc(var(--sway, 24px) * -1), -110vh) scale(1.1); opacity: 0; }
}

/* animated water edges */
.cta-band { position: relative; isolation: isolate; }
.cta-band::before, .cta-band::after, .section--blue::after {
  content: ""; position: absolute; left: 0; right: 0; height: 40px; pointer-events: none;
  background-repeat: repeat-x; background-size: 1200px 40px;
}
.cta-band::before {
  top: -38px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 40'%3E%3Cpath d='M0 20C200 0 400 0 600 20S1000 40 1200 20V40H0Z' fill='%231d2b57'/%3E%3C/svg%3E");
  animation: waveX 12s linear infinite;
}
.cta-band::after {
  top: -47px; z-index: -1; opacity: 0.55; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 40'%3E%3Cpath d='M0 20C200 0 400 0 600 20S1000 40 1200 20V40H0Z' fill='%233759b1'/%3E%3C/svg%3E");
  animation: waveX 19s linear infinite reverse;
}
.section--blue { position: relative; }
.section--blue::after {
  top: calc(100% - 2px); z-index: 2; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 40'%3E%3Cpath d='M0 0V20C200 40 400 40 600 20S1000 0 1200 20V0Z' fill='%233759b1'/%3E%3C/svg%3E");
  animation: waveX 14s linear infinite;
}
@keyframes waveX { to { background-position-x: -1200px; } }
.cta-band .wrap { position: relative; z-index: 1; }

/* heading underline draws itself */
.section-head h2::after { content: ""; display: block; width: 84px; height: 6px; border-radius: 3px; background: var(--blue); margin: 16px auto 0; }
.section--blue .section-head h2::after { background: var(--sky); }
.reveal-ready .section-head.reveal h2::after { width: 0; }
.reveal-ready .section-head.reveal.in h2::after { width: 84px; transition: width 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.45s; }

/* soft light follows the cursor over cards */
.card, .service-row { background-image: radial-gradient(circle 190px at var(--mx, -400px) var(--my, -400px), rgba(55, 89, 177, 0.13), transparent 70%); }
.card--emergency { background-image: radial-gradient(circle 190px at var(--mx, -400px) var(--my, -400px), rgba(255, 255, 255, 0.2), transparent 70%); }

/* button ripple */
.btn, .chip { position: relative; overflow: hidden; }
.ripple { position: absolute; border-radius: 50%; pointer-events: none; background: rgba(255, 255, 255, 0.5); transform: scale(0); animation: rippleOut 0.6s ease-out forwards; }
.btn--secondary .ripple, .btn--light .ripple, .chip .ripple { background: rgba(55, 89, 177, 0.25); }
@keyframes rippleOut { to { transform: scale(4); opacity: 0; } }

/* stars pop in one by one */
.star { display: inline-block; }
.reveal-ready .reveal .star { opacity: 0; transform: scale(0.2) rotate(-40deg); }
.reveal-ready .reveal.in .star { animation: starPop 0.5s cubic-bezier(0.2, 1.5, 0.4, 1) both; animation-delay: calc(0.25s + var(--s, 0) * 0.1s); }
@keyframes starPop { from { opacity: 0; transform: scale(0.2) rotate(-40deg); } to { opacity: 1; transform: none; } }
.stars-row .star { animation: starGlint 4.5s ease-in-out infinite; animation-delay: calc(var(--s, 0) * 0.18s + 2s); }
@keyframes starGlint { 0%, 12%, 100% { transform: none; filter: none; } 6% { transform: scale(1.28) rotate(-8deg); filter: drop-shadow(0 0 8px rgba(245, 167, 10, 0.8)); } }

/* header gets a shadow once you scroll */
.site-header { transition: box-shadow 0.25s; }
.site-header.scrolled { box-shadow: 0 8px 24px rgba(29, 43, 87, 0.14); }

/* videos: muted preview plays on its own, button turns into a small pill */
.play-label { display: none; }
.video-frame.previewing .play-btn {
  top: auto; left: 14px; bottom: 14px; transform: none; width: auto; height: 46px; border-radius: 999px;
  padding: 0 18px 0 13px; gap: 8px; font: 700 1.15rem var(--font-head); letter-spacing: 0.03em; text-transform: uppercase;
  background: rgba(255, 255, 255, 0.95);
}
.video-frame.previewing .play-btn::before { display: none; }
.video-frame.previewing .play-btn svg { width: 20px; height: 20px; margin: 0; }
.video-frame.previewing .play-btn .play-label { display: inline; }
.video-frame.previewing .play-btn:hover { transform: scale(1.05); }
.video-frame.previewing { cursor: pointer; }

/* ---------- Reviews: every card lines up row by row ---------- */
.review-photo {
  position: relative; width: 84px; height: 84px; border-radius: 50%; flex: none; overflow: hidden;
  background: linear-gradient(145deg, var(--blue), var(--navy)); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; line-height: 1;
  border: 4px solid #fff; box-shadow: 0 0 0 2px var(--sky), 0 8px 18px rgba(29, 43, 87, 0.2);
}
.review-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.review-photo.no-img img { display: none; }
.review-more { text-align: center; }
.review-more summary { display: inline-block; cursor: pointer; list-style: none; color: var(--blue); font-weight: 600; font-size: 0.98rem; text-decoration: underline; text-underline-offset: 3px; }
.review-more summary::-webkit-details-marker { display: none; }
.review-who { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
@supports (grid-template-rows: subgrid) {
  .reviews-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc(50% - 12px); grid-template-rows: auto auto 1fr auto auto; column-gap: 24px; row-gap: 0; }
  .review { display: grid; grid-template-rows: subgrid; grid-row: span 5; row-gap: 16px; justify-items: center; align-items: center; }
  .review-pull { align-self: center; }
  @media (max-width: 640px) { .reviews-track { grid-auto-columns: 88%; } }
}
.review-dialog {
  width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 48px); overflow: auto; border: 0; border-radius: var(--radius-lg);
  padding: 38px 34px 32px; text-align: center; background: #fff; color: var(--text); box-shadow: 0 30px 80px rgba(15, 26, 54, 0.5);
}
.review-dialog::backdrop { background: rgba(15, 26, 54, 0.62); backdrop-filter: blur(3px); }
.review-dialog[open] { animation: panelIn 0.3s cubic-bezier(0.2, 1.1, 0.3, 1) both; }
.review-dialog .stars { color: var(--gold); font-size: 2rem; letter-spacing: 4px; margin-bottom: 14px; }
.rd-text { font-size: 1.1rem; line-height: 1.6; }
.rd-who { margin-top: 18px; font-weight: 600; color: var(--navy); }
.rd-close {
  position: absolute; top: 12px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--soft); color: var(--navy); font-size: 1.7rem; line-height: 1; padding: 0 0 3px;
}
.rd-close:hover { background: var(--wash); }

/* ---------- FAQ ---------- */
.faq { max-width: 52em; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: box-shadow 0.2s; }
.faq-item[open] { box-shadow: 0 12px 28px rgba(29, 43, 87, 0.12); border-color: var(--sky); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; position: relative; text-align: left;
  font-family: var(--font-head); font-weight: 700; font-size: 1.55rem; line-height: 1.15; color: var(--navy);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; position: absolute; right: 24px; top: 50%; width: 12px; height: 12px; margin-top: -9px;
  border-right: 3px solid var(--blue); border-bottom: 3px solid var(--blue); transform: rotate(45deg); transition: transform 0.25s;
}
.faq-item[open] summary::after { transform: rotate(225deg); margin-top: -3px; }
.faq-item p { padding: 0 24px 22px; text-align: left; color: var(--muted); font-size: 1.05rem; }

/* ---------- Borough cards and pages ---------- */
.borough-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.borough-grid > .borough-card:not(.borough-card--sm) { flex: 0 1 calc(20% - 13px); min-width: 0; }
.borough-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; text-decoration: none;
  background: #fff; border: 1px solid var(--line); border-top: 6px solid var(--blue); border-radius: var(--radius-lg); padding: 26px 14px;
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
}
.borough-card:hover { transform: translateY(-6px); box-shadow: 0 18px 34px rgba(29, 43, 87, 0.18); background: var(--navy); }
.borough-name { font-family: var(--font-head); font-weight: 800; font-size: 1.95rem; line-height: 1; text-transform: uppercase; color: var(--navy); transition: color 0.18s; }
.borough-sub { font-size: 0.92rem; color: var(--muted); transition: color 0.18s; }
.borough-card:hover .borough-name { color: #fff; }
.borough-card:hover .borough-sub { color: var(--sky); }
.borough-grid--sm { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.borough-others { width: 100%; text-align: center; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.borough-card--sm { padding: 14px 22px; flex-direction: row; border-top-width: 4px; }
.borough-card--sm .borough-name { font-size: 1.6rem; }
.borough-work { max-width: 760px; margin: 34px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 36px; text-align: left; }
.chip-list { list-style: none; margin: 0 auto; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 900px; }
.chip-list li { background: #fff; border: 2px solid var(--sky); color: var(--navy); border-radius: 999px; padding: 8px 18px; font-weight: 600; transition: background 0.15s, color 0.15s, transform 0.15s; }
.chip-list li:hover { background: var(--blue); color: #fff; border-color: var(--blue); transform: translateY(-3px); }
.chip-note { text-align: center; margin-top: 26px; color: var(--muted); }
.chip-note a { color: var(--blue); font-weight: 600; }
.page-actions { margin: 30px 0 0; animation: none; }
.about-h2 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: 20px; }

/* ---------- Legal pages ---------- */
.prose { max-width: 46em; }
.prose h2 { font-size: 2.1rem; margin: 38px 0 10px; text-align: left; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: 14px; color: var(--text); font-size: 1.06rem; text-align: left; }
.prose a { color: var(--blue); font-weight: 600; }

/* ---------- Sections that carry pipes ---------- */
.pipe-section { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff, var(--wash)); }
.pipe-section > .wrap { position: relative; z-index: 1; }
.who-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.who-card { flex: 0 1 calc(20% - 13px); min-width: 0; }
.who-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 16px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; transition: transform 0.18s, box-shadow 0.18s; }
.who-card:hover { transform: translateY(-5px); box-shadow: 0 16px 30px rgba(29, 43, 87, 0.15); }
.who-card h3 { font-size: 1.7rem; line-height: 1.05; }
.who-card p { color: var(--muted); font-size: 0.95rem; }
.ig-band { background: linear-gradient(180deg, #fff, var(--soft)); }

/* ---------- Pipes (decorative, animated) ---------- */
.pipes { position: absolute; inset: 0; width: 100%; height: 100%; max-width: 100%; pointer-events: none; z-index: 0; will-change: transform; overflow: visible; }
.pipes path, .pipes rect, .pipes circle { fill: none; stroke-linecap: butt; stroke-linejoin: round; }
.pipe-edge { stroke: #cddbf2; stroke-width: 34; }
.pipe-body { stroke: #f2f6fd; stroke-width: 24; }
.pipe-flow { stroke: var(--blue); stroke-width: 6; stroke-linecap: round !important; stroke-dasharray: 1 42; opacity: 0.4; animation: pipeFlow 3.2s linear infinite; }
.pipe-flange { fill: #cddbf2 !important; }
.pipe-valve circle { stroke: #cddbf2; stroke-width: 7; fill: #f2f6fd; }
.pipe-valve path { stroke: #cddbf2; stroke-width: 7; stroke-linecap: round; }
.pipe-valve { animation: valveSpin 24s linear infinite; }
.pipes--dark .pipe-edge { stroke: #3a476d; }
.pipes--dark .pipe-body { stroke: #2d3a63; }
.pipes--dark .pipe-flow { stroke: #fff; opacity: 0.5; }
.pipes--dark .pipe-flange { fill: #414d72 !important; }
/* on the blue section the pipes use solid blues (no see-through overlap seams) */
.section--blue .pipes--dark .pipe-edge { stroke: #516fbb; }
.section--blue .pipes--dark .pipe-body { stroke: #4565b6; }
.section--blue .pipes--dark .pipe-flange { fill: #5774be !important; }
@keyframes pipeFlow { to { stroke-dashoffset: -43; } }
@keyframes valveSpin { to { transform: rotate(360deg); } }
.section--blue > .wrap { position: relative; z-index: 1; }
.section--blue, .cta-band, .pipe-section { isolation: isolate; }
.pipes--band.pipes--light .pipe-edge { stroke: #d6e2f5; }
.pipes--band.pipes--light .pipe-body { stroke: #f7faff; }

@media (max-width: 1080px) {
  .borough-grid > .borough-card:not(.borough-card--sm), .who-card { flex-basis: calc(33.33% - 11px); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .pipes { opacity: 0.4; }
  .borough-grid > .borough-card:not(.borough-card--sm), .who-card { flex-basis: calc(50% - 8px); }
  .borough-grid > .borough-card:not(.borough-card--sm):last-child:nth-child(odd) { flex-basis: 70%; }
  .borough-work { grid-template-columns: 1fr; }
  .faq-item summary { font-size: 1.35rem; padding: 18px 50px 18px 18px; }
  .faq-item p { padding: 0 18px 20px; }
  .review-dialog { padding: 34px 20px 26px; }
  .footer-legal { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Bubbles (hero and dark bands) ---------- */
.bubbles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.bubbles .bubble { pointer-events: auto; cursor: pointer; }
.bubble { transition: filter 0.15s; }
.bubble:hover { filter: brightness(1.08); }
.bubble--light { border-color: rgba(255, 255, 255, 0.4); background: radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.12) 55%, rgba(255, 255, 255, 0.03)); }
.bubble.pop { animation: bubblePop 0.28s ease-out forwards !important; }
@keyframes bubblePop { to { transform: scale(1.7); opacity: 0; } }
.splash { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: rgba(120, 160, 225, 0.85); pointer-events: none; animation: splashOut 0.55s ease-out forwards; }
.bubble--light + .splash, .splash--light { background: rgba(255, 255, 255, 0.85); }
@keyframes splashOut { from { transform: translate(0, 0) scale(1); opacity: 1; } to { transform: translate(var(--sx), var(--sy)) scale(0.2); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hl { background-size: 100% 100%; }
  .marquee-track { width: auto; flex-wrap: wrap; justify-content: center; }
  .marquee-group[aria-hidden="true"] { display: none; }
  .marquee-group { flex-wrap: wrap; justify-content: center; }
  .reveal-ready .reveal { opacity: 1; transform: none; }
  .bubbles, .pipe-flow, .cta-band::before, .cta-band::after, .section--blue::after { display: none; }
  .pipe-valve { animation: none; }
}

/* pipes are clipped by their own frame so runs always continue past the section edge */
.pipes-clip { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }

/* review carousel extras */
.reviews-nav { align-items: center; }
.reviews-dots { display: flex; align-items: center; justify-content: center; gap: 9px; min-width: 70px; }
.reviews-dots button { width: 11px; height: 11px; padding: 0; border-radius: 50%; border: 0; background: var(--sky); cursor: pointer; transition: transform 0.2s, background 0.2s, width 0.2s; }
.reviews-dots button.on { background: var(--blue); width: 28px; border-radius: 999px; }
.reviews-count { font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; color: var(--navy); letter-spacing: 0.04em; }
.reviews-track { cursor: grab; }
.reviews-track.dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; user-select: none; }
.reviews-nav button:disabled { opacity: 1; }

@media (max-width: 640px) {
  .borough-name { font-size: 1.45rem; overflow-wrap: anywhere; }
  .borough-card { padding-left: 10px; padding-right: 10px; }
}

/* YouTube-hosted clips */
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; opacity: 0; transition: opacity 0.25s; }
.video-frame.is-yt.has-video iframe { opacity: 1; }
.yt-shield { position: absolute; inset: 0; z-index: 2; cursor: pointer; }
.video-frame.is-yt.playing .yt-shield { display: none; }
.video-frame.is-yt .play-btn { z-index: 3; }
.video-frame.is-yt:not(.has-video) .play-btn { pointer-events: none; }

.rating-line { color: var(--muted); font-size: 1.1rem; margin-top: 4px; }
.rating-line strong { color: var(--navy); font-size: 1.25rem; }
