/* ProCom Services — shared styles
   Brand: navy #031f2a, light blue #11b5f5
   Type:  Manrope (display) + Inter (body)
*/

:root {
  --navy:        #031f2a;
  --navy-700:    #062a3a;
  --navy-600:    #0a3a4f;
  --navy-500:    #134a62;
  --blue:        #11b5f5;
  --blue-600:    #0a93cc;
  --blue-50:     #e6f7fe;
  --ink:         #031f2a;
  --ink-2:       #2c4651;
  --muted:       #5b727c;
  --muted-2:     #8b9da4;
  --line:        #e2e8ea;
  --line-2:      #eef2f3;
  --bg:          #ffffff;
  --bg-soft:     #f5f8f9;
  --bg-soft-2:   #eef3f5;
  --warn:        #d24f2c;
  --ok:          #1f8a5b;

  --radius-sm: 8px;
  --radius:    12px;
  --radius-lg: 18px;
  --radius-xl: 28px;

  --shadow-1: 0 1px 2px rgba(3, 31, 42, 0.06), 0 1px 1px rgba(3,31,42,0.04);
  --shadow-2: 0 6px 18px rgba(3, 31, 42, 0.08), 0 2px 4px rgba(3,31,42,0.04);
  --shadow-3: 0 18px 40px rgba(3, 31, 42, 0.14), 0 4px 12px rgba(3,31,42,0.06);

  --header-h: 104px;

  --container: 1240px;

  --ease: cubic-bezier(.2,.7,.2,1);
}

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

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4, h5 {
  font-family: 'Manrope', 'Inter', sans-serif;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 0;
  font-weight: 700;
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 4.6vw, 4rem); line-height: 1.04; letter-spacing: -0.03em; font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.8rem); line-height: 1.08; }
h3 { font-size: clamp(1.25rem, 1.6vw, 1.5rem); line-height: 1.2; }
h4 { font-size: 1.125rem; line-height: 1.25; }

p { margin: 0 0 1em 0; text-wrap: pretty; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

@media (max-width: 720px) {
  .container { padding: 0 20px; }
}

.section { padding: clamp(56px, 8vw, 112px) 0; }
.section-sm { padding: clamp(40px, 6vw, 72px) 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--navy); color: #fff; }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-600);
  margin-bottom: 16px;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--blue);
  display: inline-block;
}

.section-dark .eyebrow { color: var(--blue); }

.lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--ink-2); max-width: 60ch; }

.muted { color: var(--muted); }

