/* КЛЁВОКОД — ContactSection flat port for Tilda */

:root {
  --index: calc(100vw / 320);
}

@keyframes ps-cs-floaty {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes ps-cs-floaty-330 {
  0%,
  100% {
    transform: rotate(330deg) translateY(0);
  }
  50% {
    transform: rotate(330deg) translateY(-12px);
  }
}

@keyframes ps-cs-floaty-325 {
  0%,
  100% {
    transform: rotate(325deg) translateY(0);
  }
  50% {
    transform: rotate(325deg) translateY(-12px);
  }
}

/* Изоляция от глобальных стилей Tilda (#allrecords button, a, h2…) */
#recPS_LEAD_FORM,
#lead-form {
  padding: 0 !important;
  margin: 0;
  box-sizing: border-box;
  font-family: var(--t-text-font, inherit);
  -webkit-font-smoothing: antialiased;
}

#recPS_LEAD_FORM *,
#recPS_LEAD_FORM *::before,
#recPS_LEAD_FORM *::after,
#lead-form *,
#lead-form *::before,
#lead-form *::after {
  box-sizing: border-box;
}

#lead-form h2,
#lead-form h3,
#lead-form p {
  margin: 0;
}

#lead-form ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#lead-form a {
  color: rgb(151, 81, 255);
  text-decoration: none;
}

#lead-form button {
  font-family: inherit;
  appearance: none;
  -webkit-appearance: none;
}

#lead-form [hidden] {
  display: none !important;
}

.ps-cs-container {
  max-width: 1160px;
  margin-inline: auto;
  padding: 0 20px;
}

@media (max-width: 1200px) {
  .ps-cs-container {
    max-width: 940px;
  }
}

@media (max-width: 960px) {
  .ps-cs-container {
    max-width: 620px;
  }
}

@media (max-width: 640px) {
  .ps-cs-container {
    max-width: 460px;
  }
}

@media (max-width: 480px) {
  .ps-cs-container {
    max-width: 100%;
    padding: 0 12px;
  }
}

.ps-cs-section {
  position: relative;
  padding-top: 0;
}

.ps-cs-back {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  background-image: linear-gradient(
    0.798turn,
    rgba(151, 81, 255, 1) 0%,
    rgba(168, 111, 254, 1) 39%,
    rgba(193, 151, 255, 1) 100%
  );
}

.ps-cs-gridImgFooter {
  background-image: url("/assets/images/home/contact/bgGrid.svg");
  opacity: 1;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  opacity: 0.4;
  background-position: 40% 125%;
  height: 100%;
  background-repeat: no-repeat;
}

.ps-cs-TryForm {
  justify-content: space-between;
  height: 100%;
  position: relative;
  display: flex;
}

.ps-cs-Try {
  position: relative;
  max-width: 900px;
  row-gap: 32px;
  display: flex;
  flex-direction: column;
}

.ps-cs-Try .ps-cs-content {
  max-width: 500px;
  display: flex;
  flex-direction: column;
  row-gap: 32px;
}

.ps-cs-Try .ps-cs-pricing {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 420px;
}

