/* 
   DermaMed Spa - PRP Hair Restoration Landing Page Stylesheet
   Luxury Clinical Theme
*/



:root {
  /* Color Palette */
  --primary: #0a192f;        /* Deep navy */
  --primary-light: #172a45;  /* Slate blue */
  --accent: #d4af37;         /* Clinical Gold */
  --accent-rgb: 212, 175, 55;
  --accent-hover: #c5a028;
  --bg-light: #f4f7f6;       /* Clean clinical grey/white */
  --bg-white: #ffffff;
  --text-dark: #0f172a;      /* Slate 900 */
  --text-muted: #475569;     /* Slate 600 */
  --text-light: #f8fafc;     /* Slate 50 */
  --border-color: #e2e8f0;   /* Slate 200 */
  --success: #10b981;        /* Emerald 500 */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

/* Prevent any element from causing horizontal scroll */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-white);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: clip;
}

/* Hard-lock ALL inline SVGs — prevents them from inflating on mobile */
svg {
  max-width: 100%;
  display: inline-block;
  vertical-align: middle;
}

/* Specifically lock icon-sized SVGs used in trust strips, bullets, badges */
.hero-trust-icon,
.card-bullet-icon,
.faq-icon,
.hero-trust-icon {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px;
  min-height: 24px;
  flex-shrink: 0;
}

/* All images are fluid */
img {
  max-width: 100%;
  height: auto;
  display: block;
}


h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
}

/* Promo Banner */
.promo-banner {
  background-color: var(--primary);
  color: var(--text-light);
  font-family: var(--font-heading);
  text-align: center;
  padding: 10px 20px;
  position: relative;
  z-index: 100;
  border-bottom: 2px solid var(--accent);
  font-size: 0.95rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.promo-tag {
  background-color: var(--accent);
  color: var(--primary);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  animation: pulse-gold 2s infinite;
}

.promo-timer {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.promo-timer-val {
  color: var(--accent);
}

/* Header & Navigation */
header {
  position: sticky;
  top: 0;
  z-index: 99;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 32px;
}

.nav-link {
  text-decoration: none;
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 6px 0;
  transition: var(--transition);
}

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

.nav-link:hover {
  color: var(--accent);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  background-color: var(--primary);
  color: var(--text-light);
  padding: 10px 20px;
  border-radius: 6px;
  font-family: var(--font-heading);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
  border: 1px solid transparent;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.nav-cta:hover {
  background-color: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--primary);
  margin: 5px 0;
  transition: var(--transition);
}

/* Sections Global */
section {
  padding: 80px 24px;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-tag {
  color: var(--accent);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  display: block;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 20px;
  position: relative;
}

.section-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 700px;
  margin-bottom: 40px;
}

/* Hero Section */
.hero {
  background: radial-gradient(circle at 80% 20%, #f4f7f6 0%, #ffffff 60%);
  padding: 60px 24px 80px 24px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-badge-discount {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--accent);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent);
  border-radius: 50%;
  animation: pulse-gold-small 1.5s infinite;
}

.hero-title {
  font-size: 3.5rem;
  color: var(--primary);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-title span {
  background: linear-gradient(135deg, var(--primary) 30%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--text-light);
  padding: 16px 32px;
  border-radius: 6px;
  font-family: var(--font-heading);
  font-weight: 700;
  text-decoration: none;
  font-size: 1.05rem;
  border: none;
  box-shadow: 0 4px 14px rgba(10, 25, 47, 0.25);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(10, 25, 47, 0.35);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  color: var(--primary);
}

.btn-secondary {
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 0;
}

.btn-secondary:hover {
  color: var(--accent);
}

.hero-trust-row {
  display: flex;
  gap: 24px;
  align-items: center;
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-trust-icon {
  color: var(--accent);
  flex-shrink: 0;
}

.hero-media {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: var(--primary);
  aspect-ratio: 16 / 9;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 25, 47, 0.8), transparent);
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}

.video-title {
  color: var(--text-light);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.video-subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

/* Scroll-driven Regrow Section */
.scroll-regrow-section, .scroll-density-section {
  padding: 0;
  background-color: var(--primary);
  color: var(--text-light);
  height: 220vh; /* High scroll path */
  position: relative;
}

.scroll-sticky-wrapper {
  position: sticky;
  top: 80px;
  height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding: 40px 24px;
}

.scroll-header {
  text-align: center;
  max-width: 800px;
  margin-bottom: 40px;
  z-index: 10;
}

.scroll-tag {
  color: var(--accent);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  display: block;
  margin-bottom: 8px;
}

.scroll-title {
  font-size: 2.25rem;
  color: var(--text-light);
  margin-bottom: 12px;
}

.scroll-subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
}

.split-image-container {
  position: relative;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  border: 3px solid rgba(255, 255, 255, 0.1);
  background-color: #111;
  cursor: ew-resize;
}

.image-pane {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.image-pane-before {
  z-index: 1;
  background-image: url('assets/before.jpeg');
}

.image-pane-after {
  z-index: 2;
  background-image: url('assets/after.jpeg');
  /* Driven by --reveal-pct via JS (fallback to 0) */
  clip-path: inset(0 calc(100% - var(--reveal-pct, 0) * 1%) 0 0);
  will-change: clip-path;
}

.comparison-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  /* Driven by --reveal-pct via JS (fallback to 0) */
  left: calc(var(--reveal-pct, 0) * 1%);
  width: 2px;
  background-color: var(--accent);
  z-index: 3;
  pointer-events: none;
  box-shadow: 0 0 10px var(--accent);
  will-change: left;
}

.divider-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background-color: var(--accent);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--primary);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
  border: 3px solid var(--text-light);
  pointer-events: auto;
  cursor: ew-resize;
}

