/* ==========================================================================
   CLEARVIEW — Design System
   Palette:
     --navy-950 #061726   deep glass shadow / footer
     --navy-900 #0B2740   primary dark section
     --navy-800 #123350   raised dark surface
     --blue-600 #1C6FA0   primary action blue
     --blue-500 #2B86BB   hover / links
     --blue-300 #7FBEDD   light accent, glass edge
     --sky-100  #E4F1F8   tinted light backgrounds
     --mist-50  #F8FBFC   page background
     --ink-900  #0E1E2E   body copy on light
     --slate-500 #5C7387  secondary copy
   Type:
     Display — "Manrope" (600/700/800)
     Body    — "Inter" (400/500/600)
   ========================================================================== */

:root {
  --navy-950: #061726;
  --navy-900: #0B2740;
  --navy-800: #123350;
  --blue-600: #1C6FA0;
  --blue-500: #2B86BB;
  --blue-300: #7FBEDD;
  --sky-100: #E4F1F8;
  --mist-50: #F8FBFC;
  --ink-900: #0E1E2E;
  --slate-500: #5C7387;
  --slate-300: #A9BBC8;
  --white: #FFFFFF;

  --font-display: "Manrope", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 18px;

  --shadow-soft: 0 1px 2px rgba(6, 23, 38, 0.06), 0 12px 32px -16px rgba(6, 23, 38, 0.18);
  --shadow-deep: 0 24px 60px -24px rgba(6, 23, 38, 0.45);

  --max-width: 1180px;
  --edge: clamp(20px, 6vw, 64px);
  --header-h: 76px;
  --action-bar-h: 74px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 14px); }
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul[class], ol[class] { padding: 0; margin: 0; list-style: none; }
img, picture, svg, video { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

body {
  font-family: var(--font-body);
  background: var(--mist-50);
  color: var(--ink-900);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy-900);
  line-height: 1.12;
  letter-spacing: -0.01em;
}

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

:focus-visible {
  outline: 3px solid var(--blue-500);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  border: 1.5px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--blue-600);
  color: var(--white);
  box-shadow: 0 10px 24px -10px rgba(28, 111, 160, 0.55);
}
.btn-primary:hover { background: var(--blue-500); box-shadow: 0 14px 30px -10px rgba(28, 111, 160, 0.6); }

.btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.35);
  color: var(--white);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.6); }

.btn-outline-navy {
  background: transparent;
  border-color: var(--navy-900);
  color: var(--navy-900);
}
.btn-outline-navy:hover { background: var(--navy-900); color: var(--white); }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(248, 251, 252, 0.86);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(11, 39, 64, 0.08);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--navy-900);
  flex-shrink: 0;
}
.brand-mark {
  width: auto;
  height: 40px;
  flex-shrink: 0;
}
.brand small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.03em;
  color: var(--slate-500);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.main-nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy-800);
  position: relative;
  padding: 6px 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--blue-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.main-nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.header-call {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--navy-900);
  font-size: 0.95rem;
}
.header-call svg { color: var(--blue-600); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
}
.nav-toggle svg { color: var(--navy-900); }