.ps-cs-pricingTitle {
  color: #ffffff;
  font-weight: 800;
  font-size: clamp(28px, 2.6vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.3px;
  margin: 0;
}

.ps-cs-pricingRow {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
}

.ps-cs-pricingBadge {
  transform: rotate(-4deg);
  border-radius: 999px;
  background: linear-gradient(
    95deg,
    rgb(255, 175, 27) 17%,
    rgb(252, 147, 33) 74%,
    rgb(250, 124, 38) 119%
  );
  box-shadow: rgba(250, 124, 38, 0.4) 0 6px 20px 0;
  padding: 8px 14px;
  flex-shrink: 0;
  font-weight: 800;
  font-size: 20px;
  line-height: 20px;
  color: #fff;
  white-space: nowrap;
}

.ps-cs-pricingPrices {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ps-cs-pricingCurrent {
  font-weight: 900;
  font-size: clamp(24px, 2.2vw, 30px);
  line-height: 1.1;
  letter-spacing: -0.3px;
  color: #ceff71;
  white-space: nowrap;
}

.ps-cs-pricingCurrent small {
  font-size: 0.6em;
  font-weight: 600;
}

.ps-cs-pricingOld {
  font-weight: 600;
  font-size: 15px;
  line-height: 20px;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: line-through;
  white-space: nowrap;
}

.ps-cs-pricingNote {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
  font-weight: 600;
  font-size: 14px;
  line-height: 19px;
  color: rgba(255, 255, 255, 0.9);
}

.ps-cs-pricingDot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ceff71;
  flex-shrink: 0;
}

.ps-cs-pricingDivider {
  height: 1px;
  background: rgba(255, 255, 255, 0.25);
  align-self: stretch;
}

.ps-cs-pricingLessonLabel {
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1.44px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  line-height: 18px;
}

.ps-cs-pricingLessonPrice {
  font-weight: 600;
  font-size: 28px;
  line-height: 32px;
  letter-spacing: -0.3px;
  color: #fff;
  white-space: nowrap;
}

.ps-cs-pricingLessonPrice span {
  font-size: 18px;
}

.ps-cs-Try .ps-cs-trustBadge {
  position: absolute;
  top: 195px;
  right: 340px;
  border: 1px solid #be93ff;
  transform: rotate(10deg);
  border-radius: 100px;
  padding: 8px 16px 8px 16px;
  box-shadow: 0px 4px 14px 0px rgba(89, 37, 166, 0.1);
  background-image: linear-gradient(
    0.798turn,
    rgba(151, 81, 255, 1) 0%,
    rgba(168, 111, 254, 1) 39%,
    rgba(193, 151, 255, 1) 100%
  );
  min-width: 240px;
  max-width: 240px;
  color: #ffffff;
  font-size: 18px;
  line-height: 1;
  font-weight: 600;
}

.ps-cs-Try > .ps-cs-robotWrapper {
  right: -255px;
  top: 30px;
  position: relative;
  width: 370px;
  height: 370px;
  flex-shrink: 0;
}

.ps-cs-Try > .ps-cs-robotWrapper .ps-cs-robot {
  background-image: url("/assets/images/home/contact/robot.png");
  width: 100%;
  height: 100%;
  z-index: 1;
  background-repeat: no-repeat;
  background-size: contain;
  filter: drop-shadow(rgba(60, 20, 130, 0.4) 0px 30px 60px);
  animation: ps-cs-floaty 5s ease-in-out infinite;
}

.ps-cs-Try > .ps-cs-robotWrapper .ps-cs-airPath {
  z-index: 0;
  position: absolute;
  top: 170px;
  right: -540px;
  width: 781px;
  height: 421px;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("/assets/images/home/contact/path42.svg");
}

.ps-cs-Try > .ps-cs-robotWrapper .ps-cs-dialog {
  position: absolute;
  background-image: url("/assets/images/home/contact/dialog.png");
  background-repeat: no-repeat;
  background-size: contain;
  width: 227px;
  height: 175px;
  top: -30px;
  left: -155px;
}

.ps-cs-Try > .ps-cs-robotWrapper .ps-cs-badgeList {
  position: absolute;
  top: -55px;
  right: 0px;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
}

.ps-cs-Try > .ps-cs-robotWrapper .ps-cs-badge {
  position: relative;
  padding: 8px 12px 8px 12px;
  background-image: linear-gradient(
    0.399turn,
    rgba(250, 124, 38, 1) 0%,
    rgba(255, 175, 27, 1) 100%
  );
  border-radius: 100px;
  color: #ffffff;
  font-size: 18px;
  line-height: 1;
  font-weight: 700;
}

.ps-cs-Try > .ps-cs-robotWrapper .ps-cs-badge:first-child {
  top: 2px;
  z-index: 1;
  transform: rotate(356deg);
}

.ps-cs-Try > .ps-cs-robotWrapper .ps-cs-badge:nth-child(2) {
  background-image: linear-gradient(
    0.399turn,
    rgba(255, 175, 27, 1) 0%,
    rgba(250, 124, 38, 1) 100%
  );
}

.ps-cs-FormDes {
  display: flex;
  flex-direction: column;
  row-gap: 24px;
}

.ps-cs-Form {
  position: relative;
  display: flex;
  margin: 0;
  padding: 40px 36px 36px;
  border-radius: 30px;
  flex-direction: column;
  row-gap: 20px;
  width: 486px;
  background-color: #f9f7ff;
  box-shadow: 0 25px 70px 0 rgba(80, 40, 170, 0.3);
  height: auto;
  border: none;
}

.ps-cs-formTitle {
  color: rgb(34, 37, 51);
  font-size: 30px;
  line-height: 33px;
  letter-spacing: -0.3px;
  font-weight: 800;
  margin-top: 6px;
  margin-bottom: -12px;
}

.ps-cs-formDes {
  color: rgb(90, 94, 112);
  font-size: 15px;
  line-height: 21.75px;
  font-weight: 500;
}

.ps-cs-tabletFree {
  border-radius: 999px;
  padding: 6px 16px;
  background-color: #ceff71;
  box-shadow: 0 6px 18px 0 rgba(206, 255, 113, 0.5);
  position: absolute;
  top: -15px;
  left: 32px;
  color: rgb(34, 37, 51);
  font-size: 12px;
  line-height: 18px;
  letter-spacing: 0.96px;
  text-transform: uppercase;
  font-weight: 800;
  white-space: nowrap;
}

.ps-cs-formInput {
  display: flex;
  flex-direction: column;
}

.ps-cs-onlineForm,
.ps-cs-geoForm {
  margin-top: 0;
}

.ps-cs-chooseTitle {
  padding-bottom: 0;
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 22.5px;
  font-weight: 600;
  color: rgb(34, 37, 51);
}

#lead-form .ps-cs-buttonGet {
  text-decoration: none;
  color: #ffffff;
  font-weight: 700;
  border-radius: 16px;
  font-size: 17px;
  line-height: 25.5px;
  cursor: pointer;
  background-color: rgb(106, 51, 249);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, transform 0.15s ease;
  height: 58px;
  width: 100%;
  padding: 0;
  text-align: center;
  border: none;
}

#lead-form .ps-cs-buttonGet:hover {
  background-color: rgb(122, 72, 255);
  transform: translateY(-1px);
}

#lead-form .ps-cs-buttonGet:active {
  transform: translateY(1px);
}

#lead-form .ps-cs-buttonGet:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.ps-cs-info {
  justify-content: center;
  align-items: center;
  display: flex;
  color: #ffffff;
  opacity: 0.95;
  font-size: 16px;
  line-height: 22px;
  font-weight: 600;
}

.ps-cs-formAction {
  display: flex;
  flex-direction: column;
  row-gap: 0;
}

