/* =========================================================
   Cognizant Plumbing & Home Solutions — Core Stylesheet
   ========================================================= */

:root {
  --navy: #0D1B2A;
  --navy-light: #142940;
  --blue: #1D4ED8;
  --blue-dark: #1739A8;
  --light-blue: #60A5FA;
  --grey: #64748B;
  --grey-light: #94A3B8;
  --bg-soft: #F8FAFC;
  --bg-soft-2: #EFF4FB;
  --border: #E2E8F0;
  --white: #FFFFFF;
  --red: #DC2626;
  --red-dark: #B91C1C;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 999px;

  --shadow-sm: 0 2px 8px rgba(13, 27, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(13, 27, 42, 0.08);
  --shadow-lg: 0 20px 48px rgba(13, 27, 42, 0.14);

  --container: 1200px;
  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);

  /* layout + control sizing (8px rhythm) */
  --header-h: 88px;
  --control-h: 48px;
  --control-h-lg: 56px;
  --shadow-btn: 0 1px 2px rgba(13, 27, 42, 0.10), 0 4px 10px rgba(13, 27, 42, 0.10);
  --shadow-btn-hover: 0 2px 4px rgba(13, 27, 42, 0.12), 0 8px 16px rgba(13, 27, 42, 0.12);
  --focus-ring: 0 0 0 2px var(--white), 0 0 0 4px var(--blue);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: 1rem; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.18; letter-spacing: -0.01em; }

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

section { position: relative; }

/* ---------- Keyboard focus ---------- */
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.btn:focus-visible, .call-pill:focus-visible, .nav-toggle:focus-visible { outline: none; box-shadow: var(--focus-ring); }
.btn:focus-visible, .call-pill:focus-visible { border-radius: var(--radius-full); }
.hero-photo :focus-visible, .page-hero :focus-visible, .bg-navy :focus-visible, .quick-strip :focus-visible, .site-footer :focus-visible { outline-color: var(--white); }
.hero-photo .btn:focus-visible, .hero-photo .call-pill:focus-visible,
.page-hero .btn:focus-visible, .page-hero .call-pill:focus-visible { box-shadow: 0 0 0 2px var(--navy), 0 0 0 4px var(--white); }

/* ---------- Utility ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before {
  content: '';
  width: 18px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}
.eyebrow.on-dark { color: var(--light-blue); }

.text-grey { color: var(--grey); }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin: 14px 0 14px; color: var(--navy); }
.section-head p { color: var(--grey); font-size: 1.05rem; }

.accent { color: var(--blue); }

.py { padding-top: 96px; padding-bottom: 96px; }
.py-sm { padding-top: 56px; padding-bottom: 56px; }
.bg-soft { background: var(--bg-soft); }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-navy .text-grey { color: #9FB3C8; }

/* reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(.2,.8,.2,1), transform 0.7s cubic-bezier(.2,.8,.2,1);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--control-h);
  padding: 0 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  white-space: nowrap;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  position: relative;
}
.btn svg { width: 16px; height: 16px; transition: transform var(--transition); flex-shrink: 0; }
.btn:hover svg { transform: translateX(2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: var(--shadow-btn);
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); box-shadow: var(--shadow-btn-hover); }
.btn-primary:active { background: var(--blue-dark); box-shadow: var(--shadow-btn); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-1px); }

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.35);
}
.btn-outline-light:hover { border-color: var(--white); background: rgba(255,255,255,0.08); transform: translateY(-1px); }

.btn-white {
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow-md);
}
.btn-white:hover { transform: translateY(-1px); box-shadow: var(--shadow-lg); }

.btn-emergency {
  background: var(--red);
  color: var(--white);
  box-shadow: var(--shadow-btn);
}
.btn-emergency:hover { background: var(--red-dark); transform: translateY(-1px); box-shadow: var(--shadow-btn-hover); }

.btn-lg { min-height: var(--control-h-lg); padding: 0 32px; font-size: 1rem; }
.btn-lg svg { width: 18px; height: 18px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.7; cursor: not-allowed; transform: none !important; }

.btn .btn-spinner { display: none; width: 18px; height: 18px; }
.btn.is-loading .btn-spinner { display: inline-block; animation: spin 0.9s linear infinite; }
.btn.is-loading .btn-label-text { opacity: 0.85; }
.btn.is-loading svg.arrow-icon { display: none; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition), background var(--transition);
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(13,27,42,0.06); }

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

/* The logo file carries transparent padding (about 4% left); the negative margin
   pulls the visible mark onto the container edge. */
.brand { display: flex; align-items: center; flex-shrink: 0; margin-left: -6px; border-radius: var(--radius-sm); }
.brand-logo { height: 72px; width: auto; max-width: none; object-fit: contain; flex-shrink: 0; }

.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.25;
  white-space: nowrap;
  color: var(--navy);
  position: relative;
  padding: 0;
  transition: color var(--transition);
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 6px;
  width: 0; height: 2px;
  background: var(--blue);
  transition: width var(--transition);
  border-radius: 2px;
}
.main-nav a:hover, .main-nav a.active { color: var(--blue); }
.main-nav a.active::after, .main-nav a:hover::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 24px; flex-shrink: 0; }
.nav-call { display: flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; font-size: 0.95rem; line-height: 1; color: var(--navy); white-space: nowrap; transition: color var(--transition); }
.nav-call:hover { color: var(--blue); }
.nav-call svg { width: 16px; height: 16px; color: var(--blue); flex-shrink: 0; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  align-items: center; justify-content: center;
  border: 1px solid var(--border);
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--navy); position: relative; transition: all var(--transition); }
.nav-toggle span::before, .nav-toggle span::after {
  content: ''; position: absolute; left: 0; width: 20px; height: 2px; background: var(--navy); transition: all var(--transition);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.is-open span::after { top: 0; transform: rotate(-45deg); }

.mobile-nav-panel {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--white);
  z-index: 480;
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  overflow-y: auto;
}
.mobile-nav-panel.is-open { opacity: 1; transform: translateY(0); visibility: visible; pointer-events: auto; }
.mobile-nav-panel .container { padding-top: 28px; padding-bottom: 28px; }
.mobile-nav-panel a { display: block; padding: 16px 0; font-size: 1.1rem; font-weight: 600; border-bottom: 1px solid var(--border); }
.mobile-nav-panel .nav-actions { flex-direction: column; align-items: stretch; margin-top: 24px; gap: 14px; }
.mobile-nav-panel .nav-call { justify-content: center; min-height: var(--control-h); padding: 0 16px; background: var(--bg-soft); border-radius: var(--radius-full); }

