/* ============================================================
   OPTIMICX — GLOBAL STYLESHEET
   Colors: Orange #0B7A5A, Amber #FFA500, Coral #FF4757, Teal #00B8D9
   Fonts: Syne (display) + DM Sans (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap');

/* ── VARIABLES ── */
:root {
  --orange:       #0B7A5A;
  --orange-light: #34C79A;
  --orange-pale:  #E6F6EF;
  --orange-dark:  #075E44;
  --amber:        #0A6C7A;   /* gradient partner (deep teal) */
  --green:        #0B7A5A;
  --coral:        #FF4757;
  --teal:         #00B8D9;
  --teal-pale:    #E8FAFF;
  --dark:         #0B1F33;
  --dark2:        #12293F;
  --dark3:        #16324D;
  --mid:          #2E4156;
  --muted:        #5B6B7B;
  --border:       #E1E8EF;
  --light:        #F4F7FA;
  --white:        #FFFFFF;
  --shadow:       0 8px 40px rgba(11,122,90,0.12);
  --shadow-lg:    0 24px 80px rgba(0,0,0,0.12);
  --radius:       18px;
  --radius-sm:    10px;
  --radius-lg:    24px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  padding-top: 104px; /* flash bar 36px + navbar 68px */
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: 'DM Sans', sans-serif; }
ul { list-style: none; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 { font-family: 'Syne', sans-serif; line-height: 1.1; }
h1 { font-size: clamp(2rem, 4.5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3vw, 2.8rem); font-weight: 800; }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
p  { line-height: 1.7; color: var(--muted); }

em { color: var(--orange); font-style: normal; }

/* ── LAYOUT ── */
.wrap   { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.wrap-sm{ max-width: 860px;  margin: 0 auto; padding: 0 24px; }
section { padding: 88px 24px; }
.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}
.section-head { margin-bottom: 14px; }
.section-sub  { font-size: 1rem; max-width: 560px; color: var(--muted); }
.text-center  { text-align: center; }
.text-center .section-sub { margin: 12px auto 0; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  transition: all 0.22s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(11,122,90,0.32);
}
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(11,122,90,0.4); }
.btn-outline {
  background: transparent;
  color: var(--orange);
  border: 2px solid var(--orange);
}
.btn-outline:hover { background: var(--orange); color: var(--white); }
.btn-ghost {
  background: transparent;
  color: var(--dark);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); }
.btn-white {
  background: var(--white);
  color: var(--orange);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.btn-lg { padding: 15px 34px; font-size: 1rem; border-radius: 12px; }
.btn-sm { padding: 8px 18px; font-size: 0.8rem; }

/* ── CARDS ── */
.card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.28s ease;
}
.card:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
  flex-shrink: 0;
}
.card-title { font-family: 'Syne', sans-serif; font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.card-desc  { font-size: 0.84rem; color: var(--muted); line-height: 1.65; }
.card-link  { display: inline-flex; align-items: center; gap: 5px; font-size: 0.82rem; font-weight: 600; color: var(--orange); margin-top: 14px; }

/* ── GRIDS ── */
.grid-2  { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.grid-3  { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-4  { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px,1fr)); gap: 20px; }

/* ── TAGS / CHIPS ── */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.73rem;
  font-weight: 600;
}
.tag-orange { background: rgba(11,122,90,0.1); color: var(--orange); }
.tag-teal   { background: var(--teal-pale); color: var(--teal); }
.tag-amber  { background: rgba(255,165,0,0.12); color: var(--amber); }

/* ── HERO (shared base) ── */
.page-hero {
  margin-top: -104px;   /* cancel body padding so hero touches the navbar */
  padding: 130px 24px 80px; /* 130px = 104px nav+flash + 26px breathing */
  position: relative;
  overflow: hidden;
}
.page-hero-dark  { background: var(--dark); }
.page-hero-light { background: var(--light); }
.page-hero-orange { background: linear-gradient(135deg, var(--orange) 0%, var(--amber) 100%); }
.page-hero .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
}
.page-hero h1 span { color: var(--orange); }

