/* ==========================================================================
   Great Lakes Clinic — Modern Clinical Design System
   Font: Kumbh Sans | Inspired by Apex Medical Centre & SimpliCare
   Zero Fluff · High-Contrast Rules · Hyper-Intuitive Mobile-First UX
   ========================================================================== */

:root {
  --teal-50: #F0FDFA;
  --teal-100: #CCFBF1;
  --teal-200: #99F6E4;
  --teal-500: #14B8A6;
  --teal-600: #0D9488;
  --teal-700: #0F766E;
  --teal-800: #115E59;
  --teal-900: #134E4A;

  --navy-950: #070D19;
  --navy-900: #0F172A;
  --navy-800: #1E293B;
  --navy-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748B;
  --slate-400: #94A3B8;
  --slate-300: #CBD5E1;
  --slate-200: #E2E8F0;
  --slate-100: #F1F5F9;
  --slate-50: #F8FAFC;
  --white: #FFFFFF;

  --red-50: #FEF2F2;
  --red-100: #FEE2E2;
  --red-500: #EF4444;
  --red-600: #DC2626;
  --red-700: #B91C1C;
  --red-800: #991B1B;

  --amber-50: #FFFBEB;
  --amber-100: #FEF3C7;
  --amber-500: #F59E0B;
  --amber-600: #D97706;
  --amber-800: #92400E;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 8px 28px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 48px rgba(15, 23, 42, 0.12);

  --container: 1200px;
  --font-main: 'Kumbh Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-main);
  color: var(--navy-900);
  background-color: var(--slate-50);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

a, button {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
  -webkit-tap-highlight-color: rgba(13, 148, 136, 0.15);
  touch-action: manipulation;
}

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Top Emergency & Live Status Bar
   ========================================================================== */
.top-utility-bar {
  background-color: var(--navy-900);
  color: var(--white);
  font-size: 0.85rem;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.top-utility-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.utility-left, .utility-right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.live-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(20, 184, 166, 0.16);
  border: 1px solid rgba(20, 184, 166, 0.4);
  color: var(--teal-200);
  padding: 3px 11px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.8rem;
}

.live-status-pill.is-closed {
  background: rgba(245, 158, 11, 0.16);
  border-color: rgba(245, 158, 11, 0.4);
  color: #FDE68A;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10B981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
  flex-shrink: 0;
}

.live-status-pill.is-closed .status-dot {
  background-color: #F59E0B;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.25);
}

.utility-emergency {
  color: #FCA5A5;
  font-weight: 600;
}

.utility-link {
  color: var(--slate-300);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}
.utility-link:hover {
  color: var(--teal-200);
}

/* ==========================================================================
   Sticky Navigation Header (Apex + SimpliCare style)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-200);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 16px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo-mark {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.2);
  flex-shrink: 0;
}

.brand-logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.brand-sub {
  font-size: 0.73rem;
  font-weight: 700;
  color: var(--teal-600);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 2px;
}

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

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 13px;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--navy-800);
  border-radius: var(--radius-sm);
}

.nav-link:hover,
.nav-link.active {
  color: var(--teal-600);
  background: var(--teal-50);
}

.dropdown-Trigger-icon {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.nav-item.has-dropdown:hover .dropdown-Trigger-icon,
.nav-item.has-dropdown.open .dropdown-Trigger-icon {
  transform: rotate(180deg);
}

/* Desktop Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 275px;
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
  z-index: 1100;
}

.nav-item.has-dropdown::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 10px;
}

.nav-item.has-dropdown:hover .dropdown-menu,
.nav-item.has-dropdown:focus-within .dropdown-menu,
.nav-item.has-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy-800);
}

.dropdown-link span.sub-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 99px;
  background: var(--teal-50);
  color: var(--teal-700);
}

.dropdown-link:hover,
.dropdown-link.active {
  background: var(--teal-50);
  color: var(--teal-700);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  min-height: 46px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  text-align: center;
  white-space: nowrap;
  font-family: var(--font-main);
}

.btn-primary {
  background-color: var(--teal-600);
  color: var(--white);
  border-color: var(--teal-600);
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.28);
}

.btn-primary:hover {
  background-color: var(--navy-900);
  border-color: var(--navy-900);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  color: var(--navy-900);
  border-color: var(--teal-600);
}

.btn-outline:hover {
  background-color: var(--teal-600);
  color: var(--white);
}

.btn-navy {
  background-color: var(--navy-900);
  color: var(--white);
  border-color: var(--navy-900);
}

.btn-navy:hover {
  background-color: var(--teal-600);
  border-color: var(--teal-600);
}

.btn-white {
  background-color: var(--white);
  color: var(--navy-900);
  border-color: var(--white);
}

.btn-white:hover {
  background-color: var(--teal-50);
  color: var(--teal-700);
}

.btn-sm {
  padding: 9px 15px;
  min-height: 40px;
  font-size: 0.88rem;
  border-radius: 10px;
}

/* Mobile Hamburger Toggle (44x44px minimum touch target) */
.mobile-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: var(--slate-100);
  border: 1.5px solid var(--slate-300);
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--navy-900);
  flex-shrink: 0;
}

