/* ═══════════════════════════════════════════
   ШКОЛА ЭКЗОРЦИЗМА И ГИПНОТЕРАПИИ
   Dark Luxury / Gold Premium Design
   ═══════════════════════════════════════════ */

/* ── TOKENS ── */
:root {
  --bg-deep:    #050507;
  --bg-dark:    #0a0a0f;
  --bg-card:    #111118;
  --bg-card-hover: #16161f;
  --bg-surface: #1a1a24;

  --gold-light: #f5e6b8;
  --gold:       #c8a55c;
  --gold-mid:   #a88a3e;
  --gold-dark:  #8a6d3b;
  --gold-deep:  #5a4425;

  --text:       #b0adb8;
  --text-dim:   #6b6878;
  --text-bright:#e8e6ee;
  --white:      #f5f3fa;

  --ff-display: 'Playfair Display', 'Georgia', serif;
  --ff-accent:  'Cormorant Garamond', 'Georgia', serif;
  --ff-body:    'Inter', -apple-system, sans-serif;

  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring:cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--ff-body);
  background: var(--bg-deep);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--gold); text-decoration: none; transition: color .3s; }
a:hover { color: var(--gold-light); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

/* ── GRADIENT TEXT ── */
.gradient-text {
  font-family: var(--ff-display);
  font-weight: 500;
  background: linear-gradient(180deg, #f5e6b8 0%, #c8a55c 40%, #8a6d3b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-text-sm {
  font-family: var(--ff-accent);
  font-weight: 500;
  background: linear-gradient(180deg, #f5e6b8 0%, #c8a55c 50%, #a88a3e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── SECTION COMMON ── */
.section-label {
  font-family: var(--ff-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  opacity: 0.7;
}
.section-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
.section-sub {
  font-size: 1.1rem;
  color: var(--text-dim);
  max-width: 600px;
  margin-bottom: 3rem;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.2rem;
  border-radius: 4px;
  font-family: var(--ff-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all .4s var(--ease-out);
  border: none;
  text-decoration: none;
}
.btn--primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--bg-deep);
  box-shadow: 0 4px 24px rgba(200, 165, 92, 0.2);
}
.btn--primary:hover {
  box-shadow: 0 8px 40px rgba(200, 165, 92, 0.35);
  transform: translateY(-2px);
  color: var(--bg-deep);
}
.btn--ghost {
  background: transparent;
  color: var(--gold);
  border: 1px solid rgba(200, 165, 92, 0.3);
}
.btn--ghost:hover {
  border-color: var(--gold);
  background: rgba(200, 165, 92, 0.06);
}
.btn--gold {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
}
.btn--gold:hover {
  background: var(--gold);
  color: var(--bg-deep);
}
.btn--large {
  padding: 1.1rem 3rem;
  font-size: 1rem;
}

/* ── QUOTE ── */
.quote {
  font-family: var(--ff-accent);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-style: italic;
  color: var(--gold-light);
  text-align: center;
  max-width: 800px;
  margin: 4rem auto 0;
  padding: 2rem 0;
  position: relative;
  line-height: 1.5;
}
.quote::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.quote__mark {
  color: var(--gold-dark);
  font-size: 1.2em;
}

/* ══════════════ NAVIGATION ══════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.2rem 0;
  transition: all .5s var(--ease-out);
}
.nav--scrolled {
  background: rgba(5, 5, 7, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(200, 165, 92, 0.1);
  padding: 0.8rem 0;
}
.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--ff-accent);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.15em;
}
.nav__logo-icon { width: 36px; height: 36px; }
.nav__links {
  display: flex;
  gap: 2.5rem;
}
.nav__links a {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-dim);
  letter-spacing: 0.05em;
  transition: color .3s;
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width .4s var(--ease-out);
}
.nav__links a:hover { color: var(--gold-light); }
.nav__links a:hover::after { width: 100%; }
.nav__cta {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gold);
  border: 1px solid rgba(200, 165, 92, 0.3);
  padding: 0.5rem 1.5rem;
  border-radius: 3px;
  letter-spacing: 0.05em;
  transition: all .3s;
}
.nav__cta:hover {
  border-color: var(--gold);
  background: rgba(200, 165, 92, 0.08);
  color: var(--gold-light);
}

/* ══════════════ HERO ══════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg canvas {
  width: 100%;
  height: 100%;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(200, 165, 92, 0.04) 0%, transparent 70%),
    radial-gradient(ellipse at 50% 100%, rgba(5,5,7,0.95) 0%, transparent 60%);
  z-index: 1;
}
.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 2rem;
}
.hero__badge {
  display: inline-block;
  font-family: var(--ff-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(200, 165, 92, 0.25);
  padding: 0.6rem 1.8rem;
  margin-bottom: 2.5rem;
  position: relative;
}
.hero__badge::before,
.hero__badge::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  border: 1px solid var(--gold-dark);
  transform: rotate(45deg);
}
.hero__badge::before { left: -4px; top: 50%; margin-top: -3px; }
.hero__badge::after  { right: -4px; top: 50%; margin-top: -3px; }

.hero__title {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  line-height: 1.08;
  margin-bottom: 1.5rem;
}
.hero__sub {
  font-size: 1.15rem;
  color: var(--text);
  line-height: 1.8;
  max-width: 560px;
  margin: 0 auto 2.5rem;
}
.hero__ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hero__scroll-hint {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.4;
  animation: scrollBounce 2.5s infinite;
}
.hero__scroll-dot {
  animation: scrollDot 2.5s infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}
@keyframes scrollDot {
  0% { cy: 10; opacity: 1; }
  50% { cy: 24; opacity: 0.3; }
  100% { cy: 10; opacity: 1; }
}

/* ══════════════ PROBLEM ══════════════ */
.problem {
  padding: 8rem 0;
  background: var(--bg-dark);
  position: relative;
}
.problem::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,165,92,0.15), transparent);
}
.problem__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-bottom: 2rem;
}
.problem__text p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.8;
}
.problem__accent {
  font-family: var(--ff-accent);
  font-size: 1.5rem !important;
  color: var(--gold-light);
  font-weight: 500;
}
.problem__cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.problem__card {
  background: var(--bg-card);
  border: 1px solid rgba(200, 165, 92, 0.08);
  border-radius: 6px;
  padding: 1.5rem 1.8rem;
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  transition: all .4s var(--ease-out);
}
.problem__card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(200, 165, 92, 0.15);
  transform: translateX(4px);
}
.problem__card-icon { width: 48px; height: 48px; flex-shrink: 0; }
.problem__card h3 {
  font-family: var(--ff-accent);
  font-size: 1.15rem;
  color: var(--gold);
  margin-bottom: 0.4rem;
  font-weight: 500;
}
.problem__card p {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ══════════════ MECHANISM ══════════════ */
.mechanism {
  padding: 8rem 0;
  background: var(--bg-deep);
  position: relative;
}
.mechanism::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,165,92,0.15), transparent);
}
.mechanism__visual {
  margin: 4rem auto;
  max-width: 500px;
}
.mechanism__diagram {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mechanism__layer {
  padding: 1.2rem 2rem;
  text-align: center;
  position: relative;
  transition: all .4s var(--ease-out);
}
.mechanism__layer:hover {
  transform: scale(1.02);
}
.mechanism__layer--conscious {
  background: rgba(200, 165, 92, 0.06);
  border: 1px solid rgba(200, 165, 92, 0.15);
  border-radius: 8px 8px 0 0;
}
.mechanism__layer--critical {
  background: linear-gradient(90deg, rgba(200,165,92,0.15), rgba(200,165,92,0.3), rgba(200,165,92,0.15));
  height: 4px;
  padding: 0;
  position: relative;
  overflow: visible;
}
.mechanism__layer--critical .mechanism__layer-label {
  position: absolute;
  left: -160px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.75rem;
  white-space: nowrap;
}
.mechanism__layer--critical .mechanism__layer-desc {
  position: absolute;
  right: -140px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.7rem;
}
.mechanism__layer--subconscious {
  background: rgba(200, 165, 92, 0.04);
  border: 1px solid rgba(200, 165, 92, 0.1);
  border-top: none;
  padding: 2rem;
}
.mechanism__layer--entities {
  background: rgba(200, 165, 92, 0.02);
  border: 1px solid rgba(200, 165, 92, 0.06);
  border-top: 1px dashed rgba(200, 165, 92, 0.15);
  border-radius: 0 0 8px 8px;
  padding: 2rem;
}
.mechanism__layer-label {
  font-family: var(--ff-accent);
  font-size: 1rem;
  color: var(--gold);
  display: block;
}
.mechanism__layer-desc {
  font-size: 0.8rem;
  color: var(--text-dim);
}
.mechanism__two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 4rem;
}
.mechanism__col {
  text-align: center;
}
.mechanism__icon-wrap {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
}
.mechanism__col h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}
.mechanism__col p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text);
}

