/* =============================================
   SAF HOSPITAL — Inspired by Mayo Clinic Design
   ============================================= */

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

:root {
  /* SAF Hospital brand: magenta ribbon + gray wordmark */
  --blue-dark:    #9c0b5c;
  --blue-primary: #d40f7d;
  --blue-light:   #fdeef6;
  --blue-mid:     #e13a97;
  --teal:         #6d6e71;
  --text-dark:    #1a1a2e;
  --text-mid:     #3d4354;
  --text-light:   #6b7280;
  --border:       #dde3ec;
  --bg-light:     #f7f9fc;
  --bg-white:     #ffffff;
  --font-serif:   'Merriweather', Georgia, serif;
  --font-sans:    'Open Sans', system-ui, sans-serif;
  --radius:       6px;
  --radius-lg:    12px;
  --shadow-sm:    0 1px 3px rgba(0,0,0,.08);
  --shadow-md:    0 4px 16px rgba(0,0,0,.1);
  --shadow-lg:    0 8px 32px rgba(0,0,0,.14);
  --transition:   0.2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--bg-white);
}

a { color: var(--blue-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
address { font-style: normal; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  padding: 12px 24px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary     { background: var(--blue-primary); color: #fff; border-color: var(--blue-primary); }
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }

.btn-secondary   { background: transparent; color: var(--blue-primary); border-color: var(--blue-primary); }
.btn-secondary:hover { background: var(--blue-primary); color: #fff; }

.btn-outline     { background: transparent; color: var(--blue-primary); border-color: var(--blue-primary); }
.btn-outline:hover { background: var(--blue-primary); color: #fff; }

.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.btn-outline-white:hover { background: rgba(255,255,255,0.15); }

.btn-white       { background: #fff; color: var(--blue-primary); border-color: #fff; }
.btn-white:hover { background: var(--blue-light); }

.btn-link        { background: none; border: none; padding: 0; color: var(--blue-primary); font-weight: 600; }
.btn-link:hover  { color: var(--blue-dark); }

.btn-lg          { font-size: 16px; padding: 15px 32px; }
.btn-sm          { font-size: 13px; padding: 9px 18px; }
.btn-full        { width: 100%; }

/* --- SECTION HEADERS --- */
.section-header  { text-align: center; margin-bottom: 48px; }
.section-header--left { text-align: left; }

.section-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue-primary);
  margin-bottom: 10px;
}

.section-header h2,
.section-header--left h2 {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 14px;
}

.section-sub {
  font-size: 17px;
  color: var(--text-light);
  max-width: 640px;
  margin: 0 auto;
}

/* =============================================
   UTILITY BAR
   ============================================= */
.utility-bar {
  background: var(--blue-dark);
  padding: 8px 0;
}
.utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.utility-links {
  display: flex;
  gap: 20px;
}
.utility-links a,
.utility-right a {
  color: rgba(255,255,255,.8);
  font-size: 13px;
  font-weight: 400;
}
.utility-links a:hover,
.utility-right a:hover {
  color: #fff;
  text-decoration: none;
}
.utility-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
/* Language Selector */
.lang-selector {
  position: relative;
}
.lang-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 20px;
  color: rgba(255,255,255,.9);
  font-size: 13px;
  font-family: var(--font-sans);
  font-weight: 600;
  padding: 5px 12px;
  cursor: pointer;
  transition: background var(--transition);
  white-space: nowrap;
}
.lang-btn:hover { background: rgba(255,255,255,.25); }
.lang-flag { font-size: 15px; line-height: 1; }
.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  list-style: none;
  overflow: hidden;
  min-width: 160px;
  z-index: 300;
}
.lang-dropdown.open { display: block; }
.lang-option {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px 16px;
  font-size: 14px;
  font-family: var(--font-sans);
  font-weight: 500;
  color: var(--text-mid);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background var(--transition), color var(--transition);
}
.lang-option:hover { background: var(--blue-light); color: var(--blue-primary); }
.lang-option.active {
  background: var(--blue-light);
  color: var(--blue-primary);
  font-weight: 700;
}

.search-form {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,.15);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.2);
}
.search-form input {
  background: none;
  border: none;
  color: #fff;
  padding: 5px 14px;
  font-size: 13px;
  width: 200px;
  outline: none;
}
.search-form input::placeholder { color: rgba(255,255,255,.6); }
.search-form > button {
  background: none;
  border: none;
  color: rgba(255,255,255,.8);
  padding: 6px 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
}
.search-form > button:hover { color: #fff; }

/* --- GLOBAL SEARCH RESULTS --- */
.search-form,
.hl-search-form { position: relative; }
/* the pill uses overflow:hidden, which would clip the results panel */
.search-form { overflow: visible; }

.search-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 400px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  z-index: 400;
  max-height: 420px;
  overflow-y: auto;
  text-align: left;
}
.hl-search-form .search-panel { left: 0; right: auto; width: 100%; }

