/* ============================================================
   Frankel & Associates — "Blue Harbor" tech design system
   Navy + gold, serif display, lighthouse hero, Harbor assistant.
   No dependencies. One file for the whole site.
   ============================================================ */

/* ---------------- tokens ---------------- */
:root {
  --navy-950: #050d1c;
  --navy-900: #07162b;
  --navy-850: #0a1b33;
  --navy-800: #0d2344;
  --navy-700: #123059;
  --panel: #0c2140;
  --panel-2: #10294e;

  --ice-050: #f4f7fc;
  --ice-100: #e8eef8;
  --paper: #ffffff;

  --ink: #12233c;
  --muted: #51637f;
  --line: #dbe4f0;
  --line-dark: rgba(124, 196, 245, 0.14);

  --gold-400: #f6be3f;
  --gold-500: #efaf26;
  --gold-600: #d1930e;
  --gold-ink: #132441;

  --steel-500: #2f6fb2;
  --steel-600: #275e98;
  --cyan: #7cc4f5;
  --signal-600: #c62828;

  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;

  --shadow-1: 0 1px 2px rgba(10, 27, 51, 0.06), 0 4px 14px -6px rgba(10, 27, 51, 0.12);
  --shadow-2: 0 2px 6px rgba(10, 27, 51, 0.07), 0 18px 40px -18px rgba(10, 27, 51, 0.28);
  --shadow-gold: 0 2px 8px rgba(239, 175, 38, 0.25), 0 10px 26px -10px rgba(239, 175, 38, 0.5);

  --ease-spring: cubic-bezier(0.34, 1.4, 0.4, 1);

  /* dark-section helpers */
  --grid-line: rgba(124, 196, 245, 0.045);
}

/* ---------------- reset / base ---------------- */
*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: inline-block; }
[hidden] { display: none !important; }
a { color: var(--steel-600); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: inherit; }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 2px; border-radius: 4px; }
::selection { background: rgba(239, 175, 38, 0.3); }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--navy-850); color: #fff; padding: 10px 18px; border-radius: 8px;
  transition: top 0.15s ease;
}
.skip:focus { top: 12px; }

/* ---------------- typography ---------------- */
h1, h2 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.14;
  color: var(--navy-850);
  letter-spacing: -0.01em;
  margin: 0 0 18px;
}
h1 { font-size: clamp(34px, 5.4vw, 58px); }
h2 { font-size: clamp(26px, 3.4vw, 38px); }
h3 { font-size: 18px; font-weight: 700; color: var(--navy-850); margin: 0 0 10px; line-height: 1.3; }
h4 { font-size: 15.5px; font-weight: 700; color: var(--navy-850); margin: 0 0 10px; }
p { margin: 0 0 16px; }
.lead { font-size: 18px; color: var(--muted); }
.tm { font-size: 0.55em; vertical-align: super; }

.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin: 0 0 14px;
}
.eyebrow-light { color: var(--gold-400); }

/* section heading kit (centered, gold tick under) */
.sec-head { text-align: center; max-width: 720px; margin: 0 auto clamp(30px, 4vw, 48px); }
.sec-head h2 { margin-bottom: 10px; }
.sec-head .tick {
  display: block; width: 64px; height: 3px; margin: 14px auto 14px;
  background: linear-gradient(90deg, var(--gold-400), var(--gold-600));
  border-radius: 2px;
}
.sec-head p { color: var(--muted); margin: 0; }

/* ---------------- layout ---------------- */
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.wrap-narrow { max-width: 780px; }
.sec { padding: clamp(56px, 7.5vw, 104px) 0; }
.sec-ice { background: var(--ice-050); }
.horizon {
  height: 1px; border: 0; margin: 0;
  background: linear-gradient(90deg, transparent, rgba(209, 147, 14, 0.4) 30%, rgba(47, 111, 178, 0.35) 70%, transparent);
}

