/* ======================================================
   01. COLOR SYSTEM
====================================================== */

:root {
  color-scheme: light dark;
  --color-primary: #d84b6a;
  --color-primary-dark: #a63d55;

  --color-accent: #e46a86;

  --color-bg: #f8f3f5;
  --color-card: #ffffff;

  --color-text: #3f3a3c;
  --color-text-soft: #6e5c61;

  --color-decor: #f3c7d1;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-primary: #d84b6a;
    --color-primary-dark: #a63d55;
    --color-accent: #e46a86;
    --color-bg: #f8f3f5;
    --color-card: #ffffff;
    --color-text: #3f3a3c;
    --color-text-soft: #6e5c61;
    --color-decor: #f3c7d1;
  }
}

/* ======================================================
   02. BASE / GLOBAL
====================================================== */
html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background-color: #f8f3f5;
  forced-color-adjust: none;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  color-scheme: light dark;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

.container {
  width: min(1100px, calc(100% - 48px));
  margin: auto;
}
/* фоновый слой для эффекта прозрачных зон */
.ambient-bg {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

#ambient-canvas,
.ambient-tint {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

#ambient-canvas {
  display: block;
  filter: saturate(1.12) contrast(1.04) blur(0px);
  transform: scale(1.04);
  opacity: 1;
}

.ambient-tint {
  background:
    radial-gradient(
      circle at 18% 18%,
      rgba(255, 255, 255, 0.1),
      transparent 42%
    ),
    radial-gradient(
      circle at 82% 26%,
      rgba(255, 255, 255, 0.07),
      transparent 38%
    ),
    linear-gradient(
      to bottom,
      rgba(233, 216, 220, 0.1),
      rgba(221, 198, 204, 0.14)
    );
  backdrop-filter: blur(0.5px);
}

/* контент поверх фона */
.site-content {
  position: relative;
  z-index: 1;
}

/* ======================================================
   03. COMMON COMPONENTS
====================================================== */

.section-divider {
  height: 1px;

  background: linear-gradient(
    to right,
    transparent,
    var(--color-decor),
    transparent
  );

  margin: 80px auto;
  width: 60%;
}

/* ======================================================
   04. HERO
====================================================== */

.hero {
  position: relative;
  overflow: hidden;
  perspective: 800px;

  min-height: 650px;

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;
  padding: 96px 0 84px;
}

.hero::before {
  content: "";

  position: absolute;

  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  background: url("../img/hero-back.png") center/cover no-repeat;

  z-index: -1;

  transform: scale(1);

  transition: transform 0.3s ease;
}

.hero.zoom::before {
  transform: scale(1.08);
}

.hero-center {
  position: relative;
  max-width: 700px;
  width: 100%;
}

.hero h1 {
  font-size: 48px;
  line-height: 1.2;

  margin-bottom: 15px;
}

/* стартовое состояние */

.hero-overlay.start {
  backdrop-filter: blur(0);
  opacity: 0;
}

/* обычное состояние */

.hero-overlay.blur {
  backdrop-filter: blur(2px);
  opacity: 1;
  transition:
    backdrop-filter 10s ease,
    opacity 10s ease;
}

/* при скролле */

.hero-overlay.scrolling {
  backdrop-filter: blur(0);
  opacity: 0;
  transition:
    backdrop-filter 0.5s ease,
    opacity 0.5s ease;
}

/* линия под "Леди Дива" */

.line2::after {
  content: "";

  display: block;

  width: 220px;
  height: 2px;

  margin: 14px auto 0;

  background: linear-gradient(
    to right,
    transparent,
    var(--color-decor),
    transparent
  );

  box-shadow: 0 0 8px rgba(243, 199, 209, 0.6);

  border-radius: 2px;
}

.hero-subtitle {
  font-size: 20px;
  margin-bottom: 10px;

  color: var(--color-text-soft);

  opacity: 0;
  transform: translateY(10px);

  transition: all 0.6s ease;
}

.hero-subtitle.show {
  opacity: 1;
  transform: translateY(0);
}

.hero-slogan {
  font-family: "Marck Script", cursive;

  font-size: 36px;

  color: var(--color-accent);

  margin-bottom: 25px;

  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.hero-slogan::after {
  content: "";

  display: block;

  width: 260px;
  height: 2px;

  margin: 12px auto 0;

  background: linear-gradient(
    to right,
    transparent,
    var(--color-decor),
    transparent
  );

  opacity: 0;

  transition: opacity 0.6s ease;
}

.hero-slogan.show-line::after {
  opacity: 1;
}

.hero-text {
  font-size: 18px;

  line-height: 1.6;

  margin-bottom: 35px;

  color: var(--color-text);
}

/* ======================================================
   05. HERO BUTTON
====================================================== */

.hero-btn {
  display: inline-block;

  position: relative;
  overflow: hidden;

  opacity: 0;

  transform: translateY(20px) scale(0.85);

  background: var(--color-primary);
  color: white;

  padding: 16px 38px;

  border-radius: 30px;

  text-decoration: none;

  font-weight: bold;

  box-shadow: 0 10px 25px rgba(216, 75, 106, 0.25);

  transition:
    transform 0.6s cubic-bezier(0.19, 1, 0.22, 1),
    opacity 0.6s ease;
}

.hero-btn.show {
  opacity: 1;

  transform: translateY(0) scale(1);
}

.hero-btn:hover {
  background: var(--color-primary-dark);

  transform: translateY(0) scale(1.05);

  box-shadow: 0 14px 35px rgba(216, 75, 106, 0.35);
}

/* блеск кнопки */

.hero-btn::after {
  content: "";

  position: absolute;

  top: 0;
  left: -120%;

  width: 60%;
  height: 100%;

  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.6),
    transparent
  );

  transform: skewX(-20deg);
}

