/*
 Theme Name:   Virginia Institute of Family Medicine — Divi Child
 Theme URI:    https://vifamilymed.org
 Template:     Divi
 Description:  Divi child theme for the Virginia Institute of Family Medicine landing page. Ships a fullwidth "VIFM Landing" page template, all section styles, and the Fraunces / Inter Tight / JetBrains Mono web fonts. The actual CSS lives in this file (loaded automatically by WordPress as the child stylesheet) and is enqueued AFTER the Divi parent stylesheet by functions.php.
 Author:       VIFM
 Version:      1.0.0
 Text Domain:  vifm-child
*/

/* ============================================================
   VIFM Landing — design tokens and base styles
   Migrated 1:1 from the original styles.css.
   Scoped under .vifm-landing so it does not bleed into normal
   Divi-built pages on the same site.
   ============================================================ */
p {
    padding-bottom: initial;
}
.vifm-landing {
  --plum: #8a0055;
  --plum-dark: #6d0043;
  --plum-soft: #fbf3f7;
  --teal: #078797;
  --teal-dark: #0685a4;
  --teal-soft: #f0f8f9;
  --ink: #155E75;
  --ink-soft: #2a343f;
  --muted: #5b6772;
  --muted-2: #6e7a85;
  --bg: #ffffff;
  --bg-soft: #f7fafb;
  --bg-warm: #faf7f4;
  --line: #e6eef1;
  --line-strong: #d3dde2;

  --font-serif: "Fraunces", "Source Serif Pro", Georgia, serif;
  --font-sans: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  /* --font-mono is aliased to the brand serif. Per client preference,
   * no monospaced font is used anywhere on the site; the variable is
   * kept so existing selectors keep working without touching 16 rules. */
  --font-mono: "Fraunces", "Source Serif Pro", Georgia, serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 2px rgba(31, 41, 51, 0.04), 0 1px 3px rgba(31, 41, 51, 0.03);
  --shadow-md: 0 1px 2px rgba(31, 41, 51, 0.04), 0 8px 24px -12px rgba(31, 41, 51, 0.10);
  --shadow-lg: 0 2px 4px rgba(31, 41, 51, 0.04), 0 24px 48px -20px rgba(31, 41, 51, 0.18);
  --shadow-plum: 0 12px 32px -16px rgba(138, 0, 85, 0.35);

  --container: 1640px;
  --pad: clamp(20px, 4vw, 48px);

  --section-y: clamp(72px, 9vw, 128px);

  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.vifm-landing *,
.vifm-landing *::before,
.vifm-landing *::after { box-sizing: border-box; }

.vifm-landing a { color: inherit; text-decoration: none; }
.vifm-landing button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
.vifm-landing img { max-width: 100%; display: block; }

/* ---------- Layout ---------- */

.vifm-landing .container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.vifm-landing .section {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}

.vifm-landing .section--tight { padding-top: clamp(56px, 6vw, 88px); padding-bottom: clamp(56px, 6vw, 88px); }
.vifm-landing .section--soft { background: var(--bg-soft); }
.vifm-landing .section--warm { background: var(--bg-warm); }

/* ---------- Top micro-bar ---------- */

.vifm-landing .microbar {
  background: var(--ink);
  color: #e8eef3;
  font-size: 13px;
  letter-spacing: 0.01em;
  padding: 10px var(--pad);
}
.vifm-landing .microbar__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.vifm-landing .microbar__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 16px;
}
.vifm-landing .microbar__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(7, 135, 151, 0.18);
}
.vifm-landing .microbar__signature {
  font-family: var(--font-serif);
  color: #c8d2db;
  font-size: 13.5px;
}
.vifm-landing .microbar__meta {
  display: flex;
  gap: 22px;
  align-items: center;
  color: #b9c4cf;
}
.vifm-landing .microbar__meta a { transition: color .2s; }
.vifm-landing .microbar__meta a:hover { color: #fff; }

@media (max-width: 760px) {
  .vifm-landing .microbar__meta { display: none; }
  .vifm-landing .microbar__signature { display: none; }
}

/* ---------- Header ---------- */

.vifm-landing .vifm-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, background .25s;
}
.vifm-landing .vifm-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.92);
}
.vifm-landing .vifm-header__inner {
  max-width: 100% !important;
  margin: 0 auto;
  padding: 18px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.vifm-landing .logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.vifm-landing .logo__mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}
.vifm-landing .logo__word {
  font-family: var(--font-serif);
  font-size: 19px;
  letter-spacing: -0.01em;
  line-height: 1.05;
  font-weight: 500;
  color: var(--ink);
}
.vifm-landing .logo__word small {
  display: block;
  font-family: var(--font-sans);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
  font-weight: 500;
}

.vifm-landing .nav {
  display: flex;
  gap: 15px;
  align-items: center;
}
.vifm-landing .nav a {
  font-size: 14.5px;
  color: var(--ink-soft);
  font-weight: 500;
  position: relative;
  padding: 4px 0;
  transition: color .2s;
	font-weight:bold;
}
.vifm-landing .nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 1.5px;
  background: var(--plum);
  transition: right .25s ease;
}
.vifm-landing .nav a:hover { color: var(--teal-dark); }
.vifm-landing .nav a:hover::after { right: 0; }

.vifm-landing .vifm-header__cta { display: flex; align-items: center; gap: 14px; }

.vifm-landing .menu-btn { display: none; }

@media (max-width: 920px) {
  .vifm-landing .nav { display: none; }
  .vifm-landing .menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border-radius: 10px;
    border: 1px solid var(--line);
  }
  .vifm-landing .vifm-header__cta .btn span.long { display: none; }
}

/* ---------- Buttons ---------- */

.vifm-landing .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.005em;
  transition: transform .2s ease, box-shadow .25s ease, background .2s ease, color .2s ease, border-color .2s;
  white-space: nowrap;
  border: 1px solid transparent;
}
.vifm-landing .btn:active { transform: translateY(1px); }
.vifm-landing .btn--primary {
  background: var(--teal-dark);
  color: #fff;
  box-shadow: var(--shadow-plum);
}
.vifm-landing .btn--primary:hover {
  background: var(--plum-dark);
  box-shadow: 0 18px 40px -16px rgba(138, 0, 85, 0.55);
}
.vifm-landing .btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.vifm-landing .btn--ghost:hover {
  border-color: var(--teal);
  color: var(--teal-dark);
  background: var(--teal-soft);
}
.vifm-landing .btn--teal {
  background: var(--teal);
  color: #fff;
}
.vifm-landing .btn--teal:hover { background: var(--teal-dark); }
.vifm-landing .btn--lg { padding: 16px 28px; font-size: 15.5px; }
.vifm-landing .btn--sm { padding: 10px 16px; font-size: 13.5px; }

.vifm-landing .btn .arrow {
  display: inline-flex;
  transition: transform .25s ease;
}
.vifm-landing .btn:hover .arrow { transform: translateX(3px); }

/* ---------- Type ---------- */

.vifm-landing .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--teal-dark);
  font-weight: 600;
}
.vifm-landing .eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: #1e1e1e;
}

.vifm-landing .h-display {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(40px, 6.2vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  text-wrap: balance;
}
.vifm-landing .h-display em {
  font-style: normal;
  color: var(--teal-dark);
  font-variation-settings: "opsz" 144, "SOFT" 30;
}

.vifm-landing .h-section {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(30px, 3.8vw, 50px);
  line-height: 1.06;
  letter-spacing: -0.022em;
  margin: 0;
  text-wrap: balance;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
.vifm-landing .h-section em {
  font-style: normal;
  color: var(--teal-dark);
  font-variation-settings: "opsz" 144, "SOFT" 30;
}

.vifm-landing .h-card {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0;
}

.vifm-landing .lede {
  font-size: 19px;
  color: var(--muted);
  line-height: 1.55;
  max-width: 56ch;
  text-wrap: pretty;
}
.vifm-landing .lede--lg { font-size: 21px; }

/* ---------- Hero ---------- */

.vifm-landing .hero {
  padding-top: clamp(56px, 7vw, 40px);
  padding-bottom: clamp(72px, 9vw, 40px);
  position: relative;
  overflow: hidden;
}
.vifm-landing .hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.vifm-landing .hero__copy { max-width: 620px; }
.vifm-landing .hero h1 { margin-top: 22px; }
.vifm-landing .hero__sub {
  margin-top: 10px;
  font-size: 20px;
  color: var(--muted);
  line-height: 1.5;
  max-width: 52ch;
  text-wrap: pretty;
}
.vifm-landing .hero__signature {
  margin-top: 28px;
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--teal-dark);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.vifm-landing .hero__signature::before {
  content: '';
  width: 36px;
  height: 1px;
  background: var(--plum);
  opacity: 0.5;
}

.vifm-landing .hero__ctas {
  margin-top: 20px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.vifm-landing .hero__micro {
  margin-top: 22px;
  font-size: 13.5px;
  color: var(--muted-2);
  display: flex;
  align-items: center;
  gap: 10px;
}
.vifm-landing .hero__micro svg { color: var(--teal); flex-shrink: 0; }

.vifm-landing .hero__visual {
  position: relative;
  align-self: stretch;
  min-height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vifm-landing .hero-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-lg);
  z-index: 2;
}
.vifm-landing .hero-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.vifm-landing .hero-card__top-label {
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.vifm-landing .hero-card__pulse {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--teal-dark);
  font-weight: 500;
}
.vifm-landing .hero-card__pulse-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--teal);
  animation: vifmPulseDot 2.4s ease-in-out infinite;
}
@keyframes vifmPulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(7,135,151,0.5); }
  70% { box-shadow: 0 0 0 8px rgba(7,135,151,0); }
}

.vifm-landing .hero-card__quote {
  font-family: var(--font-serif);
  font-size: 26px;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 26px 0;
  font-variation-settings: "opsz" 144, "SOFT" 50;
}
.vifm-landing .hero-card__quote em { font-style: normal; color: var(--teal-dark); }

.vifm-landing .hero-card__pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 28px;
}
.vifm-landing .hero-card__pillar {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
}
.vifm-landing .hero-card__pillar-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--teal-dark);
}
.vifm-landing .hero-card__pillar-name {
  font-family: var(--font-serif);
  font-size: 16.5px;
  margin-top: 4px;
  color: var(--ink);
}

.vifm-landing .hero-card__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.vifm-landing .hero-card__doc {
  display: flex;
  align-items: center;
  gap: 12px;
}
.vifm-landing .hero-card__avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--plum), var(--teal));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 500;
}
.vifm-landing .hero-card__doc-name {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.2;
}
.vifm-landing .hero-card__doc-role {
  font-size: 12px;
  color: var(--muted);
}

.vifm-landing .hero__ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}
.vifm-landing .hero__shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
}
.vifm-landing .hero__shape--plum {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(138,0,85,0.18), transparent 70%);
  right: -120px;
  top: -80px;
}
.vifm-landing .hero__shape--teal {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(7,135,151,0.16), transparent 70%);
  right: 80px;
  bottom: -100px;
}

.vifm-landing .hero__floater {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
}
.vifm-landing .hero__floater--top {
  top: 30px;
  right: -10px;
  animation: vifmFloatA 6s ease-in-out infinite;
}
.vifm-landing .hero__floater--bot {
  bottom: 40px;
  left: -20px;
  animation: vifmFloatB 7s ease-in-out infinite;
}
@keyframes vifmFloatA {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes vifmFloatB {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.vifm-landing .hero__floater-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--plum-soft);
  color: var(--plum);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.vifm-landing .hero__floater--bot .hero__floater-icon {
  background: var(--teal-soft);
  color: var(--teal-dark);
}
.vifm-landing .hero__floater-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  font-weight: 600;
}
.vifm-landing .hero__floater-value {
  font-family: var(--font-serif);
  font-size: 15.5px;
  color: var(--ink);
  margin-top: 2px;
  line-height: 1;
}

@media (max-width: 980px) {
  .vifm-landing .hero__inner { grid-template-columns: 1fr; }
  .vifm-landing .hero__visual { min-height: 480px; }
  .vifm-landing .hero__floater--top { right: 0; }
  .vifm-landing .hero__floater--bot { left: 0; }
}

/* ---------- Care pathway section ---------- */

.vifm-landing .care { position: relative; }
.vifm-landing .care__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.vifm-landing .care__head-copy { max-width: 640px; }
.vifm-landing .care__head h2 { margin-top: 18px; }
.vifm-landing .care__head p { margin: 18px 0 0; }

.vifm-landing .care__legend {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  color: var(--muted-2);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.vifm-landing .care__legend-line {
  width: 32px;
  height: 1px;
  background: var(--line-strong);
}

.vifm-landing .care__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.vifm-landing .path-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  min-height: 460px;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, border-color .25s;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.vifm-landing .path-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(138,0,85,0.04));
  opacity: 0;
  transition: opacity .35s;
  pointer-events: none;
}
.vifm-landing .path-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line-strong);
}
.vifm-landing .path-card:hover::before { opacity: 1; }

.vifm-landing .path-card--featured {
  background: linear-gradient(180deg, #fff 0%, var(--plum-soft) 140%);
  border-color: rgba(138, 0, 85, 0.2);
}
.vifm-landing .path-card--featured .path-card__icon-wrap {
  background: var(--plum);
  color: #fff;
}

.vifm-landing .path-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 28px;
}
.vifm-landing .path-card__icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .35s ease;
}
.vifm-landing .path-card:hover .path-card__icon-wrap { transform: rotate(-4deg) scale(1.05); }

.vifm-landing .path-card__index {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted-2);
  display: none;
}

.vifm-landing .path-card__eyebrow {
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 8px;
}
.vifm-landing .path-card__title {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
  margin: 0;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}

.vifm-landing .path-card__desc {
  margin-top: 18px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.55;
}

.vifm-landing .path-card__features {
  margin-top: 24px;
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.vifm-landing .path-card__features li {
  font-size: 13.5px;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 10px;
}
.vifm-landing .path-card__features svg {
  color: var(--teal);
  flex-shrink: 0;
}

.vifm-landing .path-card__cta {
  margin-top: auto;
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px dashed var(--line-strong);
}
.vifm-landing .path-card__cta-text {
  font-size: 14.5px;
  color: var(--plum);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.vifm-landing .path-card__arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: background .25s, color .25s, transform .25s;
}
.vifm-landing .path-card:hover .path-card__arrow {
  background: var(--plum);
  color: #fff;
  transform: rotate(-45deg);
}
.vifm-landing .path-card--featured .path-card__cta-text { color: var(--plum-dark); }

@media (max-width: 880px) {
  .vifm-landing .care__grid { grid-template-columns: 1fr; gap: 18px; }
  .vifm-landing .path-card { min-height: auto; }
}

/* ---------- Trust pillars ---------- */

.vifm-landing .pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 64px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.vifm-landing .pillar {
  padding: 36px 28px;
  border-right: 1px solid var(--line);
  position: relative;
}
.vifm-landing .pillar:last-child { border-right: 0; }
.vifm-landing .pillar__num {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--teal-dark);
  margin-bottom: 18px;
}
.vifm-landing .pillar__title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin: 0 0 10px;
  color: var(--ink);
}
.vifm-landing .pillar__desc {
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}
@media (max-width: 880px) {
  .vifm-landing .pillars { grid-template-columns: repeat(2, 1fr); }
  .vifm-landing .pillar { border-bottom: 1px solid var(--line); }
  .vifm-landing .pillar:nth-child(even) { border-right: 0; }
  .vifm-landing .pillar:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 520px) {
  .vifm-landing .pillars { grid-template-columns: 1fr; }
  .vifm-landing .pillar { border-right: 0; border-bottom: 1px solid var(--line); }
  .vifm-landing .pillar:last-child { border-bottom: 0; }
}

/* ---------- Care model (4 step) ---------- */

