/*
Theme Name:  Neuroscience Specialists
Description: Custom WordPress theme for Neuroscience Specialists, P.C. — Oklahoma City neurosurgery practice
Version:     1.1
Author:      Jacob Archer
Text Domain: neuroscience-specialists
*/


/* =============================================================================
   CSS RESET
   ============================================================================= */

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

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

body {
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

ul, ol {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}


/* =============================================================================
   DESIGN TOKENS
   ============================================================================= */

:root {
  --navy:       #0f2240;
  --navy-mid:   #163358;
  --navy-light: #1e4575;
  --gold:       #C8A84B;
  --gold-light: #e0c87a;
  --gold-pale:  #f8f2e0;
  --warm-white: #fdfcf9;
  --cream:      #f5f1ea;
  --teal-hint:  #e8f3f5;
  --text-dark:  #0f1f2e;
  --text-mid:   #4a5f72;
  --text-light: #8fa3b1;
  --serif:      'Cormorant Garamond', Georgia, serif;
  --sans:       'DM Sans', system-ui, sans-serif;
  --radius:     10px;
  --tr:         0.25s ease;
  --transition: 0.25s ease; /* alias used by header.php inline styles */
}


/* =============================================================================
   BASE ELEMENTS
   ============================================================================= */

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

a {
  color: var(--gold);
  transition: color var(--tr);
}

a:hover {
  color: var(--navy);
}

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


/* =============================================================================
   UTILITY BAR
   ============================================================================= */

.util-bar {
  background: var(--navy);
  padding: 9px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.util-bar address {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  font-style: normal;
  display: flex;
  align-items: center;
  gap: 6px;
}

.util-bar address svg { opacity: 0.6; }

/* .util-links (some pages) and .util-right (header.php) are the same element */
.util-links,
.util-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.util-links a,
.util-right a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--tr);
}

.util-links a:hover,
.util-right a:hover {
  color: var(--gold-light);
}

.portal-btn {
  background: var(--gold) !important;
  color: var(--navy) !important;
  font-weight: 500 !important;
  padding: 5px 16px !important;
  border-radius: 20px !important;
}


/* =============================================================================
   SITE NAVIGATION
   ============================================================================= */

/* HTML uses <nav class="site-nav"> — target both element+class and class alone */
nav.site-nav,
.site-nav {
  background: var(--warm-white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  height: 78px;
  border-bottom: 1px solid rgba(15, 34, 64, 0.08);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 16px rgba(15, 34, 64, 0.05);
}

.logo-img {
  height: 58px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 14px;
  color: var(--text-mid);
  transition: color var(--tr);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--navy);
  font-weight: 500;
}

/* Top-level nav links — header.php uses a more specific selector with
   display:inline-flex, font-weight:600, letter-spacing, white-space */
.nav-links > li > a {
  display: inline-flex;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.nav-cta {
  background: var(--navy) !important;
  color: white !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  padding: 11px 24px !important;
  border-radius: var(--radius) !important;
  transition: background var(--tr);
}

.nav-cta:hover {
  background: var(--navy-mid) !important;
}

/* CTA as a list-item child anchor (header.php pattern) */
.nav-links > li.nav-cta > a {
  display: inline-block;
  background: var(--navy);
  color: #ffffff !important;
  padding: 12px 26px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
  text-decoration: none;
}

.nav-links > li.nav-cta > a:hover {
  background: var(--navy-mid);
  color: #ffffff !important;
}


/* =============================================================================
   DROPDOWN MENUS
   ============================================================================= */

.nav-links li { position: relative; }

/* Bridge pseudo-element: fills the gap between link and dropdown
   so the hover state is never broken when moving the mouse down */
.nav-links li.menu-item-has-children::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 16px;
  display: none;
}

.nav-links li.menu-item-has-children:hover::after { display: block; }

.nav-links .sub-menu {
  display: none;
  position: absolute;
  top: calc(100% + 16px);
  left: 0;
  min-width: 230px;
  background: #ffffff;
  border-top: 3px solid var(--gold);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 12px 40px rgba(15, 34, 64, 0.18);
  list-style: none;
  padding: 6px 0;
  z-index: 9999;
}

.nav-links li:hover > .sub-menu,
.nav-links li:focus-within > .sub-menu { display: block; }

.nav-links .sub-menu li { display: block; }

.nav-links .sub-menu a {
  display: block;
  padding: 11px 22px;
  font-size: 13px;
  font-weight: 400;
  color: var(--text-dark);
  letter-spacing: 0.01em;
  transition: background var(--tr), color var(--tr);
  white-space: nowrap;
  border-left: 3px solid transparent;
}

.nav-links .sub-menu a:hover {
  background: var(--cream);
  color: var(--navy);
  border-left-color: var(--gold);
}

/* Separator lines between items */
.nav-links .sub-menu li + li {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* Nested sub-menus (3rd level) */
.nav-links .sub-menu .sub-menu {
  top: 0;
  left: 100%;
  border-top: none;
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* Arrow indicator for items with children */
.nav-links > li.menu-item-has-children > a::after {
  content: '';
  display: block;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-left: 5px;
  opacity: 0.55;
  flex-shrink: 0;
}


/* =============================================================================
   HAMBURGER / MOBILE NAV
   ============================================================================= */

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}


/* =============================================================================
   HOME PAGE HERO
   ============================================================================= */

.hero {
  background: var(--navy);
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, transparent, transparent 72px, rgba(200, 168, 75, 0.04) 72px, rgba(200, 168, 75, 0.04) 73px),
    repeating-linear-gradient(0deg, transparent, transparent 72px, rgba(200, 168, 75, 0.04) 72px, rgba(200, 168, 75, 0.04) 73px);
  pointer-events: none;
}