.mobile-menu-toggle .icon-close {
  display: none;
}

.mobile-menu-toggle[aria-expanded="true"] {
  background: var(--navy-900);
  color: var(--white);
  border-color: var(--navy-900);
}

.mobile-menu-toggle[aria-expanded="true"] .icon-menu {
  display: none;
}

.mobile-menu-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

/* Mobile Slide-Out / Full-Screen Touch Drawer */
.mobile-drawer-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
  z-index: 998;
}

.mobile-drawer-backdrop.open {
  display: block;
}

.mobile-drawer {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(100%, 380px);
  background: var(--white);
  z-index: 1001;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 20px 18px 100px;
  box-shadow: -12px 0 40px rgba(15, 23, 42, 0.25);
  flex-direction: column;
  gap: 18px;
}

.mobile-drawer.open {
  display: flex;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--slate-200);
}

.mobile-drawer-close {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--slate-300);
  background: var(--slate-100);
  color: var(--navy-900);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  cursor: pointer;
}

.drawer-section-label {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal-700);
  margin-bottom: 8px;
}

.drawer-clinics-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.drawer-clinic-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: var(--slate-50);
  border: 1.5px solid var(--slate-200);
  border-radius: 14px;
  font-weight: 700;
  color: var(--navy-900);
  min-height: 54px;
}

.drawer-clinic-pill.active,
.drawer-clinic-pill:active {
  background: var(--teal-50);
  border-color: var(--teal-600);
  color: var(--teal-900);
}

.drawer-clinic-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.drawer-clinic-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--teal-50);
  color: var(--teal-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.drawer-clinic-title {
  display: block;
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.2;
}

.drawer-clinic-sub {
  display: block;
  font-size: 0.76rem;
  color: var(--slate-500);
  font-weight: 600;
}

.drawer-quick-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.drawer-quick-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 10px;
  background: var(--white);
  border: 1.5px solid var(--slate-200);
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy-800);
  text-align: center;
  min-height: 46px;
}

.drawer-quick-link.active {
  border-color: var(--teal-600);
  background: var(--teal-50);
  color: var(--teal-800);
}

/* ==========================================================================
   Sticky Mobile Bottom Quick-Action Bar (<= 768px)
   ========================================================================== */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(15, 23, 42, 0.98);
  backdrop-filter: blur(14px);
  border-top: 2px solid var(--teal-600);
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -8px 28px rgba(15, 23, 42, 0.28);
}

.mobile-bottom-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  max-width: 500px;
  margin: 0 auto;
}

.mobile-tab-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 7px 4px;
  border-radius: 10px;
  color: var(--slate-200);
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
  min-height: 50px;
  line-height: 1.1;
}