.vifm-landing .model {
  background: linear-gradient(180deg, #ffffff 0%, #f7fafb 100%);
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: clamp(48px, 6vw, 80px);
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px -32px rgba(10, 31, 51, 0.18);
}
.vifm-landing .model__head { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-bottom: 64px; }

/* Brand callout in the right column of the Care Model head — seamless,
 * no separate background, sits on the dark navy panel as flush content
 * (icon + title + desc + pill CTA). */
.vifm-landing .model__brand {
  max-width: 420px;
  margin-left: auto;
  color: var(--ink-soft);
}
.vifm-landing .model__brand-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--plum);
  margin-bottom: 16px;
}
.vifm-landing .model__brand-icon svg { width: 100%; height: 100%; }
.vifm-landing .model__brand-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(20px, 1.9vw, 24px);
  line-height: 1.2;
  letter-spacing: -0.014em;
  color: var(--ink);
  margin: 0 0 12px;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
.vifm-landing .model__brand-desc {
  font-family: var(--font-sans);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 20px;
}
.vifm-landing .model__brand-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: var(--plum);
  color: #fff;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .25s ease;
  margin-top: 10px;
  box-shadow: 0 14px 28px -14px rgba(138, 0, 85, 0.45);
}
.vifm-landing .model__brand-cta:hover {
  background: var(--plum-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 16px 30px -12px rgba(138, 0, 85, 0.55);
}
.vifm-landing .model__brand-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
}

@media (max-width: 880px) {
  .vifm-landing .model__brand { max-width: none; margin-left: 0; }
}

.vifm-landing .model .eyebrow { color: var(--teal-dark); }
.vifm-landing .model .eyebrow::before { background: var(--teal); }
.vifm-landing .model__head h2 { color: var(--ink); margin-top: 18px; }
.vifm-landing .model__head h2 em { color: var(--teal-dark); }
.vifm-landing .model__head p { color: var(--ink-soft); margin: 0; max-width: 44ch; }

.vifm-landing .model__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.vifm-landing .model__step { padding: 0 28px 0 0; position: relative; }
.vifm-landing .model__step + .model__step {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}
.vifm-landing .model__step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(7, 135, 151, 0.10);
  border: 1px solid rgba(7, 135, 151, 0.32);
  color: var(--teal-dark);
  font-family: var(--font-serif);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}
.vifm-landing .model__step-title {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 400;
  margin: 18px 0 14px;
  color: var(--ink);
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
.vifm-landing .model__step-desc {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0;
}
.vifm-landing .model__shape {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(138,0,85,0.10), transparent 70%);
  filter: blur(70px);
  right: -200px;
  top: -200px;
  pointer-events: none;
}
@media (max-width: 880px) {
  .vifm-landing .model__head { grid-template-columns: 1fr; gap: 24px; }
  .vifm-landing .model__steps { grid-template-columns: 1fr 1fr; gap: 32px 0; }
  .vifm-landing .model__step:nth-child(3) { border-left: 0; }
}
@media (max-width: 520px) {
  .vifm-landing .model__steps { grid-template-columns: 1fr; }
  .vifm-landing .model__step { padding: 0 0 0 0; }
  .vifm-landing .model__step + .model__step { border-left: 0; padding-left: 0; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.1); margin-top: 28px; }
}

/* ---------- Services preview ---------- */

.vifm-landing .services { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.vifm-landing .services__copy { position: sticky; top: 100px; }
.vifm-landing .services__copy h2 { margin-top: 18px; }
.vifm-landing .services__copy p { margin: 22px 0 0; }
.vifm-landing .services__cta { margin-top: 32px; }
.vifm-landing .services__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.vifm-landing .svc {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  transition: border-color .25s, transform .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 180px;
}
.vifm-landing .svc:hover {
  border-color: var(--teal);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.vifm-landing .svc__icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.vifm-landing .svc__title {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
}
.vifm-landing .svc__desc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}
.vifm-landing .svc__more {
  margin-top: auto;
  font-size: 12.5px;
  color: var(--plum);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}
@media (max-width: 980px) {
  .vifm-landing .services { grid-template-columns: 1fr; }
  .vifm-landing .services__copy { position: static; }
}
@media (max-width: 560px) {
  .vifm-landing .services__list { grid-template-columns: 1fr; }
}

/* ---------- About / quote ---------- */

.vifm-landing .about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.vifm-landing .about__copy h2 { margin-top: 18px; }
.vifm-landing .about__lede { margin: 26px 0 0; font-size: 18px; color: var(--muted); line-height: 1.6; max-width: 50ch; }
.vifm-landing .about__stats {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.vifm-landing .about__stat-num {
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 500;
  color: var(--plum);
  letter-spacing: -0.02em;
  line-height: 1;
}
.vifm-landing .about__stat-label {
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.vifm-landing .quote-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-md);
  position: relative;
}
.vifm-landing .quote-card__mark {
  position: absolute;
  top: 28px;
  left: 28px;
  color: var(--plum);
  opacity: 0.18;
  font-family: var(--font-serif);
  font-size: 100px;
  line-height: 0.8;
}
.vifm-landing .quote-card__text {
  font-family: var(--font-serif);
  font-size: 24px;
  line-height: 1.32;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 36px 0 0;
  font-variation-settings: "opsz" 144, "SOFT" 50;
}
.vifm-landing .quote-card__text em { font-style: normal; color: var(--teal-dark); }
.vifm-landing .quote-card__attr {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 14px;
}
.vifm-landing .quote-card__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--plum), var(--teal));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 17px;
}
.vifm-landing .quote-card__attr-name {
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.2;
}
.vifm-landing .quote-card__attr-role {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 2px;
}
@media (max-width: 880px) {
  .vifm-landing .about { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .vifm-landing .about__stats { grid-template-columns: 1fr; gap: 18px; }
}

/* ---------- Different ---------- */

.vifm-landing .diff__head { max-width: 720px; margin-bottom: 56px; }
.vifm-landing .diff__head h2 { margin-top: 18px; }
.vifm-landing .diff__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.vifm-landing .diff-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  display: flex;
  flex-direction: column;
}
.vifm-landing .diff-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}
.vifm-landing .diff-card__num {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  color: var(--plum);
  margin-bottom: 22px;
}
.vifm-landing .diff-card__title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.018em;
  margin: 0;
  color: var(--ink);
  line-height: 1.18;
}
.vifm-landing .diff-card__desc {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}
.vifm-landing .diff-card__rule {
  height: 1px;
  background: linear-gradient(90deg, var(--plum), transparent);
  margin: 28px 0 0;
  opacity: 0.4;
}
.vifm-landing .diff-card__tag {
  margin-top: 22px;
  font-size: 12.5px;
  color: var(--teal-dark);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}
@media (max-width: 880px) {
  .vifm-landing .diff__grid { grid-template-columns: 1fr; }
}

/* ---------- Final CTA ---------- */

.vifm-landing .final {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(56px, 7vw, 100px) clamp(32px, 5vw, 80px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.vifm-landing .final__shape {
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(138,0,85,0.4), transparent 65%);
  filter: blur(70px);
  left: 50%;
  top: 60%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.vifm-landing .final__inner { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; }
.vifm-landing .final h2 { color: #fff; }
.vifm-landing .final h2 em { color: #ffffff; }
.vifm-landing .final p { color: #c8d2db; font-size: 19px; margin: 22px 0 0; }
.vifm-landing .final__ctas { margin-top: 40px; display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.vifm-landing .final .btn--ghost { color: #fff; border-color: rgba(255,255,255,0.2); background: transparent; }
.vifm-landing .final .btn--ghost:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.4); color: #fff; }
.vifm-landing .final__note {
  margin-top: 24px;
  font-size: 13px;
  color: #8d97a2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ---------- Footer ---------- */

.vifm-landing .vifm-footer {
  padding: 64px var(--pad) 36px;
  background: #fff;
  border-top: 1px solid var(--line);
}
.vifm-landing .vifm-footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
}
.vifm-landing .vifm-footer__brand .logo__word { font-size: 18px; }
.vifm-landing .vifm-footer__tag {
  margin-top: 18px;
  font-family: var(--font-serif);
  font-size: 17px;
  color: var(--muted);
  max-width: 30ch;
}
.vifm-landing .vifm-footer__col-title {
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 600;
  margin-bottom: 18px;
}
.vifm-landing .vifm-footer__list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.vifm-landing .vifm-footer__list a { font-size: 14px; color: var(--ink-soft); transition: color .2s; }
.vifm-landing .vifm-footer__list a:hover { color: var(--teal-dark); }
.vifm-landing .vifm-footer__bottom {
  max-width: var(--container);
  margin: 56px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  text-align: center;
  font-size: 12.5px;
  color: var(--muted);
}
.vifm-landing .vifm-footer__legal { display: flex; gap: 22px; }
@media (max-width: 760px) {
  .vifm-landing .vifm-footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .vifm-landing .vifm-footer__inner { grid-template-columns: 1fr; }
}

/* ---------- Section heads ---------- */

.vifm-landing .section-head {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 56px;
  max-width: 760px;
}

/* ---------- Reveal animation ---------- */

.vifm-landing [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1);
}
.vifm-landing [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ---------- Text colors ---------- */
.vifm-landing .t-plum { color: var(--teal-dark); }
.vifm-landing .t-teal { color: var(--teal-dark); }
.vifm-landing .t-muted { color: var(--muted); }

@media (max-width: 520px) {
  .vifm-landing .hero-card { padding: 24px; }
  .vifm-landing .hero-card__quote { font-size: 22px; }
  .vifm-landing .hero__floater { display: none; }
}

/* The page template is self-contained (no get_header()/get_footer() calls),
   so Divi's #main-header / #main-footer never render on the landing page.
   No need for chrome-suppression rules here. */
body.page-template-template-vifm-landing { margin: 0; padding: 0; }


/* ============================================================
   REVAMP — additions per docs/blueprint.md
   ============================================================ */

/* ---------- Global a11y / readability pass ---------- */

.vifm-landing :focus-visible {
  outline: 2px solid var(--plum);
  outline-offset: 3px;
  border-radius: 6px;
}
.vifm-landing .btn:focus-visible {
  outline-offset: 4px;
}

/* Honor reduced-motion for everything decorative. */
@media (prefers-reduced-motion: reduce) {
  .vifm-landing *,
  .vifm-landing *::before,
  .vifm-landing *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .vifm-landing [data-reveal] { opacity: 1; transform: none; }
}

/* Mobile tap-target floor. */
@media (max-width: 760px) {
  .vifm-landing .btn { min-height: 44px; }
  .vifm-landing .btn--lg { min-height: 56px; padding: 16px 22px; }
}

/* ---------- Microbar enhancements ---------- */

.vifm-landing .microbar { font-size: 13.5px; }
.vifm-landing .microbar__inner { flex-wrap: wrap; row-gap: 8px; }
.vifm-landing .microbar__meta {
  gap: 18px;
  font-size: 13.5px;
  color: #c8d2db;
  align-items: center;
}
.vifm-landing .microbar__meta a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #d4dde6;
  transition: color .2s;
}
.vifm-landing .microbar__meta a:hover { color: #fff; }

.vifm-landing .microbar__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(95, 182, 196, 0.16);
  border: 1px solid rgba(95, 182, 196, 0.35);
  color: #a6e0ea;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.vifm-landing .microbar__pill-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #5fb6c4;
  box-shadow: 0 0 0 0 rgba(95, 182, 196, 0.6);
  animation: vifmPulseDot 2.4s ease-in-out infinite;
}
.vifm-landing .microbar__hours {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #b9c4cf;
}
.vifm-landing .microbar__phone {
  font-weight: 600;
  color: #ffffff !important;
}

@media (max-width: 760px) {
  .vifm-landing .microbar { padding: 8px var(--pad); }
  .vifm-landing .microbar__signature,
  .vifm-landing .microbar__hours,
  .vifm-landing .microbar__portal { display: none; }
  .vifm-landing .microbar__meta { display: flex; gap: 12px; }
  .vifm-landing .microbar__pill { padding: 3px 10px; font-size: 11.5px; }
}

/* ---------- Header dual-CTA + mobile nav ---------- */

.vifm-landing .vifm-header__logo-link { display: inline-flex; }

.vifm-landing .vifm-header__call {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.vifm-landing .vifm-header__call .short { display: none; }

.vifm-landing .vifm-mobile-nav {
  display: none;
  flex-direction: column;
  padding: 16px var(--pad) 24px;
  background: #fff;
  border-top: 1px solid var(--line);
  gap: 4px;
}
.vifm-landing .vifm-mobile-nav a {
  font-size: 17px;
  padding: 14px 4px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}
.vifm-landing .vifm-mobile-nav a:last-child { border-bottom: 0; }

.vifm-landing .vifm-mobile-nav.is-open { display: flex; }

@media (max-width: 1080px) {
  .vifm-landing .nav { gap: 22px; }
  .vifm-landing .vifm-header__cta { gap: 10px; }
  .vifm-landing .vifm-header__call .long { display: none; }
  .vifm-landing .vifm-header__call .short { display: inline; }
}

@media (max-width: 920px) {
  .vifm-landing .vifm-header__inner { padding: 14px var(--pad); }
  .vifm-landing .vifm-header__cta .btn--primary .long { display: none; }
  .vifm-landing .vifm-header__cta .btn--primary .short { display: inline; }
}

@media (max-width: 540px) {
  /* On very small screens, hide the inline call button — sticky mobile CTA covers it. */
  .vifm-landing .vifm-header__call { display: none; }
}

/* ---------- Trust strip (hero + final CTA) ---------- */

.vifm-landing .trust-strip {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  align-items: center;
}
.vifm-landing .trust-strip li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
}
.vifm-landing .trust-strip svg { color: var(--teal-dark); flex-shrink: 0; }

.vifm-landing .trust-strip--hero {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.vifm-landing .trust-strip--final {
  justify-content: center;
  margin-top: 28px;
}
.vifm-landing .trust-strip--final li {
  color: #d8e0e8;
  font-size: 13.5px;
}
.vifm-landing .trust-strip--final svg { color: #5fb6c4; }

/* ---------- Hero reassurance + physician anchor ---------- */

.vifm-landing .hero__reassure {
  margin: 18px 0 0;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.vifm-landing .hero__reassure svg { color: var(--teal-dark); flex-shrink: 0; }

.vifm-landing .hero-card__doc-block {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0 22px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 6px;
}
.vifm-landing .hero-card__doc-portrait {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--plum), var(--teal));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
}
.vifm-landing .hero-card__doc-name {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.vifm-landing .hero-card__doc-role {
  font-size: 13px;
  color: var(--teal-dark);
  font-weight: 600;
  margin-top: 4px;
  letter-spacing: 0.01em;
}
.vifm-landing .hero-card__doc-meta {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 2px;
}

.vifm-landing .hero-card__credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 4px;
}

.vifm-landing .cred-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-soft);
}
.vifm-landing .cred-chip svg { color: var(--teal-dark); }

.vifm-landing .cred-chip--lg {
  padding: 9px 14px;
  font-size: 13.5px;
  background: #fff;
  border-color: var(--line-strong);
}

.vifm-landing .hero-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  color: var(--plum);
  font-weight: 600;
}

/* Increase hero subhead readability and contrast. */
.vifm-landing .hero__sub {
  color: var(--ink-soft);
  font-size: 20px;
}

/* ---------- Care path cards — promoted decision module ---------- */

.vifm-landing .path-card {
  cursor: default;
  position: relative;
}
/* Stretched-link pattern: whole card becomes clickable through the CTA. */
.vifm-landing .path-card .path-card__cta::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
}
.vifm-landing .path-card__bestfor {
  margin-top: 14px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--teal-dark);
  letter-spacing: 0.005em;
}
.vifm-landing .path-card__features li { font-size: 14.5px; }

.vifm-landing .path-card .path-card__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  margin-top: auto;
  background: var(--teal-dark);
  color: #fff;
  border-radius: 999px;
  border: 0;
  transition: background .2s ease, transform .2s ease;
  font-weight: 600;
  font-size: 14.5px;
  margin-top:24px;
}
.vifm-landing .path-card .path-card__cta:hover {
  background: var(--plum);
  transform: translateY(-1px);
}
.vifm-landing .path-card .path-card__cta-text { color: #fff; }
.vifm-landing .path-card .path-card__arrow {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  width: 32px; height: 32px;
}
.vifm-landing .path-card:hover .path-card__arrow {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
  transform: none;
}
.vifm-landing .path-card--featured .path-card__cta {
  background: var(--plum);
}
.vifm-landing .path-card--featured .path-card__cta:hover { background: var(--plum-dark); }

.vifm-landing .path-card__note {
  margin: 14px 0 0;
  font-size: 12.5px;
  color: var(--muted);
  text-align: center;
  letter-spacing: 0.005em;
}

/* ---------- Physician section (NEW — trust apex) ---------- */

.vifm-landing .physician__inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.vifm-landing .physician__portrait {
  position: relative;
  aspect-ratio: 1 / 1.1;
  width: 100%;
  max-width: 440px;
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, #f4d6e6 0%, #d8eef0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}
.vifm-landing .physician__portrait::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.55), transparent 60%);
  pointer-events: none;
}
.vifm-landing .physician__portrait-initials {
  position: relative;
  font-family: var(--font-serif);
  font-size: clamp(80px, 12vw, 140px);
  color: var(--plum);
  font-weight: 500;
  letter-spacing: -0.02em;
  z-index: 1;
}
.vifm-landing .physician__portrait-badge {
  position: absolute;
  bottom: 22px; left: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  z-index: 2;
}
.vifm-landing .physician__portrait-badge svg { color: var(--plum); }

