/*
Theme Name: Being Doctor
Description: Custom Being Doctor homepage with light and dark modes and contact links.
Version: 1.1.4
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: being-doctor
*/
/* ===== Reset & base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --teal: #01485E;
  --teal-2: #026878;
  --teal-dark: #021E28;
  --green: #4CB493;
  --green-dark: #3da282;
  --text-dark: #0D2B36;
  --text-muted: #4A6B75;
  --text-light: #7A9BA8;
  --text-faint: #B8CDD4;
  --text-faint-2: #B0C4CC;
  --mint: #EBF7F3;
  --mint-2: #F8FFFE;
  --accent-text: var(--teal);
  --nav-border: rgba(1,72,94,0.08);
  --font-body: 'Manrope', sans-serif;
  --font-head: 'Plus Jakarta Sans', sans-serif;
  --max-width: 1360px;
}

/* ===== Dark theme ===== */
[data-theme="dark"] {
  --text-dark: #EAF3F1;
  --text-muted: #A9C2C7;
  --text-light: #7FA0A6;
  --text-faint: #5D7D82;
  --text-faint-2: #6C8A8F;
  --accent-text: #6FE3C4;
  --nav-border: rgba(255,255,255,0.08);
}

html { scroll-behavior: smooth; }
section, footer, #service-list { scroll-margin-top: 88px; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  min-width: 0;
  transition: background-color 0.3s ease, color 0.3s ease;
}
[data-theme="dark"] body { background: #0A1B21; }

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

.wrap { max-width: var(--max-width); margin: 0 auto; }

.c-teal { color: var(--accent-text); }
.c-green { color: var(--green); }

@keyframes floatA { 0%,100%{transform:translateY(0px)} 50%{transform:translateY(-10px)} }
@keyframes floatB { 0%,100%{transform:translateY(0px)} 50%{transform:translateY(-8px)} }
@keyframes pulseDot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(0.75)} }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-head);
  border-radius: 10px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.06); }
.btn-primary {
  background: var(--green);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  box-shadow: 0 6px 24px rgba(76,180,147,0.35);
}
.btn-primary:hover { box-shadow: 0 10px 30px rgba(76,180,147,0.45); }
.btn-secondary {
  background: #fff;
  color: var(--accent-text);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 28px;
  border: 1.5px solid rgba(1,72,94,0.18);
}
.btn-secondary:hover { background: var(--mint); border-color: var(--green); }
.btn-dark {
  background: var(--teal);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 13px 24px;
  border-radius: 10px;
}
.btn-dark:hover { background: var(--teal-2); }
.btn-green-sm {
  background: var(--green);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 13px 24px;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(76,180,147,0.3);
}
.btn-green-sm:hover { box-shadow: 0 8px 24px rgba(76,180,147,0.4); }
.btn-ghost-dark {
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.15);
}
.btn-ghost-dark:hover { background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.28); }
.btn-ghost-light {
  background: rgba(255,255,255,0.09);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 16px 32px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.18);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.3); }
[data-theme="dark"] .btn-secondary:hover { background: rgba(76,180,147,0.15); }

