@font-face {
  font-family: 'NauryzRedKeds';
  src: url('/local/components/centrano/landing-uravnenie/templates/.default/fonts/NauryzRedKeds.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Manrope';
  src: url('/local/components/centrano/landing-uravnenie/templates/.default/fonts/Manrope-VariableFont_wght.ttf') format('truetype');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ur-bg: #f6f3e5;
  --ur-bg-mobile: #fbf4ed;
  --ur-blue: #1f5f78;
  --ur-orange: #e2a145;
  --ur-card: #8fb2bf;
  --ur-light-blue: #9eb8c2;
  --ur-yellow: #ffd664;
  --ur-cream: #f6f3e5;
  --ur-white: #fff;
  --ur-font: 'Montserrat', sans-serif;
  --ur-footer-font: 'Manrope', sans-serif;
  --ur-display: 'NauryzRedKeds', 'Montserrat', sans-serif;
  --ur-max: 1440px;
  --ur-gap: 20px;
  --ur-radius: 20px;
}

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

html {
  scroll-behavior: smooth;
}

body.uravnenie-page,
.uravnenie-page {
  margin: -8px;
  padding-bottom: 0;
  font-family: var(--ur-font);
  color: var(--ur-blue);
  background: var(--ur-bg);
  overflow-x: hidden;
}

.uravnenie-page img {
  max-width: 100%;
  display: block;
}

.uravnenie-page a,
.uravnenie-page button {
  /* font: inherit; */
  cursor: pointer;
}

.uravnenie-page section {
  position: relative;
}

/* Header */
.ur-header {
  padding: 20px;
  max-width: var(--ur-max);
  margin: 0 auto;
}

.ur-header__bar {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 20px;
  min-height: 82px;
  height: auto;
  padding: 10px 25px;
  /* background: var(--ur-blue); */
  border-radius: var(--ur-radius);
  overflow: hidden;
}

.ur-header__burger {
  display: none;
  position: relative;
  width: 57px;
  height: 57px;
  padding: 0;
  border: 0;
  background: transparent;
}

.ur-header__burger-close {
  display: none;
  position: absolute;
  inset: 0;
}

.ur-header__nav {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-self: start;
}

.ur-header__logo {
  justify-self: center;
  flex-shrink: 0;
  width: 104px;
  line-height: 0;
}

.ur-header__logo img {
  width: 104px;
  height: 83px;
  object-fit: contain;
}

.ur-header__logo .ur-header__logo-img--desktop {
  display: block;
}

.ur-header__logo .ur-header__logo-img--mobile {
  display: none;
}

.ur-header__link {
  display: inline-flex;
  align-items: center;
  height: 62px;
  color: rgba(31, 95, 120, 1);
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.ur-header__link:hover {
  opacity: 0.85;
}

.ur-header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  justify-self: end;
  min-width: 234px;
  height: 62px;
  max-height: 62px;
  padding: 10px 20px;
  background: rgba(0, 91, 117, 1);
  border-radius: 10px;
  color: var(--ur-white);
  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.ur-header__cta:hover {
  opacity: 0.92;
}

.ur-header__cta-text {
  display: inline;
}

/* Hero */
.ur-hero {
  max-width: var(--ur-max);
  margin: 0 auto;
  padding: 0 40px 40px;
}

.ur-hero__banner {
  position: relative;
  width: 100%;
  aspect-ratio: 1360 / 649;
  border-radius: 51px;
  overflow: hidden;
  margin-bottom: 0;
}

.ur-hero__banner-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ur-hero__content {
  display: none;
}

.ur-hero__title-wrap {
  position: relative;
  width: 100%;
  padding-top: 35px;
}

.ur-hero__title {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 62%;
  font-family: var(--ur-display);
  font-size: 91px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ur-hero__title span {
  display: block;
}

.ur-hero__hashtag {
  position: absolute;
  top: 52px;
  left: 58.5%;
  z-index: 2;
  transform: rotate(-4.4deg);
}

.ur-hero__hashtag span {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  background: var(--ur-orange);
  border-radius: 10px;
  color: var(--ur-white);
  font-family: var(--ur-font);
  font-size: 33px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

.ur-hero__arrow {
  position: absolute;
  top: 103px;
  right: 70px;
  left: auto;
  z-index: 2;
  width: 141px;
  height: auto;
  pointer-events: none;
}

.ur-hero__arrow--mobile {
  display: none !important;
}

.ur-hero__underline {
  position: absolute;
  left: -12px;
  top: 210px;
  width: 282px;
  transform: rotate(6.22deg);
  pointer-events: none;
}

/* Geo map */
.ur-geo {
  max-width: var(--ur-max);
  margin: 0 auto;
  padding: 0 40px 80px;
}

.ur-geo__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ur-geo__title {
  max-width: 1276px;
  margin: 0 0 24px;
  color: var(--ur-orange);
  font-size: 64px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.ur-geo__title-blue {
  color: var(--ur-blue);
}

.ur-geo__title-br {
  display: none;
}

.ur-geo__lead-br {
  display: none;
}

@media (min-width: 768px) {
  .ur-geo__title-br,
  .ur-geo__lead-br {
    display: revert;
  }
}

.ur-geo__lead {
  max-width: 1360px;
  margin: 0 0 40px;
  color: var(--ur-blue);
  font-size: 36px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
}

.ur-geo__map-desktop {
  width: 100%;
}

.ur-geo__svg-wrap {
  position: relative;
  width: 100%;
  cursor: pointer;
}

.ur-geo__svg {
  display: block;
  width: 100%;
  height: auto;
}

.ur-geo__region {
  fill: var(--ur-card);
  fill-opacity: 1;
  stroke: rgba(31, 95, 120, 0.08);
  stroke-width: 1;
  transition: fill 0.2s ease;
}

.ur-geo__region.is-inactive {
  pointer-events: none;
}

.ur-geo__region.is-active {
  cursor: pointer;
  pointer-events: all;
  outline: none;
}

.ur-geo__region.is-active:focus,
.ur-geo__region.is-active:focus-visible {
  outline: none;
}

.ur-geo__region.is-active:hover,
.ur-geo__region.is-active.is-hover {
  fill: var(--ur-orange);
}

.ur-geo__region.is-active.is-selected {
  fill: var(--ur-orange);
}

.ur-geo__markers {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.ur-geo__marker {
  position: absolute;
  width: 0;
  height: 0;
  transform: translate(-50%, -100%);
}

.ur-geo__marker-pin {
  position: absolute;
  left: 50%;
  bottom: 0;
  display: block;
  width: 12px;
  height: 12px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--ur-blue);
  box-shadow: 0 2px 6px rgba(31, 95, 120, 0.35);
  transform: translate(-50%, 0);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.ur-geo__marker-flag {
  position: absolute;
  left: 50%;
  bottom: 10px;
  display: block;
  width: 10px;
  height: 7px;
  border-radius: 1px 2px 1px 1px;
  background: var(--ur-orange);
  transform: translate(1px, 0);
  transform-origin: left bottom;
  transition: transform 0.2s ease, background 0.2s ease;
}

.ur-geo__marker-flag::before {
  content: '';
  position: absolute;
  left: -2px;
  bottom: 0;
  width: 2px;
  height: 12px;
  border-radius: 1px;
  background: var(--ur-blue);
}

.ur-geo__marker.is-hover .ur-geo__marker-pin,
.ur-geo__marker.is-selected .ur-geo__marker-pin {
  background: var(--ur-orange);
  transform: translate(-50%, 0) scale(1.2);
  box-shadow: 0 3px 10px rgba(226, 161, 69, 0.45);
}

.ur-geo__marker.is-hover .ur-geo__marker-flag,
.ur-geo__marker.is-selected .ur-geo__marker-flag {
  background: #fff;
  transform: translate(1px, 0) scale(1.1);
}

.ur-geo__tooltip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 28px;
  border-radius: 20px;
  background: #146d8a;
  color: var(--ur-cream);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
  transform: translate(-50%, -100%);
}

.ur-geo__tooltip::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ur-cream);
  transform: translateY(-50%);
}

.ur-geo__mobile {
  display: none;
  width: 100%;
}

.ur-geo__map-img {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 16px;
}

.ur-geo__select {
  position: relative;
  width: 100%;
  margin-bottom: 10px;
}

.ur-geo__select-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 50px;
  padding: 10px 16px;
  border: 2px solid var(--ur-blue);
  border-radius: 10px;
  background: var(--ur-bg-mobile);
  color: var(--ur-blue);
  font-size: 14px;
  font-weight: 500;
  text-align: left;
}

.ur-geo__select-arrow {
  flex-shrink: 0;
  width: 19px;
  height: 9px;
  background: url('/local/components/centrano/landing-uravnenie/templates/.default/images/geo-select-arrow.svg') center / contain no-repeat;
  transition: transform 0.2s ease;
}

.ur-geo__select.is-open .ur-geo__select-arrow {
  transform: rotate(180deg);
}

.ur-geo__select-list {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 5;
  max-height: 240px;
  margin: 0;
  padding: 8px 0;
  border: 2px solid var(--ur-blue);
  border-radius: 10px;
  background: var(--ur-bg-mobile);
  list-style: none;
  overflow-y: auto;
}

.ur-geo__select-option {
  padding: 10px 16px;
  color: var(--ur-blue);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.ur-geo__select-option:hover,
.ur-geo__select-option.is-selected {
  background: rgba(31, 95, 120, 0.08);
}

.ur-geo__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  padding: 10px 16px;
  border: 0;
  border-radius: 10px;
  background: var(--ur-orange);
  color: var(--ur-white);
  font-size: 14px;
  font-weight: 500;
  transition: opacity 0.2s ease;
}

.ur-geo__btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.ur-geo__btn:not(:disabled):hover {
  opacity: 0.92;
}

/* Geo donation modal */
.ur-geo-modal {
  position: fixed;
  inset: 0;
  z-index: 99990;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.ur-geo-modal.is-open {
  display: flex;
}

.ur-geo-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(31, 95, 120, 0.45);
}

.ur-geo-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(640px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 50px 24px 24px;
  background: var(--ur-bg);
  border: 1px solid var(--ur-blue);
  border-radius: var(--ur-radius);
}

.ur-geo-modal__close {
  position: absolute;
  top: 19px;
  right: 19px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 49px;
  height: 49px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease, opacity 0.2s ease;
}

.ur-geo-modal__close:hover,
.ur-geo-modal__close:focus-visible {
  transform: scale(1.08);
  filter: brightness(0.92);
}

.ur-geo-modal__close:focus-visible {
  outline: 2px solid var(--ur-blue);
  outline-offset: 3px;
}

.ur-geo-modal__close-bg {
  position: absolute;
  inset: 0;
  width: 49px;
  height: 49px;
}

.ur-geo-modal__close-x {
  position: relative;
  z-index: 1;
  width: 22px;
  height: 22px;
}

.ur-geo-modal__close-mobile {
  display: none !important;
}

.uravnenie-page .ur-geo-modal__close-bg,
.uravnenie-page .ur-geo-modal__close-x {
  display: block;
}

.ur-geo-modal__widget {
  position: relative;
  width: 100%;
}

/* Children cards */
.ur-children {
  max-width: var(--ur-max);
  margin: 0 auto;
  padding: 0 40px 80px;
}

.ur-children__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 20px;
}

.ur-child-card {
  position: relative;
  min-height: 610px;
  padding: 20px;
  background: var(--ur-card);
  border-radius: var(--ur-radius);
  overflow: hidden;
}

.ur-child-card__bg {
  position: absolute;
  inset: -9px;
  pointer-events: none;
  opacity: 0.35;
}

.ur-child-card__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ur-child-card__head {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: calc(100% - 185px);
}

.ur-child-card__name {
  margin: 0 0 15px;
  color: var(--ur-white);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

.ur-child-card__city {
  margin: 0 0 21px;
  color: var(--ur-white);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
}

.ur-child-card__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 29px;
  padding: 0 30px;
  border: 0;
  border-radius: 20px;
  background: var(--ur-orange);
  color: var(--ur-cream);
  font-size: 14px;
  font-weight: 700;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.ur-child-card__more:hover {
  background: #c88a2e;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(226, 161, 69, 0.35);
}

.ur-child-card__more:active {
  transform: translateY(0);
  box-shadow: none;
}

.ur-child-card__photo {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 3;
  width: 165px;
  height: 165px;
  border: 7px solid var(--ur-white);
  border-radius: 50%;
  overflow: hidden;
}

.ur-child-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/*
 * Никакого z-index здесь быть не должно: виджет donation.ru монтируется внутрь
 * этого блока и открывает свой поп-ап (fancybox / #d7_modal_overlay) прямо там же.
 * z-index создаёт контекст наложения, поп-ап запирается в нём, и карточки, идущие
 * ниже по DOM, начинают перекрывать открытое окно оплаты.
 * Порядок отрисовки внутри карточки задан порядком элементов в children.php.
 */
.ur-child-card__form {
  position: relative;
  margin-top: 24px;
  padding: 20px 10px 10px;
  background: var(--ur-white);
  border-radius: 10px;
}

.ur-child-card__form-title {
  margin: 0 0 14px 0;
  font-size: 20px;
  font-weight: 700;
}

.ur-child-card__input {
  display: block;
  width: 100%;
  height: 54px;
  margin-bottom: 10px;
  padding: 0 20px;
  border: 1px solid var(--ur-blue);
  border-radius: 10px;
  font-size: 16px;
  font-weight: 500;
  color: var(--ur-blue);
}

.ur-child-card__input::placeholder {
  color: #e0e0e0;
}

.ur-child-card__input.is-error {
  border-color: #d64545;
}

.ur-child-card__submit {
  width: 100%;
  height: 54px;
  border: 0;
  border-radius: 10px;
  background: var(--ur-blue);
  color: var(--ur-white);
  font-size: 16px;
  font-weight: 600;
}

.ur-child-card__help-mobile {
  display: none;
}

.ur-child-card__progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 130px;
  pointer-events: none;
}

/*
 * left/bottom/transform - стартовая позиция из макета. Дальше их пересчитывает script.js:
 * человечек встаёт на линию волны в точке, соответствующей проценту сбора.
 */
.ur-child-card__progress-decor {
  position: absolute;
  left: 72px;
  bottom: 75px;
  width: 87px;
  height: 89px;
  transform: rotate(2deg);
}

/* Класс вешается после первой расстановки, чтобы стартовый сдвиг не анимировался. */
.ur-child-card__progress.is-walker-ready .ur-child-card__progress-decor {
  transition: left 0.6s ease, bottom 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: reduce) {
  .ur-child-card__progress.is-walker-ready .ur-child-card__progress-decor {
    transition: none;
  }
}

.ur-child-card__backpack {
  position: absolute;
  inset: 0;
}

.ur-child-card__backpack-img {
  position: absolute;
  left: 8px;
  top: 8px;
  width: 77px;
  height: auto;
  transform: rotate(-8deg);
}

.ur-child-card__wave {
  position: absolute;
  left: 0;
  width: 100%;
}

.ur-child-card__wave--top {
  bottom: 56px;
}

.ur-child-card__wave--bottom {
  bottom: 0;
}

.ur-child-card__progress-text {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  z-index: 2;
  margin: 0;
  text-align: center;
  color: var(--ur-cream);
  font-size: 19px;
  font-weight: 600;
}

.ur-child-card__progress-value {
  color: var(--ur-orange);
  font-weight: 900;
}

.ur-child-card__star {
  position: absolute;
  bottom: 18px;
}

.ur-child-card__star--big {
  left: 89px;
  width: 23px;
}

.ur-child-card__star--small {
  left: 71px;
  bottom: 37px;
  width: 12px;
}

.ur-children__slider-nav {
  display: none;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.ur-children__slider-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #c4d4da;
}

.ur-children__slider-dot.is-active {
  background: var(--ur-blue);
}

/* About section */
.ur-about {
  position: relative;
  max-width: var(--ur-max);
  margin: 0 auto;
  min-height: auto;
  padding: 40px 40px 0px;
  overflow: visible;
}

.ur-about__decor {
  position: absolute;
  left: calc(50% - 50vw);
  top: -100px;
  z-index: 0;
  width: 334px;
  height: 610px;
  pointer-events: none;
}

.ur-about__decor-img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
}

