/* ============ DESIGN SYSTEM & BASE RESETS ============ */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 180px;
}

/* ---- Lenis Smooth Scroll ---- */
html.lenis, html.lenis body {
  height: auto;
}
html.lenis-smooth {
  scroll-behavior: auto !important;
}
html.lenis-stopped {
  overflow: hidden;
}
html.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
html.smooth-off {
  scroll-behavior: smooth;
}
html.smooth-on {
  scroll-behavior: auto;
}
@media (prefers-reduced-motion: reduce) {
  html.smooth-off {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--page);
  color: var(--charcoal);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: 'Figtree', system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.14;
  margin: 0 0 var(--s3);
  color: var(--charcoal);
}

h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.25rem); letter-spacing: -0.03em; }
h3 { font-size: clamp(1.05rem, 1.5vw, 1.28rem); }
h4 { font-size: 1.05rem; margin-bottom: var(--s1); }
h5 { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--slate); margin-bottom: var(--s2); }

p { margin: 0 0 var(--s3); max-width: 58ch; }
a { color: inherit; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
em.i { font-style: italic; color: var(--terracotta-ink); font-weight: 600; }

:focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: var(--s2);
  top: -100px;
  z-index: 3000;
  background: var(--teal-deep);
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus {
  top: var(--s2);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.eyebrow,
.hero-eyebrow,
.skp-eyebrow {
  display: none !important;
}

.lead {
  font-size: clamp(0.97rem, 1.2vw, 1.08rem);
  color: var(--slate);
  line-height: 1.6;
}

.hl {
  background: linear-gradient(180deg, transparent 58%, var(--apricot) 58%);
  padding: 0 0.12em;
}

.sec {
  padding: var(--s16) 0;
  position: relative;
}

.sec-head {
  max-width: 720px;
  margin-bottom: var(--s8);
}

.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.center .eyebrow {
  justify-content: center;
}

/* ============ MARQUEE BARS ============ */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 0;
  will-change: transform;
  animation: mq 42s linear infinite;
}
.marquee.slow .marquee-track {
  animation-duration: 64s;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
@keyframes mq {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}
.mq-set {
  display: inline-flex;
  align-items: center;
}
.mq-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 22px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.mq-item strong {
  font-weight: 700;
}
.mq-item::after {
  content: "•";
  margin-left: 22px;
  opacity: 0.45;
}
.mq-item a {
  text-decoration: none;
}

/* Top announcement bar */
#announce {
  background: linear-gradient(90deg, var(--cta), var(--orange-deep) 45%, var(--terracotta));
  color: #fff;
  height: var(--bar-h);
  display: flex;
  align-items: center;
}
#announce .mq-item {
  color: #fff;
}

/* ============ HEADER + MEGA MENU ============ */
#header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(253, 250, 245, 0.88);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid rgba(63, 70, 80, 0.08);
  transition: box-shadow 0.4s, background-color 0.4s;
}
#header.scrolled {
  box-shadow: 0 8px 30px rgba(29, 52, 59, 0.12);
  background: rgba(253, 250, 245, 0.96);
}
#header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  min-height: var(--head-h);
  position: relative;
}
.brand {
  display: flex;
  align-items: center;
  padding: 12px;
  margin: -12px;
  text-decoration: none;
  flex: none;
}
.brand img {
  height: 52px;
  width: auto;
  transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
#header.scrolled .brand img {
  height: 42px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav > li {
  position: relative;
}
.nav a.top {
  text-decoration: none;
  color: var(--charcoal);
  font-weight: 500;
  font-size: 0.94rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 28px 0;
  position: relative;
  white-space: nowrap;
}
.nav a.top::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--terracotta), var(--coral));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav li:hover > a.top::after,
.nav a.top:focus-visible::after {
  transform: scaleX(1);
}
.nav .caret {
  width: 10px;
  height: 10px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s;
}
.nav li:hover .caret {
  transform: rotate(180deg);
}

