/* =====================================================================
   Premier Service — Minnesota 245D Provider
   Vibrant healthcare design system
   ===================================================================== */

:root {
  /* ----- Brand color system ----- */
  --teal:        #0FB9A9;
  --teal-bright: #19D8C4;
  --teal-deep:   #0A887B;
  --teal-ink:    #075f56;
  --teal-tint:   #E4FBF7;
  --teal-tint-2: #C7F4ED;

  --coral:       #FF6F61;
  --coral-deep:  #F0455A;
  --coral-tint:  #FFE7E3;

  --violet:      #7C5CFC;
  --violet-deep: #6438EE;
  --violet-tint: #ECE7FE;

  --amber:       #FFB020;
  --amber-deep:  #E8930A;
  --amber-tint:  #FFF1D2;

  --sky:         #2BA8E8;
  --sky-deep:    #1583C2;
  --sky-tint:    #DCEFFC;

  --lime:        #2FBE7A;
  --lime-deep:   #1E9C60;
  --lime-tint:   #D9F5E6;

  /* ----- Neutrals ----- */
  --ink:         #16243B;
  --ink-soft:    #1F3A52;
  --night:       #0B1A2E;
  --night-2:     #112942;
  --text:        #283449;
  --text-muted:  #5A6A80;
  --line:        #E5EBF1;
  --line-soft:   #EEF2F6;
  --mist:        #F4F8FB;
  --mint:        #EEFBF8;
  --paper:       #FFFFFF;

  --danger:      #DC3B45;
  --success:     #1E9C60;

  /* ----- Type ----- */
  --font-head: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* ----- Layout ----- */
  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 24px;
  --radius-xl: 34px;
  --shadow-xs: 0 1px 2px rgba(16, 36, 59, .06);
  --shadow-sm: 0 4px 14px rgba(16, 36, 59, .07);
  --shadow:    0 14px 34px rgba(16, 36, 59, .10);
  --shadow-lg: 0 28px 60px rgba(16, 36, 59, .16);
  --shadow-teal: 0 14px 30px rgba(15, 185, 169, .34);
  --shadow-coral: 0 14px 30px rgba(255, 111, 97, .34);
  --container: 1200px;
  --header-h: 80px;

  /* ----- Signature gradients ----- */
  --grad-brand: linear-gradient(120deg, #0FB9A9 0%, #2BA8E8 52%, #7C5CFC 100%);
  --grad-warm:  linear-gradient(120deg, #FF6F61 0%, #FFB020 100%);
  --grad-night: linear-gradient(150deg, #0B1A2E 0%, #0A887B 130%);
}

/* ----- Reset ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.68;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  -webkit-tap-highlight-color: rgba(15, 185, 169, .16);
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-deep); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--teal-ink); }
button { font-family: inherit; cursor: pointer; }
:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 3px;
  border-radius: 6px;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.16;
  margin: 0 0 .55em;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.15rem, 3.4vw + 1rem, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 1.7vw + 1rem, 2.6rem); font-weight: 800; }
h3 { font-size: 1.32rem; font-weight: 700; }
h4 { font-size: 1.06rem; font-weight: 700; }
p  { margin: 0 0 1em; }

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

.skip-link {
  position: absolute; top: -50px; left: 14px;
  background: var(--ink); color: #fff; padding: 10px 16px;
  border-radius: 10px; z-index: 1000; font-weight: 600;
}
.skip-link:focus { top: 14px; }

.muted { color: var(--text-muted); }
.center { text-align: center; }
.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ----- Reveal-on-scroll ------------------------------------------------- */
.reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
}
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }

/* ----- Buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .97rem;
  padding: 13px 22px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  transition: transform .14s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--grad-brand);
  background-size: 160% 160%;
  color: #fff;
  box-shadow: var(--shadow-teal);
}
.btn-primary:hover { background-position: 100% 0; color: #fff; box-shadow: 0 18px 38px rgba(15,185,169,.42); }

.btn-coral {
  background: var(--grad-warm);
  color: #4a1410;
  box-shadow: var(--shadow-coral);
}
.btn-coral:hover { color: #4a1410; box-shadow: 0 18px 38px rgba(255,111,97,.42); }

.btn-outline {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--shadow-xs);
}
.btn-outline:hover { border-color: var(--teal); color: var(--teal-deep); background: var(--teal-tint); }

.btn-ghost {
  background: transparent; color: var(--ink); border-color: var(--line);
  padding: 11px 18px;
}
.btn-ghost:hover { background: var(--mist); color: var(--ink); }

.btn-white { background: #fff; color: var(--teal-deep); box-shadow: var(--shadow); }
.btn-white:hover { color: var(--teal-ink); }

.btn-glass {
  background: rgba(255,255,255,.14);
  color: #fff; border-color: rgba(255,255,255,.4);
  backdrop-filter: blur(4px);
}
.btn-glass:hover { background: rgba(255,255,255,.24); color: #fff; }

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

/* ----- Header ----------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line-soft);
  box-shadow: 0 8px 28px rgba(16, 36, 59, .07);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h); gap: 18px;
}
.brand { display: inline-flex; align-items: center; gap: 13px; }
.brand:hover { color: inherit; }
.brand-mark {
  display: inline-flex; align-items: center; flex: none;
  color: #26394D;
}
.brand-mark svg { height: 44px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.12; }
.brand-name {
  font-family: var(--font-head); font-weight: 800; color: var(--ink);
  font-size: 1.1rem; letter-spacing: .02em; text-transform: uppercase;
  white-space: nowrap;
}
.brand-sub {
  font-size: .73rem; color: var(--teal-deep); font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase; white-space: nowrap;
}

.primary-nav { display: flex; align-items: center; gap: 28px; }
.primary-nav > ul {
  display: flex; gap: 4px; list-style: none; padding: 0; margin: 0; align-items: center;
}
.primary-nav > ul > li > a {
  position: relative;
  display: inline-flex; align-items: center;
  color: var(--ink); font-weight: 700; font-size: .8rem;
  letter-spacing: .07em; text-transform: uppercase;
  padding: 10px 12px; border-radius: 8px;
  white-space: nowrap;
}
.primary-nav > ul > li > a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px;
  height: 2.5px; border-radius: 2px; background: var(--teal);
  opacity: 0; transform: scaleX(.4);
  transition: opacity .18s ease, transform .18s ease;
}
.primary-nav > ul > li > a:hover { color: var(--teal-deep); }
.primary-nav > ul > li > a:hover::after { opacity: .4; transform: scaleX(1); }
.primary-nav > ul > li > a.active { color: var(--teal-deep); }
.primary-nav > ul > li > a.active::after { opacity: 1; transform: scaleX(1); }
.has-submenu { position: relative; }
.chev { font-size: .62em; margin-left: 3px; display: inline-block; }
.submenu {
  position: absolute; top: calc(100% + 10px); left: -8px;
  background: #fff; border: 1px solid var(--line-soft);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 10px; min-width: 326px; list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .16s, transform .16s, visibility .16s;
  z-index: 80;
}
.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a {
  display: flex; gap: 12px; align-items: center;
  padding: 11px 12px; border-radius: 11px; color: var(--ink); font-weight: 600;
  font-size: .94rem;
}
.submenu a:hover { background: var(--mist); color: var(--teal-ink); }
.submenu .s-ico {
  width: 38px; height: 38px; border-radius: 11px; flex: none;
  display: grid; place-items: center; font-size: 17px;
}
.submenu .s-ico.t1 { background: var(--teal-tint);   }
.submenu .s-ico.t2 { background: var(--violet-tint); }
.submenu .s-ico.t3 { background: var(--sky-tint);    }
.submenu .s-ico.t4 { background: var(--lime-tint);   }
.submenu .s-ico.t5 { background: var(--coral-tint);  }
.submenu .s-ico.t6 { background: var(--amber-tint);  }
.submenu .s-txt small { display: block; color: var(--text-muted); font-weight: 500; font-size: .8rem; }

.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; color: var(--ink);
  font-size: .95rem; padding: 9px 8px; white-space: nowrap;
}
.nav-phone:hover { color: var(--teal-deep); }
.nav-phone .ph {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--teal-tint); color: var(--teal-deep);
  display: grid; place-items: center;
}

.header-mobile-cta { display: none; align-items: center; gap: 8px; }
.btn-mobile-refer { display: none; }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px; padding: 11px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
}
.nav-toggle span { display: block; width: 22px; height: 2.4px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.4px) rotate(-45deg); }

/* ----- Section rhythm --------------------------------------------------- */
section { padding: 96px 0; position: relative; }
section.tight { padding: 64px 0; }
.bg-mist  { background: var(--mist); }
.bg-mint  { background: var(--mint); }
.bg-night { background: var(--night); color: #cdd9e6; }
.bg-night h1, .bg-night h2, .bg-night h3, .bg-night h4 { color: #fff; }

.section-head { max-width: 740px; margin: 0 auto 56px; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  text-transform: uppercase; letter-spacing: .13em;
  font-size: .76rem; font-weight: 800;
  color: var(--teal-deep);
  margin-bottom: 16px;
  padding: 7px 15px;
  background: var(--teal-tint);
  border-radius: 999px;
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--teal); flex: none;
}
.eyebrow.c2 { color: var(--violet-deep); background: var(--violet-tint); }
.eyebrow.c2::before { background: var(--violet); }
.eyebrow.c3 { color: var(--coral-deep); background: var(--coral-tint); }
.eyebrow.c3::before { background: var(--coral); }
.lead { font-size: 1.16rem; color: var(--text-muted); }

/* ----- Hero ------------------------------------------------------------- */
.hero {
  position: relative;
  padding: 84px 0 100px;
  background:
    radial-gradient(820px 520px at 84% -6%,  rgba(124,92,252,.16), transparent 62%),
    radial-gradient(720px 480px at 8% 8%,    rgba(15,185,169,.14), transparent 60%),
    radial-gradient(640px 520px at 96% 108%, rgba(255,176,32,.13), transparent 60%),
    linear-gradient(180deg, #FBFDFE 0%, #F2FAF9 100%);
  overflow: hidden;
}
.hero::before,
.hero::after {
  content: ""; position: absolute; border-radius: 50%;
  filter: blur(8px); opacity: .5; pointer-events: none;
}
.hero::before {
  width: 230px; height: 230px; right: -60px; top: 60px;
  background: radial-gradient(circle, rgba(43,168,232,.22), transparent 70%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.08fr .92fr;
  gap: 60px; align-items: center;
  position: relative; z-index: 1;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 700; color: var(--teal-ink); font-size: .87rem;
  background: #fff; border: 1px solid var(--teal-tint-2);
  padding: 9px 16px; border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.hero-badge .blip {
  width: 9px; height: 9px; border-radius: 50%; background: var(--lime);
  box-shadow: 0 0 0 0 rgba(47,190,122,.6);
  animation: blip 2.4s infinite;
}
@keyframes blip {
  0%   { box-shadow: 0 0 0 0 rgba(47,190,122,.55); }
  70%  { box-shadow: 0 0 0 12px rgba(47,190,122,0); }
  100% { box-shadow: 0 0 0 0 rgba(47,190,122,0); }
}
.hero h1 { margin: 20px 0 18px; }
.hero h1 .accent { display: inline; }
.hero p.lead { font-size: 1.2rem; max-width: 540px; }
.hero-actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero-meta {
  margin-top: 34px; display: flex; gap: 26px; flex-wrap: wrap;
  padding-top: 28px; border-top: 1px solid var(--line);
}
.hero-meta .m { display: flex; flex-direction: column; }
.hero-meta .m b {
  font-family: var(--font-head); font-size: 1.7rem; font-weight: 800;
  color: var(--ink); line-height: 1;
}
.hero-meta .m span { font-size: .86rem; color: var(--text-muted); margin-top: 5px; }
.hero-meta .m b.g { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* Hero visual */
.hero-visual { position: relative; }
.hero-stage {
  position: relative;
  border-radius: var(--radius-xl);
  background: var(--grad-night);
  aspect-ratio: 1 / 1.04;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.hero-stage .glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 26% 22%, rgba(25,216,196,.42), transparent 44%),
    radial-gradient(circle at 82% 84%, rgba(124,92,252,.40), transparent 48%);
}
.hero-stage .rings {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle, transparent 64%, rgba(255,255,255,.07) 65%, transparent 66%),
    radial-gradient(circle, transparent 76%, rgba(255,255,255,.05) 77%, transparent 78%);
}
.hero-figure {
  position: absolute; inset: 0; display: grid; place-items: center;
}
.hero-figure svg { width: 66%; height: auto; }
.float-card {
  position: absolute;
  background: #fff; border-radius: 18px;
  padding: 14px 16px;
  box-shadow: var(--shadow-lg);
  display: flex; gap: 12px; align-items: center;
  animation: floaty 5.5s ease-in-out infinite;
}
@keyframes floaty {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-12px); }
}
.float-card .fc-ico {
  width: 44px; height: 44px; border-radius: 12px; flex: none;
  display: grid; place-items: center; font-size: 21px;
}
.float-card h5 { margin: 0; font-family: var(--font-head); font-size: .96rem; color: var(--ink); }
.float-card p  { margin: 1px 0 0; font-size: .8rem; color: var(--text-muted); }
.float-card.fc1 { top: 30px; left: -20px; }
.float-card.fc1 .fc-ico { background: var(--teal-tint); }
.float-card.fc2 { bottom: 96px; right: -16px; animation-delay: -2.6s; }
.float-card.fc2 .fc-ico { background: var(--violet-tint); }
.float-card.fc3 {
  bottom: -22px; left: 40px; animation-delay: -1.3s;
}
.float-card.fc3 .fc-ico { background: var(--amber-tint); }
.hero-rating { display: flex; flex-direction: column; }
.hero-rating .stars { color: var(--amber); letter-spacing: 2px; font-size: .9rem; }

/* ----- Marquee / trust strip ------------------------------------------- */
.trust-band {
  background: var(--ink);
  padding: 22px 0;
  overflow: hidden;
}
.trust-track {
  display: flex; gap: 56px; align-items: center;
  white-space: nowrap;
  animation: marquee 34s linear infinite;
  width: max-content;
}
.trust-track .ti {
  display: inline-flex; align-items: center; gap: 11px;
  color: #aebccd; font-weight: 700; font-family: var(--font-head);
  font-size: 1rem; letter-spacing: -0.01em;
}
.trust-track .ti svg { color: var(--teal-bright); width: 19px; height: 19px; }
.trust-band:hover .trust-track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ----- Service cards ---------------------------------------------------- */
.svc-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); gap: 24px;
}
.svc-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 30px 28px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.svc-card::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px;
  background: var(--card-accent, var(--teal));
}
.svc-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.svc-ico {
  width: 62px; height: 62px; border-radius: 17px;
  display: grid; place-items: center; font-size: 28px;
  background: var(--card-tint, var(--teal-tint));
  margin-bottom: 18px;
}
.svc-card h3 { margin-bottom: 9px; }
.svc-card p { color: var(--text-muted); margin-bottom: 18px; font-size: .98rem; }
.svc-card .more {
  margin-top: auto; font-family: var(--font-head); font-weight: 700;
  color: var(--card-link, var(--teal-deep));
  display: inline-flex; align-items: center; gap: 7px; font-size: .95rem;
}
.svc-card .more svg { width: 16px; height: 16px; transition: transform .18s; }
.svc-card:hover .more svg { transform: translateX(4px); }