.ps-cs-switcher {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ps-cs-switcherItem {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 15px;
  color: rgb(34, 37, 51);
}

.ps-cs-switcherItem input[type="radio"] {
  display: none;
}

.ps-cs-switcherItem input[type="radio"]:checked + .ps-cs-customCircle {
  border-color: rgb(151, 81, 255);
}

.ps-cs-switcherItem input[type="radio"]:checked + .ps-cs-customCircle::before {
  opacity: 1;
}

.ps-cs-customCircle {
  width: 20px;
  height: 20px;
  border: 2px solid rgb(201, 201, 210);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  flex-shrink: 0;
  transition: border-color 0.15s ease;
}

.ps-cs-customCircle::before {
  content: "";
  width: 10px;
  height: 10px;
  background-color: rgb(151, 81, 255);
  border-radius: 999px;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.ps-cs-switcherItem:hover .ps-cs-customCircle {
  border-color: rgb(151, 81, 255);
}

.ps-cs-switchLabel {
  font-size: 15px;
  line-height: 22.5px;
  font-weight: 500;
  color: rgb(34, 37, 51);
  white-space: nowrap;
}

.ps-cs-checkBoxField {
  display: flex;
  align-items: flex-start;
  column-gap: 12px;
}

.ps-cs-checkBoxField input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  padding: 0;
  border: 2px solid rgb(151, 81, 255);
  border-radius: 7px;
  background: #fff;
  flex-shrink: 0;
  cursor: pointer;
  position: relative;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.ps-cs-checkBoxField input[type="checkbox"]:checked {
  border-color: rgb(151, 81, 255);
  background-color: rgb(151, 81, 255);
}

.ps-cs-checkBoxField input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 5px;
  width: 6px;
  height: 11px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.ps-cs-checkBoxField span {
  font-size: 12.5px;
  font-weight: 500;
  line-height: 17.5px;
  color: rgb(122, 126, 144);
}

.ps-cs-checkBoxField a {
  color: rgb(151, 81, 255);
  text-decoration: none;
}

.ps-cs-checkBoxField .ps-cs-checkBox {
  width: 20px;
  padding-top: 1px;
}

.ps-cs-mobileRobot {
  display: none;
  position: relative;
}

.ps-cs-mobileRobot .ps-cs-trustBadge {
  position: absolute;
  top: 195px;
  right: 340px;
  border: 1px solid #be93ff;
  transform: rotate(10deg);
  border-radius: 100px;
  padding: 8px 16px 8px 16px;
  box-shadow: 0px 4px 14px 0px rgba(89, 37, 166, 0.1);
  background-image: linear-gradient(
    0.798turn,
    rgba(151, 81, 255, 1) 0%,
    rgba(168, 111, 254, 1) 39%,
    rgba(193, 151, 255, 1) 100%
  );
  min-width: 240px;
  max-width: 240px;
  color: #ffffff;
  font-size: 18px;
  line-height: 1;
  font-weight: 600;
}

.ps-cs-mobileRobot .ps-cs-robotWrapper {
  right: -255px;
  top: 30px;
  position: relative;
  width: 370px;
  height: 370px;
  flex-shrink: 0;
}

.ps-cs-mobileRobot .ps-cs-robotWrapper .ps-cs-robot {
  background-image: url("/assets/images/home/contact/robot.png");
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: contain;
  filter: drop-shadow(rgba(60, 20, 130, 0.4) 0px 30px 60px);
  animation: ps-cs-floaty 5s ease-in-out infinite;
}

.ps-cs-mobileRobot .ps-cs-robotWrapper .ps-cs-airPath {
  position: absolute;
  top: 170px;
  right: -540px;
  width: 781px;
  height: 421px;
  background-repeat: no-repeat;
  background-size: contain;
  background-image: url("/assets/images/home/contact/path42.svg");
}

.ps-cs-mobileRobot .ps-cs-robotWrapper .ps-cs-dialog {
  position: absolute;
  background-image: url("/assets/images/home/contact/dialog.png");
  background-repeat: no-repeat;
  background-size: contain;
  width: 227px;
  height: 175px;
  top: -30px;
  left: -155px;
}

.ps-cs-mobileRobot .ps-cs-robotWrapper .ps-cs-badgeList {
  position: absolute;
  top: -55px;
  right: 0px;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
}

.ps-cs-mobileRobot .ps-cs-robotWrapper .ps-cs-badge {
  position: relative;
  padding: 8px 12px 8px 12px;
  background-image: linear-gradient(
    0.399turn,
    rgba(250, 124, 38, 1) 0%,
    rgba(255, 175, 27, 1) 100%
  );
  border-radius: 100px;
  color: #ffffff;
  font-size: 18px;
  line-height: 1;
  font-weight: 700;
}

.ps-cs-mobileRobot .ps-cs-robotWrapper .ps-cs-badge:first-child {
  top: 2px;
  z-index: 1;
  transform: rotate(356deg);
}

.ps-cs-mobileRobot .ps-cs-robotWrapper .ps-cs-badge:nth-child(2) {
  background-image: linear-gradient(
    0.399turn,
    rgba(255, 175, 27, 1) 0%,
    rgba(250, 124, 38, 1) 100%
  );
}

/* Поля формы — как Input.module.scss на главной */
#lead-form .ps-cs-input {
  transition: 0.3s border;
  width: 100%;
  height: 54px;
  outline: none;
  padding: 0 16px;
  border-radius: 14px;
  font-weight: 500;
  font-size: 16px;
  color: rgb(34, 37, 51);
  border: 1px solid rgb(226, 226, 232);
  background: #fff;
  margin: 0;
  font-family: inherit;
  box-sizing: border-box;
}

#lead-form .ps-cs-input::placeholder {
  opacity: 1;
  color: rgb(122, 126, 144);
}

#lead-form .ps-cs-input:hover {
  border: 1px solid #c3adfd;
}

#lead-form .ps-cs-input:focus {
  border: 1px solid #c3adfd;
  outline: none;
}

#lead-form .ps-cs-input.ps-cs-input--error {
  border-color: #ff2f20;
}

.ps-cs-phoneWrap {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.ps-cs-phoneFlag {
  position: absolute;
  left: 16px;
  width: 19px;
  height: 12px;
  pointer-events: none;
  z-index: 1;
}

#lead-form .ps-cs-input.ps-cs-input--phone {
  padding-left: 41px;
}

.ps-cs-fieldError {
  font-size: 12px;
  color: #ff2f20;
  min-height: 16px;
  display: block;
  margin-top: 3px;
  margin-bottom: 12px;
  line-height: 1.3;
}

/* Слот под ошибку name/phone — как Input.module.scss на главной */
#lead-form .ps-cs-formInput .ps-cs-fieldError:empty {
  display: block;
  visibility: hidden;
}

/* Пустая ошибка согласия не занимает место перед кнопкой */
#lead-form .ps-cs-Form > .ps-cs-fieldError[data-ps-error='consent']:empty {
  display: none;
}

.ps-cs-formStatus {
  font-size: 14px;
  min-height: 20px;
}

.ps-cs-formStatus--success {
  color: #2e7d32;
}

.ps-cs-formStatus--error {
  color: #e53935;
}

.ps-form-success-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000001;
  background-color: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.ps-form-success-modal {
  position: relative;
  width: 500px;
  max-width: 100%;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(34, 37, 51, 0.18);
}

.ps-form-success-close {
  cursor: pointer;
  background-color: transparent;
  position: absolute;
  border: none;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  z-index: 10;
  transition: background-color 0.2s ease;
}