.nav > li:has(.mega) {
  position: static;
}
.mega {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 10px);
  width: min(1180px, 94vw);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(63, 70, 80, 0.08);
  padding: var(--s5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
  z-index: 20;
}
.nav li:hover .mega,
.nav li:focus-within .mega {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.mega-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s5);
}
.mega-cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s4) var(--s5);
}
.mega-cols-4 h5 {
  margin: 0 0 12px;
}
.mega-cols-4 ul li {
  margin-bottom: 7px;
}
.mega-cols-4 a {
  font-size: 0.86rem;
  line-height: 1.35;
  align-items: flex-start;
}
.mega-cols-4 a::before {
  margin-top: 0.45em;
}
.mega-cols div:nth-child(3) a::before { background: var(--orange); }
.mega-cols div:nth-child(4) a::before { background: var(--teal); }

.mega-cols ul li {
  margin-bottom: 9px;
}
.mega-cols a {
  text-decoration: none;
  font-size: 0.9rem;
  color: var(--charcoal);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.25s, gap 0.25s;
}
.mega-cols a::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  flex: none;
  opacity: 0.5;
  transition: opacity 0.25s;
}
.mega-cols a:hover {
  color: var(--terracotta-ink);
  gap: 11px;
}
.mega-cols a:hover::before {
  opacity: 1;
}
.mega-cols div:nth-child(2) a::before { background: var(--teal); }
.mega-cols div:nth-child(3) a::before { background: var(--sage); }

.mega-foot {
  margin-top: var(--s4);
  padding-top: var(--s3);
  border-top: 1px solid rgba(63, 70, 80, 0.09);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  flex-wrap: wrap;
}
.mega-foot .note {
  font-size: 0.84rem;
  color: var(--slate);
  margin: 0;
  flex: 1 1 320px;
  min-width: 0;
}

.hdr-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.hdr-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--charcoal);
  border: 1.5px solid rgba(63, 70, 80, 0.24);
  border-radius: 999px;
  padding: 9px 17px;
  transition: border-color 0.3s, transform 0.3s;
}
.hdr-phone:hover {
  border-color: var(--coral);
  transform: translateY(-2px);
}

#nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1.5px solid rgba(63, 70, 80, 0.2);
  background: var(--white);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: none;
}
#nav-toggle svg {
  width: 22px;
  height: 22px;
  stroke: var(--charcoal);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}

/* Mobile drawer */
#drawer {
  position: fixed;
  inset: 0;
  z-index: 1500;
  background: rgba(29, 52, 59, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s, visibility 0.35s;
}
#drawer.open {
  opacity: 1;
  visibility: visible;
}
.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 90vw);
  background: var(--cream);
  padding: var(--s5) var(--s4) var(--s10);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-lg);
}
#drawer.open .drawer-panel {
  transform: translateX(0);
}
.drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--s5);
}
.drawer-top img {
  height: 44px;
}
#drawer-close {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1.5px solid rgba(63, 70, 80, 0.2);
  background: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
#drawer-close svg {
  width: 20px;
  height: 20px;
  stroke: var(--charcoal);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}