/* ══════════════ RESULTS ══════════════ */
.results {
  padding: 8rem 0;
  background: var(--bg-dark);
  position: relative;
}
.results::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,165,92,0.15), transparent);
}

.case {
  display: flex;
  gap: 2.5rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(200, 165, 92, 0.06);
}
.case:last-child {
  border-bottom: none;
}
.case__marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 20px;
  padding-top: 8px;
}
.case__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  flex-shrink: 0;
  background: var(--bg-dark);
  box-shadow: 0 0 12px rgba(200, 165, 92, 0.3);
}
.case__line {
  width: 1px;
  height: 0;
  background: linear-gradient(180deg, var(--gold-dark), transparent);
  flex-grow: 0;
  margin-bottom: 6px;
}
.case:not(:first-child) .case__line {
  flex-grow: 1;
  height: auto;
  margin-bottom: 6px;
  margin-top: -3rem;
}
.case__content { flex: 1; }
.case__tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: rgba(200, 165, 92, 0.08);
  padding: 0.3rem 0.8rem;
  border-radius: 3px;
  margin-bottom: 0.8rem;
}
.case__title {
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.case__meta {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 1rem;
}
.case__content > p {
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}
.case__quote {
  font-family: var(--ff-accent);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--gold-light);
  border-left: 2px solid var(--gold-dark);
  padding-left: 1.2rem;
  margin: 1rem 0;
  opacity: 0.85;
}
.case__stat {
  display: flex;
  gap: 2rem;
  margin-top: 1.2rem;
}
.case__stat-item {
  display: flex;
  flex-direction: column;
}
.case__stat-num {
  font-family: var(--ff-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}
.case__stat-num.gold-glow {
  text-shadow: 0 0 20px rgba(200, 165, 92, 0.5);
}
.case__stat-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 0.3rem;
}