/* ===== Navigation ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--nav-border);
  height: 72px;
  display: flex;
  align-items: center;
  padding: 0 48px;
  transition: box-shadow 0.2s ease, background-color 0.3s ease, border-color 0.3s ease;
}
[data-theme="dark"] .nav { background: rgba(10,27,33,0.92); }
.nav.is-scrolled { box-shadow: 0 2px 24px rgba(1,72,94,0.1); }
.nav__inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo img { height: 52px; width: auto; }
/* Keep transparent artwork readable on dark surfaces. */
.brand-art { position: relative; display: block; }
.brand-art .brand-art__white { position: absolute; inset: 0; width: 100%; height: 100%; clip-path: inset(0 0 0 36%); filter: brightness(0) invert(1); visibility: hidden; }
[data-theme="dark"] .nav__logo .brand-art__white, .footer-brand .brand-art__white { visibility: visible; }
.nav__links { display: flex; align-items: center; gap: 0; }
.nav__link {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 8px 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 7px;
  white-space: nowrap;
  background: none;
  border: none;
  transition: background-color 0.18s ease, color 0.18s ease;
}
.nav__link:hover { background: rgba(1,72,94,0.06); color: var(--accent-text); }
[data-theme="dark"] .nav__link:hover { background: rgba(255,255,255,0.07); }
.nav__link svg { margin-left: 2px; }
.nav__right { display: flex; align-items: center; gap: 14px; flex: none; }
.nav__theme-toggle {
  width: 36px; height: 36px;
  border-radius: 8px;
  border: 1.5px solid rgba(1,72,94,0.12);
  background: transparent;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; flex: none;
  color: var(--accent-text);
  transition: background-color 0.18s ease, border-color 0.18s ease;
}
.nav__theme-toggle:hover { background: rgba(1,72,94,0.06); border-color: rgba(1,72,94,0.28); }
[data-theme="dark"] .nav__theme-toggle { border-color: rgba(255,255,255,0.18); }
[data-theme="dark"] .nav__theme-toggle:hover { background: rgba(255,255,255,0.08); }
.nav__theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .nav__theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .nav__theme-toggle .icon-sun { display: block; }
.nav__phone {
  display: flex; align-items: center; gap: 7px;
  font-size: 13.5px; font-weight: 600; color: var(--text-muted); flex: none;
}
.nav__cta {
  background: var(--green); color: #fff;
  font-family: var(--font-head); font-size: 13.5px; font-weight: 700;
  padding: 10px 20px; border-radius: 8px; letter-spacing: -0.1px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.nav__cta:hover { background: var(--green-dark); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(76,180,147,0.4); }

/* ===== Hero ===== */
.hero {
  background: #fff;
  padding: 96px 48px 80px;
  position: relative;
  transition: background-color 0.3s ease;
}
[data-theme="dark"] .hero { background: #0A1B21; }
.hero__dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(1,72,94,0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
[data-theme="dark"] .hero__dots { background-image: radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px); }
.hero__glow {
  position: absolute; top: -80px; right: 0; width: 55%; height: 120%;
  background: radial-gradient(ellipse at 80% 40%, rgba(76,180,147,0.06) 0%, transparent 65%);
  pointer-events: none;
}
.hero .wrap {
  display: flex;
  align-items: center;
  gap: 72px;
  position: relative;
}
.hero__content { flex: 1.05; min-width: 0; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--mint); border: 1px solid rgba(76,180,147,0.35);
  border-radius: 100px; padding: 6px 14px 6px 6px; margin-bottom: 28px;
}
.hero__badge-icon {
  display: flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%; background: var(--green); flex: none;
}
.hero__badge span { font-size: 13px; font-weight: 600; color: var(--teal); }
.hero h1 {
  font-family: var(--font-head);
  font-size: 57px; font-weight: 800; line-height: 1.08; letter-spacing: -2px;
  color: var(--text-dark); margin-bottom: 22px;
}
.hero__lead {
  font-size: 17px; line-height: 1.75; color: var(--text-muted);
  margin-bottom: 36px; max-width: 510px; font-weight: 400;
}
.hero__ctas { display: flex; gap: 12px; margin-bottom: 48px; }

.stats-bar {
  display: flex;
  border: 1.5px solid rgba(1,72,94,0.1);
  border-radius: 14px;
  overflow: hidden;
  width: fit-content;
  background: #fff;
  box-shadow: 0 2px 12px rgba(1,72,94,0.05);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
[data-theme="dark"] .stats-bar { background: #12303A; border-color: rgba(255,255,255,0.1); }
.stats-bar__item {
  padding: 18px 32px;
  border-right: 1.5px solid rgba(1,72,94,0.08);
  transition: border-color 0.3s ease;
}
[data-theme="dark"] .stats-bar__item { border-right-color: rgba(255,255,255,0.1); }
.stats-bar__item:last-child { border-right: none; }
.stats-bar__num {
  font-family: var(--font-head); font-size: 30px; font-weight: 800;
  letter-spacing: -1px; line-height: 1;
}
.stats-bar__num.teal { color: var(--accent-text); }
.stats-bar__num.green { color: var(--green); }
.stats-bar__label {
  font-size: 12px; color: var(--text-light); font-weight: 500;
  margin-top: 3px; white-space: nowrap;
}

/* Dashboard mockup */
.hero__visual {
  flex: 0.95; min-width: 0;
  display: flex; justify-content: center; align-items: center;
  padding: 30px 20px 50px 20px;
}
.dash { position: relative; width: 100%; max-width: 540px; }
.dash__card {
  background: #fff; border-radius: 24px;
  box-shadow: 0 32px 80px rgba(1,72,94,0.13), 0 4px 16px rgba(1,72,94,0.06);
  border: 1px solid rgba(1,72,94,0.07);
  padding: 26px; position: relative; z-index: 1;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
[data-theme="dark"] .dash__card { background: #12303A; border-color: rgba(255,255,255,0.1); }
.dash__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.dash__title { font-family: var(--font-head); font-size: 14px; font-weight: 700; color: var(--text-dark); }
.dash__subtitle { font-size: 11px; color: var(--text-light); margin-top: 2px; font-weight: 500; }
.dash__tabs { display: flex; gap: 6px; }
.dash__tab { padding: 5px 13px; border-radius: 20px; font-size: 11px; font-weight: 500; color: var(--text-light); background: #F5F7FA; }
[data-theme="dark"] .dash__tab { background: rgba(255,255,255,0.06); }
.dash__tab.active { background: var(--mint); font-weight: 700; color: var(--teal); }
[data-theme="dark"] .dash__tab.active { background: rgba(76,180,147,0.2); color: var(--accent-text); }
.dash__chart { display: block; width: 100%; height: 170px; }
[data-theme="dark"] .dash__chart text[fill="#01485E"] { fill: var(--accent-text); }
.dash__metrics { display: flex; gap: 10px; margin-top: 18px; }
.dash__metric { flex: 1; padding: 13px 14px; background: var(--mint-2); border-radius: 11px; border: 1px solid var(--mint); transition: background-color 0.3s ease, border-color 0.3s ease; }
[data-theme="dark"] .dash__metric { background: #0F2A31; border-color: rgba(255,255,255,0.1); }
.dash__metric-label { font-size: 10px; color: var(--text-light); margin-bottom: 4px; font-weight: 500; }
.dash__metric-value { font-family: var(--font-head); font-size: 19px; font-weight: 800; letter-spacing: -0.5px; }
.dash__metric-value.teal { color: var(--accent-text); }
.dash__metric-value.green { color: var(--green); }

.dash__float {
  position: absolute; background: #fff; border-radius: 16px;
  box-shadow: 0 8px 40px rgba(1,72,94,0.13); border: 1px solid var(--mint);
  padding: 13px 16px; display: flex; align-items: center; gap: 11px;
  width: 214px; z-index: 2;
  transition: box-shadow 0.25s ease, background-color 0.3s ease, border-color 0.3s ease;
}
[data-theme="dark"] .dash__float { background: #12303A; border-color: rgba(255,255,255,0.1); }
.dash__float:hover { box-shadow: 0 12px 48px rgba(1,72,94,0.22); }
.dash__float--claim { top: -18px; right: -52px; animation: floatA 4.5s ease-in-out infinite; }
.dash__float-icon {
  width: 36px; height: 36px; border-radius: 10px; background: var(--mint);
  flex: none; display: flex; align-items: center; justify-content: center;
}
.dash__float-title { font-family: var(--font-head); font-size: 12px; font-weight: 700; color: var(--text-dark); line-height: 1.2; }
.dash__float-sub { font-size: 11px; color: var(--green); font-weight: 600; margin-top: 1px; }
.dash__float-time { font-size: 10px; color: var(--text-light); margin-top: 1px; }

.dash__badge {
  position: absolute; bottom: -30px; left: -28px;
  background: var(--teal); border-radius: 16px;
  box-shadow: 0 8px 32px rgba(1,72,94,0.28); padding: 16px 22px;
  min-width: 155px; z-index: 2;
  animation: floatB 5.5s ease-in-out infinite 0.8s;
  width: fit-content;
  transition: box-shadow 0.25s ease;
}
.dash__badge:hover { box-shadow: 0 12px 42px rgba(1,72,94,0.4); }
.dash__badge-label { font-size: 10px; color: rgba(255,255,255,0.55); font-weight: 500; margin-bottom: 3px; }
.dash__badge-value { font-family: var(--font-head); font-size: 30px; font-weight: 800; color: #fff; line-height: 1; letter-spacing: -1px; }
.dash__badge-sub { font-size: 10px; color: rgba(255,255,255,0.5); font-weight: 500; margin-top: 4px; }

/* ===== Section headings (shared) ===== */
.section { padding: 96px 48px; background: #fff; transition: background-color 0.3s ease; }
[data-theme="dark"] .section { background: #0A1B21; }
.section-head { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.section-head h2 {
  font-family: var(--font-head); font-size: 40px; font-weight: 800;
  color: var(--text-dark); letter-spacing: -1.2px; line-height: 1.15; margin-bottom: 16px;
}
.section-head p { font-size: 16.5px; color: var(--text-muted); line-height: 1.75; }
.eyebrow {
  display: inline-block; border-radius: 100px; padding: 6px 18px; margin-bottom: 18px;
  font-size: 11px; font-weight: 700; letter-spacing: 1.8px;
}
.eyebrow--mint { background: var(--mint); border: 1px solid rgba(76,180,147,0.3); color: var(--teal); }
.eyebrow--dark { background: rgba(76,180,147,0.15); border: 1px solid rgba(76,180,147,0.3); color: var(--green); }
.eyebrow--pulse { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; }
.eyebrow__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: pulseDot 2s ease-in-out infinite; flex: none; }

/* ===== Performance metrics ===== */
.metrics { background: var(--mint); transition: background-color 0.3s ease; }
[data-theme="dark"] .metrics { background: #0F2431; }
.metrics-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.metric-card {
  background: #fff; border-radius: 20px; padding: 32px 26px;
  box-shadow: 0 4px 32px rgba(1,72,94,0.07); border: 1px solid rgba(76,180,147,0.15);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background-color 0.3s ease;
}
.metric-card:hover { transform: translateY(-6px); box-shadow: 0 14px 40px rgba(1,72,94,0.15); border-color: rgba(76,180,147,0.45); }
[data-theme="dark"] .metric-card { background: #12303A; border-color: rgba(255,255,255,0.1); }
[data-theme="dark"] .metric-card:hover { border-color: rgba(76,180,147,0.4); }
.metric-card__icon {
  width: 54px; height: 54px; border-radius: 14px; background: var(--mint);
  margin: 0 auto 18px; display: flex; align-items: center; justify-content: center;
}
.metric-card__value { font-family: var(--font-head); font-size: 46px; font-weight: 800; color: var(--accent-text); letter-spacing: -2px; line-height: 1; }
.metric-card__label { font-family: var(--font-head); font-size: 14.5px; font-weight: 700; color: var(--text-dark); margin-top: 8px; }

/* ===== RCM process ===== */
.process {
  background: var(--teal);
  padding: 96px 48px;
  position: relative;
  overflow: hidden;
}
.process__glow-1 {
  position: absolute; top: -120px; right: -120px; width: 550px; height: 550px;
  background: radial-gradient(circle, rgba(76,180,147,0.09) 0%, transparent 70%);
  pointer-events: none;
}
.process__glow-2 {
  position: absolute; bottom: -80px; left: -60px; width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(76,180,147,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.process .wrap { position: relative; }
.process .section-head { margin-bottom: 60px; max-width: none; }
.process .section-head h2 { color: #fff; font-size: 40px; margin-bottom: 14px; }
.process .section-head p { color: rgba(255,255,255,0.6); max-width: 580px; margin: 0 auto; font-size: 16px; }
.process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.process-card {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px; padding: 22px 20px;
  transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}
.process-card:hover { transform: translateY(-5px); background: rgba(255,255,255,0.09); border-color: rgba(255,255,255,0.22); }
.process-card.is-featured {
  background: rgba(76,180,147,0.12); border: 1px solid rgba(76,180,147,0.3);
}
.process-card.is-featured:hover { background: rgba(76,180,147,0.2); border-color: rgba(76,180,147,0.45); }
.process-card__num {
  width: 36px; height: 36px; border-radius: 9px;
  background: rgba(76,180,147,0.22);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px; flex: none;
}
.process-card__num.is-solid { background: var(--green); }
.process-card__num span { font-family: var(--font-head); font-size: 12px; font-weight: 800; color: var(--green); }
.process-card__num.is-solid span { color: #fff; }
.process-card__title { font-family: var(--font-head); font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.process-card__desc { font-size: 12px; color: rgba(255,255,255,0.5); line-height: 1.65; }
.process-card.is-featured .process-card__desc { color: rgba(255,255,255,0.6); }

/* ===== How it works ===== */
.steps-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; position: relative; }
.steps-grid__line {
  position: absolute; top: 40px; left: calc(12.5% + 20px); right: calc(12.5% + 20px);
  height: 2px; background: linear-gradient(90deg, var(--green), var(--teal));
  z-index: 0; pointer-events: none;
}
.step-card {
  background: #fff; border: 1.5px solid rgba(76,180,147,0.2); border-radius: 20px;
  padding: 30px 22px; box-shadow: 0 4px 24px rgba(1,72,94,0.06);
  position: relative; z-index: 1; text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background-color 0.3s ease;
}
.step-card:hover { transform: translateY(-8px); box-shadow: 0 16px 40px rgba(1,72,94,0.14); border-color: var(--green); }
[data-theme="dark"] .step-card { background: #12303A; border-color: rgba(255,255,255,0.1); }
[data-theme="dark"] .step-card:hover { border-color: var(--green); }
.step-card__num {
  width: 56px; height: 56px; border-radius: 50%; background: var(--green);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 18px;
  box-shadow: 0 4px 16px rgba(76,180,147,0.35);
}
.step-card__num span { font-family: var(--font-head); font-size: 18px; font-weight: 800; color: #fff; }
.step-card__tag { font-size: 10.5px; font-weight: 700; color: var(--green); letter-spacing: 1.8px; margin-bottom: 9px; font-family: var(--font-head); }
.step-card__title { font-family: var(--font-head); font-size: 15.5px; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; }
.step-card__desc { font-size: 13px; color: var(--text-light); line-height: 1.65; }

/* ===== Services ===== */
.services { background: var(--mint); transition: background-color 0.3s ease; }
[data-theme="dark"] .services { background: #0F2431; }
.services__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 46px; gap: 40px; flex-wrap: wrap;
}
.services__head-text { max-width: 520px; }
.services__head h2 { font-family: var(--font-head); font-size: 40px; font-weight: 800; color: var(--text-dark); letter-spacing: -1.2px; margin-bottom: 14px; line-height: 1.15; }
.services__head p { font-size: 16px; color: var(--text-muted); line-height: 1.75; }
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.service-card {
  background: #fff; border-radius: 20px; padding: 28px;
  box-shadow: 0 4px 24px rgba(1,72,94,0.06); border: 1px solid rgba(76,180,147,0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background-color 0.3s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 16px 42px rgba(1,72,94,0.13); border-color: rgba(76,180,147,0.4); }
[data-theme="dark"] .service-card { background: #12303A; border-color: rgba(255,255,255,0.1); }
[data-theme="dark"] .service-card:hover { border-color: rgba(76,180,147,0.4); }
.service-card__icon {
  width: 48px; height: 48px; border-radius: 12px; background: var(--mint);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.service-card h3 { font-family: var(--font-head); font-size: 16.5px; font-weight: 700; color: var(--text-dark); margin-bottom: 9px; }
.service-card p { font-size: 13px; color: var(--text-light); line-height: 1.65; margin-bottom: 14px; }
.service-card__list { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.service-card__list div { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-muted); }
.service-card__list .tick { color: var(--green); font-size: 14px; font-weight: 800; line-height: 1; }
.service-card__link { font-size: 13px; font-weight: 700; color: var(--green); display: flex; align-items: center; gap: 4px; transition: color 0.2s ease; }
.service-card__link:hover { color: var(--green-dark); }
.service-card__link svg { transition: transform 0.2s ease; }
.service-card__link:hover svg { transform: translateX(3px); }

/* ===== Specialties ===== */
.specialties-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.specialty-card {
  background: var(--mint-2); border: 1.5px solid rgba(76,180,147,0.18);
  border-radius: 16px; padding: 26px 20px; text-align: center; position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.3s ease;
}
.specialty-card:hover { transform: translateY(-5px); border-color: var(--green); box-shadow: 0 10px 28px rgba(1,72,94,0.1); }
[data-theme="dark"] .specialty-card { background: #0F2A31; border-color: rgba(255,255,255,0.1); }
.specialty-card.is-new { background: var(--mint); border-color: var(--green); }
[data-theme="dark"] .specialty-card.is-new { background: rgba(76,180,147,0.14); border-color: rgba(76,180,147,0.45); }
.specialty-card__badge {
  position: absolute; top: -9px; right: 12px; background: var(--green); color: #fff;
  font-size: 9px; font-weight: 800; padding: 3px 9px; border-radius: 100px;
  letter-spacing: 0.8px; font-family: var(--font-head);
}
.specialty-card__icon {
  width: 52px; height: 52px; border-radius: 14px; background: var(--mint);
  margin: 0 auto 14px; display: flex; align-items: center; justify-content: center;
}
.specialty-card.is-new .specialty-card__icon { background: #fff; box-shadow: 0 2px 8px rgba(1,72,94,0.08); }
[data-theme="dark"] .specialty-card.is-new .specialty-card__icon { background: #12303A; }
.specialty-card__title { font-family: var(--font-head); font-size: 14px; font-weight: 700; color: var(--text-dark); }
.specialty-card.is-new .specialty-card__title { color: var(--accent-text); }

/* ===== Behavioral health ===== */
.behavioral {
  background: linear-gradient(140deg, var(--teal) 0%, var(--teal-dark) 100%);
  padding: 96px 48px; position: relative; overflow: hidden;
}
.behavioral__glow-1 {
  position: absolute; top: -180px; right: -120px; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(76,180,147,0.1) 0%, transparent 65%);
  pointer-events: none;
}
.behavioral__ring {
  position: absolute; bottom: -120px; left: -80px; width: 500px; height: 500px;
  border-radius: 50%; border: 1px solid rgba(76,180,147,0.07); pointer-events: none;
}
.behavioral .wrap { position: relative; display: flex; align-items: center; gap: 80px; flex-wrap: wrap; }
.behavioral__content { flex: 1; min-width: 380px; }
.behavioral__content h2 { font-family: var(--font-head); font-size: 38px; font-weight: 800; color: #fff; letter-spacing: -1px; line-height: 1.15; margin-bottom: 18px; }
.behavioral__content p { font-size: 16px; color: rgba(255,255,255,0.6); line-height: 1.8; margin-bottom: 34px; max-width: 460px; }
.behavioral__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.behavioral__stats { flex: 1; min-width: 320px; display: flex; flex-direction: column; gap: 14px; }
.behavioral__stats-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.behavioral__stat {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px; padding: 28px 22px; text-align: center;
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.behavioral__stat:hover { transform: translateY(-4px); background: rgba(255,255,255,0.1); }
.behavioral__stat-value { font-family: var(--font-head); font-size: 42px; font-weight: 800; letter-spacing: -1.5px; line-height: 1; margin-bottom: 6px; }
.behavioral__stat-value.green { color: var(--green); }
.behavioral__stat-value.white { color: #fff; }
.behavioral__stat-label { font-size: 12.5px; color: rgba(255,255,255,0.55); line-height: 1.6; }
.behavioral__banner {
  background: rgba(76,180,147,0.1); border: 1px solid rgba(76,180,147,0.25);
  border-radius: 18px; padding: 24px 26px; display: flex; align-items: center; gap: 20px;
  transition: background-color 0.2s ease;
}
.behavioral__banner:hover { background: rgba(76,180,147,0.18); }
.behavioral__banner-icon {
  width: 50px; height: 50px; border-radius: 13px; background: rgba(76,180,147,0.2);
  flex: none; display: flex; align-items: center; justify-content: center;
}
.behavioral__banner-value { font-family: var(--font-head); font-size: 34px; font-weight: 800; color: var(--green); letter-spacing: -1px; line-height: 1; }
.behavioral__banner-label { font-size: 13px; color: rgba(255,255,255,0.55); margin-top: 3px; }

/* ===== EHR integrations ===== */
.ehr { background: var(--mint); padding: 80px 48px; text-align: center; transition: background-color 0.3s ease; }
[data-theme="dark"] .ehr { background: #0F2431; }
.ehr h2 { font-family: var(--font-head); font-size: 34px; font-weight: 800; color: var(--text-dark); letter-spacing: -0.8px; margin-bottom: 10px; }
.ehr > .wrap > p { font-size: 15.5px; color: var(--text-light); margin-bottom: 44px; font-weight: 500; }
.ehr-list { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.ehr-card {
  background: #fff; border-radius: 18px; padding: 28px 40px;
  box-shadow: 0 4px 20px rgba(1,72,94,0.06); border: 1px solid rgba(76,180,147,0.12);
  min-width: 190px; display: flex; flex-direction: column; align-items: center; gap: 12px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background-color 0.3s ease;
}
.ehr-card:hover { transform: translateY(-6px); box-shadow: 0 14px 34px rgba(1,72,94,0.13); border-color: rgba(76,180,147,0.4); }
[data-theme="dark"] .ehr-card { background: #12303A; border-color: rgba(255,255,255,0.1); }
.ehr-card__icon { width: 52px; height: 52px; border-radius: 12px; background: var(--mint); display: flex; align-items: center; justify-content: center; }
.ehr-card__name { font-family: var(--font-head); font-size: 14px; font-weight: 700; color: var(--text-dark); }

/* ===== Main CTA ===== */
.cta {
  background: linear-gradient(140deg, var(--teal) 0%, var(--teal-2) 100%);
  padding: 100px 48px; position: relative; overflow: hidden; text-align: center;
}
.cta__dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.025) 1.5px, transparent 1.5px);
  background-size: 30px 30px; pointer-events: none;
}
.cta__glow {
  position: absolute; top: -100px; right: -80px; width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(76,180,147,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.cta__inner { max-width: 880px; margin: 0 auto; position: relative; }
.cta h2 { font-family: var(--font-head); font-size: 50px; font-weight: 800; color: #fff; letter-spacing: -2px; margin-bottom: 18px; line-height: 1.1; }
.cta p { font-size: 17px; color: rgba(255,255,255,0.65); line-height: 1.8; margin-bottom: 40px; max-width: 580px; margin-left: auto; margin-right: auto; }
.cta__ctas { display: flex; gap: 12px; justify-content: center; margin-bottom: 48px; flex-wrap: wrap; }
.cta__trust { display: flex; gap: 32px; justify-content: center; flex-wrap: wrap; }
.cta__trust-item { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.65); font-size: 13.5px; font-weight: 600; }

/* ===== Blog ===== */
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.blog-card {
  background: #fff; border-radius: 20px; border: 1px solid rgba(1,72,94,0.08);
  box-shadow: 0 4px 24px rgba(1,72,94,0.06); overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background-color 0.3s ease;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 16px 42px rgba(1,72,94,0.13); border-color: rgba(76,180,147,0.35); }
[data-theme="dark"] .blog-card { background: #12303A; border-color: rgba(255,255,255,0.1); }
.blog-card__bar { height: 5px; background: linear-gradient(90deg, var(--teal), var(--green)); }
.blog-card__bar.alt { background: linear-gradient(90deg, var(--green), var(--teal)); }
.blog-card__body { padding: 28px; }
.blog-card__meta { display: flex; gap: 10px; align-items: center; margin-bottom: 16px; }
.blog-card__tag { background: var(--mint); color: var(--teal); font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 100px; font-family: var(--font-head); }
.blog-card__read { color: var(--text-faint-2); font-size: 11.5px; font-weight: 500; }
.blog-card h3 { font-family: var(--font-head); font-size: 17.5px; font-weight: 700; color: var(--text-dark); line-height: 1.35; margin-bottom: 12px; }
.blog-card p { font-size: 13.5px; color: var(--text-light); line-height: 1.7; margin-bottom: 20px; }
.blog-card__footer { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px solid #F2F7F9; transition: border-color 0.3s ease; }
[data-theme="dark"] .blog-card__footer { border-top-color: rgba(255,255,255,0.08); }
.blog-card__date { font-size: 12px; color: var(--text-faint-2); font-weight: 500; }
.blog-card__link { font-size: 13px; font-weight: 700; color: var(--green); display: flex; align-items: center; gap: 4px; transition: color 0.2s ease; }
.blog-card__link:hover { color: var(--green-dark); }
.blog-card__link svg { transition: transform 0.2s ease; }
.blog-card__link:hover svg { transform: translateX(3px); }

/* ===== Newsletter ===== */
.newsletter { background: var(--mint); padding: 80px 48px; text-align: center; transition: background-color 0.3s ease; }
[data-theme="dark"] .newsletter { background: #0F2431; }
.newsletter__inner { max-width: 660px; margin: 0 auto; }
.newsletter h2 { font-family: var(--font-head); font-size: 36px; font-weight: 800; color: var(--text-dark); letter-spacing: -0.8px; margin-bottom: 14px; line-height: 1.2; }
.newsletter p { font-size: 15.5px; color: var(--text-light); line-height: 1.75; margin-bottom: 34px; }
.newsletter__form { display: flex; gap: 10px; max-width: 480px; margin: 0 auto 14px; }
.newsletter__input {
  flex: 1; padding: 14px 18px; border-radius: 10px; border: 1.5px solid rgba(76,180,147,0.3);
  background: #fff; font-family: var(--font-body); font-size: 14px; color: var(--text-dark);
  outline: none; min-width: 0;
  transition: border-color 0.2s ease, background-color 0.3s ease;
}
.newsletter__input:hover, .newsletter__input:focus { border-color: var(--green); }
[data-theme="dark"] .newsletter__input { background: #12303A; }
.newsletter__btn {
  background: var(--teal); color: #fff; font-family: var(--font-head); font-size: 14px;
  font-weight: 700; padding: 14px 24px; border-radius: 10px; border: none; cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.newsletter__btn:hover { background: var(--teal-2); transform: translateY(-1px); }
.newsletter__fine { font-size: 12px; color: var(--text-faint-2); font-weight: 500; }

/* ===== Footer ===== */
.footer {
  background: radial-gradient(ellipse at top right, rgba(76,180,147,0.1), transparent 60%), #021E28;
  color: #EAF3F1; padding: 64px 48px 0;
  border-top: 3px solid #4CB493;
}
.footer-grid {
  display: grid; grid-template-columns: minmax(260px, 1fr) minmax(380px, 1.2fr);
  gap: clamp(48px, 7vw, 112px); align-items: start; padding-bottom: 48px;
}
.footer-brand__home { display: inline-block; border-radius: 10px; margin-bottom: 22px; }
.footer-brand .brand-art { width: 216px; }
.footer-brand img { width: 216px; height: auto; background: transparent; }
.footer-brand__tag { font-family: var(--font-head); font-size: 28px; font-weight: 700; line-height: 1.3; letter-spacing: -0.7px; margin-bottom: 16px; }
.footer-brand__description { color: #ABC3CA; font-size: 14px; line-height: 1.8; }
.footer-connect__eyebrow { color: #6FE3C4; font-size: 11px; font-weight: 700; letter-spacing: 2px; margin-bottom: 14px; }
.footer-connect h2 { font-family: var(--font-head); font-size: clamp(24px, 2.3vw, 32px); line-height: 1.3; letter-spacing: -0.8px; margin-bottom: 24px; }
.footer-contact { font-style: normal; }
.footer-contact__item { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 20px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,0.14); }
.footer-contact__label { color: #ABC3CA; font-size: 13px; line-height: 1.7; }
.footer-contact__value { display: flex; justify-content: space-between; gap: 16px; font-size: 16px; line-height: 1.5; font-weight: 600; overflow-wrap: anywhere; }
.footer-contact__value > span { color: #6FE3C4; }
.footer-contact__value--address { display: block; font-weight: 400; font-size: 14px; line-height: 1.7; }
.footer-contact a, .footer-bottom a { transition: color 0.2s ease; }
.footer-contact a:hover, .footer-bottom a:hover { color: #6FE3C4; }
.footer a:focus-visible { outline: 2px solid #6FE3C4; outline-offset: 5px; border-radius: 4px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; border-top: 1px solid rgba(255,255,255,0.14); color: #ABC3CA; font-size: 12px; }
.footer-bottom a { display: inline-flex; align-items: center; gap: 12px; color: #EAF3F1; font-weight: 600; }
@media (max-width: 700px) {
  .footer { padding: 40px 24px 0; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-bottom: 32px; }
  .footer-contact__item { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 16px; }
}
/* WordPress integration */
.admin-bar .nav { top: 32px; }
.wp-content-page { max-width: 1000px; margin: 0 auto; padding: 140px 48px 80px; min-height: 60vh; }
.wp-content-page h1 { margin-bottom: 24px; }
.wp-content-page article { margin-bottom: 40px; }
.wp-content-page .entry-content { line-height: 1.8; }
.wp-content-page .entry-content > * + * { margin-top: 20px; }
.wp-content-page .entry-content a { text-decoration: underline; }
@media (max-width: 782px) { .admin-bar .nav { top: 46px; } }
/* ===== Responsive layouts ===== */
.wrap, .nav__inner > *, .footer-grid > *, .services-grid > *, .metrics-grid > *,
.process-grid > *, .steps-grid > *, .specialties-grid > * { min-width: 0; }
.hero { overflow: clip; }
.hero__ctas { flex-wrap: wrap; }
.btn { max-width: 100%; white-space: normal; justify-content: center; text-align: center; min-height: 44px; }
.btn svg, .nav__phone svg { flex-shrink: 0; }
.nav__inner { gap: 20px; }
.nav__logo { flex-shrink: 0; }
.nav__theme-toggle { width: 44px; height: 44px; }
.nav__menu-toggle, .nav__mobile-actions { display: none; }
.nav__menu-toggle { align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 12px; border: 1px solid var(--nav-border); border-radius: 8px; background: transparent; color: var(--text-dark); font: 600 14px var(--font-body); cursor: pointer; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
.stats-bar { max-width: 100%; }
.stats-bar__item { min-width: 0; flex: 1; padding: 18px 22px; }
.stats-bar__label { white-space: normal; }
.behavioral__content, .behavioral__stats { min-width: 0; }
.dash__float--claim { right: -16px; }
.dash__badge { left: -12px; }
.service-card__link { min-height: 44px; }
@media (max-width: 1199px) {
  .nav { padding-inline: 24px; height: auto; min-height: 72px; }
  .nav__inner { flex-wrap: wrap; padding-block: 10px; }
  .nav__right { margin-left: auto; gap: 10px; }
  .nav__right > .nav__phone, .nav__right > .nav__cta { display: none; }
  .nav__menu-toggle { display: inline-flex; }
  .nav__links { order: 3; width: 100%; flex-direction: column; align-items: stretch; padding: 12px 0; gap: 4px; }
  .nav__links { display: none; }
  .nav.is-open .nav__links { display: flex; max-height: calc(100dvh - 140px); overflow-y: auto; }
  .nav__link { min-height: 44px; padding: 12px; }
  .nav__mobile-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 12px; border-top: 1px solid var(--nav-border); }
  .nav__mobile-actions .nav__phone, .nav__mobile-actions .nav__cta { min-height: 44px; display: inline-flex; align-items: center; }
  .hero, .section, .process, .behavioral, .ehr, .cta, .newsletter { padding: 72px 32px; }
  .hero .wrap { gap: 32px; }
  .hero h1 { font-size: 46px; }
  .stats-bar__item { padding: 16px 12px; }
  .stats-bar__num { font-size: 26px; }
  .hero__visual { padding-inline: 12px; }
  .dash__card { padding: 20px; }
  .dash__metrics { gap: 6px; }
  .dash__metric { min-width: 0; padding: 12px 8px; }
  .metrics-grid, .process-grid, .steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps-grid__line { display: none; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .behavioral .wrap { gap: 32px; }
  .footer { padding-inline: 32px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px; }
  .footer-contact__item { grid-template-columns: minmax(0, 1fr); gap: 6px; }
}
@media (max-width: 900px) {
  .hero .wrap { flex-direction: column; align-items: stretch; gap: 40px; }
  .hero__content { max-width: 680px; }
  .hero h1 { font-size: clamp(36px, 6vw, 52px); }
  .hero__visual { width: 100%; padding: 24px 16px 40px; }
  .dash { max-width: 620px; }
  .stats-bar__item { padding: 18px 24px; }
  .specialties-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .behavioral .wrap { flex-direction: column; align-items: stretch; }
  .behavioral__content p { max-width: none; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 600px) {
  .nav { padding-inline: 16px; }
  .nav__inner { gap: 10px; }
  .nav__logo { flex-basis: 100%; display: flex; justify-content: center; }
  .nav__logo img { height: 60px; width: auto; }
  .nav__right { order: 2; width: 100%; margin-left: 0; justify-content: space-between; padding-top: 10px; border-top: 1px solid var(--nav-border); }
  .nav.is-open .nav__links { max-height: calc(100dvh - 180px); }
  section, footer, #service-list { scroll-margin-top: 160px; }
  .hero, .section, .process, .behavioral, .ehr, .cta, .newsletter { padding: 52px 20px; }
  .hero h1 { font-size: clamp(32px, 8.5vw, 46px); letter-spacing: -1.2px; line-height: 1.15; }

  .hero__badge { padding-right: 10px; }
  .hero__badge span { font-size: 11px; }
  .hero__lead { font-size: 16px; margin-bottom: 24px; }
  .hero__ctas, .cta__ctas, .behavioral__ctas { flex-direction: column; align-items: stretch; }
  .hero__ctas { margin-bottom: 28px; }
  .btn { width: 100%; padding: 14px 18px; }
  .stats-bar { width: 100%; }
  .stats-bar__item { padding: 16px 8px; }
  .stats-bar__num { font-size: 24px; }
  .stats-bar__label { font-size: 11px; line-height: 1.5; }
  .hero__visual { padding: 0; }
  .dash__card { padding: 16px; border-radius: 18px; }
  .dash__header { flex-wrap: wrap; gap: 12px; }
  .dash__chart { height: auto; }
  .dash__float, .dash__badge { position: static; width: 100%; margin-top: 12px; animation: none; }
  .dash__metric-label { overflow-wrap: anywhere; }
  .dash__metric-value { font-size: 17px; }
  .section-head h2, .process .section-head h2, .services__head h2, .behavioral__content h2, .ehr h2, .newsletter h2, .cta h2 { font-size: clamp(28px, 7vw, 36px); letter-spacing: -0.8px; }
  .section-head p, .process .section-head p, .services__head p, .cta p { font-size: 15px; }
  .section-head, .process .section-head, .services__head { margin-bottom: 32px; }
  .services__head { gap: 24px; }
  .services-grid, .process-grid, .steps-grid { grid-template-columns: minmax(0, 1fr); }
  .metrics-grid, .specialties-grid { gap: 12px; }
  .metric-card, .specialty-card { padding: 24px 12px; }
  .metric-card__value { font-size: 36px; }
  .metric-card__label, .specialty-card__title { font-size: 13px; overflow-wrap: anywhere; }
  .service-card { padding: 24px; }
  .behavioral__stat { padding: 22px 12px; }
  .behavioral__stat-value { font-size: 34px; }
  .behavioral__banner { padding: 20px 16px; gap: 12px; }
  .ehr-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .ehr-card { min-width: 0; padding: 24px 10px; }
  .ehr-card__name { font-size: 13px; overflow-wrap: anywhere; }
  .cta__trust { gap: 16px; align-items: center; flex-direction: column; }
  .footer { padding: 40px 20px 0; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-contact__value { font-size: 15px; }
  .wp-content-page { padding: 48px 20px; }
  .wp-content-page img, .wp-content-page iframe { max-width: 100%; }
  .wp-content-page .wp-block-table { overflow-x: auto; }
  .admin-bar .nav { top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