.ur-about__title {
  position: relative;
  z-index: 1;
  margin: 0 0 18px;
  font-family: var(--ur-display);
  font-size: 90px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.ur-about__intro {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1360px;
  min-height: 270px;
  margin: 0 auto;
}

.ur-about__line {
  position: absolute;
  left: 50%;
  margin: 0;
  font-size: 36px;
  font-weight: 500;
  line-height: normal;
  white-space: nowrap;
  transform: translateX(-50%);
}

.ur-about__line--1 {
  top: 0;
  margin-left: -45px;
}

.ur-about__line--2 {
  top: 115px;
}

.ur-about__pill {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 45px;
  margin: 0;
  padding: 10px;
  font-size: 36px;
  font-weight: 500;
  line-height: normal;
  white-space: nowrap;
}

.ur-about__pill--blue {
  top: 60px;
  left: 24.8%;
  border-radius: 81px;
  background: var(--ur-blue);
  color: var(--ur-cream);
}

.ur-about__pill--orange {
  top: 159px;
  left: 48.9%;
  transform: rotate(-0.71deg);
  border-radius: 20px;
  background: var(--ur-orange);
  color: var(--ur-white);
}

.ur-about__star {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.ur-about__star--1 {
  left: 20.4%;
  top: 0;
  width: 59px;
  height: 86px;
  transform: rotate(-30deg);
}

.ur-about__star--2 {
  right: 19.9%;
  top: auto;
  bottom: 95px;
  width: 71px;
  height: 71px;
  transform: rotate(15deg);
}

.ur-about__star--3 {
  right: 15.7%;
  top: 35px;
  width: 64px;
  height: 73px;
  transform: rotate(-105deg);
}

.ur-about__star--4 {
  right: 10px;
  top: 100px;
  width: 196px;
  height: 214px;
  transform: scaleY(-1) rotate(-150deg);
  z-index: 0;
}

.ur-about__mobile-decor {
  display: none;
}

/* Features */
.ur-features {
  max-width: var(--ur-max);
  margin: 0 auto;
  padding: 0 40px 15px;
}

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

.ur-feature {
  position: relative;
  min-height: 262px;
  margin-top: 50px;
  padding: 70px 25px 30px;
  border-radius: var(--ur-radius);
  text-align: center;
  color: var(--ur-cream);
}

.ur-feature--orange {
  background: var(--ur-orange);
}

.ur-feature--blue {
  background: var(--ur-light-blue);
}

.ur-feature--yellow {
  background: var(--ur-yellow);
}

.ur-feature__icon {
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 100px;
}

.ur-feature__icon-ring {
  display: block;
  width: 100%;
  height: 100%;
}

.ur-feature__icon-backpack {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 66px;
  height: 83px;
  transform: translate(calc(-50% + 1.5px), calc(-50% - 4.7px));
  overflow: hidden;
  -webkit-mask-image: url('/local/components/centrano/landing-uravnenie/templates/.default/images/feature-photo-mask.svg');
  mask-image: url('/local/components/centrano/landing-uravnenie/templates/.default/images/feature-photo-mask.svg');
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  pointer-events: none;
}

.ur-feature__icon-backpack img {
  position: absolute;
  left: -19px;
  top: -97px;
  width: 366px;
  height: auto;
  max-width: none;
  object-fit: cover;
  pointer-events: none;
}

.ur-feature__icon-laptop {
  position: absolute;
  left: -4px;
  top: 0;
  width: 108px;
  height: 97px;
}

.ur-feature__icon-laptop img {
  display: block;
  width: 91px;
  height: 76px;
  margin: 0 auto;
  transform: rotate(-15deg);
  transform-origin: center center;
}

.ur-feature--blue .ur-feature__icon-laptop img {
  margin-top: 11px;
}

.ur-feature__icon-books {
  position: absolute;
  left: 15px;
  top: 20px;
  width: 71px;
  height: 60px;
  object-fit: cover;
}

.ur-feature__title {
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: 600;
  line-height: normal;
}

.ur-feature__text {
  margin: 0;
  max-width: 400px;
  margin-inline: auto;
  font-size: 20px;
  font-weight: 500;
  line-height: normal;
}

/* CTA */
.ur-cta {
  max-width: var(--ur-max);
  margin: 0 auto;
  padding: 0 40px 60px;
}

.ur-cta__inner {
  position: relative;
  min-height: 255px;
  background: var(--ur-blue);
  border-radius: var(--ur-radius);
  overflow: hidden;
  color: var(--ur-cream);
}

.ur-cta__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 26px 20px 25px;
  text-align: center;
}

.ur-cta__title {
  margin: 0 0 22px;
  max-width: 552px;
  font-size: 26px;
  font-weight: 600;
  line-height: normal;
}

.ur-cta__text {
  margin: 0 0 44px;
  max-width: 462px;
  font-size: 20px;
  font-weight: 600;
  line-height: normal;
}

.ur-cta__actions {
  position: relative;
  width: min(550px, 100%);
  height: 62px;
  margin: 0 auto;
}

.ur-cta__btn {
  position: absolute;
  left: 55px;
  top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 440px;
  max-width: calc(100% - 110px);
  min-width: 0;
  height: 62px;
  padding: 10px;
  background: var(--ur-yellow);
  border-radius: 10px;
  color: var(--ur-blue);
  font-size: 24px;
  font-weight: 600;
  line-height: normal;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.ur-cta__btn:hover,
.ur-cta__btn:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(31, 95, 120, 0.25);
  filter: brightness(1.04);
}

.ur-cta__btn:focus-visible {
  outline: 2px solid var(--ur-blue);
  outline-offset: 3px;
}

.ur-cta__photo {
  position: absolute;
  top: auto;
  right: 1.25%;
  bottom: 0;
  z-index: 1;
  width: 43.75%;
  max-width: 595px;
  height: auto;
  aspect-ratio: 595 / 281;
  object-fit: contain;
  object-position: right bottom;
  pointer-events: none;
}

.ur-cta__circle {
  position: absolute;
  pointer-events: none;
}

.ur-cta__star--left,
.ur-cta__star--right {
  display: block;
  width: 35px;
  height: 50px;
  pointer-events: none;
}

.ur-cta__star-picture {
  position: absolute;
  z-index: 3;
  pointer-events: none;
}

.ur-cta__star-picture--left {
  left: max(20px, calc(50% - 275px));
  bottom: 30px;
}

.ur-cta__star-picture--right {
  right: max(20px, calc(50% - 275px));
  left: auto;
  bottom: 30px;
}

.ur-cta__star-picture img {
  display: block;
  width: 35px;
  height: 50px;
}

.ur-cta__circle--big {
  left: -52px;
  top: 110px;
  z-index: 0;
  width: 197px;
}

.ur-cta__circle--sm1 {
  left: 70px;
  top: 24px;
  z-index: 0;
  width: 41px;
}

.ur-cta__circle--sm2 {
  left: 265px;
  top: 196px;
  z-index: 0;
  width: 20px;
}

/* Gallery */
.ur-gallery {
  max-width: var(--ur-max);
  margin: 60px auto 0;
  padding: 0 40px 80px;
}

.ur-gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.ur-gallery__item {
  position: relative;
  margin: 0;
  align-self: start;
  cursor: pointer;
}

/*
 * Виджет в плитке галереи нужен только ради окна оплаты - сам он не показывается.
 * Прятать его можно ТОЛЬКО уводом за экран: opacity, visibility и pointer-events
 * наследуются, а окно оплаты виджет рендерит внутрь этого же блока, и вместе с ним
 * оно становилось прозрачным и некликабельным. По той же причине не сжимаем блок
 * в 1px - виджету нужна вменяемая ширина для вёрстки формы.
 */
.ur-gallery__widget {
  position: absolute;
  top: 0;
  left: -9999px;
  width: 440px;
}

.ur-gallery__media {
  position: relative;
  width: 100%;
  transform-origin: center center;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.ur-gallery__item img {
  width: 100%;
  height: 383px;
  object-fit: cover;
  border-radius: var(--ur-radius);
}

.ur-gallery__item:hover img,
.ur-gallery__item:focus-visible img {
  box-shadow: none;
}

.ur-gallery__item:focus {
  outline: none;
}

.ur-gallery__item:focus-visible {
  outline: 3px solid var(--ur-orange);
  outline-offset: 4px;
  border-radius: var(--ur-radius);
}

.ur-gallery__label {
  position: absolute;
  left: 50%;
  bottom: -20px;
  z-index: 2;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100% - 24px);
  padding: 13px 17px;
  border-radius: 20px;
  color: var(--ur-cream);
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  pointer-events: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ur-gallery__item:hover .ur-gallery__label,
.ur-gallery__item:focus-visible .ur-gallery__label {
  transform: translateX(-50%) translateY(-6px) scale(1.05);
  box-shadow: 0 6px 14px rgba(31, 95, 120, 0.2);
}

.ur-gallery__label--blue {
  background: var(--ur-light-blue);
}

.ur-gallery__label--orange {
  background: var(--ur-orange);
}

.ur-gallery__label--yellow {
  background: var(--ur-yellow);
}

.ur-gallery__label--dark {
  background: var(--ur-blue);
}

.ur-gallery__item--1 .ur-gallery__media {
  transform: rotate(-2.14deg);
}

.ur-gallery__item--2 .ur-gallery__media {
  transform: rotate(1.36deg);
}

.ur-gallery__item--3 .ur-gallery__media {
  transform: rotate(-2.51deg);
}

.ur-gallery__item--4 .ur-gallery__media {
  transform: rotate(3.3deg);
}

.ur-gallery__item:hover .ur-gallery__media,
.ur-gallery__item:focus-visible .ur-gallery__media {
  transform: rotate(0deg);
  filter: drop-shadow(0 8px 16px rgba(31, 95, 120, 0.18));
}

/* About us */
.ur-about-us {
  max-width: var(--ur-max);
  margin: 40px auto 0;
  padding: 0 40px 80px;
}

.ur-about-us__card {
  position: relative;
  min-height: 425px;
  overflow: hidden;
  border-radius: var(--ur-radius);
  background: var(--ur-blue);
  text-align: center;
}

.ur-about-us__wave {
  position: absolute;
  top: 36px;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.ur-about-us__wave::after {
  content: '';
  position: absolute;
  top: 387px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--ur-orange);
}

.ur-about-us__wave-img {
  position: relative;
  z-index: 1;
  display: block;
  width: calc(100% + 2px);
  height: 389px;
  max-height: none;
  margin-left: -1px;
}

.ur-about-us__wave-img--mobile {
  display: none;
}

.ur-about-us__title,
.ur-about-us__text,
.ur-about-us__btn {
  position: relative;
  z-index: 1;
}

.ur-about-us__title {
  margin: 0;
  padding-top: 76px;
  line-height: 0;
}

.ur-about-us__title-img {
  display: block;
  width: 413px;
  max-width: calc(100% - 40px);
  height: auto;
  margin: 0 auto;
}

.ur-about-us__title-text {
  display: none;
}

.ur-about-us__text {
  max-width: 1130px;
  margin: 20px auto 0;
  padding: 0 20px;
  color: var(--ur-cream);
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: normal;
}

.ur-about-us__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 440px;
  height: 62px;
  margin: 40px auto 35px;
  padding: 10px;
  background: var(--ur-blue);
  border: 0;
  border-radius: 10px;
  color: var(--ur-cream);
  font-family: var(--ur-font);
  font-size: 24px;
  font-weight: 600;
  line-height: normal;
  text-decoration: none;
  transition: opacity 0.2s ease;
  margin-bottom: 0;
}

.ur-about-us__btn:hover {
  opacity: 0.88;
}

/* Footer */
.ur-footer {
  margin: 0;
  padding: 40px;
  background: var(--ur-blue);
  color: #f4f4f4;
}

.ur-footer__container {
  display: flex;
  flex-direction: column;
  min-height: 550px;
  max-width: var(--ur-max);
  margin: 0 auto;
}

.ur-footer__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  flex: 1;
  align-items: start;
}

