:root {
  --bg: #09090b;
  --surface: #121216;
  --surface-2: #19191f;
  --surface-3: #222229;
  --text: #f4f2f0;
  --muted: #97979f;
  --line: rgba(255, 255, 255, 0.09);
  --accent: #cbd3dc;
  --accent-soft: #f4f7fa;
  --steel: #8794a3;
  --chrome: linear-gradient(135deg, #f8fafc 0%, #9aa5b2 18%, #eef2f6 36%, #6f7b89 55%, #f4f7fa 76%, #aab4bf 100%);
  --liquid-silver:
    radial-gradient(circle at 17% 17%, rgba(255, 255, 255, 0.96), transparent 21%),
    radial-gradient(circle at 84% 24%, rgba(210, 222, 234, 0.92), transparent 25%),
    radial-gradient(circle at 58% 88%, rgba(78, 89, 102, 0.76), transparent 33%),
    linear-gradient(135deg, #eef2f6 0%, #8995a2 24%, #dfe5eb 48%, #707c89 69%, #dce2e8 100%);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius: 28px;
  --max-width: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  margin: 0;
  overflow-x: hidden;
}

body::before {
  background-image:
    radial-gradient(circle at 50% 0%, rgba(177, 202, 224, 0.08), transparent 35%),
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: auto, 56px 56px, 56px 56px;
  content: "";
  inset: 0;
  pointer-events: none;
  position: fixed;
  z-index: -1;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.site-header {
  align-items: center;
  backdrop-filter: blur(20px);
  background: rgba(9, 9, 11, 0.72);
  border-bottom: 1px solid var(--line);
  display: flex;
  height: 64px;
  justify-content: space-between;
  left: 0;
  padding: 0 max(24px, calc((100vw - var(--max-width)) / 2));
  position: fixed;
  right: 0;
  top: 0;
  transition: background 0.3s, height 0.3s;
  z-index: 50;
}

.site-header.is-scrolled {
  background: rgba(9, 9, 11, 0.92);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.2);
  height: 56px;
}

.brand {
  align-items: center;
  display: flex;
  font-size: 13px;
  font-weight: 750;
  gap: 9px;
  letter-spacing: -0.02em;
}

.brand-icon {
  align-items: center;
  background: var(--chrome);
  border-radius: 9px;
  color: var(--bg);
  display: flex;
  height: 25px;
  justify-content: center;
  width: 25px;
}

.nav {
  display: flex;
  gap: 28px;
}

.nav a {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--text);
}

.nav-enroll {
  border: 1px solid rgba(220, 231, 240, 0.35);
  border-radius: 999px;
  color: var(--text) !important;
  margin: -9px 0;
  padding: 9px 16px;
}

.menu-toggle {
  background: none;
  border: 0;
  display: none;
}

.block {
  position: relative;
}

.hero {
  align-items: center;
  background: #050506;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100svh;
  overflow: hidden;
  padding: 0;
  text-align: center;
}

.hero-content {
  --hero-content-offset: -10svh;
  align-items: flex-start;
  background: #050506;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: none;
  min-height: 100svh;
  overflow: hidden;
  padding:
    clamp(120px, 14svh, 170px)
    max(32px, calc((100vw - 1560px) / 2))
    clamp(220px, 25svh, 280px);
  position: relative;
  text-align: left;
  text-shadow: 0 3px 24px rgba(0, 0, 0, 0.75);
  top: 0;
  width: 100%;
  z-index: 2;
}

.hero-content::before {
  background:
    linear-gradient(90deg, rgba(5, 5, 6, 0.98) 0%, rgba(5, 5, 6, 0.78) 38%, rgba(5, 5, 6, 0.16) 72%),
    linear-gradient(0deg, #050506 0%, transparent 32%),
    url("back12.webp") center / cover no-repeat;
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  opacity: 1;
  width: 100%;
  z-index: 0;
}

.hero-content > .pill,
.hero-content > h1,
.hero-content > p,
.hero-benefits,
.hero-actions {
  position: relative;
  transform: translateY(var(--hero-content-offset));
  z-index: 2;
}

.hero-content h1 {
  font-size: clamp(84px, 6.25vw, 110px);
  font-weight: 760;
  letter-spacing: -0.065em;
  line-height: 0.94;
  margin: clamp(28px, 4svh, 48px) 0 32px;
  max-width: 1180px;
  text-wrap: balance;
  width: 80vw;
}

.hero-mobile-break {
  display: none;
}

.hero-content > .pill {
  background: linear-gradient(120deg, rgba(235, 241, 247, 0.18), rgba(139, 154, 170, 0.12));
  border-color: rgba(213, 228, 240, 0.34);
  font-size: 13px;
  padding: 10px 15px;
}

.hero-slider {
  bottom: auto;
  left: auto;
  margin-top: -110px;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  opacity: 0;
  overflow: hidden;
  padding: 18px 0 28px;
  pointer-events: none;
  position: relative;
  right: auto;
  transform: translateY(24px);
  transition: opacity 0.9s ease, transform 0.9s ease;
  width: 100%;
  z-index: 3;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.hero-slider.is-ready {
  opacity: 0.62;
  transform: translateY(0);
}

.hero-slider-track {
  display: flex;
  gap: 14px;
  justify-content: center;
  min-width: max-content;
  transform: translateX(0);
  will-change: transform;
}

.hero-slider.is-ready .hero-slider-track {
  animation:
    heroSliderEntrance 2.6s cubic-bezier(0.2, 0.8, 0.2, 1) both,
    heroSliderDrift 9s 2.6s ease-in-out infinite alternate;
}

.hero-slide {
  background: var(--surface-2);
  border: 1px solid rgba(213, 226, 238, 0.2);
  border-radius: 22px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.38);
  height: 250px;
  object-fit: cover;
  width: 178px;
}

@keyframes heroSliderEntrance {
  from { transform: translateX(9vw); }
  to { transform: translateX(-3vw); }
}

@keyframes heroSliderDrift {
  from { transform: translateX(-3vw); }
  to { transform: translateX(3vw); }
}

.about-person {
  filter:
    drop-shadow(-24px 28px 35px rgba(0, 0, 0, 0.55))
    drop-shadow(0 0 18px rgba(196, 215, 232, 0.1));
  height: min(66.3svh, 722px);
  max-width: 35.7vw;
  object-fit: contain;
  object-position: top right;
  pointer-events: none;
  position: absolute;
  right: 24px;
  top: 33px;
  transform-origin: top right;
  z-index: 3;
}

.pill,
.kicker {
  background: var(--chrome);
  background-clip: text;
  color: transparent;
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pill {
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.12), rgba(137, 153, 169, 0.09));
  border: 1px solid rgba(190, 211, 230, 0.24);
  border-radius: 999px;
  color: var(--accent-soft);
  padding: 8px 13px;
  -webkit-text-fill-color: currentColor;
}

h1,
h2,
h3,
p,
blockquote {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: -0.055em;
  line-height: 0.98;
}

h1 {
  font-size: clamp(60px, 8.2vw, 116px);
  margin: 26px 0 24px;
}

h1 span,
h2 span {
  background: var(--chrome);
  background-clip: text;
  color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content > p {
  color: #d4d7db;
  font-size: clamp(15px, 1.05vw, 18px);
  line-height: 1.5;
  margin: 0 0 38px;
  max-width: 800px;
  text-wrap: pretty;
  width: 50vw;
}

.hero-benefits {
  display: flex;
  margin: 2px 0 30px;
}

.hero-benefits span {
  align-items: center;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  color: #d4d7da;
  display: inline-flex;
  font-size: 11px;
  gap: 9px;
  margin-right: 18px;
  padding-right: 18px;
  white-space: nowrap;
}

.hero-benefits span:last-child {
  border-right: 0;
  margin-right: 0;
  padding-right: 0;
}

.hero-benefits i {
  color: var(--accent-soft);
  font-size: 19px;
  font-style: normal;
}

.hero-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-start;
}

.hero-actions .button {
  font-size: 14px;
  min-width: 220px;
  padding: 16px 28px;
}

.button {
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font-size: 13px;
  font-weight: 750;
  justify-content: center;
  padding: 15px 20px;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--chrome);
  box-shadow: 0 10px 30px rgba(175, 197, 216, 0.2);
  color: #101216;
}