.divider-handle svg {
  transform: rotate(90deg);
}

.label {
  position: absolute;
  bottom: 16px;
  padding: 6px 12px;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  z-index: 4;
}

.label-before {
  left: 16px;
  background-color: rgba(0, 0, 0, 0.7);
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.label-after {
  right: 16px;
  background-color: var(--accent);
  color: var(--primary);
  border: 1px solid var(--text-light);
}

.scroll-hint {
  margin-top: 32px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: bounce-y 2s infinite;
}

/* Empathy & Problem Section */
.problem-solution {
  background-color: var(--bg-light);
}

.problem-solution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.problem-card, .solution-card {
  background-color: var(--bg-white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.problem-card {
  border-left: 5px solid #ef4444; /* Alert red */
}

.solution-card {
  border-left: 5px solid var(--accent);
  background: radial-gradient(circle at 100% 100%, rgba(212, 175, 55, 0.03) 0%, var(--bg-white) 70%);
}

.card-title-icon {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.card-title-icon svg {
  color: var(--accent);
}

.problem-card .card-title-icon svg {
  color: #ef4444;
}

.card-title {
  font-size: 1.75rem;
  color: var(--primary);
}

.card-text {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 20px;
}

.card-bullet-list {
  list-style: none;
}

.card-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.card-bullet-icon {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 4px;
}

.problem-card .card-bullet-icon {
  color: #ef4444;
}

/* Case Studies (Before & After) */
.cases {
  background-color: var(--bg-white);
}

.cases-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px auto;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.case-card {
  background-color: var(--bg-light);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.case-img-container {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  background-color: #111;
  overflow: hidden;
}

.case-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-labels {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 16px;
  pointer-events: none;
}

.case-label {
  background-color: rgba(0,0,0,0.7);
  color: var(--text-light);
  padding: 4px 10px;
  border-radius: 3px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.case-label-after {
  background-color: var(--accent);
  color: var(--primary);
  border-color: var(--text-light);
}

.case-body {
  padding: 24px;
}

.case-top-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}

.case-name {
  font-size: 1.3rem;
  color: var(--primary);
}

.case-norwood {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  background-color: rgba(10, 25, 47, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 3px 8px;
  border-radius: 4px;
}

.case-meta-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(1px, 1fr));
  gap: 12px;
  background-color: var(--bg-white);
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 16px;
  border: 1px solid var(--border-color);
  text-align: center;
}

.case-meta-item {
  display: flex;
  flex-direction: column;
}

.case-meta-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.case-meta-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
}

.case-quote {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
  position: relative;
  padding-left: 20px;
  border-left: 3px solid var(--accent);
}

/* How it Works */
.how-it-works {
  background-color: var(--bg-light);
}

.how-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px auto;
}

.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px 0;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 2px;
  background-color: var(--border-color);
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}

.timeline-item::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  right: -10px;
  background-color: var(--bg-white);
  border: 4px solid var(--accent);
  top: 25px;
  border-radius: 50%;
  z-index: 1;
}