/* dark section base — navy + faint tech grid + glow */
.sec-dark {
  background:
    radial-gradient(80% 110% at 88% 108%, rgba(47, 111, 178, 0.22), transparent 58%),
    radial-gradient(60% 90% at 4% -10%, rgba(124, 196, 245, 0.1), transparent 55%),
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
    linear-gradient(180deg, var(--navy-900), var(--navy-850));
  background-size: auto, auto, 44px 44px, 44px 44px, auto;
  color: var(--ice-100);
}
.sec-dark h2, .sec-dark h3 { color: #fff; }
.sec-dark p { color: #b9c9e2; }
.sec-dark .sec-head p { color: #b9c9e2; }

/* ---------------- buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-sans); font-size: 12.5px; font-weight: 800;
  letter-spacing: 0.09em; text-transform: uppercase;
  padding: 15px 24px; border-radius: 10px; border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none; line-height: 1;
  transition: transform 0.18s var(--ease-spring), background-color 0.16s ease,
    border-color 0.16s ease, box-shadow 0.16s ease, color 0.16s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn .arr { transition: transform 0.18s var(--ease-spring); }
.btn:hover .arr { transform: translateX(3px); }

/* primary — harbor gold */
.btn-tide { background: linear-gradient(180deg, var(--gold-400), var(--gold-500)); color: var(--gold-ink); box-shadow: var(--shadow-gold); }
.btn-tide:hover { background: linear-gradient(180deg, var(--gold-500), var(--gold-600)); color: var(--gold-ink); }

/* secondary — steel blue (Ask Harbor) */
.btn-harbor { background: var(--steel-500); color: #fff; box-shadow: 0 2px 8px rgba(47, 111, 178, 0.35), 0 12px 26px -12px rgba(47, 111, 178, 0.6); }
.btn-harbor:hover { background: var(--steel-600); color: #fff; }

.btn-ghost-light { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.55); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.1); color: #fff; }
.btn-ghost-navy { border-color: var(--navy-800); color: var(--navy-850); background: transparent; }
.btn-ghost-navy:hover { background: var(--navy-850); color: #fff; }

.btn-sm { padding: 11px 18px; font-size: 11.5px; }
.btn-lg { padding: 17px 30px; font-size: 13px; }
.btn-block { width: 100%; }

/* ---------------- header ---------------- */
.hdr {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.hdr.stuck { box-shadow: 0 6px 24px -12px rgba(10, 27, 51, 0.25); }
.hdr-in { display: flex; align-items: center; gap: 26px; min-height: 76px; position: relative; }
.nav .has-mega { position: static; }
.brand { flex: 0 0 auto; display: inline-flex; align-items: center; }
.brand img { width: auto; height: 46px; }

.hdr nav { margin-inline: auto; }
.nav { display: flex; list-style: none; margin: 0; padding: 0; gap: 4px; }
.nav > li { position: relative; }
.nav .top {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--ink);
  padding: 27px 13px;
}
.nav .top:hover { color: var(--steel-600); text-decoration: none; }
.nav .top[aria-current='page'] { color: var(--steel-600); }
.caret {
  width: 7px; height: 7px; border-right: 1.7px solid currentColor; border-bottom: 1.7px solid currentColor;
  transform: rotate(45deg) translateY(-2px); opacity: 0.55;
}

/* dropdown + mega */
.drop, .mega {
  position: absolute; top: 100%; left: 50%; transform: translate(-50%, 8px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--shadow-2); padding: 14px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.16s ease, transform 0.2s var(--ease-spring), visibility 0.16s;
}
.nav li:hover > .drop, .nav li:focus-within > .drop,
.nav li:hover > .mega, .nav li:focus-within > .mega {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0);
}
.drop { min-width: 250px; }
.drop a {
  display: block; padding: 9px 12px; border-radius: 8px;
  font-size: 14px; font-weight: 500; color: var(--ink); white-space: nowrap;
}
.drop a:hover { background: var(--ice-050); color: var(--steel-600); text-decoration: none; }

.mega { display: grid; grid-template-columns: repeat(4, minmax(190px, 1fr)); gap: 8px; padding: 22px; width: min(960px, calc(100vw - 48px)); }
.mega-col .mc-title {
  display: block; font-size: 13.5px; font-weight: 800; color: var(--navy-850);
  padding-bottom: 8px; margin-bottom: 8px; border-bottom: 2px solid var(--gold-400);
}
.mega-col .mc-title:hover { color: var(--steel-600); text-decoration: none; }
.mega-col ul { list-style: none; margin: 0; padding: 0; }
.mega-col li a { display: block; font-size: 13.5px; color: var(--muted); padding: 6px 0; }
.mega-col li a:hover { color: var(--steel-600); text-decoration: none; padding-left: 4px; transition: padding-left 0.15s var(--ease-spring); }

.hdr-cta { display: flex; align-items: center; gap: 18px; flex: 0 0 auto; }
.hdr-tel { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--navy-850); white-space: nowrap; }
.hdr-tel:hover { color: var(--steel-600); text-decoration: none; }
.hdr-tel svg { color: var(--gold-600); }

/* burger + mobile nav */
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 10px; cursor: pointer; }
.burger span { width: 24px; height: 2.5px; background: var(--navy-850); border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }
.burger[aria-expanded='true'] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* NOTE: .hdr's backdrop-filter makes it the containing block for fixed
   descendants — use absolute positioning under the sticky header instead. */
.m-nav {
  display: none; position: absolute; top: 100%; left: 0; right: 0;
  height: calc(100vh - 77px); z-index: 99;
  background: #fff; overflow-y: auto; padding: 18px 22px 40px;
}
.m-nav.open { display: block; }
.m-nav > a, .m-nav summary {
  display: block; padding: 13px 4px; font-size: 16px; font-weight: 600; color: var(--ink);
  border-bottom: 1px solid var(--ice-100); cursor: pointer;
}
.m-nav details div a { display: block; padding: 10px 16px; font-size: 14.5px; color: var(--muted); }
.m-group { margin: 20px 4px 4px; font-size: 11.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-600); }
.m-cta { display: grid; gap: 12px; margin-top: 24px; }

/* ---------------- hero ---------------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 55%, var(--navy-850) 100%);
  color: #fff;
}
.hero .sky { position: absolute; inset: 0; width: 100%; height: 100%; }

/* real brokerage photo (same hero image as frankelinsurance.com) behind a
   navy wash that keeps the left-side copy readable */
.hero-photo { position: absolute; inset: 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 38%; }
.hero-photo::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 13, 28, 0.94) 0%, rgba(6, 17, 34, 0.82) 34%, rgba(7, 22, 43, 0.55) 58%, rgba(7, 22, 43, 0.3) 100%),
    linear-gradient(0deg, rgba(5, 13, 28, 0.85) 0%, rgba(5, 13, 28, 0.12) 26%, rgba(5, 13, 28, 0) 45%);
}
.hero-photo::before {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2.5px; z-index: 1;
  background: linear-gradient(90deg, transparent, rgba(239, 175, 38, 0.75) 55%, rgba(124, 196, 245, 0.4) 85%, transparent);
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  align-items: center; gap: 30px;
  /* full-bleed photo hero, sized like the original site */
  min-height: clamp(560px, 82vh, 900px);
  padding: clamp(48px, 6vw, 84px) 0 clamp(48px, 6vw, 80px);
}
.hero-copy { max-width: 620px; }
.hero h1 { color: #fff; font-size: clamp(38px, 5.8vw, 64px); margin-bottom: 14px; }
.hero-org { color: #fff; font-weight: 700; font-size: clamp(18px, 2vw, 22px); margin: 0 0 6px; letter-spacing: .2px; }
.hero-tag { color: #dbe6f5; font-size: clamp(15px, 1.55vw, 17px); max-width: 54ch; margin: 0 0 20px; }
.hero-sub { font-size: clamp(16px, 1.6vw, 18.5px); color: #c5d5ec; max-width: 46ch; margin-bottom: 30px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 13px; }

/* Harbor intro card (floats over the scene) — neon "chat seal" edition:
   dark glass, cyan→gold gradient border, circuit trim, glowing copy. */
.hero-bot {
  /* Guru's intro card IS the site-wide chat launcher (the widget's own
     pill is hidden). Fixed bottom-right on every page, just below the
     widget's z-index so the open chat panel covers it. */
  position: fixed; right: 24px; bottom: 24px; z-index: 2147482000;
  cursor: pointer;
  display: flex; align-items: center; gap: 18px;
  background:
    radial-gradient(130% 160% at 8% 0%, rgba(47, 111, 178, 0.32), transparent 55%),
    linear-gradient(160deg, rgba(10, 24, 47, 0.95), rgba(5, 13, 28, 0.97));
  border-radius: 20px; padding: 18px 24px;
  max-width: 430px;
  isolation: isolate; overflow: hidden;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow:
    0 24px 60px -18px rgba(3, 10, 24, 0.75),
    0 0 34px -6px rgba(124, 196, 245, 0.28),
    0 0 26px -8px rgba(246, 190, 63, 0.2);
}
.hero-bot::before {
  /* neon gradient border (mask trick keeps the middle hollow) */
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px;
  background: linear-gradient(115deg, rgba(124, 196, 245, 0.95), rgba(47, 111, 178, 0.45) 42%, rgba(246, 190, 63, 0.9));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}
.hero-bot > * { position: relative; z-index: 1; }
.hb-circuit { position: absolute; z-index: 0; pointer-events: none; }
.hb-circuit-tl { top: 0; left: 0; }
.hb-circuit-br { right: 0; bottom: 0; }
.hero-bot .bot-badge {
  flex: 0 0 106px; width: 106px; height: 106px;
  filter: drop-shadow(0 0 16px rgba(124, 196, 245, 0.3));
}
/* Guru hover: the owl lifts and tilts, the orbit spins up, the glow blooms,
   and the right eye winks. Triggered from the hero card or the Meet-Guru
   panel (the whole card is the hover target, not just the SVG). */
.bot-badge { transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.45s ease; }
.hero-bot:hover .bot-badge,
.harbor-panel:hover .bot-badge {
  transform: translateY(-5px) rotate(-4deg) scale(1.05);
  filter: drop-shadow(0 0 26px rgba(124, 196, 245, 0.55)) drop-shadow(0 10px 22px rgba(246, 190, 63, 0.22));
}
.nb-dash { transform-box: fill-box; transform-origin: center; animation: nb-spin 30s linear infinite; }
.hero-bot:hover .nb-dash,
.harbor-panel:hover .nb-dash { animation-duration: 2.4s; }
.nb-eyes { transform-box: fill-box; transform-origin: center; animation: nb-blink 5.4s ease-in-out infinite; }
.nb-eye { transform-box: fill-box; transform-origin: center; }
.hero-bot:hover .nb-eye-r,
.harbor-panel:hover .nb-eye-r { animation: nb-wink 0.9s ease-in-out 0.12s 1; }
.nb-orb { animation: nb-pulse 2.6s ease-in-out infinite; }
.hero-bot:hover .nb-orb,
.harbor-panel:hover .nb-orb { animation-duration: 0.8s; }
@keyframes nb-spin { to { transform: rotate(360deg); } }
@keyframes nb-blink { 0%, 91%, 100% { transform: scaleY(1); } 94.5% { transform: scaleY(0.1); } 98% { transform: scaleY(1); } }
@keyframes nb-pulse { 0%, 100% { opacity: 0.6; } 50% { opacity: 1; } }
@keyframes nb-wink { 0%, 100% { transform: scaleY(1); } 35%, 65% { transform: scaleY(0.12); } }
.hero-bot-h { font-family: var(--font-serif); font-weight: 700; font-size: 19px; color: #edf6ff; margin: 0 0 2px; text-shadow: 0 0 16px rgba(124, 196, 245, 0.55); }
.hero-bot-p { font-size: 13px; color: #a9c3e4; margin: 0 0 12px; line-height: 1.45; }
.btn-chat {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(7, 18, 37, 0.72); color: #eaf4ff; border: 0; cursor: pointer;
  font-size: 11px; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase;
  padding: 10px 16px; border-radius: 999px;
  box-shadow:
    inset 0 0 0 1.5px rgba(124, 196, 245, 0.6),
    0 0 18px -6px rgba(124, 196, 245, 0.55);
  text-shadow: 0 0 10px rgba(124, 196, 245, 0.5);
  transition: box-shadow 0.2s ease, color 0.15s ease, transform 0.18s var(--ease-spring);
}
.btn-chat:hover {
  transform: translateY(-1px); color: #fff;
  box-shadow:
    inset 0 0 0 1.5px rgba(246, 190, 63, 0.85),
    0 0 22px -5px rgba(246, 190, 63, 0.6);
}
.btn-chat .plus { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--gold-500); color: var(--gold-ink); box-shadow: 0 0 12px rgba(246, 190, 63, 0.55); }

/* ---------------- services strip (same card language as industries) ---- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.svc-grid .ind { min-height: 190px; }

/* ---------------- carriers marquee ---------------- */
.sec-carriers { padding: clamp(40px, 5vw, 64px) 0; background: var(--ice-050); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.car-head { text-align: center; max-width: 640px; margin: 0 auto 26px; }
.car-head h2 { font-size: clamp(20px, 2.2vw, 26px); margin-bottom: 8px; }
.car-head p { font-size: 14.5px; color: var(--muted); margin: 0; }
.marquee { overflow: hidden; position: relative; }
.marquee::before, .marquee::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--ice-050), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--ice-050), transparent); }
.mq-track { display: flex; align-items: center; gap: clamp(40px, 6vw, 84px); width: max-content; animation: mq 36s linear infinite; }
.mq-logo img { height: 40px; width: auto; opacity: 0.72; filter: grayscale(1) contrast(1.05); transition: opacity 0.2s ease, filter 0.2s ease; }
.mq-logo img:hover { opacity: 1; filter: none; }
@keyframes mq { to { transform: translateX(-50%); } }

/* ---------------- why / stats / harbor panel ---------------- */
.why-grid { display: grid; grid-template-columns: 1.1fr 0.8fr 1.05fr; gap: clamp(26px, 4vw, 48px); align-items: stretch; }
.why-copy h2 { margin-bottom: 6px; }
.why-copy .tick { display: block; width: 56px; height: 3px; background: linear-gradient(90deg, var(--gold-400), var(--gold-600)); border-radius: 2px; margin: 12px 0 24px; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; font-weight: 600; color: #dbe6f5; }
.checklist .chk {
  flex: 0 0 22px; width: 22px; height: 22px; margin-top: 1px;
  display: inline-grid; place-items: center; border-radius: 50%;
  background: linear-gradient(180deg, var(--gold-400), var(--gold-600)); color: var(--gold-ink);
}
.stat-stack { display: grid; gap: 14px; }
.stat {
  display: flex; align-items: center; gap: 16px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line-dark); border-radius: var(--r-md);
  padding: 18px 20px;
  backdrop-filter: blur(4px);
}
.stat-ic { flex: 0 0 44px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line-dark); color: var(--cyan); background: rgba(124, 196, 245, 0.06); }
.stat strong { display: block; font-family: var(--font-serif); font-size: 27px; font-weight: 700; color: var(--gold-400); line-height: 1.1; }
.stat span { font-size: 13px; color: #b9c9e2; }

.harbor-panel {
  position: relative; /* overflow stays visible so Harbor pops out of the card */
  background: linear-gradient(150deg, var(--panel-2), var(--panel) 65%);
  border: 1px solid var(--line-dark); border-radius: var(--r-lg);
  padding: clamp(22px, 2.6vw, 30px);
  display: flex; flex-direction: column; align-items: flex-start;
}
.harbor-panel::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(75% 100% at 100% 0%, rgba(47, 111, 178, 0.3), transparent 60%);
  pointer-events: none;
}
.harbor-panel > * { position: relative; z-index: 1; }
.harbor-panel h3 { font-family: var(--font-serif); font-size: 23px; margin-bottom: 4px; }
.harbor-kicker { font-size: 11.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); margin: 0 0 10px; }
.harbor-panel p { font-size: 13.5px; color: #b9c9e2; margin-bottom: 16px; }
/* Guru's owl seal sits under the copy, bottom-right, haloed + gently floating */
.harbor-panel .panel-badge {
  width: 158px; height: 158px;
  margin: auto -6px -10px auto;
  filter: drop-shadow(0 18px 34px rgba(3, 10, 24, 0.6));
  animation: hb-bob 4.5s ease-in-out infinite alternate;
}
/* the bob animation owns transform while it runs - drop it on hover so the
   shared owl hover lift can take over (transition smooths the handoff) */
.harbor-panel:hover .panel-badge { animation: none; }
.harbor-panel::after {
  content: ''; position: absolute; z-index: 0; bottom: -36px; right: -24px; width: 210px; height: 210px;
  border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(124, 196, 245, 0.22), rgba(124, 196, 245, 0.06) 55%, transparent 70%);
}
@keyframes hb-bob { from { transform: translateY(0); } to { transform: translateY(-9px); } }

