/* ═══════════════════════════════════════════════════════════════
   Alpinuity Bio — Shared Stylesheet
   Clinical White + Teal-Green Design
   ═══════════════════════════════════════════════════════════════ */

/* ── Variables ─────────────────────────────────────────────────── */
:root {
  --teal:         #3EC9A0;
  --teal-dark:    #2BA888;
  --dark-green:   #0C2820;
  --footer-dark:  #081610;
  --text-dark:    #0d1a15;
  --text-mid:     #5a6a64;
  --text-muted:   #6a8a80;
  --text-cta:     #7abfae;
  --light-teal:   #EDF8F4;
  --light-sec:    #F5FAF8;
  --border:       #dde8e4;
  --white:        #ffffff;
  --nav-link:     #3a4a44;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius:       8px;
  --radius-pill:  20px;
  --max-w:        1060px;
  --nav-h:        60px;
}

/* ── Reset ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text-dark); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

/* ── NAV ───────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 32px;
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 8px;
}
.nav-logo-bar {
  width: 4px; height: 22px; background: var(--teal); border-radius: 0; flex-shrink: 0;
}
.nav-logo-text {
  font-size: 15px; font-weight: 500; color: var(--dark-green); letter-spacing: 0.01em;
}
.nav-links {
  display: flex; align-items: center; gap: 24px;
}
.nav-links a {
  font-size: 13px; color: var(--nav-link); transition: color .2s;
}
.nav-links a:hover { color: var(--teal); }
.nav-links a.active { color: var(--teal); }
.btn-nav {
  background: var(--teal); color: var(--dark-green);
  font-size: 12px; font-weight: 500;
  padding: 7px 15px; border-radius: 4px;
  transition: background .2s;
}
.btn-nav:hover { background: var(--teal-dark); }
.nav-toggle { display: none; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text-dark); border-radius: 2px; transition: .2s; }

/* ── Buttons ───────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font); font-size: 13px; font-weight: 500;
  padding: 10px 20px; border-radius: 4px; cursor: pointer;
  transition: all .2s; border: none;
}
.btn-primary { background: var(--teal); color: var(--dark-green); }
.btn-primary:hover { background: var(--teal-dark); }
.btn-outline {
  background: transparent; color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.35);
}
.btn-outline:hover { border-color: var(--teal); color: var(--teal); }
.btn-white { background: var(--white); color: var(--dark-green); font-weight: 500; }
.btn-white:hover { background: var(--light-teal); }

/* ── Overline label ─────────────────────────────────────────────── */
.overline {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 500; color: var(--teal);
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 12px;
}
.overline::before {
  content: ''; display: block;
  width: 20px; height: 1.5px; background: var(--teal); flex-shrink: 0;
}

/* ── HERO ──────────────────────────────────────────────────────── */
.hero {
  position: relative;

  background-size: cover;
  background-position: center 40%;
  padding: 88px 0 80px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(12, 40, 32, 0.60);
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero-content { max-width: 560px; }
.hero-h1 { font-size: 38px; font-weight: 500; line-height: 1.2; }
.hero-h1-line1 { color: var(--white); display: block; }
.hero-h1-line2 { color: var(--teal); display: block; }
.hero-sub {
  font-size: 15px; color: rgba(255,255,255,0.82); line-height: 1.75;
  margin: 18px 0 28px; max-width: 450px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(62,201,160,0.35); border-radius: var(--radius-pill);
  padding: 6px 16px; font-size: 11px; color: rgba(255,255,255,0.7);
}
.hero-pill-star { color: var(--teal); font-size: 13px; }

/* ── STATS BAR ──────────────────────────────────────────────────── */
.stats {
  background: var(--light-teal);
  border-top: 1px solid #c8e8de;
  border-bottom: 1px solid #c8e8de;
  padding: 20px 0;
}
.stats-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 32px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.stat-item {
  padding: 0 24px;
  border-right: 1px solid #c8e8de;
}
.stat-item:first-child { padding-left: 0; }
.stat-item:last-child { border-right: none; }
.stat-num { font-size: 22px; font-weight: 500; color: var(--dark-green); margin-bottom: 3px; }
.stat-label { font-size: 13px; color: var(--text-muted); }

/* ── SECTION SHARED ─────────────────────────────────────────────── */
.section { padding: 56px 0; }
.section-alt { background: var(--light-sec); border-top: 1px solid var(--border); }
.section-header { margin-bottom: 32px; }
.section-title { font-size: 22px; font-weight: 500; color: var(--text-dark); }

/* ── SERVICES GRID ──────────────────────────────────────────────── */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px;
}
.service-card-bar {
  width: 24px; height: 2px; background: var(--teal);
  margin-bottom: 12px;
}
.service-card h3 { font-size: 16px; font-weight: 500; color: var(--dark-green); margin-bottom: 8px; }
.service-card p { font-size: 15px; color: var(--text-muted); line-height: 1.65; }

/* ── BLOG CARDS ─────────────────────────────────────────────────── */
.blog-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 24px;
}
.blog-all { font-size: 13px; color: var(--teal); }
.blog-all:hover { text-decoration: underline; }
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.blog-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px;
  display: flex; flex-direction: column; gap: 10px;
  transition: border-color .2s;
}
.blog-card:hover { border-color: var(--teal); }
.blog-tag {
  display: inline-block;
  font-size: 10px; color: var(--teal);
  background: var(--light-teal);
  padding: 3px 8px; border-radius: 3px;
  align-self: flex-start;
}
.blog-card h3 { font-size: 15px; font-weight: 500; color: var(--text-dark); line-height: 1.45; }
.blog-card .blog-meta { font-size: 11px; color: var(--text-muted); margin-top: auto; }
.blog-card .blog-excerpt { font-size: 14px; color: var(--text-mid); line-height: 1.6; }

