/* ==========================================================================
   Blue Harbor Plumbing - Design System
   Emerald Isle, NC - Premium Coastal Residential Plumbing
   ========================================================================== */

:root {
  /* Color system — deep navy establishes trust/premium feel, teal accent
     derived from the brand's existing teal (#05abb5), warm sand neutrals
     bring in the coastal warmth without going "beach touristy". */
  --navy-950: #0a1c26;
  --navy-900: #0e2733;
  --navy-800: #143544;
  --navy-700: #1c4759;
  --navy-600: #275a70;
  --teal-700: #0a7480;
  --teal-600: #0e8f9c;
  --teal-500: #14a6b3;
  --teal-100: #e2f4f5;
  --teal-50: #f1fafb;
  --sand-100: #f5f1e8;
  --sand-50: #faf8f3;
  --white: #ffffff;
  --gray-900: #1c2226;
  --gray-700: #454e54;
  --gray-600: #5c666c;
  --gray-500: #7a848a;
  --gray-300: #c9d1d4;
  --gray-200: #dfe5e7;
  --gray-100: #eef1f2;
  --brass-500: #a97a3f;
  --brass-600: #8f6532;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-head: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  --container: 1240px;
  --container-narrow: 860px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(10, 28, 38, 0.06), 0 1px 3px rgba(10, 28, 38, 0.08);
  --shadow-md: 0 4px 16px rgba(10, 28, 38, 0.08), 0 2px 6px rgba(10, 28, 38, 0.06);
  --shadow-lg: 0 20px 50px rgba(10, 28, 38, 0.16);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
html, body { max-width: 100%; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 { font-family: var(--font-head); color: var(--navy-950); line-height: 1.15; margin: 0 0 0.5em; font-weight: 700; letter-spacing: -0.01em; }
h1, h2 { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.01em; font-variation-settings: "SOFT" 0, "WONK" 0; font-optical-sizing: auto; }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--teal-600); font-variation-settings: "SOFT" 0, "WONK" 0; }
p { margin: 0 0 1em; color: var(--gray-700); }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 1rem; }
svg { display: block; }

:focus-visible {
  outline: 3px solid var(--teal-500);
  outline-offset: 2px;
}

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

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; background: var(--navy-950);
  color: var(--white); padding: 12px 20px; border-radius: var(--radius-sm);
  z-index: 200; transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 16px; }

