:root {
  --bg: #030608;
  --bg-deep: #010203;
  --surface: rgba(255, 255, 255, 0.02);
  --surface-strong: rgba(255, 255, 255, 0.05);
  --glass-border: 1px solid rgba(255, 255, 255, 0.06);
  --glass-blur: blur(20px);
  --ink: #f4f6f7;
  --muted: #a3b5b8;
  --line: rgba(255, 255, 255, 0.08); /* More subtle line */
  --accent: #d8bb83;
  --accent-strong: #eadcc1;
  --accent-soft: #876338;
  --sage: #61706c;
  --sage-deep: #1e3032;
  --gold: #d8bb83;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.8);
  --shadow-strong: 0 34px 96px rgba(0, 0, 0, 0.95);
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 16px;
  --container: calc(100vw - 48px);
  --font-display: "Playfair Display", serif;
  --font-body: "Inter", -apple-system, sans-serif;
  --parallax-y: 0px;
}

/* 🎨 PERSONALIZATION THEMES */
[data-theme="burnout"] {
  --accent: #E17055; /* Warm Sunset */
  --accent-strong: #FAB1A0;
  --gold: #E17055;
}
[data-theme="anxiety"] {
  --accent: #00B894; /* Calm Teal */
  --accent-strong: #55EFC4;
  --gold: #00B894;
}
[data-theme="kids"] {
  --accent: #74B9FF; /* Playful Sky */
  --accent-strong: #B2D8FF;
  --gold: #74B9FF;
}
[data-theme="teens"] {
  --accent: #A29BFE; /* Rebel Purple */
  --accent-strong: #D1D1FF;
  --gold: #A29BFE;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #F7F5F0;
    --bg-deep: #EAE6DF;
    --surface: rgba(0, 0, 0, 0.04);
    --surface-strong: rgba(0, 0, 0, 0.08);
    --glass-border: 1px solid rgba(0, 0, 0, 0.08);
    --ink: #1C282D;
    --muted: #5C6A72;
    --line: rgba(0, 0, 0, 0.08);
    --accent: #A67C00;
    --accent-strong: #8F6A00;
    --accent-soft: rgba(166, 124, 0, 0.15);
    --gold: #A67C00;
    --shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    --shadow-strong: 0 20px 40px rgba(0, 0, 0, 0.15);
  }
}

@keyframes bgPulse {
  0% { background-position: 0% 0%; }
  100% { background-position: 100% 100%; }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.15rem;
  line-height: 1.65;
  letter-spacing: 0.015em;
  color: var(--ink);
  text-rendering: optimizeLegibility;
  background:
    radial-gradient(
      circle at 14% 10%,
      rgba(97, 112, 108, 0.25),
      transparent 30%
    ),
    radial-gradient(
      circle at 82% 10%,
      rgba(183, 147, 91, 0.25),
      transparent 26%
    ),
    radial-gradient(circle at 78% 82%, rgba(30, 48, 50, 0.25), transparent 32%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  background-size: 200% 200%;
  animation: bgPulse 25s ease infinite alternate;
  background-attachment: fixed;
  min-width: 320px;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -3;
  opacity: 0.42;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.06) 0,
      rgba(255, 255, 255, 0.06) 1px,
      transparent 1px,
      transparent 148px
    ),
    linear-gradient(
      120deg,
      transparent 22%,
      rgba(255, 255, 255, 0.08) 50%,
      transparent 78%
    );
  mix-blend-mode: soft-light;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.grain,
.page-glow {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: -2;
}

.grain {
  z-index: -1;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.75'/%3E%3C/svg%3E");
}

.page-glow--left {
  background: radial-gradient(
    circle at 14% 18%,
    rgba(97, 112, 108, 0.15),
    transparent 24%
  );
  animation: auroraFloat 26s ease-in-out infinite;
  will-change: transform, opacity;
}

.page-glow--right {
  background: radial-gradient(
    circle at 84% 14%,
    rgba(183, 147, 91, 0.15),
    transparent 26%
  );
  animation: auroraFloat 30s ease-in-out infinite reverse;
  will-change: transform, opacity;
}

.topbar {
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 24px);
  max-width: 1400px;
  z-index: 1000;
  background: rgba(20, 31, 33, 0.75);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(216, 187, 131, 0.15);
  border-radius: 24px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    rgba(216, 187, 131, 0.98),
    rgba(125, 95, 56, 0.96)
  );
  color: #162224;
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow: 0 18px 34px rgba(18, 27, 29, 0.18);
}

.brand__text {
  display: grid;
  gap: 2px;
  font-size: 0.94rem;
  color: #f8f2e8;
}

.brand__text span {
  color: rgba(248, 242, 232, 0.7);
}

.topbar__nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.95rem;
}

.topbar__nav a:not(.topbar__cta) {
  color: rgba(248, 242, 232, 0.76);
  transition: color 180ms ease;
}

.topbar__nav a:not(.topbar__cta):hover,
.topbar__nav a:not(.topbar__cta):focus-visible {
  color: #fffaf2;
}

.topbar__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    rgba(216, 187, 131, 0.98),
    rgba(156, 120, 69, 0.96)
  );
  color: #172224;
  box-shadow: 0 16px 30px rgba(14, 22, 24, 0.2);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 32px; /* Reduced gap */
  padding: 24px 0 24px; /* Reduced padding space */
}

.eyebrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: fit-content;
  margin: 0 0 16px;
  font-size: 0.88rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), rgba(183, 154, 99, 0));
}

.hero h1,
.section-heading h2,
.specialist-card__content h2,
.lighthouse-card h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hero h1 {
  max-width: 100%;
  font-size: clamp(3rem, 6vw, 5.7rem);
}

.hero__title {
  letter-spacing: -0.015em;
  text-wrap: balance;
  transform-origin: center;
  animation: heroBreatheMorph 8s ease-in-out infinite;
}

@keyframes heroBreatheMorph {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

@keyframes highlightReveal {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

.highlight-reveal {
  display: inline-block;
  opacity: 0;
  animation: highlightReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.8s;
}

.hero__content {
  position: relative;
  z-index: 1;
  translate: 0 calc(var(--scroll-y, 0px) * -0.15); /* parallax fast */
}

.hero__preface {
  max-width: 100%;
  margin: 0 0 18px;
  color: var(--accent-strong);
  font-size: 0.98rem;
  line-height: 1.75;
}

.hero__lead {
  max-width: 100%;
  margin: 22px 0 0;
  color: var(--ink); /* Make it clearly visible */
  font-size: 1.12rem;
  line-height: 1.6; /* Reduced slightly for compactness */
}

.hero__afterglow {
  margin: 18px 0 0;
  color: var(--ink);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero__trust {
  position: relative;
  display: grid;
  gap: 14px;
  max-width: 100%;
  margin: 0 0 24px;
  padding: 22px 24px;
  border-radius: 28px;
  border: 1px solid rgba(216, 187, 131, 0.22);
  background:
    radial-gradient(
      circle at 10% 18%,
      rgba(255, 255, 255, 0.05),
      transparent 18%
    ),
    linear-gradient(135deg, rgba(32, 50, 57, 0.8), rgba(22, 33, 38, 0.95));
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

.hero__trust::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent 30%),
    linear-gradient(90deg, rgba(196, 162, 109, 0.1), transparent 42%);
  pointer-events: none;
}

.hero__trust-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.hero__trust-pill,
.hero__trust-date {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero__trust-pill {
  background: linear-gradient(135deg, var(--accent), var(--gold));
  color: var(--ink);
  box-shadow: 0 14px 24px rgba(176, 139, 87, 0.18);
}

.hero__trust-date {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
}

.hero__trust-text {
  margin: 0;
  max-width: 100%;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2vw, 1.95rem);
  line-height: 1.22;
  color: var(--ink);
}

.hero__trust-note {
  margin: 0;
  max-width: 100%;
  color: var(--ink);
  line-height: 1.75;
}

.hero__trust-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero__trust-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: #fcfbf7;
  font-weight: 600;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease,
    background-color 180ms ease;
}

.hero__trust-links a:hover,
.hero__trust-links a:focus-visible {
  color: var(--ink);
  border-color: rgba(196, 162, 109, 0.3);
  background: rgba(255, 255, 255, 0.84);
  transform: translateY(-1px);
}

.hero__dial {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.hero__dial .flip-card {
  perspective: 1000px;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
  min-height: 160px;
}

.flip-card__inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.4, 0.0, 0.2, 1);
  transform-style: preserve-3d;
}

.flip-card.is-flipped .flip-card__inner {
  transform: rotateY(180deg);
}

.flip-card__front, .flip-card__back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  padding: 18px 18px 18px 20px;
  border-radius: 24px;
  border: 1px solid rgba(216, 187, 131, 0.2);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.flip-card__front {
  background: linear-gradient(135deg, rgba(32, 50, 57, 0.8), rgba(22, 33, 38, 0.9));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #fffaf2;
}

