/* biomimeticclinics.com — core stylesheet v0.1.0 */

:root {
  --navy:       #0f2537;
  --navy-mid:   #1a3a52;
  --teal:       #1a7d6e;
  --teal-light: #e8f5f3;
  --gold:       #b8973a;
  --text:       #1c2b3a;
  --text-muted: #5a6a7a;
  --bg:         #f5f7f9;
  --white:      #ffffff;
  --border:     #dde3e9;
  --max-w:      1140px;
  --radius:     6px;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: Georgia, 'Times New Roman', serif;
  line-height: 1.25;
  color: var(--navy);
}

h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2.1rem); margin-bottom: 0.75rem; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); margin-bottom: 0.5rem; }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1.1rem; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding-left: 1.5rem; margin-bottom: 1.1rem; }
li { margin-bottom: 0.35rem; }
strong { font-weight: 600; }

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

/* ── LAYOUT ─────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}

section { padding: 4rem 0; }
section:nth-child(even) { background: var(--white); }

/* ── SITE HEADER ─────────────────────────────── */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
  gap: 1rem;
}

.site-logo {
  font-family: Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.site-logo span { color: var(--gold); }

.site-nav { display: flex; gap: 1.75rem; align-items: center; }

.site-nav a {
  color: rgba(255,255,255,0.82);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: color 0.15s;
}

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

.site-nav .nav-cta {
  background: var(--teal);
  color: var(--white);
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
}

.site-nav .nav-cta:hover { background: #15695c; }

/* ── SITE FOOTER ─────────────────────────────── */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 3rem 0 2rem;
  font-size: 0.88rem;
}

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

.footer-brand .site-logo { display: inline-block; margin-bottom: 0.75rem; }

.footer-brand p { font-size: 0.85rem; line-height: 1.6; max-width: 280px; }

.footer-col h4 {
  color: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.4rem; }
.footer-col a { color: rgba(255,255,255,0.65); }
.footer-col a:hover { color: var(--white); text-decoration: none; }

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

.accreditation-badges {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.badge-pill {
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 20px;
  padding: 0.2rem 0.7rem;
  font-size: 0.73rem;
  color: rgba(255,255,255,0.6);
}

/* ── HERO ───────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #1a4a3a 100%);
  color: var(--white);
  padding: 5rem 0 4.5rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: block;
}

.hero h1 { color: var(--white); margin-bottom: 1.25rem; }

.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.82);
  margin-bottom: 2rem;
  max-width: 480px;
}

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

.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.15s;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: #15695c; text-decoration: none; }

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

.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); text-decoration: none; }

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

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

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.stat-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.stat-card .stat-num {
  font-family: Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-card .stat-label {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.3;
}

/* ── VERTICALS ──────────────────────────────── */
.verticals { background: var(--white); }

.verticals-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.vertical-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2.25rem;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.vertical-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
}

.vertical-card.v-biomimetic::before { background: var(--teal); }
.vertical-card.v-holistic::before { background: var(--gold); }

.vertical-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}

.v-biomimetic .vertical-tag { background: var(--teal-light); color: var(--teal); }
.v-holistic .vertical-tag { background: #fdf6e3; color: var(--gold); }

.vertical-card h3 { font-size: 1.3rem; margin-bottom: 0.75rem; }
.vertical-card p { font-size: 0.92rem; color: var(--text-muted); margin-bottom: 1.25rem; }

.procedure-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.pill {
  font-size: 0.78rem;
  padding: 0.25rem 0.7rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text-muted);
}

/* ── PROCEDURE GRID ─────────────────────────── */
.procedure-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.procedure-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: box-shadow 0.15s, transform 0.15s;
  display: flex;
  flex-direction: column;
}

.procedure-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.procedure-card-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.tag-biomimetic { color: var(--teal); }
.tag-holistic { color: var(--gold); }

.procedure-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.procedure-card p { font-size: 0.87rem; color: var(--text-muted); flex: 1; margin-bottom: 1rem; }

.procedure-cost {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

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

/* ── B2B STRIP ──────────────────────────────── */
.b2b-strip {
  background: linear-gradient(135deg, var(--navy) 0%, #0d3a2e 100%);
  color: var(--white);
  padding: 4rem 0;
}

.b2b-strip .container {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
}

.b2b-strip h2 { color: var(--white); margin-bottom: 0.75rem; }
.b2b-strip p { color: rgba(255,255,255,0.78); max-width: 560px; margin-bottom: 0; }

.b2b-panel {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  padding: 1.75rem 2rem;
  min-width: 260px;
  text-align: center;
}

.b2b-price {
  font-family: Georgia, serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.b2b-price small { font-size: 1rem; color: rgba(255,255,255,0.6); }
.b2b-panel p { font-size: 0.83rem; color: rgba(255,255,255,0.65); margin: 0.5rem 0 1.25rem; }

/* ── TRUST SECTION ──────────────────────────── */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.trust-card {
  text-align: center;
  padding: 1.75rem 1.25rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.trust-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.trust-card h4 { font-size: 1rem; margin-bottom: 0.4rem; }
.trust-card p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

/* ── SECTION HEADERS ────────────────────────── */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { margin-bottom: 0.75rem; }
.section-header p { color: var(--text-muted); max-width: 580px; margin: 0 auto; }

.section-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.5rem;
}

/* ── ARTICLE / PROCEDURE PAGE ───────────────── */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
}

.article-body { min-width: 0; }

.article-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 3.5rem 0 2.5rem;
  color: var(--white);
}

.article-hero .article-tag {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.85);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}