/* ---------- Type scale ---------- */
h1, .h1 { font-size: clamp(2.6rem, 1.7rem + 4vw, 5.2rem); }
h2, .h2 { font-size: clamp(1.9rem, 1.5rem + 1.8vw, 3.1rem); }
h3, .h3 { font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem); }
h4, .h4 { font-size: 1.15rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.8rem;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-700);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; background: var(--brass-500);
  display: inline-block;
}
.lede { font-size: 1.15rem; color: var(--gray-700); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.centered { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.98rem;
  padding: 15px 28px; border-radius: var(--radius-sm); border: 1.5px solid transparent;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background-color 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
  min-height: 48px; line-height: 1;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary { background: var(--teal-600); color: var(--white); }
.btn-primary:hover { background: var(--teal-700); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.btn-secondary { background: transparent; border-color: rgba(255,255,255,0.55); color: var(--white); }
.btn-secondary:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }
.btn-outline { background: transparent; border-color: var(--navy-800); color: var(--navy-950); }
.btn-outline:hover { background: var(--navy-950); color: var(--white); }
.btn-light { background: var(--white); color: var(--navy-950); }
.btn-light:hover { background: var(--sand-100); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.btn-block { width: 100%; }
.btn-lg { padding: 17px 32px; font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--gray-200);
}
.header-top {
  display: none;
  background: var(--navy-950); color: var(--sand-100); font-size: 0.85rem;
}
.header-top .container { display: flex; justify-content: space-between; align-items: center; padding-top: 8px; padding-bottom: 8px; }
.header-top a { color: var(--sand-100); }
.header-top a:hover { color: var(--teal-500); }
.header-top-item { display: inline-flex; align-items: center; gap: 6px; }
@media (min-width: 900px) { .header-top { display: block; } }

.header-main .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; padding-bottom: 14px; gap: 20px;
}
.logo { display: flex; align-items: center; gap: 11px; font-family: var(--font-head); flex-shrink: 0; }
.logo-mark { display: block; flex-shrink: 0; width: 34px; height: 34px; }
.logo-text { font-weight: 700; font-size: 1.16rem; letter-spacing: -0.01em; color: var(--navy-950); white-space: nowrap; }
.logo.logo-dark .logo-text { color: var(--white); }
@media (max-width: 380px) { .logo-mark { width: 30px; height: 30px; } .logo-text { font-size: 1.02rem; } }
.mobile-nav-head .logo-mark { width: 30px; height: 30px; }
.mobile-nav-head .logo-text { font-size: 1.02rem; }

.main-nav { display: none; }
@media (min-width: 1080px) {
  .main-nav { display: flex; align-items: center; gap: 4px; }
  .main-nav > ul { display: flex; align-items: center; gap: 2px; }
  .main-nav > ul > li { position: relative; }
  .main-nav > ul > li > a, .nav-trigger {
    display: flex; align-items: center; gap: 6px; padding: 12px 12px; font-weight: 600;
    font-size: 0.92rem; color: var(--navy-900); border-radius: var(--radius-sm);
    background: none; border: none; white-space: nowrap;
  }
  .main-nav > ul > li > a:hover, .nav-trigger:hover, .nav-trigger[aria-expanded="true"] { color: var(--teal-700); }
  .nav-trigger svg { width: 14px; height: 14px; transition: transform 0.2s var(--ease); }
  .nav-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
}

.mega-menu {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%);
  width: min(760px, 90vw); background: var(--white); border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg); border: 1px solid var(--gray-200);
  padding: 26px; display: none; opacity: 0; transition: opacity 0.18s var(--ease);
}
.mega-menu.open { display: block; opacity: 1; }
.mega-menu-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 28px; }
.mega-menu-link {
  display: flex; align-items: flex-start; gap: 12px; padding: 10px 10px; border-radius: var(--radius-sm);
}
.mega-menu-link:hover { background: var(--teal-50); }
.mega-menu-link .icon {
  width: 34px; height: 34px; border-radius: 8px; background: var(--teal-50); color: var(--teal-700);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.mega-menu-link .icon svg { width: 18px; height: 18px; }
.mega-menu-link .label { font-weight: 700; color: var(--navy-950); font-size: 0.95rem; display: block; }
.mega-menu-link .desc { font-size: 0.82rem; color: var(--gray-600); display: block; margin-top: 2px; }
.mega-menu-foot {
  margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--gray-200);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.mega-menu-foot .call { font-weight: 700; color: var(--navy-950); }

.header-cta { display: flex; align-items: center; gap: 12px; }
.header-phone {
  display: none; align-items: center; gap: 8px; font-family: var(--font-head);
  font-weight: 700; color: var(--navy-950); font-size: 1.02rem; white-space: nowrap;
}
.header-phone svg { width: 19px; height: 19px; color: var(--teal-600); }
@media (min-width: 640px) { .header-phone { display: flex; } }
.header-request { display: none; }
@media (min-width: 780px) { .header-request { display: inline-flex; } }

.menu-toggle {
  display: flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border-radius: var(--radius-sm); border: 1px solid var(--gray-200); background: var(--white);
}
.menu-toggle svg { width: 22px; height: 22px; }
@media (min-width: 1080px) { .menu-toggle { display: none; } }

.mobile-nav {
  position: fixed; inset: 0; background: var(--navy-950); z-index: 150;
  transform: translateX(100%); transition: transform 0.28s var(--ease);
  overflow-y: auto; padding: 20px 24px 100px;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.mobile-nav-close { width: 44px; height: 44px; border-radius: var(--radius-sm); background: rgba(255,255,255,0.08); border: none; display: flex; align-items: center; justify-content: center; }
.mobile-nav-close svg { width: 20px; height: 20px; color: var(--white); }
.mobile-nav ul { display: flex; flex-direction: column; }
.mobile-nav li { border-bottom: 1px solid rgba(255,255,255,0.1); }
.mobile-nav a, .mobile-nav .mnav-trigger {
  display: flex; align-items: center; justify-content: space-between; width: 100%; background: none; border: none;
  padding: 16px 4px; color: var(--white); font-family: var(--font-head); font-weight: 600; font-size: 1.05rem;
}
.mobile-nav .mnav-trigger svg { width: 16px; height: 16px; transition: transform 0.2s var(--ease); }
.mobile-nav .mnav-trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.mobile-submenu { display: none; padding-left: 8px; padding-bottom: 12px; }
.mobile-submenu.open { display: block; }
.mobile-submenu a { padding: 10px 4px; font-weight: 500; font-size: 0.96rem; color: var(--sand-100); }
.mobile-nav-actions { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.mobile-nav-hours { margin-top: 28px; color: var(--sand-100); font-size: 0.9rem; line-height: 1.8; }
.mobile-nav-hours strong { color: var(--white); display: block; font-family: var(--font-head); margin-bottom: 6px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: var(--white); overflow: hidden;
  background: var(--navy-950);
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10,20,28,0.94) 0%, rgba(10,28,38,0.86) 38%, rgba(10,28,38,0.55) 68%, rgba(10,28,38,0.35) 100%);
}
.hero-inner { position: relative; padding: 76px 0 92px; }
.hero-content { max-width: 640px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(5,14,19,0.52);
  border: 1px solid rgba(255,255,255,0.28); padding: 8px 16px; border-radius: 100px;
  font-size: 0.85rem; font-weight: 600; margin-bottom: 22px;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}
.hero-badge svg { width: 15px; height: 15px; color: var(--teal-400, #4fd4de); }
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero .lede { color: var(--gray-200); max-width: 540px; margin-bottom: 30px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }

/* Page (interior) hero — shorter, for service/about pages */
.page-hero { position: relative; color: var(--white); background: var(--navy-950); overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,22,30,0.96) 0%, rgba(10,28,38,0.9) 45%, rgba(10,28,38,0.72) 75%, rgba(10,28,38,0.5) 100%); }
.page-hero-inner { position: relative; padding: 52px 0 60px; }
.page-hero .breadcrumbs { margin-bottom: 18px; }
.page-hero h1 { color: var(--white); margin-bottom: 14px; max-width: 760px; }
.page-hero .lede { color: var(--gray-200); max-width: 620px; margin-bottom: 0; }
.page-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 0.85rem; color: var(--gray-300); }
.breadcrumbs a { color: var(--gray-300); }
.breadcrumbs a:hover { color: var(--white); text-decoration: underline; }
.breadcrumbs .sep { opacity: 0.5; }
.breadcrumbs .current { color: var(--white); font-weight: 600; }
.breadcrumbs-light { color: var(--gray-600); }
.breadcrumbs-light a { color: var(--gray-600); }
.breadcrumbs-light a:hover { color: var(--teal-700); }
.breadcrumbs-light .current { color: var(--navy-950); }
.breadcrumb-bar { padding: 16px 0; border-bottom: 1px solid var(--gray-200); }