.vifm-landing .physician__copy h2 { margin-top: 18px; }

.vifm-landing .physician__name-row {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--line-strong);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 14px;
}
.vifm-landing .physician__name {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.018em;
  color: var(--ink);
  line-height: 1.1;
}
.vifm-landing .physician__role {
  font-size: 14px;
  color: var(--teal-dark);
  font-weight: 600;
  letter-spacing: 0.005em;
}

.vifm-landing .physician__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.vifm-landing .physician__bio {
  margin-top: 22px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 56ch;
}
.vifm-landing .physician__bio strong { color: var(--ink); font-weight: 600; }

.vifm-landing .physician__quote {
  margin: 26px 0 0;
  padding: 22px 26px;
  border-left: 3px solid var(--plum);
  background: #fff;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--font-serif);
  font-style: normal;
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.vifm-landing .physician__ctas {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

@media (max-width: 880px) {
  .vifm-landing .physician__inner { grid-template-columns: 1fr; gap: 40px; }
  .vifm-landing .physician__portrait { max-width: 320px; margin: 0 auto; }
}

/* ---------- Care model (4-step) — time expectation + CTA ---------- */

.vifm-landing .model__steps {
  list-style: none;
  padding: 0;
  margin: 0;
}
.vifm-landing .model__step {
  list-style: none;
}
.vifm-landing .model__step-time {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(95, 182, 196, 0.12);
  border: 1px solid rgba(95, 182, 196, 0.32);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: #b9e6ee;
}
.vifm-landing .model__step-time svg { color: #5fb6c4; }

.vifm-landing .model__cta {
  margin-top: 56px;
  display: flex;
  justify-content: center;
}
.vifm-landing .model__cta .btn--teal {
  background: #70ebff;
  color: var(--ink);
}
.vifm-landing .model__cta .btn--teal:hover { background: #7ec5d0; }

/* ============================================================
 * Physician trigger row + modal popup.
 * The full physician content lives in a centered modal that opens
 * via the "Meet Your Physician" button. The trigger row is just an
 * eyebrow + h2 + lede + button banner.
 * ============================================================ */
.vifm-landing .physician-trigger__cta {
  margin-top: clamp(28px, 3.2vw, 40px);
  display: flex;
  justify-content: center;
}
.vifm-landing .physician-trigger__cta .btn { padding: 14px 28px; }

.vifm-landing .physician-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 3vw, 32px);
}
.vifm-landing .physician-modal[hidden] { display: none; }
.vifm-landing .physician-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 31, 51, 0.55);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  animation: physicianFadeIn .18s ease-out both;
}
.vifm-landing .physician-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 760px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: #fff;
  border-radius: 22px;
  padding: clamp(28px, 4vw, 56px) clamp(24px, 4vw, 56px) clamp(28px, 4vw, 48px);
  box-shadow: 0 40px 80px -24px rgba(10, 31, 51, 0.45);
  animation: physicianSlideIn .22s cubic-bezier(.2,.7,.2,1) both;
}
.vifm-landing .physician-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--ink);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.vifm-landing .physician-modal__close:hover {
  background: var(--teal-soft);
  color: var(--teal-dark);
  border-color: var(--teal);
}

.vifm-landing .physician-modal__body { text-align: left; }
.vifm-landing .physician-modal__eyebrow { color: var(--plum); }
.vifm-landing .physician-modal__title {
  margin: 14px 0 6px;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.06;
}
.vifm-landing .physician-modal__role {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--muted);
  margin-bottom: 22px;
}
.vifm-landing .physician-modal__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-bottom: 22px;
}
.vifm-landing .physician-modal__body .physician__bio {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0 0 22px;
}
.vifm-landing .physician-modal__body .physician__quote {
  margin: 0 0 26px;
  padding: 18px 22px;
  border-left: 3px solid var(--teal);
  background: var(--bg-soft);
  border-radius: 8px;
  font-family: var(--font-serif);
  font-size: 18px;
  font-style: italic;
  color: var(--ink);
  line-height: 1.45;
}
.vifm-landing .physician-modal__body .physician__credibility {
  margin: 0 0 26px;
  padding: 22px 24px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.vifm-landing .physician-modal__body .physician__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@keyframes physicianFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes physicianSlideIn {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to   { opacity: 1; transform: none; }
}

@media (max-width: 540px) {
  .vifm-landing .physician-modal__dialog { padding: 28px 22px 28px; max-height: 92vh; }
  .vifm-landing .physician-modal__close  { top: 10px; right: 10px; width: 36px; height: 36px; }
  .vifm-landing .physician-modal__title  { font-size: clamp(24px, 7vw, 30px); }
  .vifm-landing .physician-modal__body .physician__quote { font-size: 16px; padding: 14px 16px; }
}

/* Lock background scroll when the modal is open. */
.physician-modal-open { overflow: hidden; }

/* Care Model — plum CTA card replaces the old single-button row.
 * Sits inside the white .model card; centered horizontally so it reads
 * as a deliberate inset banner rather than a stretched action row. */
.vifm-landing .model__cta-card {
  position: relative;
  max-width: 460px;
  margin: clamp(40px, 4.5vw, 64px) auto 0;
  background: linear-gradient(155deg, var(--plum-dark) 0%, var(--plum) 100%);
  color: #fff;
  border-radius: 22px;
  padding: 28px 32px 30px;
  text-align: left;
  box-shadow: 0 28px 56px -28px rgba(138, 0, 85, 0.45);
}
.vifm-landing .model__cta-heading {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 10px;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
.vifm-landing .model__cta-heading em {
  font-style: italic;
  color: #ffd6ec;
}
.vifm-landing .model__cta-sub {
  font-family: var(--font-sans);
  font-size: 14.5px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 22px;
}
.vifm-landing .model__cta-button {
  display: block;
  width: 100%;
  text-align: center;
  background: #fff;
  color: var(--plum-dark);
  padding: 13px 24px;
  border-radius: 10px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  text-decoration: none;
  margin: 0 0 18px;
  transition: transform .2s ease, box-shadow .25s ease, color .2s ease;
}
.vifm-landing .model__cta-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px -10px rgba(0, 0, 0, 0.28);
  color: var(--teal-dark);
}
.vifm-landing .model__cta-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 13.5px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
}
.vifm-landing .model__cta-note svg {
  flex-shrink: 0;
  margin-top: 1px;
  color: rgba(255, 255, 255, 0.9);
}

/* ---------- Services — grouped buckets ---------- */

.vifm-landing .services-head {
  max-width: 760px;
  margin-bottom: 56px;
}
.vifm-landing .services-head h2 { margin-top: 18px; }
.vifm-landing .services-head p { margin-top: 22px; }

.vifm-landing .svc-groups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.vifm-landing .svc-group {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.vifm-landing .svc-group:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}
.vifm-landing .svc-group__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.vifm-landing .svc-group__title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.012em;
  margin: 0 0 14px;
  color: var(--ink);
  line-height: 1.2;
}
.vifm-landing .svc-group__list {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.vifm-landing .svc-group__list li {
  font-size: 14.5px;
  color: var(--ink-soft);
  padding-left: 16px;
  position: relative;
  line-height: 1.45;
}
.vifm-landing .svc-group__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal);
}
.vifm-landing .svc-group__more {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed var(--line-strong);
  font-size: 13.5px;
  color: var(--plum);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Description-style service card (replaces the legacy bulleted .svc-group__list).
 * Each card now holds a single verbatim paragraph from the
 * Core Services & Differentiators block. */
.vifm-landing .svc-group__desc {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}

@media (max-width: 980px) {
  .vifm-landing .svc-groups { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .vifm-landing .svc-groups { grid-template-columns: 1fr; }
}

/* ---------- About / stats / testimonials — rebuilt ---------- */

.vifm-landing .about-head { max-width: 760px; margin-bottom: 48px; }
.vifm-landing .about-head h2 { margin-top: 18px; }
.vifm-landing .about-head p { margin-top: 22px; }

.vifm-landing .about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  padding: 36px 0;
  margin-bottom: 64px;
}
.vifm-landing .about-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}
.vifm-landing .about-stat__num,
.vifm-landing .about-stat__num--word {
  font-family: var(--font-serif);
  font-size: clamp(40px, 4vw, 52px);
  font-weight: 500;
  color: var(--plum-dark);
  letter-spacing: -0.025em;
  line-height: 1;
  display: flex;
  align-items: flex-end;
  min-height: clamp(44px, 4.4vw, 56px);
}
.vifm-landing .about-stat__suffix {
  font-size: 0.5em;
  font-weight: 500;
  margin-left: 4px;
  color: var(--plum);
}
.vifm-landing .about-stat__label {
  margin-top: 14px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.005em;
  line-height: 1.35;
  min-height: 1em;
}
.vifm-landing .about-stat__note {
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
  font-family: var(--font-serif);
  font-style: italic;
}

@media (max-width: 920px) {
  .vifm-landing .about-stats { grid-template-columns: repeat(2, 1fr); gap: 28px 24px; }
}
@media (max-width: 480px) {
  .vifm-landing .about-stats { grid-template-columns: 1fr; gap: 24px; }
}

/* ============================================================
 * Modern Care — Technology & AI Integration band.
 * Eyebrow + H2 + lede in a centered head, then a 4-column grid
 * of compact icon cards. Sits in a section--soft band so it
 * visually slots between the white Care Model and the white
 * Care Pathways selector.
 * ============================================================ */
.vifm-landing .modern-care__head {
  max-width: 880px;
  margin: 0 auto clamp(40px, 4.5vw, 64px);
  text-align: center;
}
.vifm-landing .modern-care__head .eyebrow { color: var(--teal-dark); }
.vifm-landing .modern-care__head .h-section { margin: 14px 0 18px; }
.vifm-landing .modern-care__head .lede { margin: 0 auto; max-width: 760px; }

.vifm-landing .modern-care__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.vifm-landing .modern-care__card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.vifm-landing .modern-care__card:hover {
  transform: translateY(-3px);
  border-color: var(--teal);
  box-shadow: 0 18px 40px -22px rgba(7, 135, 151, 0.28);
}

.vifm-landing .modern-care__icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(7,135,151,0.10), rgba(138,0,85,0.08));
  color: var(--teal-dark);
}

.vifm-landing .modern-care__title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
}

@media (max-width: 980px) {
  .vifm-landing .modern-care__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .vifm-landing .modern-care__grid { grid-template-columns: 1fr; }
}

/* ============================================================
 * Purpose — Mission & Vision two-card split.
 * Soft warm-tinted band to set it off from neighboring sections.
 * Cards use Fraunces label + italic Fraunces body for an editorial,
 * institute-style voice that matches the brand.
 * ============================================================ */
.vifm-landing .purpose__head {
  max-width: 880px;
  margin: 0 auto clamp(40px, 4.5vw, 64px);
  text-align: center;
}
.vifm-landing .purpose__head .eyebrow { color: var(--plum); }
.vifm-landing .purpose__head .h-section { margin-top: 14px; }

.vifm-landing .purpose__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.vifm-landing .purpose-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  padding: clamp(28px, 3vw, 44px) clamp(28px, 3vw, 44px) clamp(32px, 3.4vw, 48px);
  box-shadow: 0 24px 48px -32px rgba(21, 94, 117, 0.18);
}
.vifm-landing .purpose-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 22px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(7,135,151,0.04) 0%, rgba(138,0,85,0.02) 100%);
}

.vifm-landing .purpose-card__badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(7, 135, 151, 0.10);
  color: var(--teal-dark);
  margin-bottom: 18px;
}

.vifm-landing .purpose-card__label {
  position: relative;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--plum);
  margin: 0 0 14px;
}

.vifm-landing .purpose-card__body {
  position: relative;
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 400;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.6;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin: 0;
}

@media (max-width: 880px) {
  .vifm-landing .purpose__grid { grid-template-columns: 1fr; gap: 20px; }
}

/* ============================================================
 * Stats Band — prominent proof-points strip directly under hero.
 * Reuses the $vifm_stats data so figures stay in one source of
 * truth; styling is bigger and more typographic than the deeper
 * About-stats grid so the four taglines land above the fold.
 * ============================================================ */
.vifm-landing .stats-band {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfc 60%, #f4f8fa 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-top: clamp(48px, 5vw, 80px);
  padding-bottom: clamp(48px, 5vw, 80px);
}

.vifm-landing .stats-band__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.vifm-landing .stats-band__item {
  position: relative;
  padding: 4px clamp(20px, 2.4vw, 36px);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.vifm-landing .stats-band__item + .stats-band__item::before {
  content: '';
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 0;
  width: 1px;
  background: var(--line-strong);
}
.vifm-landing .stats-band__item:first-child { padding-left: 0; }
.vifm-landing .stats-band__item:last-child  { padding-right: 0; }

.vifm-landing .stats-band__num {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(52px, 6.2vw, 84px);
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--plum-dark);
  display: flex;
  align-items: flex-end;
  min-height: clamp(64px, 6.6vw, 92px);
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
.vifm-landing .stats-band__num--word {
  font-size: clamp(30px, 3.6vw, 48px);
  font-weight: 500;
  letter-spacing: -0.022em;
  font-style: normal;
  color: var(--plum-dark);
}
.vifm-landing .stats-band__suffix {
  font-size: 0.5em;
  font-weight: 500;
  margin-left: 4px;
  color: var(--plum);
}
.vifm-landing .stats-band__label {
  margin-top: 16px;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
  letter-spacing: -0.005em;
}
.vifm-landing .stats-band__note {
  margin-top: 8px;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
}

/* Reveal animation — stagger via the inline transition-delay set per <li>. */
.vifm-landing .stats-band__list[data-reveal] .stats-band__item {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .6s ease, transform .6s ease;
}
.vifm-landing .stats-band__list[data-reveal].is-in .stats-band__item {
  opacity: 1;
  transform: none;
}

/* Tablet: 2x2 with hairline separators between rows + columns */
@media (max-width: 920px) {
  .vifm-landing .stats-band__list { grid-template-columns: repeat(2, 1fr); }
  .vifm-landing .stats-band__item { padding: 28px clamp(20px, 3vw, 32px); }
  .vifm-landing .stats-band__item:nth-child(odd) { padding-left: 0; }
  .vifm-landing .stats-band__item:nth-child(even) { padding-right: 0; }
  .vifm-landing .stats-band__item:nth-child(-n+2) { padding-top: 0; }
  .vifm-landing .stats-band__item:nth-child(n+3) { padding-bottom: 0; }
  .vifm-landing .stats-band__item:nth-child(n+3)::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--line-strong);
  }
  .vifm-landing .stats-band__item:nth-child(odd)::before { display: none; }
}

/* Mobile: stack to one column with a hairline between rows */
@media (max-width: 540px) {
  .vifm-landing .stats-band__list { grid-template-columns: 1fr; }
  .vifm-landing .stats-band__item { padding: 28px 0; }
  .vifm-landing .stats-band__item::before { display: none; }
  .vifm-landing .stats-band__item + .stats-band__item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--line-strong);
  }
  .vifm-landing .stats-band__item:first-child { padding-top: 8px; }
  .vifm-landing .stats-band__item:last-child  { padding-bottom: 8px; }
  .vifm-landing .stats-band__num { font-size: clamp(48px, 14vw, 64px); }
  .vifm-landing .stats-band__num--word { font-size: clamp(28px, 8vw, 36px); }
}