.mobile-tab-btn svg {
  width: 20px;
  height: 20px;
  stroke: #5EEAD4;
  flex-shrink: 0;
}

.mobile-tab-btn.primary-tab {
  background: var(--teal-600);
  color: var(--white);
  box-shadow: 0 2px 10px rgba(13, 148, 136, 0.4);
}

.mobile-tab-btn.primary-tab svg {
  stroke: var(--white);
}

.mobile-tab-btn.active-tab {
  background: rgba(20, 184, 166, 0.2);
  color: #5EEAD4;
}

/* ==========================================================================
   Apex-Style Rounded Hero Container
   ========================================================================== */
.c-hero-wrap {
  padding: 24px 0 12px;
}

.c-hero {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(110deg, rgba(15, 23, 42, 0.94) 0%, rgba(15, 23, 42, 0.84) 55%, rgba(13, 148, 136, 0.72) 100%),
              url('assets/glc-hall-image.jpg') center/cover no-repeat;
  min-height: 410px;
  display: flex;
  align-items: center;
  padding: 48px 52px;
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.c-hero-content {
  max-width: 720px;
  z-index: 2;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(20, 184, 166, 0.22);
  border: 1px solid rgba(94, 234, 212, 0.45);
  color: var(--teal-100);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.c-h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}

.c-h1 .text-teal {
  color: #5EEAD4;
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--slate-200);
  margin-bottom: 24px;
  max-width: 600px;
  font-weight: 500;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   CRITICAL PATIENT NOTICE BANNER (Apex `.call-banner` adapted for Furqan's 5 PM Rule)
   ========================================================================== */
.urgent-rules-section {
  padding: 18px 0 12px;
  scroll-margin-top: 86px;
}

.call-banner {
  background: var(--white);
  border: 2px solid var(--teal-600);
  border-radius: var(--radius-lg);
  padding: 30px 34px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.call-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 8px;
  height: 100%;
  background: var(--teal-600);
}

.rules-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 26px;
  align-items: stretch;
}

.fho-walkin-box {
  background: var(--red-50);
  border: 2px solid var(--red-600);
  border-radius: var(--radius-md);
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.fho-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--red-600);
  color: var(--white);
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 5px 12px;
  border-radius: 6px;
  margin-bottom: 10px;
  width: fit-content;
}

.fho-walkin-box h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 14px;
  line-height: 1.2;
}

.fho-rules-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 14px;
  margin-bottom: 16px;
}

.fho-rules-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--navy-900);
  background: var(--white);
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(220, 38, 38, 0.2);
}

.fho-rules-list li .check-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--teal-600);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.do-not-walkin-alert {
  background: var(--red-600);
  color: var(--white);
  padding: 13px 16px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.25);
}

.general-rules-box {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.general-rules-box h3 {
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.clean-bullet-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.clean-bullet-list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.95rem;
  color: var(--navy-800);
  font-weight: 500;
}

.clean-bullet-list li::before {
  content: '•';
  position: absolute;
  left: 4px;
  top: -1px;
  color: var(--teal-600);
  font-weight: 900;
  font-size: 1.2rem;
}

/* ==========================================================================
   SimpliCare-Style 2-Column Clinic Hub Card (Photo Left, Details Right)
   ========================================================================== */
.clinic-hub-section {
  padding: 32px 0;
}

.clinic-hub-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 30px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--slate-200);
  align-items: center;
}

.clinic-hub-photo {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  height: 100%;
  min-height: 340px;
}

.clinic-hub-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.clinic-hub-photo-caption {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(8px);
  color: var(--white);
  padding: 11px 14px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.card-clinic h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 6px;
}

.card-clinic-sub {
  color: var(--teal-700);
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 18px;
}

.clinic-contact-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.contact-pill {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  padding: 11px 14px;
  border-radius: 12px;
}

.contact-pill-label {
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--slate-500);
  font-weight: 700;
  display: block;
}