.drawer-nav > li {
  border-bottom: 1px solid rgba(63, 70, 80, 0.09);
}
.drawer-nav > li > a {
  display: block;
  padding: 15px 0;
  text-decoration: none;
  font-family: 'Figtree', sans-serif;
  font-weight: 600;
  font-size: 1.06rem;
}
.drawer-nav details summary {
  padding: 15px 0;
  cursor: pointer;
  list-style: none;
  font-family: 'Figtree', sans-serif;
  font-weight: 600;
  font-size: 1.06rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.drawer-nav details summary::-webkit-details-marker {
  display: none;
}
.drawer-nav details summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--terracotta-ink);
  transition: transform 0.3s;
}
.drawer-nav details[open] summary::after {
  transform: rotate(45deg);
}
.drawer-sub {
  padding: 0 0 var(--s3) var(--s2);
}
.drawer-sub li {
  margin-bottom: 8px;
}
.drawer-sub a {
  text-decoration: none;
  font-size: 0.94rem;
  color: var(--slate);
}
.drawer-sub a:hover {
  color: var(--terracotta-ink);
}
.drawer-sub-h {
  margin: 14px 0 6px;
  font-family: 'Figtree', system-ui, sans-serif;
  font-weight: 800;
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
  opacity: 0.75;
  list-style: none;
}
.drawer-sub-h:first-of-type {
  margin-top: 10px;
}
.drawer-cta {
  display: grid;
  gap: 10px;
  margin-top: var(--s5);
}

/* ============ BUTTONS / CHIPS / TRUST ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Figtree', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 15px 28px;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  will-change: transform;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.btn-sm {
  padding: 11px 20px;
  font-size: 0.92rem;
}
.btn-primary {
  background: var(--cta);
  color: #fff;
  box-shadow: 0 10px 26px rgba(184, 67, 26, 0.26);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(217, 83, 28, 0.32);
}
.btn-teal {
  background: var(--teal-ink);
  color: #fff;
}
.btn-teal:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(31, 107, 107, 0.3);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.7);
  color: var(--charcoal);
  border-color: rgba(63, 70, 80, 0.22);
}
.btn-ghost:hover {
  border-color: var(--terracotta);
  color: var(--terracotta-ink);
  transform: translateY(-3px);
}
.btn-onDark {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.46);
}
.btn-onDark:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #fff;
  transform: translateY(-3px);
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  padding: var(--s5) 0;
}
.divider svg {
  width: 100%;
  height: 34px;
  display: block;
}
.divider path {
  fill: none;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ============ BULK BILLED TOKEN ============ */
.bb-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  font-family: 'Figtree', sans-serif;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.02em;
  padding: 6px 11px 6px 9px;
  border-radius: 999px;
  background: #00654E;
  color: #FFE9A8;
  border: 1px solid #00543F;
}
.bb-chip::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FFC933;
  flex: none;
}
.bb-chip .sep {
  opacity: 0.62;
  font-weight: 600;
}
.bb-chip.light {
  background: #E7F1ED;
  color: #00543F;
  border-color: rgba(0, 84, 63, 0.22);
}
.bb-chip.light::before {
  background: #00854F;
}
.bb-chip.sm {
  font-size: 0.64rem;
  padding: 5px 9px 5px 8px;
  gap: 6px;
}
.bb-chip.sm::before {
  width: 7px;
  height: 7px;
}
.bb-chip.hdr {
  font-size: 0.68rem;
}

.bb-chip.bb-chip {
  background: #00654E;
  color: #FFE9A8;
  border: 1px solid #00543F;
  padding: 6px 11px 6px 9px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0.02em;
  box-shadow: none;
  backdrop-filter: none;
}
.bb-chip.bb-chip::before {
  background: #FFC933;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin: 0;
  opacity: 1;
}
.bb-chip.light.light {
  background: #E7F1ED;
  color: #00543F;
  border-color: rgba(0, 84, 63, 0.22);
}
.bb-chip.light.light::before {
  background: #00854F;
}
.bb-chip.sm.sm {
  font-size: 0.64rem;
  padding: 5px 9px 5px 8px;
}
.bb-chip.sm.sm::before {
  width: 7px;
  height: 7px;
}
.bb-chip .sep {
  opacity: 0.62;
  font-weight: 600;
}
.bb-chip .sep::before,
.bb-chip .sep::after {
  content: none;
  display: none;
}