.hero-right-panel {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 40%;
  background: linear-gradient(135deg, #163358 0%, #0f2240 100%);
  clip-path: polygon(6% 0, 100% 0, 100% 100%, 0 100%);
  opacity: 0.65;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 88px 60px;
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(200, 168, 75, 0.35);
  background: rgba(200, 168, 75, 0.08);
  padding: 7px 16px 7px 7px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.badge-dot {
  width: 24px;
  height: 24px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--navy);
  font-weight: 600;
}

.hero-badge span {
  font-size: 12px;
  font-weight: 400;
  color: var(--gold-light);
  letter-spacing: 0.03em;
}

.hero h1 {
  font-family: var(--serif);
  font-size: 66px;
  font-weight: 300;
  color: white;
  line-height: 1.08;
  margin-bottom: 22px;
  letter-spacing: -0.01em;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-light);
}

/* .hero-desc is also used on inner page heroes; home variant adds max-width + margin-bottom */
.hero-desc {
  font-size: 16px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.75;
  max-width: 520px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.btn-ghost-white {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color var(--tr);
}

.btn-ghost-white:hover { color: white; }

.hero-float-cards {
  position: absolute;
  right: 60px;
  bottom: 56px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 230px;
}

.float-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  backdrop-filter: blur(8px);
}

.float-icon {
  width: 40px;
  height: 40px;
  background: var(--teal-hint);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.float-num {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1;
}

.float-lbl {
  font-size: 11px;
  color: var(--text-mid);
  margin-top: 2px;
}


/* =============================================================================
   PAIN STRIP
   ============================================================================= */

.pain-strip {
  background: var(--cream);
  border-top: 3px solid var(--gold);
  padding: 28px 60px;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.pain-label {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  font-style: italic;
  color: var(--navy);
  white-space: nowrap;
  flex-shrink: 0;
}

.pain-tags {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}

.pain-tag {
  background: white;
  border: 1.5px solid rgba(15, 34, 64, 0.14);
  color: var(--text-mid);
  font-size: 13px;
  font-weight: 400;
  padding: 7px 18px;
  border-radius: 100px;
  transition: all var(--tr);
}

.pain-tag:hover,
.pain-tag.active {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}

.pain-tag.gold-tag {
  background: var(--gold-pale);
  border-color: var(--gold);
  color: var(--navy);
  font-weight: 500;
}

.pain-tag.gold-tag:hover {
  background: var(--gold);
}


/* =============================================================================
   PAGE HERO
   ============================================================================= */

.page-hero {
  background: var(--navy);
  padding: 72px 60px 64px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 280px;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, transparent, transparent 72px, rgba(200, 168, 75, 0.04) 72px, rgba(200, 168, 75, 0.04) 73px),
    repeating-linear-gradient(0deg,  transparent, transparent 72px, rgba(200, 168, 75, 0.04) 72px, rgba(200, 168, 75, 0.04) 73px);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.breadcrumb {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 20px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.45);
}

.breadcrumb a:hover { color: var(--gold-light); }

.sec-eyebrow {
  font-size: 11px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sec-eyebrow::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--gold);
}

.page-hero h1 {
  font-family: var(--serif);
  font-size: 56px;
  font-weight: 300;
  color: white;
  line-height: 1.1;
  margin-bottom: 18px;
}

.page-hero h1 em {
  font-style: italic;
  color: var(--gold-light);
}

/* .hero-desc on inner page heroes (no margin-bottom override) */
.hero-desc {
  font-size: 16px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.75;
  max-width: 640px;
}

.hero-meta {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-tag {
  background: rgba(200, 168, 75, 0.15);
  border: 1px solid rgba(200, 168, 75, 0.3);
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 100px;
  letter-spacing: 0.04em;
}


/* =============================================================================
   SECTIONS
   ============================================================================= */

.sec {
  padding: 72px 60px;
}

/* Alternate padding used on home page and some inner pages */
.sec-pad { padding: 88px 60px; }

.sec-white { background: white; }
.sec-cream { background: var(--cream); }
.sec-navy  { background: var(--navy); }

.sec-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.sec-inner-narrow {
  max-width: 900px;
  margin: 0 auto;
}

.sec-title {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 300;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}

.sec-title em {
  font-style: italic;
  color: var(--gold);
}

.sec-body {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 18px;
}

.sec-sub {
  font-size: 15px;
  color: var(--text-mid);
  max-width: 560px;
  line-height: 1.75;
}

/* sec-label is the physician-page variant of sec-eyebrow */
.sec-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sec-label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--gold);
}


/* =============================================================================
   SERVICES SECTION
   ============================================================================= */

.services-sec { background: white; }

.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 44px;
}

.view-all-link {
  font-size: 13px;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color var(--tr);
  white-space: nowrap;
  flex-shrink: 0;
}

.view-all-link:hover { color: var(--navy); }

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

.svc-card {
  background: var(--cream);
  padding: 44px 32px 36px;
  position: relative;
  overflow: hidden;
  transition: background var(--tr), transform var(--tr);
  cursor: pointer;
}

.svc-card:hover {
  background: var(--navy);
  transform: translateY(-3px);
}