.contact-pill-val {
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy-900);
  word-break: break-word;
}

.hours-compact-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 18px;
  font-size: 0.92rem;
}

.hours-compact-table tr {
  border-bottom: 1px solid var(--slate-100);
}

.hours-compact-table tr.is-today {
  background: var(--teal-50);
  font-weight: 800;
  color: var(--teal-900);
}

.hours-compact-table td {
  padding: 8px 8px;
}

.hours-compact-table td:last-child {
  text-align: right;
  font-weight: 700;
  white-space: nowrap;
}

.services-offered-bar {
  background: var(--navy-900);
  color: var(--white);
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.88rem;
}

.services-offered-bar strong {
  color: #5EEAD4;
}

/* ==========================================================================
   Apex-Style Horizontal Service Cards (`.c-service-card`)
   ========================================================================== */
.c-services-section {
  padding: 40px 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 28px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--teal-600);
  background: var(--teal-50);
  padding: 4px 12px;
  border-radius: 99px;
  margin-bottom: 8px;
}

.c-h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--navy-900);
  letter-spacing: -0.02em;
}

.c-service-card {
  background: var(--white);
  border-radius: 20px;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-sm);
  max-width: 1100px;
  margin: 0 auto 20px;
  padding: 28px 32px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.c-service-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal-500);
}

.c-service_heading {
  width: 280px;
  flex-shrink: 0;
}

.c-service_heading .clinic-tag {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--teal-700);
  background: var(--teal-50);
  padding: 3px 10px;
  border-radius: 99px;
  margin-bottom: 8px;
}

.c-service_heading h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1.2;
  margin-bottom: 10px;
}

.c-service_content {
  border-left: 3px solid var(--teal-600);
  padding-left: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.c-service_uses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 8px 16px;
}

.c-service_uses-grid li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--navy-800);
  font-size: 0.94rem;
}

.c-service_uses-grid li::before {
  content: '✓';
  color: var(--teal-600);
  font-weight: 900;
  flex-shrink: 0;
}

/* Unattached Patients 5 Special Appointments Strip */
.unattached-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 20px;
}

.unattached-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 18px 14px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.unattached-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--teal-50);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 9px;
}

.unattached-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.unattached-card h4 {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1.3;
}

/* ==========================================================================
   Patient Feedback & QR Scan Section (Front & Center)
   ========================================================================== */
.feedback-qr-section {
  padding: 36px 0;
}

.feedback-banner-card {
  background: linear-gradient(135deg, var(--navy-900) 0%, #132F4C 100%);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 38px 44px;
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 32px;
  align-items: center;
  box-shadow: var(--shadow-lg);
}

.feedback-copy h2 {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.15;
}

.feedback-copy p {
  color: var(--slate-300);
  font-size: 1.02rem;
  margin-bottom: 20px;
  max-width: 560px;
}

.feedback-qr-box {
  background: var(--white);
  color: var(--navy-900);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.feedback-qr-box img {
  width: 170px;
  height: 170px;
  object-fit: contain;
  border: 2px solid var(--slate-100);
  border-radius: 12px;
  padding: 6px;
}

.feedback-qr-title {
  font-weight: 800;
  font-size: 1rem;
  color: var(--navy-900);
}

.feedback-qr-sub {
  font-size: 0.82rem;
  color: var(--slate-600);
  font-weight: 600;
}

/* ==========================================================================
   Apex-Style Location + Map Card (`.c-location-card`) & FAQ Accordion
   ========================================================================== */
.c-location-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 0.95fr 1.25fr;
  overflow: hidden;
  min-height: 390px;
}

.c-location_content {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.c-location_map iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  display: block;
}

.faq-stack {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 22px;
  font-family: var(--font-main);
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--navy-900);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.faq-question:hover {
  color: var(--teal-600);
}

.faq-answer {
  padding: 0 22px 18px;
  color: var(--slate-600);
  font-size: 0.95rem;
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-toggle-icon {
  font-size: 1.3rem;
  color: var(--teal-600);
  font-weight: 800;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.faq-item.open .faq-toggle-icon {
  transform: rotate(45deg);
}

/* ==========================================================================
   Subpage Header & Content Blocks
   ========================================================================== */
.page-hero {
  background: var(--navy-900);
  color: var(--white);
  padding: 40px 0;
  border-bottom: 4px solid var(--teal-600);
}

.page-hero h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.55rem);
  font-weight: 800;
  margin-bottom: 8px;
}

.page-hero p {
  color: var(--slate-300);
  font-size: 1.02rem;
  max-width: 680px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.info-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}

.info-card h3 {
  font-size: 1.22rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--navy-900);
}