/* dropdown (services) */
.has-dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: 100%; left: -16px;
  min-width: 240px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  padding: 10px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all var(--transition);
}
.has-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a { display: flex; min-height: 44px; padding: 0 16px; border-radius: var(--radius-sm); font-size: 0.92rem; font-weight: 500; }
.dropdown-menu a:hover { background: var(--bg-soft); color: var(--blue); }
.has-dropdown { display: flex; }
.has-dropdown > a { gap: 4px; }
.has-dropdown:focus-within .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a::after { display: none; }
.has-dropdown > a svg { width: 12px; height: 12px; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--white) 100%);
  padding: 64px 0 0;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding-bottom: 64px; }
.hero-content h1 { font-size: clamp(2.4rem, 4.6vw, 3.6rem); color: var(--navy); margin: 18px 0 20px; }
.hero-content h1 .blue { color: var(--blue); display: block; }
.hero-content p.lead { font-size: 1.12rem; color: var(--grey); max-width: 540px; margin-bottom: 32px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }

.call-pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--control-h-lg); padding: 0 32px; border-radius: var(--radius-full);
  border: 1.5px solid var(--border); font-weight: 600; font-size: 1rem; line-height: 1; white-space: nowrap;
  transition: transform var(--transition), background var(--transition), border-color var(--transition), color var(--transition);
}
.call-pill svg { width: 18px; height: 18px; color: var(--blue); flex-shrink: 0; }
.call-pill:hover { border-color: var(--blue); transform: translateY(-1px); }
.call-pill:active { transform: translateY(0); }

.trust-row { display: flex; gap: 16px 32px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 500; line-height: 1.25; color: var(--grey); white-space: nowrap; }
.trust-item svg { width: 18px; height: 18px; color: var(--blue); flex-shrink: 0; }