/* ─── Buttons ─────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 10px;
  border: 1px solid transparent;
  background: var(--navy);
  color: #fff;
  transition: transform .15s var(--ease), background .15s var(--ease), border-color .15s var(--ease), box-shadow .15s var(--ease), color .15s var(--ease);
  font-family: inherit;
  white-space: nowrap;
  text-decoration: none;
}

.btn:hover { background: var(--navy-700); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 6px 16px rgba(17,181,245,0.32); }
.btn--primary:hover { background: var(--blue-600); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--bg-soft); border-color: #cfd9dd; }

.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.22); }
.btn--ghost-light:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.4); }

.btn--lg { padding: 18px 28px; font-size: 1.05rem; }
.btn--block { width: 100%; }

.btn .arrow { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--navy);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: gap .15s var(--ease), color .15s var(--ease);
}
.link-arrow:hover { gap: 12px; color: var(--blue-600); }
.link-arrow svg { width: 16px; height: 16px; }

/* ─── Header / Nav ─────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-2);
  transition: box-shadow .2s var(--ease), background .2s var(--ease);
}

.site-header.is-scrolled { box-shadow: var(--shadow-1); }

.nav {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand__logo {
  display: block;
  height: 70px;
  width: auto;
}

.site-footer .brand__logo {
  filter: invert(1) brightness(1.15) contrast(1.05);
}

.brand__mark {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-600) 100%);
  display: grid; place-items: center;
  color: var(--blue);
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  position: relative;
  overflow: hidden;
}
.brand__mark::after {
  content: "";
  position: absolute;
  inset: auto -10px -10px auto;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--blue);
  opacity: 0.85;
}
.brand__mark span { position: relative; z-index: 1; }

.brand__name {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1;
}
.brand__tag {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0; padding: 0;
}

.nav__links a {
  display: inline-block;
  padding: 10px 14px;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: 8px;
  transition: color .15s var(--ease), background .15s var(--ease);
}
.nav__links a:hover { color: var(--navy); background: var(--bg-soft); }
.nav__links a.is-active { color: var(--navy); font-weight: 600; }
.nav__links a.is-active::after {
  content: "";
  display: block;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
  margin-top: 4px;
}

.nav__right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  padding: 8px 12px;
  border-radius: 8px;
  transition: color .15s var(--ease);
}
.nav__phone:hover { color: var(--blue-600); }
.nav__phone svg { width: 16px; height: 16px; color: var(--blue); }

.nav__burger {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  align-items: center; justify-content: center;
  padding: 0;
}
.nav__burger span {
  position: relative; display: block;
  width: 18px; height: 2px; background: var(--ink);
  border-radius: 2px;
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}
.nav__burger span::before, .nav__burger span::after {
  content: "";
  position: absolute; left: 0;
  width: 18px; height: 2px; background: var(--ink);
  border-radius: 2px;
  transition: transform .2s var(--ease);
}
.nav__burger span::before { top: -6px; }
.nav__burger span::after  { top: 6px; }

body.menu-open .nav__burger span { background: transparent; }
body.menu-open .nav__burger span::before { transform: translateY(6px) rotate(45deg); }
body.menu-open .nav__burger span::after  { transform: translateY(-6px) rotate(-45deg); }

/* Mobile drawer */
.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: #fff;
  z-index: 90;
  padding: 32px 24px 120px;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
  overflow-y: auto;
}
body.menu-open .mobile-menu { opacity: 1; transform: translateY(0); pointer-events: auto; }

.mobile-menu a.mobile-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 4px;
  font-family: 'Manrope', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  border-bottom: 1px solid var(--line-2);
}
.mobile-menu a.mobile-link svg { color: var(--muted-2); width: 18px; height: 18px; }
.mobile-menu .mobile-cta { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }

/* ─── Hero ─────────────────────────────────────────── */

.hero {
  position: relative;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(1000px 500px at 80% -10%, rgba(17,181,245,0.18), transparent 60%),
    radial-gradient(700px 400px at -10% 100%, rgba(17,181,245,0.10), transparent 60%);
  z-index: -1;
}
.hero h1, .hero h2, .hero h3 { color: #fff; }

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
  padding-top: clamp(56px, 8vw, 104px);
  padding-bottom: clamp(72px, 9vw, 120px);
}

/* Photo-backed hero: full-bleed background photo with navy overlay. */
.hero--photo .hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.hero--photo::before {
  z-index: 1;
  background:
    linear-gradient(110deg, rgba(3,31,42,0.94) 0%, rgba(3,31,42,0.84) 45%, rgba(3,31,42,0.62) 100%),
    radial-gradient(900px 460px at 85% 5%, rgba(17,181,245,0.22), transparent 60%);
}
.hero--photo .hero__grid {
  position: relative;
  z-index: 2;
}
.hero--photo .hero__copy { max-width: 720px; }

.hero__copy .eyebrow { color: var(--blue); }
.hero__copy h1 { margin-bottom: 20px; }
.hero__copy h1 .accent { color: var(--blue); }
.hero__copy .lead {
  color: rgba(255,255,255,0.78);
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  max-width: 52ch;
  margin-bottom: 32px;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero__chips {
  display: flex; flex-wrap: wrap; gap: 22px; margin-top: 40px;
  color: rgba(255,255,255,0.72); font-size: 0.95rem;
}
.hero__chips span {
  display: inline-flex; align-items: center; gap: 8px;
}
.hero__chips span::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%; background: var(--blue);
}

.hero__media {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 5 / 6;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.04) 0 8px, transparent 8px 18px),
    linear-gradient(160deg, #0a3a4f 0%, #062a3a 100%);
  box-shadow: 0 30px 60px rgba(0,0,0,0.35);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
}

.hero__media::before {
  content: "commercial facility photo";
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: none;
}