/* ==========================================================================
   Interactive Uninsured Services Fee Table + Mobile Stacked Cards
   ========================================================================== */
.fee-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
  align-items: center;
  justify-content: space-between;
}

.fee-search-input {
  flex: 1;
  min-width: 260px;
  padding: 13px 16px;
  border: 2px solid var(--slate-200);
  border-radius: 12px;
  font-family: var(--font-main);
  font-size: 16px; /* Prevents iOS Safari auto-zoom */
  font-weight: 600;
  background: var(--white);
}

.fee-search-input:focus {
  outline: none;
  border-color: var(--teal-600);
}

.fee-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-pill {
  padding: 10px 15px;
  border-radius: 99px;
  border: 1px solid var(--slate-300);
  background: var(--white);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.86rem;
  cursor: pointer;
  color: var(--navy-800);
  white-space: nowrap;
}

.filter-pill.active,
.filter-pill:hover {
  background: var(--teal-600);
  color: var(--white);
  border-color: var(--teal-600);
}

.fee-table-wrap {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.fee-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.fee-table th {
  background: var(--navy-900);
  color: var(--white);
  padding: 14px 18px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.fee-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--slate-100);
  font-size: 0.95rem;
  font-weight: 600;
}

.fee-table tr:hover td {
  background: var(--teal-50);
}

.fee-price {
  font-weight: 800;
  color: var(--teal-700);
  white-space: nowrap;
}

.fee-cat-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--slate-100);
  color: var(--slate-600);
}

/* ==========================================================================
   Patient Feedback Form (16px inputs + 5-Column Responsive Star Grid)
   ========================================================================== */
.rating-selector {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 18px;
}

.star-btn {
  min-width: 0;
  padding: 12px 6px;
  border: 2px solid var(--slate-200);
  border-radius: 12px;
  background: var(--slate-50);
  cursor: pointer;
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 0.86rem;
  text-align: center;
  transition: all 0.15s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 64px;
}

.star-btn .star-count {
  font-size: 1rem;
  color: #F59E0B;
  letter-spacing: -0.03em;
  line-height: 1;
}

.star-btn .star-label {
  font-size: 0.78rem;
  color: var(--navy-900);
  line-height: 1.1;
}

.star-btn:hover,
.star-btn.selected {
  border-color: var(--teal-600);
  background: var(--teal-50);
  color: var(--teal-800);
  box-shadow: 0 2px 8px rgba(13, 148, 136, 0.15);
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--navy-900);
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--slate-300);
  border-radius: 10px;
  font-family: var(--font-main);
  font-size: 16px; /* Prevents iOS auto-zoom on focus */
  background: var(--white);
  color: var(--navy-900);
}

.form-control:focus {
  outline: none;
  border-color: var(--teal-600);
}