/* ══════════════ TESTIMONIALS ══════════════ */
.testimonials {
  padding: 8rem 0;
  background: var(--bg-deep);
  position: relative;
}
.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,165,92,0.15), transparent);
}
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.testimonial {
  background: var(--bg-card);
  border: 1px solid rgba(200, 165, 92, 0.06);
  border-radius: 8px;
  padding: 2rem;
  transition: all .5s var(--ease-out);
}
.testimonial:hover {
  border-color: rgba(200, 165, 92, 0.15);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}
.testimonial__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.testimonial__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-accent);
  font-size: 1.2rem;
  color: var(--gold);
  background: rgba(200, 165, 92, 0.06);
  flex-shrink: 0;
}
.testimonial__name {
  font-family: var(--ff-accent);
  font-size: 1.1rem;
  color: var(--gold-light);
  font-weight: 500;
}
.testimonial__info {
  font-size: 0.8rem;
  color: var(--text-dim);
}
.testimonial__problems {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.2rem;
}
.testimonial__problems span {
  font-size: 0.7rem;
  color: var(--text-dim);
  border: 1px solid rgba(200, 165, 92, 0.1);
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  letter-spacing: 0.02em;
}
.testimonial__quote {
  font-family: var(--ff-accent);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text-bright);
  line-height: 1.6;
  margin-bottom: 1.2rem;
  border: none;
  padding: 0;
}
.testimonial__results {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.testimonial__result {
  font-size: 0.8rem;
  color: var(--gold);
  padding-left: 1.2rem;
  position: relative;
}
.testimonial__result::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-dark);
}

