/* ===========================
   FindStemCellClinics.com
   Editorial Medical Design
   =========================== */

:root {
  --navy: #0C1B33;
  --navy-mid: #132B4F;
  --blue: #1B4F8F;
  --blue-light: #2563EB;
  --green: #059669;
  --green-dark: #047857;
  --green-pale: #D1FAE5;
  --sage: #EEF4F0;
  --cream: #FAFAF8;
  --white: #FFFFFF;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-900: #0F172A;

  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(12,27,51,0.06), 0 1px 2px rgba(12,27,51,0.04);
  --shadow: 0 4px 16px rgba(12,27,51,0.07), 0 1px 3px rgba(12,27,51,0.05);
  --shadow-lg: 0 12px 40px rgba(12,27,51,0.1), 0 4px 12px rgba(12,27,51,0.06);
  --shadow-xl: 0 24px 60px rgba(12,27,51,0.12), 0 8px 20px rgba(12,27,51,0.08);

  --container: 1200px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--gray-700);
  background: var(--cream);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* === Typography === */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.15;
  font-weight: 400;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }

.h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); margin-bottom: 1.5rem; }

h1 em, h2 em {
  font-style: italic;
  color: var(--green);
}

/* === Layout === */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-sm {
  padding: 40px 0;
}

.section-dark {
  background: var(--navy);
  color: var(--gray-300);
  position: relative;
}

.section-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 200px;
  pointer-events: none;
}

.section-dark h2, .section-dark h3 {
  color: var(--white);
}

/* === Header === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 248, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  color: var(--green);
  display: flex;
}

.logo-text {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.logo-accent {
  color: var(--green);
}

.main-nav {
  display: flex;
  gap: 32px;
}

.main-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: color var(--transition);
  position: relative;
}

.main-nav a:hover, .main-nav a.active {
  color: var(--navy);
}

.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--green);
  border-radius: 1px;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-toggle span {
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 1px;
  transition: var(--transition);
}

/* === Hero === */
.hero {
  background: var(--navy);
  position: relative;
  overflow: hidden;
  padding: 100px 0 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(5,150,105,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 20%, rgba(27,79,143,0.2) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 50% 50%, rgba(37,99,235,0.08) 0%, transparent 50%);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  background-size: 200px;
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green);
  margin-bottom: 20px;
}

.hero-title {
  color: var(--white);
  margin-bottom: 24px;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
}

.hero-title em {
  color: var(--green);
  font-style: italic;
}

.hero-sub {
  color: var(--gray-400);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

/* === Search === */
.search-box {
  max-width: 560px;
  margin: 0 auto 48px;
}

.search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--white);
  border-radius: 60px;
  padding: 6px 6px 6px 20px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,0.1);
  transition: box-shadow var(--transition);
}

.search-input-wrap:focus-within {
  box-shadow: var(--shadow-xl), 0 0 0 2px var(--green);
}

.search-input-wrap svg {
  color: var(--gray-400);
  flex-shrink: 0;
}

.search-input-wrap input {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 12px 16px;
  background: transparent;
  color: var(--gray-900);
}

.search-input-wrap input::placeholder {
  color: var(--gray-400);
}

.search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
  max-height: 320px;
  overflow-y: auto;
  display: none;
  z-index: 50;
}

.search-results.active {
  display: block;
}

.search-result-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  border-bottom: 1px solid var(--gray-100);
  cursor: pointer;
  transition: background var(--transition);
}

.search-result-item:hover {
  background: var(--sage);
}

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

.search-result-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
}

.search-result-location {
  font-size: 0.8rem;
  color: var(--gray-500);
}

/* === Hero Stats === */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--white);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* === Section Headers === */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green);
  margin-bottom: 12px;
}

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

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 60px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}

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

.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--gray-300);
}

.btn-outline:hover {
  border-color: var(--green);
  color: var(--green);
}

.section-dark .btn-outline {
  color: var(--white);
  border-color: rgba(255,255,255,0.25);
}

.section-dark .btn-outline:hover {
  border-color: var(--green);
  color: var(--green);
}

.btn-block {
  display: flex;
  width: 100%;
}

/* === State Grid === */
.state-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.state-card, .state-card-full {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  transition: all var(--transition);
  animation-delay: var(--delay, 0s);
}

.state-card:hover, .state-card-full:hover {
  border-color: var(--green);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.state-name {
  font-weight: 600;
  color: var(--navy);
  flex: 1;
}

.state-count {
  font-size: 0.8rem;
  color: var(--gray-500);
}

.state-arrow {
  color: var(--green);
  font-size: 1.1rem;
  transition: transform var(--transition);
}

.state-card:hover .state-arrow,
.state-card-full:hover .state-arrow {
  transform: translateX(3px);
}

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

/* === City Pills === */
.city-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.city-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 60px;
  font-size: 0.9rem;
  transition: all var(--transition);
}

.city-pill:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-sm);
}

.pill-count {
  background: var(--sage);
  color: var(--green-dark);
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* === Condition Grid === */
.condition-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.condition-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  animation-delay: var(--delay, 0s);
}