/* ---------- Sections ---------- */
section { padding: 78px 0; }
.section-sm { padding: 56px 0; }
.section-dark { background: var(--navy-950); color: var(--sand-100); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: var(--gray-300); }
.section-sand { background: var(--sand-50); }
.section-teal { background: var(--teal-50); }
.divider-wave { display: block; width: 100%; height: 48px; }

/* ---------- Trust bar ---------- */
.trust-bar { background: var(--navy-900); color: var(--white); padding: 22px 0; }
.trust-bar .container { display: flex; flex-wrap: wrap; gap: 18px 34px; justify-content: center; align-items: center; }
.trust-bar-item { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 600; font-size: 0.94rem; }
.trust-bar-item svg { width: 20px; height: 20px; color: var(--teal-500); flex-shrink: 0; }

/* ---------- Service cards (homepage feature grid) ---------- */
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.service-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy-950);
  min-height: 320px; display: flex; flex-direction: column; justify-content: flex-end;
  box-shadow: var(--shadow-sm); transition: box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.service-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.service-card:hover img { transform: scale(1.06); }
.service-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,14,19,0.05) 0%, rgba(6,14,19,0.15) 40%, rgba(6,14,19,0.45) 70%, rgba(5,12,16,0.7) 100%); }
.service-card-body { position: relative; padding: 26px; color: var(--white); }
.service-card-body::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; top: -64px; z-index: 0;
  background: linear-gradient(180deg, rgba(6,13,17,0) 0%, rgba(6,13,17,0.6) 38%, rgba(5,11,15,0.94) 72%, rgba(5,11,15,0.97) 100%);
}
.service-card-body > * { position: relative; z-index: 1; }
.service-card-body .icon { width: 40px; height: 40px; border-radius: 9px; background: rgba(255,255,255,0.16); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.service-card-body .icon svg { width: 21px; height: 21px; }
.service-card-body h3 { color: var(--white); margin-bottom: 8px; font-size: 1.25rem; text-shadow: 0 1px 12px rgba(0,0,0,0.35); }
.service-card-body p { color: var(--gray-100); font-size: 0.92rem; margin-bottom: 14px; }
.service-card-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 0.9rem; color: var(--teal-500); }
.service-card-link svg { width: 15px; height: 15px; transition: transform 0.2s var(--ease); }
.service-card:hover .service-card-link svg { transform: translateX(3px); }