/* Footer */
.site-footer {
  background: var(--navy-950);
  color: var(--slate-300);
  padding: 52px 0 32px;
  margin-top: 48px;
  border-top: 4px solid var(--teal-600);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 30px;
  margin-bottom: 32px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links a:hover {
  color: #5EEAD4;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.84rem;
}

/* ==========================================================================
   TABLET & MOBILE BREAKPOINTS (Phone-Intuitive Experience)
   ========================================================================== */
@media (max-width: 991px) {
  .rules-grid,
  .clinic-hub-grid,
  .feedback-banner-card,
  .c-location-card,
  .grid-2,
  .grid-3,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .c-service-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
    gap: 16px;
  }

  .c-service_heading {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .c-service_heading h3 {
    margin-bottom: 0;
    width: 100%;
  }

  .c-service_content {
    border-left: none;
    border-top: 2px solid var(--teal-600);
    padding-left: 0;
    padding-top: 14px;
    width: 100%;
  }

  .main-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: inline-flex;
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: calc(74px + env(safe-area-inset-bottom, 0px));
  }

  .container {
    padding: 0 16px;
  }

  /* 1. Compact 1-Line Top Utility Bar on Phone */
  .top-utility-bar {
    padding: 6px 0;
    font-size: 0.76rem;
  }

  .top-utility-inner {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 8px;
  }

  .utility-emergency,
  .utility-hide-mobile {
    display: none !important;
  }

  .live-status-pill {
    padding: 2px 9px;
    font-size: 0.74rem;
    max-width: 235px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .utility-right {
    gap: 8px;
    flex-shrink: 0;
  }

  .utility-phone-cta {
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    padding: 3px 9px;
    border-radius: 99px;
    font-weight: 700;
    font-size: 0.75rem;
    white-space: nowrap;
  }

  /* 2. Zero-Clutter Mobile Header */
  .header-inner {
    min-height: 62px;
    gap: 8px;
  }

  .brand-logo {
    gap: 9px;
  }

  .brand-logo-mark {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    padding: 5px;
  }

  .brand-name {
    font-size: 1.06rem;
  }

  .brand-sub {
    font-size: 0.65rem;
  }

  .header-actions .btn-outline {
    display: none;
  }

  .header-actions .btn-primary {
    padding: 8px 12px;
    min-height: 38px;
    font-size: 0.8rem;
    border-radius: 10px;
  }

  /* 3. Above-the-Fold Mobile Hero & Family Practice After-5PM Policy Card */
  .c-hero-wrap {
    padding: 12px 0 8px;
  }

  .c-hero {
    padding: 22px 18px;
    min-height: auto;
    border-radius: 20px;
  }

  .hero-badge {
    font-size: 0.72rem;
    padding: 4px 10px;
    margin-bottom: 10px;
  }

  .c-h1 {
    font-size: 1.65rem;
    margin-bottom: 8px;
  }

  .hero-lead {
    font-size: 0.92rem;
    margin-bottom: 14px;
    line-height: 1.42;
  }

  .hero-cta-row {
    flex-direction: column;
    gap: 8px;
  }

  .hero-cta-row .btn {
    width: 100%;
    min-height: 46px;
    padding: 10px 16px;
    font-size: 0.92rem;
  }

  .urgent-rules-section {
    padding: 8px 0 12px;
  }

  .call-banner {
    padding: 16px;
    border-radius: 18px;
  }

  .call-banner::before {
    width: 5px;
  }

  .rules-grid {
    gap: 16px;
  }

  .fho-walkin-box {
    padding: 16px;
  }

  .fho-walkin-box h2 {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }

  .fho-rules-list {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 12px;
  }

  .fho-rules-list li {
    font-size: 0.84rem;
    padding: 8px 10px;
    gap: 7px;
    line-height: 1.25;
  }

  .fho-rules-list li .check-dot {
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
  }

  .do-not-walkin-alert {
    font-size: 0.88rem;
    padding: 11px 12px;
    line-height: 1.3;
  }

  .general-rules-box {
    padding: 16px;
  }

  .clinic-hub-grid {
    padding: 18px;
    gap: 18px;
  }

  .clinic-hub-photo {
    min-height: 210px;
  }

  .page-hero {
    padding: 16px 0;
  }

  .page-hero h1 {
    font-size: 1.6rem;
  }

  .page-hero p {
    font-size: 0.92rem;
  }

  .info-card {
    padding: 18px;
  }

  .feedback-banner-card {
    padding: 24px 18px;
    border-radius: 20px;
    gap: 20px;
  }

  .c-location_content {
    padding: 20px 18px;
  }

  .c-location_map iframe {
    min-height: 260px;
  }

  /* 4. Sticky Mobile Bottom Action Bar Visible on Phones */
  .mobile-bottom-bar {
    display: block;
  }
}

@media (max-width: 640px) {
  /* Horizontally scrollable category pills on mobile */
  .fee-controls {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .fee-search-input {
    width: 100%;
    min-width: 0;
  }

  .fee-filter-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .fee-filter-pills::-webkit-scrollbar {
    display: none;
  }

  /* Transform Fee Table into Stacked Mobile Cards with Zero Overflow */
  .fee-table thead {
    display: none;
  }

  .fee-table,
  .fee-table tbody {
    display: block;
    width: 100%;
  }

  .fee-table tr.fee-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 6px 12px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--slate-200);
    align-items: center;
  }

  .fee-table td {
    padding: 0;
    border: none;
  }

  .fee-table td:nth-child(1) {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    font-size: 0.93rem;
    font-weight: 700;
    color: var(--navy-900);
    line-height: 1.3;
  }

  .fee-table td:nth-child(2) {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
  }

  .fee-table td:nth-child(3) {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    text-align: right;
    font-size: 0.9rem;
    background: var(--teal-50);
    padding: 6px 10px;
    border-radius: 8px;
    border: 1px solid var(--teal-200);
    white-space: normal;
    max-width: 135px;
    line-height: 1.2;
  }

  /* Compact 5-column star rating row on phones */
  .rating-selector {
    gap: 5px;
  }

  .star-btn {
    padding: 10px 3px;
    min-height: 58px;
    border-radius: 10px;
  }

  .star-btn .star-count {
    font-size: 0.88rem;
  }

  .star-btn .star-label {
    font-size: 0.68rem;
  }

  .unattached-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .unattached-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 380px) {
  .fho-rules-list {
    grid-template-columns: 1fr;
  }
  .header-actions .btn-primary {
    display: none;
  }
}