.search-result {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 11px 14px;
  background: none;
  border: none;
  border-bottom: 1px solid var(--bg-light);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text-mid);
  text-align: left;
  transition: background var(--transition);
}
.search-result:last-child { border-bottom: none; }
.search-result:hover,
.search-result.active { background: var(--blue-light); }

.search-result mark {
  background: none;
  color: var(--blue-primary);
  font-weight: 700;
}
.sr-text {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.sr-section {
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-light);
}
.search-empty {
  padding: 14px 16px;
  font-size: 14px;
  color: var(--text-light);
}

.search-flash {
  outline: 3px solid var(--blue-primary);
  outline-offset: 4px;
  border-radius: 4px;
}

@media (max-width: 520px) {
  .search-panel { width: 300px; }
}

/* =============================================
   CHAT WIDGET
   ============================================= */
.chat-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  font-family: var(--font-sans);
}
.chat-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  background: var(--blue-primary);
  color: #fff;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  transition: background var(--transition), transform var(--transition);
}
.chat-toggle:hover { background: var(--blue-dark); transform: scale(1.06); }
.chat-icon-close { display: none; }
.chat-widget.open .chat-icon-close { display: block; }
.chat-widget.open .chat-icon-open { display: none; }

.chat-panel {
  position: absolute;
  right: 0;
  bottom: 74px;
  width: 350px;
  height: 480px;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 48px rgba(0,0,0,.22);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.chat-panel[hidden] { display: none; }

.chat-header {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-primary) 100%);
  color: #fff;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.chat-header-info { display: flex; flex-direction: column; }
.chat-header-name { font-weight: 700; font-size: 15px; }
.chat-header-status { display: flex; align-items: center; gap: 6px; font-size: 12px; opacity: .9; }
.chat-status-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #4ade80;
  display: inline-block;
}
.chat-header-wa {
  color: #fff;
  background: #25d366;
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.chat-header-wa:hover { background: #1ebe5d; text-decoration: none; }

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--bg-light);
}
.chat-msg {
  max-width: 82%;
  padding: 9px 13px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.45;
  white-space: pre-line;
}
.chat-msg--bot {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text-mid);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.chat-msg--user {
  background: var(--blue-primary);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.chat-typing span {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--text-light);
  margin: 0 2px;
  animation: chat-blink 1s infinite;
}
.chat-typing span:nth-child(2) { animation-delay: .2s; }
.chat-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes chat-blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }

.chat-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 14px 10px;
  background: var(--bg-light);
}
.chat-choices:empty { padding: 0; }
.chat-choice {
  border: 1px solid var(--blue-primary);
  color: var(--blue-primary);
  background: #fff;
  border-radius: 16px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.chat-choice:hover { background: var(--blue-primary); color: #fff; }

.chat-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid var(--border);
  background: #fff;
}
.chat-input-row input {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 9px 14px;
  font-size: 14px;
  font-family: var(--font-sans);
  outline: none;
}
.chat-input-row input:focus { border-color: var(--blue-primary); }
.chat-input-row button {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: none;
  background: var(--blue-primary);
  color: #fff;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition);
}
.chat-input-row button:hover { background: var(--blue-dark); }

@media (max-width: 480px) {
  .chat-panel { width: calc(100vw - 44px); height: 70vh; }
}

/* =============================================
   MAIN HEADER
   ============================================= */
.main-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none !important;
}
.logo--white .logo-name,
.logo--white .logo-tagline { color: #fff; }

.logo-text { display: flex; flex-direction: column; }
.logo-img {
  height: 58px;
  width: auto;
  display: block;
}
/* white chip so the logo reads well on the dark footer */
.logo-chip {
  display: inline-block;
  background: #fff;
  border-radius: 8px;
  padding: 6px 12px;
}
.logo-chip .logo-img { height: 48px; }

.logo-name {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: #6d6e71; /* gray wordmark, matching the SAF Hospital logo */
  line-height: 1.1;
}
.logo-tagline {
  font-size: 11px;
  color: var(--text-light);
  letter-spacing: .04em;
}

/* Main Nav */
.main-nav { flex: 1; display: flex; justify-content: center; }
.main-nav ul { display: flex; list-style: none; gap: 0; }
.nav-item { position: relative; }
.nav-item > a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 16px;
  height: 72px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  border-bottom: 3px solid transparent;
  transition: color var(--transition), border-color var(--transition);
  white-space: nowrap;
  text-decoration: none;
}
.nav-item > a:hover,
.nav-item:hover > a {
  color: var(--blue-primary);
  border-bottom-color: var(--blue-primary);
}
.chevron { font-size: 12px; margin-top: 1px; }