.ps-form-success-close:hover {
  background-color: rgba(0, 0, 0, 0.07);
}

.ps-form-success-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 40px 44px;
  position: relative;
}

.ps-form-success-body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #6a33f9 0%, #62c584 100%);
}

.ps-form-success-iconWrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e8f8ee 0%, #d0f0db 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  flex-shrink: 0;
}

.ps-form-success-check {
  width: 36px;
  height: 36px;
}

.ps-form-success-title {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a2e;
  text-align: center;
  line-height: 1.35;
  margin: 0 0 12px;
}

.ps-form-success-subtitle {
  font-size: 15px;
  line-height: 1.6;
  color: #6b7280;
  text-align: center;
  font-weight: 400;
  margin: 0;
}

@media (max-width: 960px) {
  .ps-form-success-overlay {
    align-items: flex-end;
    padding: 0;
  }

  .ps-form-success-modal {
    border-radius: 20px 20px 0 0;
    width: 100%;
  }

  .ps-form-success-body {
    padding: 44px 32px 40px;
  }
}

@media (max-width: 480px) {
  .ps-form-success-body {
    padding: 40px 24px 36px;
  }

  .ps-form-success-title {
    font-size: 18px;
  }

  .ps-form-success-subtitle {
    font-size: 14px;
  }
}

@media (max-width: 1200px) {
  .ps-cs-FormDes {
    row-gap: 44px;
  }

  .ps-cs-Form {
    width: 456px;
    height: auto;
  }

  .ps-cs-Try {
    padding-left: 10px;
  }

  .ps-cs-Try .ps-cs-title {
    font-size: 36px;
  }

  .ps-cs-Try .ps-cs-trustBadge {
    position: absolute;
    top: 195px;
    right: auto;
    left: -30%;
    min-width: 0;
    max-width: none;
    width: 194px;
    font-size: 14px;
    line-height: 1;
    font-weight: 600;
  }

  .ps-cs-Try .ps-cs-robotWrapper {
    right: -25%;
    top: 20%;
    width: 370px;
    height: 370px;
  }

  .ps-cs-Try .ps-cs-robotWrapper .ps-cs-robot {
    background-repeat: no-repeat;
    background-position: center center;
    width: 266px;
    height: 266px;
    background-size: cover;
    filter: drop-shadow(rgba(60, 20, 130, 0.4) 0px 30px 60px);
    animation: ps-cs-floaty 5s ease-in-out infinite;
  }

  .ps-cs-Try .ps-cs-robotWrapper .ps-cs-airPath {
    top: 42%;
    right: -18%;
    transform: rotate(7deg);
    width: 333px;
    height: 256px;
  }

  .ps-cs-Try .ps-cs-robotWrapper .ps-cs-dialog {
    width: 208px;
    height: 163px;
    top: -20%;
    left: -40%;
  }

  .ps-cs-Try .ps-cs-robotWrapper .ps-cs-badgeList {
    top: -20%;
    right: auto;
    left: 25%;
  }

  .ps-cs-Try .ps-cs-robotWrapper .ps-cs-badge {
    font-size: 18px;
    line-height: 1;
  }
}

@media (max-width: 960px) {
  .ps-cs-back {
    padding: 44px 0 0 0;
  }

  .ps-cs-section {
    overflow: hidden;
  }

  .ps-cs-TryForm {
    flex-wrap: wrap;
    row-gap: 20px;
  }

  .ps-cs-FormDes {
    row-gap: 38px;
    width: 100%;
  }

  .ps-cs-Form {
    width: 100%;
    height: auto;
  }

  .ps-cs-pricingTitle {
    font-size: 30px;
  }

  .ps-cs-pricingRow {
    flex-wrap: wrap;
    gap: 12px;
  }

  .ps-cs-pricingCurrent {
    font-size: 24px;
  }

  .ps-cs-pricingLessonPrice {
    font-size: 22px;
  }

  .ps-cs-Des .ps-cs-info {
    font-size: 16px;
  }

  .ps-cs-Try {
    padding-left: 10px;
  }

  .ps-cs-Try .ps-cs-content {
    max-width: none;
  }

  .ps-cs-Try .ps-cs-content .ps-cs-title {
    font-size: 30px;
  }

  .ps-cs-Try .ps-cs-content .ps-cs-desc {
    font-size: 16px;
    max-width: 506px;
  }

  .ps-cs-Try .ps-cs-content .ps-cs-courses .ps-cs-liTitle {
    font-size: 16px;
  }

  .ps-cs-Try .ps-cs-content .ps-cs-courses .ps-cs-listItem span {
    font-size: 16px;
  }

  .ps-cs-Try .ps-cs-robotWrapper {
    display: none;
  }

  .ps-cs-mobileRobot {
    display: block;
    height: 280px;
  }

  .ps-cs-mobileRobot .ps-cs-trustBadge {
    position: absolute;
    top: 150px;
    right: auto;
    left: -35%;
    min-width: 0;
    max-width: none;
    width: 194px;
    font-size: 14px;
    line-height: 1;
    font-weight: 600;
  }

  .ps-cs-mobileRobot .ps-cs-robotWrapper {
    right: -51%;
    top: 2%;
    width: 370px;
    height: 370px;
  }

  .ps-cs-mobileRobot .ps-cs-robotWrapper .ps-cs-robot {
    background-repeat: no-repeat;
    background-position: center center;
    width: 245px;
    height: 245px;
    background-size: cover;
    filter: drop-shadow(rgba(60, 20, 130, 0.4) 0px 30px 60px);
    animation: ps-cs-floaty-330 5s ease-in-out infinite;
  }

  .ps-cs-mobileRobot .ps-cs-robotWrapper .ps-cs-airPath {
    top: 40%;
    right: 0%;
    transform: rotate(35deg);
    width: 369px;
  }

  .ps-cs-mobileRobot .ps-cs-robotWrapper .ps-cs-dialog {
    width: 198px;
    height: 155px;
    top: -4%;
    left: -45%;
  }

  .ps-cs-mobileRobot .ps-cs-robotWrapper .ps-cs-badgeList {
    top: 10%;
    right: auto;
    left: 57%;
  }

  .ps-cs-mobileRobot .ps-cs-robotWrapper .ps-cs-badge {
    font-size: 14px;
    line-height: 1;
    min-width: 163px;
  }

  .ps-cs-mobileRobot .ps-cs-robotWrapper .ps-cs-badge:nth-child(1) {
    min-width: 180px;
  }
}

