/* ============================================
   Regenevita Health — Shared Stylesheet v1.1
   Hero Visual Refresh: 2026-04-12
   ============================================ */

/* ---- CSS Custom Properties ---- */
:root {
  /* Brand Colors */
  --color-primary: #0f766e;
  --color-primary-dark: #0d5c55;
  --color-primary-light: #e6f4f3;
  --color-accent: #B45309;
  --color-accent-light: #fef3c7;
  --color-text: #1B1B1B;
  --color-text-light: #44403C;
  --color-bg: #F8F5F0;
  --color-bg-section: #EFECE7;
  --color-border: #E7E5E4;
  --color-white: #FFFFFF;
  /* Vivid Green (per Dr. Alexander) */
  --color-vivid-green: #16a34a;
  --color-vivid-green-dark: #15803d;
  --color-vivid-green-light: #dcfce7;

  /* Typography */
  --font-display: 'Cormorant Garant', 'DM Serif Display', Georgia, serif;
  --font-body: 'Source Sans 3', 'Nunito', system-ui, sans-serif;

  /* Spacing Scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;
  --space-4xl: 8rem;

  /* Layout */
  --max-width: 1200px;
  --max-width-prose: 700px;

  /* Transitions */
  --transition-base: 0.2s ease;
  --transition-slow: 0.4s ease;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(28, 25, 23, 0.08);
  --shadow-md: 0 4px 16px rgba(28, 25, 23, 0.10);
  --shadow-lg: 0 8px 32px rgba(28, 25, 23, 0.14);
  --shadow-card-hover: 0 12px 40px rgba(28, 25, 23, 0.16);
}

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

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

body {
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--color-primary-dark);
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ---- Typography Scale ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-text);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: 2.25rem; font-weight: 800; color: #052e16; }
h3 { font-size: 2.25rem; font-weight: 800; color: #052e16; }
h4 { font-size: 1.25rem; font-weight: 500; }

p {
  max-width: 70ch;
}

.text-light { color: var(--color-text-light); }
.text-primary { color: var(--color-primary); }
.text-accent { color: var(--color-accent); }
.text-center { text-align: center; }

/* ---- Layout Wrappers ---- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--space-3xl) 0;
}

.section--alt {
  background-color: var(--color-bg-section);
}

/* ---- Stone Palette (Tailwind Stone 300/400 equivalents) ---- */
.bg-stone-300 {
  background-color: #D6D3D1;
}

.bg-stone-400 {
  background-color: #A8A29E;
}

.section--teal {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.section--teal h1,
.section--teal h2,
.section--teal h3,
.section--teal h4 {
  color: var(--color-white);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-header p {
  margin: var(--space-sm) auto 0;
  color: var(--color-text-light);
  max-width: var(--max-width-prose);
}

.prose {
  max-width: var(--max-width-prose);
  margin: 0 auto;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8125rem 1.75rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 4px;
  transition: all var(--transition-base);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  border: 2px solid var(--color-primary);
}

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

.btn-outline {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-outline:hover {
  background-color: var(--color-primary-light);
  color: var(--color-primary-dark);
  transform: translateY(-1px);
}

.btn-white {
  background-color: var(--color-white);
  color: var(--color-primary);
  border: 2px solid var(--color-white);
}

.btn-white:hover {
  background-color: transparent;
  color: var(--color-white);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.125rem;
}

.btn-group {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

/* ---- Navigation ---- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(250, 250, 249, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  padding: 0 var(--space-lg);
  transition: box-shadow var(--transition-base);
  /* Two-row layout: logo on top, links below */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.site-nav.scrolled {
  box-shadow: var(--shadow-sm);
}

/* Row 1: Logo */
.nav-logo-row {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 0.875rem 0 0.25rem;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  letter-spacing: -0.01em;
  line-height: 1;
}

/* Row 2: Links + CTA */
.nav-links-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 0.25rem 0 0.75rem;
  flex-wrap: wrap;
}

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

.nav-links a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  padding: 0.25rem 0;
  position: relative;
  transition: color var(--transition-base);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width var(--transition-base);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  display: inline-block !important;
  width: auto !important;
  padding: 0.5625rem 1.25rem;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  background: none;
  border: none;
  position: absolute;
  top: 1rem;
  right: var(--space-lg);
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-text);
  border-radius: 2px;
  transition: all var(--transition-base);
}

/* Mobile nav overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(250, 250, 249, 0.97);
  backdrop-filter: blur(20px);
  z-index: 1001;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.nav-overlay.open {
  display: flex;
}

.nav-overlay .nav-links {
  flex-direction: column;
  gap: 2rem;
}

.nav-overlay .nav-links a {
  font-size: 1.5rem;
  font-family: var(--font-display);
}

.nav-overlay .nav-cta {
  font-size: 1rem;
  padding: 0.75rem 2rem;
}

.nav-close {
  position: absolute;
  top: 1.25rem;
  right: var(--space-lg);
  font-size: 2rem;
  color: var(--color-text);
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
}

/* ---- Footer ---- */
.site-footer {
  background-color: var(--color-text);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-3xl) 0 var(--space-lg);
}

.site-footer h4 {
  color: var(--color-white);
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 2fr 1.5fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand p {
  margin-top: var(--space-xs);
  font-size: 0.9375rem;
  max-width: 30ch;
}

/* Quick Links: 2-column layout per Dr. Alexander feedback */
.footer-quick-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.25rem 2rem;
}

.footer-links ul,
.footer-links-2 ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a,
.footer-links-2 a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9375rem;
  transition: color var(--transition-base);
}