@media (max-width: 900px) {
  .main-nav { display: none; }
  .header-call span { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* Phones: the sticky bottom bar already carries "Get a Free Quote" and
   "Call Now", so the header drops both and keeps the brand + menu on screen. */
@media (max-width: 720px) {
  :root { --header-h: 64px; }
  .site-header .wrap { gap: 12px; }
  .header-actions .btn,
  .header-call { display: none; }
  .brand { font-size: 1.1rem; gap: 8px; min-width: 0; }
  .brand > span { min-width: 0; }
  .brand-mark { height: 34px; }
  .nav-toggle { margin-right: -8px; }
}
@media (max-width: 380px) {
  .brand { font-size: 1rem; }
  .brand-mark { height: 30px; }
  .brand small { font-size: 0.58rem; }
}

/* Mobile drawer */
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--mist-50);
  z-index: 55;
  padding: 28px var(--edge);
  padding-bottom: calc(var(--action-bar-h) + 28px + env(safe-area-inset-bottom));
  transform: translateX(100%);
  transition: transform 0.28s ease;
  overflow-y: auto;
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav a {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy-900);
  padding: 16px 0;
  border-bottom: 1px solid rgba(11,39,64,0.08);
}
.mobile-nav .btn { margin-top: 24px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 55%, var(--navy-800) 100%);
  color: var(--white);
  padding: 64px 0 0;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding-bottom: 56px;
}
.hero-eyebrow-free { color: var(--blue-300); font-weight: 700; font-size: 0.95rem; margin-bottom: 18px; }
.hero h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
  font-weight: 800;
  max-width: 15ch;
}
.hero p.lede {
  margin-top: 20px;
  font-size: 1.15rem;
  color: var(--slate-300);
  max-width: 46ch;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.hero-phone {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--slate-300);
  font-size: 0.95rem;
}
.hero-phone a { color: var(--white); font-weight: 700; }

.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 24px;
  clip-path: polygon(0 6%, 92% 0, 100% 94%, 8% 100%);
  background: linear-gradient(155deg, #1E5B84 0%, #123350 55%, #0B2740 100%);
  overflow: hidden;
  box-shadow: var(--shadow-deep);
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0) 26%, rgba(255,255,255,0) 70%, rgba(255,255,255,0.1) 100%);
  mix-blend-mode: screen;
}
.hero-visual .placeholder-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 24px;
  color: rgba(255,255,255,0.85);
}
.hero-visual .placeholder-label svg { width: 46px; height: 46px; opacity: 0.9; }
.hero-visual .placeholder-label strong { font-family: var(--font-display); font-size: 1rem; }
.hero-visual .placeholder-label span { font-size: 0.85rem; color: var(--slate-300); max-width: 26ch; }

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-bottom-fade {
  height: 90px;
  background: linear-gradient(180deg, transparent, var(--mist-50));
}

/* ---------- Trust bar ---------- */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid rgba(11,39,64,0.06);
}
.trust-bar .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 22px;
  padding-top: 30px;
  padding-bottom: 30px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 200px;
}
.trust-item svg { color: var(--blue-600); flex-shrink: 0; width: 26px; height: 26px; }
.trust-item strong { display: block; font-size: 0.98rem; color: var(--navy-900); }
.trust-item span { font-size: 0.82rem; color: var(--slate-500); }
.trust-divider {
  width: 1px;
  align-self: stretch;
  background: rgba(11,39,64,0.08);
  display: block;
}
@media (max-width: 800px) { .trust-divider { display: none; } }

/* ---------- Section shell ---------- */
.section { padding: 96px 0; }
.section-tight { padding: 72px 0; }
.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}
.section-head h2 {
  font-size: clamp(1.9rem, 3vw, 2.5rem);
}
.section-head p {
  margin-top: 14px;
  color: var(--slate-500);
  font-size: 1.08rem;
}
.section-dark { background: var(--navy-900); color: var(--slate-300); }
.section-dark h2 { color: var(--white); }
.section-tint { background: var(--sky-100); }

/* ---------- Services ---------- */
.services-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(11,39,64,0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.service-card {
  background: var(--white);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 0.2s ease;
}
.service-card:hover { background: var(--sky-100); }
.service-card.is-primary {
  background: var(--navy-900);
  color: var(--white);
  grid-row: span 2;
}
.service-card.is-primary:hover { background: var(--navy-800); }
.service-card.is-primary h3, .service-card.is-primary p { color: var(--white); }
.service-card.is-primary .service-icon { color: var(--blue-300); }
.service-icon { width: 30px; height: 30px; color: var(--blue-600); }
.service-card h3 { font-size: 1.15rem; }
.service-card p { color: var(--slate-500); font-size: 0.95rem; }
.service-card.is-primary p { color: var(--slate-300); }
.service-tag {
  display: inline-flex;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--blue-600);
  background: var(--sky-100);
  padding: 4px 10px;
  border-radius: 100px;
  margin-top: auto;
}
.service-card.is-primary .service-tag { background: rgba(255,255,255,0.12); color: var(--blue-300); }