.hero__media.has-photo {
  background: var(--navy);
}
.hero__media.has-photo::before { content: none; }
.hero__media .hero__media-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.hero__media.has-photo::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(3,31,42,0.18) 0%, rgba(3,31,42,0) 25%, rgba(3,31,42,0.32) 100%),
    radial-gradient(closest-side at 25% 25%, rgba(17,181,245,0.12), transparent 70%);
  z-index: 0;
  pointer-events: none;
}
.hero__media > .badge,
.hero__media > .stat-card { position: relative; z-index: 1; }

.hero__media .stat-card {
  position: relative;
  z-index: 1;
  align-self: flex-end;
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow-2);
  display: flex; flex-direction: column; gap: 2px;
  min-width: 200px;
}
.hero__media .stat-card strong { font-family: 'Manrope', sans-serif; font-size: 2rem; font-weight: 800; color: var(--navy); }
.hero__media .stat-card span { font-size: 0.9rem; color: var(--muted); }

.hero__media .badge {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.95);
  color: var(--navy);
  padding: 8px 14px 8px 10px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--shadow-1);
}
.hero__media .badge::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 4px rgba(31,138,91,0.18);
}

/* ─── Quick quote form (in hero) ─────────────────── */

.quote-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-3);
  color: var(--ink);
  border: 1px solid var(--line-2);
  margin-top: -64px;
  position: relative;
  z-index: 5;
}
.quote-card h3 { margin-bottom: 4px; }
.quote-card p.muted { font-size: 0.95rem; margin-bottom: 20px; }

.quote-card form {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.quote-card .field { display: flex; flex-direction: column; gap: 6px; }
.quote-card .field--name   { grid-column: span 2; }
.quote-card .field--phone  { grid-column: span 2; }
.quote-card .field--service{ grid-column: span 2; }
.quote-card .field--date   { grid-column: span 2; }
.quote-card .field--zip    { grid-column: span 2; }
.quote-card .field--submit { grid-column: span 2; align-self: end; }

.quote-card label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.quote-card input,
.quote-card select,
.quote-card textarea {
  width: 100%;
  padding: 14px 14px;
  background: var(--bg-soft);
  border: 1px solid transparent;
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  transition: border-color .15s var(--ease), background .15s var(--ease), box-shadow .15s var(--ease);
}
.quote-card input:focus,
.quote-card select:focus,
.quote-card textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(17,181,245,0.18);
}

.quote-card .has-error input,
.quote-card .has-error select { border-color: var(--warn); background: #fff; box-shadow: 0 0 0 4px rgba(210,79,44,0.12); }
.quote-card .err {
  font-size: 0.78rem;
  color: var(--warn);
  font-weight: 500;
  display: none;
}
.quote-card .has-error .err { display: block; }

.quote-card select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='none' stroke='%23031f2a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' d='M1 1.5l5 5 5-5'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }

.thanks-state {
  display: none;
  text-align: center;
  padding: 24px 12px;
}
.thanks-state.is-on { display: block; }
.thanks-state .check {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--blue-50);
  color: var(--blue-600);
  display: grid; place-items: center;
  margin: 0 auto 14px;
}
.thanks-state h4 { font-size: 1.4rem; font-family: 'Manrope', sans-serif; margin-bottom: 6px; }

/* ─── Why us ──────────────────────────────────────── */

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.pillar {
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.pillar:hover { transform: translateY(-3px); border-color: var(--blue); box-shadow: var(--shadow-2); }
.pillar__num {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--blue-600);
  letter-spacing: 0.06em;
}
.pillar h3 { margin: 12px 0 10px; font-size: 1.15rem; }
.pillar p { color: var(--muted); font-size: 0.98rem; margin: 0; }

.stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  align-items: end;
  padding-top: 56px;
  margin-top: 56px;
  border-top: 1px solid var(--line);
}
.stats-row p {
  grid-column: 1 / -1;
  font-size: 1.15rem;
  color: var(--ink-2);
  margin: 0 0 24px;
  max-width: none;
  text-wrap: pretty;
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat strong {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat span { color: var(--muted); font-size: 0.95rem; }

/* ─── Services grid ───────────────────────────────── */

.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.svc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
  text-decoration: none;
  color: inherit;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: #cfd9dd; }
.svc-card:hover .svc-card__media { transform: scale(1.04); }

.svc-card__media-wrap { overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-soft); }
.svc-card__media {
  width: 100%; height: 100%;
  transition: transform .4s var(--ease);
}
.svc-card__body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.svc-card__num {
  font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 0.8rem;
  color: var(--blue-600); letter-spacing: 0.1em;
}
.svc-card h3 { margin: 10px 0 8px; font-size: 1.25rem; }
.svc-card p { color: var(--muted); font-size: 0.98rem; line-height: 1.55; margin: 0 0 18px; flex: 1; }
.svc-card .link-arrow { font-size: 0.95rem; }

/* Services grid layout: 1st card spans 2 cols, then 4 cards span 1 col each. 
   We make it: 2 + 1 + 1 + 1 + 1  =  on desktop a 6-col grid. */
.services-grid .svc-card:nth-child(1) { grid-column: span 2; }
.services-grid .svc-card:nth-child(2) { grid-column: span 2; }
.services-grid .svc-card:nth-child(3) { grid-column: span 2; }
.services-grid .svc-card:nth-child(4) { grid-column: span 3; }
.services-grid .svc-card:nth-child(5) { grid-column: span 3; }

/* image-slot styling inside card media */
.svc-card image-slot {
  width: 100%;
  height: 100%;
  display: block;
}

/* Service card style variants (Tweaks) */
body[data-svc-style="icon"] .svc-card__media-wrap {
  aspect-ratio: 3 / 1.2;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-600) 100%);
  display: grid; place-items: center;
  color: var(--blue);
}
body[data-svc-style="icon"] .svc-card image-slot { display: none; }
body[data-svc-style="icon"] .svc-card .svc-icon { display: grid; }
.svc-card .svc-icon { display: none; width: 64px; height: 64px; place-items: center; background: rgba(17,181,245,0.14); border-radius: 16px; color: var(--blue); }
.svc-card .svc-icon svg { width: 32px; height: 32px; }

body[data-svc-style="text"] .svc-card__media-wrap { display: none; }
body[data-svc-style="text"] .svc-card { padding-top: 0; }
body[data-svc-style="text"] .svc-card__body { padding-top: 32px; }
body[data-svc-style="text"] .svc-card { border-top: 4px solid var(--blue); border-radius: var(--radius); }

/* ─── 3-step process ─────────────────────────────── */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  counter-reset: step;
}
.step {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--line-2);
}
.step__num {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--blue);
  display: grid; place-items: center;
  font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 1.25rem;
  margin-bottom: 18px;
}
.step h3 { font-size: 1.3rem; margin-bottom: 10px; }
.step p { color: var(--muted); margin: 0; }

.steps .step:nth-child(odd) { background: var(--bg-soft); }

/* ─── CTA banner ─────────────────────────────────── */

.cta-banner {
  position: relative;
  border-radius: var(--radius-xl);
  background: var(--navy);
  color: #fff;
  padding: clamp(40px, 6vw, 64px);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.cta-banner::after {
  content: "";
  position: absolute;
  right: -120px; bottom: -120px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(17,181,245,0.42), transparent);
  z-index: -1;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 80px);
  z-index: -1;
}
.cta-banner h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); color: #fff; margin-bottom: 8px; }
.cta-banner p { color: rgba(255,255,255,0.78); margin: 0; max-width: 50ch; }
.cta-banner__cta { display: flex; justify-content: flex-end; gap: 12px; flex-wrap: wrap; }

/* ─── Testimonials ────────────────────────────────── */

.testimonials {
  display: grid;
  margin-top: 48px;
  gap: 20px;
}

body[data-testi="grid"] .testimonials { grid-template-columns: repeat(2, 1fr); }
body[data-testi="carousel"] .testimonials {
  grid-auto-flow: column;
  grid-auto-columns: minmax(340px, 1fr);
  grid-template-columns: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 16px;
  scroll-padding-left: 24px;
}
body[data-testi="carousel"] .testimonial { scroll-snap-align: start; }

