/* ============================================================================
   IVF DIRECTORY — DESIGN SYSTEM
   Color palette: Soft violet/lavender (medical trust + hope) with warm rose
   ============================================================================ */

:root {
  /* Primary — a calming violet that conveys care and medical professionalism */
  --primary: #7c5cbf;
  --primary-dark: #6347a4;
  --primary-50: #f5f0ff;
  --primary-100: #ede5ff;
  --primary-200: #d4c4f7;
  --primary-900: #1e1535;

  /* Warm rose accent — hope, femininity, life */
  --rose: #d4668e;
  --rose-light: #f8e8ef;
  --rose-dark: #b5507a;

  /* Soft gold — premium, warmth */
  --gold: #c4956a;
  --champagne: #f7efe6;

  /* Text hierarchy */
  --text: #1a1a2e;
  --text-secondary: #3d3d5c;
  --text-light: #6b6b8a;
  --text-muted: #9999b3;

  /* Backgrounds */
  --bg: #ffffff;
  --bg-subtle: #faf8fd;
  --bg-alt: #f3f0f8;

  /* Borders */
  --border: #e2dced;
  --border-light: #eeebf4;

  /* Typography */
  --font: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Plus Jakarta Sans', 'DM Sans', sans-serif;

  /* Spacing & radius */
  --radius: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(124, 92, 191, 0.06);
  --shadow-md: 0 4px 16px rgba(124, 92, 191, 0.08);
  --shadow-lg: 0 8px 32px rgba(124, 92, 191, 0.1);

  /* Transitions */
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================================
   RESET & BASE
   ============================================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  background: var(--bg);
}

a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text);
  line-height: 1.2;
}

/* ============================================================================
   LAYOUT
   ============================================================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow { max-width: 800px; }

.section { padding: 56px 0; }
.section--alt { background: var(--bg-subtle); }
.section--compact { padding: 40px 0; }

.section-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--rose);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 32px;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--text) 0%, var(--primary) 50%, var(--rose) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section__cta { text-align: center; margin-top: 40px; }

/* ============================================================================
   NAVIGATION
   ============================================================================ */
.nav {
  border-bottom: 1px solid rgba(226, 220, 237, 0.6);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  background: rgba(255, 255, 255, 0.88);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.nav__logo:hover { color: var(--primary); }
.nav__logo:hover .nav__logo-icon { transform: scale(1.05); }

.nav__logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary), var(--rose));
  color: #fff;
  border-radius: 10px;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.nav__logo-icon svg {
  width: 22px;
  height: 22px;
}

.nav__logo-highlight {
  color: var(--primary);
}

.nav__logo-text {
  line-height: 1.2;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__link {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.nav__link:hover { color: var(--primary); background: var(--primary-50); }
.nav__link--active { color: var(--primary); background: var(--primary-50); }

.nav__link--cta {
  background: var(--primary);
  color: white;
  font-weight: 600;
  margin-left: 8px;
}
.nav__link--cta:hover { background: var(--primary-dark); color: white; }

/* Mobile nav toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav__toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}
.nav__toggle--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle--open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__toggle--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================================
   HERO
   ============================================================================ */
.hero {
  background: linear-gradient(135deg, var(--primary-50) 0%, var(--rose-light) 50%, var(--champagne) 100%);
  padding: 80px 0 100px;
  text-align: center;
}

.biz-hero {
  background: linear-gradient(135deg, var(--primary-50) 0%, var(--rose-light) 50%, var(--champagne) 100%);
  padding: 80px 0 60px;
  text-align: center;
}

.hero__badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(124, 92, 191, 0.1);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.hero__title {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.hero__highlight {
  background: linear-gradient(135deg, var(--primary), var(--rose));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

/* Search bar */
.hero__search { max-width: 600px; margin: 0 auto; position: relative; }

.hero__search-wrap {
  display: flex;
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: var(--radius-full);
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(124, 92, 191, 0.12);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.hero__search-wrap:focus-within { border-color: var(--primary); box-shadow: 0 8px 40px rgba(124, 92, 191, 0.2); }

.hero__search-input {
  flex: 1;
  padding: 18px 24px;
  border: none;
  font-size: 1rem;
  font-family: var(--font);
  outline: none;
  background: transparent;
}

.hero__search-btn {
  padding: 18px 36px;
  background: var(--primary);
  color: white;
  border: none;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
  border-radius: 0 var(--radius-full) var(--radius-full) 0;
  margin: -2px -2px -2px 0;
}
.hero__search-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.hero__search-btn:hover { background: var(--primary-dark); }

.hero__search-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  z-index: 10;
  display: none;
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  align-items: center;
}

.hero__tag-label {
  font-size: 0.85rem;
  color: var(--text-light);
}

.hero__tag {
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: all var(--transition);
}
.hero__tag:hover { background: var(--primary-50); border-color: var(--primary-200); color: var(--primary); }

/* Trust badges row */
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(124, 92, 191, 0.1);
}
.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-light);
  font-weight: 500;
}
.hero__trust-icon {
  font-size: 0.9rem;
}

/* ============================================================================
   STATS BAR
   ============================================================================ */
.stats-bar {
  background: var(--primary-900);
  color: white;
  padding: 64px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.stat-card {
  text-align: center;
  padding: 36px 20px;
  background: var(--primary-900);
}

.stat-heading {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--rose);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 8px;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  font-family: var(--font-display);
  color: white;
}

.stat-desc {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 4px;
}

/* ============================================================================
   CARDS
   ============================================================================ */
.card {
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  position: relative;
  margin-bottom: 20px;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--rose) 100%);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.card__title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