/* Simple icon-list cards (used on services overview / category pages) */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; }
.plain-card {
  background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-md);
  padding: 28px; transition: box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.plain-card:hover { box-shadow: var(--shadow-md); border-color: var(--gray-200); }
.plain-card .icon { width: 46px; height: 46px; border-radius: 10px; background: var(--teal-50); color: var(--teal-700); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.plain-card .icon svg { width: 24px; height: 24px; }
.plain-card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.plain-card p { font-size: 0.94rem; margin-bottom: 14px; }
.plain-card a.card-link { font-weight: 700; font-size: 0.88rem; color: var(--teal-700); display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Split / feature sections ---------- */
.split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split.reverse .split-media { order: 2; } }
.split-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.split-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.split-media.wide img { aspect-ratio: 16/11; }
.split-list { display: flex; flex-direction: column; gap: 14px; margin: 22px 0 28px; }
.split-list li { display: flex; align-items: flex-start; gap: 12px; color: var(--gray-700); }
.split-list li svg { width: 20px; height: 20px; color: var(--teal-600); flex-shrink: 0; margin-top: 2px; }

/* Stat / badge row */
.badge-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.badge-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 100px; background: var(--sand-100); font-size: 0.85rem; font-weight: 600; color: var(--navy-900); }
.badge-pill svg { width: 15px; height: 15px; color: var(--teal-600); }

/* ---------- Why us / feature list ---------- */
.feature-list-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 30px; margin-top: 10px; }
.feature-item .icon { width: 48px; height: 48px; border-radius: 12px; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; color: var(--teal-500); }
.feature-item .icon svg { width: 24px; height: 24px; }
.feature-item h3 { font-size: 1.08rem; }
.feature-item p { font-size: 0.93rem; }