.vifm-landing .testimonials__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.vifm-landing .testimonials__rating {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.vifm-landing .testimonials__stars {
  display: inline-flex;
  gap: 2px;
  color: #f0b800;
}
.vifm-landing .testimonials__stars svg { fill: #f0b800; stroke: #f0b800; }
.vifm-landing .testimonials__rating-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.2;
}
.vifm-landing .testimonials__rating-text strong {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--ink);
  font-weight: 500;
}

.vifm-landing .testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.vifm-landing .testimonial-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  margin: 0;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.vifm-landing .testimonial-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}
.vifm-landing .testimonial-card__mark {
  color: var(--plum);
  opacity: 0.5;
  margin-bottom: 6px;
}
.vifm-landing .testimonial-card__quote {
  margin: 0 0 24px;
  padding: 0;
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 1.45;
  color: var(--ink);
  letter-spacing: -0.005em;
  font-variation-settings: "opsz" 144, "SOFT" 50;
  flex-grow: 1;
}
.vifm-landing .testimonial-card__attr {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  margin: 0;
}
.vifm-landing .testimonial-card__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--plum), var(--teal));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 500;
  flex-shrink: 0;
}
.vifm-landing .testimonial-card__name {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}
.vifm-landing .testimonial-card__city {
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}

@media (max-width: 920px) {
  .vifm-landing .testimonials__grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ---------- Insurance & payment ---------- */

.vifm-landing .insurance__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.vifm-landing .insurance__copy h2 { margin-top: 18px; }
.vifm-landing .insurance__copy p { margin-top: 22px; }
.vifm-landing .insurance__ctas {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.vifm-landing .insurance__list {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  box-shadow: var(--shadow-sm);
}
.vifm-landing .insurance__list-title {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-dark);
  font-weight: 600;
  margin-bottom: 18px;
}
.vifm-landing .insurance__list ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
}
.vifm-landing .insurance__list li {
  font-size: 14.5px;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 8px;
}
.vifm-landing .insurance__list li svg { color: var(--teal-dark); flex-shrink: 0; }

.vifm-landing .insurance__selfpay {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px dashed var(--line-strong);
}
.vifm-landing .insurance__selfpay-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--plum);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.vifm-landing .insurance__selfpay p {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 880px) {
  .vifm-landing .insurance__inner { grid-template-columns: 1fr; }
  .vifm-landing .insurance__list ul { grid-template-columns: 1fr; }
}

/* ---------- Service area ---------- */

.vifm-landing .service-area__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.vifm-landing .service-area__copy h2 { margin-top: 18px; }
.vifm-landing .service-area__copy p { margin-top: 22px; margin-bottom: 26px; }

.vifm-landing .service-area__map {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}
.vifm-landing .service-area__map-card {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #f4f8fa;
}
.vifm-landing .service-area__map-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 60% 50%, rgba(7,135,151,0.10), transparent 55%),
    repeating-linear-gradient(90deg, transparent 0 38px, rgba(7,135,151,0.06) 38px 39px),
    repeating-linear-gradient(0deg, transparent 0 38px, rgba(7,135,151,0.06) 38px 39px),
    linear-gradient(180deg, #eef6f8 0%, #e3eef0 100%);
}
.vifm-landing .service-area__map-pin {
  position: absolute;
  top: 38%; left: 58%;
  transform: translate(-50%, -100%);
  background: var(--plum);
  color: #fff;
  width: 52px; height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 32px -10px rgba(138, 0, 85, 0.5);
}
.vifm-landing .service-area__map-pin::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 14px; height: 14px;
  background: var(--plum);
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  margin-top: -3px;
}
.vifm-landing .service-area__map-label {
  position: absolute;
  left: 24px; bottom: 22px;
  background: #fff;
  border-radius: var(--radius);
  padding: 14px 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  font-size: 13.5px;
  line-height: 1.45;
}
.vifm-landing .service-area__map-line1 {
  font-weight: 600;
  color: var(--ink);
}
.vifm-landing .service-area__map-line2 { color: var(--muted); }

.vifm-landing .service-area__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.vifm-landing .service-area__list li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--ink-soft);
  font-weight: 500;
}
.vifm-landing .service-area__list li svg { color: var(--teal-dark); }

@media (max-width: 880px) {
  .vifm-landing .service-area__inner { grid-template-columns: 1fr; }
}

/* ---------- Differentiators — claim + evidence rows ---------- */

.vifm-landing .diff__head { max-width: 760px; }
.vifm-landing .diff__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line-strong);
}
.vifm-landing .diff-row {
  display: grid;
  grid-template-columns: 60px 1.7fr 1fr;
  gap: clamp(20px, 4vw, 56px);
  align-items: start;
  padding: 36px 0;
  border-bottom: 1px solid var(--line-strong);
  position: relative;
}
.vifm-landing .diff-row__num {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--plum);
  font-weight: 600;
  padding-top: 6px;
}
.vifm-landing .diff-row__title {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.3vw, 28px);
  font-weight: 500;
  letter-spacing: -0.018em;
  margin: 0 0 10px;
  color: var(--ink);
  line-height: 1.18;
}
.vifm-landing .diff-row__desc {
  margin: 0;
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 56ch;
}
.vifm-landing .diff-row__evidence {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
}
.vifm-landing .diff-row__evidence-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 8px;
}
.vifm-landing .diff-row__evidence-value {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 500;
  color: var(--plum);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.vifm-landing .diff-row__tag {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}
.vifm-landing .diff-row__tag svg { color: var(--teal-dark); }

@media (max-width: 880px) {
  .vifm-landing .diff-row { grid-template-columns: 1fr; gap: 16px; padding: 28px 0; }
  .vifm-landing .diff-row__num { padding-top: 0; }
}

/* ---------- FAQ ---------- */

.vifm-landing .faq__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.vifm-landing .faq__copy { position: sticky; top: 100px; }
.vifm-landing .faq__copy h2 { margin-top: 18px; }
.vifm-landing .faq__copy p { margin-top: 22px; }
.vifm-landing .faq__copy a { color: var(--teal-dark); font-weight: 500; }
.vifm-landing .faq__copy a:hover { text-decoration: underline; }

.vifm-landing .faq__list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line-strong);
}
.vifm-landing .faq-item {
  border-bottom: 1px solid var(--line-strong);
}
.vifm-landing .faq-item__q {
  display: flex;
  list-style: none;
  cursor: pointer;
  padding: 22px 0;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.3;
  transition: color .2s;
}
.vifm-landing .faq-item__q::-webkit-details-marker { display: none; }
.vifm-landing .faq-item__q::marker { content: ''; }
.vifm-landing .faq-item__q:hover { color: var(--teal-dark); }
.vifm-landing .faq-item__icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  flex-shrink: 0;
  transition: background .25s, color .25s, transform .25s;
}
.vifm-landing .faq-item[open] .faq-item__icon {
  background: var(--plum);
  color: #fff;
  border-color: var(--plum);
  transform: rotate(45deg);
}
.vifm-landing .faq-item__a {
  padding: 0 0 26px;
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 65ch;
}

@media (max-width: 880px) {
  .vifm-landing .faq__inner { grid-template-columns: 1fr; }
  .vifm-landing .faq__copy { position: static; }
  .vifm-landing .faq-item__q { font-size: 17px; }
}

/* ---------- Final CTA reassurance ---------- */

.vifm-landing .final__note {
  justify-content: center;
}
.vifm-landing .final p { font-size: 18px; }

/* ---------- Footer rebuild ---------- */

.vifm-landing .vifm-footer { padding: 72px var(--pad) 36px; }
.vifm-landing .vifm-footer__brand .logo__word { font-size: 18px; }

.vifm-landing .microbar__pill--footer {
  margin-top: 22px;
  background: rgba(7, 135, 151, 0.10);
  border-color: rgba(7, 135, 151, 0.35);
  color: var(--teal-dark);
}
.vifm-landing .microbar__pill--footer .microbar__pill-dot { background: var(--teal); }

.vifm-landing .vifm-footer__address {
  font-style: normal;
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-bottom: 22px;
}
.vifm-landing .vifm-footer__address div { margin-bottom: 2px; }

.vifm-landing .vifm-footer__hours-title {
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 600;
  margin-bottom: 12px;
}
.vifm-landing .vifm-footer__hours dl {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 13.5px;
}
.vifm-landing .vifm-footer__hours dl > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--ink-soft);
}
.vifm-landing .vifm-footer__hours dt {
  color: var(--muted);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.04em;
}
.vifm-landing .vifm-footer__hours dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
  color: var(--ink-soft);
}

.vifm-landing .vifm-footer__list a,
.vifm-landing .vifm-footer__list .vifm-footer__fax {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 400;
  color: var(--ink-soft);
}
.vifm-landing .vifm-footer__list a svg,
.vifm-landing .vifm-footer__list .vifm-footer__fax svg { color: var(--teal-dark); flex-shrink: 0; }

.vifm-landing .vifm-footer__response {
  margin-top: 18px;
  font-size: 12.5px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.vifm-landing .vifm-footer__response svg { color: var(--teal-dark); }

/* Pay-your-bill block in the footer Contact column */
.vifm-landing .vifm-footer__pay {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--line-strong);
}
.vifm-landing .vifm-footer__pay-title {
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 600;
  margin-bottom: 12px;
}
.vifm-landing .vifm-footer__pay-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.vifm-landing .vifm-footer__pay-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line-strong);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  transition: border-color .2s, background .2s, color .2s;
}
.vifm-landing .vifm-footer__pay-link:hover {
  border-color: var(--plum);
  background: var(--plum-soft);
  color: var(--plum-dark);
}
.vifm-landing .vifm-footer__pay-link svg { color: var(--teal-dark); flex-shrink: 0; }
.vifm-landing .vifm-footer__pay-link:hover svg { color: var(--plum); }

.vifm-landing .vifm-footer__bottom { margin-top: 28px; }

@media (max-width: 880px) {
  .vifm-landing .vifm-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}
@media (max-width: 520px) {
  .vifm-landing .vifm-footer__inner { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Sticky mobile CTA bar ---------- */

.vifm-landing .vifm-mobile-cta {
  position: fixed;
  left: 12px; right: 12px;
  bottom: 12px;
  z-index: 50;
  display: none;
  gap: 10px;
  padding: 10px;
  background: rgba(31, 41, 51, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 999px;
  box-shadow: 0 18px 40px -12px rgba(31, 41, 51, 0.45);
  transform: translateY(120%);
  transition: transform .3s ease;
}
.vifm-landing .vifm-mobile-cta.is-visible { transform: translateY(0); }
.vifm-landing .vifm-mobile-cta__btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.005em;
  white-space: nowrap;
}
.vifm-landing .vifm-mobile-cta__btn--call {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.vifm-landing .vifm-mobile-cta__btn--book {
  background: var(--plum);
  color: #fff;
  flex: 1.4;
}
.vifm-landing .vifm-mobile-cta__btn--book:active { transform: scale(0.98); }

@media (max-width: 760px) {
  .vifm-landing .vifm-mobile-cta { display: flex; }
  /* keep content from being covered when CTA is up */
  .vifm-landing .vifm-footer { padding-bottom: 96px; }
}

/* ---------- Hero refinements for the new layout ---------- */

.vifm-landing .hero__visual { min-height: 600px; }
.vifm-landing .hero-card { padding: 32px 32px 28px; }

@media (max-width: 980px) {
  .vifm-landing .hero__visual { min-height: 520px; }
}
@media (max-width: 520px) {
  .vifm-landing .hero-card { padding: 24px; }
  .vifm-landing .hero-card__doc-portrait { width: 56px; height: 56px; font-size: 18px; }
  .vifm-landing .hero-card__doc-name { font-size: 17px; }
  .vifm-landing .hero-card__quote { font-size: 18px; }
  .vifm-landing .trust-strip li { font-size: 13.5px; }
}

/* ---------- Section rhythm: alternate rules ---------- */

.vifm-landing .section--warm + .section--soft,
.vifm-landing .section--soft + .section--warm { /* no extra divider needed */ }

/* Slight tonal lift for warm to differentiate from soft. Toned down per
   client feedback — was peachy-pink, now a near-white off-white closer to
   the logo background. */
.vifm-landing .section--warm { background: #f4f9fa; }

/* Hero ambient: hide the plum/teal blooms entirely on the family-image
   variant of the hero — the page background is now clean white per the
   customer's reference. The blooms still exist for any other layout that
   chooses to bring back the .hero__ambient element. */
.vifm-landing .hero--family .hero__ambient { display: none; }
.vifm-landing .hero__shape--plum { opacity: 0.28; }
.vifm-landing .hero__shape--teal { opacity: 0.6; }


/* ============================================================
   FAMILY-IMAGE HERO — large photo on the right with a swooping
   plum-to-teal curve at the lower-right of the image, plain
   white page background. Matches the customer's reference.
   ============================================================ */

.vifm-landing .hero--family {
  background: #f4f9fa;
}

.vifm-landing .hero--family .hero__inner {
  align-items: center;
  gap: clamp(40px, 5vw, 80px);
}

/* Highlighted plum supporting line ("Clear care, carried through.") */
.vifm-landing .hero__signature {
  margin: 24px 0 0;
  font-family: var(--font-serif);
  font-style: normal;
  font-weight: 500;
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.25;
  letter-spacing: -0.012em;
  color: var(--plum);
  position: relative;
  padding-top: 18px;
}
.vifm-landing .hero__signature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 56px;
  height: 2px;
  background: var(--plum);
  border-radius: 2px;
}

/* Secondary paragraph ("We combine careful listening...") */
.vifm-landing .hero__secondary {
  margin: 18px 0 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 52ch;
}

/* Secondary CTA on this hero is the teal-outlined "Start the Right Visit" */
.vifm-landing .hero--family .hero__ctas .btn--ghost {
  color: var(--teal-dark);
  border-color: var(--teal);
  background: #fff;
}
.vifm-landing .hero--family .hero__ctas .btn--ghost:hover {
  background: var(--teal-soft);
  border-color: var(--teal-dark);
  color: var(--teal-dark);
}

/* ---------- Right-side image area + swooping curve ---------- */

.vifm-landing .hero--family .hero__visual {
  align-self: stretch;
  min-height: 0;
  display: block;
}

.vifm-landing .hero__image {
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 4;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(135deg, #eef6f8 0%, #f4eaf0 100%);
  box-shadow: 0 30px 60px -28px rgba(31, 41, 51, 0.25);
}

.vifm-landing .hero__image-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.vifm-landing .hero__image-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  text-align: center;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
  background:
    radial-gradient(circle at 30% 30%, rgba(7,135,151,0.10), transparent 55%),
    radial-gradient(circle at 75% 70%, rgba(138,0,85,0.10), transparent 55%),
    linear-gradient(135deg, #f4f9fa 0%, #fbf3f7 100%);
}
.vifm-landing .hero__image-placeholder em {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 13px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.7);
  padding: 2px 6px;
  border-radius: 4px;
}

/* The plum/teal swooping curve overlay at the lower-right of the image */
.vifm-landing .hero__image-curve {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 38%;
  display: block;
  pointer-events: none;
}

@media (max-width: 980px) {
  .vifm-landing .hero--family .hero__inner { gap: 32px; }
  .vifm-landing .hero__image { aspect-ratio: 4 / 3; }
}
@media (max-width: 540px) {
  .vifm-landing .hero__signature { font-size: 19px; }
  .vifm-landing .hero__image { aspect-ratio: 4 / 3; border-radius: var(--radius-lg); }
}


/* ============================================================
   WHY AN INSTITUTE — full-width gradient banner.
   Teal at the left fading to plum at the right; eyebrow + giant
   serif headline on the left, body copy + white pill CTA on right.
   ============================================================ */

.vifm-landing .why-institute-section {
  padding-top: clamp(40px, 5vw, 72px);
  padding-bottom: clamp(40px, 5vw, 72px);
}

.vifm-landing .why-institute {
  position: relative;
  background: linear-gradient(115deg, var(--teal-dark) 0%, var(--teal) 32%, #5a3a72 70%, var(--plum) 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(48px, 6vw, 88px) clamp(36px, 5vw, 72px);
  overflow: hidden;
  box-shadow: 0 30px 60px -24px rgba(31, 41, 51, 0.4);
}
.vifm-landing .why-institute__shape {
  position: absolute;
  width: 720px; height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.10), transparent 70%);
  filter: blur(50px);
  right: -180px; top: -260px;
  pointer-events: none;
}
.vifm-landing .why-institute__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
}

.vifm-landing .why-institute__eyebrow {
  color: #cdebef;
  font-weight: 600;
  letter-spacing: 0.18em;
}
.vifm-landing .why-institute__eyebrow::before {
  background: #cdebef;
  width: 32px;
}

.vifm-landing .why-institute__headline {
  margin-top: 22px;
  color: #fff;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  max-width: 18ch;
  font-weight: 500;
}
.vifm-landing .why-institute__headline em {
  color: #fff;
  font-style: normal;
  font-weight: 600;
}

.vifm-landing .why-institute__body {
  margin: 0 0 28px;
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.94);
  max-width: 44ch;
}

