/* =========================================================
   QC Title — Design System
   High-end · Charlotte-rooted · residential-friendly · Carolinas-wide
   Teal + purple as accents, never as saturated backgrounds.
   ========================================================= */

:root {
  /* Ink & ground — cool neutrals */
  --ink:        #1d1d1f;
  --ink-soft:   #3f3f44;
  --muted:      #6e6e73;
  --line:       rgba(29, 29, 31, 0.10);
  --line-soft:  rgba(29, 29, 31, 0.06);
  --bg:         #ffffff;
  --bg-2:       #f5f5f7;
  --bg-3:       #eef0f3;
  --white:      #ffffff;

  /* Brand */
  --teal:        #0E8A8A;
  --teal-deep:   #0A6767;
  --teal-soft:   rgba(14, 138, 138, 0.09);
  --teal-line:   rgba(14, 138, 138, 0.28);
  --purple:      #5B2D8E;
  --purple-deep: #3E1D66;
  --purple-soft: rgba(91, 45, 142, 0.08);
  --night:       #16131f;   /* purple-tinted near-black for dark bands */
  --night-2:     #1f1a2c;

  /* Radius & motion */
  --r-sm: 12px;
  --r:    18px;
  --r-lg: 24px;
  --r-xl: 30px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-soft: 0 8px 28px -16px rgba(22, 19, 31, 0.28);
  --shadow-card: 0 24px 60px -30px rgba(22, 19, 31, 0.38);
  --shadow-float: 0 30px 70px -28px rgba(22, 19, 31, 0.55);

  --maxw: 1180px;
  --nav-h: 76px;
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI",
               Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
picture { display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
button { cursor: pointer; }
a, button, input, select, textarea { -webkit-tap-highlight-color: transparent; }
.btn, .nav__burger, .acc__q { touch-action: manipulation; }
ul, ol { list-style: none; }
::selection { background: rgba(14,138,138,.18); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--teal); color: #fff; padding: 12px 20px; border-radius: 0 0 var(--r-sm) 0;
  font-size: 14px; font-weight: 600;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

/* ---------- Ambient background — slow-drifting teal / purple light ---------- */
.ambient { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.ambient::before {
  /* fine dot grid, fades toward the bottom */
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(29,29,31,.11) 1px, transparent 1.2px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.35) 45%, transparent 85%);
          mask-image: linear-gradient(180deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.35) 45%, transparent 85%);
}
.orb {
  position: absolute; border-radius: 50%; will-change: transform;
  animation: orb-drift 26s ease-in-out infinite alternate;
}
.orb--teal   { width: 62vw; height: 62vw; max-width: 900px; max-height: 900px; left: -18vw; top: -22vw;
  background: radial-gradient(closest-side, rgba(14,138,138,.22), rgba(14,138,138,.08) 55%, transparent 72%); }
.orb--purple { width: 52vw; height: 52vw; max-width: 780px; max-height: 780px; right: -16vw; top: 6vh;
  background: radial-gradient(closest-side, rgba(91,45,142,.18), rgba(91,45,142,.06) 55%, transparent 72%);
  animation-duration: 32s; animation-delay: -9s; }
.orb--mist   { width: 48vw; height: 48vw; max-width: 720px; max-height: 720px; left: 28vw; bottom: -30vw;
  background: radial-gradient(closest-side, rgba(14,138,138,.12), rgba(91,45,142,.06) 50%, transparent 72%);
  animation-duration: 38s; animation-delay: -18s; }
@keyframes orb-drift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(6vw, 4vh, 0) scale(1.06); }
  100% { transform: translate3d(-4vw, 7vh, 0) scale(.97); }
}
body > main, body > footer { position: relative; z-index: 1; }
.band-soft { background: rgba(245,245,247,.72); }
.pagehead { background: rgba(245,245,247,.72); }