/* Compact Laptop Navbar Tuning (992px - 1260px) */
@media (min-width: 992px) and (max-width: 1260px) {
  .header-inner {
    gap: 10px;
  }
  .brand-name {
    font-size: 1.08rem;
  }
  .brand-sub {
    font-size: 0.65rem;
  }
  .main-nav {
    gap: 2px;
  }
  .nav-link {
    padding: 8px 9px;
    font-size: 0.85rem;
    white-space: nowrap;
  }
  .header-actions {
    gap: 6px;
  }
  .header-actions .btn-sm {
    padding: 8px 11px;
    font-size: 0.82rem;
  }
  .top-utility-bar {
    font-size: 0.78rem;
  }
  .utility-left, .utility-right {
    gap: 12px;
  }
}


/* Fix Laptop & Desktop Header Single-Line Alignment Across All Screens (992px - 1920px+) */
.container {
  max-width: 1320px;
}
.header-inner {
  gap: 14px;
}
.brand-logo {
  flex-shrink: 0;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
}
.nav-link {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 9px 12px;
  font-size: 0.92rem;
  line-height: 1.2;
}
.header-actions {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.header-actions .btn {
  white-space: nowrap;
}

@media (min-width: 992px) and (max-width: 1240px) {
  .header-secondary-btn {
    display: none !important;
  }
  .nav-link {
    padding: 8px 10px;
    font-size: 0.88rem;
  }
  .brand-name {
    font-size: 1.12rem;
  }
  .brand-sub {
    font-size: 0.66rem;
  }
}

@media (max-width: 991px) {
  .main-nav {
    display: none !important;
  }
  .header-actions .btn {
    display: none !important;
  }
}