/* ══════════════ COMPARE ══════════════ */
.compare {
  padding: 8rem 0;
  background: var(--bg-dark);
  position: relative;
}
.compare::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,165,92,0.15), transparent);
}
.compare__table {
  margin-top: 3rem;
  border: 1px solid rgba(200, 165, 92, 0.1);
  border-radius: 8px;
  overflow: hidden;
}
.compare__row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  border-bottom: 1px solid rgba(200, 165, 92, 0.06);
}
.compare__row:last-child { border-bottom: none; }
.compare__row--header {
  background: rgba(200, 165, 92, 0.04);
}
.compare__row--header .compare__cell {
  font-family: var(--ff-accent);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dim);
}
.compare__cell {
  padding: 1rem 1.5rem;
  font-size: 0.9rem;
  color: var(--text-dim);
  border-right: 1px solid rgba(200, 165, 92, 0.06);
}
.compare__cell:last-child { border-right: none; }
.compare__cell--label {
  font-family: var(--ff-accent);
  color: var(--text);
  font-weight: 500;
}
.compare__cell--gold {
  color: var(--gold-light);
  background: rgba(200, 165, 92, 0.04);
  font-weight: 500;
}

/* ══════════════ TEACHER ══════════════ */
.teacher {
  padding: 8rem 0;
  background: var(--bg-deep);
  position: relative;
}
.teacher::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,165,92,0.15), transparent);
}
.teacher__grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 4rem;
  margin-top: 3rem;
  align-items: start;
}
.teacher__photo-placeholder {
  width: 200px;
  height: 200px;
  margin: 0 auto;
  opacity: 0.3;
}
.teacher__photo-duo {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.teacher__photo-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
  border-radius: 2px;
  border: 1px solid rgba(200, 165, 92, 0.3);
  filter: grayscale(20%);
}
.teacher__stats {
  display: flex;
  gap: 2.5rem;
  margin-bottom: 2rem;
}
.teacher__stat {
  display: flex;
  flex-direction: column;
}
.teacher__stat-num {
  font-family: var(--ff-display);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}
.teacher__stat-label {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 0.3rem;
}
.teacher__bio p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}
.teacher__note {
  color: var(--gold);
  font-weight: 500;
}

/* ══════════════ RETREAT ══════════════ */
.retreat {
  padding: 8rem 0;
  background: var(--bg-dark);
  position: relative;
}
.retreat::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,165,92,0.15), transparent);
}
.retreat__phases {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin: 4rem 0;
  flex-wrap: wrap;
}
.retreat__phase {
  background: var(--bg-card);
  border: 1px solid rgba(200, 165, 92, 0.1);
  border-radius: 8px;
  padding: 2rem;
  flex: 1;
  min-width: 250px;
  max-width: 320px;
  transition: all .4s var(--ease-out);
}
.retreat__phase:hover {
  border-color: rgba(200, 165, 92, 0.25);
  transform: translateY(-4px);
}
.retreat__phase-num {
  font-family: var(--ff-display);
  font-size: 2rem;
  color: var(--gold-dark);
  margin-bottom: 1rem;
}
.retreat__phase h3 {
  font-family: var(--ff-accent);
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: 1rem;
}
.retreat__phase ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.retreat__phase li {
  font-size: 0.9rem;
  color: var(--text);
  padding-left: 1rem;
  position: relative;
}
.retreat__phase li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold-dark);
}
.retreat__phase-connector {
  display: flex;
  align-items: center;
  padding: 0 0.5rem;
  margin-top: 3rem;
}
.retreat__safety {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid rgba(200, 165, 92, 0.1);
  border-radius: 8px;
  padding: 2rem;
  margin-top: 3rem;
}
.retreat__safety-icon {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
}
.retreat__safety h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}
.retreat__safety p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0.5rem;
}
.retreat__contra {
  font-size: 0.85rem !important;
  color: var(--text-dim) !important;
}

