/* ym-icons — self-hosted SVG sprite, consistent with PHP portal */
@import url('/public/icons/ym-icons.css?v=20260425');

/* YourMD Telehealth - Apple-style Design System (aligned with telehealth.yourmd.online home) */
:root {
  --primary: #0071e3;           /* Apple blue */
  --primary-dark: #0077ed;
  --primary-light: #3a94ea;
  --secondary: #34c759;          /* Apple green */
  --secondary-dark: #2fb850;
  --accent: #f59e0b;
  --dark: #1d1d1f;               /* Apple near-black text */
  --gray-50: #fbfbfd;            /* Apple surface */
  --gray-100: #f5f5f7;           /* Apple bg-secondary */
  --gray-200: #d2d2d7;           /* Apple divider */
  --gray-300: #c7c7cc;
  --gray-500: #86868b;           /* Apple text-secondary */
  --gray-700: #424245;
  --gray-900: #1d1d1f;           /* Apple text */
  --white: #ffffff;
  --danger: #ff3b30;
  --success: #34c759;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-pill: 980px;           /* Apple pill radius */
  --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.06), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.08), 0 4px 8px rgba(0,0,0,0.04);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.08), 0 8px 16px rgba(0,0,0,0.04);
}

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

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: var(--gray-900);
  line-height: 1.47;
  letter-spacing: -0.022em;
  background: var(--white);
  overflow-x: hidden;
  max-width: 100vw;
  -webkit-font-smoothing: antialiased;
}