/* Dropdown */
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--blue-primary);
  box-shadow: var(--shadow-lg);
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 24px;
  min-width: 480px;
  display: none;
  gap: 32px;
  z-index: 200;
}
.nav-item:hover .dropdown { display: flex; }
.dropdown-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 12px;
}
.dropdown-col a {
  display: block;
  font-size: 14px;
  color: var(--text-mid);
  padding: 5px 0;
  transition: color var(--transition);
}
.dropdown-col a:hover { color: var(--blue-primary); text-decoration: none; }

.header-cta { flex-shrink: 0; }

/* Mobile toggle */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #5b0736 0%, #9c0b5c 35%, #d40f7d 70%, #a30c60 100%);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(60,5,38,.75) 0%, rgba(60,5,38,.4) 60%, transparent 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 24px 60px;
}
.hero-text { max-width: 600px; }
.hero-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  margin-bottom: 14px;
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 18px;
}
.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,.85);
  margin-bottom: 32px;
  max-width: 500px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero Stats Bar */
.hero-stats {
  position: relative;
  z-index: 2;
  background: rgba(60, 5, 38, .88);
  backdrop-filter: blur(4px);
}
.hero-stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 28px 24px;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 40px;
  text-align: center;
}
.stat-number {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,.7);
  margin-top: 4px;
  white-space: nowrap;
}
.stat-divider {
  width: 1px;
  height: 50px;
  background: rgba(255,255,255,.2);
}

/* =============================================
   APPOINTMENT BANNER
   ============================================= */
.appointment-banner {
  background: var(--blue-primary);
  padding: 40px 0;
}
.appt-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.appt-text h2 {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.appt-text p {
  color: rgba(255,255,255,.85);
  font-size: 15px;
  max-width: 500px;
}
.appt-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}
.appt-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}
.phone-label { display: block; font-size: 12px; color: rgba(255,255,255,.7); }
.phone-number {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}
.phone-number:hover { text-decoration: none; opacity: .85; }

/* =============================================
   SERVICES
   ============================================= */
.services {
  padding: 80px 0;
  background: var(--bg-light);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow var(--transition), transform var(--transition);
  text-decoration: none !important;
  color: var(--text-dark);
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--blue-primary);
}
.service-icon { width: 48px; height: 48px; }
.service-card h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
}
.service-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
  flex: 1;
}
.card-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-primary);
  margin-top: auto;
}
.service-card:hover .card-link { text-decoration: underline; }

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

/* =============================================
   PATIENT STORIES
   ============================================= */
.stories {
  padding: 80px 0;
  background: #fff;
}
.stories-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 24px;
}
.story-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  transition: box-shadow var(--transition);
}
.story-card:hover { box-shadow: var(--shadow-md); }

.story-card--featured { grid-row: span 1; }

.story-image {
  height: 200px;
  background-size: cover;
  background-position: center;
}
.story-card--featured .story-image { height: 260px; }
.story-image--1 { background: linear-gradient(135deg, #fdeef6 0%, #f5b3d8 100%); background-image: url("https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?w=800&q=80"); }
.story-image--2 { background: linear-gradient(135deg, #e8f5e9 0%, #a5d6a7 100%); background-image: url("https://images.unsplash.com/photo-1559757148-5c350d0d3c56?w=600&q=80"); }
.story-image--3 { background: linear-gradient(135deg, #fce4ec 0%, #f48fb1 100%); background-image: url("https://images.unsplash.com/photo-1551884170-09fb70a3a2ed?w=600&q=80"); }

.story-content { padding: 24px; }
.story-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue-primary);
  background: var(--blue-light);
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.story-card h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 10px;
}
.story-card p {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 16px;
}

/* =============================================
   FIND A DOCTOR
   ============================================= */
.find-doctor {
  padding: 80px 0;
  background: var(--blue-dark);
}
.fd-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.fd-text .section-eyebrow { color: rgba(255,255,255,.7); }
.fd-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3vw, 36px);
  color: #fff;
  margin-bottom: 16px;
}
.fd-text p {
  color: rgba(255,255,255,.8);
  font-size: 16px;
  margin-bottom: 28px;
  max-width: 420px;
}
.fd-search {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}
.fd-search h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--text-dark);
  margin-bottom: 24px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mid);
}
.form-group select,
.form-group input {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: 15px;
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: #fff;
  outline: none;
  transition: border-color var(--transition);
}
.form-group select:focus,
.form-group input:focus { border-color: var(--blue-primary); box-shadow: 0 0 0 3px rgba(212,15,125,.15); }