.ur-footer__col--left {
  padding-top: 0;
}

.ur-footer__col--center,
.ur-footer__col--right {
  padding-top: 20px;
}

.ur-footer__brand {
  margin: 0;
  color: var(--ur-white);
  font-size: 40px;
  font-weight: 500;
  line-height: 27px;
  text-transform: uppercase;
}

.ur-footer__title {
  margin: 0 0 20px;
  color: #f4f4f4;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.165;
}

.ur-footer__phone,
.ur-footer__email,
.ur-footer__site {
  margin: 0 0 20px;
  color: #f4f4f4;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.165;
}

.ur-footer__phone a,
.ur-footer__email a,
.ur-footer__site a,
.ur-footer__policy,
.ur-footer__offer {
  color: inherit;
  text-decoration: none;
  font-weight: 300;
}

.ur-footer__phone a:hover,
.ur-footer__email a:hover,
.ur-footer__site a:hover,
.ur-footer__policy:hover,
.ur-footer__offer:hover {
  text-decoration: underline;
}

.ur-footer__social {
  display: flex;
  gap: 20px;
  margin-top: 40px;
}

.ur-footer__social a {
  display: block;
  width: 50px;
  height: 50px;
  flex-shrink: 0;
}

.ur-footer__social img {
  display: block;
  width: 50px;
  height: 50px;
}

