@font-face {
  font-family: "TT Norms Tochka";
  src: url("../fonts/TT Norms Tochka Extended Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "TT Norms Tochka";
  src: url("../fonts/TT Norms Tochka Extended DemiBold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
}

.header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
}

.header__inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  height: calc(96 * var(--px));
  padding: 0 var(--container-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(24 * var(--px));
}

.header__actions {
  display: flex;
  align-items: center;
  gap: calc(18 * var(--px));
}

.header__logo {
  width: calc(52 * var(--px));
  height: calc(52 * var(--px));
  display: grid;
  place-items: center;
}

.header__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(
    0 calc(2 * var(--px)) calc(12 * var(--px)) rgba(0, 0, 0, 0.35)
  );
}

.header__nav {
  display: flex;
  gap: calc(40 * var(--px));
  align-items: center;
  justify-content: center;
  flex: 1;
}

.header__link {
  font-family: "TT Norms Tochka", system-ui, -apple-system, Segoe UI, Arial,
    sans-serif;
  font-weight: 600;
  font-size: calc(25 * var(--px));
  line-height: 1;
  opacity: 0.9;
  position: relative;
  transition: opacity 200ms ease, transform 200ms ease;
}

.header__link:hover {
  opacity: 1;
  transform: translateY(calc(-1 * var(--px)));
}

.header__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: calc(-10 * var(--px));
  width: 100%;
  height: calc(2 * var(--px));
  background: rgba(255, 255, 255, 0.65);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.header__link:hover::after {
  transform: scaleX(1);
}

.header__lang {
  font-family: "TT Norms Tochka", system-ui, -apple-system, Segoe UI, Arial,
    sans-serif;
  font-weight: 600;
  font-size: calc(27 * var(--px));
  line-height: 1;
  opacity: 0.9;
  transition: opacity 200ms ease, transform 200ms ease;
}

.header__lang:hover {
  opacity: 1;
  transform: translateY(calc(-1 * var(--px)));
}

@media (max-width: 768px) {
  .hero {
    padding-bottom: calc(40 * var(--px));
  }

  .hero__cta {
    margin-top: calc(72 * var(--px));
  }

  .header__inner {
    height: calc(80 * var(--px));
  }

  .header__nav {
    gap: calc(18 * var(--px));
  }

  .header__link,
  .header__lang {
    font-size: calc(22 * var(--px));
  }

  .header__logo {
    width: calc(42 * var(--px));
    height: calc(42 * var(--px));
  }

  .timer__row::after {
    margin-top: -19px;
  }
}

@media (max-width: 420px) {
  .header__nav {
    display: none;
  }
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: calc(120 * var(--px)) 0 calc(80 * var(--px));
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url("../img/hero-bg.webp");
  background-size: cover;
  background-position: center;
  filter: contrast(1.05) saturate(1.02);
  transform: scale(1.02);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      0.05deg,
      #12011b 16.24%,
      rgba(43, 14, 58, 0.2) 86.97%
    ),
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45));
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 5;
  width: 100%;
  padding: 0 var(--container-pad);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__title {
  margin: 0;
  font-family: "Encode Sans Expanded", system-ui, -apple-system, Segoe UI, Arial,
    sans-serif;
  font-weight: 700;
  font-size: calc(115 * var(--px));
  line-height: 1;
  text-transform: uppercase;
  text-shadow: var(--shadowText);
  letter-spacing: 0;
}

.hero__place {
  margin: calc(40 * var(--px)) 0 0;
  font-family: "Encode Sans Expanded", system-ui, -apple-system, Segoe UI, Arial,
    sans-serif;
  font-weight: 400;
  font-size: calc(25 * var(--px));
  line-height: 1;
  opacity: 0.9;
  text-transform: uppercase;
}

.hero__joinWrap {
  margin-top: calc(40 * var(--px));
}

.join {
  display: inline-flex;
  align-items: center;
  gap: calc(14 * var(--px));
  padding: calc(20 * var(--px)) calc(30 * var(--px));
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 1);
  backdrop-filter: blur(calc(10 * var(--px)));
  box-shadow: 0 calc(16 * var(--px)) calc(40 * var(--px)) rgba(0, 0, 0, 0.35);
  transform: translateZ(0);
  will-change: transform;
  transition: transform 220ms ease;
}

.join__text {
  font-family: "TT Norms Tochka", system-ui, -apple-system, Segoe UI, Arial,
    sans-serif;
  font-weight: 600;
  font-size: calc(32 * var(--px));
  line-height: 1;
  color: var(--violet);
}

.join__icon {
  width: calc(44 * var(--px));
  height: calc(44 * var(--px));
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
}

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

.join:hover {
  transform: translateY(calc(-2 * var(--px)));
}

.join:active {
  transform: translateY(0);
}

.join.is-pulse {
  animation: joinPulse 420ms ease;
}

@keyframes joinPulse {
  0% {
    transform: translateY(0) scale(1);
  }
  35% {
    transform: translateY(calc(-2 * var(--px))) scale(1.03);
  }
  70% {
    transform: translateY(0) scale(1);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

.hero__offer {
  margin-top: calc(100 * var(--px));
}

.hero__offerTitle {
  margin: 0;
  font-family: "Encode Sans Expanded", system-ui, -apple-system, Segoe UI, Arial,
    sans-serif;
  font-weight: 600;
  font-size: calc(48 * var(--px));
  line-height: 1;
  text-transform: uppercase;
}

.hero__offerSub {
  margin: calc(14 * var(--px)) 0 0;
  font-family: "Encode Sans Expanded", system-ui, -apple-system, Segoe UI, Arial,
    sans-serif;
  font-weight: 500;
  font-size: calc(32 * var(--px));
  line-height: 1;
  opacity: 0.85;
}

.timer {
  margin-top: calc(42 * var(--px));
  --timer-sep-y: calc(-45 * var(--px));
  --timer-line-y: calc(142 * var(--px));
  --timer-line-opacity: 0.45;
}

.timer__row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(18 * var(--px));
}

.timer__row::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: calc(1 * var(--px));
  top: var(--timer-line-y);
  background: rgba(255, 255, 255, var(--timer-line-opacity));
  pointer-events: none;
}

.timer__cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: calc(140 * var(--px));
}

.timer__num {
  font-family: "Encode Sans Expanded", system-ui, -apple-system, Segoe UI, Arial,
    sans-serif;
  font-weight: 600;
  font-size: calc(128 * var(--px));
  line-height: 1;
  letter-spacing: 0;
  display: inline-block;
  width: 2.2ch;
  text-align: center;
}

.timer__sep {
  font-weight: 400;
  font-size: calc(96 * var(--px));
  line-height: 1;
  opacity: 0.95;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  transform: translateY(var(--timer-sep-offset, 0px));
}

.timer__label {
  margin-top: calc(55 * var(--px));
  font-family: "Encode Sans Expanded", system-ui, -apple-system, Segoe UI, Arial,
    sans-serif;
  font-weight: 500;
  font-size: calc(16 * var(--px));
  line-height: 1;
  letter-spacing: calc(4 * var(--px));
  opacity: 0.65;
}