.hb-arm-r { transform-box: fill-box; transform-origin: 50% 14%; }
.btn-chat-gold {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; border: 1.5px solid var(--gold-400); color: var(--gold-400); cursor: pointer;
  font-size: 11.5px; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase;
  padding: 12px 20px; border-radius: 999px;
  transition: background-color 0.15s ease, color 0.15s ease, transform 0.18s var(--ease-spring);
}
.btn-chat-gold:hover { background: var(--gold-400); color: var(--gold-ink); transform: translateY(-1px); }

/* ---------------- industries (compact strip - the original services look) */
.ind-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 38px; }
.svc-card {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 26px 16px 20px; color: var(--ink);
  transition: transform 0.2s var(--ease-spring), box-shadow 0.2s ease, border-color 0.2s ease;
}
.svc-card:hover { text-decoration: none; transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: rgba(47, 111, 178, 0.35); }
.svc-ic { color: var(--steel-500); margin-bottom: 14px; }
.svc-card h3 { font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px; }
.svc-card p { font-size: 12.5px; color: var(--muted); line-height: 1.5; margin-bottom: 14px; }
.svc-card .arr { margin-top: auto; color: var(--gold-600); transition: transform 0.18s var(--ease-spring); }
.svc-card:hover .arr { transform: translateX(4px); }
.ind {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center;
  min-height: 208px; padding: 30px 20px 26px; border-radius: var(--r-md); color: var(--ink);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-1);
  transition: border-color 0.16s ease, transform 0.2s var(--ease-spring), box-shadow 0.2s ease;
}
.ind::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold-400), var(--gold-600));
  transform: scaleX(0); transform-origin: left; transition: transform 0.25s ease;
}
.ind:hover { text-decoration: none; border-color: rgba(47, 111, 178, 0.35); transform: translateY(-5px); box-shadow: var(--shadow-2); }
.ind:hover::before { transform: scaleX(1); }
.ind-n {
  position: absolute; top: 12px; right: 16px;
  font-family: var(--font-serif); font-style: italic; font-size: 15px; font-weight: 600;
  color: var(--gold-600); opacity: 0.45; transition: opacity 0.2s ease;
}
.ind:hover .ind-n { opacity: 0.9; }
.ind-ic {
  display: grid; place-items: center; width: 66px; height: 66px; margin-bottom: 10px;
  border-radius: 18px; border: 1px solid var(--line);
  background: linear-gradient(160deg, #ffffff, var(--ice-050));
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.25s var(--ease-spring);
}
.ind-ic svg { width: 32px; height: 32px; color: var(--navy-800); transition: color 0.2s ease; }
.ind:hover .ind-ic {
  background: linear-gradient(160deg, var(--gold-400), var(--gold-500));
  border-color: var(--gold-500); transform: scale(1.06) rotate(-3deg);
}
.ind:hover .ind-ic svg { color: var(--gold-ink); }
.ind-t { font-size: 15px; font-weight: 800; line-height: 1.3; }
.ind-s { font-size: 12.5px; font-weight: 500; color: var(--muted); line-height: 1.4; }
.ind-go {
  display: inline-flex; margin-top: 8px; color: var(--gold-600);
  opacity: 0; transform: translateX(-6px);
  transition: opacity 0.2s ease, transform 0.22s var(--ease-spring);
}
.ind:hover .ind-go { opacity: 1; transform: translateX(0); }
.ind-cta { text-align: center; }

/* ---------------- testimonials ---------------- */
.tst-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tst-card {
  display: flex; flex-direction: column;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-dark); border-radius: var(--r-md);
  padding: 26px 24px;
  backdrop-filter: blur(4px);
}
.stars { display: flex; gap: 3px; color: var(--gold-400); margin-bottom: 14px; }
.tst-card blockquote { margin: 0 0 20px; font-size: 14.5px; line-height: 1.7; color: #dbe6f5; }
.tst-who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.tst-av {
  flex: 0 0 42px; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(160deg, var(--steel-500), var(--navy-700));
  color: #fff; font-size: 14px; font-weight: 800; letter-spacing: 0.02em;
}
.tst-who strong { display: block; font-size: 14px; color: #fff; }
.tst-who span { font-size: 12.5px; color: #9fb3d4; }
.tst-trust { align-items: center; text-align: center; justify-content: center; gap: 6px; }
.tst-trust img { max-width: 190px; background: #fff; padding: 10px 14px; border-radius: 10px; margin-bottom: 14px; }
.tst-trust p { font-size: 13.5px; color: #b9c9e2; margin: 0 0 12px; }
.tst-links { display: flex; gap: 16px; justify-content: center; }
.tst-links a { font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--cyan); }

/* ---------------- tagline band ---------------- */
.sec-tagline { background: var(--ice-050); text-align: center; padding: clamp(44px, 6vw, 72px) 0; border-top: 1px solid var(--line); }
.tagline { font-family: var(--font-serif); font-style: italic; font-weight: 600; font-size: clamp(21px, 3vw, 30px); color: var(--navy-850); margin: 0; }
.tl-break { display: block; }

/* ---------------- FAQ ---------------- */
.faq { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: #fff; box-shadow: var(--shadow-1); }
.faq-item + .faq-item { border-top: 1px solid var(--line); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%;
  background: none; border: 0; text-align: left; cursor: pointer;
  padding: 19px 22px; font-size: 15.5px; font-weight: 700; color: var(--navy-850);
}
.faq-q:hover { color: var(--steel-600); }
.faq-ic { position: relative; flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%; border: 1.6px solid var(--gold-600); }
.faq-ic::before, .faq-ic::after {
  content: ''; position: absolute; inset: 0; margin: auto; background: var(--gold-600);
  transition: transform 0.2s ease;
}
.faq-ic::before { width: 10px; height: 1.8px; }
.faq-ic::after { width: 1.8px; height: 10px; }
.faq-q[aria-expanded='true'] .faq-ic::after { transform: rotate(90deg) scaleY(0); }
.faq-a { padding: 0 22px 20px; }
.faq-a p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ---------------- find-a-policy / quote stepper ---------------- */
.sec-find { scroll-margin-top: 90px; }
.find-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(30px, 5vw, 64px); align-items: start; }
.find-copy h2 { color: #fff; }
.find-copy p { color: #b9c9e2; }
.find-copy-dark h2 { color: var(--navy-850); }
.find-copy-dark p { color: var(--muted); }
.find-alt { display: grid; gap: 10px; margin-top: 22px; justify-items: start; }
.find-alt a, .find-chat { display: inline-flex; align-items: center; gap: 10px; color: var(--gold-400); font-weight: 700; font-size: 15px; }
.find-chat { background: none; border: 0; padding: 0; font-family: inherit; cursor: pointer; text-align: left; }
.find-chat:hover { text-decoration: underline; }
.find-copy-dark .find-alt a { color: var(--steel-600); }

.find-form { background: #fff; border-radius: var(--r-lg); padding: clamp(22px, 3vw, 34px); box-shadow: 0 30px 80px -30px rgba(3, 10, 24, 0.7); }

/* step labels double as the progress bar: one segment per step,
   gold fills exactly the steps reached */
.qsf-steps { display: flex; gap: 10px; list-style: none; margin: 0 0 24px; padding: 0; }
.qsf-steps li {
  flex: 1; position: relative; padding-top: 11px;
  font-size: 11.5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  color: #9fb0c8; text-align: center;
}
.qsf-steps li::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  border-radius: 99px; background: var(--ice-100);
  transition: background-color 0.25s ease;
}
.qsf-steps li.on { color: var(--gold-600); }
.qsf-steps li.on::before { background: linear-gradient(90deg, var(--gold-400), var(--gold-600)); }
.qsf-step { border: 0; margin: 0; padding: 0; }
.qsf-q { font-family: var(--font-serif); font-size: 21px; font-weight: 700; color: var(--navy-850); margin-bottom: 18px; padding: 0; }
.qsf-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; }
.qsf-nav .btn:only-child { margin-left: auto; }
.qsf-hint { font-size: 12.5px; color: var(--muted); margin: 12px 0 0; text-align: right; }
.qsf-review dl { display: grid; grid-template-columns: auto 1fr; gap: 7px 18px; margin: 18px 0 0; padding: 16px 18px; background: var(--ice-050); border-radius: var(--r-sm); }
.qsf-review dt { font-size: 12px; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); }
.qsf-review dd { margin: 0; font-size: 14px; font-weight: 600; color: var(--ink); }
.qsf-done { text-align: center; padding: 30px 10px; }
.qsf-done-h { font-family: var(--font-serif); font-size: 24px; font-weight: 700; color: var(--navy-850); margin-bottom: 8px; }
.req-note { font-size: 12px; color: var(--muted); margin: 16px 0 0; }

/* fields */
.fld { display: block; margin-bottom: 14px; position: relative; }
.fld-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fld-lab { display: block; font-size: 13px; font-weight: 700; color: var(--navy-850); margin-bottom: 6px; }
.req { color: var(--signal-600); font-style: normal; }
.fld input, .fld select, .fld textarea,
.form-card input:not([type='submit']):not([type='checkbox']):not([type='radio']),
.form-card select, .form-card textarea {
  width: 100%; font-family: var(--font-sans); font-size: 15px; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  padding: 12px 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.fld select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 19px) 50%, calc(100% - 14px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 38px; }
.fld input:focus, .fld select:focus, .fld textarea:focus,
.form-card input:focus, .form-card select:focus, .form-card textarea:focus {
  outline: none; border-color: var(--steel-500); box-shadow: 0 0 0 3px rgba(47, 111, 178, 0.16);
}
.fld.err input, .fld.err select { border-color: var(--signal-600); }
.fld-msg { display: block; font-size: 12px; color: var(--signal-600); margin-top: 5px; }

/* ---------------- page hero (inner pages) ---------------- */
.phero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(180deg, var(--navy-950), var(--navy-850));
  padding: clamp(48px, 6vw, 84px) 0 clamp(40px, 5vw, 64px);
}
.phero .sky { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.9; }
.phero .wrap { position: relative; z-index: 2; }
.phero h1 { color: #fff; margin: 0; font-size: clamp(30px, 4.4vw, 46px); }
.phero-sub { color: #b9c9e2; margin: 12px 0 0; max-width: 62ch; }
.phero-slim { padding: clamp(38px, 5vw, 64px) 0 clamp(32px, 4vw, 48px); }
.crumbs { font-size: 12.5px; margin-bottom: 16px; color: #9fb3d4; }
.crumbs a { color: #c5d5ec; }
.crumbs a:hover { color: var(--gold-400); }
.crumbs [aria-current] { color: var(--gold-400); font-weight: 600; }
.c-sep { margin: 0 8px; opacity: 0.5; }

/* ---------------- coverage / kid / resource cards ---------------- */
.cov-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 26px; }
.cov-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 28px 24px; color: var(--ink); position: relative; overflow: hidden;
  transition: transform 0.2s var(--ease-spring), box-shadow 0.2s ease, border-color 0.2s ease;
}
.cov-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold-400), var(--gold-600));
  transform: scaleX(0); transform-origin: left; transition: transform 0.25s ease;
}
.cov-card:hover { text-decoration: none; transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: rgba(47, 111, 178, 0.35); }
.cov-card:hover::before { transform: scaleX(1); }
.cov-ic { display: inline-grid; place-items: center; width: 58px; height: 58px; border-radius: 14px; background: var(--ice-050); border: 1px solid var(--line); margin-bottom: 16px; }
.cov-card h3 { font-size: 16.5px; }
.cov-card p { font-size: 13.5px; color: var(--muted); }
.cov-more { display: inline-flex; align-items: center; gap: 7px; margin-top: auto; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-600); }
.cov-more .arr { transition: transform 0.18s var(--ease-spring); }
.cov-card:hover .cov-more .arr, .kid-card:hover .cov-more .arr, .res-card:hover .cov-more .arr { transform: translateX(4px); }

.kid-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 18px; }
.kid-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px 22px; color: var(--ink); transition: transform 0.2s var(--ease-spring), box-shadow 0.2s ease; }
.kid-card:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow-2); }
.kid-card p { font-size: 13.5px; color: var(--muted); }
.kid-card .cov-more { margin-top: auto; }