.card__desc {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 16px;
}

.card__badge {
  display: inline-block;
  padding: 2px 10px;
  background: var(--primary-50);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.card--sticky { position: sticky; top: 80px; }

/* ============================================================================
   LISTING CARDS
   ============================================================================ */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 20px;
}

.listings-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.listing-card {
  display: block;
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.listing-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary), var(--rose));
  opacity: 0;
  transition: opacity var(--transition);
}

.listing-card:hover {
  border-color: var(--primary-200);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.listing-card:hover::before { opacity: 1; }

.listing-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 12px;
}

.listing-card__name {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.listing-card__location {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.listing-card__location::before {
  content: '\25C9';
  font-size: 0.6rem;
  color: var(--rose);
}

.listing-card__rating { text-align: right; flex-shrink: 0; }

.listing-card__score {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
}

.listing-card__reviews {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.listing-card__services {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.listing-card__tag {
  padding: 3px 10px;
  background: var(--primary-50);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 500;
  border-radius: var(--radius-full);
}

.listing-card__tag--more {
  background: var(--bg-alt);
  color: var(--text-light);
}

.listing-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
}

.listing-card__phone {
  font-size: 0.85rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 4px;
}
.listing-card__phone::before {
  content: '\260E';
  font-size: 0.85rem;
  color: var(--text-muted);
}

.listing-card__website {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
}

.listing-card__arrow {
  font-size: 1.2rem;
  color: var(--primary);
  transition: transform var(--transition);
}
.listing-card:hover .listing-card__arrow { transform: translateX(4px); }

/* ============================================================================
   LISTING DETAIL
   ============================================================================ */

/* Clinic breadcrumb */
.clinic-breadcrumb {
  padding: 16px 0;
  background: var(--bg);
}

/* Clinic name card — white card with gradient top border */
.clinic-namecard-wrap {
  padding: 0 0 24px;
  background: var(--bg);
}
.clinic-namecard {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 32px;
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  position: relative;
}
.clinic-namecard::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--rose));
}
.clinic-namecard__name {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  letter-spacing: -0.01em;
}
.clinic-namecard__address {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-top: 6px;
}
.clinic-namecard__rating {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.clinic-namecard__score {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.clinic-namecard__stars { color: var(--gold); font-size: 0.9rem; }
.clinic-namecard__review-count { font-size: 0.8rem; color: var(--text-muted); }

/* Clinic map section */
.clinic-map-wrap {
  padding-bottom: 28px;
  background: var(--bg);
}

/* Clinic section — heading with accent underline */
.clinic-section {
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border-light);
}
.clinic-section:last-child { border-bottom: none; margin-bottom: 0; }
.clinic-section__title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
  padding-bottom: 10px;
  position: relative;
}
.clinic-section__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--rose));
  border-radius: 2px;
}
.clinic-section__empty {
  font-size: 0.95rem;
  color: var(--text-light);
  font-style: italic;
}