.hero-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 5/4.4; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-floating-card {
  position: absolute; bottom: 22px; left: 22px; right: 22px;
  background: var(--navy); color: var(--white);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex; align-items: center; gap: 16px;
  box-shadow: var(--shadow-lg);
}
.hero-floating-card .ico {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--blue); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.hero-floating-card .ico svg { width: 20px; height: 20px; color: var(--white); }
.hero-floating-card strong { font-size: 1rem; font-weight: 600; line-height: 1.3; display: block; margin-bottom: 4px; }
.hero-floating-card span { display: block; font-size: 0.85rem; line-height: 1.5; color: #C7D5E5; text-wrap: balance; }

/* ---------- Hero with photo background ---------- */
.hero-photo {
  background:
    linear-gradient(100deg, rgba(13,27,42,0.95) 0%, rgba(13,27,42,0.89) 32%, rgba(13,27,42,0.58) 60%, rgba(13,27,42,0.25) 100%),
    url('../images/home-page.jpg') center right / cover no-repeat;
  padding: 152px 0 128px;
  overflow: hidden;
  position: relative;
}
.hero-photo .hero-content { max-width: 640px; }
.hero-photo .hero-content h1 { color: var(--white); margin: 16px 0 24px; line-height: 1.1; letter-spacing: -0.02em; text-shadow: 0 2px 16px rgba(0,0,0,0.35); }
.hero-photo .hero-content h1 .blue { color: var(--light-blue); }
.hero-photo .hero-content p.lead { color: #DCE6F1; max-width: 560px; line-height: 1.7; margin-bottom: 32px; text-shadow: 0 1px 8px rgba(0,0,0,0.35); }
.hero-photo .eyebrow { color: var(--light-blue); }
.hero-photo .eyebrow::before { background: var(--light-blue); }
.hero-photo .call-pill { border-color: rgba(255,255,255,0.45); color: var(--white); }
.hero-photo .call-pill:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.hero-photo .call-pill svg { color: var(--light-blue); }
.hero-photo .trust-item { color: #DCE6F1; }
.hero-photo .trust-item svg { color: var(--light-blue); }
.hero-photo .hero-floating-card {
  position: absolute;
  bottom: 40px; right: 24px;
  left: auto; width: 320px;
  background: rgba(13,27,42,0.78);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.12);
}

/* ---------- Strip / quick services bar ---------- */
.quick-strip {
  background: var(--navy);
  padding: 56px 0;
}
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.quick-item { padding: 0 28px; border-left: 1px solid rgba(255,255,255,0.12); }
.quick-item:first-child { border-left: none; padding-left: 0; }
.quick-item svg { width: 30px; height: 30px; color: var(--light-blue); margin-bottom: 16px; }
.quick-item h4 { color: var(--white); font-size: 1.05rem; margin-bottom: 8px; }
.quick-item p { color: #9FB3C8; font-size: 1rem; margin-bottom: 14px; }
.quick-item .learn { display: inline-flex; align-items: center; gap: 6px; color: var(--light-blue); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.quick-item .learn svg { width: 13px; height: 13px; margin: 0; }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card .icon-wrap {
  width: 56px; height: 56px; border-radius: var(--radius-md);
  background: var(--bg-soft-2); display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px; transition: background var(--transition);
}
.service-card:hover .icon-wrap { background: var(--blue); }
.service-card .icon-wrap svg { width: 26px; height: 26px; color: var(--blue); transition: color var(--transition); }
.service-card:hover .icon-wrap svg { color: var(--white); }
.service-card h3 { font-size: 1.12rem; margin-bottom: 10px; }
.service-card p { color: var(--grey); font-size: 0.92rem; margin-bottom: 18px; }
.service-card .link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--blue); }
.service-card .link svg { width: 13px; height: 13px; transition: transform var(--transition); }
.service-card:hover .link svg { transform: translateX(3px); }

.feature-item { display: flex; gap: 16px; }
.feature-item .icon-wrap { width: 48px; height: 48px; border-radius: var(--radius-md); background: var(--bg-soft-2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.feature-item .icon-wrap svg { width: 22px; height: 22px; color: var(--blue); }
.feature-item h4 { font-size: 1.02rem; margin-bottom: 6px; }
.feature-item p { color: var(--grey); font-size: 0.9rem; }

/* ---------- Why choose us / stats ---------- */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.why-text h2 { font-size: clamp(1.9rem, 3.2vw, 2.5rem); margin: 14px 0 18px; }
.why-list { display: flex; flex-direction: column; gap: 22px; margin-top: 28px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 26px 18px; text-align: center; }
.stat-card svg { width: 26px; height: 26px; color: var(--blue); margin: 0 auto 14px; }
.stat-card .num { font-size: 1.9rem; font-weight: 800; color: var(--navy); display: block; }
.stat-card .label { font-size: 0.84rem; color: var(--grey); }

/* ---------- Emergency banner ---------- */
.emergency-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #102136 100%);
  border-radius: var(--radius-lg);
  padding: 44px 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  flex-wrap: wrap;
  color: var(--white);
}
.emergency-banner .left { display: flex; align-items: center; gap: 18px; }
.emergency-banner .pulse-ico {
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--blue); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  position: relative;
}
.emergency-banner .pulse-ico::after {
  content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--light-blue); opacity: 0.5;
  animation: pulse-ring 2s ease-out infinite;
}
.emergency-banner .pulse-ico svg { width: 24px; height: 24px; color: var(--white); }
.emergency-banner .eyebrow { margin-bottom: 6px; }
.emergency-banner h3 { font-size: 1.3rem; margin-bottom: 4px; }
.emergency-banner p { color: #9FB3C8; font-size: 0.92rem; }
.emergency-banner .right { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.emergency-banner .phone-num { font-size: 1.4rem; font-weight: 800; color: var(--white); }

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ---------- Areas served ---------- */
.areas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.area-pill {
  display: flex; align-items: center; gap: 12px;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 18px 20px; transition: all var(--transition);
}
.area-pill:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); }
.area-pill svg { width: 20px; height: 20px; color: var(--blue); flex-shrink: 0; }
.area-pill span { font-weight: 600; font-size: 0.95rem; }

/* ---------- Process / workflow steps ---------- */
.process-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.process-row::before {
  content: ''; position: absolute; top: 28px; left: 8%; right: 8%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--border) 0 8px, transparent 8px 16px);
}
.process-step { position: relative; text-align: center; }
.process-step .step-num {
  width: 56px; height: 56px; border-radius: 50%; background: var(--blue); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.1rem;
  margin: 0 auto 18px; position: relative; z-index: 2; box-shadow: 0 0 0 8px var(--white);
}
.process-step.on-dark .step-num { box-shadow: 0 0 0 8px var(--navy); }
.bg-soft .process-step .step-num { box-shadow: 0 0 0 8px var(--bg-soft); }
.process-step h3, .process-step h4 { font-size: 1.0625rem; margin-bottom: 8px; }
.process-step p { font-size: 1rem; color: var(--grey); }
.process-row.cols-5 { grid-template-columns: repeat(5, 1fr); gap: 16px; }
.process-step.on-dark p { color: #9FB3C8; }

/* ---------- Insurer logos ---------- */
.logo-strip { display: flex; align-items: center; justify-content: space-between; gap: 56px; flex-wrap: wrap; }
.logo-strip img { height: 56px; max-width: 180px; object-fit: contain; opacity: 0.55; filter: grayscale(1); transition: opacity var(--transition), filter var(--transition); }
.logo-strip img:hover { opacity: 1; filter: grayscale(0); }
.logo-strip-label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey); }

/* ---------- Values / team ---------- */
.value-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.value-card { text-align: center; padding: 8px; }
.value-card svg { width: 30px; height: 30px; color: var(--blue); margin: 0 auto 14px; }
.value-card h3, .value-card h4 { font-size: 1.0625rem; margin-bottom: 8px; }
.value-card p { font-size: 1rem; color: var(--grey); }
.value-grid.cols-4 { grid-template-columns: repeat(4, 1fr); gap: 32px; }

