/* ===== GLOBAL RESET & VARIABLES ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-cream: #FDFBF7;
  --color-taupe: #F3EDE4;
  --color-olive: #7A8B5E;
  --color-terracotta: #C27A5A;
  --color-chocolate: #3A322C;
  --color-slate: #4A433D;
  --font-serif: 'Lora', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --transition-gentle: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-card: 0 4px 20px rgba(58, 50, 44, 0.06);
  --radius-card: 1rem;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-cream);
  color: var(--color-chocolate);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===== CROSS-BROWSER SCROLLBAR STYLING ===== */
/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--color-olive) var(--color-taupe);
}

/* Chrome, Edge, Safari, Opera */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: var(--color-taupe);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb {
  background: var(--color-olive);
  border-radius: 3px;
  transition: background 0.3s;
}

::-webkit-scrollbar-thumb:hover {
  background: #6b7c51;
}

/* For horizontal scroll containers (like the timeline) */
.timeline-scroll {
  /* Firefox */
  scrollbar-width: thin;
  scrollbar-color: var(--color-olive) transparent;
}

.timeline-scroll::-webkit-scrollbar {
  height: 4px;
}

.timeline-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.timeline-scroll::-webkit-scrollbar-thumb {
  background: var(--color-olive);
  border-radius: 2px;
}

/* ===== SKIP LINK (Accessibility) ===== */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--color-chocolate);
  color: white;
  padding: 0.5rem 1rem;
  z-index: 999;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.25;
}

h1 {
  font-size: clamp(2rem, 5vw, 2.8rem);
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: 0.5rem;
}

h3 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  border: none;
  border-radius: 2rem;
  padding: 0.8rem 2rem;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.25s, transform 0.2s, box-shadow 0.2s;
  background: transparent;
  text-decoration: none;
}





.btn-secondary {
  background: transparent;
  border: 1.5px solid var(--color-olive);
  color: var(--color-olive);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: var(--color-olive);
  color: white;
}

/* ===== HEADER & NAVIGATION ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 251, 247, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(58, 50, 44, 0.08);
}

.logo-text {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--color-chocolate);
  text-decoration: none;
}

.logo-text:hover {
  color: var(--color-olive);
}

.nav-list {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  flex-wrap: wrap;
}

.nav-list a {
  color: var(--color-slate);
  text-decoration: none;
  padding: 0.4rem 0.8rem;
  border-radius: 2rem;
  font-size: 0.9rem;
  transition: background 0.2s, color 0.2s;
}

.nav-list a:hover,
.nav-list a:focus-visible {
  background: var(--color-taupe);
}

.nav-link.active {
  background: var(--color-olive);
  color: white;
}

/* ===== PAGE CONTAINER ===== */
.page-container {
  min-height: 85vh;
}

.page {
  display: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.page.active {
  display: block;
  opacity: 1;
}

/* ===== HERO SECTIONS ===== */
.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.hero-home {
  height: 80vh;
  min-height: 480px;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  color: white;
  background: rgba(58, 50, 44, 0.45);
  padding: 2rem;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  margin-bottom: 1rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.2rem;
  max-width: 600px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}

/* Page-specific hero */
.hero-page {
  height: 50vh;
  min-height: 320px;
}

.hero-page .hero-overlay {
  background: rgba(58, 50, 44, 0.5);
}

.hero-label {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  opacity: 0.85;
}

/* ===== HOMEPAGE COMPONENTS ===== */
.promise-section {
  text-align: center;
  padding: 4rem 1.5rem;
  max-width: 720px;
  margin: 0 auto;
}

.label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  color: var(--color-olive);
  margin-bottom: 0.5rem;
}

.pain-points-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  padding: 2rem 1.5rem 4rem;
  max-width: 1100px;
  margin: 0 auto;
}





.card-inner h3 {
  margin-bottom: 0.5rem;
}

.card-link {
  color: var(--color-olive);
  font-weight: 500;
  display: inline-block;
  margin-top: 1rem;
}

.closing-reassurance {
  text-align: center;
  padding: 4rem 1.5rem;
  background: var(--color-taupe);
}

/* Trust Footer */
.trust-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 2rem 1.5rem;
  background: var(--color-cream);
  border-top: 1px solid rgba(58, 50, 44, 0.08);
  font-size: 0.9rem;
}