/* Sheen that slowly sweeps across dark surfaces */
.band::before, .cta-card::before, .cta-card::after { will-change: transform; }
.cta-card::before { animation: glow-a 18s ease-in-out infinite alternate; }
.cta-card::after  { animation: glow-b 22s ease-in-out infinite alternate; }
@keyframes glow-a { to { transform: translate3d(-12%, 18%, 0) scale(1.15); } }
@keyframes glow-b { to { transform: translate3d(14%, -16%, 0) scale(1.12); } }
.band--photo::before { transform: scale(1.06); animation: band-pan 40s ease-in-out infinite alternate; }
@keyframes band-pan { to { transform: scale(1.06) translate3d(-2.5%, 1.5%, 0); } }

/* Hero media: slow settle-in zoom plus a light scroll parallax (set by JS) */
.hero__media img { transform: scale(1.08) translate3d(0, var(--py, 0px), 0); animation: hero-settle 2.4s var(--ease) forwards; transition: transform .1s linear; }
@keyframes hero-settle { to { transform: scale(1.02) translate3d(0, var(--py, 0px), 0); } }
.hero__media.settled img { animation: none; transform: scale(1.02) translate3d(0, var(--py, 0px), 0); }

/* Fine lines that draw in under section eyebrows */
.section-head .eyebrow::after {
  content: ""; display: block; width: 0; height: 1.5px; margin: 14px auto 0;
  background: linear-gradient(90deg, var(--teal), var(--purple)); border-radius: 2px;
  transition: width 1.1s var(--ease) .15s;
}
.section-head[data-reveal].in .eyebrow::after { width: 44px; }
.section-head--left .eyebrow::after { margin-left: 0; }