/* =============================================
   RESEARCH
   ============================================= */
.research {
  padding: 80px 0;
  background: linear-gradient(135deg, #3f0526 0%, #5e083a 60%, #75094a 100%);
}
.research-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: flex-start;
}
.research-text .section-eyebrow.light { color: rgba(255,255,255,.7); }
.research-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3vw, 34px);
  color: #fff;
  margin-bottom: 16px;
}
.research-text > p {
  color: rgba(255,255,255,.8);
  font-size: 16px;
  margin-bottom: 28px;
}
.research-highlights { list-style: none; margin-bottom: 32px; }
.research-highlights li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,.9);
  font-size: 15px;
  padding: 7px 0;
}
.research-cards { display: flex; flex-direction: column; gap: 16px; }
.research-card {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  transition: background var(--transition);
}
.research-card:hover { background: rgba(255,255,255,.15); }
.rc-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #f7a8d4;
  background: rgba(247,168,212,.15);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}
.research-card h4 {
  font-family: var(--font-serif);
  font-size: 16px;
  color: #fff;
  margin-bottom: 6px;
  line-height: 1.4;
}
.research-card p {
  font-size: 13px;
  color: rgba(255,255,255,.7);
  margin-bottom: 10px;
}
.research-card a {
  font-size: 13px;
  font-weight: 600;
  color: #f7a8d4;
}

/* =============================================
   HEALTH LIBRARY
   ============================================= */
.health-library {
  padding: 60px 0;
  background: var(--blue-light);
  border-top: 1px solid #f3cfe4;
  border-bottom: 1px solid #f3cfe4;
}
.hl-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 40px;
  align-items: center;
}
.hl-text h2 {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.hl-text p {
  font-size: 15px;
  color: var(--text-light);
  max-width: 400px;
}
.hl-search-form {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}
.hl-search-form input {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 16px;
  font-size: 15px;
  font-family: var(--font-sans);
  width: 280px;
  outline: none;
}
.hl-search-form input:focus { border-color: var(--blue-primary); box-shadow: 0 0 0 3px rgba(212,15,125,.15); }
.hl-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: var(--text-light);
}
.hl-quick-links a {
  color: var(--blue-primary);
  font-weight: 600;
  font-size: 13px;
}

/* =============================================
   LOCATIONS
   ============================================= */
