*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #f8fafa;
  --fg: #0a1c17;
  --card: #ffffff;
  --primary: #0EA882;
  --primary-dark: #0d9470;
  --secondary: #eaf7f3;
  --secondary-fg: #0a7a5e;
  --muted: #f2f8f6;
  --muted-fg: #6b8f84;
  --border: rgba(14, 168, 130, 0.15);
  --accent: #0dcfa0;
  --emerald: #10b981;
  --amber: #d97706;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-full: 9999px;
  --shadow: 0 4px 24px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 40px rgba(10, 28, 23, 0.12);
  --dl-slot-stripes: repeating-linear-gradient(135deg, transparent 0, transparent 3px, rgba(220, 38, 38, 0.16) 3px, rgba(220, 38, 38, 0.16) 5px);
}

.public-body,
body { font-family: 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif; background: var(--bg); color: var(--fg); font-size: 14px; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; background: none; font-family: inherit; border: 0 solid transparent; }
input { font-family: inherit; }
img { display: block; max-width: 100%; }
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-thumb { background: #0ea88255; border-radius: 99px; }

/* Match new-design exactly: max-w-7xl mx-auto px-4 sm:px-6 lg:px-8
   Custom class avoids Tailwind CDN `.container` conflicts; !important beats utility order. */
.dl-container,
.dp-container {
  width: 100% !important;
  max-width: 80rem !important; /* Tailwind max-w-7xl */
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 1rem !important; /* px-4 */
  padding-right: 1rem !important;
  box-sizing: border-box !important;
}
@media (min-width: 640px) {
  .dl-container,
  .dp-container {
    padding-left: 1.5rem !important; /* sm:px-6 */
    padding-right: 1.5rem !important;
  }
}
@media (min-width: 1024px) {
  .dl-container,
  .dp-container {
    padding-left: 2rem !important; /* lg:px-8 */
    padding-right: 2rem !important;
  }
}

/* Brand logo */
.dl-logo { display: inline-flex; align-items: center; gap: 10px; }
.dl-logo__mark {
  width: 36px; height: 36px; border-radius: 12px; background: var(--primary); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.dl-logo__mark svg,
.dl-logo__mark i { width: 18px; height: 18px; display: block; }
.dl-logo__text { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; color: var(--fg); line-height: 1; }
.dl-logo__text span { color: var(--primary); }

.btn-primary {
  padding: 8px 18px; background: var(--primary); color: #fff; font-size: 13px; font-weight: 700;
  border-radius: 12px; transition: opacity 0.15s, background 0.15s; display: inline-flex; align-items: center; justify-content: center;
}
.btn-primary:hover { opacity: 0.92; }
.btn-outline {
  padding: 7px 14px; border: 2px solid var(--primary); color: var(--primary); font-size: 13px; font-weight: 700;
  border-radius: 12px; background: transparent; transition: background 0.15s; display: inline-flex; align-items: center; justify-content: center;
}
.btn-outline:hover { background: var(--muted); }

/* Public navbar */
.public-nav {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px); border-bottom: 1px solid rgba(14,168,130,0.12); box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.public-nav__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.public-nav__brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.public-nav__links { display: none; align-items: center; gap: 28px; min-width: 0; }
.public-nav__links a {
  position: relative; font-size: 14px; font-weight: 600; color: var(--fg); transition: color 0.15s;
  white-space: nowrap;
}
.public-nav__links a:hover,
.public-nav__links a.is-active { color: var(--primary); }
.public-nav__links a.is-active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 99px; background: var(--primary);
}
.public-nav__actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.public-nav__lang { position: relative; }
.public-nav__lang-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 10px;
  font-size: 13px; font-weight: 600; color: var(--muted-fg);
}
.public-nav__lang-btn:hover { background: var(--muted); color: var(--fg); }
.public-nav__lang-btn svg { width: 15px; height: 15px; }
.public-nav__lang-code { display: none; text-transform: uppercase; letter-spacing: 0.02em; }
.public-nav__lang-caret { display: none; width: 12px !important; height: 12px !important; }
.public-nav__lang-menu {
  position: absolute; right: 0; top: calc(100% + 6px); width: 160px; background: #fff;
  border: 1px solid rgba(14,168,130,0.15); border-radius: 14px; box-shadow: var(--shadow-lg); overflow: hidden; z-index: 60;
}
.public-nav__lang-menu button {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 10px 16px; font-size: 13px; font-weight: 600; color: var(--fg); text-align: left;
}
.public-nav__lang-menu button:hover { background: var(--muted); }
.public-nav__lang-menu button.is-active { color: var(--primary); }
.public-nav__lang-menu svg { width: 12px; height: 12px; color: var(--primary); flex-shrink: 0; }
.public-nav__lang-option { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.public-nav__lang-flag { font-size: 16px; line-height: 1; }
.public-nav__auth { display: none; align-items: center; gap: 8px; }
.public-nav__signin {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 8px 16px; border-radius: 14px; background: var(--primary); color: #fff !important;
  font-size: 13px; font-weight: 700; line-height: 1.2; border: none; white-space: nowrap; transition: opacity 0.15s;
}
.public-nav__signin:hover { opacity: 0.9; color: #fff !important; }
.public-nav__signup {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 7px 16px; border-radius: 14px; border: 2px solid var(--primary); color: var(--primary) !important;
  background: #fff; font-size: 13px; font-weight: 700; line-height: 1.2; white-space: nowrap; transition: background 0.15s;
}
.public-nav__signup:hover { background: var(--muted); color: var(--primary) !important; }
.public-nav__join {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 8px 4px; border: none; background: transparent; color: var(--muted-fg) !important;
  font-size: 13px; font-weight: 600; line-height: 1.2; white-space: nowrap; transition: color 0.15s;
}
.public-nav__join:hover { color: var(--primary) !important; }
.public-nav__avatar {
  width: 36px; height: 36px; border-radius: 999px; overflow: hidden; outline: 2px solid var(--primary); outline-offset: 2px;
  display: none; align-items: center; justify-content: center; background: var(--primary); color: #fff; font-size: 11px; font-weight: 800;
}
.public-nav__avatar img { width: 100%; height: 100%; object-fit: cover; }
.public-nav__menu-btn { display: inline-flex; padding: 8px; border-radius: 10px; color: var(--fg); }
.public-nav__menu-btn:hover { background: var(--muted); }
.public-nav__menu-btn svg { width: 20px; height: 20px; }
.public-nav__mobile { border-top: 1px solid rgba(14,168,130,0.12); background: #fff; padding: 16px 0; }
.public-nav__mobile-inner { display: flex; flex-direction: column; gap: 4px; }
.public-nav__mobile-link {
  display: block; padding: 10px 12px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--muted-fg);
}
.public-nav__mobile-link:hover { background: var(--muted); color: var(--fg); }
.public-nav__mobile-actions {
  display: flex; flex-wrap: wrap; gap: 8px; padding-top: 10px; margin-top: 8px;
  border-top: 1px solid rgba(14,168,130,0.12);
}
.public-nav__mobile-actions .public-nav__signin,
.public-nav__mobile-actions .public-nav__signup {
  flex: 1 1 calc(50% - 4px);
  padding: 10px 12px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  border-radius: 14px;
}
.public-nav__mobile-actions .public-nav__signin {
  background: var(--primary);
  color: #fff !important;
  border: none;
}
.public-nav__mobile-actions .public-nav__signup {
  background: #fff;
  color: var(--primary) !important;
  border: 2px solid var(--primary);
}
.public-nav__mobile-actions .public-nav__join {
  flex: 1 1 100%;
  justify-content: flex-start;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted-fg) !important;
}
.public-nav__mobile-actions .public-nav__join:hover {
  background: var(--muted);
  color: var(--primary) !important;
}

@media (min-width: 640px) {
  .public-nav__auth { display: flex; }
  .public-nav__avatar { display: inline-flex; }
  .public-nav__lang-code { display: inline; }
  .public-nav__lang-caret { display: inline-block; }
}
@media (min-width: 768px) {
  .public-nav__links { display: flex; }
  .public-nav__menu-btn { display: none; }
  .public-nav__mobile { display: none !important; }
}

/* Home page */
.home-page { min-height: 100vh; overflow-x: hidden; background: var(--bg); }
.home-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #f0fdf8 0%, #e6f9f4 60%, #d4f5ec 100%);
}
.home-hero__blob {
  position: absolute; border-radius: 999px; filter: blur(48px); pointer-events: none;
  animation: home-blob 7s ease-in-out infinite;
}
.home-hero__blob--tr { top: 64px; right: 64px; width: 288px; height: 288px; background: #0EA88225; }
.home-hero__blob--bl {
  bottom: -40px; left: -40px; width: 320px; height: 320px; background: #0EA88220;
  animation-duration: 9s; animation-direction: reverse;
}
.home-hero__inner {
  position: relative; z-index: 1; display: grid; gap: 48px; align-items: center;
  padding-top: 64px; padding-bottom: 72px;
}
.home-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px;
  padding: 6px 12px; border-radius: 999px; background: rgba(14,168,130,0.1); color: var(--primary);
  font-size: 12px; font-weight: 700;
}
.home-hero__eyebrow svg { width: 12px; height: 12px; }
.home-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; line-height: 1.15; letter-spacing: -0.03em; margin-bottom: 16px;
}
.home-hero h1 span { color: var(--primary); }
.home-hero__sub { font-size: 15px; color: var(--muted-fg); line-height: 1.7; max-width: 420px; }