.footer-links a:hover,
.footer-links-2 a:hover {
  color: var(--color-white);
}

.footer-contact p {
  font-size: 0.9375rem;
  line-height: 1.8;
  max-width: none;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.65);
}

.footer-contact a:hover {
  color: var(--color-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-lg);
  text-align: center;
  font-size: 0.8125rem;
  line-height: 1.8;
}

.fda-disclaimer {
  margin-top: var(--space-xs);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  font-style: italic;
}

/* ---- Hero Section ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: var(--space-4xl) 0;
}

/* Teal gradient mesh background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(15, 118, 110, 0.30) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 20%, rgba(15, 118, 110, 0.24) 0%, transparent 55%),
    radial-gradient(ellipse 50% 50% at 60% 80%, rgba(13, 92, 85, 0.19) 0%, transparent 50%),
    linear-gradient(160deg, rgba(15, 118, 110, 0.22) 0%, transparent 50%, rgba(15, 118, 110, 0.22) 100%);
  z-index: 0;
  pointer-events: none;
}

/* Subtle noise texture overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  opacity: 0.6;
  z-index: 1;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
  padding-left: 4rem;
}

.hero-content {
  max-width: 100%;
}

/* ===== HERO TWO-COLUMN GRID ===== */
.hero-grid {
  display: grid;
  grid-template-columns: 55fr 45fr;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3rem);
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image {
  width: 100%;
  max-height: 70vh;
  object-fit: cover;
  object-position: center top;
  border-radius: 2rem;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.18),
    0 4px 12px rgba(15, 118, 110, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  opacity: 0;
  transform: translateX(24px);
  animation: fadeSlideIn 0.7s ease forwards;
  animation-delay: 0.3s;
}

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ===== HERO MOBILE ===== */
@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero-image-wrapper {
    order: -1;
  }

  .hero-image {
    max-height: 45vh;
    object-position: center 20%;
    border-radius: 1.5rem;
  }

  .hero .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

.hero h1 {
  font-size: clamp(2.75rem, 6vw, 5rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.7s ease forwards;
  animation-delay: 0.1s;
}

.hero-sub {
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  color: var(--color-text-light);
  max-width: 56ch;
  line-height: 1.7;
  margin-bottom: var(--space-xl);
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.7s ease forwards;
  animation-delay: 0.3s;
}

.hero-sub strong {
  color: var(--color-text);
  font-weight: 600;
}

.hero .btn-group {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.7s ease forwards;
  animation-delay: 0.5s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---- Cards ---- */
.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: var(--space-lg);
  transition: all var(--transition-base);
}

.card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
  border-color: transparent;
}