.article-hero h1 { color: var(--white); margin-bottom: 1rem; }

.article-hero .lead {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  max-width: 640px;
  margin-bottom: 1.5rem;
}

.article-meta {
  display: flex;
  gap: 2rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

.article-content { padding: 3rem 0; }

.article-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-top: 0.5rem;
  border-top: 2px solid var(--teal-light);
}

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

.article-content h3 { margin-top: 1.75rem; color: var(--navy-mid); }

.cost-band {
  background: var(--teal-light);
  border-left: 4px solid var(--teal);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.cost-band .cost-range {
  font-family: Georgia, serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy);
  display: block;
  margin-bottom: 0.25rem;
}

.cost-band p { margin: 0; font-size: 0.88rem; color: var(--text-muted); }

.callout {
  background: #fff8e6;
  border: 1px solid #e8d08a;
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.callout-warning {
  background: #fff3f3;
  border-color: #e8a0a0;
}

.callout h4 { color: var(--navy); margin-bottom: 0.4rem; font-size: 0.95rem; }
.callout p { margin: 0; font-size: 0.9rem; }

.credential-list {
  list-style: none;
  padding: 0;
}

.credential-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.credential-list li:last-child { border-bottom: none; }

.cred-badge {
  background: var(--teal);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  white-space: nowrap;
  margin-top: 0.15rem;
}

.faq-item { border-bottom: 1px solid var(--border); padding: 1rem 0; }
.faq-item:last-child { border-bottom: none; }
.faq-item h4 { font-size: 1rem; margin-bottom: 0.4rem; color: var(--navy); }
.faq-item p { margin: 0; font-size: 0.92rem; color: var(--text-muted); }

/* ── SIDEBAR ────────────────────────────────── */
.sidebar { position: sticky; top: 80px; }

.sidebar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}

.sidebar-card h4 {
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--teal-light);
}

.sidebar-card ul { list-style: none; padding: 0; margin: 0; }
.sidebar-card li { padding: 0.4rem 0; border-bottom: 1px solid var(--border); font-size: 0.88rem; }
.sidebar-card li:last-child { border-bottom: none; }

.related-procedures a {
  display: block;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--text);
}

.related-procedures a:last-child { border-bottom: none; }
.related-procedures a:hover { color: var(--teal); text-decoration: none; }

.cta-card {
  background: var(--navy);
  color: var(--white);
  border-radius: 10px;
  padding: 1.75rem 1.5rem;
  text-align: center;
}

.cta-card h4 { color: var(--white); font-size: 1.05rem; margin-bottom: 0.5rem; }
.cta-card p { font-size: 0.85rem; color: rgba(255,255,255,0.7); margin-bottom: 1.25rem; }
.cta-card .btn { width: 100%; text-align: center; }

/* ── BREADCRUMB ─────────────────────────────── */
.breadcrumb {
  font-size: 0.83rem;
  color: var(--text-muted);
  padding: 0.75rem 0;
}

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

/* ── PROCEDURE INDEX PAGE ────────────────────── */
.procedure-index-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.procedure-index-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: box-shadow 0.15s;
}

.procedure-index-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.07); }

.pic-num {
  font-family: Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--border);
  line-height: 1;
  min-width: 2.5rem;
  text-align: center;
}

.pic-body h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.pic-body p { font-size: 0.87rem; color: var(--text-muted); margin-bottom: 0.75rem; }
.pic-body a { font-size: 0.85rem; font-weight: 600; color: var(--teal); }

/* ── FOR PRACTICES PAGE ─────────────────────── */
.practices-hero {
  background: linear-gradient(135deg, #0d3a2e 0%, var(--navy) 100%);
}

.roi-calc {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem;
  margin: 2rem 0;
}

.roi-calc h3 { margin-bottom: 1.25rem; font-size: 1.15rem; }

.roi-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}

.roi-row:last-child { border-bottom: none; font-weight: 700; font-size: 1rem; color: var(--teal); }
.roi-label { color: var(--text-muted); }
.roi-value { font-weight: 600; color: var(--navy); }

.pitch-steps {
  counter-reset: steps;
  list-style: none;
  padding: 0;
}

.pitch-steps li {
  counter-increment: steps;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

.pitch-steps li::before {
  content: counter(steps);
  background: var(--teal);
  color: var(--white);
  font-weight: 700;
  font-family: Georgia, serif;
  font-size: 1.1rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── UTILITIES ──────────────────────────────── */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.gap-1 { gap: 0.5rem; }

.divider { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }

/* ── RESPONSIVE ─────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .verticals-grid { grid-template-columns: 1fr; }
  .procedure-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .b2b-strip .container { grid-template-columns: 1fr; }
  .procedure-index-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  section { padding: 2.5rem 0; }
  .hero { padding: 3rem 0; }
  .procedure-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .site-nav { gap: 1rem; }
  .site-nav a:not(.nav-cta) { display: none; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .article-hero { padding: 2rem 0 1.5rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 375px) {
  h1 { font-size: 1.6rem; }
  .hero-stats { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
}