.hero__cta {
  margin-top: calc(130 * var(--px));
  scale: 1.7;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: calc(18 * var(--px)) calc(64 * var(--px));
  border-radius: var(--radius-btn);
  font-family: "TT Norms Tochka", system-ui, -apple-system, Segoe UI, Arial,
    sans-serif;
  font-weight: 600;
  font-size: calc(32 * var(--px));
  line-height: 1;
  position: relative;
  user-select: none;
}

.btn--primary {
  background: linear-gradient(90deg, #5f1bff 0%, #7c1fff 50%, #5f1bff 100%);
  color: #ffffff;
  font-weight: 600;
  border: calc(1 * var(--px)) solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 calc(14 * var(--px)) calc(40 * var(--px))
    rgba(124, 31, 255, 0.35);
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
  position: relative;
  overflow: hidden;
}

.btn--primary:hover {
  transform: translateY(calc(-2 * var(--px)));
  box-shadow: 0 calc(20 * var(--px)) calc(60 * var(--px))
    rgba(124, 31, 255, 0.45);
}

.btn--primary:hover::before {
  opacity: 1;
}

.btn--primary:hover::after {
  opacity: 1;
  animation: baySheen 900ms ease;
}

to {
  transform: translateX(120%);
}

.btn--primary:active {
  transform: translateY(calc(-1 * var(--px)));
  box-shadow: 0 calc(12 * var(--px)) calc(35 * var(--px))
      rgba(0, 0, 0, 0.45),
    0 0 calc(22 * var(--px)) rgba(124, 31, 255, 0.28);
}

.will-animate {
  opacity: 0;
  transform: translateY(calc(16 * var(--px)));
  filter: blur(calc(3 * var(--px)));
  transition: opacity 700ms cubic-bezier(0.2, 0.7, 0.1, 1) var(--delay, 0ms),
    transform 700ms cubic-bezier(0.2, 0.7, 0.1, 1) var(--delay, 0ms),
    filter 700ms cubic-bezier(0.2, 0.7, 0.1, 1) var(--delay, 0ms);
}

.is-in.will-animate {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

@media (max-width: 1024px) {
  .gallery__arrow {
    display: none;
  }

  .hero {
    padding-top: calc(96 * var(--px));
  }

  .hero__title {
    font-size: calc(96 * var(--px));
  }

  .timer__num {
    font-size: calc(96 * var(--px));
  }

  .timer__sep {
    font-size: calc(70 * var(--px));
    transform: translateY(calc(-14 * var(--px)));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    transform: translateY(var(--timer-sep-offset, 0px));
  }
}

@media (max-width: 768px) {
  .hero__title {
    font-size: calc(72 * var(--px));
  }

  .hero__place {
    font-size: calc(22 * var(--px));
  }

  .hero__offerTitle {
    font-size: calc(34 * var(--px));
  }

  .hero__offerSub {
    font-size: calc(22 * var(--px));
  }

  .join__text {
    font-size: calc(22 * var(--px));
  }

  .join__icon {
    width: calc(36 * var(--px));
    height: calc(36 * var(--px));
  }

  .timer__cell {
    min-width: calc(96 * var(--px));
  }

  .timer__num {
    font-size: calc(72 * var(--px));
  }

  .timer__sep {
    font-size: calc(56 * var(--px));
    transform: translateY(calc(-10 * var(--px)));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    transform: translateY(var(--timer-sep-offset, 0px));
  }

  .btn {
    font-size: calc(22 * var(--px));
    padding: calc(16 * var(--px)) calc(46 * var(--px));
  }
}

@media (max-width: 420px) {
  .hero {
    min-height: 57vh;
  }

  .timer__row {
    gap: calc(10 * var(--px));
  }

  .timer__sep {
    transform: translateY(calc(-6 * var(--px)));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    transform: translateY(var(--timer-sep-offset, 0px));
  }
}

.timer {
  --timer-sep-offset: calc(-38 * var(--px));
}

.timer__row {
  align-items: center !important;
}

.timer__sep {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: center !important;
  height: calc(128 * var(--px));
  line-height: 1 !important;
  transform: translateY(var(--timer-sep-offset)) !important;
}

.btn--primary:focus-visible {
  outline: calc(2 * var(--px)) solid rgba(124, 31, 255, 0.65);
  outline-offset: calc(4 * var(--px));
}

.plan {
  position: relative;
  background: #ffffff;
  color: #1b1b1b;
  padding: calc(92 * var(--px)) 0 calc(84 * var(--px));
}

.plan__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

@media (min-width: 721px) {
  .plan {
    --px: 1px;
    --container-pad: 48px;
  }
}

.plan__title {
  margin: 0 0 calc(44 * var(--px));
  text-align: center;
  font-family: "Encode Sans Expanded", system-ui, -apple-system, Segoe UI, Arial,
    sans-serif;
  font-weight: 600;
  font-size: calc(64 * var(--px));
  line-height: 100%;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #7c1fff;
}

.plan__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: calc(22 * var(--px));
  align-items: start;
}

.plan-col {
  --accent: #7c1fff;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.plan-col--full {
  --accent: #7c1fff;
}

.plan-col--duo {
  --accent: #2b0e3a;
}

.plan-col--junior {
  --accent: #b84dff;
}

.plan-card {
  border-radius: calc(18 * var(--px));
  padding: calc(24 * var(--px));
  color: #ffffff;
  min-height: calc(220 * var(--px));
  box-shadow: 0 calc(10 * var(--px)) calc(26 * var(--px))
    rgba(0, 0, 0, 0.18);
}

.plan-card--full {
  background: #7c1fff;
}

.plan-card--duo {
  background: #2b0e3a;
}

.plan-card--junior {
  background: #b84dff;
}

.plan-card__top {
  min-height: calc(120 * var(--px));
}

.plan-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: calc(12 * var(--px));
}

.plan-card__name {
  margin: 0;
  font-family: "TT Norms Tochka", system-ui, -apple-system, Segoe UI, Arial,
    sans-serif;
  font-weight: 800;
  font-size: calc(30 * var(--px));
  line-height: 105%;
  letter-spacing: 0;
}

.plan-card__age {
  font-family: "TT Norms Tochka", system-ui, -apple-system, Segoe UI, Arial,
    sans-serif;
  font-weight: 500;
  font-size: calc(14 * var(--px));
  opacity: 0.9;
  margin-top: calc(6 * var(--px));
}

.plan-card__desc {
  margin: calc(10 * var(--px)) 0 0;
  font-family: "TT Norms Tochka", system-ui, -apple-system, Segoe UI, Arial,
    sans-serif;
  font-weight: 400;
  font-size: calc(15 * var(--px));
  line-height: 135%;
  opacity: 0.92;
  max-width: calc(330 * var(--px));
}

.plan-card__price {
  margin-top: calc(22 * var(--px));
  display: flex;
  align-items: baseline;
  gap: calc(6 * var(--px));
  font-family: "TT Norms Tochka", system-ui, -apple-system, Segoe UI, Arial,
    sans-serif;
}

.plan-card__eur {
  font-size: calc(22 * var(--px));
  font-weight: 600;
  opacity: 0.95;
}