.ur-footer__requisites {
  max-width: 444px;
  margin: 0;
  color: #f4f4f4;
  font-size: 24px;
  font-weight: 300;
  line-height: 1.165;
}

.ur-footer__brand,
.ur-footer__title,
.ur-footer__phone,
.ur-footer__email,
.ur-footer__site,
.ur-footer__requisites {
  font-family: var(--ur-font);
}

.ur-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  margin-top: auto;
  padding-top: 40px;
  font-family: var(--ur-footer-font);
}

.ur-footer__address,
.ur-footer__policy,
.ur-footer__offer {
  margin: 0;
  color: #f4f4f4;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.165;
}

/* Modal */
body.ur-modal-open {
  overflow: hidden;
}

/*
 * z-index выше, чем у окна оплаты виджета (#d7_modal_overlay, 99999): историю
 * открывают в том числе кнопкой из самого окна, и модалка не должна оказаться под ним.
 */
.ur-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.ur-modal.is-open {
  display: flex;
}

.ur-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(31, 95, 120, 0.45);
}

.ur-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(1128px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 39px 114px 40px;
  background: var(--ur-bg);
  border: 1px solid var(--ur-blue);
  border-radius: var(--ur-radius);
}

.ur-modal__close {
  position: absolute;
  top: 19px;
  right: 19px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 49px;
  height: 49px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease, opacity 0.2s ease;
}