/* Clinic details — label/value pairs in main column */
.clinic-details { display: flex; flex-direction: column; }
.clinic-details__row {
  display: flex;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
  gap: 24px;
}
.clinic-details__row:last-child { border: none; }
.clinic-details__label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  min-width: 100px;
  flex-shrink: 0;
}
.clinic-details__value {
  font-size: 0.95rem;
  color: var(--text-secondary);
}
.clinic-details__value--link { color: var(--primary); }
.clinic-details__row--hours { align-items: flex-start; }
.clinic-details__hours { display: flex; flex-direction: column; gap: 4px; }
.clinic-details__hour-row { display: flex; gap: 16px; min-width: 260px; }
.clinic-details__day { font-size: 0.85rem; color: var(--text-secondary); min-width: 90px; }
.clinic-details__time { font-size: 0.85rem; color: var(--text-secondary); }
.clinic-details__time--closed { color: var(--text-muted); }

/* Claim banner — full width CTA */
.claim-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 28px 36px;
  background: var(--primary-50);
  border: 1px solid var(--primary-100);
  border-radius: var(--radius-lg);
  margin: 8px 0 40px;
}
.claim-banner__text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.claim-banner__text strong { color: var(--text); }

/* Contact form subtitle */
.clinic-contact-sub {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 16px;
}

.listing-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 28px;
  align-items: start;
}

.listing-main { min-width: 0; }

/* Contact grid (legacy, kept for compatibility) */
.contact-grid { display: flex; flex-direction: column; gap: 12px; }
.contact-item { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--border-light); }
.contact-item:last-child { border: none; }
.contact-item__label { font-size: 0.85rem; color: var(--text-light); font-weight: 500; }
.contact-item__value { font-size: 0.9rem; color: var(--text); font-weight: 600; }
.contact-item__value--link { color: var(--primary); }

/* Services list */
.services-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.service-tag {
  padding: 6px 14px;
  background: var(--primary-50);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: var(--radius-full);
}
.service-badges { display: flex; gap: 8px; }
.service-badge {
  padding: 4px 12px;
  background: var(--rose-light);
  color: var(--rose-dark);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-full);
}

/* Hours grid */
.hours-grid { display: flex; flex-direction: column; }
.hours-grid__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
}
.hours-grid__row:last-child { border: none; }
.hours-grid__day { font-weight: 600; color: var(--text); font-size: 0.9rem; }
.hours-grid__time { color: var(--text-secondary); font-size: 0.9rem; }
.hours-grid__row--closed .hours-grid__time { color: var(--text-muted); }

/* Pricing table */
.pricing-table { width: 100%; border-collapse: collapse; }
.pricing-table th { text-align: left; font-size: 0.8rem; color: var(--text-light); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; padding: 8px 0; border-bottom: 2px solid var(--border); }
.pricing-table td { padding: 10px 0; font-size: 0.9rem; border-bottom: 1px solid var(--border-light); }

/* Reviews */
.reviews-list { display: flex; flex-direction: column; gap: 16px; }
.review-item { padding-bottom: 16px; border-bottom: 1px solid var(--border-light); }
.review-item:last-child { border: none; padding: 0; }
.review-item__header { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.review-item__name { font-weight: 600; color: var(--text); }
.review-item__stars { color: var(--gold); font-size: 0.85rem; }
.review-item__date { font-size: 0.8rem; color: var(--text-muted); }
.review-item__text { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.6; }

/* Related section */
.related-section { margin-top: 48px; }

/* Stars */
.star { color: var(--border); }
.star--filled { color: var(--gold); }

/* ============================================================================
   BADGES
   ============================================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge--verified { background: var(--primary-100); color: var(--primary); }
.badge--premium { background: linear-gradient(135deg, var(--gold), var(--rose)); color: white; }

/* ============================================================================
   STATE & CITY CARDS
   ============================================================================ */
.states-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}
.states-grid--full { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }

.state-card {
  display: flex;
  flex-direction: column;
  padding: 22px 24px;
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-left: 3px solid var(--primary-200);
  border-radius: var(--radius);
  transition: all var(--transition);
  position: relative;
  gap: 6px;
}
.state-card:hover { border-color: var(--primary-200); border-left-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.state-card__name { font-weight: 800; color: var(--text); font-size: 1.08rem; display: flex; justify-content: space-between; align-items: center; }
.state-card__name::after { content: '\2192'; color: var(--text-muted); font-size: 0.95rem; transition: transform var(--transition); }
.state-card:hover .state-card__name::after { transform: translateX(3px); color: var(--primary); }
.state-card__count { font-size: 0.85rem; color: var(--primary); font-weight: 600; }

.cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.city-card {
  display: flex;
  flex-direction: column;
  padding: 16px 20px;
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.city-card:hover { border-color: var(--primary-200); box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.city-card__name { font-weight: 700; color: var(--text); font-size: 1rem; display: flex; justify-content: space-between; align-items: center; }
.city-card__name::after { content: '\203A'; color: var(--text-muted); transition: transform var(--transition); }
.city-card:hover .city-card__name::after { transform: translateX(3px); color: var(--primary); }
.city-card__count { font-size: 0.8rem; color: var(--text-light); margin-top: 2px; }

/* ============================================================================
   STEPS / HOW IT WORKS
   ============================================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step-card {
  text-align: center;
  padding: 36px 24px;
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.step-card__number {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--rose));
  color: white;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  border-radius: 50%;
  margin-bottom: 16px;
}

.step-card__title { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.step-card__desc { font-size: 0.9rem; color: var(--text-light); line-height: 1.5; }

/* ============================================================================
   SERVICES GRID
   ============================================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
}

.service-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--rose));
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover { border-color: var(--primary-200); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.service-card:hover::before { opacity: 1; }
.service-card__icon { font-size: 1.8rem; margin-bottom: 12px; }
.service-card__name { font-size: 1.15rem; font-weight: 800; color: var(--text); }
.service-card__full { font-size: 0.85rem; color: var(--text-light); margin-top: 4px; }
.service-card__desc { font-size: 0.85rem; color: var(--text-light); margin-top: 8px; line-height: 1.5; }
.service-card__arrow { font-size: 1.2rem; color: var(--primary); margin-top: auto; padding-top: 12px; transition: transform var(--transition); }
.service-card:hover .service-card__arrow { transform: translateX(4px); }

/* ============================================================================
   BLOG
   ============================================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}
.blog-grid--full { grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); }

.blog-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.blog-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--rose));
  opacity: 0;
  transition: opacity var(--transition);
}
.blog-card:hover { border-color: var(--primary-200); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.blog-card:hover::before { opacity: 1; }

.blog-card__meta { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.blog-card__tag { padding: 2px 10px; background: var(--primary-50); color: var(--primary); font-size: 0.75rem; font-weight: 600; border-radius: var(--radius-full); }
.blog-card__date { font-size: 0.8rem; color: var(--text-muted); }
.blog-card__title { font-size: 1.2rem; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.blog-card__excerpt { font-size: 0.92rem; color: var(--text-light); line-height: 1.5; margin-bottom: 12px; }
.blog-card__read { font-size: 0.85rem; font-weight: 600; color: var(--primary); margin-top: auto; }

/* Article page */
.article-page { padding: 40px 0 80px; }
.article-header { margin-bottom: 48px; padding-bottom: 32px; border-bottom: 1px solid var(--border-light); }
.article-header__title { font-size: 2.2rem; font-weight: 800; margin-bottom: 16px; line-height: 1.2; }
.article-header__excerpt { font-size: 1.1rem; color: var(--text-secondary); line-height: 1.6; }
.article-header__date { font-size: 0.85rem; color: var(--text-muted); display: block; margin-top: 16px; }

.article-content { line-height: 1.8; color: var(--text-secondary); font-size: 1.02rem; }
.article-content h2 { font-size: 1.4rem; margin: 40px 0 16px; padding-bottom: 8px; border-bottom: 1px solid var(--border-light); color: var(--text); }
.article-content h3 { font-size: 1.15rem; margin: 28px 0 10px; color: var(--text); }
.article-content p { margin-bottom: 18px; }
.article-content ul, .article-content ol { margin-bottom: 18px; padding-left: 24px; }
.article-content li { margin-bottom: 8px; }
.article-content li::marker { color: var(--primary); }
.article-content a { color: var(--primary); text-decoration: underline; text-underline-offset: 2px; }
.article-content a:hover { color: var(--primary-dark); }
.article-content blockquote { border-left: 4px solid var(--primary); padding: 16px 24px; margin: 24px 0; background: var(--primary-50); border-radius: 0 var(--radius) var(--radius) 0; font-style: italic; }
.article-content strong { color: var(--text); }
.article-content table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 0.9rem; }
.article-content table th { text-align: left; padding: 10px 12px; background: var(--bg-subtle); border: 1px solid var(--border-light); font-weight: 600; color: var(--text); }
.article-content table td { padding: 10px 12px; border: 1px solid var(--border-light); }
.article-content table tr:hover td { background: var(--bg-subtle); }

.article-related { margin-top: 60px; padding-top: 40px; border-top: 1px solid var(--border); }

/* ============================================================================
   FAQ
   ============================================================================ */
.faq-list { display: flex; flex-direction: column; gap: 8px; }

.faq-item {
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item[open] { border-color: var(--primary-200); }

.faq-item__question {
  padding: 18px 24px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item__question::-webkit-details-marker { display: none; }
.faq-item__question::after { content: '+'; font-size: 1.3rem; color: var(--primary); transition: transform var(--transition); }
.faq-item[open] .faq-item__question::after { content: '-'; }

.faq-item__answer {
  padding: 0 24px 18px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================================================
   CTA SECTION
   ============================================================================ */
.cta-section { padding: 80px 0; }

.cta-card {
  background: linear-gradient(135deg, var(--primary-900) 0%, var(--primary-dark) 100%);
  padding: 60px 40px;
  border-radius: var(--radius-xl);
  text-align: center;
  color: white;
}

.cta-card__title { font-size: 1.8rem; font-weight: 800; margin-bottom: 12px; color: white; }
.cta-card__desc { font-size: 1.05rem; color: rgba(255, 255, 255, 0.7); margin-bottom: 24px; }

/* ============================================================================
   PAGE HEADER
   ============================================================================ */
.page-header {
  background: var(--primary-900);
  padding: 64px 0 56px;
}
.page-header--compact { padding: 24px 0; background: var(--primary-900); }
.page-header__accent {
  display: block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--rose) 100%);
  border-radius: 2px;
  margin-bottom: 16px;
}
.page-header__label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-200);
  margin-bottom: 16px;
}
.page-header__label::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--rose) 100%);
  border-radius: 2px;
}
.page-header__highlight {
  font-style: italic;
  background: linear-gradient(135deg, var(--rose) 0%, var(--primary-200) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-header__title {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff 0%, var(--primary-200) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-header__sub { font-size: 1.05rem; color: rgba(255, 255, 255, 0.7); }

/* Breadcrumb — dark bg variant (page headers) */
.breadcrumb {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 12px;
}
.breadcrumb a { color: rgba(255, 255, 255, 0.65); }
.breadcrumb a:hover { color: #ffffff; }

/* Breadcrumb — light bg variant (clinic pages) */
.clinic-breadcrumb .breadcrumb { color: var(--text-muted); margin-bottom: 0; }
.clinic-breadcrumb .breadcrumb a { color: var(--text-light); }
.clinic-breadcrumb .breadcrumb a:hover { color: var(--primary); }

/* ============================================================================
   SEARCH LAYOUT
   ============================================================================ */
.search-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
}

.search-sidebar { position: sticky; top: 80px; }
.search-filters { display: flex; flex-direction: column; gap: 16px; }

/* ============================================================================
   MAP
   ============================================================================ */
.map-container { height: 400px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); background: var(--bg-alt); }
.map-container--detail { height: 300px; }

/* ============================================================================
   FORMS
   ============================================================================ */
.form-group { margin-bottom: 16px; }

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--transition);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-100);
}