.button-primary:hover {
  background: linear-gradient(135deg, #fff 0%, #bdc7d1 38%, #f4f7fa 70%, #909ba7 100%);
  box-shadow: 0 14px 36px rgba(190, 213, 232, 0.3);
}

.button-ghost {
  background: var(--surface-2);
  border: 1px solid var(--line);
}

.hero-orbit {
  border: 1px solid rgba(177, 207, 232, 0.24);
  border-radius: 50%;
  left: 50%;
  position: absolute;
  top: 83%;
  transform: translate(-50%, -50%);
}

.orbit-one {
  height: 620px;
  width: 620px;
}

.orbit-two {
  box-shadow:
    0 0 70px rgba(170, 205, 235, 0.1),
    inset 0 0 70px rgba(185, 215, 240, 0.06);
  height: 420px;
  width: 420px;
}

.hero-grid {
  bottom: 2%;
  height: 210px;
  left: 50%;
  opacity: 0.6;
  perspective: 250px;
  position: absolute;
  transform: translateX(-50%);
  width: 700px;
}

.hero-grid span {
  border: 1px solid rgba(172, 205, 232, 0.18);
  border-radius: 50%;
  inset: 0;
  position: absolute;
  transform: rotateX(72deg);
}

.hero-grid span:nth-child(2) { inset: 22px; }
.hero-grid span:nth-child(3) { inset: 44px; }
.hero-grid span:nth-child(4) { inset: 66px; }
.hero-grid span:nth-child(5) { inset: 88px; }

.section {
  margin: 0 auto;
  max-width: calc(var(--max-width) + 48px);
  padding: 140px 24px 40px;
}

.section-heading {
  margin-bottom: 65px;
  max-width: 850px;
}

.section-heading h2 {
  font-size: clamp(48px, 6.5vw, 84px);
  margin: 14px 0 24px;
}

.section-heading > p {
  color: var(--muted);
  font-size: clamp(16px, 1.65vw, 21px);
  line-height: 1.5;
  max-width: 760px;
}

.section-heading.compact {
  max-width: 900px;
}

.feature-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1.1fr 0.9fr;
}