.ur-modal__close:hover,
.ur-modal__close:focus-visible {
  transform: scale(1.08);
  filter: brightness(0.92);
}

.ur-modal__close:focus-visible {
  outline: 2px solid var(--ur-blue);
  outline-offset: 3px;
}

.ur-modal__close-bg {
  position: absolute;
  inset: 0;
  width: 49px;
  height: 49px;
}

.ur-modal__close-x {
  position: relative;
  z-index: 1;
  width: 18px;
  height: 18px;
}

.ur-modal__close-mobile {
  display: none !important;
}

.uravnenie-page .ur-modal__close-bg,
.uravnenie-page .ur-modal__close-x {
  display: block;
}

.ur-modal__photos {
  position: absolute;
  top: 40px;
  right: 154px;
  z-index: 1;
  width: 344px;
  height: 382px;
  pointer-events: none;
}

.ur-modal__photo-frame {
  position: absolute;
  border-radius: 10px;
  transform-origin: center center;
}

.ur-modal__photo-frame--blue {
  left: 28px;
  top: 24px;
  z-index: 1;
  width: 288px;
  height: 335px;
  background: var(--ur-blue);
  transform: rotate(-10.53deg);
}

.ur-modal__photo-frame--orange {
  left: 61px;
  top: 6px;
  z-index: 0;
  width: 288px;
  height: 335px;
  background: var(--ur-orange);
  transform: rotate(6.44deg);
}

.ur-modal__photo-wrap {
  position: absolute;
  left: 52px;
  top: 46px;
  z-index: 2;
  width: 320px;
  height: 370px;
  transform: rotate(2.93deg);
  border-radius: 10px;
  overflow: hidden;
}

.ur-modal__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ur-modal__head {
  position: relative;
  z-index: 2;
  max-width: 440px;
  margin-bottom: 20px;
}

.ur-modal__name {
  margin: 0 0 8px;
  font-size: 40px;
  font-weight: 700;
}

.ur-modal__city {
  margin: 0;
  font-size: 24px;
  font-weight: 500;
}

.ur-modal__progress {
  position: relative;
  z-index: 2;
  width: 440px;
  height: 221px;
  margin-bottom: 24px;
  background: var(--ur-card);
  border-radius: var(--ur-radius);
  overflow: hidden;
}

.ur-modal__progress-decor {
  position: absolute;
  left: 72px;
  top: 49px;
  width: 87px;
  height: 89px;
  transform: rotate(-8deg);
}

.ur-modal__backpack {
  position: absolute;
  left: 8px;
  top: 8px;
  width: 77px;
}

.ur-modal__wave {
  position: absolute;
  left: 0;
  width: 100%;
}

.ur-modal__wave--top {
  bottom: 63px;
}

.ur-modal__wave--bottom {
  bottom: 0;
}

.ur-modal__progress-text {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 24px;
  margin: 0;
  text-align: center;
  color: var(--ur-cream);
  font-size: 20px;
  font-weight: 600;
}

.ur-modal__progress-value {
  color: var(--ur-orange);
  font-weight: 900;
}

.ur-modal__star {
  position: absolute;
  bottom: 24px;
}

.ur-modal__star--big {
  left: 72px;
  width: 23px;
}

.ur-modal__star--small {
  left: 68px;
  bottom: 45px;
  width: 12px;
}

@media (max-width: 494px) {
  img.ur-modal__star.ur-modal__star--big {
    display: none !important;
  }

  .ur-modal__progress-text {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 24px;
    margin: 0;
    text-align: center;
    color: var(--ur-cream);
    font-size: 16px;
    font-weight: 600;
  }
}

.ur-modal__help-top,
.ur-modal__help-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  border: 0;
  border-radius: 10px;
  background: var(--ur-blue);
  color: var(--ur-white);
  font-size: 16px;
  font-weight: 500;
  font-family: var(--ur-font);
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.ur-modal__help-top {
  width: 440px;
  max-width: 100%;
  margin: 0 0 24px;
}

.ur-modal__help-bottom {
  width: 100%;
  max-width: 439px;
  margin: 50px auto 40px;
}