.svc-card:hover .svc-title { color: white; }
.svc-card:hover .svc-items li { color: rgba(255, 255, 255, 0.72); }
.svc-card:hover .svc-items li::before { color: var(--gold); }
.svc-card:hover .svc-num { color: rgba(255, 255, 255, 0.05); }
.svc-card:hover .svc-more { color: var(--gold-light); }

.svc-num {
  font-family: var(--serif);
  font-size: 72px;
  font-weight: 600;
  color: rgba(15, 34, 64, 0.055);
  position: absolute;
  top: 12px;
  right: 20px;
  line-height: 1;
  transition: color var(--tr);
  pointer-events: none;
  user-select: none;
}

.svc-bar {
  width: 36px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 22px;
}

.svc-title {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 18px;
  transition: color var(--tr);
}

.svc-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 22px;
}

.svc-items li {
  font-size: 13px;
  color: var(--text-mid);
  transition: color var(--tr);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}

.svc-items li::before {
  content: '→';
  font-size: 11px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 1px;
  transition: color var(--tr);
}

.svc-more {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color var(--tr);
  display: flex;
  align-items: center;
  gap: 5px;
}


/* =============================================================================
   ABOUT SPLIT SECTION
   ============================================================================= */

.about-sec {
  background: var(--navy);
  display: grid;
  grid-template-columns: 1fr 400px;
  min-height: 520px;
}

.about-content {
  padding: 88px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-content .sec-label { color: var(--gold); }
.about-content .sec-label::before { background: var(--gold); }
.about-content .sec-title { color: white; }
.about-content .sec-title em { color: var(--gold-light); }

.about-body {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.8;
  margin-top: 16px;
  margin-bottom: 36px;
  max-width: 540px;
}

.btn-gold-sm {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: 13px;
  font-weight: 500;
  padding: 13px 28px;
  border-radius: var(--radius);
  letter-spacing: 0.03em;
  transition: background var(--tr);
}

.btn-gold-sm:hover { background: var(--gold-light); }

.about-sidebar {
  background: rgba(255, 255, 255, 0.04);
  border-left: 1px solid rgba(200, 168, 75, 0.18);
  padding: 64px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 36px;
}

.about-fact {
  border-left: 2px solid var(--gold);
  padding-left: 22px;
}

.fact-num {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 300;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 6px;
}

.fact-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.52);
  font-weight: 300;
  line-height: 1.5;
}

.assoc-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}


/* =============================================================================
   LAYOUT GRIDS
   ============================================================================= */

.two-col {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 64px;
  align-items: start;
}

.two-col-even {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

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

.four-col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}


/* =============================================================================
   BUTTONS
   ============================================================================= */

.btn-navy {
  background: var(--navy);
  color: white;
  font-size: 13px;
  font-weight: 500;
  padding: 13px 28px;
  border-radius: var(--radius);
  transition: background var(--tr);
  display: inline-block;
}

.btn-navy:hover {
  background: var(--navy-mid);
  color: white;
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
  font-size: 13px;
  font-weight: 500;
  padding: 11px 26px;
  border-radius: var(--radius);
  transition: all var(--tr);
  display: inline-block;
}

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

/* Variant used in CTA band — slightly different padding */
.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
  font-size: 13px;
  font-weight: 500;
  padding: 12px 28px;
  border-radius: var(--radius);
  letter-spacing: 0.03em;
  transition: background var(--tr), color var(--tr);
}

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

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  font-size: 13px;
  font-weight: 500;
  padding: 13px 28px;
  border-radius: var(--radius);
  transition: background var(--tr);
  display: inline-block;
}

.btn-gold:hover {
  background: var(--gold-light);
  color: var(--navy);
}

.btn-gold-full {
  background: var(--gold);
  color: var(--navy);
  font-size: 13px;
  font-weight: 500;
  padding: 13px;
  border-radius: var(--radius);
  display: block;
  text-align: center;
  margin-top: 18px;
  transition: background var(--tr);
}

.btn-gold-full:hover {
  background: var(--gold-light);
  color: var(--navy);
}

.btn-ghost {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 12px 24px;
  border-radius: var(--radius);
  transition: all var(--tr);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.5);
  color: white;
}


/* =============================================================================
   CTA BAND
   ============================================================================= */

.cta-band {
  background: var(--gold);
  padding: 52px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-band h2 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 300;
  color: var(--navy);
  margin-bottom: 6px;
}

.cta-band p {
  font-size: 14px;
  color: rgba(15, 34, 64, 0.65);
  max-width: 440px;
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  flex-wrap: wrap;
}


/* =============================================================================
   PATIENT RESOURCES SECTION
   ============================================================================= */

.resources-sec {
  background: var(--cream);
  padding: 72px 60px;
}

.resources-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.resources-sec h2 {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 300;
  color: var(--navy);
  margin-bottom: 8px;
}

.resources-sec p {
  font-size: 14px;
  color: var(--text-mid);
  max-width: 380px;
  line-height: 1.65;
}

.resource-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.res-link {
  background: white;
  border: 1px solid rgba(15, 34, 64, 0.12);
  color: var(--text-mid);
  font-size: 13px;
  font-weight: 400;
  padding: 10px 20px;
  border-radius: 8px;
  transition: all var(--tr);
}

.res-link:hover { border-color: var(--navy); color: var(--navy); }

.res-link.res-primary {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}

.res-link.res-primary:hover { background: var(--navy-mid); }


/* =============================================================================
   TESTIMONIALS
   ============================================================================= */

.testimonials-sec { background: white; }

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