@media (max-width: 640px) {
  .ps-cs-mobileRobot {
    display: block;
    height: 250px;
  }

  .ps-cs-mobileRobot .ps-cs-trustBadge {
    position: absolute;
    top: 120px;
    right: auto;
    left: -35%;
    min-width: 0;
    max-width: 156px;
    font-size: 11px;
    line-height: 1;
    font-weight: 600;
  }

  .ps-cs-mobileRobot .ps-cs-robotWrapper {
    right: -40%;
    top: 10%;
    width: 350px;
    height: 350px;
  }

  .ps-cs-mobileRobot .ps-cs-robotWrapper .ps-cs-robot {
    width: 178px;
    height: 178px;
    filter: drop-shadow(rgba(60, 20, 130, 0.4) 0px 30px 60px);
    animation: ps-cs-floaty-330 5s ease-in-out infinite;
  }

  .ps-cs-mobileRobot .ps-cs-robotWrapper .ps-cs-airPath {
    top: 40%;
    right: 0%;
    transform: rotate(35deg);
    width: 304px;
    height: 239px;
  }

  .ps-cs-mobileRobot .ps-cs-robotWrapper .ps-cs-dialog {
    width: 136px;
    height: 106px;
    top: -6%;
    left: -30%;
  }

  .ps-cs-mobileRobot .ps-cs-robotWrapper .ps-cs-badgeList {
    top: 0%;
    right: auto;
    left: 43%;
  }

  .ps-cs-mobileRobot .ps-cs-robotWrapper .ps-cs-badge {
    font-size: 11px;
    line-height: 1;
    min-width: 133px;
  }

  .ps-cs-mobileRobot .ps-cs-robotWrapper .ps-cs-badge:nth-child(1) {
    min-width: 147px;
  }

  .ps-cs-Form .ps-cs-formTitle {
    font-size: 18px;
  }

  .ps-cs-Des .ps-cs-info {
    font-size: 14px;
  }

  .ps-cs-Try .ps-cs-content .ps-cs-title {
    font-size: 18px;
  }

  .ps-cs-Try .ps-cs-content .ps-cs-courses {
    margin-bottom: 10px;
  }

  .ps-cs-Try .ps-cs-content .ps-cs-courses .ps-cs-listItem span {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .ps-cs-Try {
    padding-left: 0;
  }

  .ps-cs-Try .ps-cs-content .ps-cs-title {
    font-size: clamp(10px, 5.627vw, 36px);
  }

  .ps-cs-Try .ps-cs-content .ps-cs-desc {
    font-size: clamp(10px, 3.72vw, 36px);
  }

  .ps-cs-Try .ps-cs-content .ps-cs-courses {
    margin-bottom: 10px;
  }

  .ps-cs-Try .ps-cs-content .ps-cs-courses .ps-cs-liTitle {
    font-size: clamp(10px, 3.75vw, 36px);
  }

  .ps-cs-Try .ps-cs-content .ps-cs-courses .ps-cs-listItem span {
    font-size: clamp(10px, 3.75vw, 36px);
  }

  .ps-cs-Form .ps-cs-formTitle {
    font-size: clamp(10px, 4.99vw, 36px);
  }

  .ps-cs-Form .ps-cs-formDes {
    font-size: clamp(10px, 3.75vw, 36px);
  }

  .ps-cs-Form .ps-cs-buttonGet {
    font-size: clamp(10px, 3.75vw, 36px);
  }

  .ps-cs-Form .ps-cs-chooseTitle {
    padding: 0;
    font-size: 14px;
  }

  .ps-cs-Des .ps-cs-info {
    font-size: clamp(10px, 3.64vw, 24px);
  }

  .ps-cs-mobileRobot {
    display: block;
    height: 85vw;
  }

  .ps-cs-mobileRobot .ps-cs-trustBadge {
    position: absolute;
    top: 45vw;
    right: auto;
    left: -15vw;
    padding: calc((8 / 320) * 100vw) calc((16 / 320) * 100vw);
    min-width: 0;
    max-width: none;
    width: 45.2vw;
    font-size: calc((10 / 320) * 100vw);
    line-height: 1;
    font-weight: 600;
  }

  .ps-cs-mobileRobot .ps-cs-robotWrapper {
    right: -18vw;
    top: 15vw;
    width: 109.37vw;
    height: 109.37vw;
  }

  .ps-cs-mobileRobot .ps-cs-robotWrapper .ps-cs-robot {
    filter: drop-shadow(rgba(60, 20, 130, 0.4) 0px 30px 60px);
    animation: ps-cs-floaty-325 5s ease-in-out infinite;
    width: 59.38vw;
    height: 59.38vw;
  }

  .ps-cs-mobileRobot .ps-cs-robotWrapper .ps-cs-airPath {
    top: 45vw;
    right: -5vw;
    transform: rotate(35deg);
    width: 96.6vw;
    height: 79.9vw;
  }

  .ps-cs-mobileRobot .ps-cs-robotWrapper .ps-cs-dialog {
    width: 34.5444vw;
    height: 27.0444vw;
    top: -9vw;
    left: -16vw;
  }

  .ps-cs-mobileRobot .ps-cs-robotWrapper .ps-cs-badgeList {
    top: -8vw;
    right: auto;
    left: 36vw;
  }

  .ps-cs-mobileRobot .ps-cs-robotWrapper .ps-cs-badge {
    padding: calc((6 / 320) * 100vw) calc((10 / 320) * 100vw);
    font-size: calc((10 / 320) * 100vw);
    line-height: 1;
    min-width: 38.5134vw;
  }

  .ps-cs-mobileRobot .ps-cs-robotWrapper .ps-cs-badge:nth-child(1) {
    min-width: 41.999vw;
  }
}

/* City selector + locations (ps-tilda-lead-form.js) */
@media (min-width: 1200px) {
  #rec658004045 .t396__artboard,
  #rec658004045 .t396__carrier,
  #rec658004045 .t396__filter,
  #rec708310613 .t396__artboard,
  #rec708310613 .t396__carrier,
  #rec708310613 .t396__filter,
  .ps-city-header-artboard,
  .ps-city-header-artboard > .t396__carrier,
  .ps-city-header-artboard > .t396__filter,
  .t396__artboard:has(.ps-city-mount),
  .t396__artboard:has(.ps-city-mount) > .t396__carrier,
  .t396__artboard:has(.ps-city-mount) > .t396__filter {
    height: 120px !important;
    min-height: 120px !important;
  }
}

#rec658004045 .t396__artboard,
#rec658004045 .t396__carrier,
#rec658004045 .t396__filter,
#rec708310613 .t396__artboard,
#rec708310613 .t396__carrier,
#rec708310613 .t396__filter,
.ps-city-header-artboard,
.ps-city-header-artboard > .t396__carrier,
.ps-city-header-artboard > .t396__filter,
.t396__artboard:has(.ps-city-mount),
.t396__artboard:has(.ps-city-mount) > .t396__carrier,
.t396__artboard:has(.ps-city-mount) > .t396__filter {
  overflow: visible !important;
}

#rec658004045 [data-elem-id="1470210033144"],
.ps-city-header-artboard [data-elem-id="1470210033144"],
.t396__artboard:has(.ps-city-mount) [data-elem-id="1470210033144"] {
  z-index: 3;
}

.ps-city-header-rec {
  overflow: visible !important;
}

/* Header logo — slightly narrower so the city selector has room and sits
   nicely centered vertically next to it */
.ps-city-header-artboard [data-elem-id="1470210033144"] img {
  height: 40px !important;
  width: 150px !important;
}

/* Lives inside the logo's own Tilda element (position:absolute), so it
   rides along automatically whenever the logo moves/resizes — no JS
   position recalculation needed. */
.ps-city-mount {
  position: absolute;
  top: 50%;
  left: 100%;
  z-index: 4;
  display: flex;
  align-items: center;
  margin-left: 27px;
  transform: translateY(-50%);
  min-height: 40px;
  height: auto;
  pointer-events: none;
}

.ps-city-mount .ps-city-bar {
  pointer-events: auto;
}

.ps-city-bar {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  flex-shrink: 0;
}

.ps-city-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: background-color 0.2s ease, opacity 0.2s ease;
  background: transparent;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
}