.locations {
  padding: 80px 0;
  background: var(--bg-light);
}
.locations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.location-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  position: relative;
}
.location-card--main {
  border-color: var(--blue-primary);
  border-width: 2px;
}
.location-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--blue-primary);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.location-card h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.location-card address {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 16px;
}
.location-details { margin-bottom: 20px; }
.loc-detail {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  color: var(--text-mid);
  margin-bottom: 6px;
}
.loc-detail svg { flex-shrink: 0; color: var(--blue-primary); }
.location-card--telehealth {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.telehealth-icon { margin-bottom: 16px; }
.telehealth-icon svg rect { fill: rgba(255,255,255,.15); }
.telehealth-icon svg path,
.telehealth-icon svg rect { stroke: rgba(255,255,255,.8); }
.location-card--telehealth h3 { color: #fff; }
.location-card--telehealth p { font-size: 14px; color: rgba(255,255,255,.75); margin-bottom: 20px; flex: 1; }

/* =============================================
   NEWS
   ============================================= */
.news {
  padding: 80px 0;
  background: #fff;
}
.news-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}
.news-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  transition: box-shadow var(--transition);
}
.news-card:hover { box-shadow: var(--shadow-md); }
.news-card--featured { grid-row: span 2; }
.news-image {
  background-size: cover;
  background-position: center;
  height: 180px;
}
.news-card--featured .news-image { height: 260px; }
.news-image--1 { background: linear-gradient(135deg, #9c0b5c 0%, #d40f7d 100%); background-image: url("https://images.unsplash.com/photo-1551076805-e1869033e561?w=800&q=80"); }
.news-image--2 { background: linear-gradient(135deg, #004d40 0%, #00796b 100%); background-image: url("https://images.unsplash.com/photo-1576671081837-49000212a370?w=600&q=80"); }
.news-image--3 { background: linear-gradient(135deg, #4a148c 0%, #7b1fa2 100%); background-image: url("https://images.unsplash.com/photo-1582750433449-648ed127bb54?w=600&q=80"); }
.news-image--4 { background: linear-gradient(135deg, #b71c1c 0%, #c62828 100%); background-image: url("https://images.unsplash.com/photo-1504813184591-01572f98c85f?w=600&q=80"); }

.news-content { padding: 20px 22px 22px; }
.news-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue-primary);
  background: var(--blue-light);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}
.news-date {
  display: block;
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 8px;
}
.news-card h3 {
  font-family: var(--font-serif);
  font-size: 17px;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 8px;
}
.news-card--featured h3 { font-size: 22px; }
.news-card p {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 14px;
}
.news-cta { text-align: center; }

/* =============================================
   MISSION BANNER
   ============================================= */
.mission-banner {
  background: linear-gradient(135deg, #6d6e71 0%, #55565a 100%);
  padding: 64px 0;
}
.mb-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.mb-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 32px);
  color: #fff;
  margin-bottom: 12px;
}
.mb-text p {
  color: rgba(255,255,255,.85);
  font-size: 16px;
  max-width: 560px;
}
.mb-actions {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: #29282c;
  color: rgba(255,255,255,.75);
  padding-top: 64px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand-desc {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,.6);
  margin-bottom: 20px;
  max-width: 280px;
}
.social-links { display: flex; gap: 12px; }
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.7);
  transition: background var(--transition), color var(--transition);
}
.social-link:hover { background: var(--blue-primary); color: #fff; text-decoration: none; }

.footer-links-group h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}
.footer-links-group ul { list-style: none; }
.footer-links-group li { margin-bottom: 8px; }
.footer-links-group a {
  font-size: 14px;
  color: rgba(255,255,255,.65);
  transition: color var(--transition);
}
.footer-links-group a:hover { color: #fff; text-decoration: none; }

.footer-bottom {
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-legal p { font-size: 13px; color: rgba(255,255,255,.5); }
.legal-links { display: flex; flex-wrap: wrap; gap: 16px; }
.legal-links a { font-size: 13px; color: rgba(255,255,255,.5); }
.legal-links a:hover { color: rgba(255,255,255,.8); text-decoration: none; }
.footer-disclaimer {
  font-size: 12px;
  color: rgba(255,255,255,.35);
  max-width: 600px;
  line-height: 1.5;
}

/* =============================================
   RESPONSIVE — TABLET (≤ 1024px)
   ============================================= */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .locations-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: span 3; display: grid; grid-template-columns: auto 1fr; gap: 20px 40px; align-items: start; }
  .footer-brand .social-links { grid-column: 2; }
  .research-inner { grid-template-columns: 1fr; gap: 40px; }
  .fd-inner { grid-template-columns: 1fr; gap: 40px; }
  .fd-text p { max-width: 100%; }
  .hero-stats-inner { flex-wrap: wrap; justify-content: center; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .news-card--featured { grid-column: span 2; }
  .stories-grid { grid-template-columns: 1fr 1fr; }
  .story-card--featured { grid-column: span 2; }
  .hl-inner { grid-template-columns: auto 1fr; }
  .hl-icon { display: none; }
  .utility-links { display: none; }
  .main-nav { display: none; }
  .header-cta { display: none; }
  .mobile-menu-btn { display: flex; }
}

/* =============================================
   RESPONSIVE — MOBILE (≤ 640px)
   ============================================= */
@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
  .locations-grid { grid-template-columns: 1fr; }
  .stories-grid { grid-template-columns: 1fr; }
  .story-card--featured { grid-column: auto; }
  .news-grid { grid-template-columns: 1fr; }
  .news-card--featured { grid-column: auto; }
  .appt-inner { flex-direction: column; align-items: flex-start; }
  .appt-actions { flex-direction: column; width: 100%; }
  .mb-inner { flex-direction: column; }
  .mb-actions { flex-direction: column; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
  .hero-stats-inner { flex-direction: column; gap: 16px; }
  .stat-divider { display: none; }
  .hero-actions { flex-direction: column; }
  .hl-inner { grid-template-columns: 1fr; }
  .hl-search-form { flex-direction: column; }
  .hl-search-form input { width: 100%; }
  .footer-legal { flex-direction: column; }
}