.form-textarea { resize: vertical; min-height: 80px; }
.form-textarea--lg { min-height: 300px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text);
  cursor: pointer;
  margin-bottom: 8px;
}

.form-checkbox input[type="checkbox"] { accent-color: var(--primary); }

.form-disclaimer { font-size: 0.8rem; color: var(--text-muted); margin-top: 8px; text-align: center; }
.form-hint { font-size: 0.82rem; color: var(--text-light); margin-bottom: 12px; }

.form-success {
  padding: 20px;
  background: var(--primary-50);
  border: 1px solid var(--primary-200);
  border-radius: var(--radius);
  text-align: center;
  color: var(--primary);
  font-weight: 500;
}

.form-section-title { font-size: 1rem; font-weight: 700; margin: 24px 0 8px; }
.form-actions { display: flex; gap: 12px; margin-top: 24px; }

/* ============================================================================
   BUTTONS
   ============================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn--primary { background: var(--primary); color: white; }
.btn--primary:hover { background: var(--primary-dark); color: white; }

.btn--outline { background: transparent; color: var(--primary); border: 1px solid var(--primary); }
.btn--outline:hover { background: var(--primary-50); }

.btn--white { background: white; color: var(--primary); }
.btn--white:hover { background: var(--primary-50); color: var(--primary-dark); }

.btn--danger { background: #e53e3e; color: white; }
.btn--danger:hover { background: #c53030; color: white; }

.btn--full { width: 100%; }
.btn--lg { padding: 14px 32px; font-size: 1rem; }
.btn--sm { padding: 6px 16px; font-size: 0.82rem; }
.btn--xs { padding: 4px 10px; font-size: 0.75rem; }

/* ============================================================================
   MODAL
   ============================================================================ */
.modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; }
.modal__overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.5); }
.modal__content {
  position: relative;
  background: var(--bg);
  border-radius: var(--radius-xl);
  padding: 36px;
  max-width: 480px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}
.modal__close {
  position: absolute;
  top: 12px; right: 16px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
}
.modal__title { font-size: 1.3rem; font-weight: 700; margin-bottom: 20px; }

/* Star rating input */
.star-rating { display: flex; gap: 4px; }
.star-rating__star {
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--border);
  cursor: pointer;
  transition: color var(--transition);
  padding: 0;
}
.star-rating__star--active,
.star-rating__star:hover { color: var(--gold); }

/* ============================================================================
   ALERTS
   ============================================================================ */
.alert {
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  margin-bottom: 16px;
}
.alert--error { background: #fee; border: 1px solid #fcc; color: #c53030; }
.alert--success { background: var(--primary-50); border: 1px solid var(--primary-200); color: var(--primary); }

/* ============================================================================
   AUTH PAGES
   ============================================================================ */
.auth-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 40px 20px;
}

.auth-card {
  max-width: 400px;
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.auth-card__title { font-size: 1.5rem; font-weight: 800; margin-bottom: 8px; text-align: center; }
.auth-card__desc { text-align: center; font-size: 0.9rem; color: var(--text-light); margin-bottom: 24px; }
.auth-card__link { text-align: center; font-size: 0.85rem; margin-top: 16px; color: var(--text-light); }
.auth-card__link a { color: var(--primary); }

/* ============================================================================
   PAGINATION
   ============================================================================ */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}
.pagination__link {
  padding: 8px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 500;
}
.pagination__link:hover { border-color: var(--primary); background: var(--primary-50); }
.pagination__info { font-size: 0.85rem; color: var(--text-light); }

/* ============================================================================
   EMPTY STATE
   ============================================================================ */
.empty-state {
  text-align: center;
  padding: 60px 20px;
}
.empty-state__icon { font-size: 3rem; margin-bottom: 16px; display: block; opacity: 0.6; }
.empty-state h2 { font-size: 1.3rem; margin-bottom: 8px; }
.empty-state p { color: var(--text-light); }

/* Listing description */
.listing-description { line-height: 1.7; color: var(--text-secondary); font-size: 1rem; }

/* ============================================================================
   ERROR PAGES
   ============================================================================ */
