/* ============================================================
   RegenClinics.org — Global Stylesheet
   Pure static, no framework, no build step
   ============================================================ */

:root {
  --ink:         #111111;
  --ink-soft:    #444444;
  --ink-muted:   #6B6B6B;
  --bg:          #FAFAF8;
  --bg-alt:      #F3F1EC;
  --bg-dark:     #0F0F0D;
  --accent:      #8B6527;
  --accent-light:#C9A96E;
  --border:      #E5E2DC;
  --white:       #FFFFFF;

  --serif:       Georgia, 'Times New Roman', serif;
  --sans:        -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  --max-w:       1100px;
  --max-w-text:  720px;
}

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

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

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
}

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

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Typography ─────────────────────────────────────────── */

h1, h2, h3, h4 {
  font-family: var(--serif);
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 400; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 400; }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 400; }
h4 { font-size: 1.05rem; font-weight: 600; font-family: var(--sans); letter-spacing: 0; }

p { margin-bottom: 1.25rem; color: var(--ink-soft); }
p:last-child { margin-bottom: 0; }

strong { color: var(--ink); font-weight: 600; }

ul, ol { padding-left: 1.4rem; color: var(--ink-soft); }
li { margin-bottom: 0.5rem; }

/* ── Layout Utilities ───────────────────────────────────── */

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-container {
  max-width: var(--max-w-text);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-lg { padding: 7rem 0; }

/* ── Navigation ─────────────────────────────────────────── */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 248, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--ink) !important;
  text-decoration: none !important;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  padding: 0;
}

.nav-links a {
  font-size: 0.875rem;
  color: var(--ink-soft);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
}

.nav-links a:hover { color: var(--ink); text-decoration: none; }

.nav-cta {
  background: var(--ink);
  color: var(--white) !important;
  padding: 0.5rem 1.1rem;
  font-size: 0.8rem !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
}

.nav-cta:hover { background: var(--accent); }

/* ── Hero ───────────────────────────────────────────────── */

.hero {
  background: var(--bg-dark);
  color: var(--white);
  padding: 7rem 1.5rem 6rem;
  text-align: center;
}

.hero-eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 1.5rem;
}

.hero h1 {
  color: var(--white);
  max-width: 820px;
  margin: 0 auto 1.5rem;
  font-weight: 400;
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.65);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Buttons ────────────────────────────────────────────── */

.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  white-space: nowrap;
}

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

.btn-primary:hover {
  background: #7a5820;
  border-color: #7a5820;
  text-decoration: none;
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}

.btn-outline:hover {
  border-color: var(--white);
  text-decoration: none;
  color: var(--white);
}

.btn-dark {
  background: var(--ink);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--accent);
  text-decoration: none;
  color: var(--white);
}

/* ── Trust Bar ──────────────────────────────────────────── */

.trust-bar {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  padding: 1.1rem 1.5rem;
  text-align: center;
}

.trust-bar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.trust-item {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.trust-item strong { color: var(--ink); }

/* ── Cards ──────────────────────────────────────────────── */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 2rem;
}

.card-label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.card h3 { margin-bottom: 0.75rem; }
.card p { font-size: 0.9rem; margin-bottom: 1.25rem; }
.card a.card-link {
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
}

.card a.card-link:hover { border-color: var(--ink); }

/* ── Vertical Section (two-column) ─────────────────────── */

.verticals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border);
}

.vertical-panel {
  background: var(--white);
  padding: 3.5rem 2.5rem;
}

.vertical-panel.dark {
  background: var(--bg-dark);
}

.vertical-tag {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 1rem;
  font-weight: 600;
}

.vertical-panel h2 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.vertical-panel.dark h2 { color: var(--white); }
.vertical-panel.dark p { color: rgba(255,255,255,0.6); }

.procedure-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem;
}

.procedure-list li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 0;
}

.vertical-panel.dark .procedure-list li {
  border-color: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
}

.procedure-list a {
  color: inherit;
  text-decoration: none;
}

.procedure-list a:hover { color: var(--accent-light); }

/* ── How It Works ───────────────────────────────────────── */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.step-num {
  font-family: var(--serif);
  font-size: 2.5rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.step h4 { margin-bottom: 0.5rem; }
.step p { font-size: 0.9rem; }

/* ── For Practitioners ──────────────────────────────────── */

.practitioner-cta {
  background: var(--bg-dark);
  color: var(--white);
  padding: 5rem 1.5rem;
}

.practitioner-cta .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.practitioner-cta h2 { color: var(--white); margin-bottom: 1rem; }
.practitioner-cta p { color: rgba(255,255,255,0.65); }

.stat-row {
  display: flex;
  gap: 2.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.stat-item {}
.stat-num {
  font-family: var(--serif);
  font-size: 2.2rem;
  color: var(--accent-light);
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-top: 0.25rem;
}

/* ── Article / Procedure Page ───────────────────────────── */

.article-header {
  background: var(--bg-dark);
  padding: 4rem 1.5rem 3rem;
}

.article-header .eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 1rem;
}

.article-header h1 { color: var(--white); }

.article-header .subtitle {
  color: rgba(255,255,255,0.6);
  font-size: 1.1rem;
  margin-top: 0.75rem;
  max-width: 640px;
}

.quick-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 2rem;
  border: 1px solid rgba(255,255,255,0.12);
}