.hero-btn.shine::after {
  animation: shine 1s ease;
}

@keyframes shine {
  0% {
    left: -120%;
  }

  100% {
    left: 140%;
  }
}

/* ======================================================
   06. HERO DECORATIONS
====================================================== */

.hero-overlay {
  position: absolute;

  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  will-change: backdrop-filter;

  background: linear-gradient(
    rgba(255, 255, 255, 0.35),
    rgba(255, 255, 255, 0.25)
  );

  backdrop-filter: blur(2px);

  transition: backdrop-filter 3s ease;
}

.hero-overlay.scrolling {
  backdrop-filter: blur(0px);
  transition: backdrop-filter 0.3s ease;
}

/* ======================================================
   07. SAKURA PETALS
====================================================== */

.sakura-container {
  position: absolute;

  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  pointer-events: none;

  overflow: hidden;

  z-index: 1;
}

.sakura {
  position: absolute;

  top: -40px;

  width: 18px;
  height: 18px;

  background: url("../img/sakura.png") center/contain no-repeat;

  will-change: transform;

  transform-style: preserve-3d;
}

/* ======================================================
   08. HERO ANIMATIONS
====================================================== */

.title-line {
  display: block;

  opacity: 0;

  transform: translateX(60px);

  transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);

  background: linear-gradient(
    90deg,
    var(--color-primary-dark),
    var(--color-accent)
  );

  text-shadow: 0 2px 10px rgba(166, 61, 85, 0.15);

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  letter-spacing: 1px;
}

.title-line.show {
  opacity: 1;
  transform: translateX(0);
}

.reveal-text,
.reveal-text2 {
  opacity: 0;

  transform: translateY(20px);

  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.reveal-text.show,
.reveal-text2.show {
  transform: translateY(0);
}

.show {
  opacity: 1;
}

/* ======================================================
   09. SLOGAN TYPEWRITER
====================================================== */

.slogan-write {
  display: inline-block;

  overflow: hidden;

  white-space: nowrap;

  max-width: 0;

  border-right: 2px solid transparent;
}

.slogan-write.typing {
  border-right: 2px solid var(--color-accent);

  animation: typing 3s steps(35, end) forwards;
}

.slogan-write.blink {
  animation: caret-blink 0.6s step-end 6;

  max-width: fit-content;
}

.slogan-write.hide-caret {
  border-right: none;
}

@keyframes typing {
  from {
    max-width: 0;
  }

  to {
    max-width: 700px;
  }
}

@keyframes caret-blink {
  0%,
  100% {
    border-color: transparent;
  }

  50% {
    border-color: var(--color-accent);
  }
}

/* ======================================================
   TEACHER
====================================================== */

.teacher {
  padding: 100px 0;
  background: transparent;
  /*background: var(--color-bg);*/
}

.teacher-wrapper {
  opacity: 0;

  transform: translateY(40px);

  transition:
    opacity 1s ease,
    transform 1s ease;

  display: flex;
  align-items: flex-start;

  gap: 60px;

  background: var(--color-card);

  padding: 50px 60px;

  border-radius: 20px;

  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
}

.teacher-wrapper.visible {
  opacity: 1;

  transform: translateY(0);
}

.teacher-photo {
  position: sticky;
  flex: 0 0 320px;
  width: 320px;
  top: 0;
}

.teacher-photo img {
  width: min(320px, 100%);

  border-radius: 18px;

  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18);

  transition: transform 0.4s ease;
}

.teacher-photo img:hover {
  transform: scale(1.03);
}

.teacher-text h2 {
  margin-bottom: 25px;

  color: var(--color-primary-dark);

  position: relative;

  font-size: 30px;
}

.teacher-text h2::after {
  content: "";

  display: block;

  width: 90px;
  height: 3px;

  margin-top: 12px;

  background: linear-gradient(to right, var(--color-accent), transparent);

  border-radius: 3px;
}

.teacher-text p {
  margin-bottom: 16px;

  line-height: 1.75;

  font-size: 17px;

  text-align: justify;

  color: var(--color-text);
}

.teacher-text {
  position: relative;
}

.teacher-text::before {
  content: "“";

  position: absolute;

  left: -20px;
  top: -10px;

  font-size: 80px;

  color: var(--color-decor);

  font-family: serif;

  opacity: 0.4;
}

/* подпись преподавателя */

.teacher-signature {
  margin-top: 30px;
  padding-top: 20px;
  margin-left: 40px;
  position: relative;
  display: inline-block;
}

.teacher-signature::before {
  content: "";

  position: absolute;

  top: 0;
  left: 0;

  width: 60px;
  height: 2px;

  background: var(--color-accent);

  border-radius: 2px;
}

.teacher-sign-text {
  margin-bottom: 4px;

  font-size: 15px;

  color: var(--color-text-soft);
}

.teacher-sign-name {
  font-family: "Marck Script", cursive;

  font-size: 30px;

  color: var(--color-primary-dark);

  margin: 0;
}