/* ── BADGE ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.badge-orange {
  background: rgba(11,122,90,0.12);
  border: 1px solid rgba(11,122,90,0.22);
  color: var(--orange-light);
}
.badge-orange .dot { width: 6px; height: 6px; background: var(--orange); border-radius: 50%; animation: pulse 1.5s infinite; }
.badge-white {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.85);
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(1.5)} }

/* ── FEATURE LIST ── */
.feature-list { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
.feature-item { display: flex; align-items: flex-start; gap: 12px; }
.feature-dot  { width: 22px; height: 22px; background: var(--orange); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.6rem; color: var(--white); flex-shrink: 0; margin-top: 2px; }
.feature-text { font-size: 0.88rem; color: var(--mid); line-height: 1.65; }
.feature-text strong { color: var(--dark); }

/* ── STATS ROW ── */
.stats-row { display: flex; gap: 40px; flex-wrap: wrap; }
.stat-item .stat-num { font-family: 'Syne', sans-serif; font-size: 2rem; font-weight: 800; color: var(--orange); }
.stat-item .stat-label { font-size: 0.78rem; color: var(--muted); margin-top: 3px; }
.stats-row.white .stat-item .stat-num { color: var(--white); }
.stats-row.white .stat-item .stat-label { color: rgba(255,255,255,0.5); }

/* ── CHECK LIST ── */
.check-list { display: flex; flex-direction: column; gap: 10px; }
.check-list li { display: flex; align-items: center; gap: 10px; font-size: 0.86rem; color: var(--mid); }
.check-list li::before { content: '✓'; width: 20px; height: 20px; background: var(--orange); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.6rem; color: var(--white); flex-shrink: 0; }

/* ── PROCESS STEPS ── */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.process-steps::before {
  content: '';
  position: absolute;
  top: 32px; left: 12%; right: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--amber));
}
.step { text-align: center; position: relative; z-index: 1; }
.step-circle {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--white);
  border: 2.5px solid var(--orange);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.3rem;
  position: relative;
}
.step-circle::after {
  content: '';
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 1px dashed rgba(11,122,90,0.3);
}
.step-title { font-family: 'Syne', sans-serif; font-size: 0.92rem; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.step-desc  { font-size: 0.78rem; color: var(--muted); line-height: 1.6; }

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: 10px; margin-top: 40px; }
.faq-item { background: var(--white); border: 1.5px solid var(--border); border-radius: 12px; overflow: hidden; }
.faq-q {
  padding: 18px 20px;
  display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; font-weight: 600; font-size: 0.9rem; color: var(--dark);
  gap: 12px;
}
.faq-q:hover { color: var(--orange); }
.faq-arrow { font-size: 0.65rem; color: var(--muted); transition: transform 0.3s; flex-shrink: 0; }
.faq-a { max-height: 0; overflow: hidden; padding: 0 20px; font-size: 0.86rem; color: var(--muted); line-height: 1.7; transition: max-height 0.35s ease, padding 0.3s; }
.faq-item.open .faq-q { color: var(--orange); border-bottom: 1.5px solid var(--border); }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-item.open .faq-a { max-height: 300px; padding: 16px 20px 18px; }

/* ── TESTIMONIAL ── */
.tcard { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 28px; transition: all 0.28s; }
.tcard:hover { border-color: var(--orange); box-shadow: var(--shadow); transform: translateY(-3px); }
.tcard-stars { color: var(--amber); letter-spacing: 2px; font-size: 0.88rem; margin-bottom: 14px; }
.tcard-text { font-size: 0.86rem; color: var(--mid); line-height: 1.75; margin-bottom: 20px; font-style: italic; }
.tcard-author { display: flex; align-items: center; gap: 12px; }
.tcard-avatar { background: #006E85; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Syne', sans-serif; font-size: 0.95rem; font-weight: 800; color: var(--white); flex-shrink: 0; }
.tcard-name { font-weight: 600; font-size: 0.88rem; color: var(--dark); }
.tcard-role { font-size: 0.75rem; color: var(--muted); }

/* ── FORM ── */
.form-box { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-lg); }
.form-row  { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--dark); margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  color: var(--dark);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(11,122,90,0.1); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-submit {
  width: 100%;
  padding: 14px;
  background: var(--orange);
  color: var(--white);
  border: none;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.22s;
  box-shadow: 0 6px 20px rgba(11,122,90,0.3);
}
.form-submit:hover { background: var(--orange-dark); transform: translateY(-2px); }
.form-note { font-size: 0.74rem; color: var(--muted); text-align: center; margin-top: 10px; }

/* ── SUCCESS STATE ── */
.success-state { display: none; text-align: center; padding: 40px 20px; }
.success-icon  { font-size: 3rem; margin-bottom: 16px; }
.success-state h4 { font-size: 1.3rem; color: var(--dark); margin-bottom: 10px; }
.success-state p  { font-size: 0.88rem; color: var(--muted); }

/* ── CTA BANNER ── */
.cta-banner {
  background: var(--orange);
  padding: 64px 24px;
  text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: 12px; }