/* ---------- How it works ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; counter-reset: step; }
.step-item { position: relative; padding-top: 6px; }
.step-num { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 3.4rem; color: var(--teal-100); line-height: 1; margin-bottom: 10px; font-variation-settings: "SOFT" 0, "WONK" 0; }
.step-item h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step-item p { font-size: 0.92rem; }

/* ---------- Reviews ---------- */
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.review-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-md); padding: 28px; display: flex; flex-direction: column; }
.review-stars { display: flex; gap: 3px; margin-bottom: 14px; }
.review-stars svg { width: 17px; height: 17px; color: #d99a2b; }
.review-quote { color: var(--gray-800); font-size: 0.98rem; flex-grow: 1; margin-bottom: 18px; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--navy-950); color: var(--white); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 700; font-size: 0.9rem; flex-shrink: 0; }
.review-author-name { font-weight: 700; font-size: 0.92rem; color: var(--navy-950); }
.review-author-meta { font-size: 0.8rem; color: var(--gray-500); }
.review-source-note { text-align: center; margin-top: 34px; color: var(--gray-600); font-size: 0.92rem; }

/* ---------- Map section ---------- */
.map-panel { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--gray-200); }
.map-panel iframe { width: 100%; height: 420px; border: 0; display: block; }
.map-info-row { display: flex; flex-wrap: wrap; gap: 20px 40px; margin-top: 26px; }
.map-info-item { display: flex; gap: 12px; align-items: flex-start; }
.map-info-item .icon { width: 40px; height: 40px; border-radius: 9px; background: var(--teal-50); color: var(--teal-700); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.map-info-item .icon svg { width: 20px; height: 20px; }
.map-info-item h4 { font-size: 0.98rem; margin-bottom: 3px; }
.map-info-item p { font-size: 0.9rem; margin: 0; }

/* ---------- Area chips ---------- */
.area-chip-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.area-chip { display: flex; align-items: center; gap: 10px; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-sm); padding: 14px 16px; font-weight: 600; font-size: 0.94rem; color: var(--navy-900); }
.area-chip svg { width: 17px; height: 17px; color: var(--teal-600); flex-shrink: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy-950); color: var(--white); border-radius: var(--radius-lg); padding: 56px; position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(20,166,179,0.28), transparent 70%);
}
.cta-band-inner { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 30px; }
.cta-band h2 { color: var(--white); margin-bottom: 8px; }
.cta-band p { color: var(--gray-300); margin-bottom: 0; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.cta-phone-lockup { display: flex; align-items: center; gap: 12px; }
.cta-phone-lockup .icon { width: 48px; height: 48px; border-radius: 12px; background: rgba(255,255,255,0.12); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cta-phone-lockup .icon svg { width: 24px; height: 24px; color: var(--teal-500); }
.cta-phone-lockup .num { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: var(--white); }
.cta-phone-lockup .label { font-size: 0.8rem; color: var(--gray-300); }

/* ---------- Forms ---------- */
.form-panel { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-md); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-weight: 600; font-size: 0.88rem; color: var(--navy-900); }
.field .req { color: var(--teal-700); }
.field input, .field select, .field textarea {
  width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box;
  border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm); padding: 12px 14px;
  background: var(--white); color: var(--gray-900); transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--teal-500); box-shadow: 0 0 0 3px var(--teal-100); outline: none;
}
.field textarea { resize: vertical; min-height: 110px; }
.field-hint { font-size: 0.78rem; color: var(--gray-500); }
.radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-pill { position: relative; }
.radio-pill input { position: absolute; opacity: 0; }
.radio-pill span {
  display: inline-flex; padding: 9px 15px; border-radius: 100px; border: 1.5px solid var(--gray-200);
  font-size: 0.86rem; font-weight: 600; color: var(--gray-700); transition: all 0.15s var(--ease);
}
.radio-pill input:checked + span { background: var(--navy-950); border-color: var(--navy-950); color: var(--white); }
.radio-pill input:focus-visible + span { outline: 3px solid var(--teal-500); outline-offset: 2px; }
.file-drop {
  border: 1.5px dashed var(--gray-300); border-radius: var(--radius-sm); padding: 22px; text-align: center;
  color: var(--gray-500); font-size: 0.88rem; background: var(--sand-50);
}
.file-drop input { margin-top: 10px; }
.form-note { font-size: 0.82rem; color: var(--gray-500); margin-top: 16px; }
.form-success { display: none; background: var(--teal-50); border: 1px solid var(--teal-500); border-radius: var(--radius-md); padding: 24px; text-align: center; }
.form-success.show { display: block; }
.form-success h3 { margin-bottom: 6px; }