@media (max-width: 860px) {
  .services-list { grid-template-columns: 1fr 1fr; }
  .service-card.is-primary { grid-column: span 2; grid-row: auto; }
}
@media (max-width: 560px) {
  .services-list { grid-template-columns: 1fr; }
  .service-card.is-primary { grid-column: auto; }
}

.services-note {
  margin-top: 22px;
  font-size: 0.92rem;
  color: var(--slate-500);
}

/* ---------- Before / After ---------- */
.compare {
  position: relative;
  aspect-ratio: 16/10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-deep);
  user-select: none;
  touch-action: pan-y;
}
.compare-portrait {
  aspect-ratio: 4/5;
  max-width: 480px;
  margin: 0 auto;
}
.compare-layer img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.compare-layer {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  color: var(--white);
}
.compare-after { background: linear-gradient(140deg, #12324F, #0B2740); }
.compare-before {
  background: linear-gradient(140deg, #7FBEDD, #4C93BE);
  position: absolute;
  inset: 0;
  clip-path: inset(0 50% 0 0);
}
.compare-tag {
  position: absolute;
  top: 18px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(6,23,38,0.5);
  backdrop-filter: blur(4px);
  z-index: 3;
}
.compare-tag.tag-before { left: 18px; }
.compare-tag.tag-after { right: 18px; }
.compare-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--white);
  transform: translateX(-50%);
  z-index: 4;
  cursor: ew-resize;
}
.compare-handle::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--white);
  transform: translate(-50%, -50%);
  box-shadow: var(--shadow-soft);
}
.compare-handle::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 14px; height: 14px;
  transform: translate(-50%, -50%);
  border-left: 2px solid var(--navy-900);
  border-right: 2px solid var(--navy-900);
  box-sizing: content-box;
  padding: 0 3px;
}
.compare-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 5;
  margin: 0;
}
.gallery-note {
  margin-top: 20px;
  color: var(--slate-500);
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ---------- Why us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.why-list { display: flex; flex-direction: column; gap: 26px; }
.why-item { display: flex; gap: 18px; }
.why-item .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--blue-500);
  border: 1.5px solid var(--blue-300);
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.why-item h3 { font-size: 1.05rem; margin-bottom: 6px; }
.why-item p { color: var(--slate-500); font-size: 0.95rem; }

.why-visual {
  position: relative;
  border-radius: var(--radius-lg);
  aspect-ratio: 3/4;
  background: linear-gradient(160deg, var(--sky-100), var(--white) 60%);
  border: 1px solid rgba(11,39,64,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  color: var(--slate-500);
  text-align: center;
  padding: 30px;
}
.why-visual svg { width: 44px; height: 44px; color: var(--blue-500); }
.why-visual .badge-seal { width: 190px; height: 190px; color: var(--navy-900); margin-bottom: 6px; }
.why-visual strong { font-family: var(--font-display); font-size: 1.1rem; color: var(--navy-900); }

@media (max-width: 860px) {
  .why-grid { grid-template-columns: 1fr; gap: 36px; }
  .why-visual { order: -1; aspect-ratio: 16/9; }
}

/* ---------- Process ---------- */
.process-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}
.process-item {
  position: relative;
  padding: 0 26px;
  text-align: left;
}
.process-item:not(:first-child) { border-left: 1px solid rgba(255,255,255,0.14); }
.process-step {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.4rem;
  color: var(--blue-300);
  line-height: 1;
  margin-bottom: 14px;
}
.process-item h3 { color: var(--white); font-size: 1.15rem; margin-bottom: 8px; }
.process-item p { color: var(--slate-300); font-size: 0.95rem; max-width: 32ch; }