.cta-banner p  { color: rgba(255,255,255,0.8); font-size: 1rem; margin-bottom: 32px; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── TRUST BAR ── */
.trust-bar { background: var(--light); border-bottom: 1px solid var(--border); padding: 18px 24px; }
.trust-inner { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 32px; flex-wrap: wrap; }
.trust-item  { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--muted); font-weight: 500; }
.trust-sep   { width: 1px; height: 20px; background: var(--border); }

/* ── INSURER LOGOS ── */
.insurer-logos { display: flex; flex-wrap: wrap; gap: 12px; }
.insurer-box {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 11px 22px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
  transition: all 0.2s;
}
.insurer-box:hover { border-color: var(--orange); color: var(--orange); }

/* ── COMPARE TABLE ── */
.compare-table { width: 100%; border-collapse: collapse; border-radius: 16px; overflow: hidden; }
.compare-table th { background: var(--dark); color: var(--white); padding: 16px 22px; text-align: left; font-size: 0.85rem; font-weight: 600; }
.compare-table th.hl { background: var(--orange); }
.compare-table td { padding: 14px 22px; border-bottom: 1px solid var(--border); font-size: 0.84rem; color: var(--mid); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:hover td { background: var(--orange-pale); }
.compare-table td.hl { background: rgba(11,122,90,0.04); }
.chk { color: #0B7A5A; font-weight: 700; }
.cross { color: #B42318; }

/* ── INDUSTRY CHIPS ── */
.ind-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.ind-chip {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 18px; border-radius: 50px;
  border: 1.5px solid var(--border);
  font-size: 0.83rem; font-weight: 500; color: var(--mid);
  cursor: pointer; transition: all 0.2s;
}
.ind-chip:hover { border-color: var(--orange); color: var(--orange); background: var(--orange-pale); }

/* ── ICON BOX ── */
.icon-box {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.icon-box-orange { background: var(--orange-pale); }
.icon-box-teal   { background: var(--teal-pale); }
.icon-box-amber  { background: rgba(255,165,0,0.1); }

/* ── OVERVIEW CARD (big info card) ── */
.overview-box {
  background: var(--dark);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.overview-box.light {
  background: var(--light);
  border: 1.5px solid var(--border);
}

/* ── PRODUCT BUYING CARD ── */
.buying-journey-card {
  background: linear-gradient(135deg, rgba(11,122,90,0.08) 0%, rgba(255,165,0,0.06) 100%);
  border: 1.5px solid rgba(11,122,90,0.18);
  border-radius: var(--radius-lg);
  padding: 44px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}
.bjcard-mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bjcard-mini {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 18px;
  text-align: center;
  transition: all 0.25s;
}
.bjcard-mini:hover { background: rgba(11,122,90,0.1); border-color: rgba(11,122,90,0.25); }
.bjcard-mini-icon  { font-size: 1.6rem; margin-bottom: 8px; }
.bjcard-mini-label { font-size: 0.76rem; font-weight: 600; color: rgba(255,255,255,0.65); }

/* Dark buying card */
.buying-journey-card.dark {
  background: var(--dark2);
  border-color: rgba(11,122,90,0.2);
}
.buying-journey-card.dark h3 { color: var(--white); }
.buying-journey-card.dark p  { color: rgba(255,255,255,0.55); }

/* ── HIGHLIGHT BOX ── */
.highlight-box {
  background: linear-gradient(135deg, var(--orange) 0%, var(--amber) 100%);
  border-radius: var(--radius);
  padding: 32px;
  color: var(--white);
}
.highlight-box h3 { color: var(--white); margin-bottom: 10px; }
.highlight-box p  { color: rgba(255,255,255,0.8); font-size: 0.88rem; }

/* ── SCROLL ANIMATION ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }
.d4 { transition-delay: 0.4s; }
.d5 { transition-delay: 0.5s; }

/* ── TOAST ── */
#toast {
  position: fixed; bottom: 24px; right: 24px;
  background: var(--dark); color: var(--white);
  padding: 14px 22px; border-radius: 14px;
  font-size: 0.88rem; font-weight: 500;
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
  display: flex; align-items: center; gap: 10px;
  border-left: 3px solid var(--orange);
  transform: translateY(100px); opacity: 0;
  transition: all 0.3s; z-index: 9999;
}
#toast.show { transform: translateY(0); opacity: 1; }

/* ── MOBILE ── */
@media (max-width: 1024px) {
  .grid-3  { grid-template-columns: 1fr 1fr; }
  .grid-4  { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-steps::before { display: none; }
  .overview-box  { grid-template-columns: 1fr; }
  .buying-journey-card { grid-template-columns: 1fr; }
  .nav-links-wrap { display: none; }
  .mobile-btn { display: flex !important; }
}
@media (max-width: 640px) {
  section { padding: 64px 16px; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stats-row { gap: 20px; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .overview-box { padding: 28px; }
  .buying-journey-card { padding: 28px; }
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(246,246,246,1);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(11,122,90,0.1);
  transition: box-shadow 0.3s, top 0.15s ease;
}
.navbar.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.08); }
.navbar.no-flash  { top: 0; }
.nav-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center;
  height: 68px; padding: 0 0px; gap: 0px;
}
/* ── LOGO — supports image or text fallback ── */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: 32px;
  flex-shrink: 0;
  text-decoration: none;
}

/* Image logo: logo.png in site root */
.nav-logo-img {
  height: 54px;          /* navbar logo height */
  width: auto;
  max-width: 270px;
  object-fit: contain;
  display: block;
  transition: opacity 0.2s;
  border-radius: 8px;
}
.nav-logo:hover .nav-logo-img { opacity: 0.82; }

/* Text fallback — shows if image not found */
.nav-logo-text {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.5px;
  line-height: 1;
  transition: color 0.2s;
}
.nav-logo-text span { color: var(--orange); }
.nav-logo:hover .nav-logo-text { color: var(--orange); }

/* (footer logo styles are in the FOOTER section below) */

.nav-links-wrap { display: flex; align-items: center; flex: 1; gap: 2px; }
.nav-item { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: 4px;
  padding: 8px 13px; border-radius: 8px;
  font-size: 0.85rem; font-weight: 500;
  color: var(--mid); cursor: pointer;
  transition: all 0.18s; white-space: nowrap;
  text-decoration: none;
}
.nav-link:hover, .nav-link.active { background: var(--orange-pale); color: var(--orange); }
.nav-link.health-link { color: var(--orange); font-weight: 700; }
.nav-link.health-link:hover { background: var(--orange); color: var(--white); }
.nav-chevron { font-size: 0.6rem; transition: transform 0.2s; }
.nav-item:hover .nav-chevron { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--white);
  border: 1px solid rgba(11,122,90,0.12);
  border-radius: 16px;
  padding: 10px;
  min-width: 220px;
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.22s; z-index: 200;
}
.dropdown.wide { min-width: 460px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-section-title {
  grid-column: 1/-1;
  font-size: 0.68rem; font-weight: 700;
  color: var(--muted); letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 10px 4px;
}
.dropdown-link {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px; border-radius: 10px;
  font-size: 0.82rem; font-weight: 500; color: var(--mid);
  transition: all 0.15s; text-decoration: none;
}
.dropdown-link:hover { background: var(--orange-pale); color: var(--orange); }
.dl-icon {
  width: 30px; height: 30px;
  background: var(--orange-pale); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.88rem; flex-shrink: 0;
}
.dl-sub { font-size: 0.7rem; color: var(--muted); font-weight: 400; display: block; line-height: 1.3; }

.nav-right { display: flex; align-items: center; gap: 10px; margin-left: auto; flex-shrink: 0; }
.mobile-btn { display: none; background: none; border: none; font-size: 1.4rem; color: var(--dark); }

/* ============================================================
   FOOTER — Full Rebuild
   ============================================================ */
.site-footer {
  background: var(--dark);
  padding: 64px 24px 0;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}

/* ── Grid: brand + 6 link columns = 7 total ── */
.footer-grid {
  display: grid;
  grid-template-columns: 250px repeat(6, 1fr);
  gap: 28px 24px;
  padding-bottom: 48px;
}

/* ── Brand column ── */
.footer-brand {
  display: flex;
  flex-direction: column;
}
.footer-logo-link {
  display: block;
  line-height: 0;
  margin-bottom: 14px;
}
.footer-logo-img {
  height: 50px;
  width: auto;
  max-width: 250px;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
}
.footer-logo-img.no-invert {
  filter: none;
  background: transparent;
  border-radius: 8px;
  padding: 0;
  box-sizing: content-box;
}
.footer-logo-text {
  font-family: 'Syne', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1;
}
.footer-logo-text span { color: var(--orange-light); }

.footer-tagline {
  font-size: 0.68rem;
  font-weight: 700;
  color: rgba(255,255,255,0.78);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 10px;
  line-height: 1.5;
}
.footer-brand > p {
  font-size: 0.77rem;
  line-height: 1.75;
  color: rgba(160,159,159,1);
  margin: 0 0 18px;
}

/* ── Social icons ── */
.footer-social {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: auto;
}
.social-btn {
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.77rem;
  font-weight: 700;
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  transition: all 0.2s;
  font-family: 'DM Sans', sans-serif;
  flex-shrink: 0;
}
.social-btn:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  transform: translateY(-2px);
}

/* ── Link columns ── */
.footer-col { min-width: 0; }
.footer-col h4 {
  font-size: 0.67rem;
  font-weight: 700;
  color: rgba(255,255,255,0.78);
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
  font-size: 0.76rem;
  color: rgba(247,246,246,1);
  transition: color 0.18s;
  text-decoration: none;
  line-height: 1.5;
  display: inline-block;
}
.footer-col ul li a:hover { color: var(--orange-light); }

/* ── Divider ── */
.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.07);
  margin: 0;
}