/* Navigation */
/* ── Navigation ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: visible;
  border-bottom: 1px solid var(--gray-200);
  height: 64px;
  display: flex; align-items: center; padding: 0 24px;
}

.nav-inner {
  max-width: 1280px; width: 100%; margin: 0 auto;
  display: flex; align-items: center; gap: 0;
}

.nav-brand {
  display: flex; align-items: center; gap: 8px;
  text-decoration: none; color: var(--primary);
  font-weight: 700; font-size: 1.1875rem;
  white-space: nowrap; flex-shrink: 0; margin-right: 32px;
}
.nav-brand img { height: 32px; }

/* Primary nav links (4 items, dropdowns on 2) */
.nav-primary {
  display: flex; align-items: center; gap: 4px;
  list-style: none; margin: 0; padding: 0; flex: 1 1 auto;
}
.nav-primary > li { position: relative; }
.nav-primary > li > a {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 8px 12px; border-radius: 8px;
  text-decoration: none; color: var(--gray-700);
  font-weight: 500; font-size: 0.9375rem;
  white-space: nowrap; transition: color 0.15s, background 0.15s;
}
.nav-primary > li > a:hover { color: var(--primary); background: #f0fdf4; }
.nav-chevron { flex-shrink: 0; transition: transform 0.2s; }
.nav-has-dropdown.open .nav-chevron,
.nav-has-dropdown:focus-within .nav-chevron { transform: rotate(180deg); }

/* Dropdown menus */
.nav-dropdown {
  display: none; position: absolute; top: calc(100% + 6px); left: 0;
  min-width: 200px; background: #fff;
  border: 1px solid var(--gray-200); border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  list-style: none; margin: 0; padding: 8px 0; z-index: 2000;
}
.nav-has-dropdown.open .nav-dropdown,
.nav-has-dropdown:focus-within .nav-dropdown { display: block; }
.nav-dropdown li a {
  display: block; padding: 9px 16px;
  text-decoration: none; color: var(--gray-700);
  font-size: 0.9rem; font-weight: 500; white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}
.nav-dropdown li a:hover { color: var(--primary); background: #f0fdf4; }

/* Utility tail + CTA */
.nav-actions {
  display: flex; align-items: center; gap: 2px; flex-shrink: 0; margin-left: auto;
}
.nav-util {
  display: inline-block; padding: 8px 10px; border-radius: 8px;
  text-decoration: none; color: var(--gray-600);
  font-size: 0.875rem; font-weight: 500; white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}
.nav-util:hover { color: var(--primary); background: #f0fdf4; }
.nav-signin { margin-right: 4px; }

.nav-cta, a.nav-cta, a.nav-cta:visited {
  display: inline-flex; align-items: center;
  background: var(--primary); color: #fff !important;
  padding: 9px 20px; border-radius: 40px;
  text-decoration: none; font-weight: 600; font-size: 0.9rem;
  white-space: nowrap; line-height: 1;
  transition: background 0.2s, transform 0.15s; flex-shrink: 0;
}
.nav-cta:hover, a.nav-cta:hover { background: var(--primary-dark); transform: translateY(-1px); color: #fff !important; }

/* Hamburger button — desktop hidden */
.nav-mobile-toggle {
  display: none; background: none; border: none; cursor: pointer;
  padding: 8px; color: var(--gray-700); flex-shrink: 0; margin-left: 8px;
  border-radius: 8px; transition: background 0.15s;
}
.nav-mobile-toggle:hover { background: var(--gray-100); }

/* Mobile drawer */
.nav-mobile-drawer {
  display: none; list-style: none; margin: 0; padding: 0;
}
.nav-mobile-drawer.open {
  display: flex; flex-direction: column;
  position: absolute; top: 100%; left: -24px; right: -24px;
  background: #fff;
  padding: 16px 24px 24px; gap: 2px;
  border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  max-height: calc(100vh - 104px); overflow-y: auto;
  z-index: 9998;
}
.nav-mobile-drawer li a {
  display: block; padding: 10px 12px; border-radius: 8px;
  text-decoration: none; color: var(--gray-800);
  font-size: 1rem; font-weight: 500;
  transition: background 0.15s, color 0.15s;
}
/* Mobile accordion groups */
.nav-mobile-group { position: relative; }
.nav-mobile-group-btn {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 10px 12px; border-radius: 8px; border: none;
  background: none; cursor: pointer; color: var(--gray-800);
  font-size: 1rem; font-weight: 500; text-align: left;
  transition: background 0.15s, color 0.15s;
}
.nav-mobile-group-btn:hover { background: #f0fdf4; color: var(--primary); }
.nav-mobile-group-btn .nav-chevron { flex-shrink: 0; transition: transform 0.2s; }
.nav-mobile-group.open .nav-mobile-group-btn .nav-chevron { transform: rotate(180deg); }
.nav-mobile-group.open .nav-mobile-group-btn { color: var(--primary); }
.nav-mobile-sub {
  display: none; list-style: none; margin: 0; padding: 0 0 0 12px;
}
.nav-mobile-group.open .nav-mobile-sub { display: flex; flex-direction: column; gap: 0; }
.nav-mobile-sub li a {
  display: block; padding: 8px 12px; border-radius: 6px;
  text-decoration: none; color: var(--gray-600);
  font-size: 0.9rem; font-weight: 500;
  transition: background 0.15s, color 0.15s;
}
.nav-mobile-sub li a:hover { background: #f0fdf4; color: var(--primary); }
.nav-mobile-divider {
  height: 1px; background: var(--gray-200); margin: 6px 0;
}
/* Blog article navigation */
.blog-article-nav {
  max-width: 780px; margin: 0 auto; padding: 0 24px 48px;
}
.blog-nav-prev-next {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 48px;
}
.blog-nav-prev-next a {
  display: flex; flex-direction: column; padding: 16px 18px;
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: 12px; text-decoration: none; color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.blog-nav-prev-next a:hover { border-color: var(--primary); box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.blog-nav-prev-next a .nav-dir { font-size: 0.75rem; color: var(--gray-500); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 4px; }
.blog-nav-prev-next a .nav-title { font-size: 0.9rem; font-weight: 600; color: var(--gray-900); line-height: 1.4; }
.blog-nav-prev-next a.nav-next { text-align: right; }
.blog-read-next h3 { font-size: 1.125rem; font-weight: 700; margin-bottom: 16px; color: var(--gray-900); }
.blog-read-next-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px;
}
.blog-read-next-card {
  background: var(--gray-50); border: 1px solid var(--gray-200);
  border-radius: 10px; padding: 16px; text-decoration: none; color: inherit;
  display: block; transition: border-color 0.15s, transform 0.15s;
}
.blog-read-next-card:hover { border-color: var(--primary); transform: translateY(-2px); }
.blog-read-next-card .card-tag { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--primary); margin-bottom: 6px; }
.blog-read-next-card .card-title { font-size: 0.875rem; font-weight: 600; color: var(--gray-900); line-height: 1.4; }
@media (max-width: 600px) {
  .blog-nav-prev-next { grid-template-columns: 1fr; }
  .blog-nav-prev-next a.nav-next { text-align: left; }
  .blog-read-next-grid { grid-template-columns: 1fr; }
}
.nav-mobile-drawer li a:hover { background: #f0fdf4; color: var(--primary); }
.nav-mobile-cta-item { margin-top: 8px; }
.nav-mobile-cta-item .nav-cta { display: block; text-align: center; border-radius: 40px; }

/* Hero Sections */
.hero {
  padding: 120px 24px 80px;
  text-align: center;
  position: relative; overflow: hidden;
}

.hero-gradient {
  background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 50%, #fefce8 100%);
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800; line-height: 1.1;
  color: var(--gray-900);
  max-width: 800px; margin: 0 auto 20px;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--gray-500); max-width: 640px;
  margin: 0 auto 32px;
}

.hero-badges {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
  margin-bottom: 32px;
}

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 16px; border-radius: 100px;
  font-size: 0.8125rem; font-weight: 600;
  background: rgba(37,99,235,0.08); color: var(--primary);
}
.badge.green { background: rgba(16,185,129,0.08); color: var(--secondary-dark); }
.badge.amber { background: rgba(245,158,11,0.08); color: #b45309; }

.hero-ctas {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 16px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: var(--radius-pill);
  font-weight: 500; font-size: 0.9375rem; letter-spacing: -0.01em;
  text-decoration: none; cursor: pointer; border: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn-primary, a.btn-primary, a.btn-primary:visited, a.btn-primary:hover, a.btn-primary:active { background: var(--primary); color: var(--white) !important; text-decoration: none; }
.btn-primary:hover, a.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-secondary, a.btn-secondary, a.btn-secondary:visited { background: var(--white); color: var(--primary) !important; border: 2px solid var(--gray-200); text-decoration: none; }
.btn-secondary:hover { border-color: var(--primary); }
.btn-success, a.btn-success, a.btn-success:visited, a.btn-success:hover { background: var(--secondary); color: var(--white) !important; text-decoration: none; }
.btn-success:hover { background: var(--secondary-dark); transform: translateY(-2px); }
.btn-lg { padding: 16px 40px; font-size: 1.125rem; }
.btn-sm { padding: 8px 20px; font-size: 0.875rem; }

/* Sections */
.section { padding: 80px 24px; }
.section-alt { background: var(--gray-50); }
.container { max-width: 1280px; margin: 0 auto; }

.section-header {
  text-align: center; max-width: 640px; margin: 0 auto 48px;
}
.section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700; margin-bottom: 12px;
}
.section-header p { color: var(--gray-500); font-size: 1.0625rem; }

/* Product Cards */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.3s;
  position: relative; overflow: hidden;
}
.product-card:hover { border-color: var(--primary); box-shadow: var(--shadow-xl); transform: translateY(-4px); }

.product-card .tag {
  position: absolute; top: 16px; right: 16px;
  padding: 4px 12px; border-radius: 100px;
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
}
.tag-popular { background: var(--primary); color: var(--white); }
.tag-new { background: var(--secondary); color: var(--white); }

.product-card h3 { font-size: 1.375rem; margin-bottom: 8px; }
.product-card .price {
  font-size: 1.75rem; font-weight: 800; color: var(--primary);
  margin-bottom: 4px;
}
.product-card .price span { font-size: 0.875rem; font-weight: 400; color: var(--gray-500); }
.product-card .desc { color: var(--gray-500); margin-bottom: 20px; font-size: 0.9375rem; }

.product-features {
  list-style: none; margin-bottom: 24px;
}
.product-features li {
  padding: 6px 0; display: flex; align-items: center; gap: 10px;
  color: var(--gray-700); font-size: 0.9375rem;
}
.product-features li::before {
  content: '✓'; display: flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(16,185,129,0.1); color: var(--secondary);
  font-size: 0.75rem; font-weight: 700; flex-shrink: 0;
}

/* How It Works */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}

.step {
  text-align: center; padding: 24px;
}
.step-number {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white); font-weight: 700; font-size: 1.25rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.step h3 { margin-bottom: 8px; font-size: 1.125rem; }
.step p { color: var(--gray-500); font-size: 0.9375rem; }

/* Trust Section */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.trust-item {
  text-align: center; padding: 24px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
}
.trust-icon {
  font-size: 2rem; margin-bottom: 12px;
}
.trust-item h4 { font-size: 1rem; margin-bottom: 4px; }
.trust-item p { color: var(--gray-500); font-size: 0.875rem; }

/* Footer */
.footer {
  background: var(--gray-900); color: var(--gray-300);
  padding: 64px 24px 32px;
}
.footer-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p { margin-top: 12px; font-size: 0.875rem; color: var(--gray-500); }
.footer h4 { color: var(--white); font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 16px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 8px; }
.footer ul a { color: var(--gray-300); text-decoration: none; font-size: 0.875rem; transition: color 0.2s; }
.footer ul a:hover { color: var(--white); }
.footer-bottom {
  max-width: 1280px; margin: 0 auto;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8125rem; color: var(--gray-500);
  flex-wrap: wrap; gap: 16px;
}
.footer-bottom a { color: var(--gray-500); text-decoration: none; }
.footer-bottom a:hover { color: var(--white); }

/* Intake Form Styles */
.intake-form {
  max-width: 680px; margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-weight: 600; margin-bottom: 6px;
  font-size: 0.9375rem; color: var(--gray-700);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 16px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: 1rem; font-family: inherit;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

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

.form-notice {
  padding: 16px; border-radius: var(--radius-sm);
  background: #eff6ff; border: 1px solid #bfdbfe;
  font-size: 0.875rem; color: #1e40af;
  margin-bottom: 20px;
}

.form-disclaimer {
  font-size: 0.8125rem; color: var(--gray-500);
  margin-top: 16px;
}

/* Progress Steps */
.progress-steps {
  display: flex; justify-content: center; gap: 8px;
  margin-bottom: 32px;
}
.progress-step {
  width: 40px; height: 4px; border-radius: 2px;
  background: var(--gray-200);
}
.progress-step.active { background: var(--primary); }
.progress-step.completed { background: var(--secondary); }

/* Compliance Banner */
.compliance-banner {
  background: var(--gray-900); color: var(--gray-300);
  padding: 12px 24px;
  text-align: center; font-size: 0.8125rem;
  display: flex; justify-content: center; gap: 24px; flex-wrap: wrap;
}
.compliance-banner span { display: flex; align-items: center; gap: 6px; }

/* HIPAA Notice */
.hipaa-notice {
  background: #ecfdf5; border: 1px solid #a7f3d0;
  border-radius: var(--radius-sm);
  padding: 16px; margin: 24px 0;
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 0.875rem; color: #065f46;
}

/* Responsive */

/* ── Nav responsive ── */

/* At 1100px hide the two lower-priority utility links to keep row clean */
@media (max-width: 1100px) and (min-width: 961px) {
  .nav-primary > li > a { padding: 8px 10px; font-size: 0.875rem; }
  /* Hide "Refer a patient" and "Support" utility links at this width */
  .nav-actions .nav-util:nth-child(1),
  .nav-actions .nav-util:nth-child(2) { display: none; }
}

/* Mobile / tablet — collapse to hamburger */
@media (max-width: 960px) {
  .nav-primary { display: none; }
  .nav-actions .nav-util { display: none; }
  .nav-actions .nav-signin { display: none; }
  .nav-actions .nav-cta { display: none; }
  .nav-mobile-toggle { display: flex; align-items: center; justify-content: center; }
  .hero { padding: 100px 16px 60px; }
  .section { padding: 48px 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; width: 100%; }
  .hero-ctas .btn { width: 100%; }
  .nav { padding: 0 16px; }
  .nav-brand { font-size: 1rem; }
}

/* ==========================================================================
   UX Conversion Elements (medication pages, treatments, homepage)
   ========================================================================== */

/* Sticky bottom CTA bar (mobile/tablet only) */
.sticky-cta-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1000;
  background: #fff;
  border-top: 1px solid var(--gray-200);
  padding: 12px 16px;
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.08);
  gap: 12px;
}
.sticky-cta-info { display: flex; flex-direction: column; line-height: 1.2; }
.sticky-cta-label { font-size: 12px; color: var(--gray-500); }
.sticky-cta-price { font-size: 18px; font-weight: 600; color: var(--gray-900); }
.sticky-cta-btn {
  background: var(--secondary);
  color: #fff;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}
.sticky-cta-btn:hover { background: var(--secondary-dark); }
@media (min-width: 769px) { .sticky-cta-bar { display: none; } }
body.has-sticky-cta { padding-bottom: 72px; }

/* Trust badges strip */
.trust-strip {
  background: #fff;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: 20px 24px;
}
.trust-strip-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 32px;
}
.trust-badge {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.8125rem; color: var(--gray-700); font-weight: 500;
}
.trust-badge-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: #eff6ff; color: var(--primary); font-size: 14px;
}

/* Social proof counter strip */
.proof-strip {
  background: linear-gradient(135deg, #eff6ff, #ecfdf5);
  padding: 32px 24px;
}
.proof-grid {
  max-width: 960px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  text-align: center;
}
.proof-stat { display: flex; flex-direction: column; align-items: center; }
.proof-stat-number { font-size: 2rem; font-weight: 700; color: var(--primary); line-height: 1.1; }
.proof-stat-label { font-size: 0.8125rem; color: var(--gray-700); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.05em; }
.proof-stat-stars { color: var(--accent); font-size: 1.125rem; margin-top: 2px; letter-spacing: 2px; }
@media (max-width: 640px) {
  .proof-grid { grid-template-columns: 1fr; gap: 16px; }
  .proof-stat-number { font-size: 1.75rem; }
}

/* Testimonial cards */
.testimonial-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin: 20px 0;
  box-shadow: var(--shadow);
}
.testimonial-avatar {
  flex-shrink: 0;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 1rem;
}
.testimonial-content { flex: 1; }
.testimonial-stars { color: var(--accent); font-size: 0.9375rem; letter-spacing: 1px; margin-bottom: 6px; }
.testimonial-quote { font-size: 0.9375rem; color: var(--gray-900); margin: 0 0 6px; font-style: italic; line-height: 1.5; }
.testimonial-author { font-size: 0.8125rem; color: var(--gray-500); margin: 0; }
.testimonial-disclaimer {
  font-size: 0.75rem; color: var(--gray-500);
  text-align: center; margin-top: 16px; font-style: italic;
}

/* Cross-sell cards ("Patients also add") */
.cross-sell-section {
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 28px;
  margin: 32px 0;
}
.cross-sell-section h3 {
  margin: 0 0 20px;
  font-size: 1.125rem;
  color: var(--gray-900);
}
.cross-sell-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.cross-sell-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex; flex-direction: column;
  gap: 8px;
}
.cross-sell-name { font-weight: 600; font-size: 0.9375rem; color: var(--gray-900); }
.cross-sell-price { font-size: 0.8125rem; color: var(--primary); font-weight: 600; }
.cross-sell-bar {
  height: 6px;
  background: var(--gray-200);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 4px;
}
.cross-sell-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 3px;
}
.cross-sell-pct { font-size: 0.75rem; color: var(--gray-500); }