.flip-card__back {
  background: linear-gradient(135deg, rgba(216, 187, 131, 0.15), rgba(166, 138, 91, 0.2));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #fffaf2;
  transform: rotateY(180deg);
}

.flip-card__front::before, .flip-card__back::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--accent);
}

.hero__dial strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--accent-strong);
}

.hero__dial span {
  display: block;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(255, 250, 242, 0.85);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease,
    color 220ms ease,
    box-shadow 220ms ease;
}

.button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 20%,
    rgba(255, 255, 255, 0.24) 50%,
    transparent 80%
  );
  transform: translateX(-130%);
  transition: transform 360ms ease;
  z-index: -1;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button:hover::before,
.button:focus-visible::before {
  transform: translateX(130%);
}

.button--primary {
  background: linear-gradient(135deg, #142124, #2c403f);
  border-color: rgba(216, 187, 131, 0.22);
  color: #fff;
  box-shadow: 0 18px 34px rgba(19, 28, 30, 0.2);
}

.button--ghost {
  border-color: rgba(216, 187, 131, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink);
  backdrop-filter: blur(12px);
}
.button--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(216, 187, 131, 0.4);
}

.button--block {
  width: 100%;
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.hero__tags li {
  padding: 10px 16px;
  border: 1px solid rgba(216, 187, 131, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hero__visual {
  position: relative;
  perspective: 1200px;
}

.orbit-stage {
  position: relative;
  min-height: 480px; /* Reduced height to save space */
  transform-style: preserve-3d;
}

.orbit-stage__halo {
  position: absolute;
  inset: 12% 14%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(252, 251, 247, 0.9),
    rgba(252, 251, 247, 0)
  );
  filter: blur(8px);
  animation: breathingHalo 14s ease-in-out infinite;
}

.orbit-stage__veil {
  position: absolute;
  inset: 7% 8%;
  border-radius: 38% 62% 47% 53% / 41% 44% 56% 59%;
  background:
    radial-gradient(
      circle at 28% 32%,
      rgba(255, 255, 255, 0.8),
      transparent 20%
    ),
    radial-gradient(
      circle at 74% 28%,
      rgba(109, 131, 128, 0.18),
      transparent 24%
    ),
    radial-gradient(
      circle at 52% 74%,
      rgba(176, 139, 87, 0.16),
      transparent 30%
    );
  filter: blur(18px);
  opacity: 0.72;
  animation: veilMorph 26s ease-in-out infinite;
}

.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(32, 50, 57, 0.08);
  opacity: 0.55;
}

.orbit-ring--one {
  inset: 9% 8%;
  animation: spin 26s linear infinite;
}

.orbit-ring--two {
  inset: 18% 16%;
  border-style: dashed;
  animation: spinReverse 30s linear infinite;
}

.orbit-ring--three {
  inset: 30% 28%;
  animation: pulse 7s ease-in-out infinite;
}

.lighthouse-card,
.floating-note,
.trust-strip article,
.program-card,
.approach-card,
.quote-panel,
.specialist-card,
.journey-step,
.faq-item,
.booking-form,
.booking-suite__contact {
  border: 1px solid rgba(255, 255, 255, 0.08); /* Light border */
  background: linear-gradient(
    180deg,
    rgba(22, 30, 34, 0.96),  /* Fixed card bg to dark so text is visible! */
    rgba(16, 22, 25, 0.92)
  );
  box-shadow: var(--shadow);
  color: var(--ink); /* Force text light */
}

.trust-strip article,
.program-card,
.approach-card,
.journey-step,
.faq-item,
.booking-form,
.booking-suite__contact {
  position: relative;
  overflow: hidden;
  transition:
    transform 280ms ease,
    box-shadow 280ms ease,
    border-color 280ms ease;
}

.trust-strip article:hover,
.program-card:hover,
.approach-card:hover,
.journey-step:hover,
.faq-item:hover,
.booking-form:hover,
.booking-suite__contact:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-strong);
  border-color: rgba(176, 139, 87, 0.18);
}

.trust-strip article::after,
.program-card::after,
.approach-card::after,
.journey-step::after,
.faq-item::after,
.booking-form::after,
.booking-suite__contact::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.26),
    transparent 28%,
    transparent 72%,
    rgba(109, 131, 128, 0.06)
  );
  pointer-events: none;
}

.lighthouse-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(360px, 82%);
  padding: 24px 20px; /* Compress padding */
  border-radius: var(--radius-xl);
  transform: translate(-50%, -50%);
  background:
    radial-gradient(
      circle at 24% 24%,
      rgba(255, 255, 255, 0.1),
      transparent 18%
    ),
    linear-gradient(180deg, rgba(22, 30, 34, 0.96), rgba(16, 22, 25, 0.9)); /* Fixed dark bg */
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
}

.lighthouse-card__label,
.floating-note__title,
.program-card__age,
.approach-card__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.lighthouse-card h2 {
  margin-top: 16px;
  font-size: clamp(2rem, 3vw, 2.7rem);
}

.lighthouse-card p {
  margin: 16px 0 0;
  color: rgba(252, 251, 247, 0.8); /* Used light color for text */
  line-height: 1.6;
}

.hero__floating-words {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: flex-start;
  align-items: center;
  margin-top: 36px;
  perspective: 800px;
}

.floating-note {
  position: relative;
  padding: 16px 30px;
  border-radius: 999px;
  background: rgba(22, 33, 38, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(216, 187, 131, 0.4);
  color: #fff;
  white-space: nowrap;
  animation: floatWords 6s ease-in-out infinite alternate;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3);
  font-weight: 500;
  letter-spacing: 0.05em;
  font-size: 1.35rem;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
  z-index: 5;
}

@keyframes floatWords {
  0% { transform: translateY(0) rotate(-1deg); }
  100% { transform: translateY(-12px) rotate(1.5deg); }
}

.floating-note--1 { animation-delay: 0s; }
.floating-note--2 { animation-delay: -1.5s; }
.floating-note--3 { animation-delay: -3s; }
.floating-note--4 { animation-delay: -4.5s; }
.floating-note--5 { animation-delay: -6s; }
.floating-note--6 { animation-delay: -7.5s; }

.floating-note:hover {
  transform: scale(1.1) translateY(-10px) !important;
  background: rgba(28, 42, 48, 0.95);
  border-color: rgba(216, 187, 131, 1);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.8), 0 0 32px rgba(216, 187, 131, 0.4);
  z-index: 10;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding-bottom: 38px;
}

.trust-strip article,
.program-card,
.approach-card,
.quote-panel,
.journey-step,
.faq-item,
.booking-form,
.booking-suite__panel,
.booking-suite__contact {
  border-radius: var(--radius-lg);
  padding: 24px;
}

.trust-strip strong,
.program-card h3,
.approach-card h3,
.journey-step h3 {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.program-card h3,
.approach-card h3,
.journey-step h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.trust-strip span,
.program-card p,
.approach-card p,
.journey-step p {
  color: var(--muted);
  line-height: 1.7;
}

.section {
  position: relative;
  padding: 64px 0 0;
}

.section::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 0;
  width: min(180px, 24vw);
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(176, 139, 87, 0.42),
    rgba(109, 131, 128, 0)
  );
}

.section-heading {
  max-width: 780px;
  margin-bottom: 28px;
}

.section-heading h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
  max-width: 14ch;
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.section-heading__note {
  margin: 16px 0 0;
  color: var(--muted);
  max-width: 60ch;
  line-height: 1.8;
  font-size: 1rem;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.program-card {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.program-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 100% 0,
    rgba(109, 131, 128, 0.14),
    transparent 32%
  );
  pointer-events: none;
}

.program-card--accent::before {
  background: radial-gradient(
    circle at 100% 0,
    rgba(176, 139, 87, 0.18),
    transparent 36%
  );
}

/* Base Front Styles */
.program-card__front {
  flex: 1;
  display: flex;
  flex-direction: column;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.6s;
  position: relative;
  z-index: 2;
}

.program-card__index {
  display: inline-flex;
  margin-bottom: 20px;
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  color: rgba(36, 48, 58, 0.34);
  align-self: flex-start;
}

.program-card__subtitle {
  display: block;
  font-size: 0.9rem;
  font-family: var(--font-body);
  color: var(--muted);
  font-weight: 400;
  margin-top: 4px;
  letter-spacing: normal;
}

.program-card__age {
  margin-top: -2px;
  flex: 1;
}

.program-card__hint {
  margin-top: 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-strong);
  opacity: 0.8;
  display: inline-flex;
  align-items: center;
  transition: opacity 0.3s;
}