.testimonial {
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.testimonial .stars { color: var(--blue); display: inline-flex; gap: 2px; }
.testimonial .stars svg { width: 18px; height: 18px; fill: currentColor; }
.testimonial blockquote {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  font-size: 1.15rem;
  line-height: 1.5;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.testimonial blockquote::before { content: "\201C"; }
.testimonial blockquote::after  { content: "\201D"; }
.testimonial .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testimonial .who .avatar {
  flex: 0 0 44px;
  width: 44px;
  min-width: 44px;
  max-width: 44px;
  height: 44px;
  min-height: 44px;
  max-height: 44px;
  aspect-ratio: 1 / 1;
  box-sizing: border-box;
  padding: 0;
  border-radius: 50%;
  background: var(--navy);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  align-self: center;
}
.testimonial .who strong { display: block; font-weight: 600; font-size: 1rem; color: var(--ink); }
.testimonial .who span { display: block; color: var(--muted); font-size: 0.9rem; }

.carousel-controls {
  display: none;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}
body[data-testi="carousel"] .carousel-controls { display: flex; }
.carousel-controls button {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  display: grid; place-items: center;
  color: var(--ink);
  transition: background .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease);
}
.carousel-controls button:hover { background: var(--navy); color: var(--blue); border-color: var(--navy); }
.carousel-controls button svg { width: 18px; height: 18px; }

/* ─── Trust badges ───────────────────────────────── */

.trust {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: center;
  padding: 32px 0;
}
.trust__label {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  max-width: 16ch;
  line-height: 1.5;
}
.trust__logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: center;
}
.trust__logo {
  height: 64px;
  border-radius: 10px;
  background: var(--bg-soft);
  border: 1px solid var(--line-2);
  display: grid; place-items: center;
  color: var(--muted);
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  padding: 0 18px;
  text-align: center;
}
.trust__logo small { font-weight: 500; display: block; font-size: 0.65rem; letter-spacing: 0.12em; color: var(--muted-2); margin-top: 2px; }

/* Trust logo variant: image + label (used for affiliations with real marks). */
.trust__logo--with-img {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 14px;
  text-align: left;
}
.trust__logo--with-img img {
  height: 40px;
  width: auto;
  border-radius: 4px;
  flex-shrink: 0;
}
.trust__logo--with-img > span {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}
.footer-affil .trust__logo--with-img img {
  height: 32px;
}

/* ─── Footer ─────────────────────────────────────── */

.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.78);
  padding: 56px 0 0;
}
.site-footer h4 {
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.site-footer a { color: rgba(255,255,255,0.78); transition: color .15s var(--ease); }
.site-footer a:hover { color: var(--blue); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1.1fr 0.8fr;
  gap: 32px;
  padding-bottom: 48px;
}
.footer-grid p { font-size: 0.95rem; line-height: 1.6; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 0.95rem; }
.footer-grid .brand__name { color: #fff; }
.footer-grid .brand__tag { color: rgba(255,255,255,0.5); }
.footer-affil {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-affil .trust__logo { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.08); color: rgba(255,255,255,0.78); height: 56px; min-width: 0; padding: 0 12px; }
.footer-affil .trust__logo small { color: rgba(255,255,255,0.5); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
}
.footer-bottom .legal { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-bottom .legal a { color: rgba(255,255,255,0.5); }
.footer-bottom .legal a:hover { color: var(--blue); }

/* ─── Sticky Call Now (mobile) ───────────────────── */

.sticky-call {
  display: none;
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 80;
  background: var(--blue);
  color: #fff;
  padding: 14px 18px;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(17,181,245,0.4), 0 4px 10px rgba(3,31,42,0.2);
  font-weight: 700;
  font-size: 1.05rem;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Manrope', sans-serif;
}
.sticky-call svg { width: 20px; height: 20px; }

/* ─── Page sub-hero (for inner pages) ─────────────── */

.subhero {
  background: var(--navy);
  color: #fff;
  padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 7vw, 80px);
  position: relative;
  overflow: hidden;
}
.subhero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(800px 320px at 90% 10%, rgba(17,181,245,0.18), transparent 60%);
}
.subhero__crumbs {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 14px;
  display: flex; gap: 8px; align-items: center;
}
.subhero__crumbs a { color: rgba(255,255,255,0.78); }
.subhero__crumbs a:hover { color: var(--blue); }
.subhero h1 { color: #fff; max-width: 18ch; margin-bottom: 18px; }
.subhero p.lead { color: rgba(255,255,255,0.8); max-width: 60ch; }

/* Photo-backed sub-hero: full-bleed image with navy overlay. */
.subhero--photo {
  padding: clamp(80px, 11vw, 140px) 0 clamp(72px, 10vw, 120px);
}
.subhero--photo .subhero__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.subhero--photo::before { content: none; }
.subhero--photo::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(3,31,42,0.94) 0%, rgba(3,31,42,0.86) 40%, rgba(3,31,42,0.60) 100%),
    linear-gradient(180deg, rgba(3,31,42,0.20) 0%, rgba(3,31,42,0) 40%, rgba(3,31,42,0.35) 100%),
    radial-gradient(700px 320px at 90% 10%, rgba(17,181,245,0.22), transparent 60%);
  z-index: 1;
}
.subhero--photo > .container { position: relative; z-index: 2; }
.subhero--photo h1 { max-width: 22ch; font-size: clamp(2.6rem, 5vw, 4.2rem); }
.subhero--photo p.lead { max-width: 56ch; font-size: clamp(1.1rem, 1.5vw, 1.3rem); }