.plan-card__value {
  font-size: calc(44 * var(--px));
  font-weight: 600;
  letter-spacing: -0.02em;
}

.plan-card__per {
  font-size: calc(14.5 * var(--px));
  font-weight: 400;
  opacity: 0.9;
}

.plan-card__fee {
  margin: calc(10 * var(--px)) 0 0;
  font-family: "TT Norms Tochka", system-ui, -apple-system, Segoe UI, Arial,
    sans-serif;
  font-size: calc(13.5 * var(--px));
  line-height: 130%;
  opacity: 0.9;
}

.plan-list {
  list-style: none;
  margin: calc(18 * var(--px)) 0 calc(18 * var(--px));
  padding: 0;
  font-family: "TT Norms Tochka", system-ui, -apple-system, Segoe UI, Arial,
    sans-serif;
  color: rgba(0, 0, 0, 0.75);
  font-size: calc(14 * var(--px));
  line-height: 145%;
}

.plan-list__item {
  padding: calc(14 * var(--px)) 0;
  border-bottom: 1px solid rgba(124, 31, 255, 0.25);
     font-size: 20px;
}

.plan-col--duo .plan-list__item {
  border-bottom-color: rgba(43, 14, 58, 0.22);
}

.plan-col--junior .plan-list__item {
  border-bottom-color: rgba(184, 77, 255, 0.26);
}

.plan-buy {
  margin-top: 12px;
  height: calc(52 * var(--px));
  border-radius: calc(999 * var(--px));
  background: #7c1fff;
  color: #ffffff;
  font-family: "TT Norms Tochka", system-ui, -apple-system, Segoe UI, Arial,
    sans-serif;
  font-weight: 600;
  font-size: calc(20 * var(--px));
  letter-spacing: 0;
  box-shadow: 0 calc(10 * var(--px)) calc(24 * var(--px))
    rgba(124, 31, 255, 0.3);
  transition: transform 0.18s ease, filter 0.18s ease;
}

.plan-buy:hover {
  transform: translateY(calc(-1 * var(--px)));
  filter: brightness(1.05);
}

.plan-buy:active {
  transform: translateY(0);
  filter: brightness(0.98);
}

.plan-col--duo .plan-buy {
  background: #2b0e3a;
  box-shadow: 0 calc(10 * var(--px)) calc(24 * var(--px))
    rgba(43, 14, 58, 0.26);
}

.plan-col--junior .plan-buy {
  background: #b84dff;
  box-shadow: 0 calc(10 * var(--px)) calc(24 * var(--px))
    rgba(184, 77, 255, 0.26);
}

@media (max-width: 1100px) {
  .plan__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .plan {
    padding: calc(64 * var(--px)) 0 calc(64 * var(--px));
  }

  .plan__title {
    font-size: calc(50 * var(--px));
    margin-bottom: calc(28 * var(--px));
  }

  .plan__grid {
    grid-template-columns: 1fr;
    gap: calc(18 * var(--px));
  }

  .plan-card {
    min-height: unset;
  }
}

.gallery {
  background: #fff;
  color: #12011b;
  padding: calc(80 * var(--px)) 0 calc(90 * var(--px));
}

@media (min-width: 1440px) {
  .gallery {
    --px: 1px;
  }
}

.gallery__inner {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 0 calc(48 * var(--px));
}

.gallery__title {
  margin: 0;
  text-align: center;
  font-family: "Encode Sans Expanded", system-ui, -apple-system, Segoe UI, Arial,
    sans-serif;
  font-weight: 600;
  font-size: calc(64 * var(--px));
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #7c1fff;
}

.gallery__slider {
  position: relative;
  margin-top: calc(40 * var(--px));
}

.gallery__viewport {
  overflow: hidden;
  border-radius: calc(24 * var(--px));
}

/* Allow comfortable vertical scrolling while letting JS handle horizontal swipes */
@media (hover: none), (pointer: coarse) {
  .gallery__viewport {
    touch-action: pan-y;
  }
}

.gallery__track {
  display: flex;
  gap: calc(26 * var(--px));
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.gallery__slide {
  flex: 0 0 auto;
  width: calc(682 * var(--px));
  height: calc(350 * var(--px));
  border-radius: calc(24 * var(--px));
  overflow: hidden;
  background: #eee;
}

.gallery__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

.gallery__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: calc(56 * var(--px));
  height: calc(56 * var(--px));
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: calc(1.5 * var(--px)) solid rgba(124, 31, 255, 0.45);
  background: rgba(255, 255, 255, 0.92);
  color: #7c1fff;
  box-shadow: 0 calc(6 * var(--px)) calc(18 * var(--px))
    rgba(43, 14, 58, 0.18);
  z-index: 2;
}

.gallery__arrow:hover {
  background: #7c1fff;
  color: #fff;
}

.gallery__arrow:active {
  transform: translateY(-50%) scale(0.98);
}

.gallery__arrow--prev {
  left: calc(-18 * var(--px));
}

.gallery__arrow--next {
  right: calc(-18 * var(--px));
}

@media (max-width: 1024px) {
  .contact__text {
    font-size: calc(30 * var(--px)) !important;
  }

  .gallery {
    padding: calc(60 * var(--px)) 0 calc(70 * var(--px));
  }

  .gallery__inner {
    padding: 0 calc(28 * var(--px));
  }

  .gallery__slide {
    width: calc(640 * var(--px));
    height: calc(570 * var(--px));
  }

  .gallery__arrow--prev {
    left: calc(-10 * var(--px));
  }

  .gallery__arrow--next {
    right: calc(-10 * var(--px));
  }

  .plan-buy {
    height: calc(75 * var(--px));
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(450px, 100%);
    margin: 20px auto 0;
    font-size: calc(28 * var(--px));
  }

  .plan-card__top {
    min-height: calc(70 * var(--px));
  }

  .plan-card__fee {
    text-align: right;
  }
}

@media (max-width: 768px) {
  .gallery__inner {
    padding: 0 calc(18 * var(--px));
  }

  .gallery__title {
    font-size: calc(42 * var(--px));
  }

  .gallery__slide {
    width: calc(732 * var(--px));
    height: calc(360 * var(--px));
  }

  .gallery__arrow {
    width: calc(46 * var(--px));
    height: calc(46 * var(--px));
  }

  .plan-buy {
    height: calc(58 * var(--px));
  }
}

@media (max-width: 420px) {
  .gallery__title {
    font-size: calc(50 * var(--px));
  }

  .gallery__slide {
    height: calc(500 * var(--px));
    border-radius: 30px;
  }
}

.contact {
  position: relative;
  background: #ffffff;
  color: #1b1b1b;
  padding: calc(92 * var(--px)) 0 calc(120 * var(--px));
}

@media (min-width: 721px) {
  .contact {
    --px: 1px;
    --container-pad: 48px;
  }
}

.contact__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.contact__title {
  margin: 0 0 calc(46 * var(--px));
  text-align: center;
  font-family: "Encode Sans Expanded", system-ui, -apple-system, Segoe UI, Arial,
    sans-serif;
  font-weight: 600;
  font-size: calc(64 * var(--px));
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--violet);
}