/* Interactive Reveal Layer */
.program-card__reveal {
  position: absolute;
  inset: 0;
  background: rgba(255, 251, 244, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 30px 24px 24px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 3;
  border-radius: var(--radius-lg);
  overflow-y: auto;
}

/* Hover effect */
.program-card--interactive:hover .program-card__front {
  opacity: 0;
  transform: translateY(-20px);
}

.program-card--interactive:hover .program-card__reveal {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Points List */
.program-card__points {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}

.program-card__points li {
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 12px;
  color: var(--ink);
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.program-card__points .check {
  font-size: 0.85rem;
  margin-top: 2px;
}

.program-card__points b {
  color: var(--sage-deep);
  font-weight: 600;
}

.program-card__result {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(22, 34, 36, 0.1);
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--ink);
}

.program-card__result strong {
  color: var(--gold);
}

/* Course Format Details Section */
.course-format {
  margin-top: 40px;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid rgba(22, 34, 36, 0.05);
  box-shadow: 0 12px 30px rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.course-format__details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.course-format__item {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted);
}

.course-format__item strong {
  display: block;
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 4px;
}

.course-format__item--guarantee {
  padding-left: 20px;
  border-left: 2px solid var(--gold);
}

.course-format__process {
  border-top: 1px solid rgba(22, 34, 36, 0.06);
  padding-top: 24px;
}

.course-format__process h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 20px;
}

.process-timeline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}

.process-timeline span {
  flex: 1;
  font-size: 0.85rem;
  line-height: 1.5;
  padding: 12px;
  background: var(--bg-body);
  border-radius: 12px;
  color: var(--muted);
}

.process-timeline span b {
  display: block;
  color: var(--ink);
  margin-bottom: 4px;
}

.process-cta {
  display: flex;
  align-items: center;
  gap: 24px;
}

.process-cta__note {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
  flex: 1;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.approach-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 40px;
}
@media (max-width: 900px) {
  .approach-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ═══ GLOW CARD EFFECT ═══ */
.glow-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.glow-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(600px circle at var(--mouse-x) var(--mouse-y), rgba(216, 187, 131, 0.4), transparent 40%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
  z-index: 10;
}
.glow-card:hover {
  transform: translateY(-4px);
  border-color: rgba(216, 187, 131, 0.2) !important;
}
.glow-card:hover::before {
  opacity: 1;
}

/* ═══ HIDE SCROLLBAR ═══ */
.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

.quote-panel {
  display: flex;
  align-items: flex-end;
  min-height: 100%;
  padding: 28px;
  background:
    radial-gradient(
      circle at 12% 18%,
      rgba(255, 255, 255, 0.76),
      transparent 20%
    ),
    linear-gradient(
      135deg,
      rgba(109, 131, 128, 0.16),
      rgba(252, 251, 247, 0.96)
    );
}

.quote-panel p {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.8vw, 2.5rem);
  line-height: 1.2;
  font-style: italic;
  color: var(--sage-deep);
}

.signal-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.signal-cloud span {
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(32, 50, 57, 0.08);
  background: rgba(252, 251, 247, 0.86);
}

.specialist-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: 28px;
  padding: 26px;
  border-radius: 40px;
  position: relative;
  overflow: hidden;
}

.specialist-card::after {
  content: "";
  position: absolute;
  inset: auto -8% -22% auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(176, 139, 87, 0.12),
    transparent 70%
  );
  pointer-events: none;
}

.specialist-card__visual {
  position: relative;
  min-height: 420px;
  border-radius: 30px;
  background:
    radial-gradient(
      circle at 30% 28%,
      rgba(255, 255, 255, 0.78),
      transparent 24%
    ),
    linear-gradient(145deg, rgba(176, 139, 87, 0.16), rgba(109, 131, 128, 0.2));
  overflow: hidden;
}

.specialist-card__portrait {
  position: absolute;
  inset: 11% 14% 8%;
  border-radius: 32px;
  background:
    radial-gradient(
      circle at 50% 28%,
      rgba(255, 252, 248, 0.95),
      transparent 22%
    ),
    radial-gradient(
      circle at 52% 82%,
      rgba(109, 131, 128, 0.28),
      transparent 26%
    ),
    linear-gradient(
      180deg,
      rgba(241, 239, 231, 0.94),
      rgba(221, 223, 214, 0.88)
    );
  box-shadow: inset 0 0 0 1px rgba(36, 48, 58, 0.08);
}

.specialist-card__portrait::before,
.specialist-card__portrait::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(36, 48, 58, 0.12);
}

.specialist-card__portrait::before {
  top: 18%;
  left: 50%;
  width: 34%;
  height: 26%;
  transform: translateX(-50%);
}

.specialist-card__portrait::after {
  bottom: 11%;
  left: 50%;
  width: 58%;
  height: 40%;
  transform: translateX(-50%);
}

.specialist-card__badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(252, 251, 247, 0.96);
  border: 1px solid rgba(32, 50, 57, 0.08);
  box-shadow: 0 14px 26px rgba(32, 50, 57, 0.12);
}

.specialist-card__content {
  padding: 8px 6px 8px 4px;
}

.specialist-card__lead {
  margin-top: 18px;
  color: rgba(27, 40, 42, 0.8);
  line-height: 1.88;
  font-size: 1.08rem;
}

.achievements {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.achievements__eyebrow {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.achievement-card {
  position: relative;
  padding: 20px 22px;
  border-radius: 24px;
  border: 1px solid rgba(36, 48, 58, 0.08);
  background: linear-gradient(
    180deg,
    rgba(255, 252, 248, 0.88),
    rgba(255, 247, 240, 0.7)
  );
  box-shadow: 0 18px 44px rgba(88, 63, 44, 0.1);
  overflow: hidden;
}

.achievement-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent), rgba(127, 159, 155, 0.8));
}

.achievement-card__year {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(176, 139, 87, 0.14);
  color: var(--accent-strong);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
}

.achievement-card h3 {
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.45;
}

.achievement-card p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.achievement-card a {
  display: inline-flex;
  margin-top: 12px;
  color: var(--accent-strong);
  font-weight: 600;
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.achievement-card a:hover,
.achievement-card a:focus-visible {
  color: var(--ink);
  transform: translateY(-1px);
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.principles article {
  padding: 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.46);
  border: 1px solid rgba(36, 48, 58, 0.08);
}

.principles strong {
  display: block;
  margin-bottom: 10px;
}

.principles span {
  color: var(--muted);
  line-height: 1.7;
}

.journey-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.journey-step {
  position: relative;
  overflow: hidden;
}

.journey-step::before {
  content: "";
  position: absolute;
  inset: auto -20% -30% auto;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(176, 139, 87, 0.14),
    transparent 64%
  );
}

.journey-step span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--accent-strong);
  letter-spacing: 0.14em;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item__button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
}

.faq-item__button span:first-child {
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.45;
}

.faq-item__icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex: none;
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent-strong);
  transform: translate(-50%, -50%);
  transition:
    transform 220ms ease,
    opacity 220ms ease;
}

.faq-item__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item__content {
  display: grid;
  grid-template-rows: 0fr;
  transition:
    grid-template-rows 260ms ease,
    margin-top 260ms ease;
}

.faq-item__content p {
  overflow: hidden;
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.faq-item.is-open .faq-item__content {
  grid-template-rows: 1fr;
  margin-top: 16px;
}

.faq-item.is-open .faq-item__icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(0deg);
}

.section--booking {
  padding-bottom: 84px;
}

.booking-manifesto {
  position: relative;
  overflow: hidden;
  width: min(760px, 100%);
  margin: 0 0 18px;
  padding: 24px 28px;
  border-radius: 28px;
  border: 1px solid rgba(22, 34, 36, 0.08);
  background:
    radial-gradient(
      circle at 14% 20%,
      rgba(216, 187, 131, 0.18),
      transparent 28%
    ),
    radial-gradient(
      circle at 84% 78%,
      rgba(97, 112, 108, 0.16),
      transparent 26%
    ),
    linear-gradient(180deg, rgba(255, 251, 244, 0.96), rgba(247, 240, 229, 0.92));
  box-shadow: 0 22px 52px rgba(24, 34, 36, 0.1);
}

.booking-manifesto::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  pointer-events: none;
}