.res-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }
.res-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; color: var(--ink); transition: transform 0.2s var(--ease-spring), box-shadow 0.2s ease; }
.res-card:hover { text-decoration: none; transform: translateY(-4px); box-shadow: var(--shadow-2); }
.res-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.res-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.res-card:hover .res-img img { transform: scale(1.05); }
.res-body { display: flex; flex-direction: column; flex: 1; padding: 20px 20px 22px; }
.res-body time { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 8px; }
.res-body h3 { font-size: 16px; line-height: 1.4; }
.res-body .cov-more { margin-top: auto; padding-top: 12px; }

/* ---------------- quote center / sitemap lists ---------------- */
.qc-cols { columns: 2; column-gap: 22px; }
.qc-group { break-inside: avoid; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px 24px 16px; margin-bottom: 22px; box-shadow: var(--shadow-1); }
.qc-group h2 { font-size: 20px; padding-bottom: 12px; margin-bottom: 6px; border-bottom: 2px solid var(--gold-400); }
.qc-list { list-style: none; margin: 0; padding: 0; }
.qc-list li + li { border-top: 1px solid var(--ice-100); }
.qc-list a { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 11px 2px; font-size: 14.5px; font-weight: 600; color: var(--ink); transition: color 0.15s ease, padding-left 0.18s var(--ease-spring); }
.qc-list a:hover { color: var(--steel-600); text-decoration: none; padding-left: 8px; }
.qc-list .arr { color: var(--gold-600); flex: 0 0 auto; }