/* Medical reference table */
.med-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.9375rem;
}
.med-table th {
  text-align: left;
  padding: 12px 14px;
  background: var(--gray-50);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--gray-300);
}
.med-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--gray-200);
  vertical-align: top;
}

/* Callout blocks */
.callout {
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 24px 0;
  font-size: 0.9375rem;
  background: var(--gray-50);
}
.callout.blue { background: #eff6ff; border-left: 3px solid var(--primary); }
.callout.green { background: #ecfdf5; border-left: 3px solid var(--success); }
.callout.amber { background: #fffbeb; border-left: 3px solid var(--accent); }

/* Article / long-form content */
.article {
  max-width: 780px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--gray-900);
}
.article h2 { font-size: 1.75rem; font-weight: 700; margin: 40px 0 14px; letter-spacing: -0.01em; }
.article h3 { font-size: 1.25rem; font-weight: 600; margin: 28px 0 10px; }
.article p { margin: 0 0 14px; }
.article ul, .article ol { margin: 0 0 16px; padding-left: 22px; }
.article li { margin-bottom: 6px; }
.article a { color: var(--primary); text-decoration: none; }
.article a:hover { text-decoration: underline; }
.article strong { font-weight: 600; }

/* Reveal-on-scroll animations */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-stagger > .reveal:nth-child(1) { transition-delay: 0s; }
.reveal-stagger > .reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: 0.15s; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: 0.2s; }
.reveal-stagger > .reveal:nth-child(5) { transition-delay: 0.25s; }
.reveal-stagger > .reveal:nth-child(6) { transition-delay: 0.3s; }

/* Breadcrumbs */
.breadcrumbs {
  max-width: 1200px;
  margin: 120px auto 0;
  padding: 16px 24px 0;
  font-size: 0.875rem;
  color: var(--gray-500);
}
.breadcrumbs a { color: var(--gray-500); text-decoration: none; }
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs .current { color: var(--gray-900); }
.breadcrumbs .sep { margin: 0 6px; }