@media (max-width: 800px) {
  .process-list { grid-template-columns: 1fr; gap: 34px; }
  .process-item:not(:first-child) { border-left: none; border-top: 1px solid rgba(255,255,255,0.14); padding-top: 30px; }
}

/* ---------- Reviews ---------- */
.reviews-head {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.rating-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1px solid rgba(11,39,64,0.08);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  box-shadow: var(--shadow-soft);
}
.rating-badge strong { font-family: var(--font-display); font-size: 1.6rem; color: var(--navy-900); }
.rating-badge .stars { color: #F2A93B; letter-spacing: 2px; font-size: 1rem; }
.rating-badge .meta { font-size: 0.8rem; color: var(--slate-500); }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card {
  background: var(--white);
  border: 1px solid rgba(11,39,64,0.08);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.review-card .stars { color: #F2A93B; letter-spacing: 2px; }
.review-card p { color: var(--slate-500); font-size: 0.95rem; font-style: italic; }
.review-card footer { font-size: 0.85rem; color: var(--navy-800); font-weight: 700; }
.review-placeholder {
  color: var(--slate-300);
  font-style: normal !important;
}
@media (max-width: 860px) { .reviews-grid { grid-template-columns: 1fr; } }

/* ---------- Service area ---------- */
.area-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.area-map {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(11,39,64,0.08);
  box-shadow: var(--shadow-soft);
}
.area-map-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
  filter: saturate(0.9);
}
.area-map-labels {
  position: absolute;
  inset: 0;
}
.map-label {
  position: absolute;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.82rem;
  color: var(--navy-900);
  background: rgba(255,255,255,0.88);
  padding: 3px 9px;
  border-radius: 100px;
  box-shadow: 0 2px 8px rgba(11,39,64,0.18);
  white-space: nowrap;
}
.label-springfield { top: 50%; left: 50%; font-size: 0.92rem; background: var(--navy-900); color: var(--white); box-shadow: 0 4px 12px rgba(11,39,64,0.35); }
.label-republic { top: 46%; left: 22%; }
.label-rogersville { top: 34%; left: 78%; }
.label-nixa { top: 72%; left: 46%; }
.label-ozark { top: 82%; left: 60%; }
.area-pins {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 20px;
}
.area-pins li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--navy-900);
  padding: 12px 0;
  border-bottom: 1px solid rgba(11,39,64,0.08);
}
.area-pins svg { width: 18px; color: var(--blue-600); flex-shrink: 0; }
.area-more { grid-column: 1 / -1; color: var(--slate-500); font-weight: 500; font-size: 0.9rem; }

@media (max-width: 860px) { .area-grid { grid-template-columns: 1fr; } .area-map { aspect-ratio: 16/9; } }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; }
.faq-item {
  border-bottom: 1px solid rgba(11,39,64,0.1);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: none;
  border: none;
  text-align: left;
  padding: 22px 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy-900);
}
.faq-q svg { flex-shrink: 0; transition: transform 0.22s ease; color: var(--blue-600); }
.faq-item[data-open="true"] .faq-q svg { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}
.faq-a p { color: var(--slate-500); padding-bottom: 22px; max-width: 60ch; }

/* ---------- Final CTA ---------- */
.final-cta {
  background: linear-gradient(160deg, var(--navy-950), var(--navy-900) 60%, #164066);
  color: var(--white);
  text-align: center;
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute;
  width: 620px; height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(127,190,221,0.18), transparent 70%);
  top: -220px; right: -160px;
}
.final-cta h2 { color: var(--white); font-size: clamp(2rem, 4vw, 2.9rem); max-width: 20ch; margin: 0 auto; }
.final-cta p { margin-top: 16px; color: var(--slate-300); font-size: 1.1rem; }
.final-cta .hero-ctas { justify-content: center; margin-top: 34px; }