/* ---------------- form pages (Gravity Forms reskin) ---------------- */
.form-intro { margin-bottom: 26px; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow-2); }
.form-card .gform_title { display: none; }
.form-card .gfield { margin-bottom: 18px; }
.form-card .gfield_label { display: block; font-size: 13px; font-weight: 700; color: var(--navy-850); margin-bottom: 6px; }
.form-card .gfield_required { color: var(--signal-600); }
.form-card .ginput_container { display: block; }
.form-card .gform_footer input[type='submit'], .form-card input[type='submit'] {
  width: auto; cursor: pointer;
  background: linear-gradient(180deg, var(--gold-400), var(--gold-500)); color: var(--gold-ink);
  border: 0; border-radius: 10px;
  font-family: var(--font-sans); font-weight: 800; font-size: 12.5px; letter-spacing: 0.09em; text-transform: uppercase;
  padding: 15px 32px; box-shadow: var(--shadow-gold);
  transition: transform 0.18s var(--ease-spring), background-color 0.18s ease;
}
.form-card input[type='submit']:hover { background: linear-gradient(180deg, var(--gold-500), var(--gold-600)); transform: translateY(-2px); }
.form-card .gform_description { display: block; color: var(--muted); font-size: 14.5px; margin-bottom: 18px; }
.form-card .gfield_checkbox label, .form-card .gfield_radio label { font-size: 14.5px; font-weight: 400; }
.form-card .gfield_checkbox input, .form-card .gfield_radio input { accent-color: var(--steel-500); width: auto; }
.form-card .gsection { border-bottom: 2px solid var(--ice-100); margin: 30px 0 20px; }
.form-card .gsection_title { font-family: var(--font-serif); font-size: 20px; font-weight: 700; color: var(--navy-850); }
.form-card .validation_message { color: var(--signal-600); font-size: 12.5px; }
.form-card .gform_required_legend { display: none; }
.form-card .gform_validation_container, .form-card .gfield--type-honeypot,
.form-card .gform_hidden, .form-card .gfield--type-hidden { display: none !important; }