.ur-modal__help-top:hover,
.ur-modal__help-top:focus-visible,
.ur-modal__help-bottom:hover,
.ur-modal__help-bottom:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 6px 16px rgba(31, 95, 120, 0.25);
}

.ur-modal__help-top:focus-visible,
.ur-modal__help-bottom:focus-visible {
  outline: 2px solid var(--ur-orange);
  outline-offset: 3px;
}

.ur-modal__story-title {
  margin: 65px 0 16px;
  text-align: center;
  color: var(--ur-orange);
  font-family: var(--ur-display);
  font-size: 91px;
  font-weight: 700;
  line-height: 1;
}

.ur-modal__story {
  max-width: 900px;
  margin: 0 auto 24px;
  text-align: center;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.45;
}

.ur-modal__story p {
  margin: 0 0 16px;
  line-height: 1.3;
}

/* Mobile */
@media (max-width: 1399px) {
  img.ur-hero__arrow.ur-hero__arrow--desktop {
    display: none;
  }
}

/* Hero hashtag — reposition below 1400px to avoid title overlap */
@media (max-width: 1399px) and (min-width: 768px) {
  .ur-hero__title {
    max-width: 58%;
  }

  .ur-hero__content {
    min-height: 270px;
  }

  .ur-hero__hashtag {
    top: 198px;
    left: auto;
    right: 0;
  }

  .ur-hero__hashtag span {
    font-size: clamp(22px, 2.1vw, 30px);
    padding: 8px 14px;
  }

  .ur-children {
    padding-left: 32px;
    padding-right: 32px;
  }

  .ur-children__grid {
    gap: 16px;
  }

  .ur-child-card__head {
    max-width: calc(100% - 172px);
  }

  .ur-child-card__photo {
    width: 140px;
    height: 140px;
    border-width: 6px;
    right: 16px;
  }

  .ur-child-card__more {
    padding: 0 16px;
    font-size: 13px;
  }

  .ur-child-card__progress-text {
    font-size: 17px;
  }

  .ur-child-card__star--big {
    left: 44px;
    width: 20px;
  }

  .ur-child-card__star--small {
    left: 36px;
    bottom: 20px;
    width: 10px;
  }

  .ur-child-card__progress-decor {
    left: 56px;
  }
}

@media (max-width: 1199px) {
  .ur-children__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ur-hero__title {
    font-size: clamp(48px, 7vw, 91px);
    max-width: 58%;
  }

  .ur-hero__hashtag {
    top: calc(clamp(48px, 7vw, 91px) * 2 + 16px);
    left: auto;
    right: 0;
  }

  .ur-hero__hashtag span {
    font-size: clamp(20px, 2.4vw, 33px);
  }

  .ur-hero__underline {
    top: 198px;
    width: 220px;
  }

  .ur-about__title,
  .ur-modal__story-title {
    font-size: clamp(48px, 7vw, 90px);
  }

  .ur-about__star--3,
  .ur-about__star--4 {
    display: none;
  }

  .ur-about__star--1 {
    left: 5%;
    top: 110px;
    width: 44px;
    height: auto;
  }

  .ur-about__star--2 {
    right: 5%;
    top: 73px;
    bottom: auto;
    width: 33px;
    height: auto;
  }

  .ur-modal__photos {
    position: relative;
    top: auto;
    right: auto;
    margin: 0 auto 24px;
  }

  .ur-modal__dialog {
    padding: 24px 20px 32px;
  }

  .ur-modal__head,
  .ur-modal__progress,
  .ur-modal__help-top,
  .ur-modal__help-bottom {
    max-width: 440px;
    width: 100%;
    margin: 0 auto 24px;
  }

  .ur-footer {
    padding: 32px 20px;
  }

  .ur-footer__container {
    min-height: auto;
  }

  .ur-footer__content {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
  }

  .ur-footer__col--center,
  .ur-footer__col--right {
    padding-top: 0;
  }

  .ur-footer__col--right {
    grid-column: span 2;
  }

  .ur-footer__brand,
  .ur-footer__title {
    font-size: 32px;
  }

  .ur-footer__phone,
  .ur-footer__email,
  .ur-footer__site,
  .ur-footer__requisites {
    font-size: 20px;
  }

  .ur-footer__bottom {
    gap: 20px;
  }

  .ur-footer__address,
  .ur-footer__policy,
  .ur-footer__offer {
    font-size: 16px;
  }
}