.contact__panel {
  background: #d7f7e4;
  border-radius: calc(28 * var(--px));
  padding: calc(36 * var(--px));
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr calc(420 * var(--px));
  gap: calc(36 * var(--px));
  align-items: center;
}

.contact__map {
  border-radius: calc(22 * var(--px));
  overflow: hidden;
  min-height: calc(420 * var(--px));
  background: #ffffff;
}

.contact__map iframe {
  width: 100%;
  height: 100%;
  min-height: calc(420 * var(--px));
  display: block;
}

.contact__card {
  background: #ffffff;
  border-radius: calc(22 * var(--px));
  padding: calc(34 * var(--px));
  box-shadow: 0 calc(18 * var(--px)) calc(40 * var(--px))
    rgba(0, 0, 0, 0.12);
}

.contact__qr {
  width: calc(220 * var(--px));
  height: calc(220 * var(--px));
  object-fit: cover;
  border-radius: calc(18 * var(--px));
  display: block;
  margin: 0 auto calc(26 * var(--px));
}

.contact__rows {
  display: grid;
  gap: calc(18 * var(--px));
}

.contact__row {
  display: grid;
  grid-template-columns: calc(24 * var(--px)) 1fr;
  gap: calc(14 * var(--px));
  align-items: center;
}

.contact__row--top {
  align-items: start;
}

.contact__ico {
  width: calc(22 * var(--px));
  height: calc(22 * var(--px));
  object-fit: contain;
  opacity: 0.9;
  margin-top: calc(2 * var(--px));
}

.contact__text {
  font-family: "TT Norms Tochka", system-ui, -apple-system, Segoe UI, Arial,
    sans-serif;
  font-size: calc(18 * var(--px));
  line-height: 1.35;
  color: #2b0e3a;
}

@media (max-width: 980px) {
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .contact__map {
    min-height: 340px;
  }

  .contact__map iframe {
    min-height: 340px;
  }

  .contact__card {
    max-width: 560px;
    margin: 0 auto;
  }
}

@media (max-width: 520px) {
  .contact {
    padding: 64px 0 84px;
  }

  .contact__panel {
    padding: 18px;
    border-radius: 22px;
  }

  .contact__title {
    font-size: calc(50 * var(--px));
    margin-bottom: 26px;
  }

  .contact__qr {
    width: 170px;
    height: 170px;
  }


}

.footer {
  width: 100%;
  background: #2b0e3a;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.footer__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: calc(44 * var(--px)) calc(64 * var(--px));
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(44 * var(--px));
}

.footer__link {
  font-family: "TT Norms Tochka", system-ui, -apple-system, Segoe UI, Arial,
    sans-serif;
  font-size: calc(22 * var(--px));
  line-height: 120%;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  position: relative;
  padding: calc(6 * var(--px)) calc(8 * var(--px));
  transition: opacity 180ms ease, transform 180ms ease;
}

.footer__link:hover {
  opacity: 0.85;
  transform: translateY(calc(-1 * var(--px)));
}

.footer__link:focus-visible {
  outline: calc(2 * var(--px)) solid rgba(124, 31, 255, 0.9);
  outline-offset: calc(4 * var(--px));
  border-radius: calc(10 * var(--px));
}

@media (max-width: 1024px) {
  .gallery__title {
    font-size: calc(73 * var(--px));
  }

  .contact__qr {
    width: calc(350 * var(--px));
    height: calc(350 * var(--px));
  }

  .footer__inner {
    padding: 28px 24px;
  }

  .footer__nav {
    gap: 28px;
  }

  .footer__link {
    font-size: 18px;
  }
}

@media (max-width: 560px) {
  .footer__inner {
    padding: 22px 16px;
  }

  .footer__nav {
    gap: 18px;
    flex-wrap: wrap;
  }

  .footer__link {
    font-size: 16px;
  }
}

:root {
  --design-w: 1440;
  --scale: calc(100vw / (var(--design-w) * 1px));
  --px: calc(1px * var(--scale));
  --bg: #12011b;
  --ink: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.7);
  --violet: #7c1fff;
  --violet-deep: #321d3f;
  --btn-text: #2b0e3a;
  --shadowText: 0 calc(4 * var(--px)) calc(4 * var(--px))
    rgba(50, 29, 63, 1);
  --radius-pill: calc(999 * var(--px));
  --radius-btn: calc(999 * var(--px));
  --container-pad: calc(48 * var(--px));
}

@font-face {
  font-family: "TT Norms Tochka", system-ui, -apple-system, Segoe UI, Arial,
    sans-serif;
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  overflow-x: hidden;
  font-synthesis: none;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.app {
  min-height: 100vh;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.footer {
  padding: calc(40 * var(--px)) 0;
}

.footer__inner {
  padding: 0 var(--container-pad);
  font-family: "TT Norms Tochka", system-ui, -apple-system, Segoe UI, Arial,
    sans-serif, system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  font-size: calc(14 * var(--px));
}

@media (min-width: 1920px) {
  :root {
    --scale: calc(1920 / 1440);
  }
}

@media (max-width: 1024px) {
  :root {
    --scale: calc(100vw / 1024px);
    --container-pad: calc(28 * var(--px));
  }
}

@media (max-width: 768px) {
  :root {
    --scale: calc(100vw / 768px);
    --container-pad: calc(18 * var(--px));
  }
}

@media (max-width: 420px) {
  :root {
    --scale: calc(100vw / 420px);
    --container-pad: calc(14 * var(--px));
  }
}

html {
  scroll-behavior: smooth;
}

.reveal-section {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  filter: blur(6px);
  transition: opacity 800ms ease,
    transform 800ms cubic-bezier(0.22, 1, 0.36, 1), filter 800ms ease;
  will-change: opacity, transform, filter;
}

.reveal-section.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal-section {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

body.is-loading {
  overflow: hidden;
}

body.is-loading #app {
  opacity: 0;
  visibility: hidden;
}

body.is-loaded #app {
  opacity: 1;
  visibility: visible;
  transition: opacity 600ms ease;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transition: opacity 650ms ease, visibility 650ms ease;
}

.preloader__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(
      1200px 800px at 50% 35%,
      rgba(255, 255, 255, 0.06),
      rgba(255, 255, 255, 0) 60%
    ),
    radial-gradient(
      900px 600px at 50% 85%,
      rgba(132, 0, 255, 0.1),
      rgba(255, 255, 255, 0) 55%
    ),
    linear-gradient(180deg, rgba(0, 0, 0, 0.96), rgba(0, 0, 0, 0.92));
  filter: saturate(1.05);
}

.preloader__wrap {
  position: relative;
  width: 190px;
  height: 190px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  isolation: isolate;
}

.preloader__ring {
  position: absolute;
  inset: -14px;
  border-radius: 999px;
  background: conic-gradient(
    from 180deg,
    rgba(255, 255, 255, 0) 0deg,
    rgba(255, 255, 255, 0.1) 55deg,
    rgba(255, 255, 255, 0) 120deg,
    rgba(255, 255, 255, 0.18) 210deg,
    rgba(255, 255, 255, 0) 310deg,
    rgba(255, 255, 255, 0.1) 360deg
  );
  mask: radial-gradient(circle, transparent 56%, #000 58%);
  -webkit-mask: radial-gradient(circle, transparent 56%, #000 58%);
  animation: preloader-rotate 1.25s linear infinite;
  opacity: 0.9;
}

.preloader__logo {
  width: 92px;
  height: auto;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.55));
  transform: translateZ(0);
  animation: preloader-breathe 1.8s ease-in-out infinite;
}