.test-card {
  border: 1px solid rgba(15, 34, 64, 0.08);
  border-radius: 14px;
  padding: 36px 32px;
  position: relative;
  transition: border-color var(--tr), box-shadow var(--tr);
}

.test-card:hover {
  border-color: rgba(200, 168, 75, 0.35);
  box-shadow: 0 8px 28px rgba(15, 34, 64, 0.07);
}

.test-quote-mark {
  font-family: var(--serif);
  font-size: 88px;
  color: var(--gold);
  opacity: 0.22;
  position: absolute;
  top: 10px;
  left: 22px;
  line-height: 1;
  user-select: none;
}

.test-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 18px;
  margin-top: 32px;
}

.test-star {
  width: 13px;
  height: 13px;
  background: var(--gold);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.test-text {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 300;
  font-style: italic;
  color: var(--text-dark);
  line-height: 1.75;
  margin-bottom: 22px;
}

.test-author {
  font-size: 12px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.test-doc {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 2px;
}


/* =============================================================================
   LOCATION / MAP SECTION
   ============================================================================= */

.location-sec {
  background: white;
  display: grid;
  grid-template-columns: 1fr 420px;
}

.location-content {
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.location-detail {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.location-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.loc-icon {
  width: 38px;
  height: 38px;
  background: var(--gold-pale);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
}

.loc-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.loc-val {
  font-size: 14px;
  color: var(--text-dark);
  line-height: 1.5;
}

.loc-val a {
  color: var(--gold);
  transition: color var(--tr);
}

.loc-val a:hover { color: var(--navy); }

.location-map {
  background: linear-gradient(135deg, #e8f0f4 0%, #cddce8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  min-height: 360px;
}

.map-placeholder { text-align: center; }

.map-pin {
  font-size: 40px;
  margin-bottom: 10px;
  display: block;
}

.map-placeholder p {
  font-size: 13px;
  color: var(--text-mid);
}

.map-placeholder a {
  color: var(--navy);
  font-weight: 500;
}


/* =============================================================================
   TEAM GRID
   ============================================================================= */

.team-sec { background: var(--cream); }

.team-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 44px;
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
}

.team-grid .doc-card {
  flex: 0 0 calc(25% - 16.5px);
}

.doc-card {
  background: white;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(15, 34, 64, 0.07);
  transition: box-shadow var(--tr), transform var(--tr);
}

.doc-card:hover {
  box-shadow: 0 12px 36px rgba(15, 34, 64, 0.1);
  transform: translateY(-4px);
}

.doc-photo {
  height: 220px;
  overflow: hidden;
  background: linear-gradient(145deg, #e8f0f8, #d0dff0);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.doc-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.doc-initials-circle {
  width: 72px;
  height: 72px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  color: var(--gold-light);
  letter-spacing: 0.03em;
}

.doc-photo-note {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 10px;
  color: rgba(15, 34, 64, 0.4);
  font-style: italic;
}

/* Scoped to .doc-card to avoid collision with .doc-body (legal pages) */
.doc-card .doc-body {
  padding: 20px 22px;
  border-top: 2px solid var(--gold);
}

.doc-name {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 3px;
  line-height: 1.3;
}

.doc-role {
  font-size: 11px;
  color: var(--text-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* page-team.php uses .doc-creds / .cred-pill — same styles as .doc-credentials / .cred-tag */
.doc-creds,
.doc-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 12px;
}

.cred-pill,
.cred-tag {
  background: var(--teal-hint);
  color: var(--navy-light);
  font-size: 10px;
  font-weight: 500;
  padding: 3px 9px;
  border-radius: 4px;
}

.doc-link {
  font-size: 12px;
  font-weight: 500;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color var(--tr);
}

.doc-link:hover {
  color: var(--navy);
}


/* =============================================================================
   DOC BODY  (legal / accessibility document pages)
   ============================================================================= */

.doc-body {
  max-width: 820px;
  margin: 0 auto;
  padding: 64px 60px;
}

.doc-section {
  margin-bottom: 44px;
  padding-bottom: 44px;
  border-bottom: 0.5px solid rgba(15, 34, 64, 0.09);
}

.doc-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.doc-section h2 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.25;
}

.doc-section h3 {
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 10px;
  margin-top: 18px;
}

.doc-section p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 12px;
}

.doc-section p:last-child {
  margin-bottom: 0;
}

.doc-section ul {
  list-style: none;
  padding: 0;
  margin: 10px 0;
}

.doc-section ul li {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.75;
  padding: 5px 0 5px 20px;
  position: relative;
}

.doc-section ul li::before {
  content: '→';
  color: var(--gold);
  position: absolute;
  left: 0;
  font-size: 12px;
  top: 7px;
}

.doc-section address {
  font-style: normal;
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.8;
  background: var(--cream);
  border-left: 3px solid var(--gold);
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
  margin-top: 10px;
}

.highlight-box {
  background: var(--gold-pale);
  border-left: 3px solid var(--gold);
  padding: 18px 22px;
  border-radius: 0 10px 10px 0;
  margin: 16px 0;
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.75;
}

.conformance-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--teal-hint);
  border: 1px solid rgba(15, 34, 64, 0.12);
  border-radius: 8px;
  padding: 14px 20px;
  margin: 20px 0;
  font-size: 13px;
  color: var(--navy);
}

.conformance-badge strong {
  font-weight: 500;
}


/* =============================================================================
   PATIENT INFO
   ============================================================================= */

.info-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px 28px;
  background: white;
  border-bottom: 1px solid rgba(15, 34, 64, 0.06);
  transition: background var(--tr);
}

.info-step:first-child { border-radius: 14px 14px 0 0; }
.info-step:last-child  { border-radius: 0 0 14px 14px; border-bottom: none; }

.info-step:hover {
  background: var(--gold-pale);
}

.step-circle {
  width: 40px;
  height: 40px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  color: var(--gold-light);
  flex-shrink: 0;
}

.step-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 4px;
}

