:root {
  --bg: #0f1115;
  --bg-soft: #171a21;
  --bg-card: #1e222b;
  --text: #f4f1ea;
  --muted: #b8b2a8;
  --accent: #e64b4b;
  --accent-gold: #e6a44f;
  --accent-dark: #b53636;
  --line: rgba(255, 255, 255, 0.1);
  --white: #ffffff;
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Golos Text", Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

.container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 17, 21, 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.logo-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  font-weight: 900;
}


.logo__container {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 300px;
}


.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 15px;
}

.nav a {
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--text);
}

.header-button {
  padding: 11px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  transition: all 0.2s ease;
}

.header-button:hover {
  background: var(--text);
  color: var(--bg);
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  margin: 5px auto;
  transition: transform 0.2s ease;
}

.mobile-menu {
  display: none;
}

.hero {
  padding: 72px 0 96px;
  background:
    radial-gradient(circle at top left, rgba(230, 75, 75, 0.18), transparent 38%),
    radial-gradient(circle at bottom right, rgba(230, 164, 79, 0.13), transparent 35%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 56px;
}

.eyebrow,
.section-label {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  max-width: 780px;
  font-size: clamp(44px, 7vw, 86px);
  line-height: 0.94;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.15;
}

.hero-text {
  max-width: 650px;
  color: var(--muted);
  font-size: 21px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--accent);
  color: #fff;
}

.button.primary:hover {
  background: #f05a5a;
}

.button.secondary {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.button.secondary:hover {
  border-color: rgba(255, 255, 255, 0.25);
}

.hero-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 650px;
}

.hero-details div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.hero-details strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-size: 20px;
}

.hero-details span {
  color: var(--muted);
  font-size: 14px;
}

.hero-media {
  position: relative;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-card {
  position: absolute;
  left: -24px;
  bottom: 36px;
  width: min(320px, 80%);
  padding: 20px;
  background: rgba(244, 241, 234, 0.96);
  color: #151515;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.hero-card span {
  display: block;
  margin-bottom: 7px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-card strong {
  font-size: 20px;
  line-height: 1.15;
}

.section {
  padding: 96px 0;
}

.two-columns {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.text-block {
  color: var(--muted);
  font-size: 20px;
}

.text-block p:last-child {
  margin-bottom: 0;
}

.dark-section {
  background: var(--bg-soft);
}

.section-head {
  max-width: 840px;
  margin-bottom: 44px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  padding: 28px;
  min-height: 220px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.card p,
.program-item p,
.teacher-card p {
  color: var(--muted);
}

.image-text-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.image-stack {
  position: relative;
  min-height: 540px;
}

.image-stack img {
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.image-stack img:first-child {
  width: 78%;
  height: 420px;
}

.image-stack img:last-child {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 48%;
  height: 330px;
  border: 8px solid var(--bg);
}

.check-list {
  display: grid;
  gap: 16px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  color: var(--muted);
  font-size: 18px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 900;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.program-item {
  padding: 22px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.program-item span {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--accent);
  font-weight: 900;
}

.result-section {
  background: #f4f1ea;
  color: #151515;
}

.result-section .section-label {
  color: var(--accent-dark);
}

.result-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
}

.result-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.result-list div {
  padding: 22px;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.result-list strong {
  display: block;
  margin-bottom: 18px;
  color: var(--accent-dark);
}

.result-list p {
  margin-bottom: 0;
  font-size: 18px;
  font-weight: 800;
}

.prokino-link {
  background: var(--bg);
}

.price-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 44px;
  background:
    linear-gradient(135deg, rgba(230, 75, 75, 0.22), rgba(230, 164, 79, 0.08)),
    var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.price-card p {
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
}

.accordion {
  display: grid;
  gap: 12px;
}

.accordion-item {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.accordion-button {
  width: 100%;
  min-height: 68px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--text);
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-weight: 900;
}

.accordion-button span {
  position: relative;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.accordion-button span::before,
.accordion-button span::after {
  content: "";
  position: absolute;
  background: var(--accent);
  border-radius: 999px;
}

.accordion-button span::before {
  top: 10px;
  left: 2px;
  width: 18px;
  height: 2px;
}

.accordion-button span::after {
  top: 2px;
  left: 10px;
  width: 2px;
  height: 18px;
  transition: transform 0.2s ease;
}

.accordion-item.active .accordion-button span::after {
  transform: rotate(90deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.accordion-content p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
}

.contact-section {
  background:
    radial-gradient(circle at top right, rgba(230, 75, 75, 0.16), transparent 34%),
    var(--bg-soft);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.contact-info p {
  color: var(--muted);
  font-size: 19px;
}

.contact-links {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.contact-links a {
  color: var(--accent);
  font-weight: 900;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 30px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 900;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 15px 16px;
  color: var(--text);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--accent);
  background: #1b1f28;
}

.form-button {
  width: 100%;
  margin-top: 6px;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.site-footer {
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  color: var(--accent);
  font-weight: 900;
}

@media (max-width: 980px) {
  .nav,
  .header-button {
    display: none;
  }

  .burger {
    display: block;
  }

  .mobile-menu {
    display: grid;
    gap: 18px;
    max-height: 0;
    overflow: hidden;
    padding: 0 24px;
    background: var(--bg);
    border-top: 1px solid transparent;
    transition: max-height 0.25s ease, padding 0.25s ease, border-color 0.25s ease;
  }

  body.menu-open .mobile-menu {
    max-height: 340px;
    padding: 22px 24px 26px;
    border-top-color: var(--line);
  }

  body.menu-open .burger span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  body.menu-open .burger span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .hero-grid,
  .two-columns,
  .image-text-grid,
  .result-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 54px;
  }

  .hero-media {
    max-width: 640px;
  }

  .cards-grid,
  .program-grid {
    grid-template-columns: 1fr 1fr;
  }

  .image-stack {
    min-height: 480px;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 22px, var(--container));
  }

  .header-inner {
    min-height: 68px;
  }

  .logo-text {
    font-size: 15px;
  }

  .hero {
    padding: 42px 0 70px;
  }

  h1 {
    font-size: 46px;
  }

  h2 {
    font-size: 34px;
  }

  .hero-text {
    font-size: 18px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-details {
    grid-template-columns: 1fr;
  }

  .hero-card {
    left: 14px;
    right: 14px;
    bottom: 14px;
    width: auto;
  }

  .section {
    padding: 68px 0;
  }

  .cards-grid,
  .program-grid,
  .result-list {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: auto;
  }

  .image-stack {
    min-height: auto;
    display: grid;
    gap: 14px;
  }

  .image-stack img:first-child,
  .image-stack img:last-child {
    position: static;
    width: 100%;
    height: auto;
    border: 0;
  }

  .price-card {
    display: grid;
    padding: 28px;
  }

  .contact-form {
    padding: 22px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}