.feature-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  min-height: 520px;
  overflow: hidden;
  padding: 48px;
  position: relative;
}

.feature-dark {
  background: #111114;
}

.feature-accent {
  background: var(--liquid-silver);
  border-color: rgba(230, 239, 247, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    inset 0 -1px 0 rgba(41, 48, 56, 0.35),
    0 24px 80px rgba(0, 0, 0, 0.35);
  color: #101318;
  isolation: isolate;
  overflow: visible;
  padding-top: 52px;
}

.feature-accent::before {
  display: none;
}

.feature-accent::before,
.outcome-card::before {
  animation: silverFlow 10s ease-in-out infinite alternate;
  background:
    conic-gradient(
      from 35deg at 50% 50%,
      transparent 0deg,
      rgba(255, 255, 255, 0.76) 38deg,
      transparent 83deg,
      rgba(64, 75, 87, 0.42) 158deg,
      transparent 230deg,
      rgba(232, 242, 250, 0.68) 306deg,
      transparent 360deg
    );
  content: "";
  filter: blur(18px);
  inset: -55%;
  mix-blend-mode: soft-light;
  opacity: 0.58;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.feature-accent > * {
  position: relative;
  z-index: 1;
}

.feature-accent .about-person {
  bottom: auto;
  height: auto;
  left: 50%;
  margin: 0;
  max-width: 250px;
  opacity: 1;
  position: absolute;
  right: auto;
  top: 0;
  transform: translate(-50%, -50%);
  width: 50%;
  z-index: 2;
}

.feature-accent > .card-label,
.feature-accent > h3,
.feature-accent > p {
  max-width: 100%;
  position: relative;
  z-index: 3;
}

.feature-accent > h3 {
  font-size: clamp(38px, 3.2vw, 46px);
}

.feature-accent > p {
  max-width: 58%;
}

.feature-accent .pedicure-symbol {
  bottom: 18px;
}

@keyframes silverFlow {
  0% { transform: rotate(-7deg) scale(1); }
  50% { transform: rotate(8deg) scale(1.08) translate3d(2%, -2%, 0); }
  100% { transform: rotate(18deg) scale(1.03) translate3d(-2%, 3%, 0); }
}

.card-label {
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.feature-accent .card-label {
  color: #303842;
}

.feature-card h3 {
  font-size: clamp(35px, 4vw, 54px);
  margin: 18px 0;
}

.feature-card > p {
  color: var(--muted);
  line-height: 1.55;
  max-width: 520px;
}

.feature-accent > p {
  color: #303842;
}

.diagram {
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(140deg, #202731, #11141a);
  background-size: 38px 38px, 38px 38px, auto;
  border: 1px solid var(--line);
  border-radius: 20px;
  bottom: 34px;
  height: 190px;
  left: 34px;
  overflow: hidden;
  position: absolute;
  right: 34px;
}

.learning-illustration-image {
  display: block;
  height: 100%;
  mix-blend-mode: screen;
  object-fit: contain;
  width: 100%;
}

.pedicure-symbol {
  align-items: baseline;
  bottom: -18px;
  display: flex;
  font-weight: 800;
  letter-spacing: -0.09em;
  line-height: 0.8;
  position: absolute;
  right: 36px;
}

.pedicure-symbol span {
  font-size: clamp(130px, 14vw, 180px);
}

.pedicure-symbol small {
  font-size: 38px;
}

.stat-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 16px;
}

.mini-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  min-height: 185px;
  padding: 28px;
}

.mini-card strong {
  display: block;
  font-size: clamp(35px, 4vw, 52px);
  letter-spacing: -0.06em;
  line-height: 1;
  margin-bottom: 15px;
}

.mini-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
  max-width: 240px;
}

.timeline {
  position: relative;
}

.timeline::before {
  background: linear-gradient(#e6edf4, rgba(149, 186, 217, 0.08));
  bottom: 0;
  content: "";
  left: 57px;
  position: absolute;
  top: 0;
  width: 1px;
}

.timeline-row {
  display: grid;
  gap: 26px;
  grid-template-columns: 116px 1fr;
  margin-bottom: 18px;
  position: relative;
}

.timeline-marker {
  align-items: flex-start;
  display: flex;
  justify-content: center;
}

.timeline-marker span {
  background: var(--surface-2);
  border: 1px solid rgba(180, 207, 230, 0.26);
  border-radius: 12px;
  color: var(--accent-soft);
  font-size: 12px;
  font-weight: 800;
  padding: 13px 18px;
  position: relative;
  z-index: 2;
}

.timeline-card {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 21px;
  display: grid;
  gap: 30px;
  grid-template-columns: 0.75fr 1fr;
  min-height: 145px;
  padding: 28px 34px;
  transition: background 0.25s, transform 0.25s;
}

.timeline-card:hover {
  background: var(--surface-2);
  transform: translateX(6px);
}

.timeline-card small {
  color: var(--accent);
  display: block;
  font-size: 11px;
  font-weight: 750;
  margin-bottom: 8px;
}

.timeline-card h3 {
  font-size: clamp(23px, 2.4vw, 34px);
  margin: 0;
}

.timeline-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.courses-section {
  padding-top: 170px;
}

.course-tabs {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  gap: 5px;
  margin-bottom: 34px;
  padding: 5px;
}

.course-tab {
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  padding: 12px 18px;
  transition: background 0.25s, color 0.25s;
}

.course-tab.is-active {
  background: var(--chrome);
  color: #111419;
}

.course-group[hidden] {
  display: none;
}

.course-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.course-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  min-height: 520px;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s;
}

.course-card:hover {
  border-color: rgba(202, 218, 232, 0.28);
  transform: translateY(-6px);
}

.course-card:focus-visible {
  border-color: rgba(220, 233, 244, 0.55);
  outline: 3px solid rgba(190, 216, 238, 0.12);
  outline-offset: 3px;
}

.course-photo {
  align-items: center;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 72% 28%, rgba(201, 215, 228, 0.2), transparent 26%),
    linear-gradient(145deg, #252b33, #101217);
  background-size: 34px 34px, 34px 34px, auto, auto;
  display: flex;
  height: 230px;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.course-photo::before,
.course-photo::after {
  border: 1px solid rgba(208, 225, 239, 0.18);
  border-radius: 50%;
  content: "";
  position: absolute;
}

.course-photo::before {
  height: 190px;
  right: -40px;
  top: -70px;
  width: 190px;
}

.course-photo::after {
  bottom: -60px;
  height: 150px;
  left: -25px;
  width: 150px;
}

.course-photo.has-image::before,
.course-photo.has-image::after {
  display: none;
}

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

[data-course-group="instructor"] .course-photo img {
  object-position: center 30%;
}

.course-photo span {
  background: rgba(8, 10, 13, 0.58);
  border: 1px solid rgba(216, 230, 241, 0.22);
  border-radius: 999px;
  color: var(--accent-soft);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.08em;
  padding: 8px 12px;
  position: relative;
  text-transform: uppercase;
  z-index: 1;
}

.course-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  padding: 25px;
}

.course-format {
  color: var(--accent);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.course-info h3 {
  font-size: clamp(24px, 2vw, 30px);
  hyphens: auto;
  line-height: 1.08;
  margin: 13px 0 15px;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.course-info p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  margin: 0 0 24px;
  text-wrap: pretty;
  white-space: pre-line;
}

.course-info strong {
  border-top: 1px solid var(--line);
  display: flex;
  font-size: 21px;
  font-weight: 600;
  gap: 12px;
  justify-content: space-between;
  letter-spacing: -0.03em;
  margin-top: auto;
  padding-top: 18px;
}

.course-info strong::after {
  align-self: center;
  color: var(--accent);
  content: "Выбрать →";
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0;
  white-space: nowrap;
}

.course-source {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
  margin: 28px 0 0;
}

.course-source a {
  border-bottom: 1px solid currentColor;
  color: var(--accent-soft);
}

.mentor-card {
  background:
    radial-gradient(circle at 84% 30%, rgba(168, 198, 224, 0.13), transparent 31%),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: 34px;
  display: grid;
  gap: 60px;
  grid-template-columns: 1.35fr 0.65fr;
  min-height: 590px;
  overflow: hidden;
  padding: 64px;
  position: relative;
}

.mentor-copy {
  position: relative;
  z-index: 2;
}

.pill-dark {
  background: var(--surface-3);
}

.mentor-copy h3 {
  font-size: clamp(55px, 6vw, 82px);
  margin: 36px 0 22px;
}

.mentor-copy > p,
.mentor-copy blockquote {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
  max-width: 580px;
}

.mentor-copy blockquote {
  border-left: 2px solid var(--accent);
  color: var(--text);
  margin: 38px 0 0;
  padding-left: 22px;
}

.mentor-numbers {
  align-self: center;
  position: relative;
  z-index: 2;
}

.mentor-numbers div {
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}

.mentor-numbers strong,
.mentor-numbers span {
  display: block;
}

.mentor-numbers strong {
  font-size: 54px;
  letter-spacing: -0.06em;
  line-height: 1;
}

.mentor-numbers span {
  color: var(--muted);
  font-size: 12px;
  margin-top: 8px;
}

.mentor-glow {
  border: 1px solid rgba(180, 210, 235, 0.24);
  border-radius: 50%;
  height: 520px;
  position: absolute;
  right: -180px;
  top: -160px;
  width: 520px;
}

.outcome-section {
  padding-bottom: 100px;
}

.outcome-card {
  background: var(--liquid-silver);
  border: 1px solid rgba(232, 240, 247, 0.54);
  border-radius: 34px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.78),
    inset 0 -1px 0 rgba(43, 51, 60, 0.4),
    0 30px 100px rgba(120, 142, 162, 0.22);
  color: #111419;
  isolation: isolate;
  min-height: 630px;
  overflow: hidden;
  padding: 72px;
  position: relative;
}

.outcome-card .kicker {
  background: none;
  color: #303842;
  position: relative;
  z-index: 2;
  -webkit-text-fill-color: currentColor;
}

.outcome-card h2 {
  font-size: clamp(50px, 6.3vw, 84px);
  margin: 18px 0 25px;
  max-width: 850px;
  position: relative;
  z-index: 2;
}

.outcome-card h2 span {
  background: none;
  color: #313a44;
  -webkit-text-fill-color: currentColor;
}

.outcome-card > p {
  color: #303842;
  font-size: 17px;
  line-height: 1.5;
  max-width: 620px;
  position: relative;
  z-index: 2;
}

.reviews-gallery {
  display: flex;
  gap: 14px;
  margin-top: 38px;
  overflow-x: auto;
  padding: 4px 0 18px;
  position: relative;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-color: rgba(52, 62, 72, 0.42) transparent;
  scrollbar-width: thin;
  z-index: 2;
}

.review-card {
  background: rgba(255, 255, 255, 0.34);
  border: 1px solid rgba(30, 38, 46, 0.16);
  border-radius: 20px;
  flex: 0 0 320px;
  height: 230px;
  margin: 0;
  overflow: hidden;
  scroll-snap-align: start;
  transition: transform 0.25s;
}

.review-card:hover {
  transform: translateY(-4px);
}

.review-card img {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

.outcome-orbit {
  border: 1px solid rgba(15, 19, 24, 0.2);
  border-radius: 50%;
  bottom: -230px;
  height: 600px;
  position: absolute;
  right: -120px;
  width: 600px;
  z-index: 1;
}

.signup-section {
  padding-bottom: 120px;
}

.signup-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  max-width: 900px;
}

.price-card,
.social-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 42px;
}