.error-page {
  text-align: center;
  padding: 100px 20px;
}
.error-page__code {
  font-size: 6rem;
  font-weight: 800;
  font-family: var(--font-display);
  background: linear-gradient(135deg, var(--primary-200) 0%, var(--rose-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}
.error-page__title { font-size: 1.5rem; margin-bottom: 8px; }
.error-page__desc { color: var(--text-light); margin-bottom: 24px; max-width: 400px; margin-left: auto; margin-right: auto; }
.error-page__actions { display: flex; gap: 12px; justify-content: center; }
.error-page__icon { font-size: 3rem; margin-bottom: 12px; display: block; }

/* ============================================================================
   CONTENT BLOCK (about, privacy, terms)
   ============================================================================ */
.content-block { line-height: 1.7; color: var(--text-secondary); }
.content-block h2 { font-size: 1.4rem; margin: 32px 0 12px; color: var(--text); position: relative; padding-left: 16px; }
.content-block h2::before { content: ''; position: absolute; left: 0; top: 4px; bottom: 4px; width: 3px; background: linear-gradient(180deg, var(--primary), var(--rose)); border-radius: 2px; }
.content-block p { margin-bottom: 16px; }
.content-block ul { margin-bottom: 16px; padding-left: 20px; }
.content-block li { margin-bottom: 6px; }
.content-block li::marker { color: var(--primary); }
.content-block a { color: var(--primary); }

/* About page feature grid */
.about-features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin: 32px 0;
}
.about-feature {
  padding: 24px;
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  text-align: center;
}
.about-feature__icon { font-size: 2rem; margin-bottom: 12px; display: block; }
.about-feature__title { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.about-feature__desc { font-size: 0.85rem; color: var(--text-light); line-height: 1.5; }

/* ============================================================================
   ADMIN PANEL
   ============================================================================ */
.admin-page { padding: 32px 0 60px; }

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.admin-header__title { font-size: 1.5rem; font-weight: 800; }

.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}

.admin-stat {
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
}
.admin-stat__number { font-size: 1.5rem; font-weight: 800; color: var(--primary); font-family: var(--font-display); }
.admin-stat__label { font-size: 0.78rem; color: var(--text-light); margin-top: 2px; }

.admin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.admin-nav__item {
  padding: 10px 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  transition: all var(--transition);
}
.admin-nav__item:hover { border-color: var(--primary); background: var(--primary-50); color: var(--primary); }
.admin-nav__item--premium { border-color: var(--gold); background: var(--champagne); color: var(--gold); }
.admin-nav__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  background: var(--rose);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 50%;
  margin-left: 6px;
}

.admin-section { margin-top: 28px; }
.admin-section__title { font-size: 1.15rem; font-weight: 700; margin-bottom: 16px; }

.admin-filters {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.admin-filters .form-input,
.admin-filters .form-select { width: auto; min-width: 160px; }

.admin-form { margin-top: 16px; }
.admin-delete { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border-light); }