.step-body {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.6;
}


/* =============================================================================
   RESOURCE CARDS
   ============================================================================= */

.resource-card {
  background: white;
  border-radius: 12px;
  padding: 24px 26px;
  border: 1px solid rgba(15, 34, 64, 0.08);
  transition: border-color var(--tr), transform var(--tr);
  display: block;
}

.resource-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.resource-icon {
  width: 40px;
  height: 40px;
  background: var(--gold-pale);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 14px;
}

.resource-title {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 6px;
}

.resource-body {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 12px;
}

.resource-link {
  font-size: 12px;
  font-weight: 500;
  color: var(--gold);
}


/* =============================================================================
   INSURANCE
   ============================================================================= */

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

.ins-item {
  background: var(--cream);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  gap: 10px;
}

.ins-item::before {
  content: '✓';
  color: var(--gold);
  font-weight: 600;
  flex-shrink: 0;
}


/* =============================================================================
   CONTACT
   ============================================================================= */

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

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

.form-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 7px;
  display: block;
}

/* Shared base for all form fields */
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid rgba(15, 34, 64, 0.15);
  border-radius: 8px;
  font-size: 14px;
  font-family: var(--sans);
  color: var(--text-dark);
  background: white;
  transition: border-color var(--tr);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-select {
  appearance: none;
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-submit {
  background: var(--navy);
  color: white;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  padding: 14px 36px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background var(--tr);
  width: 100%;
}

.form-submit:hover {
  background: var(--navy-mid);
}

.form-note {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 10px;
  line-height: 1.6;
}

.contact-sidebar-card {
  background: var(--navy);
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 20px;
}

.contact-sidebar-label {
  font-size: 10px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.contact-sidebar-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.contact-sidebar-item:last-child {
  margin-bottom: 0;
}

.contact-sidebar-icon {
  width: 34px;
  height: 34px;
  background: rgba(200, 168, 75, 0.15);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.contact-sidebar-lbl {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 3px;
}

.contact-sidebar-val {
  font-size: 13px;
  color: white;
  line-height: 1.5;
}

.contact-sidebar-val a {
  color: var(--gold-light);
}


/* =============================================================================
   HISTORY TIMELINE
   ============================================================================= */

.timeline-history {
  display: flex;
  flex-direction: column;
}

.timeline-hist-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 0.5px solid rgba(15, 34, 64, 0.08);
}

.timeline-hist-item:last-child {
  border-bottom: none;
}

.hist-year {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  padding-top: 4px;
}

.hist-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 4px;
}

.hist-body {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.7;
}


/* =============================================================================
   STAT CARDS  (about page: .stat-card)
   ============================================================================= */

.stat-card {
  background: white;
  border-radius: 12px;
  padding: 28px;
  text-align: center;
  border: 1px solid rgba(15, 34, 64, 0.07);
}

/* Shared stat typography — specific contexts override size/weight below */
.stat-num {
  font-family: var(--serif);
  color: var(--navy);
  line-height: 1;
}

.stat-lbl {
  font-size: 12px;
  color: var(--text-light);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

/* About page stat cards */
.stat-card .stat-num {
  font-size: 48px;
  font-weight: 300;
  margin-bottom: 8px;
}

/* Physician stats bar (.stats-bar .stat-item) — different size */
.stat-item .stat-num {
  font-size: 38px;
  font-weight: 400;
  margin-bottom: 5px;
}

.stat-item .stat-lbl {
  font-size: 11px;
}


/* =============================================================================
   ASSOCIATION BADGES
   ============================================================================= */

.assoc-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.assoc-badge {
  border: 1px solid rgba(15, 34, 64, 0.12);
  padding: 7px 16px;
  border-radius: 6px;
  font-size: 12px;
  color: var(--text-mid);
}

/* On navy/dark background (about section) the badge uses gold border + white text */
.about-sidebar .assoc-badge,
.assoc-row .assoc-badge {
  border-color: rgba(200, 168, 75, 0.25);
  font-size: 10px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.06em;
  padding: 5px 12px;
}

.assoc-strip .assoc-badge {
  border-color: rgba(15, 34, 64, 0.15);
  color: var(--text-mid);
}


/* =============================================================================
   FOOTER
   ============================================================================= */

footer {
  background: #07111d;
  padding: 56px 60px 28px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  margin-bottom: 24px;
}

.footer-logo {
  filter: brightness(0) invert(1);
  height: 38px;
  width: auto;
  margin-bottom: 16px;
}

.footer-brand-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.80);
  line-height: 1.7;
  margin-bottom: 18px;
}

.footer-socials {
  display: flex;
  gap: 8px;
}

.social-btn {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.40);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.85);
  font-size: 11px;
  transition: all var(--tr);
}

.social-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.footer-col h4 {
  font-size: 10px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 9px;
}

.footer-col ul li a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--tr);
}

.footer-col ul li a:hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.70);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.75);
  transition: color var(--tr);
}

.footer-bottom a:hover {
  color: #ffffff;
}

/* Trust/accreditation badges row */
.footer-badges {
  background: #0c2040;
  padding: 28px 60px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-badges-label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.70);
  margin: 0 0 16px;
}