.price-top {
  display: flex;
  font-size: 12px;
  font-weight: 700;
  justify-content: space-between;
}

.price-top span:last-child {
  background: rgba(187, 207, 225, 0.12);
  border-radius: 999px;
  color: var(--accent);
  padding: 6px 10px;
}

.price-value {
  display: block;
  font-size: clamp(52px, 5vw, 68px);
  letter-spacing: -0.065em;
  margin: 70px 0 35px;
}

.price-card ul {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
}

.price-card li {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  padding: 14px 0;
}

.price-card li::before {
  color: var(--accent);
  content: "✓";
  margin-right: 10px;
}

.price-card small {
  color: var(--muted);
  font-size: 10px;
}

.social-card h3 {
  font-size: clamp(34px, 4vw, 52px);
  margin: 0 0 10px;
}

.social-card {
  scroll-margin-top: 90px;
}

.social-card.is-highlighted {
  animation: contactPulse 0.9s ease;
}

.social-kicker {
  color: var(--accent);
  display: block;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.08em;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.social-card > p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 28px;
}

.selected-course {
  background:
    linear-gradient(120deg, rgba(229, 237, 244, 0.11), rgba(120, 134, 149, 0.06));
  border: 1px solid rgba(205, 221, 234, 0.2);
  border-radius: 14px;
  margin: -10px 0 22px;
  padding: 13px 15px;
}