.vifm-landing .why-institute__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: #fff;
  color: var(--teal-dark);
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.005em;
  border: 1px solid rgba(255, 255, 255, 0.85);
  transition: background .2s, color .2s, transform .2s, box-shadow .2s;
}
.vifm-landing .why-institute__cta:hover {
  background: var(--plum);
  color: #fff;
  border-color: var(--plum);
  transform: translateY(-1px);
  box-shadow: 0 16px 32px -12px rgba(0, 0, 0, 0.25);
}
.vifm-landing .why-institute__cta .arrow {
  display: inline-flex;
  transition: transform .2s;
}
.vifm-landing .why-institute__cta:hover .arrow { transform: translateX(3px); }

@media (max-width: 880px) {
  .vifm-landing .why-institute { padding: 36px 28px; }
  .vifm-landing .why-institute__inner { grid-template-columns: 1fr; }
  .vifm-landing .why-institute__headline { max-width: none; }
}

/* Nav row gets tight with 7 items; reduce gap on mid-range desktops. */
@media (max-width: 1180px) {
  .vifm-landing .nav { gap: 18px; }
  .vifm-landing .nav a { font-size: 14px; }
}
@media (max-width: 1080px) {
  .vifm-landing .nav { gap: 14px; }
  .vifm-landing .nav a { font-size: 13.5px; }
}


/* ============================================================
   FINAL REVISION PASS — checklist fixes
   ============================================================ */

/* ---------- Hero reassure with strong "new patients welcome" ---------- */

.vifm-landing .hero__reassure {
  align-items: flex-start;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.5;
  max-width: 56ch;
}
.vifm-landing .hero__reassure svg { margin-top: 4px; }
.vifm-landing .hero__reassure strong {
  color: var(--ink);
  font-weight: 600;
}

/* ---------- Hero trust strip can wrap nicely with 5 items ---------- */

.vifm-landing .trust-strip { gap: 8px 22px; }
.vifm-landing .trust-strip li { font-size: 14px; }

/* ---------- Path card: refined best-for line ---------- */

.vifm-landing .path-card__bestfor {
  display: inline-block;
  padding: 6px 12px;
  background: var(--teal-soft);
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--teal-dark);
  letter-spacing: 0.005em;
  margin-top: 14px;
  align-self: flex-start;
}
.vifm-landing .path-card--featured .path-card__bestfor {
  background: rgba(138, 0, 85, 0.08);
  color: var(--plum-dark);
}

/* ---------- Trust pillars: icons + typography boost ---------- */

.vifm-landing .pillar { padding: 40px 30px; }
.vifm-landing .pillar__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line-strong);
  color: var(--plum);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}
.vifm-landing .pillar__num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--teal-dark);
  margin-bottom: 12px;
  text-transform: uppercase;
  font-weight: 600;
}
.vifm-landing .pillar__title {
  font-size: 24px;
  margin-bottom: 12px;
  letter-spacing: -0.018em;
}
.vifm-landing .pillar__desc {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* ---------- Physician credibility bullet list (NEW) ---------- */

.vifm-landing .physician__credibility {
  margin-top: 28px;
  padding: 24px 26px;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.vifm-landing .physician__credibility-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-dark);
  font-weight: 600;
  margin-bottom: 16px;
}
.vifm-landing .physician__credibility-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.vifm-landing .physician__credibility-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.vifm-landing .physician__credibility-list li svg {
  color: var(--teal-dark);
  flex-shrink: 0;
  margin-top: 3px;
}
.vifm-landing .physician__credibility-list li strong { color: var(--ink); font-weight: 600; }

.vifm-landing .physician__accepting {
  margin-top: 20px;
  padding: 14px 16px;
  background: rgba(7, 135, 151, 0.08);
  border: 1px solid rgba(7, 135, 151, 0.25);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.4;
  flex-wrap: wrap;
}
.vifm-landing .physician__accepting strong {
  color: var(--teal-dark);
  font-weight: 600;
}
.vifm-landing .physician__accepting-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 0 rgba(7, 135, 151, 0.5);
  animation: vifmPulseDot 2.4s ease-in-out infinite;
  flex-shrink: 0;
}

/* ---------- About stat: word variant for "All ages" ---------- */

.vifm-landing .about-stat__num--word {
  font-size: clamp(26px, 2.6vw, 34px);
  letter-spacing: -0.018em;
  line-height: 1.05;
  font-style: italic;
  color: var(--plum-dark);
}

/* ---------- New-patient onboarding strip ---------- */

.vifm-landing .onboarding__head {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}
.vifm-landing .onboarding__head h2 { margin-top: 18px; }
.vifm-landing .onboarding__head p { margin: 22px auto 0; }

.vifm-landing .onboarding__steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
  counter-reset: onboarding;
}

/* connecting line behind the steps on desktop */
.vifm-landing .onboarding__steps::before {
  content: '';
  position: absolute;
  top: 70px;
  left: 16.66%;
  right: 16.66%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--line-strong) 10%, var(--line-strong) 90%, transparent);
  z-index: 0;
}

.vifm-landing .onboarding-step {
  position: relative;
  padding: 0 24px;
  text-align: center;
  z-index: 1;
}
.vifm-landing .onboarding-step__num {
  display: inline-block;
  margin: 0 auto 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--plum);
  background: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
}
.vifm-landing .onboarding-step__icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line-strong);
  color: var(--plum);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  box-shadow: var(--shadow-md);
}
.vifm-landing .onboarding-step__title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin: 0 0 12px;
  color: var(--ink);
  line-height: 1.2;
}
.vifm-landing .onboarding-step__desc {
  margin: 0 auto;
  max-width: 32ch;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
}

@media (max-width: 880px) {
  .vifm-landing .onboarding__steps { grid-template-columns: 1fr; gap: 32px; }
  .vifm-landing .onboarding__steps::before { display: none; }
  .vifm-landing .onboarding-step { padding: 0; }
}

/* ---------- Readability pass: small but meaningful bumps ---------- */

.vifm-landing .eyebrow { font-size: 13px; }

.vifm-landing .hero-card__doc-meta { font-size: 13.5px; color: var(--muted); }

.vifm-landing .about-stat__note { font-size: 14px; line-height: 1.5; }

.vifm-landing .testimonial-card__city { font-size: 13.5px; }

.vifm-landing .vifm-footer__list a { font-size: 15px; }
.vifm-landing .vifm-footer__hours dl { font-size: 14px; }
.vifm-landing .vifm-footer__address { font-size: 15px; }
.vifm-landing .vifm-footer__response { font-size: 13px; }
.vifm-landing .vifm-footer__bottom { font-size: 13px; }

.vifm-landing .svc-group__list li { font-size: 15px; line-height: 1.5; }

.vifm-landing .insurance__list li { font-size: 15px; }

.vifm-landing .service-area__list li { font-size: 14px; padding: 9px 16px; }

.vifm-landing .diff-row__desc { font-size: 16.5px; }

.vifm-landing .faq-item__a { font-size: 16.5px; }

.vifm-landing .path-card__features li { font-size: 15px; }

.vifm-landing .path-card__note { font-size: 13px; color: var(--muted); }

.vifm-landing .microbar__pill { font-size: 13px; }
.vifm-landing .microbar__hours { font-size: 13.5px; display:none;}

/* Slightly bolder eyebrow weight to read on small screens */
.vifm-landing .eyebrow { font-weight: 600; }

/* Make the path-card title pop a touch more */
.vifm-landing .path-card__title { font-size: 32px; }
@media (max-width: 880px) {
  .vifm-landing .path-card__title { font-size: 28px; }
}

/* The trust strip checkmarks deserve to stand out a tiny bit. */
.vifm-landing .trust-strip svg { color: var(--teal-dark); }
.vifm-landing .trust-strip li { font-weight: 500; color: #fff; }

/* Ensure the hero card layout still breathes after we removed the pillars block. */
.vifm-landing .hero-card__quote { margin: 22px 0 0; font-size: 22px; line-height: 1.32; }


/* ============================================================
   PRODUCTION PASS — Divi logo image + appointment form
   ============================================================ */

/* ---------- Divi-supplied image logo ---------- */

.vifm-landing .logo--image { padding: 2px 0; }
.vifm-landing .logo__img {
    display: block;
    height: auto;
    width: auto;
    max-height: initial;
    max-width: 260px;
}
.vifm-header.is-scrolled .vifm-landing .logo__img{
    max-width: 180px;
}
@media (max-width: 540px) {
  .vifm-landing .logo__img { max-height: 48px; max-width: 220px; }
}

/* ---------- Appointment request section (replaces the old final CTA) ---------- */

.vifm-landing .cta-form { padding-bottom: clamp(72px, 9vw, 128px); }

.vifm-landing .cta-form__wrap {
  position: relative;
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(40px, 5vw, 72px);
  overflow: hidden;
}
.vifm-landing .cta-form__shape {
  position: absolute;
  width: 720px; height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(138,0,85,0.36), transparent 65%);
  filter: blur(80px);
  left: -120px;
  top: -200px;
  pointer-events: none;
  z-index: 0;
}
.vifm-landing .cta-form__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
}

.vifm-landing .cta-form__copy h2 { color: #fff; }
.vifm-landing .cta-form__copy h2 em { color: #ffffff; }
.vifm-landing .cta-form__copy p { color: #fff; font-size: 18px; margin: 22px 0 0; max-width: 44ch; }

.vifm-landing .cta-form__phone {
  margin-top: 28px;
  color: #fff !important;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.22);
}
.vifm-landing .cta-form__phone:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff !important;
}

.vifm-landing .cta-form .final__note {
  margin-top: 28px;
  color: #ffffff;
  justify-content: flex-start;
}
.vifm-landing .cta-form .final__note strong { color: #fff; }

.vifm-landing .cta-form .trust-strip--final {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 28px;
  justify-content: stretch;
}
.vifm-landing .cta-form .trust-strip--final li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.4;
}

@media (max-width: 980px) {
  .vifm-landing .cta-form__inner { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .vifm-landing .cta-form .trust-strip--final { grid-template-columns: 1fr; gap: 10px; }
}

/* ---------- The white form card ---------- */

.vifm-landing .cta-form__form-card {
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 3vw, 40px);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.45);
  position: relative;
}

.vifm-landing .appt-form { display: flex; flex-direction: column; gap: 18px; }

.vifm-landing .appt-form__head { margin-bottom: 4px; }
.vifm-landing .appt-form__title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.018em;
  margin: 0 0 6px;
  color: var(--ink);
  line-height: 1.2;
}
.vifm-landing .appt-form__sub {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
}
.vifm-landing .appt-form__req {
  color: var(--plum);
  font-weight: 600;
}
.vifm-landing .appt-form__hint {
  color: var(--muted-2);
  font-weight: 400;
  font-size: 13px;
}

/* Honeypot hidden via off-screen positioning so bots still see + fill it. */
.vifm-landing .appt-form__hp {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px; height: 1px;
  overflow: hidden;
}

.vifm-landing .appt-form__row { display: flex; flex-direction: column; gap: 7px; min-width: 0; }

.vifm-landing .appt-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 540px) {
  .vifm-landing .appt-form__grid { grid-template-columns: 1fr; }
}

.vifm-landing .appt-form__label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.005em;
  padding: 0;
}

.vifm-landing .appt-form input[type="text"],
.vifm-landing .appt-form input[type="email"],
.vifm-landing .appt-form input[type="tel"],
.vifm-landing .appt-form textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 12px 14px;
  min-height: 48px;
  transition: border-color .2s, box-shadow .2s;
}
.vifm-landing .appt-form textarea {
  min-height: 92px;
  line-height: 1.5;
  resize: vertical;
}

.vifm-landing .appt-form input:focus,
.vifm-landing .appt-form textarea:focus {
  outline: none;
  border-color: var(--plum);
  box-shadow: 0 0 0 3px rgba(138, 0, 85, 0.15);
}
.vifm-landing .appt-form input:invalid:not(:placeholder-shown),
.vifm-landing .appt-form textarea:invalid:not(:placeholder-shown) {
  border-color: #c0382b;
}

/* Radio pills */
.vifm-landing .appt-form fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.vifm-landing .appt-form__radios {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.vifm-landing .appt-form__radios--compact { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 540px) {
  .vifm-landing .appt-form__radios { grid-template-columns: 1fr; }
}

.vifm-landing .appt-form__radio {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  min-height: 48px;
  transition: border-color .2s, background .2s, color .2s;
}
.vifm-landing .appt-form__radio:hover {
  border-color: var(--teal);
  background: var(--teal-soft);
}
.vifm-landing .appt-form__radio input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.vifm-landing .appt-form__radio input:focus-visible + .appt-form__radio-icon ~ .appt-form__radio-label,
.vifm-landing .appt-form__radio input:focus-visible + .appt-form__radio-label {
  /* fall-through to parent focus ring below */
}
.vifm-landing .appt-form__radio:has(input:focus-visible) {
  outline: 2px solid var(--plum);
  outline-offset: 2px;
}
.vifm-landing .appt-form__radio:has(input:checked) {
  border-color: var(--plum);
  background: var(--plum-soft);
  color: var(--plum-dark);
}
.vifm-landing .appt-form__radio:has(input:checked) .appt-form__radio-icon { color: var(--plum); }
.vifm-landing .appt-form__radio-icon {
  display: inline-flex;
  align-items: center;
  color: var(--teal-dark);
  flex-shrink: 0;
}
.vifm-landing .appt-form__radio-label { font-weight: 500; }

/* Checkboxes */
.vifm-landing .appt-form__check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
  cursor: pointer;
  padding: 8px 0;
}
.vifm-landing .appt-form__check input[type="checkbox"] {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--plum);
}
.vifm-landing .appt-form__check--consent {
  font-size: 13.5px;
  color: var(--muted);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  align-items: flex-start;
}
.vifm-landing .appt-form__check--consent strong { color: var(--ink); }

/* Submit + secure footer */
.vifm-landing .appt-form__submit {
  width: 100%;
  justify-content: center;
  margin-top: 6px;
  font-size: 16px;
  font-weight: 600;
  min-height: 56px;
}
.vifm-landing .appt-form__footer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
  margin: 4px 0 0;
}
.vifm-landing .appt-form__footer svg { color: var(--teal-dark); flex-shrink: 0; }