/* ── Bottom bar ── */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 18px 0 24px;
}
.footer-copy {
  font-size: 0.7rem;
  color: rgba(246,246,246,1);
  line-height: 1.6;
}
.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}
.footer-links a {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.78);
  transition: color 0.18s;
  text-decoration: none;
  white-space: nowrap;
}
.footer-links a:hover { color: var(--orange-light); }

/* ── Responsive ── */
/* 1280–1050px: brand + 3 cols (6 link cols wrap to 2 rows) */
@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: 230px repeat(3, 1fr);
  }
}
/* 1050–900px: brand + 3 cols, tighter */
@media (max-width: 1000px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px 20px;
  }
  .footer-brand { grid-column: 1 / -1; }
}
/* 600px: 2 cols */
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px 16px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; gap: 12px; }
  .footer-copy { text-align: center; }
}
/* 380px: 1 col */
@media (max-width: 380px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════
   FLASH / TICKER BAR
   ══════════════════════════════════════════════════════ */
.flash-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1100;
  height: 36px;
  background: linear-gradient(90deg, #0D1040 0%, #1A0D35 40%, #0D1040 100%);
  border-bottom: 1px solid rgba(99,102,241,.3);
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Scrolling track */
.flash-track {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  mask-image: linear-gradient(90deg, transparent 0%, black 4%, black 96%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 4%, black 96%, transparent 100%);
}

.flash-content {
  display: inline-flex;
  align-items: center;
  animation: flashScroll 50s linear infinite;
  will-change: transform;
}
.flash-bar:hover .flash-content { animation-play-state: paused; }

@keyframes flashScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.flash-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.88);
  font-weight: 500;
  padding: 0 6px;
  font-family: 'DM Sans', sans-serif;
}