/* ===== NARRATIVE PAGE STYLES (Five Pain Points) ===== */
.narrative-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

.narrative-block {
  margin-bottom: 3rem;
}

.narrative-block h2 {
  color: var(--color-olive);
  margin-bottom: 1rem;
}

.narrative-block.pivot {
  background: var(--color-taupe);
  padding: 2rem;
  border-radius: var(--radius-card);
  border-left: 4px solid var(--color-olive);
}

.narrative-block.solution {
  background: rgba(253, 251, 247, 0.8);
  padding: 2rem;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

.narrative-block.conclusion {
  text-align: center;
  padding: 2rem;
}

/* Page CTA */
.page-cta {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(58, 50, 44, 0.08);
}

/* ===== LIVE-PULSE DASHBOARD (Placement Friction) ===== */
.live-pulse-dashboard {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.pulse-card {
  background: white;
  border-radius: var(--radius-card);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  position: relative;
  border-top: 3px solid var(--color-olive);
}

.pulse-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.pulse-indicator.active {
  background: var(--color-olive);
  animation: pulseGlow 2s infinite;
}

.pulse-indicator.limited {
  background: var(--color-terracotta);
  animation: pulseGlow 2.5s infinite;
}

.availability {
  font-size: 1.1rem;
  margin: 0.5rem 0;
}

.intake-note {
  font-size: 0.85rem;
  color: var(--color-slate);
}

/* ===== OPEN LEDGER (Trust Verification) ===== */
.open-ledger {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin: 2rem 0;
}

.ledger-item {
  background: white;
  border-radius: var(--radius-card);
  padding: 1.2rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  box-shadow: var(--shadow-card);
}

.ledger-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.live-badge {
  background: var(--color-olive);
  color: white;
  font-size: 0.7rem;
  padding: 0.2rem 0.6rem;
  border-radius: 1rem;
  margin-left: 0.5rem;
  text-transform: uppercase;
  display: inline-block;
}

/* ===== VOICE INTAKE DEMO (Complex Intake) ===== */
.voice-intake-demo {
  margin: 2rem 0;
  text-align: center;
}

.voice-wave-container {
  background: var(--color-taupe);
  border-radius: 3rem;
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.voice-wave {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--color-olive);
  animation: breathe 1.8s ease-in-out infinite;
}

.voice-prompt {
  font-style: italic;
  color: var(--color-slate);
}

.upload-zone {
  border: 2px dashed var(--color-olive);
  border-radius: 1rem;
  padding: 2rem;
  background: white;
  cursor: pointer;
  transition: background 0.3s;
}

.upload-zone:hover {
  background: var(--color-taupe);
}

.upload-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 0.5rem;
}

/* ===== PARTNER PORTAL PREVIEW (Lack of Visibility) ===== */
.portal-preview {
  margin: 2rem 0;
}

.portal-card {
  background: white;
  border-radius: var(--radius-card);
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-card);
}

.portal-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-dot.green {
  background: var(--color-olive);
}

.portal-timestamp {
  font-size: 0.8rem;
  color: var(--color-slate);
  display: block;
  margin-top: 0.8rem;
}

.portal-note {
  font-size: 0.85rem;
  color: var(--color-slate);
  text-align: center;
  font-style: italic;
}

/* ===== SANCTUARY UX DEMO (Emotional Burnout) ===== */
.sanctuary-demo {
  margin: 2rem 0;
}

.breathing-space {
  text-align: center;
  padding: 3rem 1rem;
  background: var(--color-taupe);
  border-radius: 2rem;
  margin-bottom: 2rem;
}

.breath-circle {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: radial-gradient(circle, var(--color-olive) 0%, transparent 70%);
  animation: breathe 4s ease-in-out infinite;
}

.breath-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--color-chocolate);
}

.sanctuary-principles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.principle {
  background: white;
  padding: 1.2rem;
  border-radius: var(--radius-card);
  text-align: center;
  box-shadow: var(--shadow-card);
}

.principle span {
  display: block;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

/* ===== TIMELINE (Friction Page - legacy) ===== */
.timeline-container {
  margin: 3rem 0;
}

.timeline-scroll {
  display: flex;
  overflow-x: auto;
  gap: 1.5rem;
  padding: 1.5rem 0.5rem;
}

.timeline-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 80px;
  transition: transform 0.3s, color 0.3s;
}