.teacher-sign-role {
  font-size: 14px;

  color: var(--color-text-soft);

  margin-top: 4px;
}

/* ======================================================
   12. SIGNUP FORM
====================================================== */

.signup {
  padding: 80px 0;

  text-align: center;
}

.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
  z-index: 30;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(85, 54, 63, 0.48);
  backdrop-filter: blur(7px);
}

.modal-dialog {
  position: relative;
  width: min(560px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  overflow-x: hidden;
  background: rgba(255, 250, 252, 0.98);
  border: 1px solid rgba(110, 78, 83, 0.28);
  border-radius: 28px;
  box-shadow: 0 22px 70px rgba(76, 43, 52, 0.22);
  padding: 34px 30px 30px;
}

.modal-head {
  margin-bottom: 24px;
  padding-right: 34px;
}

.modal-kicker {
  margin: 0 0 10px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-soft);
}

.modal-head h2 {
  margin: 0;
  font-size: 32px;
  line-height: 1.15;
  color: var(--color-primary-dark);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(110, 78, 83, 0.18);
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-primary-dark);
  font-size: 28px;
  line-height: 1;
}

.modal-close:hover {
  background: #fff;
}

.signup-modal-form {
  width: 100%;
  max-width: 100%;
  margin: 0;
  gap: 18px;
}

.signup-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
  width: 100%;
}

.signup-field > span,
.signup-consent span {
  font-size: 15px;
  color: var(--color-text);
}

.signup-field input {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(110, 78, 83, 0.22);
  background: #fff;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.signup-field input:focus {
  outline: none;
  border-color: rgba(176, 64, 95, 0.6);
  box-shadow: 0 0 0 4px rgba(176, 64, 95, 0.12);
}

.signup-field input.is-invalid {
  border-color: #d35f75;
  box-shadow: 0 0 0 4px rgba(211, 95, 117, 0.1);
}

.field-error {
  min-height: 18px;
  font-size: 13px;
  line-height: 1.4;
  color: #bf4b62;
}

.signup-consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  align-items: start;
  text-align: left;
}

.signup-consent input {
  margin-top: 2px;
}

.signup-consent-error {
  margin-top: -6px;
}

.signup-status {
  min-height: 22px;
  font-size: 14px;
  line-height: 1.5;
}

.signup-status.is-error {
  color: #bf4b62;
}

.signup-status.is-success {
  color: #3c8455;
}

.signup-submit {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border-radius: 16px;
  font-size: 17px;
}

.signup-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

body.modal-open {
  overflow: hidden;
}

form {
  display: flex;

  flex-direction: column;

  gap: 15px;

  width: 300px;

  margin: auto;
}

input {
  padding: 12px;

  font-size: 16px;
}

button {
  padding: 15px;

  background: var(--color-primary);

  color: white;

  border: none;

  cursor: pointer;

  border-radius: 5px;
}

/* ======================================================
   COURSE FIT
====================================================== */

.course-fit {
  position: relative;
  padding: 90px 0;
  overflow: hidden;
}

.parallax-section [data-parallax-layer] {
  will-change: transform;
}

/* полупрозрачный слой для эффекта затенения при скролле */

.course-fit-overlay {
  position: absolute;
  z-index: 1;
  inset: 0;

  background: linear-gradient(
    rgba(255, 255, 255, 0.35),
    rgba(255, 255, 255, 0.6)
  );

  pointer-events: none;

  opacity: 1;

  transition:
    opacity 0.6s ease,
    backdrop-filter 3s ease;
}

/*.course-fit-bg {
  position: absolute;

  inset: 0;

  background: url("../img/course-fit-bg.png") center right / cover no-repeat;

  background-position: 80% center;

  z-index: 0;

  transform: translateY(0);

  transition:
    transform 0.1s linear,
    filter 3s ease;
}*/

/* дальний фон */

.course-bg-light {
  position: absolute;
  inset: 0;

  background: url("../img/course-light.png") center / cover no-repeat;

  z-index: 0;
}

/* девушки */

.course-bg-girls {
  position: absolute;
  inset: 0;

  background: url("../img/course-girls.png") right center / contain no-repeat;

  z-index: 1;
}

/* ветки сакуры */

.course-bg-flowers {
  position: absolute;
  inset: 0;

  background: url("../img/course-flowers.png") center / cover no-repeat;

  pointer-events: none;

  z-index: 3;
}

.course-bg-light {
  position: absolute;

  top: -15%;
  left: -5%;
  right: -5%;
  bottom: -15%;

  background-size: cover;
}

.study-parallax {
  position: relative;
  overflow: hidden;
  padding: 72px 0 48px;
}

.study-parallax-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.18),
    rgba(255, 255, 255, 0.28)
  );
}

.study-bg-light,
.study-bg-girls,
.study-bg-flowers {
  position: absolute;
  inset: 0;
}

.study-bg-light {
  top: -15%;
  left: -5%;
  right: -5%;
  bottom: -15%;
  background: url("../img/course-light.png") center / cover no-repeat;
  z-index: 0;
}

.study-bg-girls {
  position: absolute;
  background-image: url("../img/course-girls2.png");
  background-position: left center;
  background-repeat: no-repeat;
  background-size: clamp(360px, calc(36.875vw - 134px), 810px) auto;
  z-index: 1;
  opacity: 0.78;
  filter: saturate(0.92) brightness(1.04);
}