.t-teal   { --card-accent: var(--teal);   --card-tint: var(--teal-tint);   --card-link: var(--teal-deep);   }
.t-violet { --card-accent: var(--violet); --card-tint: var(--violet-tint); --card-link: var(--violet-deep); }
.t-sky    { --card-accent: var(--sky);    --card-tint: var(--sky-tint);    --card-link: var(--sky-deep);    }
.t-lime   { --card-accent: var(--lime);   --card-tint: var(--lime-tint);   --card-link: var(--lime-deep);   }
.t-coral  { --card-accent: var(--coral);  --card-tint: var(--coral-tint);  --card-link: var(--coral-deep);  }
.t-amber  { --card-accent: var(--amber);  --card-tint: var(--amber-tint);  --card-link: var(--amber-deep);  }

/* ----- Feature / two-column -------------------------------------------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.split.flip .split-visual { order: -1; }
.media-frame {
  position: relative; border-radius: var(--radius-lg);
  background: var(--grad-night);
  aspect-ratio: 4 / 3.4; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.media-frame .glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 24% 26%, rgba(25,216,196,.4), transparent 46%),
    radial-gradient(circle at 84% 80%, rgba(255,176,32,.32), transparent 50%);
}
.media-frame .fig { position: absolute; inset: 0; display: grid; place-items: center; }
.media-frame .fig svg { width: 72%; }
.media-stat {
  position: absolute; bottom: 20px; left: 20px;
  background: #fff; border-radius: 16px; padding: 14px 18px;
  box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 13px;
}
.media-stat .ms-num {
  font-family: var(--font-head); font-weight: 800; font-size: 1.7rem;
  color: var(--teal-deep);
}
.media-stat .ms-lbl { font-size: .82rem; color: var(--text-muted); line-height: 1.35; }

/* ----- Tick list -------------------------------------------------------- */
.tick-list { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 13px; }
.tick-list li {
  position: relative; padding-left: 38px; color: var(--text);
  font-weight: 500;
}
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: 1px;
  width: 25px; height: 25px; border-radius: 8px;
  background: var(--teal-tint);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230A887B' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}