.stage-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-taupe);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: background 0.3s, transform 0.3s;
}

.timeline-stage.active .stage-circle {
  background: var(--color-terracotta);
  color: white;
  transform: scale(1.1);
}

.flip-card-wrapper {
  perspective: 800px;
  width: 220px;
  margin: 2rem auto;
}

.flip-card {
  width: 100%;
  height: 140px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s;
  cursor: pointer;
}

.flip-card.flipped {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}

.flip-card-front {
  background: var(--color-taupe);
  font-weight: 500;
}

.flip-card-back {
  background: var(--color-olive);
  color: white;
  transform: rotateY(180deg);
}

.flip-highlight {
  font-size: 0.9rem;
  margin-top: 0.5rem;
  font-weight: 400;
}

/* ===== CREDENTIAL WHEEL (Trust Page - legacy) ===== */
.credential-wheel {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 2.5rem 0;
}

.wheel-center {
  width: 100%;
  text-align: center;
  font-style: italic;
  margin-bottom: 1rem;
  color: var(--color-olive);
}

.wheel-segment {
  background: var(--color-taupe);
  border-radius: 3rem;
  padding: 0.7rem 1.5rem;
  cursor: pointer;
  transition: background 0.25s, transform 0.2s;
}

.wheel-segment:hover,
.wheel-segment:focus-visible {
  background: var(--color-olive);
  color: white;
}

.wheel-detail {
  min-height: 60px;
  text-align: center;
  font-style: italic;
  margin-top: 1rem;
}

/* ===== DISSOLVING FORM (Paperwork Page - legacy) ===== */
.dissolve-container {
  margin: 2.5rem 0;
  position: relative;
  min-height: 220px;
}

.paper-stack {
  position: absolute;
  left: 0;
  top: 0;
  width: 45%;
}

.paper-sheet {
  width: 100%;
  height: 30px;
  background: white;
  margin-bottom: 6px;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  transition: opacity 0.4s, transform 0.4s;
}

.dissolve-phrases {
  position: absolute;
  right: 0;
  top: 0;
  width: 48%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s, transform 0.6s;
}

.dissolve-quote {
  clear: both;
  text-align: center;
  font-style: italic;
  margin-top: 2rem;
  opacity: 0;
  transition: opacity 0.6s;
}

.dissolve-container.revealed .paper-sheet {
  opacity: 0.15;
}

.dissolve-container.revealed .dissolve-phrases {
  opacity: 1;
  transform: translateY(0);
}

.dissolve-container.revealed .dissolve-quote {
  opacity: 1;
}

/* ===== BRIDGE DIAGRAM (Silence Page - legacy) ===== */
.bridge-diagram {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin: 2.5rem 0;
  position: relative;
}

.bridge-before,
.bridge-after {
  text-align: center;
  width: 45%;
}

.bridge-figure {
  font-size: 2.5rem;
}

.thought-bubble {
  background: var(--color-taupe);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.fog {
  width: 100%;
  height: 30px;
  background: rgba(200, 200, 200, 0.6);
  margin-top: 0.5rem;
  transition: opacity 0.6s;
}

.bridge-after .status-card {
  background: var(--color-olive);
  color: white;
  border-radius: 2rem;
  padding: 0.5rem 1.2rem;
  margin-top: 0.5rem;
}

.portal-teaser {
  text-align: center;
  margin: 2.5rem 0;
}

/* ===== WEIGHT CHART (Burnout Page - legacy) ===== */
.weight-chart {
  margin: 2.5rem 0;
}

.bar-container {
  margin-bottom: 2rem;
}

.bar-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.bar {
  height: 50px;
  border-radius: 2rem;
  width: 100%;
  overflow: hidden;
  background: var(--color-taupe);
  transition: background 0.3s, box-shadow 0.3s;
}

.bar-chaos {
  background: rgba(200, 100, 100, 0.3);
  position: relative;
}

.chaos-shapes {
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(45deg, rgba(180, 80, 80, 0.4) 0px, rgba(180, 80, 80, 0.4) 8px, transparent 8px, transparent 16px);
  animation: chaosMove 2s infinite linear;
}

@keyframes chaosMove {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 20px 20px;
  }
}

.bar-calm {
  background: rgba(122, 139, 94, 0.3);
  box-shadow: inset 0 0 18px rgba(122, 139, 94, 0.3);
}