.footer-badges-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.trust-badge {
  display: inline-flex;
  color: rgba(255, 255, 255, 0.75);
  height: 64px;
  width: 120px;
  transition: color 0.25s, opacity 0.25s;
  opacity: 1;
  text-decoration: none;
}

.trust-badge:hover { color: #ffffff; opacity: 1; }
.trust-badge svg { width: 100%; height: 100%; }

.footer-accred {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.accred-pill {
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 11px;
  border-radius: 4px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.28);
  letter-spacing: 0.05em;
}


/* =============================================================================
   PHYSICIAN PROFILE PAGES
   ============================================================================= */

.profile-hero {
  background: var(--navy);
  padding: 72px 60px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  align-items: center;
}

.photo-frame {
  width: 240px;
  height: 300px;
  background: linear-gradient(145deg, #1e4575, #0f2240);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(200, 168, 75, 0.25);
  overflow: hidden;
  flex-shrink: 0;
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.photo-initials {
  font-family: var(--serif);
  font-size: 64px;
  font-weight: 300;
  color: rgba(200, 168, 75, 0.45);
  line-height: 1;
}

.photo-placeholder-note {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.25);
  margin-top: 8px;
  font-style: italic;
}

.profile-intro {
  color: white;
}

.profile-breadcrumb {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.profile-breadcrumb a {
  color: rgba(255, 255, 255, 0.45);
  transition: color var(--tr);
}

.profile-breadcrumb a:hover {
  color: var(--gold-light);
}

.profile-name {
  font-family: var(--serif);
  font-size: 54px;
  font-weight: 300;
  color: white;
  line-height: 1.1;
  margin-bottom: 8px;
}

.profile-title {
  font-size: 14px;
  font-weight: 400;
  color: var(--gold-light);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.cred-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

/* On profile hero, cred-tag uses transparent background + gold border */
.profile-hero .cred-tag {
  background: transparent !important;
  border: 1px solid rgba(200, 168, 75, 0.3);
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  padding: 5px 14px;
  border-radius: 100px;
}

.gold-tag {
  background: rgba(200, 168, 75, 0.12);
  border-color: rgba(200, 168, 75, 0.5);
  color: var(--gold-light);
}

.profile-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.stats-bar {
  background: var(--cream);
  border-top: 3px solid var(--gold);
  padding: 28px 60px;
  display: flex;
}

.stat-item {
  flex: 1;
  text-align: center;
  border-right: 1px solid rgba(0, 0, 0, 0.08);
  padding: 0 24px;
}

.stat-item:last-child {
  border-right: none;
}

.profile-body {
  background: white;
  max-width: 1100px;
  margin: 0 auto;
  padding: 72px 60px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 60px;
  align-items: start;
}

.profile-section {
  margin-bottom: 52px;
}

.timeline {
  display: flex;
  flex-direction: column;
}

.timeline-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 0.5px solid rgba(15, 34, 64, 0.08);
}

.timeline-item:last-child {
  border-bottom: none;
}

.timeline-year {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 400;
  color: var(--gold);
  line-height: 1.4;
  padding-top: 2px;
  flex-shrink: 0;
}

.timeline-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 3px;
}

.timeline-sub {
  font-size: 13px;
  color: var(--text-mid);
}

.pub-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pub-item {
  padding: 16px 20px;
  border-left: 3px solid var(--gold);
  background: var(--cream);
  border-radius: 0 8px 8px 0;
}

.pub-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 4px;
  line-height: 1.5;
}

.pub-meta {
  font-size: 12px;
  color: var(--text-light);
}

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

.pres-item {
  padding: 12px 16px;
  border: 0.5px solid rgba(15, 34, 64, 0.1);
  border-radius: 8px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.pres-year {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--gold);
  flex-shrink: 0;
  width: 40px;
  padding-top: 1px;
}

.pres-text {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.5;
}

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

.member-item {
  font-size: 13px;
  color: var(--text-mid);
  padding: 8px 14px;
  background: var(--teal-hint);
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.member-item::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

.sidebar-card {
  background: var(--navy);
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 20px;
}

.sidebar-card-cream {
  background: var(--cream);
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 20px;
  border: 1px solid rgba(15, 34, 64, 0.07);
}

.sidebar-label {
  font-size: 10px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.sidebar-label-dark {
  color: rgba(255, 255, 255, 0.45);
}

.contact-row {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.contact-icon {
  width: 32px;
  height: 32px;
  background: rgba(200, 168, 75, 0.15);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.contact-lbl {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.contact-val {
  font-size: 13px;
  color: white;
}

.contact-val a {
  color: var(--gold-light);
}

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

.award-item {
  font-size: 12px;
  color: var(--text-mid);
  line-height: 1.5;
  padding-bottom: 10px;
  border-bottom: 0.5px solid rgba(15, 34, 64, 0.08);
}

.award-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.award-year {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 400;
  color: var(--gold);
  display: block;
  margin-bottom: 2px;
}

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

.rel-card {
  background: var(--cream);
  border-radius: 12px;
  padding: 18px;
  text-align: center;
  border: 1px solid rgba(15, 34, 64, 0.06);
  transition: all var(--tr);
}

.rel-card:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.rel-initials {
  width: 48px;
  height: 48px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 16px;
  color: var(--gold-light);
  margin: 0 auto 10px;
}

.rel-name {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 2px;
  line-height: 1.3;
}

.rel-link {
  font-size: 10px;
  color: var(--gold);
}


/* =============================================================================
   PHYSICIAN BIO (narrative "About" section on profile pages)
   ============================================================================= */

.physician-bio {
  margin-bottom: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(15, 34, 64, 0.08);
}

.physician-bio h2 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 300;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.2;
}

.physician-bio p {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 12px;
}

.physician-bio p:last-child { margin-bottom: 0; }


/* =============================================================================
   BLOG INDEX
   ============================================================================= */

.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.cat-btn {
  font-size: 13px;
  color: var(--text-mid);
  background: var(--cream);
  border: 1.5px solid rgba(15, 34, 64, 0.12);
  padding: 8px 20px;
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--tr);
}

.cat-btn:hover { border-color: var(--navy); color: var(--navy); }
.cat-btn.active { background: var(--navy); color: white; border-color: var(--navy); }

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

.blog-card {
  background: white;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(15, 34, 64, 0.07);
  transition: all var(--tr);
}

.blog-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(15, 34, 64, 0.08);
}

.blog-card a { display: block; text-decoration: none; }

.blog-card-top {
  background: var(--navy);
  padding: 24px 24px 20px;
}

.blog-card-cat {
  font-size: 10px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.blog-card-title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 300;
  color: white;
  line-height: 1.35;
}

.blog-card-body { padding: 18px 22px; }

.blog-card-desc {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 14px;
}

.blog-card-meta {
  font-size: 11px;
  color: var(--text-light);
}

.blog-card-link {
  font-size: 12px;
  font-weight: 500;
  color: var(--gold);
}


/* =============================================================================
   ARTICLE / BLOG POST
   ============================================================================= */

.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 56px;
  align-items: start;
  max-width: 1060px;
  margin: 0 auto;
}

.article-content h2 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  color: var(--navy);
  margin: 36px 0 14px;
  line-height: 1.3;
}

.article-content h3 {
  font-size: 16px;
  font-weight: 500;
  color: var(--navy);
  margin: 24px 0 10px;
}

.article-content p {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 16px;
}

.article-content ul,
.article-content ol {
  padding-left: 0;
  margin: 12px 0 18px;
  list-style: none;
}

.article-content ul li,
.article-content ol li {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.75;
  padding: 6px 0 6px 22px;
  border-bottom: 0.5px solid rgba(15, 34, 64, 0.06);
  position: relative;
}

.article-content ul li:last-child,
.article-content ol li:last-child { border-bottom: none; }

.article-content ul li::before {
  content: '→';
  color: var(--gold);
  position: absolute;
  left: 0;
  font-size: 12px;
  top: 9px;
}

.article-content ol { counter-reset: ol; }
.article-content ol li { counter-increment: ol; }

.article-content ol li::before {
  content: counter(ol);
  color: var(--gold);
  position: absolute;
  left: 0;
  font-weight: 500;
  font-size: 13px;
  top: 8px;
}

.article-content blockquote {
  border-left: 3px solid var(--gold);
  padding: 16px 22px;
  background: var(--gold-pale);
  border-radius: 0 10px 10px 0;
  margin: 22px 0;
  font-family: var(--serif);
  font-size: 17px;
  font-style: italic;
  color: var(--text-dark);
  line-height: 1.7;
}

.article-content .callout {
  background: var(--teal-hint);
  border-radius: 10px;
  padding: 18px 22px;
  margin: 20px 0;
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.7;
}

.article-content .callout strong { color: var(--navy); }

.article-content .disclaimer {
  background: var(--cream);
  border-radius: 10px;
  padding: 16px 20px;
  margin-top: 32px;
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.65;
  font-style: italic;
}

.article-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-cream {
  background: var(--cream);
  border-radius: 14px;
  padding: 22px;
  margin-bottom: 18px;
  border: 1px solid rgba(15, 34, 64, 0.08);
}

.sidebar-cta h4 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 300;
  color: white;
  margin-bottom: 8px;
  line-height: 1.3;
}