/* Только город — отдельная pill-кнопка */
.ps-city-btn--city {
  width: auto;
  height: 40px;
  padding: 0 10px 0 12px;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(34, 37, 51, 0.1);
}

.ps-city-btn--city:hover {
  background: #f3efff;
}

.ps-city-btn--city .ps-city-label {
  color: #6a33f9;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}

.ps-city-btn--city .ps-city-chevron {
  margin-left: 2px;
}

.ps-city-btn--region {
  display: none;
}

/* Город + район — единая карточка */
.ps-city-bar--stacked {
  min-width: 160px;
  padding: 6px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(80, 40, 170, 0.14);
}

.ps-city-bar--stacked .ps-city-btn--city {
  width: 100%;
  height: 38px;
  padding: 0 10px;
  border-radius: 10px;
  background: transparent;
  box-shadow: none;
}

.ps-city-bar--stacked .ps-city-btn--city:hover {
  background: #f3efff;
}

/* Both rows share the same right-aligned chevron so the card reads as one
   consistent control, not two mismatched buttons. */
.ps-city-bar--stacked .ps-city-btn--city .ps-city-chevron,
.ps-city-bar--stacked .ps-city-btn--region .ps-city-chevron {
  margin-left: auto;
}

.ps-city-bar--stacked .ps-city-btn--region {
  display: inline-flex;
  position: relative;
  top: auto;
  left: auto;
  height: auto;
  min-height: 38px;
  margin-top: 3px;
  padding: 4px 6px;
  border-radius: 10px;
  border: 1px solid #eee9f8;
}

.ps-city-bar--stacked .ps-city-btn--region:hover {
  opacity: 1;
  background: #f9f7ff;
}

.ps-city-btn--region .ps-city-label {
  color: #4a4e69;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}

/* Caption above the district label clarifies what the second row is for */
.ps-city-region-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  min-width: 0;
  overflow: hidden;
}

.ps-city-region-caption {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #a4a8ba;
  line-height: 1;
}

.ps-city-point {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background: url("/assets/images/header/point.svg") center / contain no-repeat;
}

/* Muted, smaller pin for the district row — same "location" language as the
   city pin above it, instead of an unrelated airplane icon. */
.ps-city-point--region {
  width: 12px;
  height: 15px;
  filter: grayscale(1) brightness(1.7);
}

.ps-city-chevron {
  flex-shrink: 0;
  display: block;
  width: 10px;
  height: 6px;
}

.ps-city-chevron--city {
  color: #6a33f9;
}

.ps-city-chevron--region {
  color: #4a4e69;
}

.ps-city-btn[hidden],
.ps-city-mount [hidden] {
  display: none !important;
}

/* /online — «Для кого» перекрывается селектором города */
[data-tilda-page-alias="online"] #rec708310613 [data-elem-id="1624616766254"] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

[data-tilda-page-alias="online"] #rec708310613 .ps-city-header-artboard,
[data-tilda-page-alias="online"] #rec708310613 .ps-city-header-artboard > .t396__carrier,
[data-tilda-page-alias="online"] #rec708310613 .ps-city-header-artboard > .t396__filter {
  min-height: 124px !important;
}

@media (min-width: 1200px) {
  [data-tilda-page-alias="online"] #rec708310613 .ps-city-header-artboard,
  [data-tilda-page-alias="online"] #rec708310613 .ps-city-header-artboard > .t396__carrier,
  [data-tilda-page-alias="online"] #rec708310613 .ps-city-header-artboard > .t396__filter {
    height: 124px !important;
  }
}

[data-tilda-page-alias="online"] .ps-city-mobile-dock {
  padding-top: 12px;
}