.booking-manifesto__eyebrow {
  position: relative;
  z-index: 1;
  margin: 0 0 10px;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.booking-manifesto__title {
  position: relative;
  z-index: 1;
  max-width: 20ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.8vw, 2.5rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.booking-manifesto__title span {
  display: block;
  margin-top: 0.28em;
  color: var(--accent-strong);
}

.booking-manifesto__edge {
  position: absolute;
  opacity: 0.9;
  pointer-events: none;
}

.booking-manifesto__edge::before {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(216, 187, 131, 0),
    rgba(216, 187, 131, 0.92),
    rgba(97, 112, 108, 0.34),
    rgba(97, 112, 108, 0)
  );
  box-shadow: 0 0 18px rgba(216, 187, 131, 0.2);
}

.booking-manifesto__edge--top,
.booking-manifesto__edge--bottom {
  left: 26px;
  width: calc(100% - 52px);
  height: 2px;
}

.booking-manifesto__edge--top {
  top: 0;
}

.booking-manifesto__edge--bottom {
  bottom: 0;
}

.booking-manifesto__edge--top::before,
.booking-manifesto__edge--bottom::before {
  top: 0;
  width: 34%;
  height: 100%;
  animation: bookingEdgeSlideX 6.8s ease-in-out infinite;
}

.booking-manifesto__edge--bottom::before {
  animation-delay: -3.4s;
}

.booking-manifesto__edge--right,
.booking-manifesto__edge--left {
  top: 24px;
  width: 2px;
  height: calc(100% - 48px);
}

.booking-manifesto__edge--left {
  left: 0;
}

.booking-manifesto__edge--right {
  right: 0;
}

.booking-manifesto__edge--right::before,
.booking-manifesto__edge--left::before {
  left: 0;
  width: 100%;
  height: 34%;
  animation: bookingEdgeSlideY 7.2s ease-in-out infinite;
}

.booking-manifesto__edge--right::before {
  animation-delay: -2.8s;
}

.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: 24px;
}

.booking-form {
  padding: 34px;
  border-radius: 30px;
}

.booking-form__eyebrow {
  margin: 0 0 14px;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.booking-form__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 500;
  line-height: 0.98;
}

.booking-form__intro {
  max-width: 38rem;
  margin: 14px 0 26px;
  color: var(--muted);
  line-height: 1.8;
}

.booking-form label {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.booking-form span {
  font-size: 0.96rem;
  font-weight: 600;
}

.booking-form input,
.booking-form textarea,
.booking-form select {
  width: 100%;
  border: 1px solid rgba(22, 34, 36, 0.1);
  border-radius: 18px;
  background: rgba(255, 252, 246, 0.9);
  padding: 16px 18px;
  color: var(--ink);
  outline: none;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.booking-form input:focus,
.booking-form textarea:focus,
.booking-form select:focus {
  border-color: rgba(183, 147, 91, 0.48);
  box-shadow: 0 0 0 4px rgba(216, 187, 131, 0.14);
  background: rgba(255, 255, 252, 0.96);
}

.booking-form__feedback {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--accent-strong);
}

.booking-form__telegram {
  margin-top: 12px;
}

.booking-suite {
  display: grid;
  gap: 16px;
}

.booking-suite__panel {
  position: relative;
  overflow: hidden;
  padding: 32px 28px;
  border-radius: 30px;
  color: #f8f2e8;
  background:
    radial-gradient(
      circle at 18% 16%,
      rgba(216, 187, 131, 0.18),
      transparent 24%
    ),
    radial-gradient(
      circle at 82% 78%,
      rgba(97, 112, 108, 0.18),
      transparent 28%
    ),
    linear-gradient(180deg, #182628 0%, #1f3235 52%, #172426 100%);
  box-shadow: 0 28px 72px rgba(18, 27, 29, 0.22);
}

.booking-suite__panel::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 29px;
  border: 1px solid rgba(216, 187, 131, 0.14);
  pointer-events: none;
}

.booking-suite__label {
  margin: 0 0 16px;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(216, 187, 131, 0.92);
}

.booking-suite__panel h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.9rem);
  font-weight: 500;
  line-height: 0.98;
  color: #fff7eb;
}

.booking-suite__lead {
  margin: 16px 0 0;
  color: rgba(248, 242, 232, 0.74);
  line-height: 1.75;
}

.booking-suite__list {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.booking-suite__list article {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding-top: 14px;
  border-top: 1px solid rgba(216, 187, 131, 0.12);
}

.booking-suite__list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(216, 187, 131, 0.12);
  color: rgba(255, 247, 235, 0.94);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
}

.booking-suite__list strong {
  display: block;
  margin-bottom: 6px;
  color: #fff7eb;
  font-size: 1rem;
}

.booking-suite__list p {
  margin: 0;
  color: rgba(248, 242, 232, 0.72);
  line-height: 1.7;
}

.booking-suite__contact {
  display: grid;
  gap: 8px;
  padding: 24px 26px;
  border-radius: 24px;
}

.booking-suite__contact p {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.booking-suite__contact a {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.5vw, 2.25rem);
  color: var(--ink);
}

.booking-suite__contact span {
  color: var(--muted);
  line-height: 1.7;
}

.footer {
  padding: 0 0 28px;
  color: var(--muted);
}

.footer__link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--accent-strong);
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.footer__link:hover,
.footer__link:focus-visible {
  color: var(--ink);
  transform: translateY(-1px);
}

@supports (content-visibility: auto) {
  .section,
  .footer {
    content-visibility: auto;
    contain-intrinsic-size: 1px 960px;
  }
}

/* Reveal animations: content visible by default, only animate when JS is ready */
.js-reveal-ready .reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 620ms ease,
    transform 620ms ease;
}

.js-reveal-ready .reveal.is-visible,
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes spinReverse {
  from {
    transform: rotate(360deg);
  }
  to {
    transform: rotate(0deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.03);
    opacity: 1;
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes auroraFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0, 18px, 0) scale(1.08);
  }
}

@keyframes breathingHalo {
  0%,
  100% {
    transform: scale(0.98);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.04);
    opacity: 1;
  }
}

@keyframes veilMorph {
  0%,
  100% {
    transform: rotate(0deg) scale(1);
    border-radius: 38% 62% 47% 53% / 41% 44% 56% 59%;
  }
  50% {
    transform: rotate(8deg) scale(1.04);
    border-radius: 48% 52% 61% 39% / 38% 54% 46% 62%;
  }
}

@media (max-width: 1100px) {
  .hero,
  .specialist-card,
  .booking-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 40px;
  }

  .hero h1 {
    max-width: 14ch;
  }

  .hero__dial {
    grid-template-columns: 1fr;
  }

  .hero__trust {
    max-width: none;
  }

  .orbit-stage {
    min-height: 540px;
  }

  .trust-strip,
  .program-grid,
  .approach-grid,
  .journey-grid,
  .principles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .topbar__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .topbar__nav {
    display: none; /* Hide nav links on mobile for clean look */
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }


  .hero h1,
  .section-heading h2,
  .specialist-card__content h2 {
    font-size: clamp(2.35rem, 10vw, 3.2rem);
  }

  .hero__trust {
    padding: 20px;
  }

  .hero__trust-top {
    align-items: flex-start;
  }

  .hero__dial article {
    padding: 16px 16px 16px 18px;
  }

  .orbit-stage {
    min-height: 500px;
  }

  .lighthouse-card {
    width: calc(100% - 24px);
    padding: 28px 24px;
  }

  .floating-note {
    width: 200px;
    padding: 18px;
  }

  .trust-strip,
  .program-grid,
  .approach-grid,
  .journey-grid,
  .principles {
    grid-template-columns: 1fr;
  }

  .section {
    padding-top: 52px;
  }

  .booking-form,
  .specialist-card,
  .trust-strip article,
  .program-card,
  .approach-card,
  .quote-panel,
  .journey-step,
  .faq-item,
  .booking-suite__panel,
  .booking-suite__contact {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}


/* Dark theme preserved — light bento redesign removed */

/* --- Dark theme restored ---  light bento redesign removed --- */