.sidebar-cta p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
  margin-bottom: 16px;
}

.related-post {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rel-post-link {
  font-size: 13px;
  color: var(--navy);
  font-weight: 500;
  display: block;
  padding: 10px 0;
  border-bottom: 0.5px solid rgba(15, 34, 64, 0.08);
  line-height: 1.4;
  transition: color var(--tr);
}

.rel-post-link:hover { color: var(--gold); }
.rel-post-link:last-child { border-bottom: none; }

.arrow-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.arrow-list li {
  font-size: 14px;
  color: var(--text-mid);
  padding: 7px 0;
  border-bottom: 0.5px solid rgba(15, 34, 64, 0.07);
  display: flex;
  align-items: flex-start;
  gap: 9px;
  line-height: 1.5;
}

.arrow-list li:last-child { border-bottom: none; }
.arrow-list li::before { content: '→'; color: var(--gold); flex-shrink: 0; margin-top: 1px; }


/* =============================================================================
   ACCESSIBILITY TOOLBAR
   ============================================================================= */

#a11y-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  background: #0a1a30;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  padding: 4px 16px;
  font-size: 12px;
  font-family: var(--sans, sans-serif);
  line-height: 1;
}

#a11y-bar button {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.85);
  border-radius: 3px;
  padding: 3px 8px;
  cursor: pointer;
  font-size: 12px;
  font-family: inherit;
  transition: background 0.15s, color 0.15s;
  line-height: 1.4;
}

#a11y-bar button:hover,
#a11y-bar button:focus-visible {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  outline: 2px solid #4fa3e0;
  outline-offset: 2px;
}

#a11y-bar .a11y-label {
  color: rgba(255, 255, 255, 0.45);
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-right: 4px;
  user-select: none;
}