/* Alerts */
.vifm-landing .appt-form__alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  border-radius: var(--radius);
  font-size: 14.5px;
  line-height: 1.5;
  margin-bottom: 18px;
}
.vifm-landing .appt-form__alert svg { flex-shrink: 0; margin-top: 2px; }
.vifm-landing .appt-form__alert--error {
  background: #fdecea;
  border: 1px solid #f5c6c0;
  color: #802622;
}
.vifm-landing .appt-form__alert--error svg { color: #c0382b; }
.vifm-landing .appt-form__alert a { color: #c0382b; text-decoration: underline; font-weight: 600; }

/* ---------- Success state (after submission) ---------- */

.vifm-landing .cta-form__inner--success { grid-template-columns: 1fr; justify-items: center; }
.vifm-landing .cta-form__success-card {
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius-xl);
  padding: clamp(40px, 5vw, 56px);
  text-align: center;
  max-width: 640px;
  width: 100%;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.45);
}
.vifm-landing .cta-form__success-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(7, 135, 151, 0.12);
  color: var(--teal-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  border: 2px solid rgba(7, 135, 151, 0.3);
}
.vifm-landing .cta-form__success-lead {
  font-size: 18px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 18px auto 0;
  max-width: 50ch;
}
.vifm-landing .cta-form__success-emergency {
  margin: 26px auto 0;
  padding: 14px 18px;
  background: rgba(192, 56, 43, 0.06);
  border: 1px solid rgba(192, 56, 43, 0.2);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
  max-width: 56ch;
}
.vifm-landing .cta-form__success-emergency a { color: var(--plum); }
.vifm-landing .cta-form__success-ctas {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ---------- Mobile spacing for the form card ---------- */

@media (max-width: 540px) {
  .vifm-landing .cta-form__wrap { padding: 28px 22px; }
  .vifm-landing .cta-form__form-card { padding: 24px 20px; }
  .vifm-landing .appt-form__title { font-size: 22px; }
}

/* Safari/older browsers without :has() — fall back to a slightly less fancy
   selected style. Modern browsers (96%+) get the styled selection above. */
@supports not (selector(:has(*))) {
  .vifm-landing .appt-form__radio input:checked ~ .appt-form__radio-label {
    color: var(--plum-dark);
    font-weight: 600;
  }
}


/* ============================================================
   PRACTICE FOCUS — gradient feature-band introducing the
   regional cardiometabolic-center identity. Sits between the
   Services grid and the About section.
   ============================================================ */

.vifm-landing .focus-band-section { padding-top: clamp(56px, 6vw, 88px); padding-bottom: clamp(56px, 6vw, 88px); }

.vifm-landing .focus-band {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  background: linear-gradient(135deg, var(--plum) 0%, var(--plum-dark) 45%, var(--teal-dark) 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(40px, 5vw, 72px);
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px -24px rgba(31, 41, 51, 0.4);
}
.vifm-landing .focus-band::before {
  content: '';
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.10), transparent 70%);
  filter: blur(40px);
  right: -180px; top: -260px;
  pointer-events: none;
}
.vifm-landing .focus-band > * { position: relative; z-index: 1; }

.vifm-landing .focus-band__eyebrow {
  color: #8a0055;
}
.vifm-landing .focus-band__eyebrow::before {
  background: #8a0055;
}

.vifm-landing .focus-band__headline {
  margin-top: 18px;
  color: #fff;
  max-width: 22ch;
}
.vifm-landing .focus-band__headline em {
  color: #8a0055;
  font-style: normal;
}

.vifm-landing .focus-band__lede {
  margin-top: 22px;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  max-width: 48ch;
}

.vifm-landing .focus-band__mix {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vifm-landing .focus-band__mix-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 16px 22px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.005em;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.vifm-landing .focus-band__mix-item svg {
  color: #8a0055;
  flex-shrink: 0;
}

@media (max-width: 880px) {
  .vifm-landing .focus-band { grid-template-columns: 1fr; padding: 32px 28px; }
  .vifm-landing .focus-band__headline { max-width: none; }
}

/* About section — mission paragraph */

.vifm-landing .about-head__mission {
  margin: 22px 0 0;
  padding: 18px 22px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
  background: #fff;
  border-left: 3px solid var(--plum);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow-sm);
  max-width: 78ch;
}


/* ============================================================
   PHYSICIAN PORTRAIT — image variants
   Hero card (small) + dedicated section (large). Used when the
   $vifm_physician['photo'] config has a real image URL.
   ============================================================ */

/* Hero card: 64x64 round photo */
.vifm-landing .hero-card__doc-portrait--img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
  display: block;
}

/* Physician section: full-bleed portrait, keeps the same card aspect */
.vifm-landing .physician__portrait--img {
  position: relative;
  aspect-ratio: 1 / 1.1;
  width: 100%;
  max-width: 440px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  background: var(--bg-soft);
}
.vifm-landing .physician__portrait-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 880px) {
  .vifm-landing .physician__portrait--img { max-width: 320px; margin: 0 auto; }
}

/* Mobile shrink for the hero portrait kept consistent with placeholder version */
@media (max-width: 520px) {
  .vifm-landing .hero-card__doc-portrait--img { width: 56px; height: 56px; }
}


/* ============================================================
   WHY VIFM — 4 trust pillars under "A stronger standard for family
   medicine." Sits between the Care Options selector and Meet Your
   Physician.
   ============================================================ */

.vifm-landing .why-vifm__head {
  max-width: 760px;
  margin-bottom: 56px;
}
.vifm-landing .why-vifm__head h2 { margin-top: 18px; }
.vifm-landing .why-vifm__head .lede { margin-top: 22px; }

.vifm-landing .why-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.vifm-landing .why-pillar {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.vifm-landing .why-pillar:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}
.vifm-landing .why-pillar__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
}
.vifm-landing .why-pillar__title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.012em;
  margin: 0 0 12px;
  color: var(--ink);
  line-height: 1.22;
}
.vifm-landing .why-pillar__desc {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.55;
}

@media (max-width: 1080px) {
  .vifm-landing .why-pillars { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .vifm-landing .why-pillars { grid-template-columns: 1fr; gap: 16px; }
  .vifm-landing .why-pillar { padding: 26px 24px; }
}

/* ---------- Final "Get started" CTA section ---------- */

.vifm-landing .cta-final {
  padding-top: clamp(72px, 9vw, 120px);
  padding-bottom:0;
  background: #fff;
}

.vifm-landing .cta-final__panel {
  position: relative;
  border-radius: var(--radius-xl);
  padding: clamp(40px, 5vw, 72px);
  background: linear-gradient(135deg, #0a3a44 0%, var(--teal-dark) 50%, #034853 100%);
  color: #fff;
  box-shadow: 0 24px 48px -20px rgba(5, 60, 70, 0.35);
  overflow: hidden;
  isolation: isolate;
}

.vifm-landing .cta-final__panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 360px at 88% -10%, rgba(138, 0, 85, 0.18), transparent 60%),
    radial-gradient(700px 320px at -10% 110%, rgba(255, 255, 255, 0.06), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.vifm-landing .cta-final__panel > * {
  position: relative;
  z-index: 1;
}

.vifm-landing .eyebrow--on-dark {
  color: rgba(255, 255, 255, 0.78);
}
.vifm-landing .eyebrow--on-dark::before {
  background: rgba(255, 255, 255, 0.5);
}

.vifm-landing .cta-final__head {
  max-width: 760px;
  margin: 0 0 clamp(36px, 4vw, 56px);
}

.vifm-landing .cta-final__title {
  color: #fff;
  margin: 14px 0 18px;
}

.vifm-landing .cta-final__lede {
  margin: 0;
  font-size: 17.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  max-width: 60ch;
}

.vifm-landing .cta-final__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.vifm-landing .cta-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 28px 26px 24px;
  color: var(--ink);
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  min-height: 100%;
}

.vifm-landing a.cta-action:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.45);
  border-color: rgba(255, 255, 255, 0.35);
}
.vifm-landing a.cta-action:hover .cta-action__arrow {
  transform: translateX(4px);
}

.vifm-landing .cta-action__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  margin-bottom: 18px;
  flex-shrink: 0;
}

.vifm-landing .cta-action__title {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.012em;
  line-height: 1.25;
  margin: 0 0 10px;
  color: var(--ink);
}

.vifm-landing .cta-action__desc {
  margin: 0 0 22px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
  flex: 1 1 auto;
}

.vifm-landing .cta-action__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.005em;
  color: var(--teal-dark);
  margin-top: auto;
}

.vifm-landing .cta-action__arrow {
  display: inline-flex;
  transition: transform .25s ease;
}

.vifm-landing .cta-action--soon {
  cursor: default;
}
.vifm-landing .cta-action--soon .cta-action__btn {
  color: var(--muted);
  font-weight: 500;
}
.vifm-landing .cta-action__soon {
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.vifm-landing .cta-final__contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px 32px;
  margin-top: clamp(36px, 4vw, 56px);
  padding-top: clamp(28px, 3vw, 36px);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.vifm-landing .cta-final__contact-line {
  margin: 0;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.78);
  max-width: 56ch;
}

.vifm-landing .cta-final__phone {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: #fff;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.vifm-landing .cta-final__phone:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
}
.vifm-landing .cta-final__phone-icon {
  display: inline-flex;
  color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 1080px) {
  .vifm-landing .cta-final__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .vifm-landing .cta-final__panel { padding: 36px 24px 32px; border-radius: var(--radius-lg); }
  .vifm-landing .cta-final__lede { font-size: 16px; }
  .vifm-landing .cta-final__contact { flex-direction: column; align-items: flex-start; }
  .vifm-landing .cta-final__phone { font-size: 22px; padding: 10px 18px; }
}
@media (max-width: 560px) {
  .vifm-landing .cta-final__grid { grid-template-columns: 1fr; gap: 14px; }
  .vifm-landing .cta-action { padding: 24px 22px 20px; }
}

/* ============================================================
 * TEMPORARY — hide all sections between "Why VIFM" and the
 * "Ready to feel known by your doctor?" appointment-form CTA.
 * Sections remain in the markup so we can switch them back on
 * by simply removing this block.
 * ============================================================ */
.testimonials,
.vifm-landing #insurance,
.vifm-landing #service-area,
.vifm-landing #different,
.vifm-landing #faq,
.vifm-landing .onboarding {
  display: none !important;
}

/* ============================================================
 * Legal pages — Privacy Policy + SMS Terms
 * Scoped under .vifm-legal so it never affects the landing page.
 * Reuses the design tokens defined on .vifm-landing (font stack,
 * teal/plum, line color, etc.).
 * ============================================================ */

.vifm-legal-body { background: #fff; margin: 0; }

.vifm-landing.vifm-legal {
  display: block;
  background: #fff;
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.6;
}

/* ---- Top bar ---- */
.vifm-legal .vifm-legal__topbar {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(180%) blur(8px);
}
.vifm-legal .vifm-legal__topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.vifm-legal .vifm-legal__brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
}
.vifm-legal .vifm-legal__logo {
  display: block;
  height: auto;
  width: auto;
  max-height: 56px;
  max-width: 220px;
}
.vifm-legal .vifm-legal__brand-text {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.vifm-legal .vifm-legal__topnav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.vifm-legal .vifm-legal__topnav-link {
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s ease;
}
.vifm-legal .vifm-legal__topnav-link:hover {
  color: var(--teal-dark);
}
.vifm-legal .vifm-legal__topnav-link--phone {
  color: var(--ink);
  font-weight: 600;
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.vifm-legal .vifm-legal__topnav-link--phone:hover {
  border-color: var(--teal);
  color: var(--teal-dark);
  background: var(--teal-soft);
}

/* ---- Main / container ---- */
.vifm-legal .vifm-legal__main {
  padding-top: clamp(48px, 6vw, 88px);
  padding-bottom: clamp(56px, 7vw, 96px);
  background: #fff;
}
.vifm-legal .vifm-legal__container {
  max-width: 760px;
}

/* ---- Page header ---- */
.vifm-legal .vifm-legal__head {
  margin-bottom: clamp(32px, 4vw, 56px);
  padding-bottom: clamp(28px, 3vw, 40px);
  border-bottom: 1px solid var(--line);
}
.vifm-legal .vifm-legal__h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 14px 0 12px;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  text-wrap: balance;
}
.vifm-legal .vifm-legal__updated {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.005em;
}

/* ---- Prose ---- */
.vifm-legal .vifm-legal__prose {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.72;
}
.vifm-legal .vifm-legal__section {
  margin: 0 0 clamp(28px, 3vw, 40px);
}
.vifm-legal .vifm-legal__prose h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 26px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 14px;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
.vifm-legal .vifm-legal__prose h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(19px, 2vw, 22px);
  line-height: 1.25;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 0 0 12px;
}
.vifm-legal .vifm-legal__h2-major {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.022em;
  color: var(--ink);
  margin: 14px 0 0;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  text-wrap: balance;
}
.vifm-legal .vifm-legal__prose p {
  margin: 0 0 14px;
  color: var(--ink-soft);
}
.vifm-legal .vifm-legal__prose p:last-child { margin-bottom: 0; }
.vifm-legal .vifm-legal__prose ul {
  margin: 0 0 14px;
  padding: 0 0 0 22px;
  list-style: disc;
  color: var(--ink-soft);
}
.vifm-legal .vifm-legal__prose ul li {
  margin: 0 0 8px;
  padding-left: 4px;
}
.vifm-legal .vifm-legal__prose strong {
  color: var(--ink);
  font-weight: 600;
}
.vifm-legal .vifm-legal__prose a {
  color: var(--teal-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color .2s ease;
}
.vifm-legal .vifm-legal__prose a:hover {
  color: var(--plum);
}
.vifm-legal .vifm-legal__placeholder {
  font-family: var(--font-mono);
  font-size: 14px;
  background: var(--bg-soft);
  border: 1px dashed var(--line-strong);
  color: var(--muted);
  padding: 1px 8px;
  border-radius: 6px;
}
.vifm-legal .vifm-legal__additional {
  background: var(--bg-soft);
  border-left: 3px solid var(--teal);
  padding: 14px 18px;
  border-radius: 6px;
}

/* ---- Section divider between Privacy and SMS Terms ---- */
.vifm-legal .vifm-legal__divider {
  border: 0;
  height: 1px;
  background: var(--line);
  margin: clamp(40px, 5vw, 64px) 0;
}
.vifm-legal .vifm-legal__sub-head {
  margin: 0 0 clamp(24px, 3vw, 36px);
}

/* ---- Back to home button ---- */
.vifm-legal .vifm-legal__back {
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: clamp(28px, 3vw, 36px);
  border-top: 1px solid var(--line);
}
.vifm-legal .vifm-legal__back-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--teal-dark);
  text-decoration: none;
  padding: 12px 22px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.vifm-legal .vifm-legal__back-btn:hover {
  border-color: var(--teal);
  background: var(--teal-soft);
  color: var(--teal-dark);
}

/* ---- Footer ---- */
.vifm-legal .vifm-legal__footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  padding: 28px 0;
  margin-top: 40px;
}
.vifm-legal .vifm-legal__footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}
.vifm-legal .vifm-legal__copy {
  font-size: 13.5px;
  color: var(--muted);
}
.vifm-legal .vifm-legal__footer-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.vifm-legal .vifm-legal__footer-nav a {
  font-size: 13.5px;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s ease;
}
.vifm-legal .vifm-legal__footer-nav a:hover {
  color: var(--teal-dark);
}

/* ---- Responsive ---- */
@media (max-width: 640px) {
  .vifm-legal .vifm-legal__topnav-link--phone { padding: 6px 12px; font-size: 13px; }
  .vifm-legal .vifm-legal__topnav { gap: 12px; }
  .vifm-legal .vifm-legal__logo { max-height: 44px; max-width: 180px; }
  .vifm-legal .vifm-legal__footer-inner { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
 * Legal page — refinements for the shared landing chrome layout.
 * The privacy template now sits inside the homepage's microbar +
 * sticky `.vifm-header`; spacing and typography are retuned so the
 * prose reads cleanly under that chrome and matches the design
 * rhythm of the homepage.
 * ============================================================ */

/* Anchor jump targets need scroll-margin so they aren't hidden
 * behind the sticky header when linked to. */
.vifm-legal #main,
.vifm-legal #sms-terms { scroll-margin-top: 110px; }

/* Frame — body inherits sans from .vifm-landing; ensure tight rhythm. */
.vifm-landing.vifm-legal {
  font-family: var(--font-sans);
  line-height: 1.65;
  color: var(--ink-soft);
}

.vifm-legal .vifm-legal__main {
  padding-top: clamp(72px, 8vw, 120px);
  padding-bottom: clamp(80px, 9vw, 140px);
}

.vifm-legal .vifm-legal__container {
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}

/* Page header — H1 mirrors landing's .h-display proportions, scaled down. */
.vifm-legal .vifm-legal__head {
  margin-bottom: clamp(40px, 5vw, 64px);
  padding-bottom: clamp(32px, 4vw, 48px);
}
.vifm-legal .vifm-legal__head .eyebrow { color: var(--plum); }
.vifm-legal .vifm-legal__h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(40px, 5.6vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 18px 0 14px;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  text-wrap: balance;
}
.vifm-legal .vifm-legal__updated {
  font-family: var(--font-sans);
  font-size: 14.5px;
  color: var(--muted);
  margin: 0;
}

/* Sub-header for "Terms and Conditions for SMS" — matches landing's
 * .h-section sizing token exactly so the visual rhythm reads as a
 * second-level page heading just like a landing section banner. */
.vifm-legal .vifm-legal__sub-head { margin-bottom: clamp(28px, 3.2vw, 40px); }
.vifm-legal .vifm-legal__sub-head .eyebrow { color: var(--plum); }
.vifm-legal .vifm-legal__h2-major {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(30px, 3.8vw, 50px);
  line-height: 1.06;
  letter-spacing: -0.022em;
  color: var(--ink);
  margin-top: 14px;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  text-wrap: balance;
}

/* Prose body — Inter Tight at landing's body size + line-height. */
.vifm-legal .vifm-legal__prose {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
}

.vifm-legal .vifm-legal__section { margin: 0 0 clamp(28px, 3vw, 40px); }

/* Numbered section H2s ("1. Data Collection") read like .h-card —
 * Fraunces 500, slightly tighter than the page H1 / H2-major. */
.vifm-legal .vifm-legal__prose h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 26px);
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 14px;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}