/* ---------- Quote Form ---------- */
.quote-section { background: var(--white); }
.quote-shell {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-deep);
}
.quote-side {
  background: linear-gradient(165deg, var(--navy-900), var(--navy-950));
  color: var(--white);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.quote-side h2 { color: var(--white); font-size: 1.9rem; }
.quote-side p { color: var(--slate-300); margin-top: 14px; }
.quote-side-list { margin-top: 32px; display: flex; flex-direction: column; gap: 16px; }
.quote-side-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; color: var(--slate-300); }
.quote-side-list svg { color: var(--blue-300); flex-shrink: 0; margin-top: 2px; }
.quote-side-call { margin-top: 32px; font-size: 0.95rem; color: var(--slate-300); }
.quote-side-call a { color: var(--white); font-weight: 700; font-size: 1.15rem; display: block; margin-top: 4px; }

.quote-form { background: var(--white); padding: 44px 40px; }
.form-row { margin-bottom: 22px; }
.form-row label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy-900);
  margin-bottom: 8px;
}
.form-row .hint { font-weight: 500; color: var(--slate-500); font-size: 0.8rem; }
.form-row input[type="text"],
.form-row input[type="tel"],
.form-row input[type="email"],
.form-row textarea,
.form-row select {
  width: 100%;
  border: 1.5px solid rgba(11,39,64,0.16);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  font-size: 1rem;
  background: var(--mist-50);
  transition: border-color 0.18s ease;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus { border-color: var(--blue-500); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.choice-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.choice-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 520px) { .choice-grid.cols-4 { grid-template-columns: repeat(2, 1fr); } .choice-grid.cols-3 { grid-template-columns: repeat(1, 1fr); } }

.choice-card { position: relative; }
.choice-card input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice-card span {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 56px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(11,39,64,0.16);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy-800);
  transition: all 0.15s ease;
}
.choice-card input:checked + span {
  border-color: var(--blue-600);
  background: var(--sky-100);
  color: var(--blue-600);
}
.choice-card input:focus-visible + span { outline: 3px solid var(--blue-500); outline-offset: 2px; }

.form-note { font-size: 0.82rem; color: var(--slate-500); margin-top: -8px; margin-bottom: 22px; }
.form-success {
  display: none;
  text-align: center;
  padding: 40px 10px;
}
.form-success.is-visible { display: block; }
.form-success svg { width: 52px; color: var(--blue-600); margin: 0 auto 18px; }
.form-success h3 { font-size: 1.4rem; margin-bottom: 10px; }
.form-success p { color: var(--slate-500); max-width: 40ch; margin: 0 auto; }

@media (max-width: 900px) {
  .quote-shell { grid-template-columns: 1fr; }
  .quote-side, .quote-form { padding: 34px 26px; }
}
@media (max-width: 480px) {
  .two-col { grid-template-columns: 1fr; }
}

/* ---------- Sub-hero (service pages) ---------- */
.subhero {
  background: linear-gradient(180deg, var(--navy-950), var(--navy-900));
  color: var(--white);
  padding: 64px 0 72px;
}
.subhero .crumb { color: var(--blue-300); font-weight: 700; font-size: 0.9rem; margin-bottom: 14px; }
.subhero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 2.9rem); max-width: 20ch; }
.subhero p { color: var(--slate-300); margin-top: 16px; max-width: 56ch; font-size: 1.08rem; }
.subhero .hero-ctas { margin-top: 28px; }

.service-detail-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}
.detail-list { display: flex; flex-direction: column; gap: 22px; margin-top: 8px; }
.detail-list li { display: flex; gap: 14px; }
.detail-list svg { color: var(--blue-600); flex-shrink: 0; margin-top: 3px; }
.detail-list h4 { font-size: 1.02rem; margin-bottom: 4px; }
.detail-list p { color: var(--slate-500); font-size: 0.94rem; }