.calm-waves {
  height: 100%;
  background: linear-gradient(90deg, var(--color-olive) 0%, var(--color-olive) 60%, transparent 80%);
  width: 70%;
  border-radius: 2rem;
  animation: breathe 3s ease-in-out infinite;
}

@keyframes breathe {

  0%,
  100% {
    opacity: 0.7;
  }

  50% {
    opacity: 1;
  }
}

.burnout-final-message {
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
  margin: 2rem 0;
}

/* ===== CARE GUIDE (Chat) ===== */


.guide-glow {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(122, 139, 94, 0.35);
  animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(122, 139, 94, 0.4);
  }

  50% {
    box-shadow: 0 0 0 12px rgba(122, 139, 94, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(122, 139, 94, 0);
  }
}



.guide-panel {
  position: fixed;
  bottom: 5rem;
  right: 1.5rem;
  width: 320px;
  max-width: calc(100vw - 2rem);
  background: white;
  border-radius: 1rem;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
  display: none;
  flex-direction: column;
  z-index: 210;
  overflow: hidden;
}

.guide-panel.open {
  display: flex;
}

.guide-header {
  background: var(--color-olive);
  color: white;
  padding: 0.8rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.guide-close {
  background: transparent;
  border: none;
  color: white;
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
}

.guide-messages {
  padding: 1rem;
  height: 220px;
  overflow-y: auto;
  background: var(--color-cream);
  display: flex;
  flex-direction: column;
}

.guide-messages {
  /* Firefox */
  scrollbar-width: thin;
  scrollbar-color: var(--color-olive) var(--color-taupe);
}

.guide-messages::-webkit-scrollbar {
  width: 4px;
}

.guide-messages::-webkit-scrollbar-track {
  background: var(--color-taupe);
  border-radius: 2px;
}

.guide-messages::-webkit-scrollbar-thumb {
  background: var(--color-olive);
  border-radius: 2px;
}

.msg {
  margin-bottom: 0.8rem;
  padding: 0.6rem 1rem;
  border-radius: 1.2rem;
  max-width: 85%;
  word-wrap: break-word;
}

.guide-msg {
  background: var(--color-taupe);
  align-self: flex-start;
}

.user-msg {
  background: var(--color-olive);
  color: white;
  align-self: flex-end;
  margin-left: auto;
}

.guide-form {
  display: flex;
  padding: 0.7rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  gap: 0.5rem;
}

.guide-form input {
  flex: 1;
  border: 1px solid var(--color-taupe);
  border-radius: 2rem;
  padding: 0.6rem 1rem;
  font-family: inherit;
  font-size: 0.95rem;
}

.btn-small {
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
}

/* ===== UPDATED HEADER: Minimalist Architectural Navigation ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 251, 247, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 0.9rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(58, 50, 44, 0.06);
}

.logo {
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--color-chocolate);
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: color 0.3s;
}

.logo-text:hover {
  color: var(--color-olive);
}

/* Desktop Navigation: Ghost-style, text-only */
.desktop-nav {
  display: block;
}

.nav-list {
  display: flex;
  gap: 0.25rem;
  list-style: none;
  flex-wrap: wrap;
}

.nav-list a {
  color: var(--color-slate);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.95rem;
  font-weight: 400;
  transition: color 0.3s, background 0.3s;
  position: relative;
}

/* Hover: Soft fade to Muted Olive — no blink, just an organic transformation */
.nav-list a:hover,
.nav-list a:focus-visible {
  color: var(--color-olive);
  background: rgba(122, 139, 94, 0.06);
}

/* Active state: subtle underline accent */
.nav-list a.active,
.nav-link.active {
  color: var(--color-olive);
  background: transparent;
}

.nav-list a.active::after,
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--color-olive);
  border-radius: 1px;
}

/* ===== MOBILE BOTTOM NAVIGATION (Tabbed Shelf) ===== */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 150;
  background: rgba(253, 251, 247, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(58, 50, 44, 0.08);
  padding: 0.5rem 0.75rem;
  padding-bottom: max(0.5rem, env(safe-area-inset-bottom));
  display: none;
  justify-content: space-around;
  align-items: center;
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  text-decoration: none;
  color: var(--color-slate);
  font-size: 0.7rem;
  font-weight: 400;
  padding: 0.3rem 0.5rem;
  border-radius: 0.75rem;
  transition: color 0.3s, background 0.3s;
  min-width: 60px;
  text-align: center;
}