/* Lettered section H3s ("A. Introduction") — slightly smaller. */
.vifm-legal .vifm-legal__prose h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(19px, 2vw, 22px);
  line-height: 1.22;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 0 0 12px;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}

.vifm-legal .vifm-legal__prose p { margin: 0 0 14px; color: var(--ink-soft); }
.vifm-legal .vifm-legal__prose p:last-child { margin-bottom: 0; }
.vifm-legal .vifm-legal__prose strong { color: var(--ink); font-weight: 600; }

.vifm-legal .vifm-legal__prose ul {
  margin: 8px 0 14px;
  padding-left: 22px;
  list-style: disc;
}
.vifm-legal .vifm-legal__prose ul li {
  margin: 0 0 8px;
  padding-left: 4px;
}
.vifm-legal .vifm-legal__prose ul li:last-child { margin-bottom: 0; }

/* Inline links match landing's body-link convention. */
.vifm-legal .vifm-legal__prose a {
  color: var(--teal-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color .2s ease;
}
.vifm-legal .vifm-legal__prose a:hover { color: var(--plum); }

/* Pull-quote panel for the "Additional options" callout. */
.vifm-legal .vifm-legal__additional {
  padding: 16px 20px;
  margin-top: 8px;
  font-size: 15.5px;
  line-height: 1.55;
  background: var(--bg-soft);
  border-left: 3px solid var(--teal);
  color: var(--ink-soft);
  border-radius: 6px;
}

/* Section divider between Privacy and SMS Terms */
.vifm-legal .vifm-legal__divider { margin: clamp(48px, 6vw, 80px) 0; }

/* "Back to homepage" pill */
.vifm-legal .vifm-legal__back {
  margin-top: clamp(48px, 6vw, 72px);
  padding-top: clamp(32px, 3.6vw, 44px);
}
.vifm-legal .vifm-legal__back-btn {
  padding: 13px 24px;
  font-size: 15px;
}

/* Mobile dial-down */
@media (max-width: 640px) {
  .vifm-legal #main,
  .vifm-legal #sms-terms { scroll-margin-top: 84px; }

  .vifm-legal .vifm-legal__main {
    padding-top: clamp(40px, 8vw, 64px);
    padding-bottom: clamp(56px, 9vw, 80px);
  }
  .vifm-legal .vifm-legal__h1 { font-size: clamp(34px, 9vw, 44px); }
  .vifm-legal .vifm-legal__h2-major { font-size: clamp(26px, 7vw, 34px); }
  .vifm-legal .vifm-legal__prose { font-size: 16.5px; }
  .vifm-legal .vifm-legal__prose h2 { font-size: clamp(22px, 6vw, 26px); }
  .vifm-legal .vifm-legal__prose h3 { font-size: clamp(19px, 5vw, 22px); }
}

/* ============================================================
 * Section transitions, eyebrow prominence, and tightened rhythm.
 * Loaded last so it overrides earlier defaults via the cascade.
 * ============================================================ */

/* Tighter section spacing — was clamp(72,9vw,128); felt too loose. */
.vifm-landing {
  --section-y: clamp(56px, 6.5vw, 96px);
}
.vifm-landing .section--tight {
  padding-top: clamp(40px, 4.5vw, 64px);
  padding-bottom: clamp(40px, 4.5vw, 64px);
}

/* Much more prominent eyebrow — these are the section title-starters,
 * so they read as deliberate banners not background labels. */
.vifm-landing .eyebrow {
  font-size: 16px;
  letter-spacing: 0.28em;
  font-weight: 700;
  color:#1e1e1e;
}
.vifm-landing .eyebrow::before {
  width: 44px;
  height: 1.5px;
}

/* Center the eyebrow + heading for every full-width section head.
 * 2-column heads (model, care, physician, insurance, service area,
 * faq, cta-form) stay where they are because the eyebrow lives in
 * a copy column; centering them would break the split layout. */
.vifm-landing .services-head,
.vifm-landing .why-vifm__head,
.vifm-landing .about-head,
.vifm-landing .diff__head,
.vifm-landing .onboarding__head,
.vifm-landing .modern-care__head,
.vifm-landing .purpose__head,
.vifm-landing .cta-final__head {
  text-align: center;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}

/* All centered section heads — apply the unified banner-eyebrow
 * treatment (large size, both-sides marks, gap-based layout). */
.vifm-landing .section-head--center .eyebrow,
.vifm-landing .services-head .eyebrow,
.vifm-landing .why-vifm__head .eyebrow,
.vifm-landing .about-head .eyebrow,
.vifm-landing .diff__head .eyebrow,
.vifm-landing .onboarding__head .eyebrow,
.vifm-landing .modern-care__head .eyebrow,
.vifm-landing .purpose__head .eyebrow,
.vifm-landing .cta-final__head .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 24px;
  letter-spacing: 0.28em;
  font-weight: 700;
  margin: 0 auto;
}
.vifm-landing .section-head--center .eyebrow::before,
.vifm-landing .section-head--center .eyebrow::after,
.vifm-landing .services-head .eyebrow::before,
.vifm-landing .services-head .eyebrow::after,
.vifm-landing .why-vifm__head .eyebrow::before,
.vifm-landing .why-vifm__head .eyebrow::after,
.vifm-landing .about-head .eyebrow::before,
.vifm-landing .about-head .eyebrow::after,
.vifm-landing .diff__head .eyebrow::before,
.vifm-landing .diff__head .eyebrow::after,
.vifm-landing .onboarding__head .eyebrow::before,
.vifm-landing .onboarding__head .eyebrow::after,
.vifm-landing .modern-care__head .eyebrow::before,
.vifm-landing .modern-care__head .eyebrow::after,
.vifm-landing .purpose__head .eyebrow::before,
.vifm-landing .purpose__head .eyebrow::after,
.vifm-landing .cta-final__head .eyebrow::before,
.vifm-landing .cta-final__head .eyebrow::after {
  content: '';
  width: 44px;
  height: 1.5px;
  background: var(--teal);
  flex-shrink: 0;
  margin: 0;
}

/* Force a wider centered breathing room under the eyebrow so the
 * H2 sits with a clear gap below the centered banner. */
.vifm-landing .services-head .h-section,
.vifm-landing .why-vifm__head .h-section,
.vifm-landing .about-head .h-section,
.vifm-landing .diff__head .h-section,
.vifm-landing .onboarding__head .h-section,
.vifm-landing .modern-care__head .h-section,
.vifm-landing .purpose__head .h-section,
.vifm-landing .cta-final__head .h-section {
  margin-top: 18px;
}
.vifm-landing .services-head .lede,
.vifm-landing .why-vifm__head .lede,
.vifm-landing .about-head .lede,
.vifm-landing .diff__head .lede,
.vifm-landing .onboarding__head .lede,
.vifm-landing .modern-care__head .lede,
.vifm-landing .purpose__head .lede,
.vifm-landing .cta-final__head .lede,
.vifm-landing .cta-final__head .cta-final__lede {
  margin-left: auto;
  margin-right: auto;
  max-width: 760px;
}

/* The four section heads we already centered (modern-care, purpose)
 * had their own .h-section margins — make sure the universal
 * margin-top above doesn't double up. */
.vifm-landing .modern-care__head .h-section,
.vifm-landing .purpose__head .h-section { margin-bottom: 18px; }

/* Final CTA "Get started" sits on a dark background; flip its eyebrow
 * marks to the on-dark teal accent so they're visible. */
.vifm-landing .cta-final__head .eyebrow::before,
.vifm-landing .cta-final__head .eyebrow::after { background: #5fb6c4; }

/* ============================================================
 * Footer typography — uniform with the rest of the site.
 * Body content uses var(--font-sans). The brand wordmark keeps
 * Fraunces because it is the brand mark, not body copy.
 * ============================================================ */
.vifm-landing .vifm-footer,
.vifm-landing .vifm-footer__tag,
.vifm-landing .vifm-footer__address,
.vifm-landing .vifm-footer__hours,
.vifm-landing .vifm-footer__hours-title,
.vifm-landing .vifm-footer__col-title,
.vifm-landing .vifm-footer__list,
.vifm-landing .vifm-footer__list a,
.vifm-landing .vifm-footer__pay-title,
.vifm-landing .vifm-footer__pay-link,
.vifm-landing .vifm-footer__response,
.vifm-landing .vifm-footer__bottom,
.vifm-landing .vifm-footer__legal,
.vifm-landing .vifm-footer__legal a {
  font-family: var(--font-sans);
}

/* Tag now sans, slightly tighter line-height. */
.vifm-landing .vifm-footer__tag {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
}

/* Brand wordmark stays Fraunces — it's the logo. */
.vifm-landing .vifm-footer__brand .logo__word {
  font-family: var(--font-serif);
}

/* Uniform sizing across the four footer columns. */
.vifm-landing .vifm-footer__col-title { font-size: 12px; }
.vifm-landing .vifm-footer__address   { font-size: 14.5px; }
.vifm-landing .vifm-footer__hours dl  { font-size: 13.5px; }
.vifm-landing .vifm-footer__list a    { font-size: 14.5px; }
.vifm-landing .vifm-footer__bottom    { font-size: 13px; }
.vifm-landing .vifm-footer__legal a   { font-size: 13px; color: var(--muted); }
.vifm-landing .vifm-footer__legal a:hover { color: var(--teal-dark); }

/* ============================================================
 * Unified `.section-head--center` banner — used as the title
 * starter for every section that previously had its eyebrow + H2
 * inside a 2-column copy block. The banner is centered, the
 * eyebrow has matching marks on both sides, and the H2 + lede
 * sit in a tight reading column below.
 * ============================================================ */
.vifm-landing .section-head--center {
  text-align: center;
  max-width: 920px;
  margin: 0 auto clamp(40px, 4.5vw, 64px);
}
.vifm-landing .section-head--center .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 24px;
  letter-spacing: 0.28em;
  font-weight: 700;
}
.vifm-landing .section-head--center .eyebrow::before,
.vifm-landing .section-head--center .eyebrow::after {
  content: '';
  width: 44px;
  height: 1.5px;
  background: var(--teal);
  flex-shrink: 0;
}
.vifm-landing .section-head--center .eyebrow::after { margin-left: 0; }
.vifm-landing .section-head--center .h-section {
  margin-top: 22px;
  margin-bottom: 22px;
}
.vifm-landing .section-head--center .lede,
.vifm-landing .section-head--center > p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* Why Institute solo — eyebrow + H2 are now ABOVE the gradient
 * banner, so the inner card collapses to single-column body + CTA. */
.vifm-landing .why-institute--solo .why-institute__inner {
  grid-template-columns: 1fr;
}
.vifm-landing .why-institute--solo .why-institute__detail {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.vifm-landing .why-institute--solo .why-institute__cta {
  margin: 18px auto 0;
}

/* FAQ solo — head pulled out, accordion list spans full width. */
.vifm-landing .faq__inner--solo {
  grid-template-columns: 1fr;
}
.vifm-landing .faq__inner--solo .faq__list {
  max-width: 880px;
  margin: 0 auto;
}

/* Insurance: title pulled out, copy column now starts with the CTA pair. */
.vifm-landing .insurance .insurance__copy > .insurance__ctas:first-child {
  margin-top: 0;
}

/* Service Area: title pulled out, copy column now starts with the CTA. */
.vifm-landing .service-area .service-area__copy > .btn:first-child {
  margin-top: 0;
}

/* Physician: title pulled out, copy column now starts with the name row. */
.vifm-landing .physician .physician__copy > .physician__name-row:first-child {
  margin-top: 0;
}

/* CTA Form: dedicated head sits above the form wrap, on the dark band's
 * teal-tinted light treatment. */
.vifm-landing .cta-form .cta-form__head {
  margin-bottom: clamp(28px, 3.5vw, 48px);
}
.vifm-landing .cta-form .cta-form__head .eyebrow,
.vifm-landing .cta-form .cta-form__head .eyebrow::before,
.vifm-landing .cta-form .cta-form__head .eyebrow::after {
  /* keep teal — section is on light bg already */
}


/* ============================================================
 * Why Now — verbatim 4-bullet block.
 * Numbered editorial-style list, 2-col on desktop, stacked on mobile.
 * ============================================================ */
.vifm-landing .why-now__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 32px;
}
.vifm-landing .why-now__item {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 24px 28px 24px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.vifm-landing .why-now__num {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--plum);
  font-variation-settings: "opsz" 144, "SOFT" 30;
  align-self: start;
  padding-top: 4px;
}
.vifm-landing .why-now__desc {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
}
@media (max-width: 880px) {
  .vifm-landing .why-now__list { grid-template-columns: 1fr; }
}

/* ============================================================
 * Investment Opportunity — verbatim intro + bullets + closing.
 * Centered narrow column, scannable list with check marks.
 * ============================================================ */
.vifm-landing .investment__inner {
  max-width: 820px;
  margin: 0 auto;
}
.vifm-landing .investment__intro {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.3;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin: 0 0 22px;
  text-align: center;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
.vifm-landing .investment__list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
}
.vifm-landing .investment__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.vifm-landing .investment__list li svg {
  color: var(--teal-dark);
  flex-shrink: 0;
  margin-top: 2px;
}
.vifm-landing .investment__closing {
  margin: 0;
  padding: 24px 26px;
  background: #fff;
  border-left: 3px solid var(--plum);
  border-radius: 8px;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  text-align: left;
}
@media (max-width: 720px) {
  .vifm-landing .investment__list { grid-template-columns: 1fr; }
}

/* ============================================================
 * Why We Are Different — multi-band signature spread.
 *
 * Three bands: brand opener with family image (top), 9-item list
 * + circular hub diagram (middle), dark band with 4 pillars + 2
 * CTAs (bottom). Sits as a single full-bleed section.
 * ============================================================ */

/* Local color tokens — match the reference exactly: teal #007f89,
 * plum #8a0052, navy #06245c (per the developer-notes spec). */
.vifm-landing .why-different {
  --wd-teal:  #007f89;
  --wd-plum:  #8a0052;
  --wd-green: #4a8a3a;
  --wd-navy:  #06245c;
  --wd-dark:  #06245c;
  --wd-bg-soft: #f4fbfb;
  --wd-bg-soft-line: #d7eeee;
}

.vifm-landing .why-different .t-teal { color: var(--wd-teal); font-style: normal; }
.vifm-landing .why-different .t-plum { color: var(--wd-plum); font-style: normal; }

/* ---------- Top band ---------- */
.vifm-landing .why-different__top {
  position: relative;
  background: #fff;
  padding: clamp(56px, 6vw, 96px) 0 0;
  color: var(--wd-dark);
  overflow: hidden;
}
.vifm-landing .why-different__top-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  padding-bottom: clamp(80px, 9vw, 140px);
}

