/* ============================================================
   NERVE RENEWAL RITUAL — style.css
   ============================================================ */

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

:root {
  --dark:       #111820;
  --dark-card:  #1c2630;
  --light:      #f5f0eb;
  --white:      #ffffff;
  --orange:     #d97a1a;
  --red:        #c8231e;
  --red-hover:  #a81a16;
  --text-dark:  #1a1a1a;
  --text-mid:   #3d3d3d;
  --text-light: #d0ceca;

  --bar-green:  #4caf50;
  --bar-orange: #ff9800;
  --bar-deep:   #e64a19;
  --bar-red:    #b71c1c;

  --font-head: 'Merriweather', Georgia, serif;
  --font-body: 'Source Sans 3', 'Helvetica Neue', sans-serif;

  --max-w: 740px;
  --radius: 10px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.72;
  color: var(--text-dark);
  background: var(--light);
}

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

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

strong { font-weight: 700; }

.highlight      { color: var(--orange); }
.highlight-red  { color: var(--red); }

/* ---------- LAYOUT ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 72px 0;
}
.section--dark  { background: var(--dark); }
.section--light { background: var(--light); }

/* ---------- EYEBROW ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 14px;
}

/* ---------- HERO ---------- */
.hero {
  background: var(--white);
  padding: 20px 0 36px;
  text-align: center;
}

.hero__inner { display: flex; flex-direction: column; align-items: center; }

.hero__authority-bar {
  width: 100%;
  margin-bottom: 18px;
  padding: 10px 14px;
  border: 1px solid #e7d7bf;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff9ef 0%, #f7ebd8 100%);
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
}

.hero__authority-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8a5a11;
}

.hero__headline {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 18px;
  max-width: 640px;
}

.hero__sub {
  font-size: 16px;
  color: var(--text-mid);
  max-width: 500px;
  margin-bottom: 28px;
}

.hero__img-wrap {
  display: block;
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 32px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
  text-decoration: none;
}

.hero__img {
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 4/3;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-block;
  padding: 16px 36px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  letter-spacing: 0.02em;
}
.btn:active { transform: scale(0.97); }

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

.cta-wrap { text-align: center; margin-top: 36px; }

/* ---------- CONTENT BLOCK (light sections) ---------- */
.content-block { color: var(--text-dark); }
.content-block p { color: var(--text-mid); }

.content-block__img-wrap {
  display: block;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  margin: 28px 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  text-decoration: none;
}
.content-block__img {
  width: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 16/9;
}

/* ---------- SECTION TITLES ---------- */
.section__title {
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 28px;
  text-align: center;
}
.section__title--white { color: var(--white); }

.section__sub {
  font-size: 16px;
  color: var(--text-mid);
  text-align: center;
  margin-bottom: 40px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}
.section__sub--white { color: var(--text-light); }

/* ---------- STAGES GRID ---------- */
.stages-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 36px;
}

@media (max-width: 560px) {
  .stages-grid { grid-template-columns: 1fr; }
}

.stage-card {
  background: var(--dark-card);
  border-radius: var(--radius);
  padding: 18px 20px;
}