/* ---------- Wordmark (typographic lockup until the logo file is supplied) ---------- */
.wm { display: inline-flex; align-items: baseline; gap: 6px; letter-spacing: -0.03em; line-height: 1; }
.wm__q { font-weight: 800; font-size: 26px; color: var(--teal); }
.wm__t { font-weight: 600; font-size: 22px; color: var(--purple); letter-spacing: -0.02em; }
.on-dark .wm__q, .nav:not(.scrolled) .wm__q { color: #fff; }
.on-dark .wm__t, .nav:not(.scrolled) .wm__t { color: rgba(255,255,255,.82); }
.nav.scrolled .wm__q, .nav.nav--light .wm__q { color: var(--teal); }
.nav.scrolled .wm__t, .nav.nav--light .wm__t { color: var(--purple); }

/* ---------- Layout & rhythm ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.section { position: relative; padding: clamp(84px, 11vw, 150px) 0; }
.section--tight { padding: clamp(56px, 7vw, 96px) 0; }
.section--cta { padding-top: 0; }
.hero--frame + .section { padding-top: clamp(64px, 8vw, 110px); }
.band-soft { background: var(--bg-2); }

.eyebrow {
  display: block;
  font-size: 12px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 18px;
}
.eyebrow--purple { color: var(--purple); }
.eyebrow--light { color: rgba(255,255,255,.72); }

h1, h2, h3 { letter-spacing: -0.025em; line-height: 1.1; font-weight: 700; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.1rem); line-height: 1.04; letter-spacing: -0.032em; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.9rem); }
h3 { font-size: clamp(1.1rem, 1.5vw, 1.3rem); letter-spacing: -0.015em; }
p  { color: var(--ink-soft); font-size: 1.03rem; }

.section-head { max-width: 780px; margin: 0 auto clamp(52px, 7vw, 84px); text-align: center; }
.section-head--left { text-align: left; margin-left: 0; }
.section-head p { margin-top: 20px; font-size: 1.12rem; }
.section-head h2 + .cta-actions { margin-top: 34px; }
.section-head--narrow { max-width: 680px; margin-bottom: 0; }
.wrap > .section-head:only-child { margin-bottom: 0; }

.prose { max-width: 720px; margin: clamp(44px, 6vw, 64px) auto 0; }
.prose p + p { margin-top: 20px; }

/* ---------- Buttons — one primary, one secondary. Flat. ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: 999px;
  font-size: 15px; font-weight: 600; border: 1.5px solid transparent;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
  white-space: nowrap; line-height: 1.2; min-height: 44px;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn--primary  { color: #fff; background: var(--teal); }
.btn--primary:hover  { background: var(--teal-deep); }
.btn--secondary { color: var(--ink); background: transparent; border-color: rgba(29,29,31,.22); }
.btn--secondary:hover { background: var(--bg-2); border-color: var(--ink); }
.btn--light { color: var(--night); background: #fff; }
.btn--light:hover { background: #e9e9ee; }
.btn--outline-light { color: #fff; border-color: rgba(255,255,255,0.45); background: transparent; }
.btn--outline-light:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.btn--sm { padding: 11px 22px; font-size: 14px; }
.btn--block { width: 100%; padding: 15px 22px; font-size: 15.5px; white-space: normal; text-align: center; }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h); display: flex; align-items: center;
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.nav__inner {
  width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.nav.scrolled, .nav.nav--light {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 1px 0 var(--line);
}
.nav__logo { display: flex; align-items: center; min-height: 44px; padding: 0 4px; margin-left: -4px; }

.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__links a {
  font-size: 14.5px; font-weight: 500; color: var(--ink-soft);
  position: relative; padding: 4px 0; transition: color .2s var(--ease);
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1.5px; width: 0;
  background: var(--teal); transition: width .25s var(--ease);
}
.nav__links a:hover, .nav__links a.active { color: var(--ink); }
.nav__links a:hover::after, .nav__links a.active::after { width: 100%; }
.nav__cta { display: flex; align-items: center; gap: 20px; }
.nav__phone { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.nav__phone svg { width: 15px; height: 15px; color: var(--teal); }
.nav__burger {
  display: none; width: 44px; height: 44px; border-radius: var(--r-sm);
  background: rgba(255,255,255,0.7); border: 1px solid var(--line);
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav__burger span { width: 18px; height: 1.5px; background: var(--ink); transition: .25s var(--ease); }
.nav.open .nav__burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav.open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.open .nav__burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Transparent nav sitting over a dark header (home + interior heroes) */
.nav:not(.scrolled):not(.nav--light) .nav__links a { color: rgba(255,255,255,0.88); }
.nav:not(.scrolled):not(.nav--light) .nav__links a:hover,
.nav:not(.scrolled):not(.nav--light) .nav__links a.active { color: #fff; }
.nav:not(.scrolled):not(.nav--light) .nav__links a::after { background: #fff; }
.nav:not(.scrolled):not(.nav--light) .nav__phone { color: #fff; }
.nav:not(.scrolled):not(.nav--light) .nav__phone svg { color: #fff; }
.nav:not(.scrolled):not(.nav--light) .nav__burger { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.42); }
.nav:not(.scrolled):not(.nav--light) .nav__burger span { background: #fff; }
.nav:not(.scrolled):not(.nav--light) .nav__cta .btn--primary { background: #fff; color: var(--night); }
.nav:not(.scrolled):not(.nav--light) .nav__cta .btn--primary:hover { background: #e9e9ee; }

.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 auto 0; z-index: 99;
  background: rgba(255,255,255,0.98); backdrop-filter: blur(20px);
  padding: 22px 28px 30px; display: flex; flex-direction: column;
  transform: translateY(-140%); transition: transform .4s var(--ease);
  box-shadow: var(--shadow-soft); border-bottom: 1px solid var(--line);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a { padding: 15px 0; font-size: 17px; font-weight: 500; border-bottom: 1px solid var(--line-soft); }
.mobile-menu .btn { margin-top: 20px; border-bottom: none; }

/* ---------- HERO (home) ---------- */
.hero--home {
  position: relative; min-height: 92svh; display: flex; align-items: center;
  color: #fff; overflow: hidden;
  padding-top: calc(var(--nav-h) + 48px); padding-bottom: clamp(80px, 10vh, 130px);
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg picture, .hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(22,19,31,.42) 0%, rgba(22,19,31,.12) 40%, rgba(22,19,31,.72) 100%),
    linear-gradient(100deg, rgba(22,19,31,.84) 0%, rgba(22,19,31,.46) 50%, rgba(22,19,31,.06) 78%);
}
.hero--home .wrap { position: relative; z-index: 2; }
.hero__content { max-width: 700px; }
.hero--home .eyebrow { color: rgba(255,255,255,.78); }
.hero--home h1 { color: #fff; margin-bottom: 26px; }
.hero__sub { color: rgba(255,255,255,.90); font-size: clamp(1.04rem, 1.3vw, 1.18rem); max-width: 620px; margin-bottom: 38px; line-height: 1.6; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Floating glass cards — the family's signature */
.hero__floats { position: absolute; right: 0; top: 0; bottom: 0; width: 46%; pointer-events: none; z-index: 2; }
.float {
  position: absolute; display: flex; align-items: center; gap: 14px;
  padding: 16px 20px 16px 16px; border-radius: var(--r);
  background: rgba(255,255,255,0.82); color: var(--ink);
  backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px);
  box-shadow: var(--shadow-float); border: 1px solid rgba(255,255,255,.7);
  animation: floaty 7s ease-in-out infinite;
}
.float__ico { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--teal-soft); color: var(--teal); }
.float__ico--purple { background: var(--purple-soft); color: var(--purple); }
.float__ico svg { width: 20px; height: 20px; }
.float__k { display: block; font-size: 15px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; }
.float__v { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.float--1 { right: 12%; top: 30%; animation-delay: 0s; }
.float--2 { right: 4%;  top: 52%; animation-delay: -2.4s; }
.float--3 { right: 20%; top: 70%; animation-delay: -4.6s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- HERO (framed, Apple product-page style) ---------- */
.hero--frame {
  position: relative; background: transparent;
  padding-top: calc(var(--nav-h) + clamp(56px, 8vw, 104px));
  padding-bottom: 0;
}
.hero__head { max-width: 860px; margin: 0 auto; text-align: center; }
.hero--frame .eyebrow { margin-bottom: 22px; }
.hero--frame h1 { margin-bottom: 24px; }
.hero--frame .h1-line { display: block; }
.hero--frame .hero__sub { color: var(--ink-soft); margin: 0 auto 36px; font-size: clamp(1.05rem, 1.3vw, 1.2rem); max-width: 700px; }
.hero--frame .hero__actions { justify-content: center; }

.hero__frame { margin-top: clamp(48px, 6vw, 80px); }
.hero__media {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  aspect-ratio: 16/8.5; background: var(--bg-2);
  box-shadow: 0 40px 90px -40px rgba(22,19,31,.45), 0 0 0 1px rgba(29,29,31,.06);
}
.hero__media picture { height: 100%; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 55%; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(22,19,31,0) 60%, rgba(22,19,31,.18) 100%);
}

.hero__strip {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin: 0 clamp(0px, 3vw, 40px); padding: 26px 8px 0;
  border-top: 0;
}
.hero__strip li {
  display: flex; align-items: center; gap: 14px; padding: 12px 22px;
  border-right: 1px solid var(--line);
}
.hero__strip li:last-child { border-right: 0; }
.hero__strip-ico {
  flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--teal-soft); color: var(--teal);
}
.hero__strip-ico--purple { background: var(--purple-soft); color: var(--purple); }
.hero__strip-ico svg { width: 20px; height: 20px; }
.hero__strip strong { display: block; font-size: 15px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; color: var(--ink); }
.hero__strip em { display: block; font-style: normal; font-size: 13px; color: var(--muted); margin-top: 2px; }

/* Interior page hero — image-backed, left aligned */
.subhero {
  position: relative; overflow: hidden; color: #fff;
  padding-top: calc(var(--nav-h) + clamp(72px, 9vw, 120px));
  padding-bottom: clamp(64px, 8vw, 104px);
  background: var(--night); min-height: 58svh; display: flex; align-items: flex-end;
}
.subhero__bg { position: absolute; inset: 0; z-index: 0; }
.subhero__bg picture, .subhero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.subhero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(22,19,31,.36) 0%, rgba(22,19,31,.30) 45%, rgba(22,19,31,.82) 100%),
    linear-gradient(90deg, rgba(22,19,31,.72) 0%, rgba(22,19,31,.30) 60%, rgba(22,19,31,.05) 100%);
}
.subhero .wrap { position: relative; z-index: 2; }
.subhero__content { max-width: 720px; }
.subhero .eyebrow { color: rgba(255,255,255,.76); }
.subhero h1 { color: #fff; margin-bottom: 22px; }
.subhero p { color: rgba(255,255,255,.88); font-size: clamp(1.02rem, 1.25vw, 1.15rem); max-width: 640px; }
.subhero .cta-actions { margin-top: 34px; justify-content: flex-start; }

/* Plain (no image) page header */
.pagehead { padding-top: calc(var(--nav-h) + clamp(56px, 8vw, 96px)); padding-bottom: clamp(32px, 5vw, 56px); background: var(--bg-2); }
.pagehead .section-head { margin-bottom: 0; }

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

.card {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 36px 34px;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .3s var(--ease);
}
a.card:hover { border-color: var(--teal-line); box-shadow: var(--shadow-card); transform: translateY(-3px); }
.card__ico {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: var(--teal-soft); color: var(--teal); margin-bottom: 24px;
}
.card__ico--purple { background: var(--purple-soft); color: var(--purple); }
.card__ico svg { width: 23px; height: 23px; }
.card h3 { margin-bottom: 6px; }
.card__sub { font-size: .95rem; font-weight: 600; color: var(--teal); margin-bottom: 12px; }
.card p { font-size: 1rem; }
.card p + p { margin-top: 14px; }
.card__more {
  display: inline-flex; align-items: center; gap: 7px; margin-top: auto; padding-top: 22px;
  font-size: 14px; font-weight: 600; color: var(--purple);
}
.card__more svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
a.card:hover .card__more svg { transform: translateX(3px); }

/* Photo service cards (home) */
.svc { position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: var(--white); border: 1px solid var(--line); transition: box-shadow .3s var(--ease), transform .3s var(--ease); }
.svc:hover { box-shadow: var(--shadow-card); transform: translateY(-4px); }
.svc__media { aspect-ratio: 4/3; overflow: hidden; background: var(--bg-3); }
.svc__media picture { height: 100%; }
.svc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.svc:hover .svc__media img { transform: scale(1.04); }
.svc__body { padding: 28px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.svc__body h3 { margin-bottom: 4px; }
.svc__body .card__sub { margin-bottom: 10px; }
.svc__body p { font-size: .98rem; }
.svc__body .card__more { padding-top: 18px; }
.svc--featured { grid-column: span 1; }
/* Land — treated graphic in place of photography */
.svc__media--land { position: relative; background: linear-gradient(160deg, #e8f3f1 0%, #d6e9e6 55%, #e9e4f1 100%); }
.svc__media--land svg { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---------- Benefits — 2 x 3 ---------- */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 40px; max-width: 1080px; margin: 0 auto; }
.benefit__ico {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid var(--teal-line); color: var(--teal); margin-bottom: 20px;
}
.benefit:nth-child(even) .benefit__ico { border-color: rgba(91,45,142,.3); color: var(--purple); }
.benefit__ico svg { width: 20px; height: 20px; }
.benefit h3 { margin-bottom: 9px; }
.benefit p { font-size: .98rem; }

/* ---------- Timeline ---------- */
.timeline {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px;
  position: relative; max-width: 1080px; margin: 0 auto;
}
.timeline::before {
  content: ""; position: absolute; top: 19px; left: 8%; right: 8%; height: 1.5px;
  background: var(--line); z-index: 0;
}
.timeline__step { position: relative; z-index: 1; }
.timeline__num {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--teal); color: #fff; font-size: .9rem; font-weight: 700;
  margin-bottom: 22px; box-shadow: 0 0 0 6px var(--bg-2);
}
.timeline__step:nth-child(4) .timeline__num { background: var(--purple); }
.timeline__step h3 { margin-bottom: 10px; }
.timeline__step p { font-size: .97rem; }

/* ---------- Split media / body ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.split--rev .split__media { order: 2; }
.split__media {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  aspect-ratio: 4/3; background: var(--bg-2); box-shadow: var(--shadow-card);
}
.split__media picture { height: 100%; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__media--tall { aspect-ratio: 4/4.4; }
.split__body h2 { margin-bottom: 22px; }
.split__body p + p { margin-top: 18px; }
.split__body .cta-actions { justify-content: flex-start; margin-top: 30px; }

/* Floating chip on a split image */
.chip {
  position: absolute; left: 22px; bottom: 22px; display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 16px 11px 12px; border-radius: 999px; background: rgba(255,255,255,.86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  font-size: 13.5px; font-weight: 600; color: var(--ink); box-shadow: var(--shadow-soft);
}
.chip svg { width: 18px; height: 18px; color: var(--teal); }

/* ---------- Coverage map ---------- */
.split--map { align-items: center; }
.split__map { text-align: center; }
.statemap { width: 100%; max-width: 480px; height: auto; margin: 0 auto; }
.statemap__nc { fill: rgba(14,138,138,.14); stroke: var(--teal); stroke-width: 3; stroke-linejoin: round; }
.statemap__sc { fill: rgba(91,45,142,.12); stroke: var(--purple); stroke-width: 3; stroke-linejoin: round; }
.statemap__dot { fill: var(--purple); }
.statemap__ring { fill: none; stroke: var(--purple); stroke-width: 2; opacity: .35; }
.statemap__label {
  display: block; margin-top: 20px; font-size: 12px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}

/* ---------- Lists ---------- */
.checklist { display: grid; gap: 13px; margin-top: 22px; }
.checklist li { display: flex; align-items: flex-start; gap: 12px; font-size: 1rem; color: var(--ink-soft); }
.checklist li svg { flex: none; width: 19px; height: 19px; color: var(--teal); margin-top: 4px; }

/* ---------- Service detail blocks (services page) ---------- */
.svc-detail { scroll-margin-top: calc(var(--nav-h) + 20px); }
.svc-detail + .svc-detail { margin-top: clamp(72px, 9vw, 120px); }
.svc-detail .split__body h2 { margin-bottom: 8px; }
.svc-detail .lede { font-size: 1.15rem; font-weight: 600; color: var(--teal); margin-bottom: 20px; }
.svc-detail--purple .lede { color: var(--purple); }
.subnav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 30px; }
.subnav a { padding: 10px 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.35); color: #fff; font-size: 14px; font-weight: 600; transition: background .2s; }
.subnav a:hover { background: rgba(255,255,255,.14); }

/* ---------- Underwriters ---------- */
.uw { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 900px; margin: 0 auto; }
.uw-card { padding: 34px 32px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.uw-card__tag { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; display: block; }
.uw-card h3 { margin-bottom: 8px; font-size: 1.2rem; }
.uw-card p { font-size: .96rem; }

/* ---------- Callout ---------- */
.callout {
  display: flex; gap: 32px; align-items: center; justify-content: space-between; flex-wrap: wrap;
  padding: 40px 42px; border-radius: var(--r-lg);
  background: var(--bg-2); border: 1px solid var(--line);
}
.callout__t { flex: 1 1 460px; }
.callout__t h3 { margin-bottom: 10px; }
.callout__t p { font-size: 1rem; max-width: 620px; }
.callout .btn { flex: none; }

/* ---------- Accordion ---------- */
.accordion { max-width: 820px; margin: clamp(48px, 6vw, 72px) auto 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.accordion--flush { margin-top: 0; }
.acc { border-bottom: 1px solid var(--line); }
.acc__q {
  width: 100%; text-align: left; padding: 26px 4px; display: flex; align-items: center;
  justify-content: space-between; gap: 22px; background: none; border: none;
  font-size: 1.06rem; font-weight: 650; color: var(--ink); line-height: 1.4;
}
.acc__q .ico { flex: none; width: 24px; height: 24px; display: grid; place-items: center; transition: transform .3s var(--ease); }
.acc__q .ico svg { width: 15px; height: 15px; color: var(--teal); }
.acc.open .acc__q .ico { transform: rotate(45deg); }
.acc__a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.acc__a-inner { padding: 0 4px 28px; max-width: 700px; }
.acc__a-inner p + p { margin-top: 14px; }
.acc__a-inner a { color: var(--teal); display: inline-block; padding: 10px 0; margin: -10px 0; }
.faq-group { max-width: 820px; margin: clamp(48px, 6vw, 72px) auto 0; }
.faq-group h2 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); margin-bottom: 8px; }
.faq-group > p { margin-bottom: 24px; }

/* ---------- Dark bands & CTA ---------- */
.band { position: relative; overflow: hidden; background: var(--night); color: #fff; }
.band h2 { color: #fff; }
.band p { color: rgba(255,255,255,0.78); }
.band .wrap { position: relative; z-index: 2; }
.band--photo::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: url("../img/charlotte.jpg") center 40%/cover no-repeat;
}
.band--photo::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(22,19,31,.92) 0%, rgba(22,19,31,.78) 50%, rgba(22,19,31,.45) 100%);
}
.band__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.band__grid h2 { margin-bottom: 20px; }
.band__grid p + p { margin-top: 16px; }
.band__facts { display: grid; gap: 14px; }
.band__fact { padding: 22px 24px; border-radius: var(--r); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(10px); }
.band__fact strong { display: block; color: #fff; font-size: 1.05rem; margin-bottom: 4px; letter-spacing: -0.01em; }
.band__fact span { font-size: .95rem; color: rgba(255,255,255,.72); }

.cta-card {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  padding: clamp(52px, 6.5vw, 88px) clamp(32px, 5vw, 64px);
  background: var(--night); color: #fff; text-align: center;
}
.cta-card::before {
  content: ""; position: absolute; inset: -40% -20% auto auto; width: 60%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(14,138,138,.45), transparent 70%); pointer-events: none;
}
.cta-card::after {
  content: ""; position: absolute; inset: auto auto -50% -15%; width: 55%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(91,45,142,.55), transparent 70%); pointer-events: none;
}
.cta-card > * { position: relative; z-index: 1; }
.cta-card h2 { color: #fff; margin-bottom: 18px; }
.cta-card p { color: rgba(255,255,255,0.80); max-width: 620px; margin: 0 auto 36px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 34px; align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.contact-card {
  display: flex; gap: 18px; align-items: flex-start; padding: 26px 28px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
}
.contact-card .ci { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--teal-soft); color: var(--teal); }
.contact-card .ci--purple { background: var(--purple-soft); color: var(--purple); }
.contact-card .ci svg { width: 21px; height: 21px; }
.contact-card h3 { font-size: 1rem; margin-bottom: 4px; }
.contact-card a, .contact-card p { color: var(--ink-soft); font-size: 1rem; }
.contact-card a { display: inline-flex; align-items: center; min-height: 44px; }
.contact-card a:hover { color: var(--teal); text-decoration: underline; }

.action-card {
  padding: clamp(32px, 4vw, 44px); background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-card);
}
.action-card h3 { margin-bottom: 10px; }
.action-card__intro { font-size: 1rem; margin-bottom: 30px; }
.action-card__buttons { display: grid; gap: 12px; }
.action-card__note { margin-top: 34px; padding-top: 30px; border-top: 1px solid var(--line); }
.action-card__note h4 { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.action-card__note .checklist { margin-top: 18px; }
.action-card__note > p { margin-top: 22px; font-size: .94rem; color: var(--muted); }

/* ---------- Order form ---------- */
.order-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 34px; align-items: start; }
.form-card { padding: clamp(30px, 4vw, 44px); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-card); }
.form-card h2 { font-size: 1.5rem; margin-bottom: 6px; }
.form-card > p { font-size: .98rem; margin-bottom: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.field label small { font-weight: 500; color: var(--muted); font-size: 12px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 12px; border: 1px solid rgba(29,29,31,.16);
  background: var(--bg-2); color: var(--ink); font-size: 16px; line-height: 1.4;
  transition: border-color .2s, background .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236e6e73' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(14,138,138,.14); }
.form-foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 8px; }
.form-foot small { color: var(--muted); font-size: .92rem; max-width: 440px; }
.form-msg { grid-column: 1 / -1; padding: 16px 18px; border-radius: 12px; background: var(--teal-soft); color: var(--teal-deep); font-size: .95rem; display: none; }
.form-msg.show { display: block; }
.order-aside { display: grid; gap: 16px; position: sticky; top: calc(var(--nav-h) + 20px); }

/* ---------- Footer ---------- */
.footer { background: var(--night); color: rgba(255,255,255,0.74); padding: clamp(64px, 8vw, 92px) 0 36px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1.3fr; gap: 40px; }
.footer__logo { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 12px; }
.footer .wm__q { color: #fff; }
.footer .wm__t { color: rgba(255,255,255,.82); }
.footer p { color: rgba(255,255,255,0.62); font-size: .95rem; max-width: 330px; }
.footer h4 { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,0.48); margin-bottom: 18px; font-weight: 700; }
.footer__links { display: grid; gap: 0; }
.footer__links a, .footer__contact a, .footer__contact span {
  color: rgba(255,255,255,0.80); font-size: .95rem; transition: color .2s;
  display: inline-flex; align-items: flex-start; gap: 10px;
  padding: 8px 0; min-height: 38px;
}
.footer__links a:hover, .footer__contact a:hover { color: #fff; }
.footer__contact { display: grid; gap: 0; }
.footer__contact svg { width: 15px; height: 15px; color: var(--teal); flex: none; margin-top: 3px; }
.footer__bottom {
  margin-top: clamp(48px, 6vw, 68px); padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-size: .85rem; color: rgba(255,255,255,0.50);
}

/* ---------- Reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .float, .orb, .cta-card::before, .cta-card::after, .band--photo::before, .hero__media img { animation: none !important; }
  .hero__media img { transform: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero__floats { width: 42%; }
  .float--1 { right: 6%; }
  .float--3 { right: 14%; }
}
@media (max-width: 1000px) {
  .benefits { grid-template-columns: repeat(2, 1fr); gap: 40px 36px; }
  .timeline { grid-template-columns: repeat(2, 1fr); gap: 40px 32px; }
  .timeline::before { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .hero__floats { display: none; }
}
@media (max-width: 900px) {
  .hero__strip { grid-template-columns: 1fr; margin: 0; padding-top: 18px; }
  .hero__strip li { border-right: 0; border-bottom: 1px solid var(--line); padding: 14px 4px; }
  .hero__strip li:last-child { border-bottom: 0; }
  .hero__media { aspect-ratio: 4/3; }
  .nav__links, .nav__phone { display: none; }
  .nav__burger { display: flex; }
  .split, .split--rev .split__media { grid-template-columns: 1fr; order: unset; }
  .split--rev .split__body { order: 2; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .band__grid { grid-template-columns: 1fr; }
  .order-grid { grid-template-columns: 1fr; }
  .order-aside { position: static; }
  .subhero { min-height: 0; }
}
@media (max-width: 820px) {
  .contact-grid { grid-template-columns: 1fr; }
  .uw { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  :root { --nav-h: 66px; }
  .orb--teal { width: 120vw; height: 120vw; left: -40vw; top: -50vw; }
  .orb--purple { width: 100vw; height: 100vw; right: -45vw; top: 30vh; }
  .orb--mist { display: none; }
  .ambient::before { background-size: 22px 22px; }
  .wrap, .nav__inner { padding: 0 20px; }
  .grid-2, .grid-3, .benefits, .timeline { grid-template-columns: 1fr; }
  .benefits { gap: 34px; }
  .timeline { gap: 32px; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .callout { flex-direction: column; align-items: flex-start; padding: 32px 28px; }
  .callout .btn { width: 100%; }
  .card { padding: 30px 26px; }
  .hero--home { min-height: 86svh; }
  .hero--frame { padding-top: calc(var(--nav-h) + 40px); }
  .hero--frame .h1-line { display: inline; }
  .footer__bottom { flex-direction: column; gap: 10px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-foot .btn { width: 100%; }
  .wm__q { font-size: 22px; } .wm__t { font-size: 19px; }
}
@media (max-width: 440px) {
  .nav__cta { gap: 12px; }
  .hero__actions .btn, .subhero .cta-actions .btn { width: 100%; }
}