.vifm-landing .why-different__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--wd-teal);
  margin-bottom: 8px;
}
.vifm-landing .why-different__eyebrow::before,
.vifm-landing .why-different__eyebrow::after {
  content: '';
  width: 36px;
  height: 1.5px;
  background: var(--wd-teal);
}

.vifm-landing .why-different__display {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(48px, 6vw, 84px);
  line-height: 0.95;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--wd-plum);
  margin: 0 0 22px;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}

.vifm-landing .why-different__subhead {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.018em;
  color: var(--wd-dark);
  margin: 0 0 22px;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  text-wrap: balance;
}

.vifm-landing .why-different__lede {
  font-family: var(--font-sans);
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
  max-width: 520px;
}

.vifm-landing .why-different__top-image {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(135deg, #f4f9fa 0%, #fbf3f7 100%);
  aspect-ratio: 4 / 3;
  box-shadow: 0 32px 64px -28px rgba(10, 31, 51, 0.22);
}
.vifm-landing .why-different__top-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Wave bridge from top band into middle band. */
.vifm-landing .why-different__wave {
  display: block;
  width: 100%;
  height: clamp(60px, 7vw, 110px);
  color: #f7fafb;
  margin-bottom: -1px;
}

/* ---------- Middle band ---------- */
.vifm-landing .why-different__middle {
  background: #f7fafb;
  padding: clamp(48px, 6vw, 96px) 0 clamp(56px, 7vw, 110px);
}
.vifm-landing .why-different__middle-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 72px);
  align-items: start;
}

/* The 9-item list (left column). */
.vifm-landing .why-different__list {
  list-style: none;
  margin: 0;
  padding: 0 0 0 18px;
  position: relative;
}
.vifm-landing .why-different__list::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 28px;
  bottom: 28px;
  border-left: 2px dotted rgba(14, 141, 163, 0.32);
}
.vifm-landing .why-different__list-item {
  position: relative;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 18px;
  margin-bottom: clamp(18px, 2vw, 28px);
  padding-left: 14px;
}
.vifm-landing .why-different__list-item:last-child { margin-bottom: 0; }
.vifm-landing .why-different__list-bullet {
  position: absolute;
  left: 0;
  top: 22px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(14, 141, 163, 0.12);
}
.vifm-landing .why-different__list-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid currentColor;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.vifm-landing .why-different__list-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 17.5px;
  line-height: 1.25;
  letter-spacing: -0.005em;
  color: currentColor;
  margin: 0 0 6px;
}
.vifm-landing .why-different__list-desc {
  font-family: var(--font-sans);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}

/* Tone classes — set the icon ring + title color for each item. */
.vifm-landing .why-different__list-item--teal  { color: var(--wd-teal); }
.vifm-landing .why-different__list-item--plum  { color: var(--wd-plum); }
.vifm-landing .why-different__list-item--green { color: var(--wd-green); }
.vifm-landing .why-different__list-item--navy  { color: var(--wd-navy); }

/* The circular hub diagram (right column). */
.vifm-landing .why-different__circle {
  position: relative;
  width: min(560px, 100%);
  aspect-ratio: 1;
  margin: 0 auto;
}
.vifm-landing .why-different__circle-ring {
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  border: 3px dashed var(--wd-teal);
  background: radial-gradient(circle, #ffffff 50%, var(--wd-bg-soft) 100%);
}
.vifm-landing .why-different__circle-core {
  position: absolute;
  inset: 22%;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--wd-bg-soft-line);
  box-shadow: 0 18px 44px -22px rgba(6, 36, 92, 0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 18px;
}
.vifm-landing .why-different__circle-mark {
  width: 38px;
  height: 38px;
  margin-bottom: 6px;
}
.vifm-landing .why-different__circle-mark svg { width: 100%; height: 100%; }
.vifm-landing .why-different__circle-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(16px, 1.7vw, 21px);
  line-height: 1.15;
  color: var(--wd-dark);
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.vifm-landing .why-different__circle-divider {
  width: 28px;
  height: 1.5px;
  background: var(--wd-plum);
  margin: 4px 0 8px;
}
.vifm-landing .why-different__circle-tagline {
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
  letter-spacing: 0.005em;
}

/* Spokes — 8 nodes positioned around the circle. */
.vifm-landing .why-different__spoke {
  position: absolute;
  width: 132px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}
.vifm-landing .why-different__spoke-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid currentColor;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.vifm-landing .why-different__spoke-label {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 13px;
  line-height: 1.3;
  color: currentColor;
}

.vifm-landing .why-different__spoke--teal  { color: var(--wd-teal); }
.vifm-landing .why-different__spoke--plum  { color: var(--wd-plum); }
.vifm-landing .why-different__spoke--green { color: var(--wd-green); }
.vifm-landing .why-different__spoke--navy  { color: var(--wd-navy); }

/* Position the 8 spokes at 8 cardinal/intercardinal positions. */
.vifm-landing .why-different__spoke--top       { top: -18px;  left: 50%; transform: translateX(-50%); }
.vifm-landing .why-different__spoke--top-right { top: 6%;     right: -10px; }
.vifm-landing .why-different__spoke--right     { top: 50%;    right: -32px; transform: translateY(-50%); }
.vifm-landing .why-different__spoke--btm-right { bottom: 6%;  right: -10px; }
.vifm-landing .why-different__spoke--bottom    { bottom: -18px; left: 50%; transform: translateX(-50%); }
.vifm-landing .why-different__spoke--btm-left  { bottom: 6%;  left: -10px; }
.vifm-landing .why-different__spoke--left      { top: 50%;    left: -32px; transform: translateY(-50%); }
.vifm-landing .why-different__spoke--top-left  { top: 6%;     left: -10px; }

/* ---------- Bottom band (dark) ---------- */
.vifm-landing .why-different__bottom {
  background:
    radial-gradient(circle at 8% 12%, rgba(255,255,255,0.04) 0 1px, transparent 1px) 0 0/40px 40px,
    linear-gradient(180deg, #1b2c4f 0%, #14233e 100%);
  color: #fff;
  padding: clamp(56px, 7vw, 100px) 0 clamp(48px, 6vw, 80px);
}
.vifm-landing .why-different__bottom-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto clamp(36px, 4vw, 56px);
}
.vifm-landing .why-different__bottom-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.018em;
  color: #fff;
  margin: 0 0 16px;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
.vifm-landing .why-different__bottom-lede {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
}

.vifm-landing .why-different__pillars {
  list-style: none;
  margin: 0 auto clamp(32px, 4vw, 56px);
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1080px;
}
.vifm-landing .why-different__pillar {
  text-align: center;
  padding: 0 14px;
}
.vifm-landing .why-different__pillar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  margin: 0 auto 14px;
  border: 1.5px solid currentColor;
}
.vifm-landing .why-different__pillar-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 16.5px;
  letter-spacing: 0.005em;
  margin: 0 0 8px;
  color: currentColor;
}
.vifm-landing .why-different__pillar-desc {
  font-family: var(--font-sans);
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}
.vifm-landing .why-different__pillar--teal  { color: #5fc4d8; }
.vifm-landing .why-different__pillar--plum  { color: #d77ea7; }
.vifm-landing .why-different__pillar--green { color: #8bc97a; }
.vifm-landing .why-different__pillar--navy  { color: #6f9ad6; }

/* CTA bar */
.vifm-landing .why-different__ctas {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}
.vifm-landing .why-different__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 12px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .25s ease, background .2s ease;
}
.vifm-landing .why-different__cta--green {
  background: var(--wd-green);
  color: #fff;
  box-shadow: 0 14px 28px -12px rgba(74, 138, 58, 0.55);
}
.vifm-landing .why-different__cta--green:hover {
  background: #3e7530;
  transform: translateY(-1px);
}
.vifm-landing .why-different__cta--plum {
  background: var(--wd-plum);
  color: #fff;
  box-shadow: 0 14px 28px -12px rgba(138, 0, 85, 0.55);
}
.vifm-landing .why-different__cta--plum:hover {
  background: #6a0040;
  transform: translateY(-1px);
}
.vifm-landing .why-different__cta .arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .vifm-landing .why-different__top-grid { grid-template-columns: 1fr; }
  .vifm-landing .why-different__top-image { aspect-ratio: 16 / 10; }
  .vifm-landing .why-different__middle-grid { grid-template-columns: 1fr; gap: clamp(40px, 6vw, 64px); }
  .vifm-landing .why-different__circle { width: min(480px, 100%); }
  .vifm-landing .why-different__pillars { grid-template-columns: repeat(2, 1fr); gap: 32px 18px; }
}
@media (max-width: 540px) {
  .vifm-landing .why-different__list-item { grid-template-columns: 50px 1fr; }
  .vifm-landing .why-different__list-icon  { width: 50px; height: 50px; }
  .vifm-landing .why-different__circle { display: none; }   /* circular diagram doesn't fit on phones */
  .vifm-landing .why-different__pillars { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto clamp(28px, 5vw, 40px); }
  .vifm-landing .why-different__cta { width: 100%; justify-content: center; }
  .vifm-landing .why-different__display { font-size: clamp(40px, 12vw, 60px); }
  .vifm-landing .why-different__subhead { font-size: clamp(22px, 6vw, 30px); }
}

/* ============================================================
 * Practice Focus — gradient feature band (cardiometabolic center).
 * Sits right after Lifecycle Services as a positioning statement.
 * Plum-to-teal brand gradient panel, centered headline + lede,
 * three glass-effect pill cards stacked vertically below.
 * ============================================================ */
.vifm-landing .practice-focus {
  padding-top: clamp(40px, 4.5vw, 64px);
  padding-bottom: clamp(40px, 4.5vw, 64px);
}
.vifm-landing .practice-focus__panel {
  position: relative;
  background: linear-gradient(160deg, #6a0040 0%, #5a1054 35%, #1a4760 75%, #0e8da3 100%);
  border-radius: var(--radius-xl);
  padding: clamp(48px, 6vw, 88px) clamp(28px, 4.5vw, 72px) clamp(48px, 6vw, 80px);
  color: #fff;
  overflow: hidden;
  box-shadow: 0 36px 72px -28px rgba(10, 31, 51, 0.38);
}
.vifm-landing .practice-focus__shape {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 90% 12%, rgba(255,255,255,0.10) 0 1px, transparent 1px) 0 0/26px 26px,
    radial-gradient(circle at 18% 88%, rgba(255,255,255,0.18), transparent 60%);
  opacity: 0.55;
}
.vifm-landing .practice-focus__copy {
  position: relative;
  max-width: 820px;
  margin: 0 auto clamp(36px, 4.5vw, 56px);
  text-align: center;
}
.vifm-landing .practice-focus__eyebrow {
  color: rgba(255, 255, 255, 0.94);
  display: inline-flex;
}
.vifm-landing .practice-focus__eyebrow::before,
.vifm-landing .practice-focus__eyebrow::after {
  background: rgba(255, 255, 255, 0.62);
}
.vifm-landing .practice-focus__headline {
  color: #fff;
  margin: 18px 0 22px;
}
.vifm-landing .practice-focus__headline em {
  color: #ffd6ec;
  font-style: italic;
}
.vifm-landing .practice-focus__lede {
  font-family: var(--font-sans);
  font-size: clamp(16px, 1.5vw, 18.5px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.86);
  margin: 0 auto;
  max-width: 720px;
}
.vifm-landing .practice-focus__mix {
  position: relative;
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.vifm-landing .practice-focus__mix-item {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  padding: 22px 28px;
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(15.5px, 1.4vw, 18px);
  line-height: 1.4;
  letter-spacing: -0.005em;
  backdrop-filter: blur(8px) saturate(140%);
  -webkit-backdrop-filter: blur(8px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10);
}
.vifm-landing .practice-focus__mix-item strong {
  color: #fff;
  font-weight: 700;
  margin-right: 6px;
}
@media (max-width: 640px) {
  .vifm-landing .practice-focus__mix-item { padding: 18px 22px; }
}

/* ============================================================
 * Physician page (/physician/) — full-width content layout that
 * replaces the former popup. Mirrors the privacy page structure
 * with portrait + bio + chips + credibility list + CTAs.
 * ============================================================ */
.vifm-physician .physician-page__main {
  padding-top: clamp(64px, 7vw, 110px);
  padding-bottom: clamp(72px, 8vw, 130px);
}
.vifm-physician .physician-page__head {
  max-width: 880px;
  margin: 0 auto clamp(48px, 5vw, 72px);
  text-align: center;
}
.vifm-physician .physician-page__head .eyebrow { color: var(--plum); }
.vifm-physician .physician-page__h1 {
  font-size: clamp(40px, 5.6vw, 64px);
  margin: 18px 0 18px;
}
.vifm-physician .physician-page__head .lede { margin: 0 auto; max-width: 640px; }

.vifm-physician .physician-page__inner {
  display: grid;
  grid-template-columns: minmax(260px, 360px) 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

/* Portrait column */
.vifm-physician .physician-page__portrait-col {
  position: sticky;
  top: 120px;
}
.vifm-physician .physician-page__portrait {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 5;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(135deg, #f4f9fa 0%, #fbf3f7 100%);
  box-shadow: 0 32px 64px -28px rgba(10, 31, 51, 0.22);
}
.vifm-physician .physician-page__portrait--img { padding: 0; }
.vifm-physician .physician-page__portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.vifm-physician .physician-page__portrait-initials {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(80px, 10vw, 140px);
  color: var(--plum);
  letter-spacing: -0.04em;
  line-height: 1;
}
.vifm-physician .physician-page__portrait-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 8px 18px -8px rgba(0,0,0,0.18);
}
.vifm-physician .physician-page__portrait-badge svg { color: var(--teal-dark); }

/* Copy column */
.vifm-physician .physician-page__copy { min-width: 0; }
.vifm-physician .physician-page__name-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 18px;
}
.vifm-physician .physician-page__name {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(26px, 2.8vw, 34px);
  letter-spacing: -0.018em;
  color: var(--ink);
  line-height: 1.15;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
.vifm-physician .physician-page__role {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--muted);
}
.vifm-physician .physician-page__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-bottom: 24px;
}
.vifm-physician .physician-page__bio {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 26px;
}
.vifm-physician .physician-page__bio strong { color: var(--ink); font-weight: 600; }
.vifm-physician .physician-page__quote {
  margin: 0 0 28px;
  padding: 22px 26px;
  border-left: 3px solid var(--teal);
  background: var(--bg-soft);
  border-radius: 8px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.5;
  color: var(--ink);
}

/* Credibility list */
.vifm-physician .physician-page__credibility {
  margin: 0 0 28px;
  padding: 24px 26px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.vifm-physician .physician-page__credibility-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 14px;
}
.vifm-physician .physician-page__credibility-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.vifm-physician .physician-page__credibility-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.vifm-physician .physician-page__credibility-list svg {
  color: var(--teal-dark);
  flex-shrink: 0;
  margin-top: 2px;
}
.vifm-physician .physician-page__accepting {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 12px 14px;
  background: rgba(7, 135, 151, 0.08);
  border: 1px solid rgba(7, 135, 151, 0.20);
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--ink);
  flex-wrap: wrap;
}
.vifm-physician .physician-page__accepting strong { color: var(--ink); font-weight: 700; }
.vifm-physician .physician-page__accepting span:not(.physician-page__accepting-dot) { color: var(--ink-soft); }
.vifm-physician .physician-page__accepting-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
  flex-shrink: 0;
}

/* CTA row */
.vifm-physician .physician-page__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Back-to-home pill */
.vifm-physician .physician-page__back {
  margin-top: clamp(56px, 6vw, 80px);
  padding-top: clamp(36px, 4vw, 48px);
  border-top: 1px solid var(--line);
  text-align: center;
}
.vifm-physician .physician-page__back-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--teal-dark);
  text-decoration: none;
  padding: 12px 22px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.vifm-physician .physician-page__back-btn:hover {
  border-color: var(--teal);
  background: var(--teal-soft);
  color: var(--teal-dark);
}

@media (max-width: 880px) {
  .vifm-physician .physician-page__inner {
    grid-template-columns: 1fr;
    gap: clamp(28px, 5vw, 40px);
  }
  .vifm-physician .physician-page__portrait-col { position: static; max-width: 360px; margin: 0 auto; }
}