#a11y-bar button.a11y-active {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}

/* Skip link */
.skip-to-main {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 100000;
  background: #0f2240;
  color: #fff;
  padding: 8px 16px;
  border-radius: 0 0 4px 4px;
  font-size: 14px;
  font-family: var(--sans, sans-serif);
  text-decoration: none;
  transition: top 0.2s;
}

.skip-to-main:focus { top: 36px; outline: 3px solid #4fa3e0; }

/* Push page down so a11y bar doesn't overlap nav */
body { padding-top: 32px !important; }

/* High contrast mode */
body.a11y-hc {
  filter: contrast(1.5) saturate(0);
}

/* Large text mode */
body.a11y-lg { font-size: 18px !important; }

body.a11y-lg p,
body.a11y-lg li,
body.a11y-lg td,
body.a11y-lg .card-body {
  font-size: 1.15em !important;
}


/* =============================================================================
   RESPONSIVE — TABLET (≤1024px)
   ============================================================================= */

@media (max-width: 1024px) {
  .two-col,
  .two-col-even,
  .contact-grid     { grid-template-columns: 1fr; }

  .team-grid        { justify-content: flex-start; }
  .team-grid .doc-card { flex: 0 0 calc(50% - 11px); }
  .three-col        { grid-template-columns: repeat(2, 1fr); }
  .four-col         { grid-template-columns: repeat(2, 1fr); }

  .footer-top       { grid-template-columns: 1fr 1fr; }

  .profile-hero     { grid-template-columns: 1fr; gap: 32px; }
  .photo-frame      { width: 180px; height: 220px; }
  .profile-body     { grid-template-columns: 1fr; padding: 48px 32px; }
  .related-docs     { grid-template-columns: repeat(2, 1fr); }

  /* Home page specific */
  .hero h1          { font-size: 50px; }
  .hero-float-cards { display: none; }
  .services-grid    { grid-template-columns: repeat(2, 1fr); }
  .test-grid        { grid-template-columns: repeat(2, 1fr); }
  .about-sec        { grid-template-columns: 1fr; }
  .about-sidebar    { border-left: none; border-top: 1px solid rgba(200, 168, 75, 0.18); flex-direction: row; flex-wrap: wrap; gap: 24px; }
  .location-sec     { grid-template-columns: 1fr; }
  .location-map     { min-height: 240px; }

  /* Blog/article */
  .article-layout   { grid-template-columns: 1fr; }
  .article-sidebar  { position: static; }
}

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


/* =============================================================================
   RESPONSIVE — MOBILE (≤768px)
   ============================================================================= */

@media (max-width: 768px) {
  .util-bar         { display: none; }
  nav.site-nav,
  .site-nav         { padding: 0 24px; }
  .nav-links        { display: none; }

  .menu-toggle      { display: flex !important; }

  /* Mobile nav open state */
  .nav-links.is-open {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: var(--warm-white);
    border-bottom: 3px solid var(--gold);
    box-shadow: 0 8px 24px rgba(15, 34, 64, 0.14);
    padding: 8px 24px 20px;
    gap: 0;
    z-index: 199;
  }

  .nav-links.is-open > li {
    border-bottom: 1px solid rgba(15, 34, 64, 0.07);
  }

  .nav-links.is-open > li:last-child {
    border-bottom: none;
  }

  .nav-links.is-open > li > a {
    display: block;
    padding: 13px 0;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
  }

  .nav-links.is-open > li.nav-cta > a {
    background: none;
    color: var(--gold) !important;
    padding: 13px 0;
    border-radius: 0;
    font-size: 15px;
  }

  /* Hide dropdowns on mobile */
  .nav-links.is-open .sub-menu { display: none !important; }
  .nav-links > li.menu-item-has-children > a::after { display: none; }

  .page-hero        { padding: 52px 24px 48px; }
  .page-hero h1     { font-size: 38px; }

  .sec              { padding: 52px 24px; }
  .sec-pad          { padding: 60px 24px; }
  .sec-title        { font-size: 32px; }
  .doc-body         { padding: 44px 24px; }
  .cta-band         { padding: 40px 24px; }

  .team-grid .doc-card { flex: 0 0 100%; }
  .three-col,
  .four-col         { grid-template-columns: 1fr; }

  footer            { padding: 48px 24px 24px; }
  .footer-top       { grid-template-columns: 1fr; gap: 28px; }

  .profile-hero     { padding: 48px 24px; }
  .profile-name     { font-size: 36px; }
  .stats-bar        { padding: 20px 24px; flex-wrap: wrap; }
  .stat-item        { min-width: 45%; border-right: none; border-bottom: 1px solid rgba(0, 0, 0, 0.08); padding: 12px 0; margin-bottom: 4px; }
  .related-docs     { grid-template-columns: repeat(3, 1fr); }

  /* Home page specific */
  .hero-content     { padding: 60px 24px; }
  .hero h1          { font-size: 40px; }
  .services-grid    { grid-template-columns: 1fr; gap: 2px; }
  .test-grid        { grid-template-columns: 1fr; }
  .pain-strip       { padding: 22px 24px; }
  .resources-sec    { padding: 52px 24px; }
  .location-content { padding: 52px 24px; }
}

@media (max-width: 640px) {
  .trust-badge      { width: 100px; height: 54px; }
  .footer-badges    { padding: 20px 24px; }
}

@media (max-width: 600px) {
  .blog-grid        { grid-template-columns: 1fr; }
}