@media (max-width: 980px) {
  [data-tilda-page-alias="online"] #rec708310614 .t280__container.t280__positionfixed {
    padding-top: 8px;
    box-sizing: border-box;
  }
}

@media (max-width: 1199px) {
  .ps-city-mount {
    display: none !important;
  }

  .ps-city-mobile-dock {
    position: relative;
    top: 0;
    width: 100%;
    box-sizing: border-box;
    z-index: 2;
    padding: 10px 12px;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(34, 37, 51, 0.08);
  }

  .ps-city-mobile-dock[hidden] {
    display: none !important;
  }

  .ps-city-bar--mobile {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 10px;
  }

  .ps-city-bar--mobile.ps-city-bar--stacked {
    min-width: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .ps-city-bar--mobile .ps-city-btn--city {
    width: auto;
    max-width: 55%;
    flex-shrink: 0;
  }

  /* Same pill look as the city button — was stretching full-width with no
     background/border-radius, so it didn't read as a tappable button. */
  .ps-city-bar--mobile .ps-city-btn--region {
    display: inline-flex;
    width: auto;
    flex: 0 1 auto;
    min-width: 0;
    max-width: 45%;
    height: 44px;
    margin-top: 0;
    padding: 0 10px 0 12px;
    border-top: none;
    border-radius: 12px;
    background: #f3efff;
    box-shadow: none;
  }

  .ps-city-bar--mobile .ps-city-btn--region:hover {
    background: #ebe3ff;
  }

  .ps-city-bar--mobile .ps-city-region-text {
    flex-direction: row;
    align-items: center;
    gap: 4px;
    min-width: 0;
  }

  .ps-city-bar--mobile .ps-city-region-caption {
    display: none;
  }

  .ps-city-bar--mobile .ps-city-btn--region .ps-city-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .ps-city-bar--mobile .ps-city-btn--region .ps-city-chevron {
    margin-left: auto;
    flex-shrink: 0;
  }

  .ps-city-bar--mobile:not(.ps-city-bar--has-region) .ps-city-btn--city {
    max-width: 100%;
  }
}

@media (max-width: 980px) {
  /* Smaller logo in T280 burger-menu header. */
  .ps-city-header-artboard [data-elem-id="1470210033144"] img,
  [data-elem-id="1470210033144"] img {
    height: 30px !important;
    width: auto !important;
  }
}

/* Header phone: не переносить; при mobile-dock (<1200) телефон в шапке скрываем. */
.ps-city-header-artboard [data-elem-id="1626794539720"] .tn-atom,
.ps-city-header-artboard [data-elem-id="1626794539720"] .tn-atom a {
  white-space: nowrap !important;
}

@media (max-width: 1199px) and (min-width: 981px) {
  .ps-city-header-artboard [data-elem-id="1626794539720"] {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

/* Mobile burger-menu header (T280 block, Tilda's own "t-screenmax-980px"
   class already keeps it mobile-only — no media query needed here). Match
   the 30px logo height used in the desktop-nav's mobile breakpoint above. */
.t280__logo__img {
  height: 30px !important;
  width: auto !important;
}

/* Tilda bakes a fixed min-height (~76px) into the mobile menu bar's logo
   slot, sized for the original ~40px logo. Shrink it to match the 30px
   logo above, so the whole burger-menu bar gets more compact too. */
.t280__logo__container {
  min-height: 60px !important;
}

.ps-city-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.ps-city-modal {
  position: relative;
  background: #fff;
  border-radius: 30px;
  width: 100%;
  max-width: 740px;
  max-height: 90.5vh;
  overflow: auto;
  box-shadow: 0 24px 80px rgba(34, 37, 51, 0.18);
}

.ps-city-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.ps-city-modal-close:hover {
  background-color: rgba(0, 0, 0, 0.07);
}

.ps-city-modal-close:active {
  background-color: rgba(0, 0, 0, 0.13);
}

.ps-city-modal-inner {
  display: flex;
  flex-direction: column;
  row-gap: 28px;
  padding: 32px 48px 38px;
}

.ps-city-modal h3 {
  margin: 0;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 700;
  text-align: center;
  color: #222533;
}

.ps-city-modal-search {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid #e2e2e8;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  box-sizing: border-box;
}

.ps-city-modal-search:focus {
  border-color: #c3adfd;
}

.ps-city-modal-list {
  display: flex;
  flex-direction: column;
  row-gap: 18px;
  max-height: 70vh;
  overflow-y: auto;
}

.ps-city-modal-list--grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 24px;
  row-gap: 16px;
  height: 50vh;
  max-height: 50vh;
}

.ps-city-modal-item {
  border: none;
  background: transparent;
  text-align: left;
  cursor: pointer;
  color: #222533;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  padding: 0;
  font-family: inherit;
  transition: opacity 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ps-city-modal-item--selected {
  font-weight: 700;
  cursor: default;
  pointer-events: none;
}

.ps-city-modal-check {
  flex-shrink: 0;
  display: inline-flex;
  color: #6a33f9;
}

.ps-city-modal-item:hover:not(:disabled):not(.ps-city-modal-item--selected) {
  opacity: 0.7;
}

.ps-city-modal-item--disabled,
.ps-city-modal-item:disabled:not(.ps-city-modal-item--selected) {
  opacity: 0.4;
  cursor: default;
}

.ps-city-modal-item--selected:disabled {
  opacity: 1;
  cursor: default;
}

/* Legacy Tilda footer maps — replaced by #recPS_LOCATIONS */
#rec345133462,
#rec345133537 {
  display: none !important;
}

/* IT-camp: белый логотип в шапке, Montserrat для телефонов */
#rec2041795411 .tn-atom__img[src*="logoWhite"],
#rec2041795401 .tn-atom__img[src*="logoWhite"] {
  width: 184px;
  height: auto;
}

#rec2041795411 [data-group-id="1769675406695000004"] .tn-atom,
#rec2041795411 [data-group-id="1769675394612000003"] .tn-atom,
#rec2041795421 [data-group-id="1769675406695000004"] .tn-atom,
#rec2041795421 [data-group-id="1769675394612000003"] .tn-atom {
  font-family: Montserrat, Arial, sans-serif !important;
}