.study-bg-girls::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 24% 52%,
      rgba(255, 255, 255, 0.5),
      transparent 26%
    ),
    linear-gradient(
      to right,
      rgba(255, 255, 255, 0.72) 0%,
      rgba(255, 255, 255, 0.38) 28%,
      rgba(255, 255, 255, 0.18) 54%,
      rgba(255, 255, 255, 0.08) 100%
    );
  filter: blur(18px);
  pointer-events: none;
}

.study-bg-flowers {
  top: -20%;
  left: -10%;
  right: -10%;
  bottom: -20%;
  background: url("../img/course-flowers.png") center / cover no-repeat;
  z-index: 2;
  pointer-events: none;
}

.study-section {
  position: relative;
  z-index: 4;
  background: transparent;
}

.study-section .container {
  position: relative;
}

.study-section:not(.price) .container {
  max-width: 720px;
  width: calc(100% - 64px);
  margin: 0 auto;
}

.study-section:not(.price) h2 {
  font-size: 32px;
  color: var(--color-primary-dark);
  margin-bottom: 35px;
  position: relative;
}

.study-section:not(.price) h2::after {
  content: "";
  display: block;
  width: 90px;
  height: 3px;
  margin-top: 12px;
  background: linear-gradient(to right, var(--color-accent), transparent);
  border-radius: 3px;
}

.study-section:not(.price) .list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.study-section:not(.price) .list li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 20px;
  font-size: 18px;
  line-height: 1.7;
  max-width: 640px;
}

.study-section:not(.price) .list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 18px;
}

.study-section.price {
  padding-top: 18px;
}

.study-section.price .container {
  width: min(850px, calc(100% - 64px));
  margin: 0 auto;
}

.study-section.price > .container > h2 {
  display: none;
}

.study-section.price h2 {
  font-size: 26px;
  color: var(--color-primary-dark);
  margin-bottom: 18px;
}

.price-box {
  position: relative;
  background: var(--color-card);
  padding: 40px 55px;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.price-number {
  font-size: 40px;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 18px;
}

.price-box p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-text);
  margin: 0 0 15px;
}

.price-box .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
}

.program-tabs {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.program-tabs-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  align-items: end;
  position: relative;
  z-index: 2;
  margin-bottom: -1px;
}

.program-tab-button {
  border: 1px solid rgba(110, 78, 83, 0.55);
  border-bottom: 0;
  background: rgba(248, 238, 241, 0.96);
  color: var(--color-primary-dark);
  border-radius: 26px 26px 0 0;
  padding: 20px 20px 18px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  cursor: pointer;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
  position: relative;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.program-tab-button:hover,
.program-tab-button:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(110, 78, 83, 0.7);
  outline: none;
}

.program-tab-button.active {
  background: var(--color-card);
  color: var(--color-primary-dark);
  border-color: rgba(110, 78, 83, 0.7);
  transform: translateY(1px);
  z-index: 2;
}

.program-tab-panel {
  display: none;
}

.program-tab-panel.active {
  display: block;
}

.program-tab-mobile-title {
  display: none;
  margin: 0 0 18px;
  font-size: 24px;
  line-height: 1.25;
  color: var(--color-primary-dark);
}

.program-tab-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.program-tab-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-text);
  text-align: left;
}

.program-tab-icon {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(176, 64, 95, 0.12);
  color: var(--color-primary-dark);
  font-size: 14px;
  font-weight: 700;
  margin-top: 2px;
}

.program-tab-icon i {
  font-size: 13px;
  line-height: 1;
}

.price-box.program-tab-panel {
  border: 1px solid rgba(110, 78, 83, 0.7);
  border-radius: 0 0 28px 28px;
  padding: 42px 48px 38px;
  box-shadow: none;
}

.course-bg-flowers {
  position: absolute;

  top: -20%;
  left: -10%;
  right: -10%;
  bottom: -20%;

  background-size: cover;
}

/* при загрузке страницы фон слегка размывается, а при скролле эффект убирается */

.course-fit.scrolling .course-fit-bg {
  opacity: 0.6;

  backdrop-filter: blur(0);

  transition:
    opacity 0.6s ease,
    backdrop-filter 0.3s ease;
}

.course-fit.blur .course-fit-bg {
  opacity: 1;

  backdrop-filter: blur(2px);
}

/* контент */
.course-fit-wrapper {
  position: relative;
  max-width: 720px;
  width: 100%;
  z-index: 4;
}

/* заголовок */

.section-title {
  font-size: 32px;

  color: var(--color-primary-dark);

  margin-bottom: 35px;

  position: relative;
}

.section-title::after {
  content: "";

  display: block;

  width: 90px;
  height: 3px;

  margin-top: 12px;

  background: linear-gradient(to right, var(--color-accent), transparent);

  border-radius: 3px;
}

/* список курсов */

.course-list {
  list-style: none;

  padding: 0;
}

/* пункт списка */

.course-list li {
  position: relative;

  padding-left: 34px;

  margin-bottom: 20px;

  font-size: 18px;

  line-height: 1.7;

  max-width: 640px;
}

/* галочка перед пунктом списка */

.course-list li::before {
  content: "✓";

  position: absolute;

  left: 0;
  top: 0;

  color: var(--color-primary);

  font-weight: bold;

  font-size: 18px;
}

/* ======================================================
   13. COURSE INFO CARD
====================================================== */