.stage-card__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.stage-badge {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 3px 9px;
  border-radius: 4px;
  text-transform: uppercase;
  white-space: nowrap;
}
.stage-badge--1 { background: #2e5e2e; color: #a5d6a7; }
.stage-badge--2 { background: #6d3c00; color: #ffd180; }
.stage-badge--3 { background: #7a2800; color: #ffab91; }
.stage-badge--4 { background: #5c0000; color: #ef9a9a; }

.stage-pct {
  font-size: 11px;
  font-weight: 700;
  color: #999;
  letter-spacing: 0.06em;
}

/* Progress bar */
.stage-bar {
  height: 5px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  margin-bottom: 14px;
  overflow: hidden;
}
.stage-bar__fill { height: 100%; border-radius: 3px; }
.stage-bar__fill--25  { width: 25%; background: var(--bar-green); }
.stage-bar__fill--50  { width: 50%; background: var(--bar-orange); }
.stage-bar__fill--75  { width: 75%; background: var(--bar-deep); }
.stage-bar__fill--100 { width: 100%; background: var(--bar-red); }

.stage-card__title {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.stage-list {
  list-style: none;
  padding: 0;
}
.stage-list li {
  font-size: 13px;
  color: var(--text-light);
  padding: 3px 0 3px 16px;
  position: relative;
  line-height: 1.5;
}
.stage-list li::before {
  content: '•';
  position: absolute;
  left: 2px;
  color: #888;
  font-size: 10px;
  top: 5px;
}

.stages-warning {
  text-align: center;
  color: var(--orange);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 28px;
}

/* ---------- FAQ ---------- */
.faq-block { max-width: var(--max-w); }

.faq { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }

.faq__item {
  background: var(--dark-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
}

.faq__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  cursor: pointer;
  list-style: none;
  user-select: none;
  gap: 12px;
}

.faq__question::-webkit-details-marker { display: none; }

.faq__question::after {
  content: '›';
  font-size: 22px;
  font-weight: 300;
  color: #aaa;
  transform: rotate(90deg);
  transition: transform 0.25s;
  flex-shrink: 0;
}

details[open] .faq__question::after { transform: rotate(270deg); }

.faq__answer {
  padding: 0 20px 16px;
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.65;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* ---------- FINAL CTA ---------- */
.final-cta { text-align: center; }
.final-cta__inner { display: flex; flex-direction: column; align-items: center; }

.final-cta__sub {
  font-size: 16px;
  color: var(--text-mid);
  margin-bottom: 32px;
  line-height: 1.65;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--light);
  border-top: 1px solid #e0dbd4;
  padding: 28px 24px 24px;
  text-align: center;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 4px 2px;
  margin-bottom: 10px;
}

.footer__nav a {
  font-size: 13px;
  color: var(--text-mid);
  text-decoration: none;
  padding: 2px 6px;
  transition: color 0.15s;
}
.footer__nav a:hover { color: var(--red); }

.footer__sep { font-size: 13px; color: #bbb; }

.footer__copy {
  font-size: 12px;
  color: #999;
}

/* ---------- SUB-PAGE SHARED ---------- */
.subpage-header {
  background: var(--dark);
  padding: 48px 0;
  text-align: center;
}
.subpage-header h1 {
  font-size: clamp(1.4rem, 4vw, 2rem);
  color: var(--white);
  font-weight: 900;
}

.subpage-body {
  max-width: 700px;
  margin: 0 auto;
  padding: 56px 24px;
  color: var(--text-mid);
  font-size: 16px;
  line-height: 1.8;
}
.subpage-body h2 {
  font-size: 1.2rem;
  color: var(--text-dark);
  margin: 32px 0 12px;
  font-weight: 700;
}
.subpage-body p { margin-bottom: 14px; }
.subpage-body a { color: var(--red); text-decoration: none; }
.subpage-body a:hover { text-decoration: underline; }

.back-link {
  display: inline-block;
  margin-top: 40px;
  font-size: 14px;
  color: var(--red);
  text-decoration: none;
}
.back-link:hover { text-decoration: underline; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 640px) {
  .section { padding: 40px 0; }
  .btn { padding: 14px 28px; font-size: 15px; }

  .hero { padding: 18px 0 20px; }
  .hero__authority-bar { margin-bottom: 12px; padding: 8px 10px; }
  .hero__authority-label { font-size: 10px; letter-spacing: 0.14em; }
  .hero__headline { font-size: 1.1rem; margin-bottom: 8px; }
  .hero__sub { font-size: 13px; margin-bottom: 12px; }
  .hero__img-wrap { margin-bottom: 14px; }
  .hero__img { aspect-ratio: 16/9; }
}