@media (max-width: 991px) {
  .ur-header {
    position: relative;
    padding: 20px;
  }

  .ur-header__bar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 82px;
    height: 82px;
    padding: 0 16px;
    /* background: var(--ur-blue); */
    border-radius: var(--ur-radius);
    position: relative;
  }

  .ur-header__burger {
    display: none;
  }

  .ur-header__nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    background: var(--ur-blue);
    border-radius: 12px;
    z-index: 10;
    justify-self: auto;
  }

  .ur-header__logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
  }

  .ur-header__logo .ur-header__logo-img--desktop {
    display: none;
  }

  .ur-header__logo .ur-header__logo-img--mobile {
    display: block;
    width: auto;
    height: 62px;
  }

  .ur-header__link {
    height: auto;
  }

  .ur-header.is-menu-open .ur-header__nav {
    display: flex;
  }

  .ur-header.is-menu-open .ur-header__burger-icon--open {
    display: none;
  }

  .ur-header.is-menu-open .ur-header__burger-close {
    display: block;
  }

  .ur-header__cta {
    display: inline-flex;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    flex-shrink: 0;
    min-width: 0;
    width: auto;
    max-width: 234px;
    height: 62px;
    padding: 10px 16px;
    margin: 0;
    font-size: 16px !important;
  }

  .ur-features {
    padding: 0 20px 32px;
  }

  .ur-features__list {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .ur-about__decor {
    position: absolute;
    left: calc(50% - 50vw);
    top: -100px;
    z-index: 0;
    width: 260px;
    height: 610px;
    pointer-events: none;
  }

  .ur-about__star--4 {
    display: block;
    right: 16%;
    top: -54px;
    width: 65px;
    height: auto;
    transform: scaleY(-1) rotate(-134deg);
    z-index: 0;
  }

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

@media (max-width: 870px) {
  .ur-about__decor {
    position: absolute;
    left: calc(50% - 50vw);
    top: -55px;
    z-index: 0;
    width: 120px;
    height: auto;
    pointer-events: none;
  }
}

@media (max-width: 840px) {
  .ur-about__star--1 {
    left: 24%;
    top: -24px;
    width: 18px;
    height: auto;
  }
}

@media (max-width: 767px) {
  body.uravnenie-page,
  .uravnenie-page {
    background: var(--ur-bg-mobile);
  }

  /*
   * Плавающий маскот подписки donation.ru: на узком экране он перекрывает карточки
   * и кнопку помощи. Разметку вставляет wloader.js, класс - его.
   * Если виджет смонтируется в shadow DOM, это правило до него не достанет -
   * там же его прячет script.js.
   */
  .donation-widget {
    display: none !important;
  }

  .ur-geo {
    position: relative;
    z-index: 10;
    padding: 0 20px 40px;
  }

  .ur-geo__select.is-open {
    z-index: 11;
  }

  .ur-geo__select-list {
    z-index: 12;
  }

  .ur-geo__title {
    margin-bottom: 16px;
    font-size: 24px;
    line-height: 0.98;
  }

  .ur-geo__lead {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.2;
  }

  .ur-geo__map-desktop {
    display: none;
  }

  .ur-geo__mobile {
    display: block;
    margin-top: 16px;
  }

  .ur-geo__map-img {
    margin-top: -20px;
  }

  .ur-geo-modal__dialog {
    background: var(--ur-bg-mobile);
    border: 0;
    padding: 50px 20px 32px;
  }

  .ur-geo-modal__close-bg,
  .ur-geo-modal__close-x,
  .uravnenie-page .ur-geo-modal__close-bg,
  .uravnenie-page .ur-geo-modal__close-x {
    display: none !important;
  }

  .ur-geo-modal__close-mobile,
  .uravnenie-page .ur-geo-modal__close-mobile {
    display: block !important;
    width: 49px;
    height: 49px;
  }

  .ur-header__cta {
    width: 57px;
    height: 57px;
    min-width: 57px;
    max-width: 57px;
    padding: 0;
    border-radius: 50%;
    background: var(--ur-orange) url('/local/components/centrano/landing-uravnenie/templates/.default/images/mobile-header-cta-phone.png') center center / 28px 27px no-repeat;
  }

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

  .ur-header__nav {
    top: calc(100% + 8px);
  }

  .ur-header__logo .ur-header__logo-img--mobile {
    width: auto;
    height: 62px;
  }

  .ur-hero {
    padding: 0 20px 32px;
  }

  .ur-hero__banner {
    border-radius: 20px;
  }

  .ur-about-us__title {
    padding-top: 40px;
  }

  .ur-children {
    padding: 0 0 48px;
    max-width: none;
    overflow: visible;
    z-index: 9;
  }

  .ur-children__grid {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 35px 20px 8px;
    scroll-padding-inline: 20px;
    -webkit-overflow-scrolling: touch;
    /*
     * Обязательно pan-y вместе с pan-x: с одним pan-x браузер отдаёт ленте все
     * жесты, и вертикальный свайп по карточкам не прокручивает страницу -
     * она словно залипает на этом блоке.
     */
    touch-action: pan-x pan-y;
    overscroll-behavior-x: contain;
  }

  .ur-children__grid::-webkit-scrollbar {
    display: none;
  }

  /*
   * Пока открыто окно оплаты виджета, лента карточек перестаёт быть контейнером
   * прокрутки. Оверлей виджета - position: fixed, но на iOS внутри прокручиваемого
   * контейнера он отсчитывается от контейнера, а не от экрана, и получается высотой
   * в ленту: сверху и снизу видно страницу.
   * Класс ставит script.js по появлению #d7_modal_overlay, он же запоминает
   * scrollLeft и возвращает его после закрытия.
   */
  body.ur-widget-pay-open {
    overflow: hidden;
  }

  body.ur-widget-pay-open .ur-children__grid {
    overflow: visible;
    scroll-snap-type: none;
    -webkit-overflow-scrolling: auto;
  }

  .ur-child-card {
    flex: 0 0 260px;
    width: 260px;
    height: 421px;
    min-height: 421px;
    scroll-snap-align: start;
    padding: 0;
    overflow: visible;
  }

  .ur-child-card__bg {
    opacity: 0;
  }

  .ur-child-card__head {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    z-index: 2;
    align-items: center;
    max-width: 100%;
    text-align: center;
  }

  .ur-child-card__name {
    margin-bottom: 10px;
    font-size: 24px;
  }

  .ur-child-card__city {
    margin-bottom: 24px;
    font-size: 16px;
  }

  .ur-child-card__name,
  .ur-child-card__city {
    text-align: center;
  }

  .ur-child-card__more {
    width: 164px;
    min-width: 164px;
    margin: 0;
    padding: 0 10px;
    background: var(--ur-blue);
    font-size: 14px;
  }

  .ur-child-card__more:hover {
    background: #184d63;
    box-shadow: 0 4px 12px rgba(31, 95, 120, 0.35);
  }

  .ur-child-card__photo {
    top: -35px;
    left: 83px;
    right: auto;
    transform: none;
    width: 103px;
    height: 103px;
    border-width: 4px;
  }

  /*
   * На мобильных форму не показываем, но display:none не годится: виджет donation.ru
   * рендерит своё окно оплаты внутрь неё, и вместе с ней оно тоже стало бы невидимым
   * (на телефоне модалка с кнопкой «Помочь» - единственный путь к оплате).
   * Уводим блок за экран: position:fixed у попапа виджета от этого не страдает.
   * По той же причине нельзя visibility/opacity/pointer-events - они наследуются.
   */
  .ur-child-card__form {
    position: absolute;
    top: 0;
    left: -9999px;
    width: 240px;
    margin: 0;
  }

  .ur-child-card__help-mobile {
    position: absolute;
    top: 201px;
    left: 10px;
    right: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 240px;
    height: 54px;
    margin: 0;
    border: 0;
    border-radius: 10px;
    background: var(--ur-orange);
    color: var(--ur-white);
    font-size: 16px;
    font-weight: 600;
  }

  .ur-child-card__progress {
    top: 291px;
    bottom: auto;
    height: 130px;
  }

  .ur-child-card__wave--top {
    top: 19px;
    bottom: auto;
  }

  .ur-child-card__wave--bottom {
    top: 82px;
    bottom: auto;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
  }

  .ur-child-card__progress-text {
    font-size: 16px;
    font-weight: 700;
    bottom: 10px;
  }

  .ur-child-card__progress-value {
    font-size: 16px;
    font-weight: 900;
  }

  .ur-child-card__star--big {
    display: none !important;
  }

  .ur-child-card__star--small {
    left: 14px;
    bottom: 10px;
    width: 12px;
  }

  .ur-child-card__progress-decor {
    left: 47px;
    top: -17px;
    bottom: auto;
    z-index: 2;
  }

  .ur-child-card__backpack-img {
    position: absolute;
    left: 8px;
    top: 8px;
    width: 52px;
    height: auto;
    transform: rotate(-8deg);
  }

  .ur-children__slider-nav {
    display: none;
  }

  .ur-about {
    min-height: auto;
    padding: 0 20px 48px;
    /* overflow: hidden; */
    /* z-index: 0; */
    margin-top: 45px;
    /* padding-bottom: 0; */
  }

  .ur-about__title {
    position: relative;
    z-index: 1;
    margin: 0 0 10px;
    font-size: 28px;
    line-height: normal;
    text-align: center;
  }

  .ur-about__star--1,
  .ur-about__star--2,
  .ur-about__star--4 {
    display: none;
  }

  .ur-about__star--3 {
    display: block;
    right: 40%;
    top: -50px;
    width: 29px;
    height: auto;
    transform: rotate(-80deg);
  }

  .ur-about__intro {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-height: 0;
    margin: 0;
  }

  .ur-about__line,
  .ur-about__pill {
    position: static;
    transform: none;
    margin: 0;
    font-size: 20px;
    line-height: normal;
    white-space: normal;
    text-align: center;
  }

  .ur-about__pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0px 10px;
    height: 29px;
  }

  .ur-about__pill--blue {
    border-radius: 81px;
  }

  .ur-about__pill--orange {
    transform: rotate(-0.71deg);
  }

  .ur-features {
    padding: 0 20px 32px;
  }

  .ur-features__list {
    gap: 20px;
  }

  .ur-feature {
    min-height: 224px;
    margin-top: 50px;
    padding: 70px 10px 24px;
  }

  .ur-feature__title {
    font-size: 20px;
  }

  .ur-feature__text {
    max-width: 330px;
    font-size: 16px;
  }

  .ur-cta {
    padding: 0 20px 32px;
  }

  .ur-cta__inner {
    max-width: 350px;
    min-height: 517px;
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
  }

  .ur-cta__content {
    position: relative;
    z-index: 2;
    padding: 60px 10px 0;
  }

  .ur-cta__title br {
    display: none;
  }

  .ur-cta__title,
  .ur-cta__text {
    max-width: 330px;
    margin-left: auto;
    margin-right: auto;
  }

  .ur-cta__title {
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 700;
    line-height: normal;
  }

  .ur-cta__text {
    margin-bottom: 40px;
    font-size: 16px;
    font-weight: 500;
    line-height: normal;
  }

  .ur-cta__actions {
    width: 100%;
    max-width: 330px;
    height: auto;
    margin: 0 auto;
  }

  .ur-cta__btn {
    position: static;
    width: 100%;
    max-width: none;
    height: 62px;
    font-size: 16px;
    font-weight: 600;
  }

  .ur-cta__photo {
    z-index: 1;
    top: auto;
    bottom: 0;
    left: 30%;
    right: auto;
    transform: translateX(-50%);
    width: min(330px, calc(100% - 20px));
    height: auto;
    max-width: none;
    max-height: none;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: center bottom;
  }

  .ur-cta__star-picture--left,
  .ur-cta__star-picture--right {
    z-index: 1;
  }

  .ur-cta__circle {
    display: block;
    z-index: 0;
  }

  .ur-cta__circle--big {
    left: -66px;
    top: 323px;
    width: 144px;
    height: 144px;
  }

  .ur-cta__circle--sm1 {
    left: 326px;
    top: 436px;
    width: 41px;
    height: 41px;
  }

  .ur-cta__circle--sm2 {
    left: 283px;
    top: 327px;
    width: 20px;
    height: 20px;
  }

  .ur-cta__star-picture--left {
    left: 0;
    bottom: auto;
    top: 23px;
  }

  .ur-cta__star-picture--left img {
    transform: rotate(30deg);
    transform-origin: center center;
  }

  .ur-cta__star-picture--right {
    right: auto;
    left: 291px;
    bottom: auto;
    top: 104px;
  }

  .ur-cta__star-picture--right img {
    transform: rotate(18.16deg);
    transform-origin: center center;
  }

  .ur-gallery {
    margin-top: 32px;
    padding: 0 20px 32px;
  }

  .ur-gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 10px;
    row-gap: 20px;
  }

  .ur-gallery__item img {
    height: 214px;
  }

  .ur-gallery__label {
    font-size: 16px;
    bottom: 10px;
  }

  .ur-about-us {
    padding: 0 20px 40px;
    margin-top: 0;
  }

  .ur-about-us__card {
    max-width: 100%;
    min-height: 378px;
    margin: 0 auto;
  }

  .ur-about-us__wave {
    top: 48px;
    bottom: auto;
    height: 330px;
  }

  .ur-about-us__wave::after {
    display: none;
  }

  .ur-about-us__wave-img {
    width: 100%;
    height: 100%;
    margin-left: 0;
  }

  .ur-about-us__wave-img--desktop {
    display: none;
  }

  .ur-about-us__wave-img--mobile {
    display: block;
  }

  .ur-about-us__title {
    padding-top: 52px;
  }

  .ur-about-us__title-text {
    display: none;
  }

  .ur-about-us__title-img--desktop {
    width: 195px;
  }

  .ur-about-us__text {
    max-width: 330px;
    margin-top: 22px;
    padding: 0 10px;
    font-size: 16px;
    font-weight: 600;
  }

  .ur-about-us__btn {
    min-width: 0;
    width: 330px;
    max-width: calc(100% - 20px);
    height: 62px;
    margin-top: 54px;
    margin-bottom: 20px;
    font-size: 22px;
    font-weight: 600;
  }

  .ur-modal__dialog {
    background: var(--ur-bg-mobile);
    border: 0;
    border-radius: var(--ur-radius);
    padding: 50px 20px 32px;
  }

  .ur-modal__close-bg,
  .ur-modal__close-x,
  .uravnenie-page .ur-modal__close-bg,
  .uravnenie-page .ur-modal__close-x {
    display: none !important;
  }

  .ur-modal__close-mobile,
  .uravnenie-page .ur-modal__close-mobile {
    display: block !important;
    width: 49px;
    height: 49px;
  }

  .ur-modal__photos {
    width: 100%;
    max-width: 320px;
    height: 330px;
  }

  .ur-modal__photo-frame--blue {
    width: 249px;
    height: 290px;
    left: auto;
    right: 10px;
    top: auto;
    transform: rotate(9.2deg);
  }

  .ur-modal__photo-frame--orange {
    width: 249px;
    height: 290px;
    left: 0;
    right: auto;
    transform: rotate(-15deg);
  }

  .ur-modal__photo-wrap {
    width: 262px;
    height: 307px;
    left: 50%;
    right: auto;
    transform: translateX(-50%) rotate(2.9deg);
  }

  .ur-modal__head {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 35px;
  }

  .ur-modal__name {
    font-size: 40px;
  }

  .ur-modal__city {
    font-size: 24px;
  }

  .ur-modal__progress {
    height: 221px;
  }

  .ur-modal__story-title {
    font-size: 28px;
  }

  .ur-modal__story {
    font-size: 16px;
    text-align: center;
  }

  .ur-footer {
    padding: 24px 16px;
  }

  .ur-footer__content {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ur-footer__col--center,
  .ur-footer__col--right {
    padding-top: 0;
  }

  .ur-footer__col--right {
    grid-column: 1;
  }

  .ur-footer__brand,
  .ur-footer__title {
    font-size: 28px;
    line-height: 1.2;
  }

  .ur-footer__phone,
  .ur-footer__email,
  .ur-footer__site {
    margin-bottom: 12px;
    font-size: 18px;
  }

  .ur-footer__social {
    margin-top: 24px;
  }

  .ur-footer__requisites {
    font-size: 16px;
  }

  .ur-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-top: 24px;
  }

  .ur-footer__address,
  .ur-footer__policy,
  .ur-footer__offer {
    font-size: 14px;
  }
}

@media (max-width: 425px) {
  .ur-gallery__label {
    font-size: 13px;
  }
}

@media (max-width: 377px) {
  .ur-gallery__label {
    font-size: 12px;
  }
}

@media (max-width: 349px) {
  .ur-gallery__grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}