/* ---------- FAQ ---------- */
.faq-list { border-top: 1px solid var(--gray-200); }
.faq-item { border-bottom: 1px solid var(--gray-200); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 4px; background: none; border: none; text-align: left; font-family: var(--font-head);
  font-weight: 700; font-size: 1.02rem; color: var(--navy-950);
}
.faq-q svg { width: 20px; height: 20px; color: var(--teal-600); flex-shrink: 0; transition: transform 0.25s var(--ease); }
.faq-q[aria-expanded="true"] svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s var(--ease); }
.faq-a-inner { padding: 0 4px 22px; color: var(--gray-700); font-size: 0.96rem; max-width: 760px; }

/* ---------- Content pages (about, service pages long-form) ---------- */
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { margin: 0 0 1.2em; }
.prose ul li { position: relative; padding-left: 26px; margin-bottom: 10px; color: var(--gray-700); }
.prose ul li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 2px;
  background: var(--teal-500); transform: rotate(45deg);
}
.callout {
  background: var(--sand-100); border-left: 3px solid var(--brass-500); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 20px 24px; margin: 28px 0; font-size: 0.95rem; color: var(--gray-800);
}
.callout strong { color: var(--navy-950); }

.compare-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 20px; }
.compare-card { border: 1.5px solid var(--gray-200); border-radius: var(--radius-md); padding: 26px; }
.compare-card.highlight { border-color: var(--teal-500); background: var(--teal-50); }
.compare-card h3 { font-size: 1.05rem; margin-bottom: 12px; }
.compare-card ul li { position: relative; padding-left: 24px; margin-bottom: 9px; font-size: 0.92rem; color: var(--gray-700); }
.compare-card ul li::before { content: "✓"; position: absolute; left: 0; color: var(--teal-600); font-weight: 700; }