/* ============ SECTION TINTS ============ */
.tint {
  position: relative;
}
.tint::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.tint > * {
  position: relative;
  z-index: 1;
}
.t-sand::before { background: linear-gradient(180deg, rgba(246, 231, 211, 0), rgba(246, 231, 211, 0.55) 20%, rgba(246, 231, 211, 0.55) 80%, rgba(246, 231, 211, 0)); }
.t-blush::before { background: linear-gradient(180deg, rgba(250, 225, 208, 0), rgba(250, 225, 208, 0.55) 20%, rgba(250, 225, 208, 0.55) 80%, rgba(250, 225, 208, 0)); }
.t-peach::before { background: linear-gradient(180deg, rgba(253, 231, 200, 0), rgba(253, 231, 200, 0.5) 20%, rgba(253, 231, 200, 0.5) 80%, rgba(253, 231, 200, 0)); }
.t-sage::before { background: linear-gradient(180deg, rgba(230, 241, 232, 0), rgba(230, 241, 232, 0.5) 20%, rgba(230, 241, 232, 0.5) 80%, rgba(230, 241, 232, 0)); }
.t-mist::before { background: linear-gradient(180deg, rgba(220, 238, 236, 0), rgba(220, 238, 236, 0.45) 20%, rgba(220, 238, 236, 0.45) 80%, rgba(220, 238, 236, 0)); }

/* ============ TICKERS BETWEEN SECTIONS ============ */
.ticker {
  padding: 13px 0;
  border-top: 1px solid rgba(63, 70, 80, 0.08);
  border-bottom: 1px solid rgba(63, 70, 80, 0.08);
  background: rgba(255, 255, 255, 0.5);
}
.ticker .mq-item {
  color: var(--charcoal);
  font-size: 0.9rem;
}
.ticker .mq-item strong {
  color: var(--terracotta-ink);
}
.ticker.dark {
  background: var(--teal-deep);
  border-color: rgba(255, 255, 255, 0.12);
}
.ticker.dark .mq-item {
  color: rgba(255, 255, 255, 0.9);
}
.ticker.dark .mq-item strong {
  color: var(--apricot);
}

/* ============ FOOTER ============ */
footer {
  background: var(--teal-deeper);
  color: rgba(255, 255, 255, 0.72);
  position: relative;
  z-index: 1;
}
.foot-inner {
  padding: var(--s10) 0 var(--s4);
}
.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(0, 0.92fr));
  gap: var(--s5) var(--s4);
}
.foot-lockup svg {
  height: 42px;
  width: auto;
  margin-bottom: var(--s2);
}
footer h4, footer h3 {
  color: #fff;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
footer a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color 0.3s;
}
footer a:hover {
  color: var(--apricot);
}
.foot-list li {
  margin-bottom: 7px;
  font-size: 0.88rem;
  line-height: 1.5;
}
.foot-note {
  font-size: 0.88rem;
  max-width: 34ch;
  margin-bottom: var(--s3);
  line-height: 1.55;
}
.foot-social {
  display: flex;
  gap: 9px;
}
.foot-social a {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: background-color 0.3s, transform 0.3s;
}
.foot-social a:hover {
  background: #1877F2;
  border-color: #1877F2;
  transform: translateY(-2px);
}
.foot-social svg {
  width: 17px;
  height: 17px;
  fill: #fff;
}
.emergency {
  margin-top: var(--s3);
  border: 1px solid rgba(247, 178, 103, 0.4);
  background: rgba(247, 178, 103, 0.1);
  border-radius: 12px;
  padding: 12px 16px;
  color: #fff;
  font-size: 0.85rem;
  line-height: 1.5;
  max-width: 34ch;
}
.emergency strong {
  color: var(--apricot);
}
.foot-badge {
  margin-top: var(--s4);
}
.foot-badge img {
  display: block;
  width: 132px;
  height: auto;
  aspect-ratio: 200/160;
  border-radius: 8px;
}
.foot-urgent {
  display: flex;
  align-items: stretch;
  gap: 14px;
  margin-top: var(--s3);
  flex-wrap: wrap;
}
.foot-urgent .emergency {
  margin-top: 0;
  max-width: none;
  flex: 1 1 186px;
  min-width: 0;
}
.foot-urgent .foot-badge {
  margin-top: 0;
  flex: 0 0 104px;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  padding: 0;
}
.foot-urgent .foot-badge img {
  width: 100%;
  height: auto;
  max-width: none;
}
.foot-base {
  margin-top: var(--s6);
  padding-top: var(--s3);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px var(--s4);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.52);
  line-height: 1.5;
}
.foot-base p {
  margin: 0;
  max-width: none;
}
.foot-base a {
  color: rgba(255, 255, 255, 0.68);
}
.foot-legal {
  display: flex;
  gap: var(--s3);
  flex-wrap: wrap;
  margin-left: auto;
}
.acknow {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
  max-width: 64ch;
  line-height: 1.55;
}