.related-services {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.related-card {
  display: block;
  border: 1px solid rgba(11,39,64,0.1);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.related-card:hover { border-color: var(--blue-500); background: var(--sky-100); }
.related-card strong { display: block; color: var(--navy-900); font-size: 1rem; margin-bottom: 4px; }
.related-card span { color: var(--slate-500); font-size: 0.87rem; }

@media (max-width: 860px) { .service-detail-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: var(--slate-300);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--white); font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; margin-bottom: 12px; }
.footer-brand img { height: 34px; width: auto; background: var(--white); padding: 6px 10px; border-radius: 8px; }
.footer-col h4 { color: var(--white); font-size: 0.85rem; letter-spacing: 0.02em; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a, .footer-col p { font-size: 0.92rem; color: var(--slate-300); }
.footer-col a:hover { color: var(--white); }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; }
.footer-social svg { width: 16px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; font-size: 0.82rem; color: var(--slate-500); }

@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Mobile sticky action bar ---------- */
.mobile-action-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 70;
  background: var(--white);
  border-top: 1px solid rgba(11,39,64,0.12);
  box-shadow: 0 -8px 24px -12px rgba(6,23,38,0.25);
  padding: 10px var(--edge);
  padding-bottom: max(10px, env(safe-area-inset-bottom));
  gap: 10px;
}
@media (max-width: 720px) {
  .mobile-action-bar { display: flex; }
  body { padding-bottom: calc(var(--action-bar-h) + env(safe-area-inset-bottom)); }
}
.mobile-action-bar .btn { flex: 1; padding: 13px 10px; font-size: 0.92rem; }

/* ---------- Reveal-on-load ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Responsive grid fallbacks */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; aspect-ratio: 16/10; clip-path: polygon(0 3%, 96% 0, 100% 97%, 4% 100%); }
  .quote-shell { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .section { padding: 64px 0; }
  .services-list, .reviews-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   MODERNIZATION LAYER — depth, motion, texture
   ========================================================================== */

/* subtle full-page grain for a premium, non-flat surface */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* floating gradient blobs */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
  animation: drift 16s ease-in-out infinite alternate;
}
.blob-a { width: 420px; height: 420px; top: -140px; left: -120px; background: radial-gradient(circle, rgba(127,190,221,0.35), transparent 70%); }
.blob-b { width: 380px; height: 380px; bottom: -160px; right: -100px; background: radial-gradient(circle, rgba(43,134,187,0.3), transparent 70%); animation-delay: -6s; }
@keyframes drift {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(30px, -24px) scale(1.08); }
}
@media (prefers-reduced-motion: reduce) { .blob { animation: none; } }

.dot-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,0.14) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.6), transparent 75%);
}

.hero { isolation: isolate; }
.hero .wrap { position: relative; z-index: 1; }

.grad-text {
  color: var(--blue-300);
}

/* floating badge over hero visual */
.floating-badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(11, 39, 64, 0.55);
  backdrop-filter: blur(10px) saturate(140%);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: var(--white);
  box-shadow: var(--shadow-soft);
}
.floating-badge svg { color: var(--blue-300); flex-shrink: 0; }
.floating-badge strong { display: block; font-family: var(--font-display); font-size: 0.85rem; }
.floating-badge span { font-size: 0.72rem; color: var(--slate-300); }
@media (max-width: 520px) { .floating-badge { left: 14px; bottom: 14px; padding: 10px 12px; } }

/* scrolling city ticker */
.ticker {
  background: var(--navy-950);
  overflow: hidden;
  white-space: nowrap;
  padding: 12px 0;
  position: relative;
  z-index: 1;
}
.ticker-track {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  animation: ticker-scroll 26s linear infinite;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--blue-300);
  text-transform: uppercase;
}
.ticker-dot { color: rgba(127,190,221,0.5); font-size: 0.7rem; }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* icon chips (trust bar + services) */
.icon-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(155deg, var(--sky-100), #ffffff);
  border: 1px solid rgba(28,111,160,0.14);
  flex-shrink: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.icon-chip svg { width: 20px; height: 20px; }
.trust-item:hover .icon-chip { transform: translateY(-3px) scale(1.05); box-shadow: 0 10px 20px -8px rgba(28,111,160,0.35); }
.service-card .icon-chip { margin-bottom: 4px; }
.service-card.is-primary .icon-chip { background: linear-gradient(155deg, rgba(127,190,221,0.22), rgba(255,255,255,0.06)); border-color: rgba(127,190,221,0.3); }
.service-card.is-primary .icon-chip svg { color: var(--blue-300); }

/* service card lift + glow */
.service-card {
  transition: background 0.2s ease, transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -22px rgba(11,39,64,0.35); z-index: 2; }
.service-card.is-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(127,190,221,0.16), transparent 60%);
  pointer-events: none;
}