.left-item {
  left: 0;
  text-align: right;
}

.right-item {
  left: 50%;
}

.right-item::after {
  left: -10px;
}

.timeline-card {
  padding: 24px;
  background-color: var(--bg-white);
  position: relative;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.step-num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 8px;
}

.step-title {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.step-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Candidacy Section */
.candidacy {
  background-color: var(--bg-white);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.candidacy-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.candidacy-box {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--text-light);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.candidacy-title {
  font-size: 2rem;
  margin-bottom: 16px;
  color: var(--accent);
}

.candidacy-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 24px;
}

.norwood-graphic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.norwood-stage {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px;
  border-radius: 6px;
  text-align: center;
}

.norwood-stage-num {
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--accent);
  display: block;
}

.norwood-stage-text {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}

.norwood-stage.active-stage {
  background-color: rgba(212, 175, 55, 0.15);
  border-color: var(--accent);
}

/* FAQ Section */
.faq {
  background-color: var(--bg-white);
}

.faq-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px auto;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

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

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  padding: 8px 0;
  transition: var(--transition);
}

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

.faq-icon {
  transition: transform 0.3s ease;
  color: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  color: var(--text-muted);
  font-size: 0.95rem;
  padding-right: 24px;
}

.faq-answer p {
  padding: 12px 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
}

/* Final CTA Section */
.final-cta {
  background: radial-gradient(circle at 50% 50%, var(--primary-light) 0%, var(--primary) 100%);
  color: var(--text-light);
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 100px 24px;
}

.final-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 10% 20%, rgba(212,175,55,0.05) 0%, transparent 40%),
                    radial-gradient(circle at 90% 80%, rgba(212,175,55,0.05) 0%, transparent 40%);
  pointer-events: none;
}

.cta-container {
  max-width: 750px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-title {
  font-size: 3rem;
  margin-bottom: 20px;
}

.cta-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
}

.cta-offer-box {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px;
  border-radius: 12px;
  max-width: 500px;
  margin: 0 auto 40px auto;
  border-top: 3px solid var(--accent);
}

.cta-offer-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.cta-pricing {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.price-original {
  font-size: 1.25rem;
  text-decoration: line-through;
  color: rgba(255,255,255,0.4);
}

.price-discounted {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-light);
}

.cta-pricing-detail {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
}

.cta-trust-bar {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 32px;
}

.cta-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}

.cta-trust-icon {
  color: var(--accent);
}

/* Footer */
footer {
  background-color: #060e1a;
  color: rgba(255, 255, 255, 0.5);
  padding: 40px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-logo {
  height: 36px;
  width: auto;
  opacity: 0.7;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
}

/* Mobile Sticky CTA */
.mobile-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--bg-white);
  box-shadow: 0 -4px 10px rgba(0,0,0,0.1);
  padding: 12px 20px;
  display: none;
  z-index: 98;
  border-top: 1px solid var(--border-color);
  justify-content: space-between;
  align-items: center;
}

.sticky-offer-text {
  display: flex;
  flex-direction: column;
}

.sticky-offer-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
}

.sticky-offer-desc {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
}

.btn-sticky-cta {
  background-color: var(--accent);
  color: var(--primary);
  padding: 8px 16px;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--transition);
}

.btn-sticky-cta:hover {
  background-color: var(--accent-hover);
}

/* Animations */
@keyframes pulse-gold {
  0% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(212, 175, 55, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
  }
}

@keyframes pulse-gold-small {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 5px rgba(212, 175, 55, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
  }
}

@keyframes bounce-y {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* Testimonials Section */
.testimonials {
  background-color: var(--bg-light);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.testimonials-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px auto;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}

.testimonial-card {
  background-color: var(--bg-white);
  padding: 36px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(212, 175, 55, 0.4);
}

.testimonial-rating {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 8px;
}

.star-rating {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.1rem;
}

.recommendation-badge {
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--success);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: var(--font-heading);
}

.testimonial-text {
  color: var(--text-dark);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--accent);
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-size: 1.1rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 2px;
}

.author-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.testimonial-disclosure {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 24px;
}