/* Promo widget — ниже шапки и селектора города */
#customWidget {
  top: 160px !important;
}

@media (max-width: 1200px) {
  #customWidget {
    bottom: auto !important;
  }
}

/* Locations — SelectSityAreaSection for Tilda */
.ps-loc-section {
  padding: 60px 0 80px;
  background: #fff;
  overflow-x: hidden;
  max-width: 100%;
}

.ps-loc-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
  overflow-x: hidden;
}

.ps-loc-header {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  margin-bottom: 30px;
}

.ps-loc-header h2 {
  margin: 0;
  color: #222533;
  font-size: 38px;
  line-height: 1.2;
  font-weight: 700;
}

.ps-loc-edit {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 0 4px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
}

.ps-loc-edit span:last-child {
  font-weight: 600;
  font-size: 18px;
  color: #6a33f9;
  line-height: 1.2;
}

.ps-loc-edit:hover span:last-child {
  text-decoration: underline;
}

.ps-loc-pencil {
  width: 10px;
  height: 10px;
  background: url("/assets/images/home/selectcityarea/pencil.svg") center / contain no-repeat;
}

.ps-loc-mapsArea {
  display: flex;
  gap: 28px;
  min-width: 0;
  max-width: 100%;
}

.ps-loc-list {
  flex: 1 1 calc((100% - 28px) / 2 - 50px);
  min-width: 0;
  max-width: 100%;
  max-height: 360px;
  overflow-x: hidden;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-right: 8px;
}

.ps-loc-mapWrap {
  flex: 0 1 calc((100% - 28px) / 2 + 50px);
  min-width: 0;
  max-width: 100%;
}

.ps-loc-map {
  height: 360px;
  border-radius: 20px;
  overflow: hidden;
  background: #f5f3ff;
}

.ps-loc-item {
  border: none;
  text-align: left;
  font-family: inherit;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  border-radius: 20px;
  background: #f5f2fc;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ps-loc-item--hub {
  position: relative;
  cursor: pointer;
  padding-right: 56px;
}

.ps-loc-item--hub:hover,
.ps-loc-item--active {
  background: #ebe6fa;
}

.ps-loc-item:not(.ps-loc-item--hub):hover,
.ps-loc-item:not(.ps-loc-item--hub).ps-loc-item--active {
  background: #ebe6fa;
  box-shadow: inset 0 0 0 2px rgba(106, 51, 249, 0.18);
}

.ps-loc-itemBody {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  max-width: 90%;
}

.ps-loc-addressTitle {
  color: #6a33f9;
  font-weight: 600;
}

.ps-loc-address,
.ps-loc-addressPlain {
  color: #222533;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.ps-loc-metro {
  color: #4a4e69;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.ps-loc-titleRow {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #6a33f9;
  font-weight: 500;
  font-size: 16px;
}

.ps-loc-point {
  width: 16px;
  height: 16px;
  background: url("/assets/images/home/selectcityarea/point.svg") center / contain no-repeat;
}

.ps-loc-circle {
  position: absolute;
  top: 6px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ps-loc-arrow {
  width: 18px;
  height: 12px;
  background: url("/assets/images/home/selectcityarea/arrow.svg") center / contain no-repeat;
}

.ps-loc-mapPin {
  position: relative;
  width: 40px;
  height: 52px;
  cursor: pointer;
  transform-origin: 50% 100%;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.ps-loc-mapPinShape {
  width: 100%;
  height: 100%;
  background: url("/assets/images/home/selectcityarea/map-pin.svg") center / contain no-repeat;
  filter: drop-shadow(0 4px 10px rgba(106, 51, 249, 0.28));
  transition: filter 0.22s ease;
}

.ps-loc-mapPin--active,
.ps-loc-mapPin:hover {
  transform: scale(1.32);
}

.ps-loc-mapPin--active .ps-loc-mapPinShape,
.ps-loc-mapPin:hover .ps-loc-mapPinShape {
  filter: drop-shadow(0 6px 16px rgba(106, 51, 249, 0.42));
}

@media (pointer: coarse) {
  .ps-loc-mapPin:hover {
    transform: none;
  }

  .ps-loc-mapPin:hover .ps-loc-mapPinShape {
    filter: drop-shadow(0 4px 10px rgba(106, 51, 249, 0.28));
  }
}

@media (max-width: 768px) {
  .ps-city-modal-inner {
    padding: 32px 10px 38px;
  }

  .ps-city-modal h3 {
    font-size: 18px;
  }

  .ps-city-modal-list--grid {
    grid-template-columns: 1fr;
    height: auto;
    max-height: 70vh;
  }

  .ps-city-btn--city .ps-city-label {
    font-size: 12px;
  }

  .ps-city-btn--region .ps-city-label {
    font-size: 12px;
  }

  .ps-city-modal-list {
    grid-template-columns: 1fr;
  }

  .ps-loc-section {
    padding: 40px 0 60px;
  }

  .ps-loc-container {
    padding: 0 12px;
  }

  .ps-loc-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .ps-loc-header h2 {
    font-size: 22px;
  }

  .ps-loc-edit span:last-child {
    font-size: 13px;
  }

  .ps-loc-mapsArea {
    flex-direction: column;
    gap: 18px;
  }

  .ps-loc-list {
    max-height: none;
    flex: none;
  }

  .ps-loc-map {
    height: 220px;
  }
}

/* Футер Tilda: адреса текущего сайта, как на главной */
.ps-footer-addr-title,
.ps-footer-addr-title .tn-atom {
  width: auto !important;
  max-width: none !important;
  height: auto !important;
  white-space: nowrap !important;
}

.ps-footer-addr-host,
.ps-footer-addr-host .tn-atom {
  height: auto !important;
  width: 280px !important;
}

.ps-footer-addresses {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ps-footer-addr {
  margin: 0;
  color: inherit;
  font-size: inherit;
  line-height: 1.45;
  font-weight: 400;
}

.ps-footer-addr-hidden {
  display: none !important;
  visibility: hidden !important;
}