.course-info-card {
  position: relative;

  margin: 0 auto 0;

  max-width: 850px;

  background: var(--color-card);

  padding: 40px 55px;

  border-radius: 18px;

  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);

  text-align: center;

  z-index: 2;
}

/* заголовок карточки */

.course-info-card h3 {
  font-size: 26px;

  color: var(--color-primary-dark);

  margin-bottom: 18px;
}

/* текст карточки */

.course-info-card p {
  font-size: 17px;

  line-height: 1.7;

  color: var(--color-text);

  margin-bottom: 15px;
}

/* ======================================================
   COURSE FIT ANIMATION
====================================================== */

/* заголовок */

.course-fit .section-title {
  opacity: 0;
  transform: translateX(40px);

  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.course-fit .section-title.show {
  opacity: 1;
  transform: translateX(0);
}

/* пункты списка */

.course-list li {
  opacity: 0;

  transform: translateX(30px);

  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.course-list li.show {
  opacity: 1;

  transform: translateX(0);
}

/* галочка перед пунктом списка */

.course-list li::before {
  content: "✓";

  position: absolute;

  left: 0;
  top: 0;

  color: var(--color-primary);

  font-weight: bold;

  font-size: 18px;

  transform: scale(0);

  transition: transform 0.4s ease;
}

/* галочка появляется с анимацией масштаба */

.course-list li.check::before {
  transform: scale(1);
}

/* ===== блок с информацией о курсе ===== */

/* блок */

.programs {
  padding: 100px 0;
  position: relative;
}

/* верхняя часть */

.skills-usage {
  margin-bottom: 42px;
}

.skills-usage-title {
  margin-bottom: 22px;
  font-size: 28px;
  line-height: 1.25;
  color: var(--color-primary-dark);
}

.skills-usage-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
}

.skills-usage-list li {
  flex: 0 0 calc(50% - 16px);
  color: var(--color-text);
  font-size: 17px;
  line-height: 1.5;
}

.programs-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  flex-wrap: wrap;
  width: calc(100% - 64px);
  max-width: 720px;
  margin: 0 auto 36px;
}

/* Селект */


/* Слайдер-обёртка */

.programs-slider-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
}

/* Лента карточек */

.programs-track {
  display: flex;
  gap: 22px;
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s ease;
  will-change: transform;
}

.programs-track.is-scroll-hinting {
  animation: programs-scroll-hint 1.5s ease-in-out;
}

@keyframes programs-scroll-hint {
  0%,
  100% {
    transform: translateX(0);
  }

  20% {
    transform: translateX(-42px);
  }

  40% {
    transform: translateX(0);
  }

  60% {
    transform: translateX(-42px);
  }

  80% {
    transform: translateX(0);
  }
}

/* Viewport */

.programs-viewport {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 40px 0;

  --cards-per-view: 4;
}

/* Карточка курса */
.program-card {
  flex: 0 0 calc((100% - 3 * 22px) / 4);
  max-width: calc((100% - 3 * 22px) / 4);
  min-height: 486px;
  aspect-ratio: 298.5 / 486;

  position: relative;
  border-radius: 28px;
  overflow: visible;
  background: transparent;
  border: 0;
  cursor: pointer;
  perspective: 1400px;
  box-shadow: 0 12px 30px rgba(216, 75, 106, 0.08);

  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease;
}

.program-card:focus-visible {
  outline: 2px solid rgba(216, 75, 106, 0.4);
  outline-offset: 6px;
}

.program-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100%;
  border-radius: 28px;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.program-card.is-flipped .program-card-inner {
  transform: rotateY(180deg);
}

.program-card-face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 28px;
  background: #fff;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 148px 20px 28px;

  text-align: center;
  backface-visibility: hidden;
}

.program-card-front::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 6%,
    rgba(255, 255, 255, 0.14) 38%,
    rgba(255, 255, 255, 0.78) 68%,
    rgba(255, 255, 255, 0.96) 84%,
    #ffffff 100%
  );
  pointer-events: none;
}

.program-card-back {
  justify-content: flex-start;
  align-items: stretch;
  padding: 28px 22px;
  transform: rotateY(180deg);
  background:
    radial-gradient(circle at top left, rgba(253, 229, 236, 0.9), rgba(255, 255, 255, 0) 36%),
    linear-gradient(180deg, #fffafc 0%, #ffffff 100%);
}

@media (max-width: 1200px) {
  .program-card {
    flex: 0 0 calc((100% - 2 * 22px) / 3);
  }
}

@media (max-width: 900px) {
  .program-card {
    flex: 0 0 min(46vw, 320px);
    max-width: min(46vw, 320px);
    scroll-snap-align: start;
  }
}

@media (max-width: 600px) {
  .program-card {
    flex: 0 0 min(82vw, 320px);
    max-width: min(82vw, 320px);
  }
}

.program-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(119, 83, 93, 0.16);
}

/* Иконка внутри карточки */
/*.program-card-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 18px;
  background: linear-gradient(145deg, #fbe2ea, #f8ccd9);
  box-shadow: inset 0 4px 10px rgba(255, 255, 255, 0.55);
}*/

.program-card-icon {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  background: url("/img/samoobladanie.jpg") center top / cover no-repeat;
  pointer-events: none;
}

.program-card-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0;
  transition: opacity 0.32s ease;
  pointer-events: none;
}

.program-card[data-has-video="true"]:hover .program-card-video,
.program-card[data-has-video="true"]:focus-within .program-card-video,
.program-card[data-has-video="true"].is-video-active .program-card-video {
  opacity: 1;
}