.selected-course span,
.selected-course strong {
  display: block;
}

.selected-course span {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.08em;
  margin-bottom: 3px;
  text-transform: uppercase;
}

.selected-course strong {
  font-size: 15px;
}

@keyframes contactPulse {
  0%, 100% { box-shadow: none; }
  45% { box-shadow: 0 0 0 4px rgba(204, 220, 233, 0.12), 0 0 55px rgba(167, 190, 210, 0.17); }
}

.social-links {
  display: grid;
  gap: 10px;
}

.social-links a {
  align-items: center;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 17px;
  display: grid;
  gap: 14px;
  grid-template-columns: auto 1fr auto;
  padding: 14px;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}

.social-links a:hover {
  background: var(--surface-3);
  border-color: rgba(205, 220, 233, 0.28);
  transform: translateX(5px);
}

.social-icon {
  align-items: center;
  background: var(--chrome);
  border-radius: 12px;
  color: #111419;
  display: flex;
  flex: 0 0 42px;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.social-icon svg {
  fill: currentColor;
  height: 21px;
  width: 21px;
}

.social-icon-text {
  font-size: 12px;
  font-weight: 850;
  letter-spacing: -0.04em;
}

/*
.social-icon-max {
  font-size: 18px;
  font-style: italic;
}
*/

.social-icon-image {
  background: none;
  overflow: hidden;
}

.social-icon-image img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.social-copy {
  display: flex;
  flex-direction: column;
}

.social-copy strong {
  font-size: 14px;
}

.social-copy small,
.social-note {
  color: var(--muted);
  font-size: 10px;
}

.map-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 28px;
  grid-template-columns: 0.82fr 1.18fr;
  padding: 42px;
  scroll-margin-top: 90px;
}

.map-card-copy {
  align-self: center;
}