.preloader__shine {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: radial-gradient(
    120px 90px at 35% 30%,
    rgba(255, 255, 255, 0.16),
    rgba(255, 255, 255, 0) 60%
  );
  mix-blend-mode: screen;
  pointer-events: none;
}

.preloader__text {
  position: absolute;
  bottom: -34px;
  font-family: "Encode Sans Expanded", system-ui, -apple-system, Segoe UI,
    Roboto, Arial, sans-serif;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
}

.preloader__text::after {
  content: "";
  display: inline-block;
  width: 20px;
}

.preloader__text span {
  display: none;
}

@keyframes preloader-rotate {
  to {
    transform: rotate(360deg);
  }
}

@keyframes preloader-breathe {
  0%,
  100% {
    transform: scale(0.98);
    filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.55));
  }
  50% {
    transform: scale(1.03);
    filter: drop-shadow(0 14px 36px rgba(0, 0, 0, 0.65));
  }
}

body.is-loaded .preloader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

body.is-loaded .preloader__wrap {
  transform: translate3d(0, 8px, 0) scale(0.985);
  filter: blur(2px);
  transition: transform 650ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 650ms ease;
}

@media (prefers-reduced-motion: reduce) {
  .preloader__ring,
  .preloader__logo {
    animation: none;
  }

  .preloader {
    transition: none;
  }
}

.cookie {
  position: fixed;
  left: 50%;
  bottom: calc(24 * var(--px));
  transform: translate(-50%, calc(20 * var(--px)));
  width: min(calc(1120 * var(--px)), calc(100% - (32 * var(--px)) * 2));
  padding: calc(28 * var(--px)) calc(36 * var(--px));
  border-radius: calc(24 * var(--px));
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 calc(10 * var(--px)) calc(30 * var(--px))
    rgba(0, 0, 0, 0.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(24 * var(--px));
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.45s ease, transform 0.45s ease, visibility 0.45s ease;
}

.cookie.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.cookie.is-hiding {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, calc(20 * var(--px)));
}

.cookie__text {
  font-family: "TT Norms Tochka", "TT Norms Medium", "TTNorms", system-ui,
    -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: calc(20 * var(--px));
  line-height: 1.35;
  color: rgba(20, 20, 20, 0.9);
  letter-spacing: 0.01em;
}

.cookie__btn {
  flex: 0 0 auto;
  height: calc(56 * var(--px));
  min-width: calc(108 * var(--px));
  padding: 0 calc(34 * var(--px));
  border-radius: calc(28 * var(--px));
  border: 0;
  outline: none;
  cursor: pointer;
  background: #6b2bff;
  color: #fff;
  font-family: "TT Norms Tochka", "TT Norms Medium", "TTNorms", system-ui,
    -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: calc(20 * var(--px));
  line-height: 1;
  transition: transform 0.22s ease, filter 0.22s ease;
}

.cookie__btn:hover {
  transform: translateY(calc(-1 * var(--px)));
  filter: brightness(1.05);
}

.cookie__btn:active {
  transform: translateY(0) scale(0.98);
}

@media (max-width: 1024px) {
  .cookie {
    width: min(calc(920 * var(--px)), calc(100% - (24 * var(--px)) * 2));
    padding: calc(26 * var(--px)) calc(28 * var(--px));
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .cookie__text {
    font-size: calc(20 * var(--px));
  }

  .cookie__btn {
    min-width: calc(200 * var(--px));
    padding: 0 calc(40 * var(--px));
  }
}

@media (max-width: 520px) {
  .cookie {
    width: min(calc(420 * var(--px)), calc(100% - (20 * var(--px)) * 2));
    padding: calc(22 * var(--px)) calc(22 * var(--px));
    border-radius: calc(20 * var(--px));
    align-items: center;
    text-align: center;
  }

  .cookie__text {
    font-size: calc(18 * var(--px));
  }

  .cookie__btn {
    width: 100%;
    max-width: calc(240 * var(--px));
    justify-content: center;
  }
}

@media (max-width: 1024px) {
  .plan__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .plan-card {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "top top"
      "price fee";
    column-gap: calc(18 * var(--px));
    row-gap: calc(18 * var(--px));
    padding: calc(34 * var(--px)) calc(32 * var(--px));
    border-radius: calc(26 * var(--px));
    min-height: unset;
  }

  .plan-card__top {
    grid-area: top;
    min-height: unset;
  }

  .plan-card__price {
    grid-area: price;
    margin-top: 0;
  }

  .plan-card__fee {
    grid-area: fee;
    margin: 0;
    text-align: right;
    align-self: end;
    justify-self: end;
    white-space: nowrap;
    opacity: 0.92;
  }

  .plan-card__desc {
    max-width: none;
  }

  .plan-card__name {
    font-size: calc(56 * var(--px));
    line-height: 105%;
  }

  .plan-card__age {
    font-size: calc(25 * var(--px));
    margin-top: calc(8 * var(--px));
  }

  .plan-card__desc {
    margin-top: calc(14 * var(--px));
    font-size: calc(22 * var(--px));
    line-height: 135%;
  }

  .plan-card__eur {
    font-size: calc(34 * var(--px));
  }

  .plan-card__value {
    font-size: calc(74 * var(--px));
  }

  .plan-card__per {
    font-size: calc(22 * var(--px));
  }

  .plan-card__fee {
    font-size: calc(22 * var(--px));
  }

  .gallery__track {
    gap: 0;
  }

  .gallery__slide {
    width: 100%;
  }
}

.footer {
  width: 100%;
  background: #2b0e3a;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: calc(40 * var(--px)) 0;
}

.footer__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: calc(44 * var(--px)) calc(64 * var(--px));
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: calc(44 * var(--px));
}

.footer__link {
  font-family: "TT Norms Tochka", system-ui, -apple-system, Segoe UI, Arial,
    sans-serif;
  font-size: calc(22 * var(--px));
  line-height: 120%;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  position: relative;
  padding: calc(6 * var(--px)) calc(8 * var(--px));
  transition: opacity 180ms ease, transform 180ms ease;
}

.footer__link:hover {
  opacity: 0.85;
  transform: translateY(calc(-1 * var(--px)));
}

.footer__link:focus-visible {
  outline: calc(2 * var(--px)) solid rgba(124, 31, 255, 0.9);
  outline-offset: calc(4 * var(--px));
  border-radius: calc(10 * var(--px));
}

@media (max-width: 1024px) {
  .footer__inner {
    padding: 28px 24px;
  }

  .footer__nav {
    gap: 28px;
  }

  .footer__link {
    font-size: 25px;
  }
}

@media (max-width: 560px) {
  .footer__inner {
    padding: 22px 16px;
  }

  .footer__nav {
    gap: 18px;
    flex-wrap: wrap;
  }

  .footer__link {
    font-size: 16px;
  }
}