/* ---------- Related services ---------- */
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px,1fr)); gap: 20px; }
.related-card {
  display: block; border: 1px solid var(--gray-200); border-radius: var(--radius-md); overflow: hidden; background: var(--white);
  transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.related-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.related-card .thumb { height: 140px; overflow: hidden; }
.related-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.related-card .body { padding: 18px 20px; }
.related-card h3 { font-size: 0.98rem; margin-bottom: 4px; }
.related-card span.go { font-size: 0.82rem; font-weight: 700; color: var(--teal-700); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: var(--gray-300); }
.footer-top { padding: 68px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo { display: flex; align-items: center; margin-bottom: 18px; }
.footer-logo .logo-mark { width: 36px; height: 36px; }
.footer-logo .logo-text { font-size: 1.22rem; }
.footer-about { font-size: 0.92rem; color: var(--gray-300); max-width: 320px; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 38px; height: 38px; border-radius: 9px; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; }
.footer-social a:hover { background: var(--teal-600); }
.footer-social svg { width: 18px; height: 18px; }
.footer-col h4 { color: var(--white); font-size: 0.86rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 0.92rem; color: var(--gray-300); }
.footer-col a:hover { color: var(--teal-500); }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.92rem; }
.footer-contact svg { width: 17px; height: 17px; color: var(--teal-500); flex-shrink: 0; margin-top: 2px; }
.footer-hours-row { display: flex; justify-content: space-between; gap: 10px; font-size: 0.88rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 22px 0; }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.82rem; color: var(--gray-500); }
.footer-bottom a { color: var(--gray-500); }
.footer-bottom a:hover { color: var(--teal-500); }
.footer-bottom-links { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- Mobile sticky CTA ---------- */
.mobile-cta-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 120; display: grid; grid-template-columns: 1fr 1fr;
  background: var(--white); border-top: 1px solid var(--gray-200); box-shadow: 0 -6px 20px rgba(10,28,38,0.12);
  padding: 10px; gap: 10px; padding-bottom: max(10px, env(safe-area-inset-bottom));
}
@media (min-width: 900px) { .mobile-cta-bar { display: none; } }
.mobile-cta-bar a {
  display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: var(--radius-sm);
  padding: 13px; font-family: var(--font-head); font-weight: 700; font-size: 0.94rem;
}
.mobile-cta-bar a svg { width: 18px; height: 18px; }
.mobile-cta-bar .call { background: var(--navy-950); color: var(--white); }
.mobile-cta-bar .request { background: var(--teal-600); color: var(--white); }
body.has-mobile-cta { padding-bottom: 74px; }
@media (min-width: 900px) { body.has-mobile-cta { padding-bottom: 0; } }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.flow-lg > * + * { margin-top: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 40px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.tag { font-size: 0.8rem; font-weight: 600; color: var(--teal-700); background: var(--teal-50); padding: 6px 12px; border-radius: 100px; }

/* ==========================================================================
   Signature components (premium-web-design pass)
   ========================================================================== */

/* ---------- Asymmetric hero ---------- */
/* Height is the viewport minus the sticky header's own height (73px on
   mobile, 131px on desktop where the header-top bar shows), so the hero +
   marquee together fill exactly the first screen: the marquee is visible
   without scrolling, and nothing of the next section peeks in above the
   fold. The max() floor keeps the hero from collapsing on short viewports. */
.hero-v2 {
  position: relative; background: var(--navy-950); color: var(--white); overflow: hidden;
  min-height: max(560px, calc(100vh - 73px)); padding: 0; display: flex; align-items: center; justify-content: center;
}
@media (min-width: 900px) { .hero-v2 { min-height: max(620px, calc(100vh - 131px)); } }
.hero-v2-bg { position: absolute; inset: 0; z-index: 0; }
.hero-v2-bg img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: brightness(1.22) saturate(1.08) contrast(1.02);
}
.hero-v2-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(6,14,19,0.28) 0%, rgba(6,14,19,0.4) 55%, rgba(5,12,16,0.68) 100%),
    radial-gradient(ellipse 75% 65% at 50% 40%, rgba(6,14,19,0) 0%, rgba(6,14,19,0.32) 100%);
}
.hero-v2-content {
  position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center;
  text-align: center; max-width: 900px; margin: 0 auto; padding: 116px 24px 68px;
}
@media (min-width: 900px) { .hero-v2-content { padding: 68px 32px 80px; } }
.hero-v2-content .hero-ctas { justify-content: center; }
.hero-v2 h1 {
  color: var(--white); font-size: clamp(2.6rem, 1.8rem + 4.6vw, 5.2rem); line-height: 1.05;
  margin-bottom: 28px; max-width: 15ch;
  text-shadow: 0 1px 3px rgba(0,0,0,0.55), 0 4px 28px rgba(0,0,0,0.5), 0 12px 44px rgba(0,0,0,0.35);
}
.hero-v2 h1 .word { display: inline-block; opacity: 0; transform: translateY(0.5em); animation: word-in 0.7s cubic-bezier(.22,1,.36,1) forwards; animation-delay: calc(var(--i, 0) * 60ms); }
@keyframes word-in { to { opacity: 1; transform: translateY(0); } }
.hero-v2 .lede { color: var(--gray-100); font-size: 1.2rem; max-width: 620px; margin: 0 auto 36px; line-height: 1.65; text-shadow: 0 1px 3px rgba(0,0,0,0.5), 0 3px 18px rgba(0,0,0,0.4); }
.hero-v2-num {
  position: absolute; right: 28px; bottom: 86px; z-index: 2; font-family: var(--font-display);
  font-style: italic; font-size: clamp(2.6rem, 5vw, 4.5rem); color: rgba(255,255,255,0.14); line-height: 1;
  font-variation-settings: "SOFT" 0, "WONK" 0;
  display: none;
}
@media (min-width: 900px) { .hero-v2-num { display: block; } }