.tick-list.cols { grid-template-columns: 1fr 1fr; gap: 13px 28px; }

/* ----- Steps ------------------------------------------------------------ */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.step {
  position: relative;
  background: #fff; border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg); padding: 30px 26px;
  box-shadow: var(--shadow-xs);
  transition: transform .2s ease, box-shadow .2s ease;
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.step .num {
  width: 50px; height: 50px; border-radius: 15px;
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; font-size: 1.2rem;
  color: #fff; margin-bottom: 16px;
}
.step:nth-child(1) .num { background: linear-gradient(135deg, var(--teal),  var(--teal-bright)); }
.step:nth-child(2) .num { background: linear-gradient(135deg, var(--sky),   #5CC6F5); }
.step:nth-child(3) .num { background: linear-gradient(135deg, var(--violet),#9D85FF); }
.step:nth-child(4) .num { background: linear-gradient(135deg, var(--lime),  #54D697); }
.step h4 { margin-bottom: 6px; }
.step p { margin: 0; color: var(--text-muted); font-size: .95rem; }
.step .line {
  position: absolute; top: 54px; right: -13px; width: 26px; height: 2px;
  background: var(--line); z-index: 1;
}
.step:last-child .line { display: none; }

/* ----- Audience pills --------------------------------------------------- */
.audience {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(214px, 1fr)); gap: 16px;
}
.aud-item {
  background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 20px 18px; display: flex; gap: 14px; align-items: center;
  transition: transform .18s ease, box-shadow .18s ease;
}
.aud-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.aud-item .ai-ico {
  width: 46px; height: 46px; border-radius: 13px; flex: none;
  display: grid; place-items: center; font-size: 21px;
}
.aud-item span { font-weight: 700; color: var(--ink); font-size: .98rem; font-family: var(--font-head); }

/* ----- Stats band ------------------------------------------------------- */
.stat-band {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.stat {
  text-align: center; padding: 16px;
}
.stat .sv {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(2.2rem, 3vw, 3.1rem); line-height: 1;
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.bg-night .stat .sv {
  background: linear-gradient(120deg, var(--teal-bright), #6FD0FB);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat .sl { margin-top: 10px; font-weight: 600; color: var(--text-muted); font-size: .96rem; }
.bg-night .stat .sl { color: #9fb1c4; }

/* ----- Quote ------------------------------------------------------------ */
.quote-card {
  background: #fff; border-radius: var(--radius-lg);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow);
  padding: 46px 48px;
  position: relative; overflow: hidden;
}
.quote-card::before {
  content: "\201C";
  position: absolute; top: -34px; left: 26px;
  font-family: Georgia, serif; font-size: 170px; line-height: 1;
  color: var(--teal-tint);
}
.quote-card blockquote {
  margin: 0; font-family: var(--font-head); font-weight: 600;
  font-size: 1.4rem; line-height: 1.5; color: var(--ink);
  position: relative;
}
.quote-card .qa {
  margin-top: 22px; display: flex; align-items: center; gap: 14px;
}
.quote-card .qa .av {
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--grad-brand); color: #fff;
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 800;
}
.quote-card .qa b { color: var(--ink); font-family: var(--font-head); }
.quote-card .qa span { display: block; color: var(--text-muted); font-size: .9rem; }

/* ----- CTA band --------------------------------------------------------- */
.cta-band {
  position: relative;
  border-radius: var(--radius-xl);
  background: var(--grad-night);
  padding: 64px 60px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; flex-wrap: wrap; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(440px 320px at 92% 8%, rgba(124,92,252,.4), transparent 64%),
    radial-gradient(440px 320px at 4% 96%, rgba(25,216,196,.32), transparent 64%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin: 0 0 10px; }
.cta-band p  { color: #c3d2e2; margin: 0; max-width: 540px; }
.cta-band .actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ----- Page header ------------------------------------------------------ */
.page-hero {
  position: relative;
  padding: 64px 0 70px;
  background:
    radial-gradient(680px 360px at 88% -10%, rgba(124,92,252,.16), transparent 64%),
    radial-gradient(620px 360px at 4% 110%, rgba(15,185,169,.13), transparent 62%),
    linear-gradient(180deg, #FBFDFE, #F1F9F8);
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
}
.crumbs {
  font-size: .86rem; color: var(--text-muted); margin-bottom: 16px;
  display: flex; gap: 8px; align-items: center;
}
.crumbs a { color: var(--text-muted); font-weight: 600; }
.crumbs a:hover { color: var(--teal-deep); }
.crumbs .sep { color: var(--line); }
.page-hero h1 { max-width: 14ch; }
.page-hero p.lead { max-width: 620px; }

/* ----- Service detail layout ------------------------------------------- */
.detail-grid { display: grid; grid-template-columns: 1.45fr .85fr; gap: 52px; align-items: start; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose > p { color: var(--text); }
.aside-card {
  background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  padding: 30px 28px; box-shadow: var(--shadow-sm);
  position: sticky; top: calc(var(--header-h) + 20px);
}
.aside-card.tealcap { border-top: 5px solid var(--teal); }
.aside-card h4 { margin-top: 0; }
.aside-card .btn { width: 100%; margin-top: 11px; }
.aside-card .divider { height: 1px; background: var(--line-soft); margin: 22px 0; }
.aside-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 13px; }
.aside-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .95rem; }
.aside-list .li-ico {
  width: 36px; height: 36px; border-radius: 10px; flex: none;
  background: var(--teal-tint); color: var(--teal-deep);
  display: grid; place-items: center;
}
.aside-list b { color: var(--ink); font-family: var(--font-head); display: block; font-size: .96rem; }
.aside-list span { color: var(--text-muted); }
.aside-list.compact li { align-items: center; }
.aside-list.compact .li-ico { width: 34px; height: 34px; font-size: 15px; }
.aside-list.compact b { font-size: .92rem; }

/* Info chips */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: #fff; border: 1px solid var(--line);
  padding: 8px 14px; border-radius: 999px;
  font-weight: 700; font-size: .85rem; color: var(--ink); font-family: var(--font-head);
}
.chip .d { width: 8px; height: 8px; border-radius: 50%; }
.chip .d.teal { background: var(--teal); }
.chip .d.violet { background: var(--violet); }
.chip .d.sky { background: var(--sky); }
.chip .d.lime { background: var(--lime); }
.chip .d.amber { background: var(--amber); }

/* Callout */
.callout {
  background: var(--mint); border: 1px solid var(--teal-tint-2);
  border-left: 5px solid var(--teal);
  border-radius: var(--radius); padding: 22px 24px; margin: 26px 0;
}
.callout h4 { margin: 0 0 6px; color: var(--teal-ink); }
.callout p { margin: 0; color: var(--text); }

/* ----- FAQ -------------------------------------------------------------- */
.faq details {
  background: #fff; border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 4px 24px; margin-bottom: 14px;
  transition: box-shadow .18s, border-color .18s;
}
.faq details[open] { box-shadow: var(--shadow-sm); border-color: var(--teal-tint-2); }
.faq summary {
  cursor: pointer; font-family: var(--font-head); font-weight: 700; color: var(--ink);
  list-style: none; padding: 18px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .qmark {
  width: 28px; height: 28px; border-radius: 8px; flex: none;
  background: var(--teal-tint); color: var(--teal-deep);
  display: grid; place-items: center; font-size: 1.2rem; font-weight: 700;
  transition: transform .2s, background .2s, color .2s;
}
.faq details[open] summary .qmark { transform: rotate(45deg); background: var(--teal); color: #fff; }
.faq p { margin: 0 0 18px; color: var(--text-muted); }

/* ----- Forms ------------------------------------------------------------ */
.form-card {
  background: #fff; border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg); padding: 40px;
  box-shadow: var(--shadow);
}
.form-card .form-title { margin-top: 0; }
.form-section-label {
  font-family: var(--font-head); font-weight: 800; color: var(--ink);
  font-size: .82rem; letter-spacing: .1em; text-transform: uppercase;
  margin: 30px 0 14px; display: flex; align-items: center; gap: 10px;
}
.form-section-label:first-of-type { margin-top: 0; }
.form-section-label::after { content: ""; flex: 1; height: 1px; background: var(--line-soft); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-weight: 700; color: var(--ink); font-size: .9rem; font-family: var(--font-head); }
.field .req { color: var(--coral-deep); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--mist); font-family: inherit; font-size: 1rem; color: var(--ink);
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; background: #fff;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(15,185,169,.16);
}
.field textarea { min-height: 128px; resize: vertical; }
.field.error input, .field.error select, .field.error textarea {
  border-color: var(--danger); background: #FEF3F3;
}
.error-msg { color: var(--danger); font-size: .85rem; font-weight: 600; }
.field input[type="file"] { padding: 10px 12px; background: #fff; }
.checkbox {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--mist); border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); padding: 15px 16px;
}
.checkbox.error { border-color: var(--danger); background: #FEF3F3; }
.checkbox input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--teal-deep); flex: none; }
.checkbox label { font-weight: 500; color: var(--text); font-size: .93rem; line-height: 1.55; }
.help-text { color: var(--text-muted); font-size: .85rem; }

/* Adaptive form: option-card groups (multi-checkbox) */
.opt-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px; margin: 6px 0 14px;
}
.opt {
  display: flex; gap: 10px; align-items: center;
  padding: 11px 14px; border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); background: var(--mist);
  cursor: pointer; font-weight: 500; font-size: .95rem;
  transition: background .15s, border-color .15s, color .15s;
  user-select: none;
}
.opt:hover { border-color: var(--teal-tint-2); }
.opt input { width: 18px; height: 18px; accent-color: var(--teal-deep); flex: none; }
.opt:has(input:checked) { border-color: var(--teal); background: var(--teal-tint); color: var(--teal-ink); }
.opt-group-label {
  display: block; font-weight: 700; color: var(--ink); font-family: var(--font-head);
  font-size: .9rem; margin: 18px 0 8px;
}
.opt-group-label .req { color: var(--coral-deep); }

/* Adaptive form: data-show-for sections (hidden until JS activates;
   default-context blocks are visible at page load) */
[data-show-for] { display: none; }
[data-show-for~="default"] { display: block; }

.alert {
  padding: 15px 18px; border-radius: var(--radius-sm);
  margin-bottom: 22px; font-weight: 600; display: flex; gap: 11px; align-items: flex-start;
}
.alert.warn { background: var(--amber-tint); border: 1px solid #F3D08A; color: #7A5305; }
.alert.success { background: var(--lime-tint); border: 1px solid #A8E3C4; color: #14653C; }
.alert.error { background: var(--coral-tint); border: 1px solid #F4A8A0; color: #8A1B1B; }

/* Honeypot: visually + AT-hidden, but still present in the DOM so bots fill it. */
.hp-wrap {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* ----- Form contact rail ----------------------------------------------- */
.contact-rail { display: grid; gap: 14px; }
.contact-row {
  display: flex; gap: 14px; align-items: flex-start;
}
.contact-row .cr-ico {
  width: 44px; height: 44px; border-radius: 12px; flex: none;
  display: grid; place-items: center;
  background: var(--teal-tint); color: var(--teal-deep);
}
.contact-row b { font-family: var(--font-head); color: var(--ink); display: block; font-size: .96rem; }
.contact-row a, .contact-row span { color: var(--text-muted); font-size: .95rem; }
.contact-row a:hover { color: var(--teal-deep); }

/* ----- Footer ----------------------------------------------------------- */
.site-footer { background: var(--night); color: #9fb1c4; }
.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: 48px; padding: 72px 0 44px;
}
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: var(--teal-bright); }
.footer-brand .brand-mark { color: #fff; }
.footer-blurb { margin: 18px 0 20px; color: #93a4b8; max-width: 320px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 11px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  display: grid; place-items: center; color: #b9c7d6;
}
.footer-social a:hover { background: var(--teal); color: #fff; border-color: var(--teal); }
.footer-col h4 {
  color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer-col a { color: #9fb1c4; font-size: .95rem; }
.footer-col a:hover { color: var(--teal-bright); }
.foot-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.foot-contact li { display: flex; gap: 11px; align-items: flex-start; font-size: .93rem; line-height: 1.5; }
.foot-contact svg { color: var(--teal-bright); flex: none; margin-top: 3px; }
.foot-contact a { color: #9fb1c4; }
.foot-contact a:hover { color: var(--teal-bright); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 22px 0;
}
.footer-bottom-inner {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: .86rem; color: #7e90a4;
}
.footer-bottom a { color: #7e90a4; }
.footer-bottom a:hover { color: var(--teal-bright); }

/* ----- 404 -------------------------------------------------------------- */
.notfound { text-align: center; padding: 130px 0; }
.notfound .big {
  font-family: var(--font-head); font-weight: 800; font-size: clamp(5rem, 16vw, 9rem);
  line-height: 1; background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* ----- Responsive ------------------------------------------------------- */
@media (max-width: 1040px) {
  section { padding: 76px 0; }
  .hero { padding: 68px 0 84px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 440px; margin: 0 auto; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.flip .split-visual { order: 0; }
  .detail-grid { grid-template-columns: 1fr; gap: 36px; }
  .aside-card { position: static; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step .line { display: none; }
  .stat-band { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .footer-top { grid-template-columns: 1.5fr 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 780px) {
  :root { --header-h: 68px; }
  .brand-mark svg { height: 38px; }
  .brand-name { font-size: .98rem; }
  .brand-sub { font-size: .68rem; }

  .header-mobile-cta { display: flex; }
  .btn-mobile-refer {
    display: inline-flex; padding: 9px 14px; font-size: .82rem;
    letter-spacing: .02em; border-radius: 10px;
  }
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: absolute; top: calc(var(--header-h) + 6px); right: 14px; left: 14px;
    background: #fff; border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 0 14px; max-height: 0; overflow: hidden; opacity: 0;
    transition: max-height .28s ease, opacity .18s ease, padding .28s ease;
  }
  .primary-nav.open {
    max-height: calc(100vh - var(--header-h) - 28px);
    overflow-y: auto; opacity: 1; padding: 14px;
  }
  .primary-nav > ul { flex-direction: column; align-items: stretch; gap: 2px; width: 100%; }
  .primary-nav > ul > li > a { padding: 14px; border-radius: 10px; font-size: .82rem; }
  .primary-nav > ul > li > a::after { display: none; }
  .primary-nav > ul > li > a.active { background: var(--teal-tint); color: var(--teal-ink); }
  .submenu {
    position: static; box-shadow: none; border: 0; padding: 2px 0 6px 12px;
    opacity: 1; visibility: visible; transform: none; min-width: 0; display: none;
  }
  .has-submenu.open .submenu { display: block; }
  .submenu a { padding: 10px; }
  .nav-cta {
    flex-direction: column; align-items: stretch; gap: 8px;
    padding-top: 14px; margin-top: 8px; border-top: 1px solid var(--line-soft);
  }
  .nav-cta .btn, .nav-cta .nav-phone { justify-content: center; }
  .nav-cta .nav-phone { padding: 12px; }

  section { padding: 64px 0; }
  .hero { padding: 48px 0 68px; }
  .hero h1 { margin: 16px 0 14px; }
  .section-head { margin-bottom: 40px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 24px; }
  .tick-list.cols { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stat-band { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .cta-band { padding: 40px 26px; flex-direction: column; align-items: flex-start; }
  .cta-band .actions { width: 100%; }
  .quote-card { padding: 32px 24px; }
  .quote-card blockquote { font-size: 1.18rem; }

  /* Float cards stay within the stage so nothing clips on phones */
  .float-card.fc1 { top: 14px; left: 4px; }
  .float-card.fc2 { bottom: 78px; right: 4px; }
  .float-card.fc3 { bottom: -14px; left: 14px; }

  /* Footer: brand + contact full width, link columns paired */
  .footer-top { grid-template-columns: 1fr 1fr; gap: 30px 28px; padding: 48px 0 28px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col:last-child { grid-column: 1 / -1; }
  .footer-blurb { max-width: 440px; }
  .footer-social a { width: 44px; height: 44px; }
  .footer-bottom-inner { justify-content: center; text-align: center; }
}

/* Narrow phones: drop the brand sub-line so the header fits brand + Refer + hamburger */
@media (max-width: 420px) {
  .brand-sub { display: none; }
  .brand-name { font-size: .96rem; }
  .btn-mobile-refer { padding: 8px 12px; font-size: .78rem; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .container { padding: 0 18px; }
  section { padding: 54px 0; }
  .hero { padding: 36px 0 56px; }
  .page-hero { padding: 44px 0 50px; }
  .section-head { margin-bottom: 32px; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { width: 100%; }
  .cta-band .actions .btn { width: 100%; }
  .hero-meta { gap: 14px 20px; }
  .hero-meta .m b { font-size: 1.5rem; }
  .stat-band { grid-template-columns: 1fr 1fr; gap: 20px; }
  .svc-card { padding: 26px 22px 24px; }
  .form-card { padding: 20px; }
  .quote-card { padding: 26px 20px; }
  .cta-band { padding: 32px 22px; }
  .float-card { padding: 11px 13px; }
  .float-card .fc-ico { width: 38px; height: 38px; font-size: 18px; }
  .float-card h5 { font-size: .88rem; }
  .footer-top { grid-template-columns: 1fr; gap: 26px; }
  .footer-col:last-child { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