/* Scroll Animations — only hide when JS is ready */
.js-reveal-ready .reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.js-reveal-ready .reveal-zoom {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275), transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.js-reveal-ready .reveal-elastic {
  opacity: 0;
  transform: scale(0.3);
  transition: opacity 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55), transform 1s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.js-reveal-ready .reveal-slide-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.js-reveal-ready .reveal-slide-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.js-reveal-ready .reveal-slide-up {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* When is-visible is added, show regardless */
.reveal.is-visible,
.reveal-zoom.is-visible,
.reveal-elastic.is-visible,
.reveal-slide-left.is-visible,
.reveal-slide-right.is-visible,
.reveal-slide-up.is-visible {
  opacity: 1 !important;
  transform: none !important;
}

@keyframes bookingEdgeSlideX {
  0%,
  100% {
    transform: translateX(0);
    opacity: 0.45;
  }
  50% {
    transform: translateX(190%);
    opacity: 1;
  }
}

@keyframes bookingEdgeSlideY {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  50% {
    transform: translateY(190%);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .booking-manifesto__edge::before {
    animation: none !important;
  }
}

/* Gamification XP Removed */

/* Manifesto Break Section */
.manifesto-break {
  padding: 120px 0;
  background: radial-gradient(circle at center, rgba(216, 187, 131, 0.05) 0%, transparent 70%);
  position: relative;
  overflow: hidden;
}

.manifesto-break__inner {
  text-align: center;
  position: relative;
  z-index: 2;
}

.manifesto-break__content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.manifesto-break__line {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  line-height: 1.2;
  color: #fffaf2;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.manifesto-break.is-visible .manifesto-break__line {
  opacity: 1;
  transform: translateY(0);
}

.manifesto-break.is-visible .manifesto-break__line:nth-child(2) { transition-delay: 0.2s; }
.manifesto-break.is-visible .manifesto-break__line:nth-child(3) { transition-delay: 0.4s; }

.manifesto-break__decor {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
}

.manifesto-circle {
  width: 400px;
  height: 400px;
  border: 1px solid rgba(216, 187, 131, 0.1);
  border-radius: 50%;
  animation: pulse-circle 8s infinite alternate ease-in-out;
}

@keyframes pulse-circle {
  0% { transform: scale(0.8); opacity: 0.3; }
  100% { transform: scale(1.2); opacity: 0.1; }
}

/* Updated Mobile Styles */
@media (max-width: 768px) {
  .topbar {
    top: 6px;
    width: calc(100% - 12px);
    border-radius: 16px;
  }

  .topbar__inner {
    padding: 6px 12px;
  }

  /* Compact actions on mobile */
  .topbar__actions {
    display: flex;
    gap: 6px;
  }

  .topbar__cta {
    padding: 8px 12px;
    font-size: 0.75rem;
    border-radius: 10px;
    gap: 4px;
  }

  .topbar__cta--telegram {
    padding: 8px; /* Icon only for TG */
    background: rgba(0, 136, 204, 0.15);
  }

  .topbar__cta--telegram span {
    display: none;
  }

  .topbar__cta--primary {
    padding: 8px 14px;
    background: var(--gold);
    color: #162224;
  }

  .topbar__cta--primary span {
    display: inline-block;
  }

  .mobile-only {
    display: inline-block;
    width: 16px;
    height: 16px;
  }

  .manifesto-break {
    padding: 80px 0;
  }

  .manifesto-break__line {
    font-size: 1.6rem;
  }

  /* Program Cards & Course Format on Mobile */
  .program-card__reveal {
    padding: 20px 16px;
  }

  .program-card__points li {
    font-size: 0.85rem;
  }

  .course-format {
    padding: 24px;
    gap: 24px;
  }

  .course-format__details {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .course-format__item--guarantee {
    padding-left: 0;
    border-left: none;
    border-top: 2px solid var(--gold);
    padding-top: 16px;
  }

  .process-timeline {
    flex-direction: column;
    gap: 12px;
  }

  .process-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    text-align: center;
  }

  /* Hero - offset for fixed topbar */
  .hero {
    padding-top: 70px;
  }

  /* Photo slider mobile */
  .result-slide--photo {
    aspect-ratio: 3 / 4;
  }

  .result-slide__overlay {
    padding: 20px 16px 64px;
    background: linear-gradient(
      0deg,
      rgba(20, 31, 33, 0.9) 0%,
      rgba(20, 31, 33, 0.4) 50%,
      transparent 75%
    );
  }

  .result-slide__overlay h3 {
    font-size: 1.15rem;
  }

  .result-slide__overlay p {
    font-size: 0.9rem;
  }

  /* Balance section */
  .balance-hero__title {
    font-size: clamp(1.6rem, 7vw, 2.5rem);
  }

  .balance-hero__sub {
    font-size: 1rem;
  }

  .balance-cta {
    padding: 24px 16px;
    border-radius: 18px;
  }

  .balance-cta__text {
    font-size: 1rem;
  }

  .balance-cta__buttons {
    flex-direction: column;
    gap: 10px;
  }

  .balance-cta__buttons .button {
    text-align: center;
    justify-content: center;
  }

  /* Minigame reduced height */
  #minigame-container {
    height: 350px !important;
    border-radius: 16px !important;
  }

  /* XP Bar */
  .xp-bar-container {
    height: 4px;
  }

  /* Candy Orbs - smaller on mobile */
  .candy-orb {
    width: 150px;
    height: 150px;
    filter: blur(40px);
  }

  /* Sticky CTA - proper bottom offset */
  .sticky-cta-mobile {
    bottom: 12px;
    left: 8px;
    right: 8px;
    padding: 8px;
    border-radius: 16px;
  }

  .footer {
    padding-bottom: 80px;
  }

  /* Touch targets - minimum 44px */
  .result-slider__btn {
    width: 44px;
    height: 44px;
    font-size: 1.4rem;
  }

  .faq-item__button {
    min-height: 48px;
  }

  /* Reduce heavy animations on mobile for performance */
  .orbit-ring,
  .orbit-spark {
    animation-duration: 30s;
  }

  .floating-note {
    display: none;
  }

  .gallery-plaque {
    display: none;
  }

  /* AI badge positioning */
  .ai-badge {
    top: 10px;
    right: 10px;
    font-size: 0.7rem;
    padding: 3px 10px;
  }
}

/* Extra small screens */
@media (max-width: 400px) {
  .topbar__inner {
    padding: 6px 12px;
  }

  .brand__text span {
    display: none;
  }

  .hero__tags li {
    font-size: 0.72rem;
    padding: 4px 10px;
  }

  .program-card {
    padding: 16px;
  }

  .section {
    padding-top: 40px;
  }

  .result-slide--photo {
    aspect-ratio: 9 / 16;
  }
}

/* ═══════════════════════════════════════════════
   🎵 AMBIENT SOUND SYSTEM
   ═══════════════════════════════════════════════ */

.ambient-toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding: 12px 24px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
  color: var(--muted);
  font-family: var(--font-body);
  font-size: 0.9rem;
}

.ambient-toggle:hover {
  background: #fff;
  border-color: var(--accent);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(179, 146, 92, 0.15);
}

.ambient-toggle.is-active {
  background: linear-gradient(135deg, var(--ink), #2a3036);
  border-color: rgba(216, 187, 131, 0.3);
  color: #fff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.ambient-toggle.is-hinted {
  animation: ambient-hint 0.6s ease-in-out 3;
}

@keyframes ambient-hint {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); box-shadow: 0 8px 32px rgba(179, 146, 92, 0.25); }
}

.ambient-toggle__waves {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 18px;
}

.ambient-toggle__waves span {
  width: 3px;
  height: 6px;
  border-radius: 2px;
  background: currentColor;
  transition: height 0.3s ease, background 0.3s ease;
}

.ambient-toggle.is-active .ambient-toggle__waves span {
  background: var(--gold);
  animation: soundWave 1.2s ease-in-out infinite;
}

.ambient-toggle.is-active .ambient-toggle__waves span:nth-child(1) { animation-delay: 0s; }
.ambient-toggle.is-active .ambient-toggle__waves span:nth-child(2) { animation-delay: 0.15s; }
.ambient-toggle.is-active .ambient-toggle__waves span:nth-child(3) { animation-delay: 0.3s; }
.ambient-toggle.is-active .ambient-toggle__waves span:nth-child(4) { animation-delay: 0.45s; }
.ambient-toggle.is-active .ambient-toggle__waves span:nth-child(5) { animation-delay: 0.6s; }

@keyframes soundWave {
  0%, 100% { height: 4px; }
  50% { height: 18px; }
}

.ambient-toggle__label {
  font-weight: 500;
}

.ambient-visualizer {
  position: relative;
  width: 100%;
  max-width: 600px;
  height: 60px;
  margin: 16px auto 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}

.ambient-visualizer.is-active {
  opacity: 1;
  transform: translateY(0);
}

.ambient-visualizer canvas {
  width: 100%;
  height: 100%;
  border-radius: 12px;
}

/* ═══════════════════════════════════════════════
   📧 LEAD MAGNET — 5 дней к балансу
   ═══════════════════════════════════════════════ */

.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;
}

.leadmag {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  padding: 48px;
  border-radius: 32px;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
}

.leadmag__glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(179, 146, 92, 0.12) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  animation: pulse-glow 6s ease-in-out infinite alternate;
}

.leadmag__badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(46, 160, 67, 0.12), rgba(46, 160, 67, 0.06));
  border: 1px solid rgba(46, 160, 67, 0.2);
  color: #2ea043;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.leadmag__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 12px;
}

.leadmag__desc {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 480px;
  margin: 0 0 24px;
}

.leadmag__preview {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.leadmag__day {
  display: grid;
  grid-template-columns: 36px 1fr 36px;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--line);
  transition: all 0.3s ease;
  cursor: default;
}

.leadmag__day:hover {
  background: #fff;
  transform: translateX(4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.leadmag__day-num {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-strong);
  letter-spacing: 0.1em;
}

.leadmag__day-info strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 2px;
  color: var(--ink);
}

.leadmag__day-info span {
  font-size: 0.82rem;
  color: var(--muted);
}