.card-icon {
  width: 48px;
  height: 48px;
  background-color: var(--color-primary-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
  font-size: 1.5rem;
}

.card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.9375rem;
  color: var(--color-text-light);
  margin-bottom: var(--space-sm);
}

.card-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.card-link:hover {
  gap: 0.5rem;
}

/* Conditions cards grid */
.conditions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* Trust bar — enlarged, darkened per Dr. Alexander */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-sm);
  margin-top: var(--space-xl);
}

.trust-item {
  text-align: center;
  padding: var(--space-lg) var(--space-md);
  background: var(--color-bg-section);
  border-radius: 6px;
  border: 1px solid var(--color-border);
}

.trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-vivid-green);
  margin-bottom: 0.375rem;
  line-height: 1;
}

.trust-item span {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-text);
  font-weight: 500;
}

/* Step cards — enlarged, darkened per Dr. Alexander */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.step-card {
  
  text-align: center;
  padding: var(--space-lg) var(--space-md);
}

.step-number {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  color: var(--color-vivid-green);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.step-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.75rem;
}

.step-card p {
  font-size: 1rem;
  color: var(--color-text);
  margin: 0 auto;
  font-weight: 500;
}

/* CTA "See Full Procedure Details" — wider, vivid green per Dr. Alexander */
.btn-cta-wide {
  min-width: 300px;
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
  background-color: var(--color-vivid-green) !important;
  border-color: var(--color-vivid-green) !important;
  color: #fff !important;
}

.btn-cta-wide:hover {
  background-color: var(--color-vivid-green-dark) !important;
  border-color: var(--color-vivid-green-dark) !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* ---- Section Headers — darkened and enlarged ---- */
.section-header h2 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-text);
}

.section-header p {
  font-size: 1.125rem;
  color: var(--color-text);
}

/* ---- Two-column layout ---- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.two-col-content h2 {
  margin-bottom: var(--space-md);
}

.two-col-content p {
  margin-bottom: var(--space-sm);
}

.two-col.reverse {
  direction: rtl;
}

.two-col.reverse > * {
  direction: ltr;
}

/* ---- CTA Section ---- */
.cta-section {
  text-align: center;
  padding: var(--space-3xl) 0;
}

.cta-section h2 {
  margin-bottom: var(--space-md);
}

.cta-section p {
  margin: 0 auto var(--space-lg);
  max-width: 52ch;
}

/* ---- Photo Placeholder ---- */
.photo-placeholder {
  background: var(--color-bg-section);
  border: 2px dashed var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  border-radius: 8px;
}

.photo-placeholder__label {
  color: var(--color-text-light);
  font-size: 0.875rem;
  text-align: center;
  padding: var(--space-md);
}

/* ---- FAQ Accordion ---- */
.faq-list {
  max-width: var(--max-width-prose);
  margin: 0 auto;
}

.faq-category {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--color-text);
  margin: var(--space-xl) 0 var(--space-md);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-border);
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: var(--space-md) 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-sm);
  transition: color var(--transition-base);
}

.faq-question:hover {
  color: var(--color-primary);
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--color-primary);
  flex-shrink: 0;
  transition: transform var(--transition-base);
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-answer-inner {
  padding-bottom: var(--space-md);
  color: var(--color-text-light);
  font-size: 0.9375rem;
  line-height: 1.8;
}

.faq-item.open .faq-answer {
  max-height: 600px;
}

/* ---- Pull Quote ---- */
.pull-quote {
  border-left: 4px solid var(--color-primary);
  padding: var(--space-md) var(--space-lg);
  margin: var(--space-lg) 0;
  background: var(--color-primary-light);
  border-radius: 0 6px 6px 0;
}

.pull-quote p {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--color-text);
  max-width: none;
}