/* ══════════════ CTA SECTION ══════════════ */
.cta-section {
  padding: 8rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cta-section__bg canvas {
  width: 100%;
  height: 100%;
  opacity: 0.3;
}
.cta-section .container {
  position: relative;
  z-index: 1;
}
.cta-section__text {
  font-size: 1.15rem;
  color: var(--text);
  margin: 1rem auto 2.5rem;
  max-width: 500px;
  line-height: 1.8;
}
.cta-section__buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}
.cta-section__quotes {
  max-width: 500px;
  margin: 0 auto;
}
.cta-section__final-quote {
  font-family: var(--ff-accent);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--gold);
  opacity: 0.6;
  margin-bottom: 0.5rem;
}

/* ══════════════ FOOTER ══════════════ */
.footer {
  padding: 3rem 0 2rem;
  background: var(--bg-deep);
  border-top: 1px solid rgba(200, 165, 92, 0.06);
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.footer__logo {
  font-family: var(--ff-accent);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.15em;
}
.footer__copy {
  font-size: 0.8rem;
  color: var(--text-dim);
}
.footer__links {
  display: flex;
  gap: 2rem;
}
.footer__links a {
  font-size: 0.85rem;
  color: var(--text-dim);
}
.footer__disclaimer {
  font-size: 0.75rem;
  color: var(--text-dim);
  opacity: 0.5;
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(200, 165, 92, 0.04);
}

/* ══════════════ JOIN / SCHOOL FORM ══════════════ */
.join {
  padding: 7rem 0;
}
.join__wrap {
  max-width: 520px;
  margin: 3rem auto 0;
}
.school-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.school-form__group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.school-form__label {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}
.school-form__input {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(200,165,92,0.2);
  border-radius: 3px;
  padding: 0.9rem 1.1rem;
  font-size: 1rem;
  font-family: inherit;
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.2s;
}
.school-form__input::placeholder {
  color: var(--text-dim);
}
.school-form__input:focus {
  border-color: rgba(200,165,92,0.6);
}
.school-form__error {
  font-size: 0.8rem;
  color: #e07070;
  min-height: 1em;
}
.school-form__submit-error {
  font-size: 0.85rem;
  color: #e07070;
  padding: 0.75rem;
  border: 1px solid rgba(224,112,112,0.3);
  border-radius: 3px;
}
.school-form__success {
  text-align: center;
  padding: 3rem 2rem;
  border: 1px solid rgba(200,165,92,0.15);
  border-radius: 4px;
}
.school-form__success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
}
.school-form__success-icon svg {
  width: 100%;
  height: 100%;
}
.school-form__success h3 {
  font-size: 1.4rem;
  font-weight: 300;
  margin: 0 0 0.75rem;
}
.school-form__success p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* ══════════════ REVEAL ANIMATION ══════════════ */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════ RESPONSIVE ══════════════ */
@media (max-width: 900px) {
  .problem__grid { grid-template-columns: 1fr; gap: 2rem; }
  .mechanism__two-cols { grid-template-columns: 1fr; gap: 3rem; }
  .teacher__grid { grid-template-columns: 1fr; gap: 2rem; }
  .compare__row { grid-template-columns: 1fr 1fr; }
  .compare__row--header .compare__cell:first-child,
  .compare__row .compare__cell--label { display: none; }
  .case { gap: 1.5rem; }
  .retreat__phases { flex-direction: column; align-items: center; }
  .retreat__phase-connector { transform: rotate(90deg); }
  .nav__links { display: none; }
  .testimonials__grid { grid-template-columns: 1fr; }
  .mechanism__layer--critical .mechanism__layer-label,
  .mechanism__layer--critical .mechanism__layer-desc { display: none; }
}

@media (max-width: 600px) {
  .hero__title { font-size: 2.4rem; }
  .section-title { font-size: 2rem; }
  .case__stat { flex-wrap: wrap; gap: 1rem; }
  .teacher__stats { flex-wrap: wrap; gap: 1.5rem; }
  .cta-section__buttons { flex-direction: column; align-items: center; }
  .compare__row { grid-template-columns: 1fr; }
  .compare__cell { border-right: none; border-bottom: 1px solid rgba(200,165,92,0.04); }
  .footer__inner { flex-direction: column; gap: 1rem; text-align: center; }
}