/* Blog listing page */
.blog-list-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.blog-list-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  display: flex; flex-direction: column; gap: 10px;
  transition: border-color .2s, box-shadow .2s;
}
.blog-list-card:hover { border-color: var(--teal); }
.blog-list-card h2 { font-size: 18px; font-weight: 500; color: var(--text-dark); line-height: 1.4; }
.blog-list-card .blog-excerpt { font-size: 15px; color: var(--text-mid); line-height: 1.65; }
.blog-list-card .read-more {
  font-size: 12px; color: var(--teal); font-weight: 500;
  margin-top: 4px; display: inline-block;
}
.blog-list-card .read-more:hover { text-decoration: underline; }

/* ── CTA SECTION ─────────────────────────────────────────────────── */
.cta-section {
  background: var(--dark-green);
  padding: 64px 0;
  text-align: center;
}
.cta-divider {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-bottom: 10px;
}
.cta-divider-line { width: 16px; height: 1px; background: var(--teal); }
.cta-section .overline { justify-content: center; }
.cta-section .overline::before { display: none; }
.cta-section h2 { font-size: 26px; font-weight: 500; color: var(--white); margin-bottom: 12px; }
.cta-section p { font-size: 14px; color: var(--text-cta); line-height: 1.7; max-width: 400px; margin: 0 auto 28px; }

/* ── FOOTER ──────────────────────────────────────────────────────── */
.footer {
  background: var(--footer-dark);
  padding: 22px 0;
}
.footer-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 32px;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-copy { font-size: 12px; color: #3a5a4e; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 12px; color: #3a5a4e; transition: color .2s; }
.footer-links a:hover { color: var(--teal); }

/* ── POST PAGE ───────────────────────────────────────────────────── */
.post-hero {
  background: var(--white);
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--border);
}
.post-hero .overline { margin-bottom: 16px; }
.post-hero h1 { font-size: 32px; font-weight: 500; color: var(--text-dark); line-height: 1.3; max-width: 720px; margin-bottom: 16px; }
.post-meta { font-size: 13px; color: var(--text-muted); }
.post-body { padding: 48px 0 80px; }
.post-body .container { max-width: 720px; }
.post-body h2 { font-size: 20px; font-weight: 500; color: var(--text-dark); margin: 36px 0 12px; }
.post-body h3 { font-size: 17px; font-weight: 500; color: var(--dark-green); margin: 28px 0 10px; }
.post-body p { font-size: 16px; color: var(--text-mid); line-height: 1.8; margin-bottom: 20px; }
.post-body ul, .post-body ol { padding-left: 24px; margin-bottom: 20px; }
.post-body li { font-size: 16px; color: var(--text-mid); line-height: 1.8; margin-bottom: 8px; }
.post-body blockquote {
  border-left: 3px solid var(--teal); padding: 12px 20px;
  background: var(--light-teal); border-radius: 0 4px 4px 0;
  margin: 24px 0; font-size: 16px; color: var(--text-dark);
  font-style: italic; line-height: 1.7;
}
.back-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--teal);
  margin-bottom: 32px;
}
.back-link:hover { text-decoration: underline; }

/* ── ABOUT / EXPERTISE PAGE ─────────────────────────────────────── */
.page-hero {
  background: var(--white);
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-size: 34px; font-weight: 500; color: var(--text-dark); margin-bottom: 14px; }
.page-hero .lead { font-size: 16px; color: var(--text-mid); line-height: 1.75; max-width: 580px; }
.prose { font-size: 15px; color: var(--text-mid); line-height: 1.8; }
.prose p { margin-bottom: 18px; }
.prose h2 { font-size: 20px; font-weight: 500; color: var(--text-dark); margin: 36px 0 12px; }
.prose h3 { font-size: 17px; font-weight: 500; color: var(--dark-green); margin: 28px 0 10px; }
.prose ul { padding-left: 20px; margin-bottom: 16px; }
.prose li { margin-bottom: 8px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }

/* Contact form */
.contact-form { display: flex; flex-direction: column; gap: 16px; max-width: 500px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; font-weight: 500; color: var(--text-dark); }
.form-group input,
.form-group textarea {
  font-family: var(--font); font-size: 14px; color: var(--text-dark);
  background: var(--white); border: 1px solid var(--border);
  border-radius: 4px; padding: 10px 14px;
  transition: border-color .2s; outline: none;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--teal); }
.form-group textarea { min-height: 120px; resize: vertical; }

/* ── PAGE HERO BG TINT ───────────────────────────────────────────── */
.page-hero-tint { background: var(--light-teal); }

/* ── RESPONSIVE ──────────────────────────────────────────────────── */
@media (max-width: 768px) {
  :root { --max-w: 100%; }
  .container { padding: 0 20px; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: var(--nav-h); left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--border); padding: 20px; gap: 16px; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .hero { padding: 48px 0 40px; }
  .hero-h1 { font-size: 28px; }
  .stats-inner { grid-template-columns: 1fr; gap: 16px; }
  .stat-item { border-right: none; border-bottom: 1px solid #c8e8de; padding: 0 0 16px; }
  .stat-item:last-child { border-bottom: none; padding-bottom: 0; }
  .services-grid { grid-template-columns: 1fr; }
  .blog-grid, .blog-list-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; gap: 14px; text-align: center; }
}