/* ---- Form Styles ---- */
.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9375rem;
  margin-bottom: 0.375rem;
  color: var(--color-text);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: 6px;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
  appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ---- Responsive Breakpoints ---- */
@media (max-width: 1024px) {
  .conditions-grid,
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-bar {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer-quick-links {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --space-3xl: 4rem;
    --space-4xl: 5rem;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-overlay .nav-links {
    display: flex;
  }

  .nav-overlay .nav-cta {
    display: inline-block !important;
  }

  .nav-hamburger {
    display: flex;
  }

  /* Two-row nav on mobile: collapse to hamburger */
  .nav-logo-row {
    padding: 0.75rem 0 0.25rem;
  }

  .nav-logo {
    font-size: 1.875rem;
  }

  .nav-links-row {
    display: none;
  }

  .site-nav {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav .nav-hamburger {
    display: flex;
  }

  .conditions-grid,
  .steps-grid,
  .trust-bar {
    grid-template-columns: 1fr;
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .two-col.reverse {
    direction: ltr;
  }

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

  .footer-quick-links {
    grid-template-columns: 1fr 1fr;
  }

  .hero h1 {
    font-size: clamp(2.25rem, 8vw, 3rem);
  }

  .btn-group {
    flex-direction: column;
  }

  .btn-group .btn {
    width: 100%;
    justify-content: center;
  }

  .btn-cta-wide {
    min-width: 100%;
    width: 100%;
  }

  .section-header h2 {
    font-size: 2.25rem;
  }
}

@media (max-width: 1280px) {
  .hero .container {
    padding-left: 2rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-sm);
  }

  .hero .container {
    padding-left: 1.5rem;
  }

  .section {
    padding: var(--space-2xl) 0;
  }
}

/* ---- Utility ---- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mt-lg { margin-top: var(--space-lg); }
.mb-lg { margin-bottom: var(--space-lg); }

/* ---- Page Header ---- */
.page-header {
  padding: var(--space-3xl) 0;
  text-align: center;
}

.page-header h1 {
  margin-bottom: var(--space-md);
}

.page-header p {
  max-width: 60ch;
  margin: 0 auto 1rem;
  font-size: 1.125rem;
}

/* ---- Condition List ---- */
.condition-list {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.condition-list li {
  margin-bottom: 0.375rem;
  color: var(--color-text-light);
}

/* Accessibility: larger, darker sub-section headings for Tendon/Ligament conditions */
.condition-subheading {
  font-size: 1.375rem !important;
  font-weight: 700 !important;
  color: #1c1c1c !important;
  margin-top: 2rem !important;
  margin-bottom: 0.75rem !important;
  font-family: var(--font-body) !important;
}

/* ---- Patient Voices ---- */
.patient-voices {
  margin-top: 1rem;
  padding: 1rem;
  background: var(--color-primary-light);
  border-radius: 6px;
  border-left: 3px solid var(--color-primary);
}

.patient-voices p {
  font-size: 0.9375rem;
  color: var(--color-text);
  margin-bottom: 0.5rem;
  max-width: none;
}

.patient-voices p:last-child {
  margin-bottom: 0;
}

/* ---- Checkmark & X Lists ---- */
.checkmark-list {
  list-style: none;
  padding-left: 0;
}

.checkmark-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.5rem;
  color: var(--color-text-light);
}

.checkmark-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}

.x-list {
  list-style: none;
  padding-left: 0;
}

.x-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.5rem;
  color: var(--color-text-light);
}

.x-list li::before {
  content: '✗';
  position: absolute;
  left: 0;
  color: #dc2626;
  font-weight: 700;
}

/* ---- Credentials Grid ---- */
.credentials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.credential-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: var(--space-lg);
}

.credential-card h3 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.credential-card ul {
  list-style: none;
}

.credential-card li {
  margin-bottom: 0.75rem;
  padding-left: 1rem;
  border-left: 2px solid var(--color-border);
  color: var(--color-text-light);
  font-size: 0.9375rem;
}