.bottom-nav-item svg {
  transition: stroke 0.3s;
}

.bottom-nav-item:hover,
.bottom-nav-item:focus-visible,
.bottom-nav-item.active {
  color: var(--color-olive);
  background: rgba(122, 139, 94, 0.06);
}

/* ===== RESPONSIVE: Show mobile nav, adjust header ===== */

.hero-intake {
  background-image: linear-gradient(rgba(58,50,44,0.5), rgba(58,50,44,0.6)), url('assets/hero-paperwork.jpg');
}

.hero-trust {
  background-image: linear-gradient(rgba(58,50,44,0.5), rgba(58,50,44,0.6)), url('assets/hero-trust.jpg');
}

.hero-silence {
  background-image: linear-gradient(rgba(58,50,44,0.5), rgba(58,50,44,0.6)), url('assets/hero-silence.jpg');
}

.hero-burnout {
  background-image: linear-gradient(rgba(58,50,44,0.35), rgba(58,50,44,0.45)), url('assets/hero-burnout.jpg');
}

.hero-friction {
  background-image: linear-gradient(rgba(58,50,44,0.5), rgba(58,50,44,0.6)), url('assets/hero-friction.jpg');
}


@media (max-width: 700px) {
  .desktop-nav {
    display: none;
  }

  .mobile-bottom-nav {
    display: flex;
  }

  .site-header {
    justify-content: center;
    padding: 0.75rem 1rem;
  }

  .logo-text {
    font-size: 1.2rem;
  }

  /* Add bottom padding to body so content isn't hidden behind mobile nav */
  body {
    padding-bottom: 80px;
  }

  /* Adjust Care Guide button position to clear mobile nav */
  

  .guide-panel {
    bottom: 9rem;
  }
}

/* ===== UPDATED PAIN POINT CARDS (Now as anchor tags) ===== */




.card-label {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  color: var(--color-olive);
  margin-bottom: 0.4rem;
}

.card-inner h3 {
  margin-bottom: 0.5rem;
  color: var(--color-chocolate);
}

.card-link {
  color: var(--color-olive);
  font-weight: 500;
  display: inline-block;
  margin-top: 1rem;
  transition: color 0.3s;
}

.pain-card:hover .card-link {
  color: #5d6e42;
}

/* ===== UPDATED BUTTONS (Ghost style support) ===== */
.btn {
  display: inline-block;
  border: none;
  border-radius: 2rem;
  padding: 0.85rem 2.2rem;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.4s, color 0.4s, transform 0.3s, box-shadow 0.3s;
  background: transparent;
  text-decoration: none;
}

/* Primary: Filled Olive */


.btn-primary:hover,
.btn-primary:focus-visible {
  background: #6b7c51;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(122, 139, 94, 0.3);
}

/* Secondary: Ghost — Border-only, fills on hover */
.btn-secondary {
  background: transparent;
  border: 1.5px solid var(--color-olive);
  color: var(--color-olive);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: var(--color-olive);
  color: white;
  border-color: var(--color-olive);
}

/* Hero CTA: Soft Terracotta ghost */
.hero-cta {
  background: transparent;
  border: 1.5px solid white;
  color: white;
  margin-top: 1.5rem;
  font-size: 1.05rem;
}

.hero-cta:hover,
.hero-cta:focus-visible {
  background: white;
  color: var(--color-chocolate);
  border-color: white;
}

/* ===== UPDATED CARE GUIDE (The Voice Button — pearl-like) ===== */




.guide-glow {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(122, 139, 94, 0.3);
  animation: pearlPulse 3s ease-in-out infinite;
}

@keyframes pearlPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.4;
  }

  50% {
    transform: scale(1.18);
    opacity: 0.05;
  }
}