.condition-card:hover {
  border-color: var(--green);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.condition-cat {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green);
  margin-bottom: 10px;
}

.condition-card h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.condition-card p {
  font-size: 0.88rem;
  color: var(--gray-500);
  flex: 1;
  margin-bottom: 16px;
}

.card-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green);
  transition: color var(--transition);
}

.condition-card:hover .card-link,
.treatment-card:hover .card-link {
  color: var(--green-dark);
}

.condition-category {
  margin-bottom: 48px;
}

.condition-category h2 {
  margin-bottom: 20px;
}

/* === Treatment Grid === */
.treatment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  position: relative;
}

.treatment-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  animation-delay: var(--delay, 0s);
}

.treatment-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--green);
  transform: translateY(-3px);
}

.treatment-card h3 {
  font-size: 1.6rem;
  color: var(--green);
  margin-bottom: 4px;
}

.treatment-full-name {
  font-size: 0.85rem;
  color: var(--gray-400);
  margin-bottom: 16px;
}

.treatment-meta {
  margin-bottom: 12px;
}

.treatment-price {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--white);
}

.treatment-card p {
  font-size: 0.88rem;
  color: var(--gray-400);
  flex: 1;
  margin-bottom: 16px;
}

.treatment-card .card-link {
  color: var(--green);
}

/* Treatment Compare Grid (treatments list page) */
.treatment-compare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.treatment-compare-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  animation-delay: var(--delay, 0s);
}

.treatment-compare-card:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.tcc-header {
  padding: 28px 28px 20px;
  border-bottom: 1px solid var(--gray-100);
}

.tcc-header h2 {
  font-size: 1.5rem;
  color: var(--green);
  margin-bottom: 4px;
}

.tcc-fullname {
  font-size: 0.85rem;
  color: var(--gray-500);
}

.tcc-body {
  padding: 20px 28px;
  flex: 1;
}

.tcc-body dl {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 8px 16px;
}

.tcc-body dt {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gray-500);
}

.tcc-body dd {
  font-size: 0.9rem;
  color: var(--gray-700);
}

.tcc-price {
  font-family: var(--font-display);
  font-size: 1.1rem !important;
  color: var(--navy) !important;
}

.tcc-footer {
  padding: 16px 28px;
  border-top: 1px solid var(--gray-100);
}

/* === Clinic Card === */
.clinic-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
  transition: all var(--transition);
}

.clinic-card:hover {
  border-color: var(--green);
  box-shadow: var(--shadow);
}

.clinic-card-body {
  flex: 1;
  min-width: 0;
}

.clinic-card-top {
  margin-bottom: 8px;
}

.clinic-card-name {
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.clinic-card-name a {
  color: var(--navy);
  transition: color var(--transition);
}

.clinic-card-name a:hover {
  color: var(--green);
}

.clinic-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #F59E0B;
  margin-bottom: 4px;
}

.clinic-rating-lg {
  gap: 3px;
}

.rating-text {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--gray-700);
  margin-left: 4px;
}

.rating-count {
  font-size: 0.8rem;
  color: var(--gray-500);
}

.clinic-card-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 10px;
}

.clinic-detail {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--gray-600);
}

.clinic-detail svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--gray-400);
}

.clinic-card-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.tag {
  display: inline-flex;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tag-npi {
  background: var(--sage);
  color: var(--green-dark);
}

.tag-google {
  background: #EFF6FF;
  color: #1D4ED8;
}

.tag-warning {
  background: #FEF2F2;
  color: #DC2626;
}

.clinic-card-action {
  flex-shrink: 0;
  align-self: center;
}

.clinic-list {
  max-width: 800px;
}

/* === Clinic Profile === */
.clinic-profile {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: flex-start;
}

.clinic-profile-header {
  margin-bottom: 36px;
}

.clinic-profile-header h1 {
  margin-bottom: 8px;
}

.clinic-profile-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 1rem;
  color: var(--gray-500);
  margin-bottom: 12px;
}

.clinic-profile-location svg {
  color: var(--green);
}

.clinic-profile-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.clinic-profile-section {
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--gray-200);
}

.clinic-profile-section h2 {
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.info-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-item {
  display: flex;
  gap: 14px;
}

.info-item svg {
  color: var(--green);
  flex-shrink: 0;
  margin-top: 3px;
}

.info-item strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gray-500);
  margin-bottom: 2px;
}

.info-item p {
  color: var(--gray-700);
}

.info-item a {
  color: var(--blue);
  transition: color var(--transition);
}

.info-item a:hover {
  color: var(--green);
}

/* === Sidebar === */
.sidebar-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 16px;
}

.sidebar-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.sidebar-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-bottom: 16px;
}

.sidebar-cta {
  background: var(--sage);
  border-color: transparent;
}

.sidebar-disclaimer {
  background: #FFFBEB;
  border-color: #FDE68A;
}

.sidebar-disclaimer h3 {
  color: #92400E;
}

.sidebar-disclaimer p {
  color: #78350F;
  font-size: 0.82rem;
}