.team-banner {
  background: var(--navy); border-radius: var(--radius-lg); overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; color: var(--white);
}
.team-banner img { width: 100%; height: 100%; object-fit: cover; min-height: 300px; }
.team-banner .content { padding: 48px; display: flex; flex-direction: column; justify-content: center; }
.team-banner h3 { font-size: 1.6rem; margin: 12px 0 16px; }
.team-banner p { color: #9FB3C8; }

/* ---------- CTA bands ---------- */
.cta-band {
  background: var(--navy); border-radius: var(--radius-lg);
  padding: 36px 44px; color: var(--white);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.cta-band .left { display: flex; align-items: center; gap: 18px; }
.cta-band .ico-circle { width: 54px; height: 54px; border-radius: 50%; background: var(--blue); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cta-band .ico-circle svg { width: 22px; height: 22px; color: var(--white); }
.cta-band h3 { font-size: 1.2rem; }
.cta-band p { color: #C7D5E5; font-size: 1rem; }
.cta-band a.phone-link { color: var(--white); font-weight: 700; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.cta-band .mid { display: flex; gap: 28px; flex-wrap: wrap; }
.cta-band .mid-item span { display: block; font-size: 0.875rem; color: #9FB3C8; }
.cta-band .mid-item a { display: inline-flex; align-items: center; min-height: 44px; color: var(--white); }
.cta-band .mid-item strong { font-size: 1rem; color: var(--white); }

/* ---------- Forms ---------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 40px;
}
.form-card h3 { font-size: 1.4rem; margin-bottom: 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label, .form-group legend { display: block; font-size: 0.9375rem; font-weight: 600; margin-bottom: 8px; color: var(--navy); }
.form-group label .req { color: var(--red); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  min-height: var(--control-h);
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  color: var(--navy);
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--white);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--grey-light); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(29,78,216,0.1);
}
.form-group textarea { resize: vertical; min-height: 128px; line-height: 1.6; }
.char-count { text-align: right; font-size: 0.8125rem; color: var(--grey); margin-top: 8px; }

.radio-row { display: flex; gap: 8px 24px; flex-wrap: wrap; }
.form-group .radio-pill { display: flex; align-items: center; gap: 8px; min-height: 44px; margin: 0; font-size: 1rem; font-weight: 500; cursor: pointer; }
.form-group .radio-pill input { width: 20px; height: 20px; min-height: 0; padding: 0; accent-color: var(--blue); cursor: pointer; }

.upload-box {
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex; align-items: center; gap: 16px;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
  position: relative;
}
.upload-box:hover, .upload-box.dragover { border-color: var(--blue); background: var(--bg-soft); }
.upload-box svg { width: 26px; height: 26px; color: var(--blue); flex-shrink: 0; }
.upload-box .u-title { font-weight: 600; font-size: 1rem; }
.upload-box .u-title span { color: var(--blue); }
.upload-box .u-sub { font-size: 0.875rem; color: var(--grey); }
.upload-box:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(29,78,216,0.1); }
.upload-box .u-sub a { color: var(--blue); font-weight: 600; }
.upload-box input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-list { margin-top: 10px; font-size: 0.82rem; color: var(--grey); }

.honeypot-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

.form-note { display: flex; align-items: center; gap: 8px; font-size: 0.875rem; color: var(--grey); justify-content: center; margin-top: 18px; }
.form-note svg { width: 14px; height: 14px; }

.form-status {
  display: none;
  padding: 16px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  margin-bottom: 24px;
  align-items: center;
  gap: 10px;
}
.form-status.success { display: flex; background: #ECFDF5; color: #047857; border: 1px solid #A7F3D0; }
.form-status.error { display: flex; background: #FEF2F2; color: #B91C1C; border: 1px solid #FECACA; }
.form-status svg { width: 18px; height: 18px; flex-shrink: 0; }

.side-info { display: flex; flex-direction: column; gap: 26px; }
.side-feature { display: flex; gap: 16px; align-items: flex-start; padding-bottom: 22px; border-bottom: 1px solid var(--border); }
.side-feature:last-child { border-bottom: none; padding-bottom: 0; }
.side-feature .icon-wrap { width: 46px; height: 46px; border-radius: 50%; background: var(--bg-soft-2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.side-feature .icon-wrap svg { width: 20px; height: 20px; color: var(--blue); }
.side-feature h3, .side-feature h4 { font-size: 1.0625rem; margin-bottom: 4px; }
.side-feature p { font-size: 1rem; color: var(--grey); }

.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }

/* ---------- Contact page extras ---------- */
.contact-info-list { display: flex; flex-direction: column; gap: 0; }
.contact-info-item { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.contact-info-item:first-child { padding-top: 0; }
.contact-info-item .icon-wrap { width: 46px; height: 46px; border-radius: 50%; background: var(--bg-soft-2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-item .icon-wrap svg { width: 20px; height: 20px; color: var(--blue); }
.contact-info-item { padding: 24px 0; }
.contact-info-item h3, .contact-info-item h4 { font-size: 1rem; margin-bottom: 4px; }
.contact-info-item a, .contact-info-item p { font-size: 1rem; color: var(--grey); }
.contact-info-item .value { display: block; color: var(--navy); font-weight: 600; font-size: 1.0625rem; overflow-wrap: anywhere; }
.contact-info-item a.value { display: inline-flex; align-items: center; min-height: 44px; color: var(--blue); }
.contact-info-item a.value:hover { text-decoration: underline; }

.map-frame { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border); aspect-ratio: 4/3; }
.map-frame iframe { width: 100%; height: 100%; border: 0; }
.mobile-note { background: var(--bg-soft); border-radius: var(--radius-md); padding: 18px; display: flex; gap: 14px; align-items: center; margin-top: 16px; }
.mobile-note .icon-wrap { width: 42px; height: 42px; border-radius: 50%; background: var(--white); display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: var(--shadow-sm); }
.mobile-note .icon-wrap svg { width: 18px; height: 18px; color: var(--blue); }
.mobile-note p { font-size: 1rem; color: var(--grey); }
.mobile-note strong { font-size: 1rem; color: var(--navy); display: block; margin-bottom: 4px; }

/* ---------- Page hero (sub pages) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #102136 100%);
  padding: 76px 0;
  color: var(--white);
  overflow: hidden;
}
.page-hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.page-hero h1 { font-size: clamp(2.1rem, 3.8vw, 3rem); margin: 16px 0 24px; color: var(--white); line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
.page-hero h1 .blue { color: var(--light-blue); display: inline; }
.page-hero p { color: #DCE6F1; max-width: 560px; margin-bottom: 32px; font-size: 1.0625rem; line-height: 1.7; }
.page-hero .hero-ctas { margin-bottom: 32px; }
.page-hero .hero-content > :last-child { margin-bottom: 0; }
.page-hero .call-pill { border-color: rgba(255,255,255,0.45); color: var(--white); }
.page-hero .call-pill svg { color: var(--light-blue); }
.page-hero .call-pill:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.page-hero .trust-row { color: #9FB3C8; }
.page-hero .trust-row svg { color: var(--light-blue); }
.page-hero .trust-row .trust-item { color: #DCE6F1; }
.page-hero-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 5/4; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }

.breadcrumb { display: block; font-size: 0.875rem; color: var(--grey); margin-bottom: 8px; }
.breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; color: var(--blue); font-weight: 600; }
.page-hero .breadcrumb { color: #9FB3C8; }
.page-hero .breadcrumb a { color: #DCE6F1; }

/* ---------- Page hero with photo background ---------- */
.page-hero-photo {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 112px 0;
}
.page-hero-photo.compact { padding: 88px 0; }
.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.page-hero-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, rgba(13,27,42,0.96) 0%, rgba(13,27,42,0.91) 45%, rgba(13,27,42,0.72) 75%, rgba(13,27,42,0.5) 100%);
}
.page-hero-photo > .container { position: relative; z-index: 2; }
.page-hero-photo .hero-content { max-width: 640px; }
.page-hero-photo h1, .page-hero-photo .hero-content p, .page-hero-photo .eyebrow {
  text-shadow: 0 2px 16px rgba(0,0,0,0.35);
}

/* ---------- Emergency page ---------- */
.emergency-callout {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
  color: var(--white);
}
.emergency-callout h2 { font-size: clamp(1.8rem, 3vw, 2.3rem); margin: 16px 0; }
.emergency-callout p { color: #C7D5E5; max-width: 520px; margin: 0 auto 24px; }
.emergency-callout .phone-big { display: inline-flex; align-items: center; min-height: 56px; font-size: clamp(2rem, 6vw, 2.75rem); font-weight: 800; letter-spacing: -0.01em; color: var(--white); margin-bottom: 24px; }
.emergency-callout .phone-big:hover { color: var(--light-blue); }
.emergency-callout .cta-actions { justify-content: center; }

/* =========================================================
   Supporting-page components
   (all built from the tokens above; no new colours)
   ========================================================= */
[id] { scroll-margin-top: calc(var(--header-h) + 24px); }
[hidden] { display: none !important; }
ol.process-row, ol.steps, ol.stepper { list-style: none; }
fieldset { border: 0; min-width: 0; }
legend { padding: 0; }
.section-head.center .eyebrow { justify-content: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Icon badge: the one icon container used on supporting pages */
.icon-badge { width: 48px; height: 48px; border-radius: var(--radius-md); background: var(--bg-soft-2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.icon-badge svg { width: 24px; height: 24px; color: var(--blue); }
.bg-soft .icon-badge { background: var(--white); border: 1px solid var(--border); }

/* Inline text link with a 44px target */
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; font-size: 1rem; color: var(--blue); transition: color var(--transition); }
.text-link svg { width: 16px; height: 16px; flex-shrink: 0; transition: transform var(--transition); }
.text-link:hover { color: var(--blue-dark); }
.text-link:hover svg { transform: translateX(2px); }

/* Two-column text + media */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.top { align-items: start; }
.split.narrow-left { grid-template-columns: 0.8fr 1.2fr; }
.split .media-first { order: -1; }
.split h2 { font-size: clamp(1.6rem, 2.6vw, 2rem); margin: 16px 0; text-wrap: balance; }
.split p { font-size: 1rem; }
.split p + p { margin-top: 16px; }
.split .hero-media { aspect-ratio: 5/4; }

/* Service index (anchor navigation) */
.service-index { background: var(--white); border-bottom: 1px solid var(--border); padding: 24px 0; }
.service-index ul { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.service-index a { display: flex; align-items: center; gap: 8px; height: 100%; min-height: 56px; padding: 8px 12px; border: 1px solid var(--border); border-radius: var(--radius-sm); font-weight: 600; font-size: 0.9375rem; line-height: 1.25; transition: border-color var(--transition), color var(--transition), background var(--transition); }
.service-index a:hover { border-color: var(--blue); color: var(--blue); background: var(--bg-soft); }
.service-index svg { width: 20px; height: 20px; color: var(--blue); flex-shrink: 0; }

/* Service detail */
.service-kicker { display: flex; align-items: center; gap: 16px; }
.list-label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--grey); margin: 24px 0 12px; }
.check-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 1rem; }
.check-list svg { width: 20px; height: 20px; color: var(--blue); flex-shrink: 0; margin-top: 3px; }
.next-step { border-left: 3px solid var(--blue); padding: 4px 0 4px 16px; margin-bottom: 24px; color: var(--grey); }
.next-step strong { display: block; color: var(--navy); }

/* Divided info list: icon + heading + text, no card chrome */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 48px; }
.info-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.info-grid.cols-1 { grid-template-columns: 1fr; }
.info-item { display: flex; gap: 16px; align-items: flex-start; padding: 24px 0; border-top: 1px solid var(--border); }
.info-item h3 { font-size: 1.0625rem; margin-bottom: 4px; }
.info-item p { color: var(--grey); font-size: 1rem; }
.info-item .text-link { margin-top: 4px; }

/* Numbered guidance steps */
.guide-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 64px; }
.guide h3 { display: flex; align-items: center; gap: 16px; font-size: 1.125rem; margin-bottom: 16px; }
.steps { counter-reset: step; display: flex; flex-direction: column; gap: 12px; }
.steps li { counter-increment: step; display: flex; gap: 12px; align-items: flex-start; font-size: 1rem; }
.steps li::before { content: counter(step); width: 28px; height: 28px; border-radius: 50%; background: var(--bg-soft-2); color: var(--blue); font-weight: 700; font-size: 0.875rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* Emergency notice: the one place red marks urgency outside the emergency page */
.notice { display: flex; gap: 16px; align-items: flex-start; background: var(--white); border: 1px solid var(--border); border-left: 3px solid var(--red); border-radius: var(--radius-sm); padding: 20px 24px; }
.notice > svg { width: 24px; height: 24px; color: var(--red); flex-shrink: 0; margin-top: 2px; }
.notice h3 { font-size: 1.0625rem; margin-bottom: 4px; }
.notice p { color: var(--grey); font-size: 1rem; }
.notice a.tel { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--navy); }
.notice a.tel:hover { color: var(--blue); }
.notice.wide { align-items: center; justify-content: space-between; flex-wrap: wrap; }
.notice.wide .notice-body { display: flex; gap: 16px; align-items: flex-start; flex: 1 1 320px; }
.notice.wide .notice-body > svg { width: 24px; height: 24px; color: var(--red); flex-shrink: 0; margin-top: 2px; }

/* Service-area summary line */
.area-summary { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 16px; }
.area-summary li { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 1rem; }
.area-summary svg { width: 18px; height: 18px; color: var(--blue); flex-shrink: 0; }

/* Trust statements on light backgrounds */
.trust-row.on-light .trust-item { color: var(--navy); font-size: 1rem; }

/* ---------- Form validation + multi-step ---------- */
.field-hint { font-size: 1rem; color: var(--grey); margin-top: 8px; }
.field-error { display: none; font-size: 1rem; font-weight: 500; color: var(--red-dark); margin-top: 8px; }
.has-error > .field-error { display: block; }
.form-group.has-error input, .form-group.has-error select, .form-group.has-error textarea { border-color: var(--red); }
.form-group.has-error input:focus, .form-group.has-error select:focus, .form-group.has-error textarea:focus { box-shadow: 0 0 0 4px rgba(220,38,38,0.12); }
.form-card h2 { font-size: 1.4rem; margin-bottom: 24px; }
.form-card h3:focus, .form-card h2:focus { outline: none; }

.urgent-line { display: flex; align-items: center; gap: 4px 12px; flex-wrap: wrap; padding: 8px 16px; background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 24px; font-size: 1rem; }
.urgent-line svg { width: 18px; height: 18px; color: var(--red); flex-shrink: 0; }
.urgent-line a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--blue); }

.stepper { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 32px; }
.stepper li { padding-top: 12px; border-top: 3px solid var(--border); font-size: 0.9375rem; font-weight: 600; line-height: 1.3; color: var(--grey); transition: border-color var(--transition), color var(--transition); }
.stepper li .n { display: block; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 4px; }
.stepper li.is-done { border-color: var(--blue); }
.stepper li.is-current { border-color: var(--blue); color: var(--navy); }

.form-step[hidden] { display: none; }
.form-step > h3 { font-size: 1.25rem; margin-bottom: 24px; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-group .choice { position: relative; display: block; margin: 0; cursor: pointer; }
.form-group .choice input { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; margin: 0; padding: 0; opacity: 0; cursor: pointer; }
.choice-body { display: flex; align-items: center; gap: 12px; height: 100%; min-height: 56px; padding: 8px 16px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-size: 1rem; font-weight: 600; line-height: 1.3; transition: border-color var(--transition), background var(--transition), box-shadow var(--transition); }
.choice-body svg { width: 20px; height: 20px; color: var(--blue); flex-shrink: 0; }
.choice:hover .choice-body { border-color: var(--blue); }
.choice input:checked + .choice-body { border-color: var(--blue); background: var(--bg-soft-2); }
.choice input:focus-visible + .choice-body { box-shadow: var(--focus-ring); }
.has-error .choice-body { border-color: var(--red); }

.form-actions { display: flex; gap: 12px; justify-content: space-between; margin-top: 32px; }
.form-actions .btn:only-child { margin-left: auto; }
.btn-outline { min-height: var(--control-h); }

.review-group { border-top: 1px solid var(--border); padding: 16px 0; }
.review-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.review-head h4 { font-size: 1.0625rem; }
.review-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; margin-top: 8px; }
.review-list .full { grid-column: 1 / -1; }
.review-list dt { font-size: 0.875rem; color: var(--grey); margin-bottom: 4px; }
.review-list dd { font-weight: 600; overflow-wrap: anywhere; white-space: pre-line; }

.form-success { text-align: center; padding: 24px 0; }
.form-success[hidden] { display: none; }
.form-success .icon-badge { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 24px; }
.form-success .icon-badge svg { width: 32px; height: 32px; }
.form-success h2 { margin-bottom: 16px; }
.form-success p { color: var(--grey); max-width: 440px; margin: 0 auto 24px; }
.form-success .cta-actions { justify-content: center; }

/* Quote page layout: intro and trust on the left, form on the right */
.quote-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; grid-template-rows: auto 1fr; gap: 32px 64px; align-items: start; }
.quote-intro { grid-column: 1; grid-row: 1; }
.quote-intro h1 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin: 16px 0; letter-spacing: -0.02em; text-wrap: balance; }
.quote-intro p { color: var(--grey); font-size: 1.0625rem; }
.quote-trust { grid-column: 1; grid-row: 2; }
.quote-layout .form-card { grid-column: 2; grid-row: 1 / span 2; }

.footer-col .f-contact-item a { color: #9FB3C8; overflow-wrap: anywhere; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #C7D5E5; padding-top: 76px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand .brand-logo-chip { display: inline-flex; align-items: center; background: var(--white); border-radius: var(--radius-md); padding: 10px 16px; }
.footer-brand .brand-logo-chip img { height: 38px; width: auto; max-width: 200px; object-fit: contain; }
.footer-brand p { margin: 18px 0 22px; font-size: 0.9rem; color: #9FB3C8; max-width: 280px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: center; transition: background var(--transition); }
.footer-social a:hover { background: var(--blue); }
.footer-social svg { width: 16px; height: 16px; color: var(--white); }
.footer-col h4 { color: var(--white); font-size: 0.98rem; margin-bottom: 20px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 0.9rem; color: #9FB3C8; transition: color var(--transition); }
.footer-col a:hover { color: var(--light-blue); }
.footer-col .f-contact-item { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; color: #9FB3C8; }
.footer-col .f-contact-item svg { width: 16px; height: 16px; color: var(--light-blue); flex-shrink: 0; margin-top: 2px; }
.footer-bottom { padding: 26px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 0.84rem; color: #7C93AB; }
.footer-bottom a { color: #7C93AB; }
.footer-bottom a:hover { color: var(--light-blue); }

/* ---------- Branded page loader ---------- */
#page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 44%, rgba(29, 78, 216, 0.2), transparent 32%),
    linear-gradient(145deg, #0d1b2a 0%, #101f31 55%, #0b1725 100%);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.58s cubic-bezier(.4, 0, .2, 1), visibility 0.58s;
}
#page-loader.loader-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
/* ---------- Splash: logo assembles, wrench tightens it ---------- */
.cz-splash {
  --cz-ink:  #0D1B2A;  --cz-ink-hi:  #24364B;  --cz-ink-side:  #04090F;   /* wordmark + handle */
  --cz-blue: #1D4ED8;  --cz-blue-hi: #4273F2;  --cz-blue-side: #12318F;   /* head + tagline */
  --cz-nut:  #64748B;
  --cz-shadow: rgba(13, 27, 42, .30);
  width: min(560px, 80vw);
}
.cz-splash.on-dark {
  --cz-ink: #E3E8EF; --cz-ink-hi: #FFFFFF; --cz-ink-side: #8A97A8;
  --cz-blue: #2A5CE6; --cz-blue-hi: #5C8AFA; --cz-blue-side: #14338F;
  --cz-nut: #60A5FA; --cz-shadow: rgba(0, 0, 0, .55);
}
.cz-splash svg { width: 100%; height: auto; display: block; overflow: visible; }

/* faces: soft top-to-bottom light */
.cz-splash .cz-s-ink1  { stop-color: var(--cz-ink-hi); }
.cz-splash .cz-s-ink2  { stop-color: var(--cz-ink); }
.cz-splash .cz-s-blue1 { stop-color: var(--cz-blue-hi); }
.cz-splash .cz-s-blue2 { stop-color: var(--cz-blue); }
.cz-splash .cz-letter  { fill: url(#cz-inkf); }
.cz-splash .cz-tagline { fill: url(#cz-bluef); }
.cz-splash .cz-handle  { fill: url(#cz-ink); }
.cz-splash .cz-head    { fill: url(#cz-blue); }
.cz-splash .cz-nut     { fill: var(--cz-nut); }

/* depth: stacked hard shadows = extruded sides, last one = shadow on the wall */
.cz-splash .cz-depth-word { filter:
  drop-shadow(2px 2.5px 0 var(--cz-ink-side)) drop-shadow(2px 2.5px 0 var(--cz-ink-side))
  drop-shadow(2px 2.5px 0 var(--cz-ink-side)) drop-shadow(2px 2.5px 0 var(--cz-ink-side))
  drop-shadow(10px 14px 9px var(--cz-shadow)); }
.cz-splash .cz-depth-tag { filter:
  drop-shadow(1.2px 1.5px 0 var(--cz-blue-side)) drop-shadow(1.2px 1.5px 0 var(--cz-blue-side))
  drop-shadow(5px 7px 5px var(--cz-shadow)); }
.cz-splash .cz-depth-icon { filter:
  drop-shadow(2px 2.5px 0 var(--cz-ink-side)) drop-shadow(2px 2.5px 0 var(--cz-ink-side))
  drop-shadow(2px 2.5px 0 var(--cz-ink-side)) drop-shadow(2px 2.5px 0 var(--cz-ink-side))
  drop-shadow(2px 2.5px 0 var(--cz-ink-side))
  drop-shadow(12px 16px 10px var(--cz-shadow)); }

/* 1. letters fall one by one and land crooked */
.cz-splash .cz-letter, .cz-splash .cz-tagline { transform-box: fill-box; transform-origin: center; }
.cz-splash .cz-letter {
  animation: cz-fall .5s calc(var(--i) * 80ms) both,
             cz-fix .45s calc(2.3s + var(--i) * 30ms) forwards;   /* fixed by wrench turn 1 */
}
/* 2. tagline falls as one crooked piece */
.cz-splash .cz-tagline {
  animation: cz-fall .5s 1.2s both,
             cz-fix .45s 3.5s forwards;                           /* fixed by wrench turn 2 */
}
/* 3. wrench pops in, then tightens on repeat */
.cz-splash .cz-icon, .cz-splash .cz-wrench, .cz-splash .cz-nut {
  transform-box: view-box;
  transform-origin: 497px 227px;   /* centre of the nut */
}
.cz-splash .cz-icon   { animation: cz-pop .45s 1.8s both; }
.cz-splash .cz-wrench { animation: cz-turn 1.2s 2.3s infinite both; }
.cz-splash .cz-nut    { animation: cz-nut  1.2s 2.3s infinite both; }

/* The splash plays once per visit; later pages skip the loader entirely. */
html.splash-seen #page-loader { display: none; }

@keyframes cz-fall {
  0%   { transform: translate(var(--x), -260px) rotate(calc(var(--r) * -2)); opacity: 0; animation-timing-function: cubic-bezier(.5,0,.9,.6); }
  65%  { transform: translate(var(--x), var(--y)) rotate(calc(var(--r) * 1.4)); opacity: 1; animation-timing-function: ease-out; }
  82%  { transform: translate(var(--x), calc(var(--y) - 12px)) rotate(calc(var(--r) * .8)); animation-timing-function: ease-in; }
  100% { transform: translate(var(--x), var(--y)) rotate(var(--r)); opacity: 1; }
}
@keyframes cz-fix {
  0%   { transform: translate(var(--x), var(--y)) rotate(var(--r)); animation-timing-function: cubic-bezier(.3,1.7,.5,1); }
  100% { transform: translate(0, 0) rotate(0deg); }
}
@keyframes cz-pop {
  0%   { transform: scale(.4); opacity: 0; }
  70%  { transform: scale(1.08); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes cz-turn {
  0%   { transform: rotate(-30deg); animation-timing-function: cubic-bezier(.5,0,.2,1); }
  50%  { transform: rotate(30deg); }
  60%  { transform: rotate(30deg); animation-timing-function: cubic-bezier(.4,0,.6,1); }
  100% { transform: rotate(-30deg); }
}
@keyframes cz-nut {
  0%        { transform: rotate(-30deg); animation-timing-function: cubic-bezier(.5,0,.2,1); }
  50%, 100% { transform: rotate(30deg); }
}
@media (prefers-reduced-motion: reduce) {
  .cz-splash .cz-letter, .cz-splash .cz-tagline, .cz-splash .cz-icon { animation: none; }
  .cz-splash .cz-wrench, .cz-splash .cz-nut { animation-duration: 3.6s; animation-delay: 0s; }
  #page-loader { transition-duration: .2s; }
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Skeleton ---------- */
.skeleton { position: relative; overflow: hidden; background: var(--bg-soft-2); border-radius: var(--radius-md); }
.skeleton::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
  animation: skeleton-sweep 1.4s ease-in-out infinite;
}
@keyframes skeleton-sweep { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

/* ---------- Responsive ---------- */
@media (max-width: 1360px) {
  .nav-actions .nav-call { display: none; }
  .main-nav { gap: 24px; }
}

@media (max-width: 1120px) {
  .brand-logo { height: 64px; }
  .main-nav { gap: 20px; }
  .main-nav a { font-size: 0.9rem; }
  .nav-actions .btn { padding: 0 20px; }
}

/* Not enough width for single-line labels: let the long ones wrap tidily. */
@media (max-width: 1060px) {
  .brand-logo { height: 60px; }
  .main-nav { gap: 16px; }
  .main-nav a { font-size: 0.875rem; }
  .nav-actions .btn { padding: 0 16px; font-size: 0.9rem; }
}

@media (max-width: 1023px) {
  .main-nav a { white-space: normal; max-width: 96px; }
  .dropdown-menu a { white-space: nowrap; max-width: none; }
}

@media (max-width: 1080px) {
  .quick-grid, .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .quick-item { border-left: none; padding-left: 0; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .card-grid, .card-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .value-grid { grid-template-columns: repeat(3, 1fr); }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .process-row::before { display: none; }
  /* vertical timeline */
  .process-row, .process-row.cols-5 { grid-template-columns: 1fr !important; gap: 0; max-width: 640px; margin: 0 auto; }
  .process-step { display: grid; grid-template-columns: 56px 1fr; column-gap: 24px; text-align: left; padding-bottom: 32px; }
  .process-step:last-child { padding-bottom: 0; }
  .process-step .step-num { margin: 0; grid-row: 1 / span 2; box-shadow: none !important; }
  .process-step::before { content: ''; position: absolute; left: 27px; top: 56px; bottom: 0; width: 2px; background: var(--border); }
  .process-step:last-child::before { display: none; }
  .process-step h3, .process-step h4 { align-self: end; }
  .service-index ul { grid-template-columns: repeat(3, 1fr); }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .main-nav, .nav-actions .nav-call, .nav-actions .btn { display: none; }
  .nav-toggle { display: flex; }
  .hero-grid, .page-hero-grid { grid-template-columns: 1fr !important; }
  .hero-media, .page-hero-media { order: -1; aspect-ratio: 16/10; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 28px; }
  .contact-grid { grid-template-columns: 1fr; }
  .team-banner { grid-template-columns: 1fr; }
  .team-banner img { min-height: 220px; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .cta-band .mid { width: 100%; justify-content: space-between; }
  .emergency-banner { flex-direction: column; align-items: flex-start; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  :root { --header-h: 72px; }
  .brand-logo { height: 68px; }
  .hero-photo { padding: 96px 0 56px; }
  .hero-photo .hero-floating-card { position: static; width: 100%; margin-top: 32px; }
  .page-hero-photo, .page-hero-photo.compact { padding: 72px 0 64px; }
  .split, .split.narrow-left { grid-template-columns: 1fr; gap: 32px; }
  .split .hero-media { order: -1; aspect-ratio: 16/10; }
  .guide-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { gap: 48px; }
  .quote-layout { grid-template-columns: 1fr; grid-template-rows: auto; gap: 32px; }
  .quote-intro, .quote-trust, .quote-layout .form-card { grid-column: 1; grid-row: auto; }
  .cta-band { padding: 32px 24px; }
}

@media (max-width: 640px) {
  .py { padding-top: 64px; padding-bottom: 64px; }
  .card-grid, .card-grid.cols-3, .card-grid.cols-2, .value-grid, .stats-grid, .areas-grid, .process-row, .quick-grid, .hero-grid, .page-hero-grid { grid-template-columns: 1fr !important; }
  .footer-top { grid-template-columns: 1fr; }
  .logo-strip { justify-content: center; gap: 28px; }
  .emergency-callout { padding: 48px 24px; }
  .form-card { padding: 22px; }
  .nav-call { display: none; }
  .page-hero h1 { font-size: clamp(1.75rem, 8vw, 2.1rem); }
  .hero-photo .eyebrow { font-size: 0.7rem; letter-spacing: 0.08em; text-wrap: balance; }
  .hero-content h1 { font-size: clamp(1.75rem, 8.4vw, 2.4rem); text-wrap: balance; }
  .hero-content p.lead { font-size: 1.0625rem; }
  .hero-ctas { flex-direction: column; gap: 12px; }
  .hero-ctas .btn, .hero-ctas .call-pill { width: 100%; min-height: var(--control-h-lg); padding: 0 24px; }
  .trust-row { gap: 12px 24px; }
  .info-grid, .info-grid.cols-2 { grid-template-columns: 1fr; }
  .service-index ul { grid-template-columns: 1fr 1fr; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { width: 100%; }
  .cta-band .left { align-items: flex-start; }
  .review-list { grid-template-columns: 1fr; }
  .form-actions { flex-direction: column-reverse; }
  .form-actions .btn { width: 100%; }
  .notice { padding: 16px; }
  .notice.wide .btn { width: 100%; }
  .emergency-callout .btn { width: 100%; }
}

@media (max-width: 420px) {
  .choice-grid { grid-template-columns: 1fr; }
  .value-grid.cols-4 { grid-template-columns: 1fr; }
  .stepper li { font-size: 0.875rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .btn:hover, .call-pill:hover, .btn:hover svg { transform: none; }
}