.stat-box {
  padding: 1rem 1.5rem;
  border-right: 1px solid rgba(255,255,255,0.12);
  flex: 1;
  min-width: 120px;
}

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

.stat-box-label {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.3rem;
}

.stat-box-val {
  font-size: 0.95rem;
  color: var(--white);
  font-weight: 500;
}

/* ── Article Body ───────────────────────────────────────── */

.article-body {
  max-width: var(--max-w-text);
  margin: 0 auto;
  padding: 3.5rem 1.5rem 5rem;
}

.article-body h2 {
  font-size: 1.55rem;
  margin: 2.5rem 0 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.article-body h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }

.article-body h3 {
  font-size: 1.15rem;
  margin: 2rem 0 0.75rem;
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 0;
}

.article-body p { font-size: 1rem; line-height: 1.75; }

.article-body ul, .article-body ol {
  margin-bottom: 1.25rem;
  font-size: 0.97rem;
  line-height: 1.7;
}

.callout {
  background: var(--bg-alt);
  border-left: 3px solid var(--accent);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
}

.callout p { font-size: 0.92rem; color: var(--ink-soft); margin: 0; }

.faq { margin-top: 1rem; }
.faq-item { border-bottom: 1px solid var(--border); padding: 1.25rem 0; }
.faq-q {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.97rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.faq-a { font-size: 0.92rem; color: var(--ink-soft); }

/* ── Breadcrumb ─────────────────────────────────────────── */

.breadcrumb {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  padding: 0.65rem 1.5rem;
  font-size: 0.78rem;
  color: var(--ink-muted);
}

.breadcrumb-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.breadcrumb a { color: var(--ink-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb span { margin: 0 0.4rem; }

/* ── Procedure Index ────────────────────────────────────── */

.procedure-index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1px;
  background: var(--border);
  margin-top: 2.5rem;
}

.procedure-index-item {
  background: var(--white);
  padding: 1.75rem 2rem;
  text-decoration: none;
  display: block;
  transition: background 0.1s;
}

.procedure-index-item:hover { background: var(--bg-alt); text-decoration: none; }

.pii-tag {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.pii-name {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 0.4rem;
}

.pii-cost { font-size: 0.82rem; color: var(--ink-muted); }

/* ── Footer ─────────────────────────────────────────────── */

.site-footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.45);
  padding: 3.5rem 1.5rem;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.footer-brand {
  font-family: var(--serif);
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.75rem;
}

.footer-brand span { color: var(--accent-light); }

.footer-disclaimer {
  font-size: 0.78rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.35);
  margin-bottom: 0;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: flex-end;
}

.footer-nav a {
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
}

.footer-nav a:hover { color: rgba(255,255,255,0.8); }

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  grid-column: 1 / -1;
  margin-bottom: 0;
}

/* ── Section Headings ───────────────────────────────────── */

.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.section-heading { margin-bottom: 0.75rem; }
.section-sub {
  font-size: 1rem;
  color: var(--ink-muted);
  max-width: 560px;
  line-height: 1.7;
}

/* ── Specialist CTA Block ───────────────────────────────── */

.find-specialist {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 2.5rem;
  margin-top: 3rem;
  text-align: center;
}

.find-specialist h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.find-specialist p { margin-bottom: 1.5rem; max-width: 480px; margin-left: auto; margin-right: auto; }

/* ── Responsive ─────────────────────────────────────────── */

@media (max-width: 768px) {
  .verticals { grid-template-columns: 1fr; }
  .vertical-panel { padding: 2.5rem 1.5rem; }

  .practitioner-cta .container { grid-template-columns: 1fr; gap: 2.5rem; }

  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-nav { align-items: flex-start; flex-direction: row; flex-wrap: wrap; }

  .quick-stats { flex-direction: column; }
  .stat-box { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .stat-box:last-child { border-bottom: none; }

  .nav-links { gap: 1rem; }
}

@media (max-width: 480px) {
  .nav-links .hide-mobile { display: none; }
  .hero { padding: 4rem 1.25rem 3.5rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; text-align: center; }
}