/* Заголовок карточки */

.program-card-title {
  position: relative;
  z-index: 1;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-text);
  line-height: 1.25;
}

/* Текст карточки */

.program-card-text {
  position: relative;
  z-index: 1;
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text);
  opacity: 0.9;
  max-width: 92%;
}

.program-card-longtext {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-text);
  text-align: center;
  overflow: auto;
  padding-right: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .program-card-video {
    display: none;
  }
}

/* ================================
   PROGRAM ARROWS
================================ */

.programs-slider-wrap {
  position: relative;
}

.program-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%) scale(1);
  z-index: 10;

  width: 56px;
  aspect-ratio: 1;
  border: none;
  border-radius: 50%;

  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 24px rgba(216, 75, 106, 0.14);

  cursor: pointer;
  padding: 0;
  overflow: hidden;

  transition:
    transform 0.2s ease-in,
    box-shadow 0.2s ease-in,
    background 0.2s ease-in;
}

/* позиции */

.program-arrow.prev {
  left: -28px;
  right: auto;
}

.program-arrow.next {
  right: -28px;
  left: auto;
}

/* hover */

.program-arrow:hover {
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 12px 28px rgba(216, 75, 106, 0.18);
  background: rgba(255, 255, 255, 0.96);
}

.program-arrow:active {
  transform: translateY(-50%) scale(1.04);
}

/* стрелка-угол */

.program-arrow .arrow-shape {
  position: absolute;
  width: 16px;
  aspect-ratio: 1;
  border-top: solid 4px var(--color-primary);
  border-right: solid 4px var(--color-primary);
  transition: all 0.2s ease-in;
}

/* линия */

.program-arrow .arrow-line {
  position: absolute;
  width: 26px;
  height: 4px;
  background: var(--color-primary);
  /*border-radius: 4px;*/
  opacity: 0;
  transition: all 0.2s ease-in;
}

/* ----------------
   RIGHT
---------------- */

.program-arrow.next .arrow-shape {
  transform: rotate(45deg) translate(0px, 0px);
}

.program-arrow.next .arrow-line {
  transform: translate(0px, 0px);
}

/* hover right */

.program-arrow.next:hover .arrow-shape {
  transform: rotate(45deg) translate(8px, -8px);
}

.program-arrow.next:hover .arrow-line {
  opacity: 1;
  transform: translate(8px, 0px);
}

/* active right */

.program-arrow.next:active .arrow-shape {
  transform: rotate(45deg) translate(7px, -7px);
}

.program-arrow.next:active .arrow-line {
  transform: translate(7px, 0px);
}

/* ----------------
   LEFT
---------------- */

.program-arrow.prev .arrow-shape {
  transform: rotate(-135deg) translate(0px, 0px);
}

.program-arrow.prev .arrow-line {
  transform: translate(0px, 0px);
}

/* hover left */

.program-arrow.prev:hover .arrow-shape {
  transform: rotate(-135deg) translate(8px, -8px);
}

.program-arrow.prev:hover .arrow-line {
  opacity: 1;
  transform: translate(-8px, 0px);
}

/* active left */

.program-arrow.prev:active .arrow-shape {
  transform: rotate(-135deg) translate(7px, -7px);
}

.program-arrow.prev:active .arrow-line {
  transform: translate(-7px, 0px);
}

/* disabled */

.program-arrow:disabled {
  opacity: 0.28;
  pointer-events: none;
  filter: grayscale(0.15);
}

.arrow-case {
  position: relative;
  width: 90%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
}

/* ======================================================
   CONTACTS / FOOTER
====================================================== */

.contacts {
  position: relative;
  padding: 88px 0 26px;
}

.contacts .container {
  position: relative;
  max-width: 1100px;
}

/*.contacts .container::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 34px 34px 0 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.3)),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.48), transparent 38%);
  box-shadow:
    0 22px 60px rgba(143, 84, 99, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(8px);
}*/

.contacts .container > * {
  position: relative;
  z-index: 1;
}

.contacts h2 {
  margin: 0 0 18px;
  padding: 0 56px;
  font-size: 42px;
  line-height: 1.15;
  color: var(--color-primary-dark);
}

.contacts h2::after {
  content: "";
  display: block;
  width: 108px;
  height: 3px;
  margin-top: 16px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--color-accent), transparent);
}

.contacts-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0 56px;
  max-width: 760px;
}

.contacts-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.contacts-link {
  color: inherit;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    color 0.2s ease;
}

.contacts-link:hover {
  transform: translateX(4px);
  color: var(--color-primary);
}

.contacts-link:focus-visible {
  outline: 2px solid rgba(176, 64, 95, 0.35);
  outline-offset: 6px;
  border-radius: 16px;
}

.contacts-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(176, 64, 95, 0.1);
  color: var(--color-primary-dark);
  line-height: 1;
  padding: 10px;
}

.contacts-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.contacts-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-text);
}

.contacts-text small {
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}

.contacts-list .contacts-item:first-child .contacts-text {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-primary);
}

.contacts-list .contacts-item:nth-child(2) .contacts-text {
  font-size: 19px;
  font-weight: 600;
  color: var(--color-primary-dark);
}

.contacts-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 40px 56px 0;
}

.contacts-social {
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    filter 0.2s ease;
}

.contacts-social:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
}