/* Lead Form Styling */
.lead-form-container {
  background-color: var(--bg-white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
  max-width: 700px;
  margin: 40px auto 30px auto;
  text-align: left;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  scroll-margin-top: 100px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background-color: var(--bg-light);
  transition: var(--transition);
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background-color: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.form-checkbox {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  margin-top: 3px;
  flex-shrink: 0;
}

.form-checkbox label {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.btn-submit {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--text-light);
  padding: 16px;
  border-radius: 6px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(10, 25, 47, 0.25);
  text-align: center;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(10, 25, 47, 0.35);
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
  color: var(--primary);
}

.form-confidentiality {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 16px;
}

/* Doctor Section Styling (No Picture) */
.about-doctor {
  background-color: var(--bg-light);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 80px 24px;
}

.doctor-centered-container {
  max-width: 850px;
  margin: 0 auto;
}

.doctor-content-wrapper {
  background-color: var(--bg-white);
  padding: 48px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  border-left: 5px solid var(--accent);
}

.doctor-title-area {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 24px;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 20px;
}

.doctor-title-main {
  flex: 1;
}

.doctor-badge-inline {
  background-color: var(--primary);
  color: var(--text-light);
  padding: 10px 18px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--accent);
  flex-shrink: 0;
}

.badge-icon {
  font-size: 1.4rem;
}

.badge-text {
  display: flex;
  flex-direction: column;
}

.badge-text strong {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  color: var(--accent);
}

.badge-text span {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.7);
}

.doctor-subtitle {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--accent);
  margin-top: 6px;
}

.doctor-bio {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.doctor-credentials-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0;
}

.credential-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.cred-bullet {
  color: var(--accent);
  font-weight: 700;
}

.doctor-quote {
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
  font-style: italic;
  color: var(--primary);
  font-size: 1.1rem;
  line-height: 1.5;
  text-align: center;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-title {
    font-size: 2.75rem;
  }
  
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-trust-row {
    justify-content: center;
  }
  
  .problem-solution-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .why-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  
  .why-sub-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  
  .cases-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 600px;
    margin: 0 auto;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 600px;
    margin: 0 auto;
  }
  
  .timeline::after {
    left: 31px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 20px;
  }
  
  .timeline-item::after {
    left: 21px;
    right: auto;
  }
  
  .left-item {
    text-align: left;
  }
  
  .right-item {
    left: 0;
  }
  
  .candidacy-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  section {
    padding: 60px 16px;
  }
  
  .nav-menu {
    display: none; /* Can toggle via active class */
  }
  
  .nav-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--bg-white);
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    gap: 16px;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .cta-title {
    font-size: 2.25rem;
  }
  
  .mobile-sticky-cta {
    display: flex;
  }
  
  body {
    padding-bottom: 60px; /* Space for sticky bar */
  }

  .doctor-content-wrapper {
    padding: 32px 24px;
  }
  
  .doctor-title-area {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  
  .doctor-credentials-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.25rem;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  
  .btn-primary {
    justify-content: center;
  }
  
  .hero-trust-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .norwood-graphic {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .case-meta-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .lead-form-container {
    padding: 24px;
  }
}

/* Compliance Disclaimer Box */
.clinical-disclaimer-box {
  margin: 24px auto;
  padding: 18px 24px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background-color: var(--bg-light);
  text-align: left;
  max-width: 800px;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-muted);
  box-shadow: var(--shadow-sm);
}