@media (max-width: 1024px) {
  .gallery__arrow {
    display: none !important;
  }

  .gallery__hint {
    position: absolute;
    left: 50%;
    bottom: calc(18 * var(--px));
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: calc(10 * var(--px));
    padding: calc(10 * var(--px)) calc(16 * var(--px));
    border-radius: calc(999 * var(--px));
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(calc(10 * var(--px)));
    -webkit-backdrop-filter: blur(calc(10 * var(--px)));
    border: calc(1 * var(--px)) solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 calc(10 * var(--px)) calc(30 * var(--px))
      rgba(0, 0, 0, 0.35);
    color: #fff;
    font-family: "TT Norms", system-ui, -apple-system, Segoe UI, Roboto, Arial,
      sans-serif;
    font-weight: 500;
    font-size: calc(16 * var(--px));
    line-height: 1;
    opacity: 1;
    transition: opacity 400ms ease, transform 400ms ease;
    pointer-events: none;
    z-index: 5;
  }

  .gallery__hint.is-hidden {
    opacity: 0;
    transform: translateX(-50%) translateY(calc(8 * var(--px)));
  }

  .gallery__hint-icon {
    width: calc(34 * var(--px));
    height: calc(18 * var(--px));
    position: relative;
    display: inline-block;
  }

  .gallery__hint-icon::before,
  .gallery__hint-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    width: calc(10 * var(--px));
    height: calc(10 * var(--px));
    border-right: calc(2 * var(--px)) solid rgba(255, 255, 255, 0.95);
    border-bottom: calc(2 * var(--px)) solid rgba(255, 255, 255, 0.95);
    transform: translateY(-50%) rotate(-45deg);
    opacity: 0.9;
  }

  .gallery__hint-icon::before {
    left: 0;
  }

  .gallery__hint-icon::after {
    left: calc(10 * var(--px));
    opacity: 0.7;
  }

  .gallery__hint {
    animation: gallerySwipeHint 1800ms ease-in-out infinite;
  }

  @keyframes gallerySwipeHint {
    0% {
      transform: translateX(-50%) translateY(0);
      opacity: 0;
    }
    15% {
      opacity: 1;
    }
    50% {
      transform: translateX(calc(-50% + 14 * var(--px))) translateY(0);
    }
    85% {
      opacity: 1;
    }
    100% {
      transform: translateX(-50%) translateY(0);
      opacity: 0;
    }
  }
}

.gallery__hint {
  display: none;
}

.header__burger {
  display: none;
}

.mnav {
  display: none;
}

.plan-acc {
  display: none;
}

@media (max-width: 520px) {
  :root {
    --design-w: 1440;
    --scale: calc(100vw / (var(--design-w) * 1px));
    --px: calc(1px * var(--scale));
  }

  .header__nav {
    display: none !important;
  }

  .header__inner {
    height: calc(70 * var(--px));
    padding: 0 calc(18 * var(--px));
    gap: calc(14 * var(--px));
  }

  .header__actions {
    margin-left: auto;
    gap: calc(0 * var(--px));
  }

  .header__lang {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: calc(8 * var(--px)) calc(10 * var(--px));
    border-radius: calc(10 * var(--px));
    font-size: calc(40 * var(--px));
  }

  .header__logo {
    width: calc(44 * var(--px));
    height: calc(44 * var(--px));
  }

  .header__burger {
    width: calc(42 * var(--px));
    height: calc(42 * var(--px));
    display: grid;
    place-items: center;
    border: 0;
    background: transparent;
    padding: 0;
    color: #fff;
  }

  .burger__lines {
    width: calc(26 * var(--px));
    height: calc(18 * var(--px));
    position: relative;
    display: block;
  }

  .burger__lines::before,
  .burger__lines::after,
  .burger__lines {
    background: transparent;
  }

  .burger__lines::before,
  .burger__lines::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: calc(2.4 * var(--px));
    border-radius: calc(10 * var(--px));
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 calc(1 * var(--px)) calc(10 * var(--px))
      rgba(0, 0, 0, 0.35);
  }

  .burger__lines::before {
    top: 0;
  }

  .burger__lines::after {
    bottom: 0;
  }

  .burger__lines::marker {
    display: none;
  }

  .burger__lines {
    background: linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92));
    background-size: 100% calc(2.4 * var(--px));
    background-repeat: no-repeat;
    background-position: center;
    border-radius: calc(10 * var(--px));
    scale: 1.5;
  }

  .mnav {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 999;
    background: #2b0e3a;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 260ms ease, transform 260ms ease;
  }

  .mnav__inner {
    height: 100%;
    padding: calc(22 * var(--px)) calc(22 * var(--px));
    display: flex;
    flex-direction: column;
  }

  .mnav__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .mnav__logo {
    width: calc(44 * var(--px));
    height: calc(44 * var(--px));
    display: grid;
    place-items: center;
  }

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

  .mnav__close {
    width: calc(44 * var(--px));
    height: calc(44 * var(--px));
    border: 0;
    background: transparent;
    position: relative;
  }

  .mnav__close span {
    position: absolute;
    inset: 0;
    margin: auto;
    width: calc(22 * var(--px));
    height: calc(22 * var(--px));
  }

  .mnav__close span::before,
  .mnav__close span::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100%;
    height: calc(2.4 * var(--px));
    background: rgba(255, 255, 255, 0.92);
    border-radius: calc(10 * var(--px));
    transform-origin: center;
  }

  .mnav__close span::before {
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .mnav__close span::after {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  .mnav__links {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: unset;
    align-items: center;
    gap: calc(34 * var(--px));
  }

  .mnav__link {
    font-family: "TT Norms Tochka", system-ui, -apple-system, Segoe UI, Arial,
      sans-serif;
    font-weight: 600;
    font-size: calc(34 * var(--px));
    line-height: 1.05;
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
  }

  .mnav__lang {
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
  }

  
  /* --- Mobile burger menu (premium) --- */
  .mnav__inner{
    background: radial-gradient(120% 120% at 50% 0%, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.00) 55%),
                linear-gradient(180deg, rgba(43,14,58,0.96) 0%, rgba(22,6,34,0.98) 100%);

    margin: calc(14 * var(--px));
    overflow: hidden;
    box-shadow: 0 calc(18 * var(--px)) calc(40 * var(--px)) rgba(0,0,0,0.45);
  }

  .mnav__top{
    padding: calc(14 * var(--px)) calc(18 * var(--px));
    background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.00) 100%);
  }

  .mnav__links{
    flex: 1;
    padding: calc(56 * var(--px)) calc(18 * var(--px)) calc(18 * var(--px));
    gap: calc(18 * var(--px));
    justify-content: flex-end;
  }

  .mnav__btn{
    width: 100%;
    max-width: calc(520 * var(--px));
    padding: calc(18 * var(--px)) calc(22 * var(--px));
    border-radius: calc(22 * var(--px));
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    box-shadow: inset 0 0 0 calc(1 * var(--px)) rgba(255,255,255,0.06);
    text-align: center;
    font-family: "TT Norms Tochka", system-ui, -apple-system, Segoe UI, Arial, sans-serif;
    font-weight: 600;
    font-size: calc(36 * var(--px));
    line-height: 1.1;
    color: rgba(255,255,255,0.92);
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
  }

  .mnav__btn:active{
    transform: translateY(calc(1 * var(--px)));
  }