/* button shine sweep */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after {
  content: "";
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s ease;
  z-index: -1;
}
.btn:hover::after { left: 130%; }

/* FAQ accent bar */
.faq-item { position: relative; padding-left: 18px; }
.faq-item::before {
  content: "";
  position: absolute;
  left: 0; top: 14px; bottom: 14px;
  width: 3px;
  border-radius: 4px;
  background: var(--blue-300);
  opacity: 0;
  transform: scaleY(0.4);
  transform-origin: center;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.faq-item:hover::before, .faq-item[data-open="true"]::before { opacity: 1; transform: scaleY(1); background: var(--blue-600); }

/* review card accent + lift */
.review-card { position: relative; overflow: hidden; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.review-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-300), var(--blue-600));
}
.review-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-deep); }

/* process step glow */
.process-step { position: relative; display: inline-block; }
.process-step::before {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 64px; height: 64px;
  background: radial-gradient(circle, rgba(127,190,221,0.28), transparent 70%);
  transform: translate(-50%, -50%);
  z-index: -1;
}

/* quote side decorative pattern */
.quote-side { position: relative; overflow: hidden; }
.quote-side::before {
  content: "";
  position: absolute;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(127,190,221,0.22), transparent 70%);
  top: -80px; right: -80px;
  pointer-events: none;
}
.quote-side > * { position: relative; z-index: 1; }

/* footer top accent line */
.site-footer { position: relative; }
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue-300), transparent);
}

/* final CTA extra blob */
.final-cta { isolation: isolate; }
.final-cta::after {
  content: "";
  position: absolute;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43,134,187,0.22), transparent 70%);
  bottom: -220px; left: -140px;
  z-index: -1;
}

/* staggered reveal for grids */
.services-list.reveal .service-card,
.reviews-grid.reveal .review-card {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease, background 0.2s ease, box-shadow 0.25s ease;
}
.services-list.reveal.is-visible .service-card,
.reviews-grid.reveal.is-visible .review-card {
  opacity: 1;
  transform: none;
}
.services-list.reveal.is-visible .service-card:nth-child(1) { transition-delay: 0.02s; }
.services-list.reveal.is-visible .service-card:nth-child(2) { transition-delay: 0.08s; }
.services-list.reveal.is-visible .service-card:nth-child(3) { transition-delay: 0.14s; }
.services-list.reveal.is-visible .service-card:nth-child(4) { transition-delay: 0.20s; }
.services-list.reveal.is-visible .service-card:nth-child(5) { transition-delay: 0.26s; }
.services-list.reveal.is-visible .service-card:nth-child(6) { transition-delay: 0.32s; }
.reviews-grid.reveal.is-visible .review-card:nth-child(1) { transition-delay: 0.02s; }
.reviews-grid.reveal.is-visible .review-card:nth-child(2) { transition-delay: 0.12s; }
.reviews-grid.reveal.is-visible .review-card:nth-child(3) { transition-delay: 0.22s; }

/* subhero (service pages) gets the same blob treatment */
.subhero { position: relative; isolation: isolate; overflow: hidden; }
.subhero::before {
  content: "";
  position: absolute;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(127,190,221,0.25), transparent 70%);
  top: -160px; right: -100px;
  z-index: -1;
  filter: blur(10px);
}
.subhero .wrap { position: relative; z-index: 1; }