.leadmag__day-icon {
  font-size: 1.2rem;
  text-align: center;
}

.leadmag__day--locked {
  opacity: 0.5;
  filter: grayscale(0.3);
}

.leadmag__day--locked:hover {
  opacity: 0.7;
  transform: none;
}

.leadmag__form-wrap {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
}

.leadmag__form-card {
  width: 100%;
  padding: 32px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--ink), #2a3036);
  color: #fff;
  box-shadow: 0 24px 60px rgba(26, 30, 35, 0.25);
  position: relative;
  overflow: hidden;
}

.leadmag__form-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(216, 187, 131, 0.1), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(97, 112, 108, 0.08), transparent 40%);
  pointer-events: none;
}

.leadmag__form-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  margin: 0 0 8px;
  color: #fffaf2;
  position: relative;
}

.leadmag__form-sub {
  font-size: 0.9rem;
  color: rgba(255, 250, 242, 0.65);
  margin: 0 0 24px;
  line-height: 1.5;
  position: relative;
}

.leadmag__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}

.leadmag__input-group input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
}

.leadmag__input-group input::placeholder {
  color: rgba(255, 250, 242, 0.4);
}

.leadmag__input-group input:focus {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 3px rgba(216, 187, 131, 0.15);
}

.leadmag__submit {
  width: 100%;
  padding: 16px 24px;
  border: none;
  border-radius: 14px;
  background: var(--gold) !important;
  color: var(--ink) !important;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
  min-height: 52px;
  position: relative;
  overflow: hidden;
}

.leadmag__submit:hover {
  background: #e8cc96 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 32px rgba(216, 187, 131, 0.3) !important;
}

.leadmag__submit-arrow {
  transition: transform 0.3s ease;
  font-size: 1.2rem;
}

.leadmag__submit:hover .leadmag__submit-arrow {
  transform: translateX(4px);
}

.leadmag__privacy {
  font-size: 0.75rem;
  color: rgba(255, 250, 242, 0.4);
  text-align: center;
  margin: 4px 0 0;
  position: relative;
}

.leadmag__success {
  text-align: center;
  padding: 32px 0;
  position: relative;
}

.leadmag__success-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
  animation: gentle-float 2s ease-in-out infinite alternate;
}

.leadmag__success h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin: 0 0 8px;
  color: var(--gold);
}

.leadmag__success p {
  color: rgba(255, 250, 242, 0.7);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.5;
}

.leadmag__social-proof {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.leadmag__avatars {
  display: flex;
}

.leadmag__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: #fff;
  border: 2px solid var(--ink);
  margin-left: -6px;
}

.leadmag__avatar:first-child {
  margin-left: 0;
}

.leadmag__social-text {
  font-size: 0.78rem;
  color: rgba(255, 250, 242, 0.5);
}

@media (max-width: 900px) {
  .leadmag {
    grid-template-columns: 1fr;
    padding: 28px 20px;
  }
}

@media (max-width: 500px) {
  .leadmag {
    padding: 20px 16px;
    border-radius: 20px;
  }

  .leadmag__form-card {
    padding: 24px 20px;
    border-radius: 18px;
  }

  .leadmag__day {
    grid-template-columns: 28px 1fr 28px;
    padding: 10px 12px;
    gap: 10px;
  }
}

/* ═══════════════════════════════════════════════
   💬 AI CHAT WIDGET
   ═══════════════════════════════════════════════ */

.chat-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
}

@media (max-width: 768px) {
  .chat-widget {
    bottom: 90px;
    right: 12px;
  }
}

.chat-fab {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--ink), #2a3036);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(179, 146, 92, 0);
  transition: all 0.3s ease;
  position: relative;
  z-index: 10;
}

.chat-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25), 0 0 0 4px rgba(179, 146, 92, 0.15);
}

.chat-fab.is-hinted {
  animation: chat-fab-hint 0.5s ease-in-out 3;
}

@keyframes chat-fab-hint {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 0 6px rgba(179, 146, 92, 0.2); }
}

.chat-fab__icon {
  transition: opacity 0.2s ease, transform 0.3s ease;
}

.chat-fab__icon--close {
  position: absolute;
  opacity: 0;
  transform: rotate(-90deg);
}

.chat-fab.is-open .chat-fab__icon--chat {
  opacity: 0;
  transform: rotate(90deg);
}

.chat-fab.is-open .chat-fab__icon--close {
  opacity: 1;
  transform: rotate(0);
}

.chat-fab__pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  animation: chat-pulse 2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes chat-pulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.4); opacity: 0; }
}

.chat-fab__badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #e74c3c;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  display: none;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ink);
  animation: badge-bounce 0.5s ease;
}

@keyframes badge-bounce {
  0% { transform: scale(0); }
  60% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.chat-panel {
  position: absolute;
  bottom: 72px;
  right: 0;
  width: min(400px, calc(100vw - 32px));
  height: min(560px, calc(100vh - 160px));
  border-radius: 24px;
  background: var(--surface-strong);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--line);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.chat-panel.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.chat-panel__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.5);
}

.chat-panel__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.chat-panel__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chat-panel__online {
  position: absolute;
  bottom: 1px;
  right: 1px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2ea043;
  border: 2px solid #fff;
}

.chat-panel__info {
  flex: 1;
  min-width: 0;
}

.chat-panel__info strong {
  display: block;
  font-size: 0.9rem;
  color: var(--ink);
}

.chat-panel__info span {
  font-size: 0.75rem;
  color: var(--muted);
}

.chat-panel__close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.04);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.chat-panel__close:hover {
  background: rgba(0, 0, 0, 0.08);
  color: var(--ink);
}

.chat-panel__messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scroll-behavior: smooth;
}

.chat-msg {
  display: flex;
  max-width: 85%;
}

.chat-msg--user {
  align-self: flex-end;
  justify-content: flex-end;
}

.chat-msg--bot {
  align-self: flex-start;
}

.chat-msg__bubble {
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 0.9rem;
  line-height: 1.5;
  word-break: break-word;
}

.chat-msg--bot .chat-msg__bubble {
  background: rgba(0, 0, 0, 0.04);
  color: var(--ink);
  border-bottom-left-radius: 6px;
}

.chat-msg--user .chat-msg__bubble {
  background: var(--ink);
  color: #fff;
  border-bottom-right-radius: 6px;
}

.chat-msg__cta-block {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  background: transparent;
  padding: 4px 0;
}

.chat-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.chat-cta-btn--primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.chat-cta-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.chat-cta-btn--ghost {
  background: rgba(0, 0, 0, 0.04);
  color: var(--ink);
  border: 1px solid var(--line);
}

.chat-cta-btn--ghost:hover {
  background: #fff;
}

/* Typing indicator */
.chat-msg--typing .chat-msg__bubble {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 14px 20px;
}

.typing-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--muted);
  opacity: 0.4;
  animation: typingBounce 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(2) { animation-delay: 0.16s; }
.typing-dot:nth-child(3) { animation-delay: 0.32s; }

@keyframes typingBounce {
  0%, 80%, 100% { transform: scale(0.7); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}

.chat-panel__suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 16px;
  border-top: 1px solid var(--line);
  min-height: 0;
}

.chat-pill {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.6);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  font-family: var(--font-body);
}

.chat-pill:hover {
  background: #fff;
  border-color: var(--accent);
  color: var(--accent-strong);
  transform: translateY(-1px);
}

.chat-panel__input {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.5);
}

.chat-panel__input input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: all 0.2s ease;
}

.chat-panel__input input:focus {
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(179, 146, 92, 0.1);
}

.chat-send {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.chat-send:hover {
  background: #2a3036;
  transform: scale(1.06);
}

/* Chat panel mobile styles */
@media (max-width: 500px) {
  .chat-panel {
    bottom: 72px;
    right: -12px;
    width: calc(100vw - 16px);
    height: min(480px, calc(100vh - 200px));
    border-radius: 20px;
  }

  .chat-fab {
    width: 52px;
    height: 52px;
  }
}

/* Lead magnet form JS state */
.leadmag__form.is-submitted {
  display: none;
}

/* Premium Temperature Overlay */
.temperature-overlay {
  display: none;
}

/* Scroll softly falling particles */
.scroll-soft-particle {
  position: absolute;
  width: 10px;
  height: 10px;
  background: radial-gradient(circle, #fff, rgba(216, 187, 131, 0.4));
  border-radius: 50%;
  pointer-events: none;
  z-index: 5;
  filter: blur(2px);
  will-change: transform, opacity;
}

/* Booking Modal */
.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.booking-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.booking-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 17, 20, 0.85);
  backdrop-filter: blur(8px);
}

.booking-modal__content {
  position: relative;
  width: 90%;
  max-width: 500px;
  background: linear-gradient(180deg, rgba(255, 251, 244, 0.98), rgba(245, 239, 230, 0.96));
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-strong);
  transform: translateY(20px) scale(0.95);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(216, 187, 131, 0.2);
}