.flash-sep {
  color: rgba(255,255,255,0.78);
  font-size: 1rem;
  margin: 0 10px;
}

.flash-new {
  background: linear-gradient(135deg, #6366F1, #10B981);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  flex-shrink: 0;
  animation: flashPulse 2s ease-in-out infinite;
}

@keyframes flashPulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.7; }
}

.flash-cta {
  color: #a5b4fc;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.73rem;
  border-bottom: 1px dashed rgba(165,180,252,.4);
  transition: color 0.2s;
  white-space: nowrap;
}
.flash-cta:hover { color: #c7d2fe; border-bottom-color: #c7d2fe; }

.flash-close {
  width: 28px; height: 28px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 6px;
  color: rgba(255,255,255,0.78);
  font-size: 0.7rem;
  cursor: pointer;
  flex-shrink: 0;
  margin-right: 10px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
  font-family: 'DM Sans', sans-serif;
}
.flash-close:hover { background: rgba(255,255,255,.12); color: #fff; }

/* ── Investment nav tab badge ── */
.inv-link {
  color: #6366F1 !important;
  font-weight: 700 !important;
}
.inv-link:hover { background: rgba(99,102,241,.08) !important; color: #4F46E5 !important; }

.inv-new-badge {
  display: inline-block;
  background: linear-gradient(135deg, #6366F1, #10B981);
  color: #fff;
  font-size: 0.55rem;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  vertical-align: middle;
  margin: 0 2px;
  animation: flashPulse 2.5s ease-in-out infinite;
}

/* ── Wellness bridge nav link ── */
.wellness-nav-link {
  color: #0B7A5A !important;
  font-weight: 700 !important;
  border: 1.5px solid rgba(11,122,90,0.2) !important;
  border-radius: 8px !important;
}
.wellness-nav-link:hover {
  background: #E6F6EF !important;
  color: #075E44 !important;
  border-color: rgba(11,122,90,0.4) !important;
}

/* ══════════════════════════════════════════════════════
   WELLNESS BRIDGE BAR — sticky bottom on main site
   ══════════════════════════════════════════════════════ */
.wellness-bridge-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1050;
  background: linear-gradient(90deg, #021A0B 0%, #052E14 60%, #041E18 100%);
  border-top: 1.5px solid rgba(11,122,90,0.3);
  padding: 12px 24px;
  box-shadow: 0 -4px 30px rgba(0,0,0,0.25);
  animation: wbbSlideUp 0.5s ease 1.5s both;
}
@keyframes wbbSlideUp {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.wbb-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center;
  gap: 16px; flex-wrap: wrap;
}
.wbb-left {
  display: flex; align-items: center;
  gap: 12px; flex: 1; min-width: 0;
}
/* Pulsing green dot */
.wbb-pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #0B7A5A;
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(11,122,90,0.5);
  animation: wbbPulse 2s ease-in-out infinite;
}
@keyframes wbbPulse {
  0%   { box-shadow: 0 0 0 0   rgba(11,122,90,0.5); }
  70%  { box-shadow: 0 0 0 8px rgba(11,122,90,0); }
  100% { box-shadow: 0 0 0 0   rgba(11,122,90,0); }
}
.wbb-icon { font-size: 1.3rem; flex-shrink: 0; }
.wbb-text {
  display: flex; flex-direction: column;
  min-width: 0;
}
.wbb-text strong {
  font-size: 0.82rem; font-weight: 700;
  color: #6ee7b7; white-space: nowrap;
}
.wbb-text span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.wbb-right {
  display: flex; align-items: center;
  gap: 10px; flex-shrink: 0;
}
.wbb-btn {
  background: #0B7A5A;
  color: #fff;
  font-size: 0.8rem; font-weight: 700;
  padding: 8px 18px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
  border: none; cursor: pointer;
  font-family: 'DM Sans', sans-serif;
}
.wbb-btn:hover { background: #075E44; transform: translateY(-1px); }
.wbb-close {
  width: 28px; height: 28px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  color: rgba(255,255,255,0.4);
  font-size: 0.65rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
  font-family: 'DM Sans', sans-serif;
}
.wbb-close:hover { background: rgba(255,255,255,0.12); color: #fff; }
@media(max-width:640px) {
  .wbb-text span { display: none; }
  .wbb-text strong { font-size: 0.78rem; }
}

/* ── FIX: feature text on dark backgrounds ── */
.buying-journey-card.dark .feature-text { color: rgba(255,255,255,0.7); }
.buying-journey-card.dark .feature-text strong { color: var(--white); }

/* ── FIX: bjcard-mini labels on light backgrounds ── */
.buying-journey-card:not(.dark) .bjcard-mini-label { color: var(--mid); }
.buying-journey-card:not(.dark) .bjcard-mini { background: var(--light); border-color: var(--border); }


/* ══ LEGIBILITY FIXES (Optimicx theme) ══════════════════════════════ */
/* Dark "buying journey" card: all text readable on navy */
.buying-journey-card h3 { color: #fff; }
.buying-journey-card > div > p, .buying-journey-card p { color: rgba(255,255,255,0.82); }
.buying-journey-card .feature-text { color: rgba(255,255,255,0.85); }
.buying-journey-card .feature-text strong { color: #fff; }
.buying-journey-card .section-label { color: #34C79A; }
.buying-journey-card .bjcard-mini-label { color: rgba(255,255,255,0.85); }
.buying-journey-card:not(.dark) .bjcard-mini-label { color: var(--mid); }
.buying-journey-card:not(.dark) .feature-text { color: var(--mid); }
.buying-journey-card:not(.dark) h3 { color: var(--dark); }
.buying-journey-card:not(.dark) p { color: var(--mid); }
.buying-journey-card:not(.dark) .feature-text strong { color: var(--dark); }
/* Accent text sitting on dark navy uses the lighter green */
.hero .accent, .hero em, .hero h1 span.accent { color: #34C79A; }
/* Small coloured badges: keep text dark enough on tinted backgrounds */
.badge-amber { color: #7A5200 !important; }

/* Accent words inside dark hero sections use the light emerald so they stay readable on navy */
.hero em, .hero h1 em, .page-hero-dark em, .page-hero-dark h1 span, .hero-title em { color: #34C79A; }

/* decorative blobs must never take layout space */
.blob { position: absolute; border-radius: 50%; pointer-events: none; }
section[style*="gradient"] { position: relative; overflow: hidden; }


/* ══════════════════════════════════════════════════════════════════
   MOBILE-RESPONSIVE LAYER
   Appended last on purpose so it wins over the earlier rules and over
   per-page <style> blocks of equal specificity. Breakpoints:
     ≤1180  hamburger menu (desktop nav needs ~1150px)
     ≤1024  tablet layouts
     ≤768   phones / small tablets — everything stacks
     ≤480   small phones — tighter spacing
   ══════════════════════════════════════════════════════════════════ */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: clip; }
body { max-width: 100%; }
img, svg, video, canvas, iframe { max-width: 100%; }
h1, h2, h3, h4, p, li, td, th, a { overflow-wrap: break-word; }
.nav-mobile-cta { display: none; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; border-radius: 12px; }
.table-scroll > table { min-width: 560px; }

/* Desktop: keep the nav inside its container between 1181px and 1360px */
.nav-inner { padding: 0 24px; }
@media (max-width: 1360px) and (min-width: 1181px) {
  .nav-logo { margin-right: 16px; }
  .nav-link { padding: 8px 9px; font-size: 0.82rem; }
  .nav-right .btn-ghost { display: none; }
}

/* ── Hamburger / slide-down menu ── */
@media (max-width: 1180px) {
  .nav-inner { padding: 0 16px; }
  .nav-logo { margin-right: auto; }
  .nav-right { margin-left: 0; }
  .nav-right .btn-ghost,
  .nav-right .btn-primary { display: none; }
  .mobile-btn {
    display: flex !important; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 10px;
    background: var(--orange-pale); color: var(--orange-dark);
    font-size: 1.35rem; line-height: 1; flex-shrink: 0;
  }
  .nav-links-wrap { display: none; }
  .nav-links-wrap.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 2px;
    position: fixed; left: 0; right: 0; bottom: 0; top: var(--nav-bottom, 104px);
    padding: 12px 16px 32px; background: var(--white);
    overflow-y: auto; overscroll-behavior: contain;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12); z-index: 999;
  }
  body.menu-open { overflow: hidden; }
  .nav-links-wrap .nav-item { width: 100%; }
  .nav-links-wrap .nav-link {
    width: 100%; justify-content: space-between;
    padding: 14px 12px; font-size: 0.95rem; min-height: 48px;
    border-bottom: 1px solid var(--border); border-radius: 0;
  }
  .nav-links-wrap .nav-item.open > .nav-link { color: var(--orange); background: var(--orange-pale); border-radius: 10px 10px 0 0; }
  .nav-links-wrap .nav-item.open .nav-chevron { transform: rotate(180deg); }
  .nav-links-wrap .wellness-nav-link { margin-top: 8px; justify-content: center; border-radius: 10px !important; }
  /* Dropdowns become tap-to-expand accordions */
  .nav-links-wrap .dropdown,
  .nav-links-wrap .dropdown.wide {
    position: static; display: none; min-width: 0; width: 100%;
    opacity: 1; visibility: visible; transform: none; pointer-events: auto;
    box-shadow: none; border: 0; border-radius: 0 0 10px 10px;
    padding: 6px 6px 10px; background: var(--light);
  }
  .nav-links-wrap .nav-item.open > .dropdown { display: block; }
  .nav-links-wrap .nav-item.open > .dropdown.wide { display: grid; grid-template-columns: 1fr; gap: 2px; }
  .nav-links-wrap .dropdown-link { padding: 11px 10px; font-size: 0.9rem; }
  .nav-links-wrap .dropdown-section-title { padding: 10px 10px 4px; }
  .nav-mobile-cta { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
  .nav-mobile-cta .btn { width: 100%; justify-content: center; padding: 14px 18px; }
}

/* ── Tablet ── */
@media (max-width: 1024px) {
  .overview-box, .buying-journey-card { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* Inline two-column layouts with a large gap are page-level splits (hero/text+visual): stack them */
@media (max-width: 900px) {
  [style*="grid-template-columns"]:not([style*="gap:10px"]):not([style*="gap:12px"]):not([style*="gap:14px"]):not([style*="gap:16px"]) {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .page-hero [style*="max-width:480px"], .page-hero [style*="max-width:520px"] { max-width: 100% !important; }
  .legal-layout { grid-template-columns: 1fr !important; }
  .hero-grid { grid-template-columns: 1fr !important; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .grid-4, .grid-3 { grid-template-columns: 1fr 1fr; }
}

/* ── Phones ── */
@media (max-width: 768px) {
  body { padding-top: 104px; }
  section { padding: 56px 16px; }
  .section-sub { max-width: 100%; }
  section .wrap, section .wrap-sm, .wrap, .wrap-sm { padding-left: 0; padding-right: 0; }
  .page-hero { padding: 124px 20px 56px; }
  .inv-hero { padding: 124px 20px 56px !important; }
  h1 { font-size: clamp(1.75rem, 7vw, 2.3rem); line-height: 1.15; }
  h2 { font-size: clamp(1.45rem, 6vw, 1.9rem); line-height: 1.2; }
  h3 { font-size: 1.15rem; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; gap: 16px; }
  .grid-auto { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; gap: 28px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .stats-row { gap: 18px 28px; }
  .stat-item .stat-num { font-size: 1.6rem; }
  .overview-box { padding: 28px 20px; }
  .buying-journey-card { padding: 28px 20px; }
  .form-box { padding: 26px 18px; }
  .card { padding: 22px; }
  .card:hover, .tcard:hover { transform: none; }

  .btn { white-space: normal; text-align: center; justify-content: center; }
  .btn-lg { padding: 14px 22px; font-size: 0.95rem; }
  .page-hero .btn, .inv-hero .btn { max-width: 100%; }
  .cta-buttons { flex-direction: column; align-items: stretch; }
  .cta-buttons .btn { width: 100%; }
  .cta-banner { padding: 52px 20px; }

  /* Inputs at 16px stop iOS Safari zooming the page on focus */
  .form-group input, .form-group select, .form-group textarea,
  input, select, textarea { font-size: 16px !important; }

  /* Fixed-size decorative blobs must not widen the page */
  .blob, .page-hero .blob { max-width: 70vw; max-height: 70vw; }
  .inv-hero .b1, .inv-hero .b2 { max-width: 70vw; max-height: 70vw; }

  .trust-bar { padding: 14px 16px; }
  .trust-inner { justify-content: flex-start; gap: 10px 20px; }
  .trust-sep { display: none; }

  .compare-table th, .compare-table td { padding: 12px 14px; }
  .insurer-box { padding: 10px 16px; }
  .ind-chip { padding: 8px 14px; }
  .faq-q { padding: 16px; font-size: 0.88rem; }
  .faq-item.open .faq-a { max-height: 900px; }
  .faq-item.open .faq-a, .faq-a { padding-left: 16px; padding-right: 16px; }

  /* Wellness bridge bar (bottom): compact on phones */
  .wellness-bridge-bar { padding: 10px 14px; }
  .wbb-inner { flex-wrap: nowrap; gap: 10px; }
  .wbb-icon, .wbb-pulse { display: none; }
  .wbb-btn { padding: 8px 12px; font-size: 0.76rem; }
  #toast { left: 16px; right: 16px; bottom: 16px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .site-footer { padding: 48px 20px 0; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ── Small phones ── */
@media (max-width: 480px) {
  section { padding: 48px 16px; }
  .page-hero, .inv-hero { padding-left: 16px !important; padding-right: 16px !important; }
  .nav-logo-img { height: 44px; max-width: 200px; }
  .flash-item { font-size: 0.72rem; }
  .stats-row { gap: 16px 22px; }
  /* small-gap inline pairs (stat tiles etc.) keep two columns, but long text blocks stack */
  .hero-stats { grid-template-columns: 1fr 1fr !important; gap: 10px !important; }
  .hs-v { font-size: 1.25rem !important; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-links { gap: 10px 16px; }
}
@media (max-width: 360px) {
  .footer-grid { grid-template-columns: 1fr; }
  .nav-logo-img { max-width: 160px; }
}

/* Touch devices: no sticky hover-lift */
@media (hover: none) {
  .card:hover, .tcard:hover, .btn-primary:hover, .form-submit:hover { transform: none; }
}
/* Respect reduced-motion for the ticker and entrance effects */
@media (prefers-reduced-motion: reduce) {
  .flash-content, .badge-orange .dot, .wbb-pulse { animation: none !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Grid children may shrink below their content width (long words, wide tables) instead of widening the page */
.legal-layout > *, .overview-box > *, .buying-journey-card > *,
.grid-2 > *, .grid-3 > *, .grid-4 > *, .grid-auto > *,
[style*="grid-template-columns"] > * { min-width: 0; }

/* Small tiles inside cards: allow shrinking, tighten padding on narrow phones */
.bjcard-mini-grid > * { min-width: 0; }
@media (max-width: 480px) {
  .bjcard-mini-grid { gap: 10px; }
  .bjcard-mini { padding: 14px 8px; }
  .bjcard-mini-label { overflow-wrap: anywhere; }
}

/* backdrop-filter on the navbar would make it the containing block for the fixed mobile menu panel */
@media (max-width: 1180px) {
  .navbar { -webkit-backdrop-filter: none; backdrop-filter: none; }
}
/* Full-width hero/CTA buttons on phones */
@media (max-width: 480px) {
  [style*="display:flex"][style*="flex-wrap:wrap"] > .btn-lg { flex: 1 1 100%; }
}
body.menu-open .wellness-bridge-bar { display: none; }

/* Accent words inside dark page heroes stay readable (legal pages use a dark hero with <em>) */
section[style*="background:var(--dark)"] h1 em, .page-hero h1 em { color: #34C79A; }
.legal-hero h1 em { color: #34C79A; }