/* ============ CONVERSION MAGNET & MOBILE BAR ============ */
#magnet {
  position: fixed;
  right: var(--s5);
  bottom: var(--s5);
  z-index: 1200;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--cta);
  color: #fff;
  text-decoration: none;
  font-family: 'Figtree', sans-serif;
  font-weight: 600;
  font-size: 0.96rem;
  padding: 15px 25px;
  border-radius: 999px;
  box-shadow: 0 14px 38px rgba(184, 67, 26, 0.38);
  will-change: transform;
  transition: padding 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s;
}
#magnet:hover {
  padding: 17px 31px;
  box-shadow: 0 20px 50px rgba(217, 83, 28, 0.46);
}
#magnet svg {
  width: 17px;
  height: 17px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  display: none;
  grid-template-columns: repeat(3, 1fr);
  background: rgba(38, 66, 74, 0.97);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: env(safe-area-inset-bottom);
}
#mobile-bar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 12px 6px 14px;
  text-decoration: none;
  color: #fff;
  font-size: 0.74rem;
  font-weight: 500;
}
#mobile-bar a + a {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}
#mobile-bar a.primary {
  background: var(--cta);
}
#mobile-bar svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ============ MEDICARE BULK BILLING STRIP (shared) ============ */
.mbb-strip {
  position: relative;
  overflow: hidden;
  background: #00703C;
  border-top: 3px solid #FFC425;
  border-bottom: 3px solid #FFC425;
  --mbb-dur: 30s;
}
.mbb-strip::before, .mbb-strip::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(28px, 6vw, 90px);
  z-index: 2;
  pointer-events: none;
}
.mbb-strip::before { left: 0; background: linear-gradient(90deg, #00703C, rgba(0, 112, 60, 0)); }
.mbb-strip::after { right: 0; background: linear-gradient(270deg, #00703C, rgba(0, 112, 60, 0)); }
.mbb-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: mbb-run var(--mbb-dur) linear infinite;
}
.mbb-strip:hover .mbb-track,
.mbb-strip:focus-within .mbb-track {
  animation-play-state: paused;
}
.mbb-set {
  display: flex;
  align-items: center;
  flex: none;
}
.mbb-line {
  display: flex;
  align-items: center;
  flex: none;
  white-space: nowrap;
  margin: 0;
  padding: 15px 0;
  font-family: 'Figtree', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #FFF;
}
.mbb-line.mbb-hl {
  color: #0A3D22;
  background: #FFC425;
  border-radius: 999px;
  padding: 7px 20px;
}
.mbb-sep {
  flex: none;
  display: flex;
  align-items: center;
  padding: 0 clamp(18px, 2.4vw, 34px);
}
.mbb-sep svg {
  display: block;
  width: 34px;
  height: 12px;
  overflow: visible;
}
.mbb-sep path {
  fill: none;
  stroke: #FFC425;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@keyframes mbb-run {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

/* ============ MEDICARE BADGE IN THE HERO (shared) ============ */
.mc-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: var(--s4) 0 0;
  padding: 14px 18px;
  max-width: 52ch;
  background: #FFF;
  border-radius: 16px;
  border: 1px solid rgba(63, 70, 80, 0.14);
  box-shadow: 0 4px 16px rgba(63, 70, 80, 0.08);
}
.mc-badge .mc-tile {
  display: block;
  width: 88px;
  height: auto;
  aspect-ratio: 200/160;
  flex: none;
  border-radius: 8px;
}
.mc-badge p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--slate);
}

/* ============ PAGE HERO (inner pages) ============ */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: var(--s12) 0 var(--s8);
}
.page-hero h1 {
  font-family: 'Figtree', system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1.04;
  margin: 0 0 var(--s3);
  color: var(--charcoal);
}
.page-hero h1 em {
  font-style: italic;
  color: var(--terracotta-ink);
}
.page-hero .lead {
  max-width: 60ch;
}
.crumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  margin: 0 0 var(--s4);
}
.crumbs a {
  text-decoration: none;
  color: var(--terracotta-ink);
  font-weight: 600;
}
.crumbs a:hover {
  text-decoration: underline;
}
.crumbs span[aria-hidden] {
  opacity: 0.45;
}