.credential-card li strong {
  color: var(--color-text);
}

/* ---- Approach Grid ---- */
.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.approach-card {
  text-align: center;
  padding: var(--space-lg);
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 8px;
}

.approach-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.approach-card p {
  font-size: 0.9375rem;
  color: var(--color-text-light);
  margin: 0 auto;
}

/* ---- Step Header ---- */
.step-header {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: var(--space-xl);
}

.step-number-lg {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  flex-shrink: 0;
}

.step-header-content {
  flex: 1;
}

.step-header-content h2 {
  margin: 0;
}

.step-content {
  padding-left: calc(4rem + var(--space-lg));
}

.step-detail {
  margin-bottom: var(--space-lg);
}

.step-detail h3 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.step-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: var(--space-lg);
  padding: var(--space-md);
  background: var(--color-primary-light);
  border-radius: 6px;
}

.meta-item {
  font-size: 0.9375rem;
}

.meta-item strong {
  display: block;
  color: var(--color-text);
  margin-bottom: 0.25rem;
}

/* ---- Treatment Steps ---- */
.treatment-step {
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--color-border);
}

.treatment-step:last-child {
  border-bottom: none;
}

.treatment-step h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--color-primary);
}

/* ---- Recovery Timeline ---- */
.recovery-timeline {
  max-width: 800px;
  margin: 0 auto;
}

.recovery-phase {
  margin-bottom: var(--space-2xl);
  padding: var(--space-lg);
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 8px;
}

.recovery-phase h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-md);
  color: var(--color-primary);
}

.phase-content p {
  margin-bottom: 0.75rem;
}

.phase-content p strong {
  display: block;
  color: var(--color-text);
  margin-bottom: 0.25rem;
}

/* ---- Story Template ---- */
.story-template {
  max-width: 700px;
  margin: 0 auto;
  padding: var(--space-xl);
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 8px;
}

.story-header {
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 2px solid var(--color-primary);
}

.story-meta {
  margin-bottom: var(--space-lg);
}

.story-meta p {
  margin-bottom: 0.375rem;
  font-size: 0.9375rem;
}

.story-meta strong {
  color: var(--color-text);
}

.story-section {
  margin-bottom: var(--space-lg);
}

.story-section h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}

/* ---- Formulation Cards ---- */
.formulations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.formulation-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: var(--space-lg);
}

.formulation-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.formulation-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.formulation-card p {
  font-size: 0.9375rem;
  margin-bottom: 0.75rem;
  color: var(--color-text-light);
}

.formulation-card ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-top: 0.75rem;
}

.formulation-card li {
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin-bottom: 0.25rem;
}

/* ---- Session Timeline ---- */
.session-timeline {
  max-width: 700px;
  margin: 0 auto;
}

.session-step {
  margin-bottom: var(--space-xl);
  padding: var(--space-lg);
  background: var(--color-bg-section);
  border-radius: 8px;
}

.session-step h3 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  color: var(--color-primary);
}

/* ---- Comparison Table ---- */
.comparison-table {
  max-width: 700px;
  margin: 0 auto;
}

.comparison-table table {
  border: 1px solid var(--color-border);
}

/* ---- Warning Box ---- */
.warning-box {
  padding: var(--space-lg);
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
}

.warning-box h3 {
  color: #dc2626;
  margin-bottom: 0.75rem;
}

/* ---- Contact Details ---- */
.contact-details {
  padding: var(--space-lg);
  background: var(--color-bg-section);
  border-radius: 8px;
}

.contact-details p {
  margin-bottom: var(--space-md);
  font-size: 1rem;
}

.contact-details p:last-child {
  margin-bottom: 0;
}

/* ---- Step List ---- */
.step-list {
  list-style: none;
  counter-reset: step-counter;
}

.step-list li {
  position: relative;
  padding-left: 3rem;
  margin-bottom: var(--space-lg);
  counter-increment: step-counter;
}