.map-card h3 {
  font-size: clamp(34px, 4vw, 52px);
  margin: 0 0 18px;
}

.map-card-copy > p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 30px;
}

.map-preview {
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 68% 38%, rgba(200, 215, 229, 0.2), transparent 24%),
    linear-gradient(145deg, #252b33, #101217);
  background-size: 34px 34px, 34px 34px, auto, auto;
  border: 1px solid rgba(207, 222, 234, 0.18);
  border-radius: 22px;
  min-height: 300px;
  overflow: hidden;
  position: relative;
  transition: border-color 0.25s, transform 0.25s;
}

.map-preview:hover {
  border-color: rgba(219, 232, 242, 0.4);
  transform: translateY(-4px);
}

.map-preview::before,
.map-preview::after {
  background: rgba(206, 218, 229, 0.12);
  content: "";
  height: 18px;
  left: -12%;
  position: absolute;
  width: 125%;
}

.map-preview::before {
  top: 34%;
  transform: rotate(-9deg);
}

.map-preview::after {
  bottom: 22%;
  transform: rotate(12deg);
}

.map-road {
  background: rgba(225, 234, 242, 0.1);
  height: 140%;
  position: absolute;
  top: -20%;
  width: 14px;
  z-index: 1;
}

.map-road-one {
  left: 28%;
  transform: rotate(19deg);
}

.map-road-two {
  right: 22%;
  transform: rotate(-14deg);
}

.map-pin {
  background: var(--chrome);
  border-radius: 50% 50% 50% 0;
  box-shadow: 0 12px 35px rgba(198, 217, 233, 0.32);
  height: 52px;
  left: 58%;
  position: absolute;
  top: 34%;
  transform: translate(-50%, -50%) rotate(-45deg);
  width: 52px;
  z-index: 3;
}

.map-pin i {
  background: #161a20;
  border-radius: 50%;
  height: 17px;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 17px;
}

.map-place {
  background: rgba(8, 10, 13, 0.82);
  border: 1px solid rgba(218, 231, 241, 0.2);
  border-radius: 13px;
  font-size: 11px;
  left: 58%;
  line-height: 1.35;
  padding: 9px 12px;
  position: absolute;
  top: 52%;
  transform: translateX(-50%);
  white-space: nowrap;
  z-index: 4;
}

.map-service {
  bottom: 16px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.04em;
  position: absolute;
  right: 18px;
  text-transform: uppercase;
  z-index: 4;
}

.social-arrow {
  color: var(--accent);
  font-size: 18px;
}

.social-note {
  display: block;
  margin-top: 18px;
}

.faq-section {
  padding-bottom: 150px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
  transition: background 0.25s;
}

.faq-item[open] {
  background: linear-gradient(90deg, rgba(183, 202, 219, 0.05), transparent 70%);
}

.faq-item summary {
  align-items: center;
  cursor: pointer;
  display: grid;
  font-size: clamp(19px, 2vw, 27px);
  font-weight: 650;
  gap: 30px;
  grid-template-columns: 1fr auto;
  letter-spacing: -0.035em;
  list-style: none;
  padding: 28px 4px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary i {
  border: 1px solid rgba(204, 220, 233, 0.25);
  border-radius: 50%;
  height: 42px;
  position: relative;
  transition: background 0.25s, transform 0.3s;
  width: 42px;
}

.faq-item summary i::before,
.faq-item summary i::after {
  background: var(--accent-soft);
  content: "";
  height: 1px;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.3s;
  width: 14px;
}

.faq-item summary i::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] summary i {
  background: var(--chrome);
  transform: rotate(180deg);
}

.faq-item[open] summary i::before,
.faq-item[open] summary i::after {
  background: #111419;
}

.faq-item[open] summary i::after {
  transform: translate(-50%, -50%) rotate(0);
}

.faq-answer {
  color: var(--muted);
  line-height: 1.65;
  max-width: 800px;
  padding: 0 70px 30px 4px;
}

.faq-answer p {
  margin: 0;
}

.footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: grid;
  font-size: 11px;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 auto;
  max-width: var(--max-width);
  padding: 35px 0 50px;
}

.footer .brand {
  color: var(--text);
}

.footer p {
  margin: 0;
  text-align: center;
}