/* ============ RESPONSIVE RULES FOR MAIN ============ */
@media (max-width: 1460px) {
  .bb-chip.hdr { display: none !important; }
}
@media (max-width: 1360px) and (min-width: 1181px) {
  #header .wrap { gap: var(--s2); }
  .nav { gap: 18px; }
  .nav a.top { font-size: 0.9rem; }
  .hdr-actions { gap: 9px; }
  .hdr-phone { font-size: 0.86rem; padding: 8px 13px; gap: 6px; }
  .hdr-actions .btn { padding: 10px 17px; font-size: 0.88rem; }
  .brand img { height: 46px; }
}
@media (max-width: 1320px) {
  .mega { width: min(1080px, 94vw); }
  .mega-cols-4 a { font-size: 0.83rem; }
}
@media (max-width: 1240px) {
  .hdr-phone span { display: none; }
}
@media (max-width: 1180px) {
  .nav { display: none; }
  #nav-toggle { display: inline-flex; }
  .hdr-phone span { display: none; }
  .hdr-phone { padding: 9px 12px; }
  .bb-chip.hdr { display: none; }
}
@media (max-width: 1000px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .foot-urgent .emergency { flex: 1 1 240px; }
  .foot-urgent .foot-badge { flex: 0 0 116px; }
}
@media (max-width: 768px) {
  #magnet { display: none; }
  #mobile-bar { display: grid; }
  body { padding-bottom: 74px; }
}
@media (max-width: 760px) {
  #header .wrap { padding: 0 var(--s2); gap: 10px; }
  .brand img, #header .brand img { height: 34px !important; }
  .hdr-phone { display: none; }
  .hdr-actions { gap: 8px; }
  .hdr-actions .btn { padding: 10px 15px; font-size: 0.8rem; white-space: nowrap; }
}
@media (max-width: 620px) {
  .mbb-line { font-size: 0.78rem; letter-spacing: 0.05em; }
  .mbb-line.mbb-hl { padding: 6px 15px; }
  .mbb-strip { --mbb-dur: 24s; }
  .mc-badge { flex-direction: column; text-align: center; max-width: none; }
}
@media (max-width: 600px) {
  .foot-grid { grid-template-columns: 1fr; gap: var(--s4); }
  .foot-legal { margin-left: 0; }
}
@media (max-width: 430px) {
  #header .wrap { gap: 8px; }
  .hdr-actions .btn { padding: 9px 11px; font-size: 0.72rem; }
  .brand img, #header .brand img { height: 28px !important; }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .marquee-track { animation: none !important; }
  .mbb-strip { overflow-x: auto; }
  .mbb-track { animation: none; width: auto; }
  .mbb-set + .mbb-set { display: none; }
}