.step-list li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  background: var(--color-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.step-list strong {
  display: block;
  margin-bottom: 0.25rem;
}

.step-list p {
  font-size: 0.9375rem;
  color: var(--color-text-light);
  margin: 0;
}

/* ---- Consultation Steps ---- */
.consultation-steps {
  max-width: 700px;
  margin: 0 auto;
}

.consultation-step {
  display: flex;
  gap: 2rem;
  margin-bottom: var(--space-lg);
  padding: var(--space-lg);
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 8px;
}

.consultation-step .step-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  opacity: 0.2;
  line-height: 1;
  flex-shrink: 0;
}

.consultation-step .step-content {
  padding: 0;
  flex: 1;
}

.consultation-step h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.consultation-step ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-top: 0.5rem;
}

.consultation-step li {
  font-size: 0.9375rem;
  color: var(--color-text-light);
  margin-bottom: 0.25rem;
}

/* ---- Form Row ---- */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ---- Form Wrapper ---- */
.form-wrapper {
  max-width: 600px;
  margin: 0 auto;
  padding: var(--space-xl);
  background: white;
  border: 1px solid var(--color-border);
  border-radius: 8px;
}

/* ---- Visual Placeholder ---- */
.visual-placeholder {
  min-height: 250px;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .credentials-grid {
    grid-template-columns: 1fr;
  }

  .approach-grid {
    grid-template-columns: 1fr;
  }

  .formulations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .step-header {
    flex-direction: column;
    text-align: center;
  }

  .step-content {
    padding-left: 0;
  }

  .step-meta {
    grid-template-columns: 1fr;
  }

  .formulations-grid {
    grid-template-columns: 1fr;
  }

  .consultation-step {
    flex-direction: column;
  }
}

/* ---- UI Refinements ---- */

/* 1. Logo: 1.5x size (1.375rem → 2.0625rem) */
.nav-logo {
  font-size: 2.25rem;
}

/* 2. Conditions card titles: larger, bolder */
.conditions-grid .card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
}

/* 3. Why Regenevita: step card titles — larger, bolder, darker */
.step-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
}

/* ============================================
   Stone Background Utilities (P1 Design)
   Generated: 2026-04-09
   ============================================ */
.bg-stone-300 { background-color: #D6D3D1 !important; }
.bg-stone-400 { background-color: #A8A29E !important; }
/* ===== Dr. Alexander Headshot ===== */
.dr-alex-headshot {
  width: 100%;
  max-width: 350px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 2rem;              /* Matches hero image */
  /* Layered shadow — matches hero image shadow pattern */
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.18),
    0 4px 12px rgba(15, 118, 110, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  object-fit: cover;
  object-position: center top;      /* Keep face centered */
}

/* DEPRECATED: photo-placeholder replaced with dr-alex-headshot */
/*
.photo-placeholder {
  background: var(--color-bg-section);
  border: 2px dashed var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  border-radius: 8px;
}

.photo-placeholder__label {
  color: var(--color-text-light);
  font-size: 0.875rem;
  text-align: center;
  padding: var(--space-md);
}
*/

/* ===== CONDITIONS PAGE — SECTION IMAGE ===== */
.conditions-section-image {
  display: block;
  margin: 2rem auto 2.5rem;
  max-width: 600px;
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(15, 118, 110, 0.22);
}

@media (max-width: 768px) {
  .conditions-section-image {
    max-width: 100%;
    margin: 1.5rem auto 2rem;
    border-radius: 12px;
  }
}

/* ===== CONDITIONS TWO-COLUMN LAYOUT (Text Left, Image Right) ===== */
.conditions-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: start;
}

.conditions-two-col-text {
  max-width: 100%;
}

.conditions-two-col-image {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.conditions-image-right {
  max-width: 100%;
  width: 100%;
}

/* Mobile: stack image below text */
@media (max-width: 768px) {
  .conditions-two-col {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .conditions-two-col-image {
    order: 1;
  }

  .conditions-two-col-text {
    order: 2;
  }

  .conditions-image-right {
    max-width: 100%;
  }
}