/* ─── Modal ─────────────────────────────────────── */

.modal {
  position: fixed; inset: 0;
  background: rgba(3,31,42,0.6);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity .2s var(--ease);
}
.modal.is-open { display: flex; opacity: 1; }
.modal__inner {
  background: #fff;
  border-radius: var(--radius-lg);
  max-width: 720px;
  width: 100%;
  padding: 32px;
  position: relative;
  box-shadow: var(--shadow-3);
  max-height: 90vh; overflow-y: auto;
  transform: translateY(10px);
  transition: transform .2s var(--ease);
}
.modal.is-open .modal__inner { transform: translateY(0); }
.modal__close {
  position: absolute; top: 14px; right: 14px;
  width: 40px; height: 40px;
  border: 0; background: var(--bg-soft);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--ink);
}
.modal__close:hover { background: var(--line); }
.modal__close svg { width: 18px; height: 18px; }
.modal h3 { margin-bottom: 4px; font-size: 1.6rem; }
.modal p.muted { margin-bottom: 20px; }

/* ─── Page-specific helpers ─────────────────────── */

.two-col {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.two-col .photo {
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 5;
  background:
    repeating-linear-gradient(135deg, rgba(3,31,42,0.04) 0 10px, transparent 10px 22px),
    var(--bg-soft);
  border: 1px solid var(--line-2);
  display: grid; place-items: center;
  color: var(--muted);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.two-col image-slot { display: block; width: 100%; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); }

.prose p { font-size: 1.05rem; color: var(--ink-2); line-height: 1.65; }
.prose h2 { margin-bottom: 18px; }
.prose h3 { margin: 36px 0 14px; font-size: 1.4rem; }

.feature-list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 14px;
  margin-top: 24px;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 1.02rem;
  color: var(--ink-2);
}
.feature-list li::before {
  content: "";
  flex: 0 0 24px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--blue-50);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'><path fill='none' stroke='%230a93cc' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M2 7l3.2 3.2L12 3.6'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 2px;
}

/* contact map */
.map {
  border-radius: var(--radius-lg);
  background:
    linear-gradient(0deg, rgba(3,31,42,0.04), rgba(3,31,42,0.04)),
    repeating-linear-gradient(90deg, rgba(3,31,42,0.06) 0 1px, transparent 1px 60px),
    repeating-linear-gradient(0deg,  rgba(3,31,42,0.06) 0 1px, transparent 1px 60px),
    var(--bg-soft);
  height: 420px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-2);
}
.map__pin {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -100%);
  width: 36px; height: 36px;
  border-radius: 50% 50% 50% 0;
  background: var(--blue);
  rotate: -45deg;
  box-shadow: 0 8px 20px rgba(17,181,245,0.45);
}
.map__pin::after {
  content: "";
  position: absolute; inset: 9px;
  border-radius: 50%;
  background: #fff;
}
.map__pulse {
  position: absolute;
  top: 50%; left: 50%;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--blue);
  opacity: .35;
  transform: translate(-50%, -50%);
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0% { transform: translate(-50%, -50%) scale(.6); opacity: .5; }
  100% { transform: translate(-50%, -50%) scale(3); opacity: 0; }
}