.clinical-disclaimer-title {
  font-weight: 700;
  color: var(--primary);
  display: block;
  margin-bottom: 6px;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

/* Dark mode override for disclaimer in scroll section */
.scroll-density-section .clinical-disclaimer-box {
  border-color: rgba(255,255,255,0.15);
  background-color: rgba(255,255,255,0.05);
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 20px auto;
}

.scroll-density-section .clinical-disclaimer-title {
  color: var(--accent);
}

/* Social Proof Strip */
.hero-trust-strip {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-top: 24px;
  padding: 24px;
  background-color: var(--bg-white);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.hero-trust-strip .hero-trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.15rem;
  color: var(--primary);
  font-weight: 700;
  font-family: var(--font-heading);
}

.hero-trust-strip .hero-trust-icon {
  color: var(--accent);
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .hero-trust-strip {
    flex-direction: column;
    gap: 16px;
    align-items: center;
    text-align: center;
  }
}

/* =========================================================
   RESPONSIVE / MOBILE STYLES
   Breakpoints: 900px (tablet), 600px (mobile)
   ========================================================= */

/* ---------- Tablet (≤ 900px) ---------- */
@media (max-width: 900px) {

  /* Hero */
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .hero-subtitle {
    font-size: 1.05rem;
    max-width: 100%;
  }

  /* Problem / Solution */
  .problem-solution-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Cases (Before / After) */
  .cases-grid {
    grid-template-columns: 1fr;
  }

  /* Candidacy */
  .candidacy-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  /* Timeline – switch to single column */
  .timeline::after {
    left: 24px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 64px;
    padding-right: 16px;
    text-align: left;
  }

  .left-item {
    text-align: left;
  }

  .timeline-item::after {
    left: 14px;
    right: auto;
  }

  .right-item {
    left: 0;
  }

  /* Form */
  .form-row {
    grid-template-columns: 1fr;
  }

  /* Norwood graphic */
  .norwood-graphic {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- Mobile (≤ 600px) ---------- */
@media (max-width: 600px) {

  /* Global section padding */
  section {
    padding: 48px 16px;
  }

  /* Promo banner */
  .promo-banner {
    font-size: 0.72rem;
    padding: 8px 12px;
    text-align: center;
    white-space: normal;
    line-height: 1.4;
  }

  /* Header */
  .header-inner {
    flex-wrap: wrap;
    gap: 8px;
  }

  .nav-links {
    display: none;
  }

  /* Hero */
  .hero {
    padding: 36px 16px 56px 16px;
  }

  .hero-title {
    font-size: 1.85rem;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 24px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .btn-primary {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
    font-size: 0.95rem;
  }

  .btn-secondary {
    justify-content: center;
  }

  /* Lead form card */
  .lead-form-container {
    padding: 20px 14px;
    margin: 20px auto;
    border-radius: 10px;
  }

  /* Form inputs stack to 1 col */
  .form-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* Images — prevent overflow */
  img {
    max-width: 100%;
    height: auto;
  }

  .hero-media {
    aspect-ratio: 4 / 3;
  }

  .hero-video {
    object-fit: cover;
  }

  /* Scroll reveal section */
  .scroll-sticky-wrapper {
    padding: 24px 16px;
    top: 60px;
    height: calc(100vh - 60px);
  }

  .scroll-title {
    font-size: 1.55rem;
  }

  .scroll-subtitle {
    font-size: 0.88rem;
  }

  .split-image-container {
    max-width: 100%;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 10px;
  }

  /* Section typography */
  .section-title {
    font-size: 1.65rem;
    line-height: 1.25;
  }

  .section-desc {
    font-size: 0.93rem;
  }

  /* Problem / solution cards */
  .problem-card,
  .solution-card {
    padding: 22px 16px;
  }

  .card-title {
    font-size: 1.25rem;
  }

  .card-text {
    font-size: 0.92rem;
  }

  /* Candidacy */
  .candidacy-box {
    padding: 24px 16px;
  }

  .candidacy-title {
    font-size: 1.4rem;
  }

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

  /* Testimonials */
  .testimonial-card {
    padding: 22px 14px;
  }

  .testimonial-text {
    font-size: 0.92rem;
  }

  /* Cases */
  .case-meta-row {
    grid-template-columns: repeat(2, 1fr);
  }

  /* FAQ */
  .faq-question {
    font-size: 0.92rem;
    gap: 12px;
  }

  .faq-answer p {
    font-size: 0.88rem;
  }

  /* CTA section */
  .cta-offer-box {
    padding: 24px 14px;
  }

  .price-discounted {
    font-size: 1.75rem;
  }

  /* Social proof strip */
  .hero-trust-strip {
    flex-direction: column;
    padding: 16px 12px;
    gap: 14px;
    text-align: center;
    align-items: center;
  }

  .hero-trust-strip .hero-trust-item {
    font-size: 0.95rem;
    justify-content: center;
  }

  /* Sticky mobile bar */
  .mobile-sticky-cta {
    flex-direction: column;
    height: auto;
    padding: 8px 16px 10px;
    gap: 4px;
    text-align: center;
  }

  .sticky-offer-text {
    flex-direction: column;
    gap: 2px;
    align-items: center;
  }

  .btn-sticky-cta {
    width: 100%;
    text-align: center;
    padding: 10px 12px;
    border-radius: 6px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom-row {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
}