/* Guide panel opening prompt */
.guide-header {
  background: var(--color-olive);
  color: white;
  padding: 0.9rem 1.2rem;
  font-size: 0.95rem;
  font-weight: 400;
  font-style: italic;
  border-radius: 1rem 1rem 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ===== TRUST FOOTER UPDATES ===== */
.trust-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
  padding: 2.5rem 1.5rem;
  background: var(--color-cream);
  border-top: 1px solid rgba(58, 50, 44, 0.06);
  font-size: 0.9rem;
  color: var(--color-slate);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.trust-icon {
  font-size: 1.2rem;
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 400px) {
  .hero-cta {
    padding: 0.7rem 1.5rem;
    font-size: 0.95rem;
  }

  .guide-button {
    width: 54px;
    height: 54px;
    bottom: 5rem;
    right: 1rem;
  }

  .trust-footer {
    gap: 1.5rem;
    font-size: 0.8rem;
  }
}

/* ===== ACCESSIBILITY: REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .guide-glow {
    animation: none;
    opacity: 0;
  }
}

/* ===== FOCUS VISIBLE ===== */
:focus-visible {
  outline: 2px solid var(--color-olive);
  outline-offset: 2px;
}

/* ===== 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;
}

/* Cross-browser video fixes */
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Prevents gray flash in some browsers */
  background-color: var(--color-chocolate, #3A322C);
  /* Safari sometimes shows controls briefly */
  -webkit-media-controls: none !important;
  -webkit-media-controls-enclosure: none !important;
}

/* Hide native video controls if they flash on load */
.hero-video::-webkit-media-controls {
  display: none !important;
}

.hero-video::-webkit-media-controls-panel {
  display: none !important;
}

.hero-video::-webkit-media-controls-play-button {
  display: none !important;
}

/* GLOBAL_NAV_VISIBILITY_AUTHORITY
   Canonical display ownership for global desktop and mobile navigation.
*/
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  visibility: visible;
  opacity: 1;
}

.site-header .desktop-nav {
  display: block;
  visibility: visible;
  opacity: 1;
}

.site-header .nav-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header .nav-link {
  display: inline-flex;
  align-items: center;
  visibility: visible;
  opacity: 1;
}

.mobile-bottom-nav {
  display: none;
}

@media (max-width: 700px) {
  .site-header {
    justify-content: center;
  }

  .site-header .desktop-nav {
    display: none;
  }

  .mobile-bottom-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-around;
    visibility: visible;
    opacity: 1;
  }

  .mobile-bottom-nav .bottom-nav-item {
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: visible;
    opacity: 1;
  }
}

/* REFERRAL_HERO_AUTHORITY_START */
.hero.hero-page.hero-friction {
  position: relative;
  background-color: #3a322c;
  background-image:
    linear-gradient(
      rgba(58, 50, 44, 0.5),
      rgba(58, 50, 44, 0.6)
    ),
    url("/assets/hero-friction.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
/* REFERRAL_HERO_AUTHORITY_END */

/* HOME_PAIN_CARD_AUTHORITY_START */
.pain-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;

  min-width: 0;
  min-height: 100%;
  padding: clamp(1.25rem, 2.4vw, 1.8rem);

  overflow: hidden;

  color: inherit;
  text-decoration: none;

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.96),
      rgba(247, 243, 236, 0.94)
    );

  border: 1px solid rgba(58, 50, 44, 0.1);
  border-radius: 18px;

  box-shadow:
    0 12px 34px rgba(58, 50, 44, 0.07);

  visibility: visible;
  opacity: 1;
  transform: none;

  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.pain-card:hover,
.pain-card:focus-visible {
  transform: translateY(-4px);

  border-color: rgba(89, 100, 71, 0.24);

  box-shadow:
    0 18px 44px rgba(58, 50, 44, 0.12);

  outline: none;
}

.pain-card h2,
.pain-card h3,
.pain-card h4 {
  margin-top: 0;
  color: #3a322c;
}

.pain-card p {
  color: #626a6d;
}

.pain-card p:last-child {
  margin-bottom: 0;
}

/*
  Support the most common home-page card containers without
  requiring JavaScript.
*/
.pain-grid,
.pain-cards,
.pain-point-grid,
.pain-points-grid {
  display: grid;

  grid-template-columns:
    repeat(
      auto-fit,
      minmax(min(100%, 250px), 1fr)
    );

  gap: clamp(1rem, 2vw, 1.5rem);

  width: 100%;
  margin: 0;
  padding: 0;
}

@media (max-width: 700px) {
  .pain-grid,
  .pain-cards,
  .pain-point-grid,
  .pain-points-grid {
    grid-template-columns: 1fr;
  }

  .pain-card {
    width: 100%;
  }
}
/* HOME_PAIN_CARD_AUTHORITY_END */