.mnav__meta{
  width: 100%;
  max-width: calc(675 * var(--px));
  margin: calc(18 * var(--px)) auto calc(22 * var(--px));
  display: flex;
  flex-direction: column;
  gap: calc(35 * var(--px));
  align-items: flex-start;
}

.mnav__social{
  display: inline-flex;
  align-items: center;
  gap: calc(24 * var(--px));
  font-family: "TT Norms Tochka", system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  font-weight: 600;
  font-size: calc(100 * var(--px));
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.mnav__social img{
  width: calc(95 * var(--px));
  height: calc(95 * var(--px));
  object-fit: contain;
  display: block;
  opacity: 0.92;
}

.mnav__address{
  display: flex;
  align-items: flex-start;
  gap: calc(24 * var(--px));
  font-family: "TT Norms Tochka", system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  font-weight: 400;
  font-size: calc(45 * var(--px));
  line-height: 1.25;
  color: rgba(255,255,255,0.72);
  max-width: 450px;
}

.mnav__address img{
  width: calc(95 * var(--px));
  height: calc(95 * var(--px));
  object-fit: contain;
  display: block;
  opacity: 0.9;
  margin-top: calc(2 * var(--px));
}

  .mnav__join{
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(680 * var(--px));
    max-width: calc(100% - (36 * var(--px)));
    margin: 0 auto calc(26 * var(--px));
    height: calc(86 * var(--px));
    border-radius: calc(999 * var(--px));
    background: rgba(244,240,255,0.92);
    color: #321d3f;
    font-family: "TT Norms Tochka", system-ui, -apple-system, Segoe UI, Arial, sans-serif;
    font-weight: 700;
    font-size: calc(44 * var(--px));
    text-decoration: none;
    box-shadow: 0 calc(10 * var(--px)) calc(26 * var(--px)) rgba(0,0,0,0.25);
    -webkit-tap-highlight-color: transparent;
  }

  .mnav__join:active{
    transform: translateY(calc(1 * var(--px)));
  }

body.menu-open {
    overflow: hidden;
    touch-action: none;
  }

  body.menu-open .mnav {
    display: block;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .hero {
    padding-bottom: calc(40 * var(--px)) !important;
    min-height: 53vh;
  }

  .plan__grid {
    grid-template-columns: 1fr !important;
    gap: calc(18 * var(--px)) !important;
  }

  .plan-card {
    border-radius: calc(60 * var(--px)) !important;
    margin-top: 16px;
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "top"
      "price"
      "fee" !important;
    row-gap: calc(14 * var(--px)) !important;
  }

  .plan-card__price {
    margin-top: 0 !important;
  }

  .plan-card__fee {
    text-align: left !important;
    justify-self: start !important;
    align-self: start !important;
    white-space: normal !important;
    margin: 0 !important;
  }

  .plan-card__name {
    font-size: calc(64 * var(--px)) !important;
  }

  .plan-card__desc {
    font-size: calc(40 * var(--px)) !important;
    max-width: 28ch;
  }

  .plan-card__value {
    font-size: calc(70 * var(--px)) !important;
  }

  .plan-card__fee {
    font-size: calc(40 * var(--px)) !important;
  }

  .plan-card__age {
    font-size: calc(40 * var(--px));
  }

  .plan-card__per {
    font-size: calc(35 * var(--px));
  }

  .plan-acc {
    display: flex;
    width: 100%;
    margin-top: calc(18 * var(--px));
    padding: 0;
    border: 0;
    background: transparent;
    align-items: center;
    justify-content: space-between;
    gap: calc(12 * var(--px));
    font-family: "TT Norms Tochka", system-ui, -apple-system, Segoe UI, Arial,
      sans-serif;
    font-weight: 600;
    font-size: calc(18 * var(--px));
    color: rgba(0, 0, 0, 0.65);
  }

  .plan-acc__text {
    font-size: 19px;
    font-weight: 100;
    color: #321d3f;
    margin: 10px 0px 10px 0px;
  }

  .plan-acc__ico {
    width: calc(52 * var(--px));
    height: calc(16 * var(--px));
    position: relative;
    flex: 0 0 auto;
    transform: rotate(0deg);
    transition: transform 220ms ease;
  }

  .plan-list__item {
    font-size: 13px;
    padding: calc(20 * var(--px)) 0;
 
  }

  .plan-acc__ico::before,
  .plan-acc__ico::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 90%;
    height: calc(2.2 * var(--px));
    background: rgba(124, 31, 255, 0.95);
    border-radius: calc(10 * var(--px));
    transform-origin: center;
  }

  .plan-acc__ico::before {
    transform: translate(-106%, -50%) rotate(55deg);
  }

    .btn{
        scale: 1.8;
        margin-bottom: 40px;
    }

  .plan-acc__ico::after {
    transform: translate(-50%, -50%) rotate(-55deg);
  }

  .plan-acc::after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: calc(-10 * var(--px));
    height: calc(2 * var(--px));
    background: rgba(124, 31, 255, 0.85);
    border-radius: calc(10 * var(--px));
  }

  .plan-acc {
    position: relative;
  }

  .plan-list {
    overflow: hidden;
    max-height: 0;
    transition: max-height 260ms ease;
    margin-top: calc(18 * var(--px));
  }

  .plan-col.is-open .plan-acc__ico {
    transform: rotate(180deg);
  }

  .plan-buy {
    width: 58% !important;
    max-width: none !important;
    height: calc(100 * var(--px)) !important;
    margin: calc(18 * var(--px)) auto 0 !important;
    font-size: 19px;
  }

  .gallery__arrow {
    display: none !important;
  }

  .contact {
    padding: calc(64 * var(--px)) 0 calc(76 * var(--px));
  }

  .contact__panel {
    padding: calc(18 * var(--px));
    border-radius: calc(22 * var(--px));
  }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: calc(18 * var(--px));
  }

  .contact__map {
    border-radius: calc(18 * var(--px));
    overflow: hidden;
  }

  .contact__card {
    background: #ffffff;
    border-radius: calc(22 * var(--px));
    padding: calc(18 * var(--px));
  }

  .contact__qr {
    width: calc(500 * var(--px));
    height: calc(500 * var(--px));
    margin: 0 auto calc(14 * var(--px));
    display: block;
    border-radius: calc(18 * var(--px));
  }

  .contact__ico {
    width: calc(80 * var(--px));
    height: calc(80 * var(--px));
  }

  .contact__rows {
    gap: calc(14 * var(--px));
  }

  .contact__text {
    font-size: calc(45 * var(--px))!important;
    color: #281335;
    margin-left: 27px;
  }
}