.footer p:last-child {
  text-align: right;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 820px) {
  .site-header {
    padding-left: 20px;
    padding-right: 20px;
  }

  .menu-toggle {
    cursor: pointer;
    display: block;
    height: 36px;
    position: relative;
    width: 36px;
    z-index: 52;
  }

  .menu-toggle span {
    background: var(--text);
    height: 1px;
    left: 8px;
    position: absolute;
    transition: transform 0.25s, top 0.25s;
    width: 20px;
  }

  .menu-toggle span:first-child { top: 14px; }
  .menu-toggle span:last-child { top: 21px; }
  .menu-open .menu-toggle span:first-child { top: 18px; transform: rotate(45deg); }
  .menu-open .menu-toggle span:last-child { top: 18px; transform: rotate(-45deg); }

  .menu-open .brand {
    position: relative;
    z-index: 52;
  }

  .menu-open .site-header {
    backdrop-filter: none;
    background: transparent;
    border-bottom-color: transparent;
    box-shadow: none;
  }

  .nav {
    align-content: center;
    align-items: stretch;
    backdrop-filter: blur(28px);
    background:
      radial-gradient(circle at 85% 12%, rgba(180, 204, 225, 0.13), transparent 30%),
      linear-gradient(145deg, rgba(23, 24, 29, 0.98), rgba(7, 8, 10, 0.99));
    border: 1px solid rgba(214, 227, 238, 0.14);
    border-radius: 26px;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.62);
    display: grid;
    gap: 8px;
    grid-template-columns: 1fr;
    inset: 8px;
    justify-content: stretch;
    opacity: 0;
    overflow: hidden;
    padding: 80px max(16px, calc((100vw - 420px) / 2)) 24px;
    pointer-events: none;
    position: fixed;
    transform: translateY(-10px) scale(0.985);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    visibility: hidden;
    z-index: 51;
  }

  .menu-open .nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    visibility: visible;
  }

  .nav a {
    align-items: center;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    color: var(--text);
    display: flex;
    flex: 0 0 auto;
    font-size: clamp(17px, 4.8vw, 21px);
    justify-content: space-between;
    line-height: 1.15;
    margin: 0 auto;
    max-width: 420px;
    min-height: 58px;
    padding: 14px 18px;
    width: 100%;
  }

  .nav a::after {
    color: var(--steel);
    content: "↗";
    font-size: 14px;
  }

  .nav a:hover,
  .nav a:focus-visible {
    background: rgba(214, 227, 238, 0.1);
    border-color: rgba(214, 227, 238, 0.22);
    color: var(--text);
  }

  .nav .nav-enroll {
    background: var(--chrome);
    border: 0;
    color: #111419 !important;
    margin: 0 auto;
  }

  .nav .nav-enroll::after {
    color: #111419;
  }

  .hero-content {
    --hero-content-offset: 0;
    background: #050506;
    min-height: 100svh;
    padding: clamp(112px, 15svh, 150px) 34px 190px;
  }

  .hero-content::before {
    background:
      linear-gradient(90deg, rgba(5, 5, 6, 0.96) 0%, rgba(5, 5, 6, 0.74) 52%, rgba(5, 5, 6, 0.3) 100%),
      linear-gradient(0deg, #050506 0%, transparent 40%),
      url("back12.webp") 66% center / cover no-repeat;
    width: 100%;
  }

  .hero-content h1 {
    font-size: clamp(56px, 9.5vw, 76px);
    max-width: 680px;
    width: 92%;
  }

  .hero-content > p {
    max-width: 620px;
    width: 78vw;
  }

  .hero-benefits {
    flex-wrap: wrap;
    gap: 10px 0;
  }

  .about-person {
    display: block;
    height: auto;
    margin: -72px 0 24px auto;
    max-width: 220px;
    opacity: 1;
    position: relative;
    right: auto;
    top: auto;
    width: 32%;
    z-index: 1;
  }

  .feature-grid,
  .signup-grid {
    grid-template-columns: 1fr;
  }

  .course-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stat-grid {
    grid-template-columns: 1fr;
  }

  .mini-card {
    min-height: 150px;
  }

  .timeline-card {
    grid-template-columns: 1fr;
  }

  .mentor-card {
    grid-template-columns: 1fr;
  }

  .mentor-numbers {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: auto;
    padding: 0;
  }

  h1 {
    font-size: 56px;
  }

  .hero-content {
    background: #050506;
    border-radius: 0;
    justify-content: flex-start;
    min-height: auto;
    padding: clamp(118px, 17svh, 150px) 20px 100px;
    top: 0;
  }

  .hero-content::before {
    background:
      linear-gradient(90deg, rgba(5, 5, 6, 0.96) 0%, rgba(5, 5, 6, 0.8) 44%, rgba(5, 5, 6, 0.08) 60%, transparent 100%),
      linear-gradient(0deg, rgba(5, 5, 6, 0.5) 0%, transparent 40%),
      url("back12.webp") calc(100% + 45vw) center / auto 45% no-repeat;
    width: 100%;
  }

  .hero-content > .pill {
    max-width: 58%;
  }

  .hero-content h1 {
    font-size: clamp(34px, 9.3vw, 39px);
    line-height: 0.96;
    margin: 28px 0 24px;
    max-width: 65%;
    width: 65%;
  }

  .hero-mobile-break {
    display: initial;
  }

  .hero-content > p {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 32px;
    max-width: 65%;
    width: 65%;
  }

  .hero-actions {
    max-width: 58%;
  }

  .hero-actions .button {
    font-size: 12px;
    min-width: 0;
    padding: 14px 18px;
  }

  .hero-slider {
    bottom: auto;
    margin-top: -45px;
  }

  .hero-slider.is-ready {
    opacity: 0.48;
  }

  .hero-slide {
    border-radius: 17px;
    height: 190px;
    width: 136px;
  }

  .about-person {
    display: block;
    height: auto;
    margin: 0;
    max-width: 115px;
    opacity: 1;
    position: absolute;
    right: 0;
    top: auto;
    bottom: -4px;
    width: 32%;
    z-index: 1;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    margin: 0 auto;
    max-width: 290px;
  }

  .orbit-one {
    height: 460px;
    width: 460px;
  }

  .orbit-two {
    height: 320px;
    width: 320px;
  }

  .section {
    padding: 100px 18px 24px;
  }

  .courses-section {
    padding-top: 120px;
  }

  .course-tabs {
    border-radius: 24px;
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .course-grid {
    grid-template-columns: 1fr;
  }

  .course-card {
    min-height: 490px;
  }

  .course-photo {
    height: 220px;
  }

  .section-heading {
    margin-bottom: 40px;
  }

  .section-heading h2 {
    font-size: 43px;
  }

  .feature-card {
    min-height: 500px;
    padding: 28px;
  }

  .feature-dark {
    min-height: 535px;
  }

  .feature-card h3 {
    font-size: 36px;
  }

  .feature-accent {
    margin-top: 130px;
    padding-top: 28px;
  }

  .feature-accent .about-person {
    left: 50%;
    max-width: 165px;
    right: auto;
    top: 0;
    transform: translate(-50%, -50%);
    width: 46%;
  }

  .feature-accent > .card-label,
  .feature-accent > h3,
  .feature-accent > p {
    max-width: 100%;
  }

  .diagram {
    bottom: 22px;
    left: 22px;
    right: 22px;
  }

  .pedicure-symbol span {
    font-size: 160px;
  }

  .feature-accent .pedicure-symbol {
    bottom: 18px;
    right: 24px;
  }

  .feature-accent .pedicure-symbol span {
    font-size: 130px;
  }

  .timeline::before {
    left: 26px;
  }

  .timeline-row {
    gap: 13px;
    grid-template-columns: 53px 1fr;
  }

  .timeline-marker {
    justify-content: flex-start;
  }

  .timeline-marker span {
    padding: 10px 11px;
  }

  .timeline-card {
    gap: 15px;
    min-height: auto;
    padding: 24px;
  }

  .mentor-card,
  .outcome-card,
  .price-card,
  .social-card,
  .map-card {
    border-radius: 23px;
    padding: 28px;
  }

  .map-card {
    grid-template-columns: 1fr;
  }

  .map-preview {
    min-height: 240px;
  }

  .map-card .button {
    width: 100%;
  }

  .mentor-copy h3 {
    font-size: 51px;
  }

  .mentor-numbers {
    gap: 10px;
  }

  .mentor-numbers strong {
    font-size: 34px;
  }

  .outcome-card {
    min-height: 690px;
  }

  .outcome-card h2 {
    font-size: 43px;
  }

  .reviews-gallery {
    margin-top: 28px;
  }

  .review-card {
    border-radius: 16px;
    flex-basis: 280px;
    height: 200px;
  }

  .price-value {
    font-size: 48px;
    margin-top: 55px;
  }

  .faq-section {
    padding-bottom: 100px;
  }

  .faq-item summary {
    font-size: 18px;
    gap: 16px;
    padding: 22px 0;
  }

  .faq-item summary i {
    height: 36px;
    width: 36px;
  }

  .faq-answer {
    font-size: 14px;
    padding: 0 46px 24px 0;
  }

  .footer {
    gap: 20px;
    grid-template-columns: 1fr;
    margin: 0 18px;
  }

  .footer p,
  .footer p:last-child {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-slider.is-ready .hero-slider-track {
    animation: none;
  }
  .feature-accent::before,
  .outcome-card::before {
    animation: none;
  }
  .js .reveal,
  .js .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Technical resilience and accessibility */
:where(a, button, [role="button"]):focus-visible {
  outline: 2px solid rgba(220, 233, 244, 0.72);
  outline-offset: 4px;
}

.course-tab:focus-visible,
.menu-toggle:focus-visible,
.social-card:focus-visible {
  outline: 2px solid rgba(220, 233, 244, 0.8);
  outline-offset: 3px;
}

@media (max-width: 820px) {
  /* Если JavaScript недоступен, навигация остаётся доступной вместо скрытого меню. */
  html.no-js .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
    height: auto;
    min-height: 64px;
    padding-bottom: 10px;
    padding-top: 14px;
  }

  html.no-js .menu-toggle {
    display: none;
  }

  html.no-js .nav {
    backdrop-filter: none;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    inset: auto;
    opacity: 1;
    overflow: visible;
    padding: 8px 0 0;
    pointer-events: auto;
    position: static;
    transform: none;
    visibility: visible;
    width: 100%;
  }

  html.no-js .nav a {
    font-size: 12px;
    min-height: 40px;
    padding: 9px 12px;
    width: auto;
  }

  html.no-js .nav a::after {
    display: none;
  }
}


html.no-js .course-tabs {
  display: none;
}

html.no-js .course-group[hidden] {
  display: block;
}

html.no-js .course-card {
  cursor: default;
}

html.no-js .course-card:hover {
  transform: none;
}