.booking-modal.is-open .booking-modal__content {
  transform: translateY(0) scale(1);
}

.booking-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  color: var(--muted);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.booking-modal__close:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--ink);
}

.booking-modal__header h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin: 0 0 8px;
  color: var(--ink);
}

.booking-modal__header p {
  color: var(--muted);
  margin: 0 0 24px;
}

.booking-form__group {
  margin-bottom: 20px;
}

.booking-form__group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--ink);
}

.booking-form__group input,
.booking-form__group textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.6);
  font-family: var(--font-body);
  transition: all 0.2s;
}

.booking-form__group input:focus,
.booking-form__group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(216, 187, 131, 0.15);
}

/* --- Added Premium Effects --- */

/* SplitType Init State */
.hero__title .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
}

/* Swiper Overrides to match previous layout */
.result-slider.swiper {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.result-slider.swiper .swiper-slide {
  height: auto;
  min-height: 480px;
}

/* Image Skeleton (Blur Up mechanism) */
.image-skeleton {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, #ececec 8%, #f5f5f5 18%, #ececec 33%);
  background-size: 200% 100%;
  animation: shine-skeleton 1.5s linear infinite;
  z-index: 1;
  transition: opacity 0.5s ease;
}

@keyframes shine-skeleton {
  to {
    background-position-x: -200%;
  }
}

.result-slide img {
  opacity: 0;
  transition: opacity 0.6s ease;
  position: relative;
  z-index: 2;
}

.result-slide.is-loaded img {
  opacity: 1;
}

.result-slide.is-loaded .image-skeleton {
  opacity: 0;
  pointer-events: none;
}

/* Magnetic Button Utility */
.magnetic {
  display: inline-flex;
  transition: transform 0.1s; /* will be overridden by gsap, but nice as fallback */
  will-change: transform;
}

/* Finding Balance Pivot Animation */
.balance-pivot {
  display: inline-block;
  transform-origin: bottom center;
  will-change: transform;
}

.reveal.is-visible .balance-pivot {
  animation: finding-balance-pivot 3.5s cubic-bezier(0.25, 1, 0.3, 1) forwards;
  animation-delay: 0.6s;
}

@keyframes finding-balance-pivot {
  0% { transform: rotate(0deg); }
  15% { transform: rotate(-14deg) translateY(-2px); }
  35% { transform: rotate(9deg) translateY(0px); }
  55% { transform: rotate(-5deg); }
  75% { transform: rotate(2deg); }
  90% { transform: rotate(-1deg); }
  100% { transform: rotate(0deg); }
}

/* --- GLASSMORPHISM GLOBAL OVERRIDES --- */
.journey-step,
.result-slide__overlay,
.leadmag,
.program-card,
.faq-item,
.quiz-container {
  background: var(--surface) !important;
  backdrop-filter: var(--glass-blur) !important;
  -webkit-backdrop-filter: var(--glass-blur) !important;
  border: var(--glass-border) !important;
  box-shadow: var(--shadow) !important;
}

.booking-modal__content {
  background: rgba(14, 20, 24, 0.7) !important;
  backdrop-filter: var(--glass-blur) !important;
  -webkit-backdrop-filter: var(--glass-blur) !important;
  border: var(--glass-border) !important;
}

.booking-form__group input,
.booking-form__group textarea {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: var(--ink) !important;
}

.booking-modal__header h3,
.booking-modal__header p,
.booking-form__group label,
.booking-success h3,
.booking-success p {
  color: var(--ink) !important;
}

header {
  background: rgba(3, 6, 8, 0.4) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* Advanced Effects & Ghost Marquee (Awwwards Style) */
.marquee-wrap {
  width: 100vw;
  max-width: 100%;
  overflow: hidden;
  padding: 40px 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 50px;
  position: relative;
  z-index: 10;
}

.marquee {
  display: flex;
  white-space: nowrap;
  animation: marqueeScroll 25s linear infinite;
  color: transparent;
  -webkit-text-stroke: 1px rgba(26, 30, 35, 0.25);
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.9;
}

.marquee span {
  padding-right: 40px;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Aurora Hover Effect for cards */
.aurora-card {
  position: relative;
  overflow: hidden;
}

.aurora-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(179, 146, 92, 0.15) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
  pointer-events: none;
}

.aurora-card:hover::before {
  opacity: 1;
}

.aurora-card > * {
  position: relative;
  z-index: 1;
}

/* Desktop Magnetic Sticky CTA */
.magnetic-fab-wrap {
  position: fixed;
  right: 40px;
  bottom: 40px;
  width: 140px;
  height: 140px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

@media (max-width: 1024px) {
  .magnetic-fab-wrap {
    display: none;
  }
}

.magnetic-fab {
  pointer-events: auto;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ink), #2a3036);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.magnetic-fab:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  transform: scale(1.05);
  color: var(--accent);
}

.magnetic-fab__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  pointer-events: none;
}


/* ═══ 2026 FINAL POLISH ═══ */

/* Text: Full Width & Justify */
.section-heading { max-width: 1100px !important; }
.section-heading h2 { max-width: 22ch !important; }
.section-heading__note { max-width: 85ch !important; text-align: justify; }
.specialist-card__lead,
.approach-card p,
.quote-panel p,
.faq-item__content p,
.balance-hero__sub,
.leadmag__desc { text-align: justify; }

/* Specialist Photo: Show full image */
.specialist-card__portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 32px;
  position: relative; z-index: 1;
}
.specialist-card__portrait::before,
.specialist-card__portrait::after { display: none !important; }

/* Magnetic Cursor Glow */
#cursor-glow {
  position: fixed;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216,187,131,0.06) 0%, transparent 70%);
  pointer-events: none; z-index: 0;
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease, opacity 0.3s ease;
  opacity: 0.8; will-change: transform;
}
#cursor-glow.is-hovering {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(216,187,131,0.12) 0%, transparent 70%);
}

/* Animated Background Particles */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: -3;
  background-image:
    radial-gradient(1px 1px at 10% 20%, rgba(216,187,131,0.3), transparent),
    radial-gradient(1px 1px at 80% 30%, rgba(216,187,131,0.2), transparent),
    radial-gradient(1.5px 1.5px at 30% 70%, rgba(216,187,131,0.25), transparent),
    radial-gradient(1px 1px at 60% 85%, rgba(216,187,131,0.2), transparent),
    radial-gradient(1px 1px at 45% 45%, rgba(216,187,131,0.15), transparent),
    radial-gradient(1.5px 1.5px at 90% 60%, rgba(216,187,131,0.2), transparent);
  animation: particlesDrift 40s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes particlesDrift {
  0% { transform: translateY(0) translateX(0); opacity: 0.6; }
  50% { transform: translateY(-20px) translateX(10px); opacity: 0.9; }
  100% { transform: translateY(0) translateX(0); opacity: 0.6; }
}

/* Enhanced page-glow animation */
@keyframes auroraFloat {
  0%, 100% { transform: scale(1) translate(0,0); opacity: 0.6; }
  25% { transform: scale(1.1) translate(3%,2%); opacity: 0.8; }
  50% { transform: scale(1.05) translate(-2%,4%); opacity: 0.7; }
  75% { transform: scale(1.15) translate(1%,-3%); opacity: 0.9; }
}

/* Video play button */
.video-play-btn { pointer-events: auto !important; transition: transform 0.4s ease, box-shadow 0.4s ease !important; }
.video-wrapper:hover .video-play-btn { transform: scale(1.15); box-shadow: 0 0 40px rgba(216,187,131,0.3); }

/* Pricing CTAs: subtle */
#pricing .button--primary, #pricing .button--ghost {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--muted); font-size: 0.9rem;
}
#pricing .button--primary:hover, #pricing .button--ghost:hover {
  background: rgba(216,187,131,0.1);
  color: var(--gold);
  border-color: rgba(216,187,131,0.2);
}

/* ========================================================================= */
/* STRICT VERSION CONTROL (MOBILE VS DESKTOP)                                */
/* ========================================================================= */

/* MOBILE VERSION overrides */
html.mobile-version body {
  overflow-x: hidden;
}
html.mobile-version .hero {
  min-height: auto !important;
  padding-top: 100px !important;
}
html.mobile-version .hero__title {
  font-size: clamp(2.3rem, 10vw, 3rem) !important;
  text-align: left;
}
html.mobile-version .hero__subtitle {
  font-size: 1.05rem !important;
  text-align: left !important;
}
html.mobile-version .topbar__inner {
  padding: 10px 16px !important;
}
html.mobile-version .topbar__nav {
  display: none !important; /* Hide desktop nav items on mobile phone completely */
}
html.mobile-version #cursor-glow {
  display: none !important; /* Performance optimization */
}
html.mobile-version .approach-split,
html.mobile-version .bento-grid,
html.mobile-version .trust-strip {
  grid-template-columns: 1fr !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 20px !important;
}
html.mobile-version .glow-card,
html.mobile-version .trust-strip article {
  grid-column: span 1 !important;
  grid-row: span 1 !important;
  padding: 24px !important;
}
html.mobile-version .section {
  padding-top: 50px !important;
  padding-bottom: 50px !important;
}