/* payments */
.pay-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow-2); }
.pay-notes { margin-bottom: 26px; }
.pay-notes li { margin-bottom: 10px; color: var(--muted); }
.hc-alt { text-align: center; font-size: 13.5px; color: var(--muted); margin: 14px 0 0; }

/* ---------------- prose / article / rail ---------------- */
.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(22px, 2.6vw, 30px); margin-top: 38px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 26px; }
.prose p, .prose li { color: #3c4c66; font-size: 16px; line-height: 1.75; }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--gold-600); }
.prose figure { margin: 26px 0; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-2); }
.prose figure img { display: block; width: 100%; }
/* Decorative icon PNGs (172px / 500px squares) must not upscale to column width */
.prose figure:has(> img[src*="/icon-"]) { width: fit-content; margin: 16px 0; box-shadow: none; border-radius: 0; overflow: visible; }
.prose figure img[src*="/icon-"] { width: auto; max-width: 112px; height: auto; }

.pol-grid, .art-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(30px, 4.5vw, 60px); align-items: start; }
/* max-height keeps the sticky rail clear of the fixed Guru card
   (142px card + 24px inset + breathing room); overflows scroll inside */
.rail { position: sticky; top: 96px; display: grid; gap: 16px; align-content: start; max-height: calc(100vh - 96px - 190px); overflow-y: auto; }
.rail-nav, .toc { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 18px 8px; box-shadow: var(--shadow-1); }
.rail-h { font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy-850); margin: 0 0 10px; padding-bottom: 10px; border-bottom: 2px solid var(--gold-400); }
.rail-h a { color: inherit; }
.rail-nav ul, .toc ul { list-style: none; margin: 0; padding: 0; }
.rail-nav li a, .toc li a { display: block; padding: 6px 2px; font-size: 13.5px; color: var(--muted); border-bottom: 1px solid var(--ice-100); }
.rail-nav li:last-child a, .toc li:last-child a { border-bottom: 0; }
.rail-nav li a:hover, .toc li a:hover { color: var(--steel-600); text-decoration: none; }
.rail-nav li.on a { color: var(--steel-600); font-weight: 700; }
.rail-cta {
  position: relative; overflow: hidden;
  background:
    radial-gradient(80% 100% at 100% 0%, rgba(47, 111, 178, 0.3), transparent 60%),
    linear-gradient(160deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line-dark);
  color: var(--ice-100); border-radius: var(--r-md); padding: 18px;
}
.rail-cta p { font-size: 13px; color: #b9c9e2; }
.rail-cta-h { font-family: var(--font-serif); font-size: 18px; font-weight: 700; color: #fff; margin: 0 0 6px; }
.rail-cta .btn-block { padding: 11px 14px; font-size: 13px; }
.rail-tel { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; color: var(--gold-400); font-weight: 700; font-size: 14px; }
.art-cta { margin-top: 40px; padding: 26px; border-radius: var(--r-md); background: var(--ice-050); border: 1px solid var(--line); }
.art-cta .rail-cta-h { color: var(--navy-850); }

/* ---------------- contact ---------------- */
.ci-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 22px; }
.ci { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px; box-shadow: var(--shadow-1); }
.ci img { margin-bottom: 10px; }
.ci h3 { font-size: 14.5px; }
.ci p { font-size: 14px; color: var(--muted); margin: 0; overflow-wrap: anywhere; }

/* ---------------- about ---------------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
.about-photo { margin: 0; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-2); position: relative; }
.about-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(15deg, rgba(10, 27, 51, 0.35), transparent 55%); mix-blend-mode: multiply; }
.val-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 22px; }
.val-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 30px 26px; box-shadow: var(--shadow-1); border-top: 3px solid var(--gold-400); }
.val-card img { margin-bottom: 14px; }
.val-card h3 { margin: 0; }

/* ---------------- CTA band ---------------- */
.cta-band {
  position: relative; overflow: hidden; color: var(--ice-100);
  background:
    radial-gradient(70% 130% at 85% 120%, rgba(47, 111, 178, 0.3), transparent 60%),
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
    linear-gradient(180deg, var(--navy-900), var(--navy-850));
  background-size: auto, 44px 44px, 44px 44px, auto;
  padding: clamp(56px, 7vw, 96px) 0;
}
.cta-band-in { position: relative; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #b9c9e2; max-width: 54ch; margin: 0 auto 8px; }
.cta-band-btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

/* ---------------- footer ---------------- */
.foot {
  position: relative; color: var(--ice-100);
  background:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
    linear-gradient(180deg, var(--navy-950), #04101f);
  background-size: 44px 44px, 44px 44px, auto;
  border-top: 1px solid var(--line-dark);
}
.foot::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-500) 30%, var(--steel-500) 70%, transparent);
  opacity: 0.7;
}
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.15fr; gap: clamp(24px, 3.5vw, 48px); padding-top: clamp(52px, 7vw, 80px); padding-bottom: 44px; }
.f-logo { width: 168px; height: auto; background: #fff; border-radius: 10px; padding: 10px 14px; }
.f-tag { font-size: 14px; color: #b9c9e2; margin: 16px 0 12px; max-width: 30ch; }
.f-mail { color: var(--gold-400); font-weight: 600; font-size: 14px; }
.socials { display: flex; gap: 10px; margin: 16px 0; }
.socials a {
  display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line-dark); color: #c5d5ec; background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.15s ease, color 0.15s ease, transform 0.18s var(--ease-spring);
}
.socials a:hover { color: var(--gold-400); border-color: var(--gold-400); transform: translateY(-2px); }
.f-bbb { max-width: 150px; background: #fff; border-radius: 8px; padding: 6px 8px; }
.foot h4 { color: #fff; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px; }
.foot nav ul, .foot .f-col ul { list-style: none; margin: 0; padding: 0; }
.foot nav li, .foot .f-col li { margin-bottom: 9px; }
.foot nav a, .foot .f-col a { color: #b9c9e2; font-size: 14px; }
.foot nav a:hover, .foot .f-col a:hover { color: var(--gold-400); text-decoration: none; }
.office p { font-size: 13.5px; color: #b9c9e2; margin-bottom: 7px; }
.office a { color: var(--gold-400); font-weight: 600; }
.f-contact p { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: #b9c9e2; margin-bottom: 11px; }
.f-contact svg { flex: 0 0 auto; margin-top: 4px; color: var(--gold-400); }
.f-contact a { color: #dbe6f5; }
.f-contact a:hover { color: var(--gold-400); text-decoration: none; }
.f-contact .btn { margin-top: 8px; }
.foot-legal {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  border-top: 1px solid var(--line-dark); padding-top: 22px; padding-bottom: 26px;
}
.copy { font-size: 12.5px; color: #8ba0c2; }
.legal-links { display: flex; flex-wrap: wrap; gap: 18px; }
.legal-links a { font-size: 12.5px; color: #8ba0c2; }
.legal-links a:hover { color: var(--gold-400); }

/* ---------------- reveal animation ---------------- */
.rv { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease var(--d, 0ms), transform 0.6s var(--ease-spring) var(--d, 0ms); }
.rv.in, .no-io .rv { opacity: 1; transform: none; }

/* hero scene animations */
.beam { transform-origin: 0 0; animation: beam 7s ease-in-out infinite alternate; }
.beam-b { animation-delay: -3.5s; }
@keyframes beam { from { opacity: 0.5; } to { opacity: 0.95; } }
.lamp-halo { animation: halo 3.6s ease-in-out infinite alternate; }
@keyframes halo { from { opacity: 0.55; } to { opacity: 1; } }
.spark { animation: spark 4.4s ease-in-out infinite alternate; }
.spark:nth-of-type(2n) { animation-delay: -2.2s; }
@keyframes spark { from { opacity: 0.25; } to { opacity: 0.9; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .mq-track { animation: none; }
  .beam, .lamp-halo, .spark { animation: none; }
  .harbor-panel .panel-badge { animation: none; }
  .nb-dash, .nb-eyes, .nb-orb { animation: none !important; }
  .bot-badge { transition: none; }
  .hero-bot:hover .bot-badge, .harbor-panel:hover .bot-badge { transform: none; }
  .hero-bot:hover .nb-eye-r, .harbor-panel:hover .nb-eye-r { animation: none; }
  .btn, .svc-card, .cov-card, .kid-card, .res-card, .ind { transition: none; }
}

/* ---------------- responsive ---------------- */
@media (max-width: 1120px) {
  .nav .top { padding-inline: 9px; }
  .hdr-tel span { display: none; }
  .svc-grid { grid-template-columns: repeat(3, 1fr); }
  .ind-row { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .why-grid .harbor-panel { grid-column: 1 / -1; }
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
@media (max-width: 920px) {
  .hdr nav, .hdr-tel { display: none; }
  .burger { display: flex; }
  .hero-grid { grid-template-columns: 1fr; align-items: start; }
  .hero-bot { right: 14px; bottom: 14px; gap: 13px; padding: 13px 16px; max-width: min(400px, calc(100vw - 28px)); }
  .hero-bot .bot-badge { flex-basis: 76px; width: 76px; height: 76px; }
  .hero-bot-h { font-size: 17px; }
  .pol-grid, .art-grid { grid-template-columns: 1fr; }
  .rail { position: static; max-height: none; overflow: visible; }
  .find-grid { grid-template-columns: 1fr; }
  .cov-grid { grid-template-columns: repeat(2, 1fr); }
  .kid-grid, .res-grid, .tst-grid { grid-template-columns: 1fr 1fr; }
  .qc-cols { columns: 1; }
  .about-grid { grid-template-columns: 1fr; }
  .val-grid { grid-template-columns: 1fr; }
  .ci-grid { grid-template-columns: 1fr; }
  .mega { grid-template-columns: 1fr 1fr; width: min(640px, calc(100vw - 48px)); }
}
@media (max-width: 640px) {
  .svc-grid { grid-template-columns: 1fr; }
  .hero-bot { max-width: calc(100vw - 24px); }
  .harbor-panel .panel-badge { width: 132px; height: 132px; margin: 8px -2px -8px auto; }
  .ind-row { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .tst-grid { grid-template-columns: 1fr; }
  .cov-grid { grid-template-columns: 1fr; }
  .kid-grid, .res-grid { grid-template-columns: 1fr; }
  .fld-row { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-legal { flex-direction: column; align-items: flex-start; }
}