@media (max-width: 375px) {
  .hero {
    padding-top: calc(78 * var(--px));
  }

  .hero__title {
    font-size: calc(60 * var(--px));
  }

  .hero__place {
    margin-top: calc(22 * var(--px));
    font-size: calc(20 * var(--px));
  }

  .hero__joinWrap {
    margin-top: calc(28 * var(--px));
  }

  .hero__offerTitle {
    font-size: calc(30 * var(--px));
  }

  .hero__offerSub {
    font-size: calc(20 * var(--px));
  }

  .timer__cell {
    min-width: calc(84 * var(--px));
  }

  .timer__num {
    font-size: calc(64 * var(--px));
  }

  .timer__sep {
    font-size: calc(48 * var(--px));
    transform: translateY(calc(-6 * var(--px)));
  }

  .btn {
    padding: calc(14 * var(--px)) calc(40 * var(--px));
  }
}

@media (max-width: 340px) {
  .hero__title {
    font-size: calc(54 * var(--px));
  }

  .timer__num {
    font-size: calc(58 * var(--px));
  }
}

@media (max-width: 375px) {
  :root {
    --design-w: 1440;
    --container-pad: 16px;
  }

  .header__inner {
    height: 64px !important;
  }

  .header__burger {
    width: 44px !important;
    height: 44px !important;
  }

  .burger__lines {
    width: 22px !important;
    height: 2px !important;
  }

  .burger__lines::before,
  .burger__lines::after {
    width: 22px !important;
    height: 2px !important;
  }

  .hero {
    padding-top: 88px !important;
    padding-bottom: 56px !important;
  }

  .hero__offer {
    margin-top: 28px !important;
  }

  .timer {
    margin-top: 24px !important;
  }

  .hero__cta {
    margin-top: 28px !important;
    
  }
}

@media (max-width: 520px) {
  :root {
    --design-w: 900;
    --scale: calc(100vw / (var(--design-w) * 1px));
    --px: calc(1px * var(--scale));
  }
}


/* -----------------------------
   Unified section titles (tablet & mobile)
   Only affects: Gallery / Plan / Contacts headings
------------------------------ */
@media (max-width: 1024px) {
  .plan__title,
  .gallery__title,
  .contact__title {
    font-size: calc(73 * var(--px)) !important;
  }
}

@media (max-width: 520px) {
  .plan__title,
  .gallery__title,
  .contact__title {
    font-size: calc(60 * var(--px)) !important;
  }
}


/* --- Language switch placement (mobile) --- */
@media (max-width: 520px) {
  /* group burger + language in the right corner */
  .header__burger { margin-left: auto; }
  .header__lang { margin-left: calc(12 * var(--px)); }
}


/* ===== Mobile menu redesign (match reference) ===== */
@media (max-width: 520px) {
  /* soft overlay behind the rounded panel */
  .mnav{
    background: rgba(10, 5, 18, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  /* rounded "phone-like" panel */
  .mnav__inner{
    width: min(calc(940 * var(--px)), 100%);
    max-width: calc(940 * var(--px));
    height: 100%;
    margin: 0 auto;
    padding: 0;
    gap: 33px;
    overflow: hidden;

    background:
      radial-gradient(120% 120% at 50% 0%, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.04) 35%, rgba(0,0,0,0) 70%),
      radial-gradient(80% 90% at 50% 40%, rgba(156, 84, 255, 0.22) 0%, rgba(156, 84, 255, 0.10) 35%, rgba(0,0,0,0) 70%),
      linear-gradient(180deg, rgba(54, 14, 74, 0.92) 0%, rgba(32, 7, 46, 0.96) 100%);


    box-shadow:
      0 calc(26 * var(--px)) calc(90 * var(--px)) rgba(0,0,0,0.55),
      0 calc(8 * var(--px)) calc(26 * var(--px)) rgba(0,0,0,0.35),
      inset 0 0 0 calc(1 * var(--px)) rgba(255,255,255,0.06);
  }

  /* top bar inside panel */
  .mnav__top{
    padding: calc(22 * var(--px)) calc(24 * var(--px));
    background: rgba(0,0,0,0.12);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .mnav__logo{
    width: calc(56 * var(--px));
    height: calc(56 * var(--px));
    opacity: 0.9;
  }

  .mnav__close{
    width: calc(56 * var(--px));
    height: calc(56 * var(--px));
    opacity: 0.9;
  }
  .mnav__close span{
    width: calc(55 * var(--px));
    height: calc(55 * var(--px));
  }
  .mnav__close span::before,
  .mnav__close span::after{
    height: calc(3 * var(--px));
    background: rgba(255,255,255,0.85);
  }

  /* center glow behind buttons */
  .mnav__links{
    position: relative;
    padding: calc(66 * var(--px)) calc(28 * var(--px)) 0;
    gap: calc(26 * var(--px));
    max-height: 230px;
  }


  .mnav__btn{
    max-width: none;
    width: 100%;
    padding: calc(26 * var(--px)) calc(26 * var(--px));
    border-radius: calc(32 * var(--px));
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.10);
    box-shadow:
      0 calc(10 * var(--px)) calc(26 * var(--px)) rgba(0,0,0,0.25),
      inset 0 0 0 calc(1 * var(--px)) rgba(255,255,255,0.06);
    font-weight: 600;
    font-size: calc(70 * var(--px));
    letter-spacing: 0.01em;
  }

  .mnav__join{
    width: calc(70% - (calc(56 * var(--px))));
    margin-top: 20px;
    height: calc(150 * var(--px));
    border-radius: calc(999 * var(--px));
    background: rgba(244,240,255,0.95);
    box-shadow:
      0 calc(18 * var(--px)) calc(40 * var(--px)) rgba(0,0,0,0.35),
      inset 0 0 0 calc(1 * var(--px)) rgba(255,255,255,0.35);
    font-weight: 700;
    font-size: calc(56 * var(--px));
    letter-spacing: 0.01em;
  }
}


/* ---- hero location badge ---- */
.hero__place {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: calc(10 * var(--px));
  padding: calc(10 * var(--px)) calc(18 * var(--px));
  border-radius: calc(999 * var(--px));
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 0 calc(26 * var(--px)) rgba(124, 31, 255, 0.12);
}

.hero__placeIcon {
  width: calc(18 * var(--px));
  height: calc(18 * var(--px));
  flex: 0 0 auto;
  opacity: 0.95;
  filter: drop-shadow(0 0 calc(10 * var(--px)) rgba(124, 31, 255, 0.28));
}

.hero__placeText {
  display: inline-block;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 520px) {
  .hero__place {
    gap: calc(8 * var(--px));
    padding: calc(9 * var(--px)) calc(14 * var(--px));
    border-radius: calc(18 * var(--px));
  }
  .hero__placeText {
    letter-spacing: 0.10em;
  }
}


/* ---- gallery dots (mobile) ---- */
.gallery__dots {
  display: none;
  justify-content: center;
  align-items: center;
  gap: calc(15 * var(--px));
  margin-top: calc(14 * var(--px));
}

.gallery__dot {
  width: calc(25 * var(--px));
  height: calc(25 * var(--px));
  border-radius: 999px;
  background: rgba(124, 31, 255, 0.35);
  box-shadow: 0 0 calc(14 * var(--px)) rgba(124, 31, 255, 0.18);
}



@media (max-width: 680px) {
  .gallery__dots {
    display: flex;
  }
}