/* DESKTOP VERSION overrides */
html.desktop-version {
  scroll-behavior: smooth; /* Smooth only for computers */
}
html.desktop-version .topbar__nav {
  display: flex !important;
}

/* STICKY MOBILE CTA */
.mobile-sticky-btn {
  display: none; /* hidden by default */
}
html.mobile-version .mobile-sticky-btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 18px 20px;
  background: var(--gold);
  color: var(--bg-deep); /* dark text inside gold button */
  font-weight: 700;
  font-size: 1.15rem;
  z-index: 1000;
  box-shadow: 0 -10px 30px rgba(0,0,0,0.3);
  text-decoration: none;
  font-family: var(--font-body);
  transition: transform 0.3s;
}
html.mobile-version .mobile-sticky-btn:active {
  transform: scale(0.98);
}
/* Ensure page content has bottom padding so it doesn't get covered by the sticky button */
html.mobile-version body {
  padding-bottom: 80px; 
}

/* ═══ ABOUT MEGA BLOCK ═══ */
.about-mega__photo img {
  transition: transform 8s ease;
}
.about-mega:hover .about-mega__photo img {
  transform: scale(1.04);
}

/* Stat counter animation */
.about-stat-card {
  transition: transform 0.4s, border-color 0.4s, box-shadow 0.4s;
}
.about-stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(216,187,131,0.3) !important;
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

/* Reveal slide animations */
.reveal-slide-left,
.reveal-slide-right,
.reveal-slide-up {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-slide-left { transform: translateX(-40px); }
.reveal-slide-right { transform: translateX(40px); }
.reveal-slide-up { transform: translateY(40px); }

.reveal-slide-left.is-visible,
.reveal-slide-right.is-visible,
.reveal-slide-up.is-visible,
.is-visible .reveal-slide-left,
.is-visible .reveal-slide-right,
.is-visible .reveal-slide-up {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

/* Mobile: about block stacks */
@media (max-width: 768px) {
  .about-mega__hero {
    flex-direction: column !important;
  }
  .about-mega__photo img {
    min-height: 360px !important;
  }
  .about-mega__bio {
    padding: 28px 20px !important;
  }
  .about-mega__stat-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px !important;
  }
  .about-stat-card span:first-child {
    font-size: 1.8rem !important;
  }
  .about-achievements {
    grid-template-columns: 1fr !important;
  }
}

/* Neuro canvas subtle fade at edges */
#neuro-canvas {
  opacity: 0.6;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 40%, transparent 100%);
}

/* Поиск баланса на всю ширину */
#booking.section {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100vw;
}
#booking .balance-hero {
    display: block;
}
#booking .result-slider {
    width: 100%;
    margin-top: 40px;
}
#booking .balance-hero__title, #booking .balance-hero__sub {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}
#booking .result-slide {
    width: auto !important;
    min-width: 300px;
}

/* Оптимизация пустого пространства */
.section {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
}
@media (max-width: 768px) {
    .section {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }
}
.hero {
    padding-bottom: 20px !important;
}

/* ═══ PREMIUM BOOKING MODAL (GLASSMORPHISM) ═══ */
.booking-modal {
  position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.booking-modal.is-open {
  opacity: 1; pointer-events: all;
}
.booking-modal__overlay {
  position: absolute; inset: 0; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); cursor: pointer;
}
.booking-modal__content {
  position: relative; z-index: 1; width: min(92%, 560px); 
  background: linear-gradient(145deg, rgba(22, 30, 34, 0.95), rgba(10, 15, 18, 0.98));
  border: 1px solid rgba(216, 187, 131, 0.25); border-radius: 36px; padding: 48px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8), inset 0 2px 20px rgba(216, 187, 131, 0.1);
  transform: translateY(30px) scale(0.95); opacity: 0; transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.5s ease;
  overflow: hidden;
}
.booking-modal.is-open .booking-modal__content {
  transform: translateY(0) scale(1); opacity: 1;
}
.booking-modal__content::before {
  content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 0%, rgba(216, 187, 131, 0.15) 0%, transparent 60%); pointer-events: none;
}
.booking-modal__close {
  position: absolute; top: 24px; right: 24px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: var(--gold); border-radius: 50%; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  cursor: pointer; opacity: 0.8; transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 2;
}
.booking-modal__close:hover {
  opacity: 1; transform: scale(1.1) rotate(90deg); background: rgba(216, 187, 131, 0.1); border-color: rgba(216, 187, 131, 0.3);
}
@media (max-width: 768px) {
  .booking-modal__content { padding: 32px 24px; border-radius: 28px; width: min(95%, 400px); }
  .booking-modal__close { top: 16px; right: 16px; width: 38px; height: 38px; }
}

/* Premium Animated Icons */
.floating-badge {
  display: inline-block;
  animation: floatBadge 4s ease-in-out infinite alternate;
  filter: drop-shadow(0 4px 10px rgba(216, 187, 131, 0.4));
}

@keyframes floatBadge {
  0% { transform: translateY(0) rotate(0deg) scale(1) translateZ(30px); }
  50% { transform: translateY(-6px) rotate(3deg) scale(1.08) translateZ(40px); }
  100% { transform: translateY(0) rotate(-2deg) scale(1.03) translateZ(30px); }
}

.check {
  display: inline-block;
  animation: shineCheck 3s ease-in-out infinite;
}

@keyframes shineCheck {
  0%, 100% { transform: scale(1); filter: brightness(1) drop-shadow(0 0 0 transparent); }
  50% { transform: scale(1.2) rotate(10deg); filter: brightness(1.3) drop-shadow(0 0 10px rgba(216, 187, 131, 0.8)); }
}

.approach-card h3 {
  position: relative;
}

.approach-card h3::before {
  content: '?';
  position: absolute;
  left: -28px;
  top: 0;
  font-size: 1.2rem;
  animation: sparkleRotate 4s linear infinite;
  opacity: 0.8;
}

@keyframes sparkleRotate {
  0% { transform: scale(0.8) rotate(0deg); opacity: 0.4; }
  50% { transform: scale(1.2) rotate(180deg); opacity: 1; filter: drop-shadow(0 0 8px var(--gold)); }
  100% { transform: scale(0.8) rotate(360deg); opacity: 0.4; }
}

/* Make program media cards slightly animated * /
.program-card__media {
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.program-card:hover .program-card__media {
  transform: scale(1.05) translateZ(30px) !important;
}


/* WOW: Wave Animated Text */
.anime-text {
  background: linear-gradient(90deg, var(--gold) 0%, #fff 50%, var(--gold) 100%);
  background-size: 200% auto;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: shineWave 4s linear infinite;
  display: inline-block;
}
@keyframes shineWave {
  to { background-position: 200% center; }
}

/* 3D Animated Pendulum */
.pendulum-container {
  display: flex; justify-content: center; padding: 20px 0; perspective: 800px;
}
.pendulum {
  width: 20px; height: 100px; position: relative;
  transform-origin: top center;
  animation: swing 3s ease-in-out infinite alternate;
}
.pendulum-string { width: 2px; height: 80px; background: rgba(216,187,131,0.5); margin: 0 auto; }
.pendulum-bob { width: 40px; height: 40px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #fff, var(--gold), #8c6e39); margin-left: -10px; box-shadow: 0 10px 20px rgba(0,0,0,0.5); border: 2px solid rgba(255,255,255,0.4); }

@keyframes swing {
  0% { transform: rotate(25deg); }
  100% { transform: rotate(-25deg); }
}

.photo-anim-full {
  animation: breatheFull 6s ease-in-out infinite alternate;
  box-shadow: 0 0 30px rgba(216, 187, 131, 0.4);
}
@keyframes breatheFull {
  0% { transform: scale(1) translateY(0); filter: drop-shadow(0 10px 20px rgba(216,187,131,0.2)); }
  100% { transform: scale(1.03) translateY(-10px); filter: drop-shadow(0 20px 40px rgba(216,187,131,0.6)); border-color: var(--gold); }
}


/* WOW: Emoji Float Animation */
@keyframes emojiFloat {
  0%, 100% { transform: translateY(0) scale(1) rotate(0deg); }
  50% { transform: translateY(-5px) scale(1.1) rotate(5deg); filter: drop-shadow(0 5px 10px rgba(216, 187, 131, 0.4)); }
}
.emoji-float {
  display: inline-block;
  animation: emojiFloat 3s ease-in-out infinite;
}