.home-search {
  margin-top: 32px; display: flex; flex-direction: column; background: #fff; border-radius: 16px;
  border: 1px solid rgba(14,168,130,0.12); box-shadow: var(--shadow-lg); position: relative;
}
.home-search__field {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  border-bottom: 1px solid rgba(14,168,130,0.12);
}
.home-search__field svg { width: 17px; height: 17px; color: var(--muted-fg); flex-shrink: 0; }
.home-search__field input {
  flex: 1; border: none; outline: none; background: transparent; font-size: 14px; font-weight: 500; color: var(--fg);
}
.home-search__field input::placeholder { color: #6b8f8499; }
.home-search__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; background: var(--primary); color: #fff; font-size: 14px; font-weight: 700;
}
.home-search__btn:hover { opacity: 0.92; }
.home-search__btn svg { width: 15px; height: 15px; }

.home-search-preview {
  position: absolute;
  z-index: 60;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  max-height: min(520px, 70vh);
  overflow-y: auto;
  padding: 8px;
  border: 1px solid rgba(14,168,130,0.18);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 20px 48px rgba(10,28,23,0.18);
}
.home-search-preview[hidden] { display: none; }
.home-search-preview__group + .home-search-preview__group {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid rgba(14,168,130,0.1);
}
.home-search-preview__heading {
  padding: 6px 10px 4px;
  color: var(--muted-fg);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.home-search-preview__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--fg);
}
.home-search-preview__item:hover,
.home-search-preview__item.is-active {
  background: rgba(14,168,130,0.07);
}
.home-search-preview__visual {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  overflow: hidden;
  border-radius: 10px;
  background: rgba(14,168,130,0.1);
  color: var(--primary);
}
.home-search-preview__visual img { width: 100%; height: 100%; object-fit: cover; }
.home-search-preview__visual svg { width: 16px; height: 16px; }
.home-search-preview__visual.is-procedure { background: #fff7ed; color: #ea580c; }
.home-search-preview__copy { display: flex; min-width: 0; flex: 1; flex-direction: column; }
.home-search-preview__copy strong {
  overflow: hidden;
  font-size: 13px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.home-search-preview__copy small { color: var(--muted-fg); font-size: 11px; }
.home-search-preview__arrow { width: 14px; height: 14px; color: var(--muted-fg); }
.home-search-preview__empty {
  padding: 18px 12px;
  color: var(--muted-fg);
  font-size: 12px;
  text-align: center;
}

.home-filter-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.home-filter-tabs a {
  font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 999px;
  border: 1px solid #e5e7eb; background: #fff; color: #374151; transition: transform 0.15s, border-color 0.15s;
}
.home-filter-tabs a:hover { transform: translateY(-1px); border-color: rgba(14,168,130,0.3); }
.home-filter-tabs a.is-active { background: var(--primary); border-color: var(--primary); color: #fff; }

.home-trust-row { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 32px; }
.home-trust-row span {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--muted-fg);
}
.home-trust-row svg { width: 12px; height: 12px; color: var(--primary); }

.home-hero__visual {
  display: none; position: relative; height: 480px; align-items: flex-end; justify-content: center;
  width: 100%;
}
.home-hero__visual-bg {
  position: absolute; inset: 0; border-radius: 24px;
  background: linear-gradient(135deg, #0EA88220 0%, #0EA88205 100%);
}
.home-hero__photo {
  position: relative; z-index: 1; height: 440px; width: auto; border-radius: 24px;
  object-fit: cover; box-shadow: 0 24px 60px rgba(10,28,23,0.2);
  animation: home-fade-up 0.6s ease-out 0.2s both;
}
.home-float-card {
  position: absolute; z-index: 2; background: #fff; border-radius: 16px; padding: 12px 16px;
  border: 1px solid rgba(14,168,130,0.12); box-shadow: var(--shadow-lg);
  animation: home-float 3.2s ease-in-out infinite;
}
.home-float-card--doctors { top: 24px; left: -8px; }
.home-float-card--patients { bottom: 48px; right: -12px; animation-duration: 2.8s; animation-delay: 0.5s; }
.home-float-card--rating { top: 38%; left: -20px; animation-duration: 4s; animation-delay: 1.2s; }
.home-float-card--hipaa { top: 16px; right: -8px; padding: 10px 12px; animation-duration: 3.5s; animation-delay: 0.8s; }
.home-float-card__row { display: flex; align-items: center; gap: 8px; margin-bottom: 2px; }
.home-float-card__row--stars { gap: 6px; }
.home-float-card__icon {
  width: 28px; height: 28px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
}
.home-float-card__icon svg { width: 14px; height: 14px; }
.home-float-card__icon--primary { background: rgba(14,168,130,0.1); color: var(--primary); }
.home-float-card__icon--pink { background: #fce4ec; color: #e91e63; }
.home-float-card__icon--blue { background: #e3f2fd; color: #1976d2; }
.home-float-card__value { font-size: 24px; font-weight: 900; color: var(--primary); line-height: 1; }
.home-float-card__value--sm { font-size: 14px; color: var(--fg); }
.home-float-card__label { font-size: 12px; font-weight: 600; color: var(--muted-fg); }
.home-float-card__stars { display: flex; gap: 2px; }
.home-float-card__stars svg { width: 11px; height: 11px; fill: #f59e0b; color: #f59e0b; }
.home-float-card__hipaa { font-size: 12px; font-weight: 900; color: var(--fg); }

.home-section { padding: 56px 0; }
.home-section--tight { padding-top: 0; padding-bottom: 40px; }
.home-section--bottom { padding-top: 0; padding-bottom: 64px; }
.home-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.home-section__head h2 { font-size: 20px; font-weight: 900; }
.home-section__head p { font-size: 14px; color: var(--muted-fg); margin-top: 4px; }
.home-section__link { display: none; font-size: 14px; font-weight: 700; color: var(--primary); }
.home-section__link:hover { text-decoration: underline; }

.home-specialty-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px;
}
.home-specialty-card {
  display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px;
  border-radius: 16px; border: 1px solid rgba(14,168,130,0.12); background: #fff;
  transition: transform 0.2s, box-shadow 0.2s; animation: home-fade-up 0.45s ease-out both;
}
.home-specialty-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.home-specialty-card__icon {
  width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s;
}
.home-specialty-card:hover .home-specialty-card__icon { transform: rotate(6deg) scale(1.08); }
.home-specialty-card__icon svg { width: 22px; height: 22px; }
.home-specialty-card span {
  font-size: 11px; font-weight: 700; text-align: center; color: var(--muted-fg); transition: color 0.15s;
}
.home-specialty-card:hover span { color: var(--fg); }

.home-promo {
  position: relative; overflow: hidden; border-radius: 24px; padding: 36px 40px;
  background: linear-gradient(130deg, #0EA882 0%, #07705a 100%); color: #fff;
}
.home-promo__watermark {
  position: absolute; right: 40px; bottom: 0; width: 200px; height: 200px; opacity: 0.07; color: #fff;
}
.home-promo__content { position: relative; z-index: 1; max-width: 480px; }
.home-promo__tag {
  display: inline-block; background: rgba(255,255,255,0.2); border: 1px solid rgba(255,255,255,0.2);
  color: #fff; font-size: 10px; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
}
.home-promo h3 { font-size: clamp(1.4rem, 3vw, 1.875rem); font-weight: 900; margin-top: 12px; line-height: 1.25; }
.home-promo p { margin-top: 8px; color: rgba(255,255,255,0.7); font-size: 14px; }
.home-promo__cta {
  margin-top: 20px; display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--primary);
  font-size: 14px; font-weight: 900; padding: 12px 24px; border-radius: 12px; box-shadow: var(--shadow);
  transition: transform 0.15s;
}
.home-promo__cta:hover { transform: scale(1.02); }
.home-promo__cta svg { width: 15px; height: 15px; }

.home-doctors-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.home-doctor-card {
  position: relative;
  background: #fff; border: 1px solid rgba(14,168,130,0.15); border-radius: 16px; overflow: hidden;
  display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(0,0,0,0.04);
  transition: transform 0.2s, box-shadow 0.2s;
}
.home-doctor-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.home-doctor-card__stretch {
  position: absolute; inset: 0; z-index: 1;
  border-radius: inherit;
}
.home-doctor-card__media { position: relative; display: block; height: 208px; background: var(--secondary); overflow: hidden; }
.home-doctor-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.3s; }
.home-doctor-card:hover .home-doctor-card__media img { transform: scale(1.04); }
.home-doctor-card__placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  font-size: 48px; font-weight: 900; color: var(--primary); background: var(--secondary);
}
.home-doctor-card__badge {
  position: absolute; top: 12px; left: 12px; font-size: 10px; font-weight: 900; padding: 4px 10px;
  border-radius: 999px; background: var(--primary); color: #fff;
}
.home-doctor-card__avail {
  position: absolute; bottom: 12px; left: 12px; font-size: 10px; font-weight: 900; padding: 4px 10px;
  border-radius: 999px; background: rgba(255,255,255,0.92); color: var(--primary);
}
.home-doctor-card__fav {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 32px; height: 32px; border-radius: 999px; background: rgba(255,255,255,0.92);
  border: 1px solid rgba(14,168,130,0.15); display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.home-doctor-card__fav svg { width: 14px; height: 14px; color: #9ca3af; }
.home-doctor-card__fav svg.is-fav { color: #ef4444; fill: #ef4444; }
.home-doctor-card__body { padding: 16px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.home-doctor-card__top { display: flex; justify-content: space-between; gap: 12px; }
.home-doctor-card__top h3 { font-size: 14px; font-weight: 700; line-height: 1.3; }
.home-doctor-card__top p { font-size: 12px; color: var(--muted-fg); margin-top: 2px; }
.home-doctor-card__price { text-align: right; flex-shrink: 0; }
.home-doctor-card__price strong { display: block; font-size: 14px; font-weight: 900; color: var(--primary); }
.home-doctor-card__price span { font-size: 10px; color: var(--muted-fg); }
.home-doctor-card__rating { display: flex; align-items: center; gap: 6px; }
.home-doctor-card__stars { display: flex; gap: 1px; }
.home-doctor-card__stars svg { width: 10px; height: 10px; }
.home-doctor-card__stars .is-filled { fill: #fbbf24; color: #fbbf24; }
.home-doctor-card__stars .is-empty { fill: none; color: #fbbf24; stroke: #fbbf24; stroke-width: 1.5; }
.home-doctor-card__rating strong { font-size: 12px; font-weight: 700; }
.home-doctor-card__rating span { font-size: 12px; color: var(--muted-fg); }
.home-doctor-card__meta { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted-fg); }
.home-doctor-card__meta svg { width: 10px; height: 10px; flex-shrink: 0; }
.home-doctor-card__meta span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-doctor-card__actions {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 8px;
  padding: 0 16px 16px;
}
.home-doctor-card__actions .btn-outline,
.home-doctor-card__actions .btn-primary {
  position: relative;
  z-index: 2;
  flex: 1;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 0;
  border-radius: 9999px;
  line-height: 1.2;
  box-sizing: border-box;
  border-style: solid;
  border-width: 1.5px;
}
.home-doctor-card__actions .btn-outline {
  border-color: rgba(14, 168, 130, 0.4);
  background: transparent;
  color: var(--primary);
}
.home-doctor-card__actions .btn-primary {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

.home-empty {
  text-align: center; padding: 48px 16px; background: #fff; border: 1px solid rgba(14,168,130,0.12); border-radius: 16px;
}
.home-empty h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.home-empty p { color: var(--muted-fg); margin-bottom: 16px; }

.home-stats { border-top: 1px solid rgba(14,168,130,0.12); background: #fff; padding: 48px 0; }
.home-stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; text-align: center; }
.home-stats__item { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.home-stats__icon {
  width: 48px; height: 48px; border-radius: 16px; background: rgba(14,168,130,0.1);
  display: flex; align-items: center; justify-content: center; color: var(--primary);
}
.home-stats__icon svg { width: 22px; height: 22px; }
.home-stats__value { font-size: 30px; font-weight: 900; line-height: 1; }
.home-stats__value--rating::after { content: '\2605'; margin-left: 0.12em; }
.home-stats__label { font-size: 14px; font-weight: 600; color: var(--muted-fg); }

/* Public footer */
.public-footer { background: #fff; border-top: 1px solid rgba(14,168,130,0.12); }
.public-footer__grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; padding: 48px 0 40px;
}
.public-footer__brand { grid-column: span 2; }
.public-footer__brand > p { font-size: 14px; color: var(--muted-fg); line-height: 1.7; margin: 12px 0 16px; max-width: 240px; }
.public-footer__social { display: flex; gap: 12px; }
.public-footer__social-btn {
  width: 32px; height: 32px; border-radius: 14px; background: var(--muted);
  display: inline-flex; align-items: center; justify-content: center; color: var(--muted-fg); transition: background 0.15s, color 0.15s;
  cursor: pointer;
}
.public-footer__social-btn:hover { background: var(--secondary); color: var(--primary); }
.public-footer__social-btn svg { width: 14px; height: 14px; }
.public-footer__col h4 { font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.public-footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.public-footer__col a { font-size: 14px; color: var(--muted-fg); transition: color 0.15s; }
.public-footer__col a:hover { color: var(--fg); }
.public-footer__bottom {
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 12px;
  padding: 24px 0; border-top: 1px solid rgba(14,168,130,0.12); text-align: center;
}
.public-footer__bottom > p { font-size: 12px; color: var(--muted-fg); }
.public-footer__badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.public-footer__badges span {
  display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--muted-fg);
}
.public-footer__badges svg { width: 10px; height: 10px; color: var(--primary); }

/* Doctors list page (matches new-design search) */
.doctors-page { min-height: 100vh; background: var(--bg); }
.doctors-page__search-bar {
  background: #fff; border-bottom: 1px solid rgba(14,168,130,0.15); padding: 24px 0;
}
.doctors-page__search-bar h1 { font-size: 24px; font-weight: 900; margin-bottom: 16px; }
.doctors-page__search-row { display: flex; flex-direction: column; gap: 12px; }
.doctors-page__search-field {
  display: flex; align-items: center; gap: 12px; background: var(--bg);
  border: 1px solid rgba(14,168,130,0.15); border-radius: 18px; padding: 10px 16px;
}
.doctors-page__search-field--grow { flex: 1; }
.doctors-page__search-field svg { width: 16px; height: 16px; color: var(--muted-fg); flex-shrink: 0; }
.doctors-page__search-field input {
  flex: 1; border: none; outline: none; background: transparent; font-size: 14px; font-weight: 500; color: var(--fg); min-width: 0;
}
.doctors-page__search-field input::placeholder { color: #6b8f8499; }
.doctors-page__clear-q { color: var(--muted-fg); display: inline-flex; }
.doctors-page__clear-q svg { width: 14px; height: 14px; }
.doctors-page__search-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 20px; border-radius: 18px; background: var(--primary); color: #fff;
  font-size: 14px; font-weight: 700; white-space: nowrap;
}
.doctors-page__search-btn:hover { opacity: 0.92; }
.doctors-page__search-btn svg { width: 15px; height: 15px; }

.doctors-page__body {
  display: flex; flex-direction: column; gap: 32px; padding-top: 32px; padding-bottom: 56px;
}
.doctors-page__filters { width: 100%; flex-shrink: 0; }
.doctors-page__filters-card {
  background: #fff; border: 1px solid rgba(14,168,130,0.15); border-radius: 16px; padding: 20px;
}
.doctors-page__filters-head {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px;
}
.doctors-page__filters-head h3 {
  display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700;
}
.doctors-page__filters-head h3 svg { width: 14px; height: 14px; }
.doctors-page__filters-head button {
  font-size: 12px; font-weight: 700; color: var(--primary);
}
.doctors-page__filter-block { margin-bottom: 20px; }
.doctors-page__filter-block:last-child { margin-bottom: 0; }
.doctors-page__filter-label {
  font-size: 11px; font-weight: 700; color: var(--muted-fg); text-transform: uppercase;
  letter-spacing: 0.06em; margin-bottom: 8px;
}
.doctors-page__toggle {
  display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; font-weight: 600;
}
.doctors-page__switch {
  position: relative; width: 40px; height: 20px; border-radius: 999px; background: #d1d5db; transition: background 0.2s; flex-shrink: 0;
}
.doctors-page__switch.is-on { background: var(--primary); }
.doctors-page__switch span {
  position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 999px;
  background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,0.15); transition: left 0.2s;
}
.doctors-page__switch.is-on span { left: 22px; }
.doctors-page__spec-list { display: flex; flex-direction: column; gap: 8px; }
.doctors-page__check {
  display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; font-weight: 500; color: var(--muted-fg);
}
.doctors-page__check:hover { color: var(--fg); }
.doctors-page__checkbox {
  width: 16px; height: 16px; border-radius: 4px; border: 2px solid #d1d5db;
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all 0.15s;
}
.doctors-page__checkbox.is-checked { background: var(--primary); border-color: var(--primary); color: #fff; }
.doctors-page__checkbox svg { width: 10px; height: 10px; color: #fff; }
.doctors-page__price-meta {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px;
  font-size: 12px; color: var(--muted-fg);
}
.doctors-page__price-meta .is-active { font-weight: 700; color: var(--primary); }
.doctors-page__range { width: 100%; accent-color: var(--primary); }

.doctors-page__results { flex: 1; min-width: 0; }
.doctors-page__results-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 20px;
}
.doctors-page__results-head > p {
  font-size: 14px; font-weight: 600; color: var(--muted-fg);
}
.doctors-page__results-head > p span {
  color: var(--fg); font-weight: 900; font-size: 16px;
}
.doctors-page__sort { display: flex; align-items: center; gap: 8px; }
.doctors-page__sort span { font-size: 12px; font-weight: 600; color: var(--muted-fg); }
.doctors-page__sort select {
  font-size: 12px; font-weight: 700; border: 1px solid rgba(14,168,130,0.15);
  border-radius: 10px; padding: 6px 12px; background: #fff; outline: none; cursor: pointer;
}
.doctors-page__grid {
  display: grid; grid-template-columns: 1fr; gap: 20px;
}
.doctors-page__empty {
  text-align: center; padding: 80px 16px; color: var(--muted-fg);
}
.doctors-page__empty svg { width: 40px; height: 40px; margin: 0 auto 12px; opacity: 0.3; display: block; }
.doctors-page__empty-title { font-weight: 700; color: var(--fg); margin-bottom: 4px; }

@media (min-width: 640px) {
  .doctors-page__search-row { flex-direction: row; align-items: stretch; }
  .doctors-page__search-field:not(.doctors-page__search-field--grow) { width: auto; min-width: 160px; }
  .doctors-page__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .doctors-page__body { flex-direction: row; gap: 32px; }
  .doctors-page__filters { width: 256px; }
  .doctors-page__filters-card { position: sticky; top: 88px; }
}
@media (min-width: 1280px) {
  .doctors-page__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Specialties page */
.specs-page { min-height: 100vh; background: var(--bg); }
.specs-hero {
  position: relative; overflow: hidden; padding: 56px 0;
  background: linear-gradient(135deg, #f0fdf8 0%, #e6f9f4 60%, #d4f5ec 100%);
}
.specs-hero__blob {
  position: absolute; top: 32px; right: 64px; width: 256px; height: 256px; border-radius: 999px;
  background: #0EA88225; filter: blur(48px); opacity: 0.4; pointer-events: none;
  animation: home-blob 7s ease-in-out infinite;
}
.specs-hero__inner { position: relative; z-index: 1; text-align: center; }
.specs-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px;
  padding: 6px 12px; border-radius: 999px; background: rgba(14,168,130,0.1); color: var(--primary);
  font-size: 12px; font-weight: 900;
}
.specs-hero__eyebrow svg { width: 12px; height: 12px; }
.specs-hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; line-height: 1.15; }
.specs-hero p { margin: 12px auto 0; max-width: 560px; font-size: 15px; color: var(--muted-fg); line-height: 1.7; }

.catalog-search {
  margin: 28px auto 0;
  max-width: 520px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px 12px 16px;
  background: #fff;
  border: 1px solid rgba(14,168,130,0.15);
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.catalog-search svg { width: 18px; height: 18px; color: var(--muted-fg); flex-shrink: 0; }
.catalog-search input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
}
.catalog-search input::placeholder { color: #6b8f8499; }
.catalog-search__clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: none;
  background: rgba(14,168,130,0.1);
  color: var(--muted-fg);
  flex-shrink: 0;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  font-weight: 600;
  transition: background 0.15s, color 0.15s;
}
.catalog-search__clear:hover { background: rgba(14,168,130,0.18); color: var(--fg); }

.specs-grid-wrap { padding-top: 48px; padding-bottom: 64px; }
.specs-empty {
  text-align: center;
  padding: 48px 16px;
  font-size: 14px;
  color: var(--muted-fg);
}
.specs-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.specs-card {
  background: #fff; border: 1px solid rgba(14,168,130,0.15); border-radius: 16px; padding: 20px;
  cursor: pointer; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  animation: home-fade-up 0.45s ease-out both; position: relative;
}
.specs-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.specs-card.is-selected { border-color: var(--primary); box-shadow: var(--shadow); }
.specs-card__top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 16px; gap: 12px; }
.specs-card__icon {
  width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s;
}
.specs-card:hover .specs-card__icon { transform: rotate(6deg) scale(1.08); }
.specs-card__icon svg { width: 26px; height: 26px; }
.specs-card__compare {
  font-size: 10px; font-weight: 700; padding: 4px 10px; border-radius: 999px;
  border: 1px solid #e5e7eb; color: #6b7280; background: #fff; transition: all 0.15s; white-space: nowrap;
}
.specs-card__compare:hover { border-color: rgba(14,168,130,0.4); }
.specs-card__compare.is-on { background: var(--primary); border-color: var(--primary); color: #fff; }
.specs-card h3 { font-size: 16px; font-weight: 900; }
.specs-card > p { font-size: 12px; color: var(--muted-fg); margin-top: 4px; line-height: 1.6; }
.specs-card__meta {
  display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding-top: 12px;
  border-top: 1px solid rgba(14,168,130,0.12); font-size: 12px; font-weight: 600; color: var(--muted-fg);
}
.specs-card__meta .is-fee { font-weight: 700; color: var(--primary); }

.specs-compare-bar {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 50;
  display: flex; align-items: center; gap: 16px; background: #fff; border-radius: 16px;
  box-shadow: 0 16px 48px rgba(10,28,23,0.18); border: 1px solid rgba(14,168,130,0.15);
  padding: 16px 24px; white-space: nowrap;
}
.specs-compare-bar__count { font-size: 14px; font-weight: 700; }
.specs-compare-bar__btn {
  padding: 8px 20px; border-radius: 12px; background: var(--primary); color: #fff; font-size: 14px; font-weight: 700;
}
.specs-compare-bar__btn:hover { opacity: 0.92; }
.specs-compare-bar__clear { font-size: 14px; font-weight: 600; color: var(--muted-fg); }
.specs-compare-bar__clear:hover { color: var(--fg); }

.specs-modal {
  position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,0.5); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: 16px;
}
.specs-modal__panel {
  background: #fff; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg);
  max-width: 672px; width: 100%; max-height: 90vh; overflow-y: auto;
}
.specs-modal__panel--wide { max-width: 896px; }
.specs-modal__hero { position: relative; height: 176px; overflow: hidden; }
.specs-modal__hero img { width: 100%; height: 100%; object-fit: cover; }
.specs-modal__hero-fade {
  position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.7));
}
.specs-modal__hero-info { position: absolute; left: 20px; bottom: 16px; color: #fff; }
.specs-modal__hero-row { display: flex; align-items: center; gap: 8px; }
.specs-modal__hero-icon {
  width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.specs-modal__hero-icon svg { width: 20px; height: 20px; }
.specs-modal__hero-info h2 { font-size: 20px; font-weight: 900; }
.specs-modal__hero-info p { font-size: 12px; color: rgba(255,255,255,0.8); }
.specs-modal__close {
  position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; border-radius: 999px;
  background: rgba(0,0,0,0.4); color: #fff; display: inline-flex; align-items: center; justify-content: center;
}
.specs-modal__close:hover { background: rgba(0,0,0,0.6); }
.specs-modal__close svg { width: 16px; height: 16px; }
.specs-modal__close--muted {
  position: static; background: var(--muted); color: var(--fg);
}
.specs-modal__close--muted:hover { background: #e5e7eb; }
.specs-modal__body { padding: 24px; display: flex; flex-direction: column; gap: 20px; }
.specs-modal__stats { display: flex; gap: 12px; }
.specs-modal__stats > div { flex: 1; text-align: center; background: rgba(242,248,246,0.8); border-radius: 12px; padding: 12px 8px; }
.specs-modal__stat-value { font-size: 18px; font-weight: 900; color: var(--primary); }
.specs-modal__stat-label { font-size: 12px; font-weight: 600; color: var(--muted-fg); margin-top: 2px; }
.specs-modal__body h4 { font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.specs-modal__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.specs-modal__tags span {
  font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 10px; background: var(--muted); color: var(--fg);
}
.specs-modal__tags--primary span {
  background: rgba(14,168,130,0.1); color: var(--primary); border: 1px solid rgba(14,168,130,0.25);
}
.specs-modal__facts { display: flex; flex-direction: column; gap: 6px; }
.specs-modal__facts > div { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; color: var(--muted-fg); }
.specs-modal__facts svg { width: 14px; height: 14px; color: var(--primary); flex-shrink: 0; margin-top: 2px; }
.specs-modal__why { background: rgba(242,248,246,0.8); border-radius: 12px; padding: 16px; }
.specs-modal__why h4 { margin-bottom: 4px; }
.specs-modal__why p { font-size: 14px; color: var(--muted-fg); line-height: 1.6; }
.specs-modal__doctors { display: flex; flex-direction: column; gap: 8px; }
.specs-modal__doctor {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px;
  border: 1px solid rgba(14,168,130,0.15); border-radius: 12px; background: #fff;
  text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s;
}
.specs-modal__doctor:hover { border-color: rgba(14,168,130,0.4); box-shadow: 0 4px 14px rgba(10,28,23,0.06); }
.specs-modal__doctor img {
  width: 44px; height: 44px; border-radius: 12px; object-fit: cover; object-position: top; flex-shrink: 0; background: var(--muted);
}
.specs-modal__doctor-info { flex: 1; min-width: 0; }
.specs-modal__doctor-name { font-size: 14px; font-weight: 700; color: var(--fg); }
.specs-modal__doctor-meta { font-size: 12px; color: var(--muted-fg); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.specs-modal__doctor-fee { font-size: 13px; font-weight: 800; color: var(--primary); flex-shrink: 0; }
.specs-modal__doctors-empty { font-size: 13px; color: var(--muted-fg); }
.specs-modal__cta {
  display: block; width: 100%; text-align: center; padding: 12px; border-radius: 12px;
  background: var(--primary); color: #fff; font-size: 14px; font-weight: 700;
}
.specs-modal__cta:hover { opacity: 0.92; }
.specs-modal__cta--sm { padding: 8px; font-size: 12px; }

.specs-compare__head {
  display: flex; align-items: center; justify-content: space-between; padding: 24px;
  border-bottom: 1px solid rgba(14,168,130,0.15);
}
.specs-compare__head h2 { font-size: 20px; font-weight: 900; }
.specs-compare__grid { display: grid; }
.specs-compare__col {
  padding: 20px; display: flex; flex-direction: column; gap: 16px;
  border-right: 1px solid rgba(14,168,130,0.12);
}
.specs-compare__col:last-child { border-right: none; }
.specs-compare__title { display: flex; align-items: center; gap: 8px; }
.specs-compare__title h3 { font-size: 14px; font-weight: 900; }
.specs-compare__title p { font-size: 10px; color: var(--muted-fg); }
.specs-compare__label {
  font-size: 10px; font-weight: 900; color: var(--muted-fg); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px;
}
.specs-compare__fee { font-size: 18px; font-weight: 900; color: var(--primary); }
.specs-compare__text { font-size: 14px; font-weight: 600; }
.specs-compare__list p {
  font-size: 12px;
  color: var(--muted-fg);
  margin-bottom: 2px;
  padding-left: 0.85em;
  position: relative;
}

.specs-compare__list p::before {
  content: "\2022";
  position: absolute;
  left: 0;
  color: var(--muted-fg);
}

.specs-compare__list p.is-check::before {
  content: "\2713";
  color: var(--primary);
}

@media (min-width: 640px) {
  .specs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .specs-hero { padding: 80px 0; }
  .specs-modal__stats { gap: 24px; }
}
@media (min-width: 1024px) {
  .specs-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Procedures page */
.procs-page { min-height: 100vh; background: var(--bg); }
.procs-hero {
  position: relative; overflow: hidden; padding: 56px 0;
  background: linear-gradient(135deg, #f0fdf8 0%, #e6f9f4 60%, #d4f5ec 100%);
}
.procs-hero__blob {
  position: absolute; bottom: -40px; left: 40px; width: 288px; height: 288px; border-radius: 999px;
  background: #0EA88220; filter: blur(48px); opacity: 0.3; pointer-events: none;
  animation: home-blob 7s ease-in-out infinite;
}
.procs-hero__inner { position: relative; z-index: 1; text-align: center; }
.procs-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px;
  padding: 6px 12px; border-radius: 999px; background: rgba(14,168,130,0.1); color: var(--primary);
  font-size: 12px; font-weight: 900;
}
.procs-hero__eyebrow svg { width: 12px; height: 12px; }
.procs-hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; line-height: 1.15; }
.procs-hero p { margin: 12px auto 0; max-width: 560px; font-size: 15px; color: var(--muted-fg); line-height: 1.7; }

.procs-body { padding-top: 32px; padding-bottom: 64px; }
.procs-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.procs-cat {
  font-size: 12px; font-weight: 700; padding: 8px 16px; border-radius: 999px;
  border: 1px solid #e5e7eb; background: #fff; color: #374151; transition: all 0.15s;
}
.procs-cat:hover { transform: translateY(-1px); border-color: rgba(14,168,130,0.3); }
.procs-cat.is-active { background: var(--primary); border-color: var(--primary); color: #fff; }

.procs-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.procs-empty {
  margin-top: 24px; text-align: center; font-size: 14px; font-weight: 600; color: var(--muted-fg);
}
.procs-card {
  background: #fff; border: 1px solid rgba(14,168,130,0.15); border-radius: 16px; overflow: hidden;
  cursor: pointer; transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.procs-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.procs-card.is-selected { border-color: var(--primary); }
.procs-card__media { height: 144px; overflow: hidden; background: var(--secondary); }
.procs-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.procs-card:hover .procs-card__media img { transform: scale(1.05); }
.procs-card__body { padding: 20px; }
.procs-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.procs-card__cat {
  display: block; font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted-fg);
}
.procs-card__top h3 { font-size: 16px; font-weight: 900; margin-top: 2px; }
.procs-card__compare {
  font-size: 10px; font-weight: 700; padding: 4px 10px; border-radius: 999px;
  border: 1px solid #e5e7eb; color: #6b7280; background: #fff; flex-shrink: 0; white-space: nowrap;
}
.procs-card__compare.is-on { background: var(--primary); border-color: var(--primary); color: #fff; }
.procs-card__desc {
  font-size: 12px; color: var(--muted-fg); line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.procs-card__meta {
  display: flex; align-items: flex-end; justify-content: space-between; margin-top: 16px; padding-top: 12px;
  border-top: 1px solid rgba(14,168,130,0.12);
}
.procs-card__meta p { font-size: 12px; color: var(--muted-fg); }
.procs-card__meta strong { display: block; font-weight: 900; color: var(--primary); margin-top: 2px; }
.procs-card__meta .is-right { text-align: right; }
.procs-card__meta .is-right span { display: block; font-size: 12px; font-weight: 600; margin-top: 2px; }

.specs-modal__panel--proc { max-width: 576px; }
.procs-modal__cat {
  font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.7); margin-bottom: 2px;
}
.procs-modal__heading {
  display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; margin-bottom: 8px;
}
.procs-modal__heading svg { width: 14px; height: 14px; }
.procs-modal__heading .is-amber { color: #f59e0b; }
.procs-modal__heading .is-primary { color: var(--primary); }
.procs-modal__heading .is-red { color: #ef4444; }
.procs-modal__text { font-size: 14px; color: var(--muted-fg); line-height: 1.6; }
.procs-modal__list { display: flex; flex-direction: column; gap: 4px; }
.procs-modal__list > div { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted-fg); }
.procs-modal__list .is-dot { width: 6px; height: 6px; border-radius: 999px; flex-shrink: 0; }
.procs-modal__list .is-dot.is-primary { background: var(--primary); }
.procs-modal__list .is-dot.is-red { background: #f87171; }
.procs-modal__range { font-size: 12px; color: var(--muted-fg); }
.procs-modal__range strong { color: var(--fg); font-weight: 700; }
.procs-compare__name { font-size: 14px; font-weight: 900; }

@media (min-width: 640px) {
  .procs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .procs-hero { padding: 80px 0; }
}
@media (min-width: 1024px) {
  .procs-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@keyframes home-fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes home-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes home-blob {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.2); opacity: 0.5; }
}

@media (min-width: 640px) {
  .home-search { flex-direction: row; align-items: stretch; }
  .home-search__field { flex: 1; border-bottom: none; border-right: 1px solid rgba(14,168,130,0.12); }
  .home-specialty-grid { grid-template-columns: repeat(7, minmax(0, 1fr)); }
  .home-doctors-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-section__link { display: block; }
  .public-footer__bottom { flex-direction: row; text-align: left; }
}
@media (min-width: 1024px) {
  .home-hero__inner { grid-template-columns: 1fr 1fr; gap: 48px; padding-top: 80px; padding-bottom: 80px; }
  .home-hero__visual { display: flex; }
  .home-doctors-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .home-stats__grid { grid-template-columns: repeat(4, 1fr); }
  .public-footer__grid { grid-template-columns: 1.2fr repeat(4, 1fr); }
  .public-footer__brand { grid-column: auto; }
}

/* Directory search (kept for doctors listing page) */
.badge { display: inline-flex; align-items: center; gap: 8px; background: var(--secondary); color: var(--secondary-fg); font-size: 11px; font-weight: 700; padding: 6px 14px; border-radius: var(--radius-full); margin-bottom: 24px; }
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }
.hero-sub { font-size: 15px; color: var(--muted-fg); line-height: 1.7; margin-bottom: 32px; max-width: 440px; }
.search-box { background: #fff; border-radius: 16px; border: 1px solid var(--border); box-shadow: var(--shadow); overflow: hidden; }
.search-top { display: flex; align-items: center; gap: 12px; padding: 12px 16px; flex-wrap: wrap; }
.ai-badge { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.ai-icon { width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(135deg, #0ea882, #34d399); display: flex; align-items: center; justify-content: center; }
.ai-icon svg { width: 14px; height: 14px; color: #fff; }
.ai-label { font-size: 11px; font-weight: 700; color: var(--primary); }
.sep { width: 1px; height: 24px; background: var(--border); flex-shrink: 0; }
.search-input { flex: 1; border: none; outline: none; font-size: 13px; color: var(--fg); background: transparent; min-width: 180px; }
.search-input::placeholder { color: var(--muted-fg); }
.search-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.location-row { display: flex; align-items: center; gap: 6px; }
.location-row svg { width: 14px; height: 14px; color: var(--primary); }
.location-input { border: none; outline: none; font-size: 13px; color: var(--fg); background: transparent; width: 110px; }
.search-btn { display: flex; align-items: center; gap: 6px; padding: 8px 16px; background: var(--primary); color: #fff; font-size: 13px; font-weight: 600; border-radius: var(--radius); transition: background 0.15s; }
.search-btn:hover { background: var(--primary-dark); }
.search-btn svg { width: 14px; height: 14px; }
.search-chips { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; padding: 0 16px 12px; }
.chips-label { font-size: 11px; color: var(--muted-fg); }
.chip { font-size: 11px; padding: 4px 10px; border-radius: var(--radius-full); background: var(--muted); color: var(--muted-fg); cursor: pointer; transition: background 0.15s, color 0.15s; border: none; }
.chip:hover { background: var(--secondary); color: var(--primary); }
.stat-value { font-weight: 900; font-size: 22px; line-height: 1; }
.stat-label { font-size: 11px; color: var(--muted-fg); margin-top: 3px; }

.pills-bar { background: #fff; border-bottom: 1px solid var(--border); }
.pills-bar--inline { background: transparent; border-bottom: none; margin: 0 0 20px; }
.pills-bar--inline .pills-inner { padding: 0; }
.pills-inner { display: flex; align-items: center; gap: 8px; padding: 14px 24px; overflow-x: auto; }
.pills-label { font-size: 11px; font-weight: 600; color: var(--muted-fg); white-space: nowrap; }
.pill { white-space: nowrap; padding: 6px 16px; border-radius: var(--radius-full); font-size: 12px; font-weight: 600; cursor: pointer; transition: all 0.15s; background: var(--muted); color: var(--muted-fg); border: none; }
.pill:hover { background: var(--secondary); color: var(--secondary-fg); }
.pill.active { background: var(--primary); color: #fff; box-shadow: 0 4px 12px rgba(14,168,130,0.3); }

.results-section { padding: 32px 0 48px; }
.directory-page-intro { margin-bottom: 24px; }
.directory-page-title { font-size: 28px; font-weight: 700; color: var(--fg); margin: 0 0 6px; }
.directory-page-sub { font-size: 14px; color: var(--muted-fg, #64748b); margin: 0; }
.directory-page-search { margin-bottom: 28px; }
.results-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 24px; }
.results-count { font-size: 16px; font-weight: 700; }
.results-count span { color: var(--primary); }
.results-sub { font-size: 11px; color: var(--muted-fg); margin-top: 2px; }
.filter-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.filter-btn { display: flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: var(--radius-sm); border: 1px solid var(--border); font-size: 12px; font-weight: 600; color: var(--muted-fg); transition: all 0.15s; background: none; cursor: pointer; }
.filter-btn:hover, .filter-btn.active { border-color: var(--primary); color: var(--primary); }
.filter-btn.active { background: var(--secondary); }
.filter-btn svg { width: 14px; height: 14px; }
.avail-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted-fg); }
.filter-btn.active .avail-dot { background: #10b981; }

.specialty-dropdown { position: relative; }
.filter-btn .caret { width: 14px; height: 14px; transition: transform 0.15s; }
.filter-btn[aria-expanded="true"] .caret { transform: rotate(180deg); }
.specialty-menu { position: absolute; top: calc(100% + 6px); right: 0; z-index: 40; min-width: 230px; max-height: 320px; overflow-y: auto; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); box-shadow: var(--shadow, 0 10px 30px rgba(15, 23, 42, 0.12)); padding: 6px; }
.specialty-menu[hidden] { display: none; }
.specialty-option { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; padding: 8px 10px; border: none; background: none; border-radius: 6px; font-size: 12px; font-weight: 500; color: var(--fg); cursor: pointer; text-align: left; }
.specialty-option:hover { background: var(--muted); }
.specialty-option.active { background: var(--secondary); color: var(--secondary-fg); font-weight: 600; }
.specialty-option .check { width: 14px; height: 14px; flex-shrink: 0; opacity: 0; }
.specialty-option.active .check { opacity: 1; }

.doctors-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; min-height: 120px; }
.doctors-grid.is-loading { opacity: 0.55; pointer-events: none; }
.doctor-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 12px; transition: box-shadow 0.2s, transform 0.2s; }
.doctor-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-top { display: flex; flex-direction: column; align-items: center; gap: 8px; position: relative; }
.save-btn { position: absolute; top: 0; right: 0; width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: none; border: none; cursor: pointer; transition: background 0.15s; }
.save-btn:hover { background: var(--muted); }
.save-btn svg { width: 16px; height: 16px; color: var(--muted-fg); fill: none; transition: all 0.15s; }
.save-btn.saved svg { fill: #ef4444; color: #ef4444; }
.avatar-wrap { position: relative; }
.avatar { width: 80px; height: 80px; border-radius: 14px; object-fit: cover; background: var(--muted); }
.verified-badge { position: absolute; bottom: -4px; right: -4px; width: 20px; height: 20px; border-radius: 50%; background: var(--primary); display: flex; align-items: center; justify-content: center; }
.verified-badge svg { width: 12px; height: 12px; color: #fff; }
.card-info { text-align: center; }
.doctor-name { font-size: 13px; font-weight: 600; margin-bottom: 3px; transition: color 0.15s; }
.doctor-card:hover .doctor-name { color: var(--primary); }
.doctor-specialty { font-size: 11px; color: var(--muted-fg); margin-bottom: 4px; }
.doctor-rating { display: flex; align-items: center; justify-content: center; gap: 6px; margin-bottom: 4px; }
.doctor-rating .stars { display: inline-flex; align-items: center; gap: 1px; line-height: 0; color: #f5a623; }
.doctor-rating .stars svg { width: 13px; height: 13px; flex-shrink: 0; }
.doctor-rating .stars .is-filled { color: #f5a623; }
.doctor-rating .stars .is-empty { color: #f5a623; }
.doctor-rating .rating-value { font-size: 12px; font-weight: 700; color: var(--fg); }
.doctor-rating .rating-count { font-size: 12px; font-weight: 500; color: var(--muted-fg); }
.doctor-price { font-size: 12px; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.top-rated-tag { position: absolute; top: 0; left: 0; z-index: 2; padding: 3px 8px; border-radius: 999px; background: #fff7e6; color: #b45309; border: 1px solid #fcd34d; font-size: 10px; font-weight: 700; letter-spacing: 0.02em; }
.doctor-location { display: flex; align-items: center; justify-content: center; gap: 4px; font-size: 11px; color: var(--muted-fg); }
.doctor-location svg { width: 11px; height: 11px; flex-shrink: 0; }
.avail-row { display: flex; justify-content: center; }
.avail-tag { display: flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 500; }
.avail-tag.available { color: #059669; }
.avail-tag.later { color: var(--amber); }
.pulse-dot { width: 6px; height: 6px; border-radius: 50%; background: #10b981; animation: pulse 1.5s ease-in-out infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(0.85)} }
.card-actions { display: flex; align-items: center; gap: 8px; padding-top: 10px; border-top: 1px solid var(--border); }
.card-actions .btn-outline, .card-actions .btn-primary { flex: 1; text-align: center; font-size: 12px; padding: 7px 0; }
.load-more-wrap { display: flex; justify-content: center; margin-top: 40px; }
.btn-load-more { display: inline-flex; align-items: center; justify-content: center; padding: 12px 36px; border-radius: var(--radius); border: 2px solid var(--primary); color: var(--primary); font-size: 13px; font-weight: 600; background: transparent; transition: background 0.15s; cursor: pointer; text-decoration: none; }
.btn-load-more:hover { background: var(--secondary); }
.btn-load-more:disabled { opacity: 0.5; cursor: not-allowed; }

.empty-state, .error-state { grid-column: 1 / -1; text-align: center; padding: 48px 16px; color: var(--muted-fg); }
.empty-state h3, .error-state h3 { font-size: 16px; color: var(--fg); margin-bottom: 8px; }


.profile-page { padding: 40px 0 64px; }
.profile-card { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 32px; box-shadow: var(--shadow); }
.profile-header { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; margin-bottom: 24px; }
.profile-avatar { width: 120px; height: 120px; border-radius: 18px; object-fit: cover; background: var(--muted); }
.profile-meta h2 { font-family: 'Nunito', sans-serif; font-size: 28px; margin-bottom: 8px; }
.profile-meta p { color: var(--muted-fg); }
.profile-section { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border); }
.profile-section h3 { font-size: 14px; font-weight: 700; margin-bottom: 12px; }
.profile-list { display: flex; flex-wrap: wrap; gap: 8px; }
.profile-tag { padding: 6px 12px; border-radius: var(--radius-full); background: var(--muted); font-size: 12px; }

.about-hero-inner h1 { font-weight: 900; font-size: 42px; line-height: 1.15; margin-bottom: 16px; }
.about-hero-inner h1 span { color: var(--primary); }
.about-hero { background: #fff; border-bottom: 1px solid var(--border); }
.about-hero-inner { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center; padding: 56px 0; }
.about-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.about-hero-panel { display: grid; gap: 12px; }
.about-hero-stat { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; }
.about-hero-stat .stat-value { font-size: 20px; color: var(--primary); }
.about-section { padding: 56px 0; }
.about-section--muted { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.about-section-head { max-width: 560px; margin-bottom: 32px; }
.about-section-head h2 { font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 28px; margin-bottom: 8px; }
.about-section-head p { color: var(--muted-fg); font-size: 14px; line-height: 1.7; }
.about-mission-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.about-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 24px; box-shadow: var(--shadow); }
.about-section--muted .about-card { background: var(--bg); box-shadow: none; }
.about-card-icon { width: 42px; height: 42px; border-radius: 12px; background: var(--secondary); color: var(--primary); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.about-card-icon svg { width: 22px; height: 22px; }
.about-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.about-card p { font-size: 13px; color: var(--muted-fg); line-height: 1.7; }
.about-steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.about-step { display: flex; gap: 14px; background: var(--bg); border: 1px solid var(--border); border-radius: 16px; padding: 22px; }
.about-step-num { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: #fff; font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 15px; display: flex; align-items: center; justify-content: center; }
.about-step h3 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.about-step p { font-size: 13px; color: var(--muted-fg); line-height: 1.6; }
.about-cta { padding: 48px 0 64px; }
.about-cta-inner { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; box-shadow: var(--shadow); }
.about-cta-inner h2 { font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 24px; margin-bottom: 6px; }
.about-cta-inner p { color: var(--muted-fg); font-size: 14px; }
.about-cta-outline { background: #fff; }

/* About page (new-design) */
.about-page { min-height: 100vh; background: var(--bg); }
.about-nd-hero {
  position: relative; overflow: hidden; padding: 80px 0;
  background: linear-gradient(135deg, #f0fdf8 0%, #e6f9f4 60%, #d4f5ec 100%);
}
.about-nd-hero__blob {
  position: absolute; top: 40px; right: 80px; width: 320px; height: 320px; border-radius: 999px;
  background: #0EA88220; filter: blur(48px); pointer-events: none;
  animation: home-blob 8s ease-in-out infinite;
}
.about-nd-hero__inner { position: relative; z-index: 1; text-align: center; }
.about-nd-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px;
  padding: 6px 12px; border-radius: 999px; background: rgba(14,168,130,0.1); color: var(--primary);
  font-size: 12px; font-weight: 900;
}
.about-nd-hero__eyebrow svg { width: 12px; height: 12px; }
.about-nd-hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem); font-weight: 900; line-height: 1.1; color: var(--fg);
  animation: home-fade-up 0.5s ease-out both;
}
.about-nd-hero h1 span { color: var(--primary); }
.about-nd-hero p {
  margin: 20px auto 0; max-width: 672px; font-size: 18px; color: var(--muted-fg); line-height: 1.7;
  animation: home-fade-up 0.5s ease-out both;
}
.about-nd-hero__actions {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 32px;
  animation: home-fade-up 0.5s ease-out 0.2s both;
}
.about-nd-btn {
  display: inline-flex; align-items: center; justify-content: center;
  /* Match new-design rounded-xl = calc(var(--radius) + 4px) */
  padding: 12px 32px; border-radius: calc(0.875rem + 4px); font-size: 14px; font-weight: 700; transition: all 0.15s;
}
.about-nd-btn--primary { background: var(--primary); color: #fff; border: none; }
.about-nd-btn--primary:hover { opacity: 0.9; }
.about-nd-btn--outline { border: 2px solid var(--primary); color: var(--primary); background: transparent; }
.about-nd-btn--outline:hover { background: rgba(14,168,130,0.05); }

.about-nd-section { padding: 64px 0; }
.about-nd-section-head { text-align: center; margin-bottom: 40px; }
.about-nd-section-head h2 { font-size: 30px; font-weight: 900; }
.about-nd-section-head p { margin-top: 8px; color: var(--muted-fg); }

.about-nd-mission-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
.about-nd-mission-card {
  background: #fff; border: 1px solid rgba(14,168,130,0.15); border-radius: 24px; padding: 32px;
  animation: home-fade-up 0.5s ease-out both; transition: box-shadow 0.2s;
}
.about-nd-mission-card:hover { box-shadow: var(--shadow-lg); }
.about-nd-mission-card__icon {
  width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.about-nd-mission-card__icon svg { width: 26px; height: 26px; }
.about-nd-mission-card h2 { font-size: 24px; font-weight: 900; margin-bottom: 12px; }
.about-nd-mission-card p { color: var(--muted-fg); line-height: 1.7; }

.about-nd-stats { background: #fff; border-top: 1px solid rgba(14,168,130,0.15); border-bottom: 1px solid rgba(14,168,130,0.15); padding: 56px 0; }
.about-nd-stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; text-align: center; }
.about-nd-stats__item { animation: home-fade-up 0.5s ease-out both; }
.about-nd-stats__value { font-size: 36px; font-weight: 900; color: var(--primary); line-height: 1; }
.about-nd-stats__value--rating::after { content: '\2605'; margin-left: 0.12em; }
.about-nd-stats__label { font-size: 14px; font-weight: 600; color: var(--muted-fg); margin-top: 8px; }

.about-nd-steps { display: grid; grid-template-columns: 1fr; gap: 24px; }
.about-nd-step {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 24px; background: #fff; border: 1px solid rgba(14,168,130,0.15); border-radius: 16px;
  animation: home-fade-up 0.5s ease-out both; transition: box-shadow 0.2s;
}
.about-nd-step:hover { box-shadow: var(--shadow); }
.about-nd-step__icon-wrap { position: relative; margin-bottom: 20px; }
.about-nd-step__icon {
  width: 64px; height: 64px; border-radius: 16px; background: rgba(14,168,130,0.15);
  display: flex; align-items: center; justify-content: center; color: var(--primary);
  transition: transform 0.2s;
}
.about-nd-step:hover .about-nd-step__icon { transform: rotate(6deg) scale(1.1); }
.about-nd-step__icon svg { width: 26px; height: 26px; }
.about-nd-step__num {
  position: absolute; top: -8px; right: -8px; width: 24px; height: 24px; border-radius: 999px;
  background: var(--primary); color: #fff; font-size: 10px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
}
.about-nd-step h3 { font-size: 16px; font-weight: 900; margin-bottom: 8px; }
.about-nd-step p { font-size: 14px; color: var(--muted-fg); }

.about-nd-team { background: #fff; border-top: 1px solid rgba(14,168,130,0.15); border-bottom: 1px solid rgba(14,168,130,0.15); padding: 64px 0; }
.about-nd-team__grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.about-nd-member { text-align: center; animation: home-fade-up 0.5s ease-out both; }
.about-nd-member__photo {
  position: relative; width: 128px; height: 128px; margin: 0 auto 16px; border-radius: 16px; overflow: hidden;
  box-shadow: var(--shadow); transition: transform 0.2s;
}
.about-nd-member:hover .about-nd-member__photo { transform: scale(1.04); }
.about-nd-member__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.about-nd-member:hover .about-nd-member__photo img { transform: scale(1.05); }
.about-nd-member__overlay {
  position: absolute; inset: 0; background: #0EA88280; opacity: 0; transition: opacity 0.2s;
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.about-nd-member:hover .about-nd-member__overlay { opacity: 1; }
.about-nd-member__overlay svg { width: 22px; height: 22px; }
.about-nd-member h3 { font-size: 14px; font-weight: 900; }
.about-nd-member__role { font-size: 12px; font-weight: 600; color: var(--primary); margin-top: 2px; }
.about-nd-member__bio { font-size: 12px; color: var(--muted-fg); margin-top: 8px; line-height: 1.6; }

.about-nd-timeline { position: relative; }
.about-nd-timeline__line {
  position: absolute; left: 16px; top: 0; bottom: 0; width: 2px; background: #0EA88230;
  transform: translateX(-50%);
}
.about-nd-timeline__list { display: flex; flex-direction: column; gap: 32px; }
.about-nd-timeline__item {
  display: flex; align-items: flex-start; position: relative; padding-left: 40px;
  animation: home-fade-up 0.45s ease-out both;
}
.about-nd-timeline__content { width: 100%; }
.about-nd-timeline__year {
  display: inline-block; font-size: 12px; font-weight: 900; padding: 4px 12px; border-radius: 999px;
  background: rgba(14,168,130,0.15); color: var(--primary); margin-bottom: 4px;
}
.about-nd-timeline__content h3 { font-size: 14px; font-weight: 900; margin-top: 4px; }
.about-nd-timeline__content p { font-size: 12px; color: var(--muted-fg); margin-top: 4px; line-height: 1.6; }
.about-nd-timeline__dot {
  position: absolute; left: 16px; top: 0; width: 32px; height: 32px; border-radius: 999px; border: 4px solid #fff;
  background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow); z-index: 2; transform: translateX(-50%);
}
.about-nd-timeline__dot svg { width: 14px; height: 14px; }
.about-nd-timeline__spacer { display: none; flex: none; }

.about-nd-cta-wrap { padding: 0 0 64px; }
.about-nd-cta {
  position: relative; overflow: hidden; border-radius: 24px; padding: 40px; text-align: center;
  background: linear-gradient(130deg, #0EA882 0%, #07705a 100%);
}
.about-nd-cta__glow {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none;
  animation: home-blob 4s ease-in-out infinite;
}
.about-nd-cta__glow::before {
  content: ''; width: 384px; height: 384px; border-radius: 999px; background: rgba(255,255,255,0.15);
}
.about-nd-cta__content { position: relative; z-index: 1; }
.about-nd-cta h2 { font-size: 30px; font-weight: 900; color: #fff; margin-bottom: 12px; }
.about-nd-cta p { color: rgba(255,255,255,0.7); margin: 0 auto 24px; max-width: 448px; }
.about-nd-cta__btn {
  display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--primary);
  font-size: 14px; font-weight: 900; padding: 12px 32px; border-radius: calc(0.875rem + 4px); box-shadow: var(--shadow-lg);
  transition: transform 0.15s;
}
.about-nd-cta__btn:hover { transform: scale(1.04); }
.about-nd-cta__btn svg { width: 15px; height: 15px; }

@media (min-width: 640px) {
  .about-nd-steps { grid-template-columns: repeat(2, 1fr); }
  .about-nd-team__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .about-nd-hero { padding: 112px 0; }
  .about-nd-mission-grid { grid-template-columns: repeat(2, 1fr); }
  .about-nd-stats__grid { grid-template-columns: repeat(4, 1fr); }
  .about-nd-steps { grid-template-columns: repeat(4, 1fr); }
  .about-nd-team__grid { grid-template-columns: repeat(4, 1fr); }
  .about-nd-timeline__line { left: 50%; }
  .about-nd-timeline__item {
    padding-left: 0;
    justify-content: space-between;
  }
  .about-nd-timeline__item.is-left { flex-direction: row; }
  .about-nd-timeline__item.is-right { flex-direction: row-reverse; }
  .about-nd-timeline__content {
    flex: 0 0 50%;
    width: 50%;
    max-width: 50%;
    box-sizing: border-box;
  }
  .about-nd-timeline__item.is-left .about-nd-timeline__content {
    text-align: right;
    padding-right: 32px;
  }
  .about-nd-timeline__item.is-right .about-nd-timeline__content {
    text-align: left;
    padding-left: 32px;
  }
  .about-nd-timeline__dot {
    left: 50%;
    top: 0;
  }
  .about-nd-timeline__spacer {
    display: block;
    flex: 0 0 50%;
    width: 50%;
    max-width: 50%;
  }
}

@media (max-width: 1100px) { .doctors-grid { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 900px) {
  .doctors-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 600px) { .doctors-grid { grid-template-columns: 1fr; } }