/* Trust marquee pinned to the hero's own bottom edge, so it's visible in the
   first viewport instead of waiting below the fold. */
.marquee-strip.hero-v2-marquee {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  background: rgba(6,14,19,0.66); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border-top: 1px solid rgba(255,255,255,0.14); border-bottom: none; padding: 16px 0;
}

@media (prefers-reduced-motion: reduce) {
  .hero-v2 h1 .word { animation: none; opacity: 1; transform: none; }
}

/* ---------- Marquee trust strip ---------- */
.marquee-strip { background: var(--navy-900); color: var(--sand-100); padding: 20px 0; overflow: hidden; border-top: 1px solid rgba(255,255,255,0.08); border-bottom: 1px solid rgba(255,255,255,0.08); }
.marquee-track { display: flex; width: max-content; gap: 3rem; animation: marquee 26s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; gap: 14px; font-family: var(--font-head); font-weight: 600; font-size: 0.98rem; white-space: nowrap; }
.marquee-track span::after { content: "\2726"; color: var(--teal-500); margin-left: 2.5rem; font-size: 0.8rem; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; overflow-x: auto; } }

/* ---------- Bento service grid ---------- */
.bento-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(160px, auto); gap: 20px;
}
@media (max-width: 900px) { .bento-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .bento-grid { grid-template-columns: 1fr; } }
.bento-grid .service-card.featured { grid-column: span 2; grid-row: span 2; min-height: 340px; }
.bento-grid .service-card.wide { grid-column: span 2; }
@media (max-width: 900px) { .bento-grid .service-card.featured, .bento-grid .service-card.wide { grid-column: span 2; } }
@media (max-width: 560px) { .bento-grid .service-card.featured, .bento-grid .service-card.wide { grid-column: span 1; } }

/* ---------- Numbered editorial list (replaces icon-card "why us") ---------- */
.numbered-list { border-top: 1px solid rgba(255,255,255,0.14); }
.numbered-row {
  display: grid; grid-template-columns: 96px 1fr; gap: 24px; padding: 36px 0;
  border-bottom: 1px solid rgba(255,255,255,0.14); align-items: flex-start;
}
@media (min-width: 760px) { .numbered-row { grid-template-columns: 140px 1fr 1fr; gap: 40px; } }
.numbered-row .num { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 2.6rem; color: var(--teal-500); line-height: 1; font-variation-settings: "SOFT" 0, "WONK" 0; }
.numbered-row h3 { color: var(--white); margin-bottom: 0; font-size: 1.3rem; }
.numbered-row p { color: var(--gray-300); margin: 10px 0 0; max-width: 46ch; }
@media (min-width: 760px) { .numbered-row p { margin-top: 0; } }

/* ---------- Magnetic buttons ---------- */
[data-magnetic] { transition: transform 0.2s cubic-bezier(.22,1,.36,1); will-change: transform; }

/* ---------- Clip-path image wipe ---------- */
.image-wipe { clip-path: inset(0 100% 0 0); transition: clip-path 1.1s cubic-bezier(.65,0,.35,1); }
.image-wipe.in-view { clip-path: inset(0 0 0 0); }
@media (prefers-reduced-motion: reduce) { .image-wipe { clip-path: none; transition: none; } }

/* ---------- Diagonal section divider ---------- */
.section-angled { clip-path: polygon(0 3.2vw, 100% 0, 100% 100%, 0 calc(100% - 3.2vw)); padding-top: 96px; padding-bottom: 96px; }

@media (max-width: 640px) {
  section { padding: 56px 0; }
  .cta-band { padding: 34px 24px; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
  .hero-v2-content { padding-top: 40px; }
}