.sidebar-dl {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 8px 12px;
}

.sidebar-dl dt {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--gray-500);
}

.sidebar-dl dd {
  font-size: 0.88rem;
  color: var(--gray-700);
}

/* === Content Layout === */
.content-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: flex-start;
}

.content-block {
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--gray-200);
}

.content-block:last-child {
  border-bottom: none;
}

.content-block h2 {
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.content-block p {
  font-size: 0.95rem;
  line-height: 1.75;
}

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

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
}

.check-list li::before {
  content: '';
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--sage);
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='3'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  counter-reset: none;
}

.steps-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.95rem;
}

.step-num {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 0.95rem;
}

.treatment-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.treatment-pill {
  display: inline-flex;
  padding: 6px 16px;
  background: var(--sage);
  color: var(--green-dark);
  border-radius: 60px;
  font-size: 0.82rem;
  font-weight: 600;
}

.related-treatments {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.treatment-link-card {
  padding: 20px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  transition: all var(--transition);
}

.treatment-link-card:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-sm);
}

.treatment-link-card h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.treatment-link-card p {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-bottom: 8px;
}

/* === Page Header === */
.page-header {
  background: var(--navy);
  padding: 48px 0 56px;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 20% 80%, rgba(5,150,105,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(27,79,143,0.15) 0%, transparent 50%);
}

.page-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  background-size: 200px;
  pointer-events: none;
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  color: var(--white);
  margin-bottom: 8px;
}

.page-header-sm {
  padding: 32px 0 16px;
}

.page-sub {
  color: var(--gray-400);
  font-size: 1rem;
}

.page-tag {
  display: inline-flex;
  padding: 4px 14px;
  background: rgba(5,150,105,0.15);
  color: var(--green);
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

/* === Breadcrumb === */
.breadcrumb {
  margin-bottom: 20px;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}

.breadcrumb li {
  font-size: 0.82rem;
  color: var(--gray-400);
}

.breadcrumb li + li::before {
  content: '/';
  margin-right: 8px;
  color: var(--gray-500);
  opacity: 0.5;
}

.breadcrumb a {
  color: var(--gray-400);
  transition: color var(--transition);
}

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

.breadcrumb span {
  color: var(--gray-300);
}

/* === CTA Block === */
.cta-card {
  text-align: center;
  padding: 60px 40px;
  background: var(--navy);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 100%, rgba(5,150,105,0.15) 0%, transparent 60%);
}

.cta-card h2 {
  color: var(--white);
  margin-bottom: 12px;
  position: relative;
}

.cta-card p {
  color: var(--gray-400);
  max-width: 500px;
  margin: 0 auto 28px;
  position: relative;
}

.cta-card .btn {
  position: relative;
}

/* === 404 === */
.section-404 {
  padding: 120px 0;
}

.error-page {
  text-align: center;
}

.error-page h1 {
  font-size: 8rem;
  color: var(--gray-200);
  line-height: 1;
  margin-bottom: 16px;
}

.error-page p {
  color: var(--gray-500);
  margin-bottom: 28px;
  font-size: 1.1rem;
}

/* === Footer === */
.site-footer {
  background: var(--navy);
  color: var(--gray-400);
  padding: 64px 0 32px;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  background-size: 200px;
  pointer-events: none;
}

.site-footer .container {
  position: relative;
}

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

.footer-brand p {
  font-size: 0.88rem;
  margin-top: 12px;
  color: var(--gray-400);
  max-width: 300px;
  line-height: 1.6;
}

.footer-brand .logo-text {
  color: var(--white);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 0.88rem;
  color: var(--gray-400);
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--green);
}

.footer-disclaimer {
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 24px;
}

.footer-disclaimer p {
  font-size: 0.78rem;
  color: var(--gray-500);
  line-height: 1.7;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--gray-500);
}

.text-muted {
  color: var(--gray-500);
  font-size: 0.88rem;
  margin-top: 20px;
}

/* === Reveal Animation === */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--delay, 0s);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === Responsive === */
@media (max-width: 1024px) {
  .clinic-profile,
  .content-layout {
    grid-template-columns: 1fr;
  }

  .clinic-profile-sidebar,
  .content-sidebar {
    order: -1;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    flex-direction: column;
    padding: 16px 24px;
    gap: 12px;
    box-shadow: var(--shadow);
  }

  .main-nav.active {
    display: flex;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero {
    padding: 64px 0 56px;
  }

  .hero-title {
    font-size: clamp(1.8rem, 7vw, 2.8rem);
  }

  .hero-stats {
    gap: 24px;
  }

  .section {
    padding: 48px 0;
  }

  .state-grid,
  .condition-grid,
  .treatment-grid,
  .treatment-compare-grid {
    grid-template-columns: 1fr;
  }

  .clinic-card {
    flex-direction: column;
  }

  .clinic-card-action {
    align-self: flex-start;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .page-header {
    padding: 32px 0 40px;
  }

  .cta-card {
    padding: 40px 24px;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .stat {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .stat-num {
    font-size: 1.5rem;
  }
}