/* Admin table */
.admin-table-wrap { overflow-x: auto; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.admin-table th { text-align: left; font-weight: 600; color: var(--text-light); padding: 10px 12px; border-bottom: 2px solid var(--border); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.5px; }
.admin-table td { padding: 10px 12px; border-bottom: 1px solid var(--border-light); color: var(--text-secondary); }
.admin-table tr:hover td { background: var(--bg-subtle); }
.admin-table__truncate { max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.admin-badge { display: inline-block; padding: 2px 8px; font-size: 0.7rem; font-weight: 600; border-radius: var(--radius-full); text-transform: uppercase; }
.admin-badge--verified { background: var(--primary-100); color: var(--primary); }
.admin-badge--premium { background: var(--champagne); color: var(--gold); }
.admin-badge--claimed { background: var(--rose-light); color: var(--rose-dark); }
.admin-badge--pending { background: #fff3cd; color: #856404; }
.admin-badge--rejected { background: #fee; color: #c53030; }

/* Admin log */
.admin-log { display: flex; flex-direction: column; gap: 4px; }
.admin-log__entry { display: flex; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--border-light); font-size: 0.82rem; }
.admin-log__time { color: var(--text-muted); flex-shrink: 0; width: 160px; }
.admin-log__action { font-weight: 500; color: var(--text); }
.admin-log__detail { color: var(--text-light); }

/* Portal */
.portal-clinic-name { margin-bottom: 24px; }
.portal-clinic-name h2 { font-size: 1.3rem; font-weight: 700; }
.portal-clinic-name p { color: var(--text-light); font-size: 0.9rem; }

.text-muted { color: var(--text-muted); }

/* ============================================================================
   FOOTER
   ============================================================================ */
/* Newsletter */
.newsletter {
  background: linear-gradient(135deg, var(--primary-50) 0%, var(--rose-light) 50%, var(--champagne) 100%);
  padding: 48px 0;
  text-align: center;
}
.newsletter__title { font-size: 1.5rem; font-weight: 800; margin-bottom: 8px; }
.newsletter__desc { font-size: 0.95rem; color: var(--text-secondary); margin-bottom: 20px; max-width: 460px; margin-left: auto; margin-right: auto; }
.newsletter__form {
  display: flex;
  max-width: 440px;
  margin: 0 auto;
  gap: 0;
  border-radius: var(--radius-full);
  overflow: hidden;
  border: 1px solid var(--border);
  background: white;
}
.newsletter__input {
  flex: 1;
  padding: 14px 20px;
  border: none;
  font-family: var(--font);
  font-size: 0.9rem;
  outline: none;
  background: transparent;
}
.newsletter__btn {
  padding: 14px 24px;
  background: var(--primary);
  color: white;
  border: none;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
  white-space: nowrap;
}
.newsletter__btn:hover { background: var(--primary-dark); }
.newsletter__note { font-size: 0.78rem; color: var(--text-muted); margin-top: 10px; }

.footer {
  background: var(--primary-900);
  color: rgba(255, 255, 255, 0.6);
  padding: 60px 0 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: white;
  margin-bottom: 12px;
}
.footer__logo:hover { color: var(--primary-200); }
.footer .nav__logo-icon { width: 32px; height: 32px; border-radius: 8px; }
.footer .nav__logo-icon svg { width: 20px; height: 20px; }

.footer__desc { font-size: 0.9rem; line-height: 1.6; max-width: 280px; }

.footer__heading {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--rose);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.footer__col { display: flex; flex-direction: column; gap: 8px; }

.footer__link {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
}
.footer__link:hover { color: white; }

.footer__bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 0.82rem;
}

/* ============================================================================
   RESPONSIVE
   ============================================================================ */
@media (max-width: 768px) {
  .nav__toggle { display: flex; }
  .nav__logo { font-size: 1.05rem; gap: 8px; }
  .nav__logo-icon { width: 32px; height: 32px; border-radius: 8px; }
  .nav__logo-icon svg { width: 20px; height: 20px; }
  .nav__links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 16px;
    box-shadow: var(--shadow-lg);
  }
  .nav__links--open { display: flex; }
  .nav__link--cta { margin-left: 0; margin-top: 8px; text-align: center; }

  .hero__title { font-size: 2rem; }
  .hero__subtitle { font-size: 1rem; }
  .hero__search-wrap { flex-direction: column; border-radius: var(--radius-lg); }
  .hero__search-btn { padding: 14px; border-radius: 0 0 var(--radius-lg) var(--radius-lg); margin: 0 -2px -2px; }
  .hero__trust { gap: 10px; }
  .hero__trust-item { font-size: 0.75rem; }
  .newsletter__form { flex-direction: column; border-radius: var(--radius-lg); }
  .newsletter__btn { border-radius: 0; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .listings-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .blog-grid, .blog-grid--full { grid-template-columns: 1fr; }

  .clinic-namecard { flex-direction: column; align-items: flex-start; gap: 16px; padding: 20px 24px; }
  .listing-grid { grid-template-columns: 1fr; }
  .listing-sidebar { order: 0; }

  .search-layout { grid-template-columns: 1fr; }
  .search-sidebar { position: static; }

  .footer__grid { grid-template-columns: 1fr 1fr; }

  .states-grid { grid-template-columns: repeat(2, 1fr); }
  .cities-grid { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }

  .admin-stats { grid-template-columns: repeat(2, 1fr); }
  .admin-filters { flex-direction: column; }
  .admin-filters .form-input,
  .admin-filters .form-select { width: 100%; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section { padding: 48px 0; }
  .hero { padding: 48px 0 64px; }
  .hero__title { font-size: 1.7rem; letter-spacing: -0.01em; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-card { padding: 24px 12px; }
  .stat-number { font-size: 1.6rem; }
  .footer__grid { grid-template-columns: 1fr; }
}