.contacts-social img {
  display: block;
  width: 64px;
  height: 64px;
  object-fit: contain;
}

footer {
  position: relative;
  padding: 0;
}

footer .container {
  position: relative;
  padding: 28px 56px 38px;
  width: 100%;
}

footer .container::before {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 1px solid rgba(168, 99, 120, 0.18);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.18),
    rgba(255, 255, 255, 0.06)
  );
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

footer .container > * {
  position: relative;
  z-index: 1;
}

.footer-title {
  margin: 0 0 26px;
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.footer-layout {
  max-width: 560px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 56px;
  align-items: start;
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-column--about {
  align-items: flex-start;
}

.footer-column--contacts {
  align-items: flex-start;
}

.footer-column p {
  margin: 0;
  color: var(--color-text-soft);
  line-height: 1.7;
}

.footer-column p + p {
  margin-top: 8px;
}

.footer-copy {
  margin-top: 16px;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-contact {
  color: var(--color-text-soft);
  line-height: 1.7;
  text-decoration: none;
}

.footer-contact + .footer-contact {
  margin-top: 2px;
}

.footer-contact:hover {
  color: var(--color-primary-dark);
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.footer-social {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.2s ease,
    filter 0.2s ease;
}

.footer-social:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
}

.footer-social img {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
}

@media (max-width: 900px) {
  .container {
    width: calc(100% - 40px);
  }

  .section-divider {
    width: calc(100% - 80px);
    margin: 64px auto;
  }

  .hero {
    min-height: 580px;
    padding: 88px 0 72px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .hero-slogan {
    font-size: 32px;
    margin-bottom: 22px;
  }

  .hero-text {
    font-size: 17px;
    margin-bottom: 30px;
  }

  .hero-btn {
    padding: 15px 32px;
  }

  .teacher {
    padding: 84px 0;
  }

  .teacher-wrapper {
    flex-direction: column;
    gap: 28px;
    padding: 36px 34px;
  }

  .teacher-photo {
    position: static;
    width: 100%;
  }

  .teacher-photo img {
    display: block;
    margin: 0 auto;
  }

  .teacher-text h2 {
    font-size: 28px;
    margin-bottom: 22px;
  }

  .teacher-text::before {
    left: -8px;
    top: -20px;
    font-size: 64px;
  }

  .teacher-signature {
    margin-left: 0;
  }

  .course-fit {
    padding: 84px 0 56px;
  }

  .course-bg-girls {
    opacity: 0.72;
    background-position: 82% center;
  }

  .course-info-card {
    padding: 34px 32px;
  }

  .course-info-card h3 {
    font-size: 24px;
  }

  .programs-head {
    width: calc(100% - 48px);
  }

  .skills-usage {
    margin-bottom: 34px;
  }

  .skills-usage-title {
    font-size: 24px;
    margin-bottom: 18px;
  }

  .skills-usage-list li {
    font-size: 16px;
  }

  .study-section:not(.price) .container {
    width: calc(100% - 48px);
    margin: 0 auto;
  }

  .study-section:not(.price) h2 {
    font-size: 30px;
  }

  .study-section.price .container {
    width: calc(100% - 48px);
  }

  .modal-dialog {
    padding: 30px 24px 24px;
  }

  .modal-head h2 {
    font-size: 28px;
  }

  .price-box {
    padding: 34px 30px;
  }

  .program-tabs-nav {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 16px;
  }

  .program-tab-button,
  .program-tab-button.active {
    border-bottom: 1px solid rgba(110, 78, 83, 0.55);
    border-radius: 20px;
    transform: none;
  }

  .price-box.program-tab-panel {
    border-radius: 22px;
    padding: 34px 30px;
  }

  .price-number {
    font-size: 34px;
  }

  .programs {
    padding: 84px 0;
  }

  .programs-slider-wrap {
    display: block;
  }

  .programs-viewport {
    overflow-x: auto;
    overflow-y: visible;
    padding: 28px 0 18px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .programs-viewport::-webkit-scrollbar {
    display: none;
  }

  .programs-track {
    width: max-content;
    padding: 0 24px;
    transform: none;
  }

  .program-arrow {
    display: none;
  }

  .contacts {
    padding: 72px 0 20px;
  }

  .contacts .container::before {
    border-radius: 28px 28px 0 0;
  }

  .contacts h2 {
    padding: 0 30px;
    font-size: 34px;
  }

  .contacts-list,
  .contacts-socials {
    margin-left: 30px;
    margin-right: 30px;
  }

  .contacts-list .contacts-item:first-child .contacts-text {
    font-size: 28px;
    line-height: 1.3;
  }

  .contacts-text {
    font-size: 17px;
    line-height: 1.55;
  }

  footer .container {
    padding: 24px 30px 34px;
  }

  .footer-title {
    font-size: 22px;
  }

  .footer-layout {
    gap: 24px 36px;
  }
}

@media (max-width: 600px) {
  .container {
    width: calc(100% - 32px);
  }

  .section-divider {
    width: calc(100% - 56px);
    margin: 52px auto;
  }

  .hero {
    min-height: auto;
    padding: 76px 0 64px;
  }

  .hero h1 {
    font-size: 32px;
    margin-bottom: 12px;
  }

  .line2::after,
  .hero-slogan::after {
    width: min(220px, 72vw);
  }

  .hero-subtitle {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .hero-slogan {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .hero-text {
    font-size: 16px;
    line-height: 1.55;
    margin-bottom: 26px;
  }

  .hero-btn {
    width: 100%;
    max-width: 320px;
    padding: 15px 22px;
    font-size: 15px;
  }

  .teacher {
    padding: 64px 0;
  }

  .teacher-wrapper {
    gap: 22px;
    padding: 26px 20px;
    border-radius: 18px;
  }

  .teacher-text h2 {
    font-size: 24px;
    line-height: 1.3;
    margin-bottom: 18px;
  }

  .teacher-text p {
    font-size: 16px;
    line-height: 1.65;
    margin-bottom: 14px;
  }

  .teacher-text::before {
    left: -2px;
    top: -18px;
    font-size: 52px;
  }

  .teacher-sign-name {
    font-size: 27px;
  }

  .course-fit {
    padding: 64px 0 42px;
  }

  .course-bg-light,
  .course-bg-flowers {
    opacity: 0.7;
  }

  .course-bg-girls {
    opacity: 0.42;
    background-position: 88% bottom;
    background-size: 82%;
  }

  .section-title {
    font-size: 28px;
    margin-bottom: 26px;
    line-height: 1.25;
  }

  .course-list li {
    padding-left: 28px;
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 1.65;
  }

  .course-info-card {
    padding: 28px 20px;
    border-radius: 16px;
  }

  .course-info-card h3 {
    font-size: 22px;
    line-height: 1.3;
  }

  .course-info-card p {
    font-size: 16px;
    line-height: 1.65;
  }

  .programs-head {
    width: calc(100% - 32px);
    margin-bottom: 28px;
  }

  .skills-usage {
    margin-bottom: 28px;
  }

  .skills-usage-title {
    font-size: 22px;
    margin-bottom: 16px;
  }

  .skills-usage-list li {
    flex-basis: 100%;
    font-size: 15px;
    line-height: 1.45;
  }

  .programs {
    padding: 64px 0;
  }

  .programs-slider-wrap {
    display: block;
  }

  .programs-viewport {
    padding: 22px 0 14px;
  }

  .program-card {
    flex: 0 0 min(78vw, 312px);
    max-width: min(78vw, 312px);
    min-height: 448px;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .program-card-face {
    padding: 132px 18px 24px;
  }

  .program-card-back {
    padding: 24px 18px;
  }

  .program-card-title {
    font-size: 20px;
  }

  .program-card-text,
  .program-card-longtext {
    font-size: 14px;
  }

  .study-parallax {
    padding: 54px 0 36px;
  }

  .study-section:not(.price) .container {
    width: calc(100% - 32px);
    margin: 0 auto;
  }

  .study-section:not(.price) h2 {
    font-size: 28px;
    margin-bottom: 26px;
  }

  .study-section:not(.price) .list li {
    padding-left: 28px;
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 1.65;
  }

  .study-section.price .container {
    width: calc(100% - 32px);
  }

  .modal {
    padding: 16px;
  }

  .modal-dialog {
    max-height: calc(100vh - 32px);
    border-radius: 22px;
    padding: 28px 20px 22px;
  }

  .modal-head {
    margin-bottom: 20px;
    padding-right: 26px;
  }

  .modal-head h2 {
    font-size: 24px;
  }

  .modal-kicker {
    font-size: 12px;
  }

  .signup-field input {
    padding: 13px 14px;
    border-radius: 12px;
  }

  .signup-submit {
    font-size: 16px;
  }

  .price-box {
    padding: 28px 22px;
    border-radius: 16px;
  }

  .program-tab-button {
    padding: 16px 18px;
    font-size: 16px;
    min-height: 64px;
  }

  .program-tab-mobile-title {
    display: block;
    margin-bottom: 18px;
    font-size: 22px;
  }

  .study-section.price h2 {
    font-size: 24px;
  }

  .price-number {
    font-size: 30px;
    margin-bottom: 14px;
  }

  .price-box p {
    font-size: 16px;
  }

  .program-tab-list li {
    font-size: 16px;
    gap: 10px;
  }

  .program-tab-icon {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
  }

  .price-box.program-tab-panel {
    padding: 28px 22px;
    border-radius: 18px;
  }

  .contacts {
    padding: 60px 0 18px;
  }

  .contacts .container::before {
    border-radius: 24px 24px 0 0;
  }

  .contacts h2 {
    padding: 0 22px;
    font-size: 28px;
  }

  .contacts-list,
  .contacts-socials {
    margin-left: 22px;
    margin-right: 22px;
  }

  .contacts-item {
    gap: 14px;
  }

  .contacts-icon {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
    padding: 8px;
  }

  .contacts-list .contacts-item:first-child .contacts-text {
    font-size: 22px;
    line-height: 1.3;
  }

  .contacts-text {
    font-size: 16px;
    line-height: 1.5;
  }

  .contacts-socials {
    gap: 12px;
    margin-top: 28px;
    justify-content: center;
  }

  .contacts-social {
    width: 54px;
    height: 54px;
  }

  .contacts-social img {
    width: 54px;
    height: 54px;
  }

  footer .container {
    padding: 22px 22px 30px;
  }

  .footer-title {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .footer-layout {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 320px;
    text-align: center;
  }

  .footer-column--about,
  .footer-column--contacts {
    align-items: center;
  }

  .footer-socials {
    justify-content: center;
  }

  .footer-copy {
    font-size: 13px;
  }
}