.contact-card-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 26px;
}
.contact-card .icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--blue-50);
  color: var(--blue-600);
  display: grid; place-items: center;
  margin-bottom: 16px;
}
.contact-card .icon svg { width: 22px; height: 22px; }
.contact-card h4 { margin-bottom: 4px; font-size: 1rem; font-family: 'Inter', sans-serif; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.contact-card p { font-family: 'Manrope', sans-serif; font-weight: 600; font-size: 1.15rem; margin: 0; color: var(--ink); }
.contact-card a { color: var(--ink); }
.contact-card a:hover { color: var(--blue-600); }

/* ─── Contact page — split layout (form + aside w/ panel + map) ─ */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 40px;
  align-items: start;
}

.contact-aside {
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-panel {
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--radius-lg);
  padding: 8px 4px;
  box-shadow: var(--shadow-1);
}

.contact-panel__row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line-2);
}
.contact-panel__row:last-child { border-bottom: 0; }

.contact-panel__icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 10px;
  background: var(--blue-50);
  color: var(--blue-600);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.contact-panel__icon svg { width: 20px; height: 20px; }

.contact-panel__row > div:last-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}
.contact-panel__label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.2;
}
.contact-panel__value {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink);
  line-height: 1.3;
  word-break: break-word;
}
a.contact-panel__value { transition: color .15s var(--ease); }
a.contact-panel__value:hover { color: var(--blue-600); }
.contact-panel__value--sm {
  font-size: 0.95rem;
  font-weight: 600;
}
.contact-panel__sub {
  font-size: 0.85rem;
  color: var(--blue-600);
  font-weight: 500;
  margin-top: 2px;
}

.contact-aside .map { height: 320px; margin-top: 0; }
.contact-directions { align-self: flex-start; }

.contact-form-wrap .quote-card { box-shadow: var(--shadow-2); }

@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; gap: 32px; }
  .contact-aside { position: static; top: auto; }
  .contact-aside .map { height: 280px; }
}

/* ─── Scroll reveal ──────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ─── Responsive ─────────────────────────────────── */

@media (max-width: 1100px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero__media { aspect-ratio: 16 / 10; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-row { grid-template-columns: 1fr 1fr 1fr; }
  .stats-row p { grid-column: 1 / -1; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid .svc-card:nth-child(n) { grid-column: span 1; }
  .services-grid .svc-card:nth-child(5) { grid-column: 1 / -1; }
  .cta-banner { grid-template-columns: 1fr; }
  .cta-banner__cta { justify-content: flex-start; }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .contact-card-row { grid-template-columns: 1fr; }
  body[data-testi="grid"] .testimonials { grid-template-columns: 1fr; }
  .trust { grid-template-columns: 1fr; gap: 20px; }
  .trust__logos { grid-template-columns: repeat(2, 1fr); }
}

/* Tighter footer flips for mid-size screens — keep 4 columns above 880px, 
   then 2 columns until mobile drops to 1. */
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-affil { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  body { font-size: 18px; }
  .nav__links, .nav__phone { display: none; }
  .nav__burger { display: inline-flex; }
  .nav .btn--primary { display: none; }
  .sticky-call { display: inline-flex; }
  body.has-sticky-call { padding-bottom: 80px; }
  .hero__grid { padding-top: 40px; padding-bottom: 56px; }
  .hero__chips { gap: 14px; }
  .quote-card { padding: 22px; margin-top: -32px; }
  .quote-card form { grid-template-columns: 1fr 1fr; }
  .quote-card .field--name,
  .quote-card .field--service,
  .quote-card .field--submit { grid-column: span 2; }
  .why-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .services-grid .svc-card:nth-child(n) { grid-column: span 1; }
  .steps { grid-template-columns: 1fr; }
  .cta-banner { padding: 32px 24px; border-radius: var(--radius-lg); }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { justify-content: flex-start; }
  .stats-row { grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 40px; margin-top: 40px; }
  .trust__logos { grid-template-columns: repeat(2, 1fr); }
}
