main {
  background: #e6e5f1;
}
a {
  text-decoration: none !important;
}
:root {
  --bs-secondary-color: #fff !important;
  /* --bs-body-bg: ; */
}
body {
  padding-top: 0 !important;
}
.main-container {
  max-width: 1550px;
  margin: 0 auto;
  padding: 0 80px;
}
.section {
  padding: 50px 0;
}
.color-fox {
  color: #fe5000 !important;
}
.color-blue {
  color: #041eed;
}
html body main .text-underline {
  text-underline-offset: 3px !important;
  text-decoration-thickness: 1px !important;
}
@media (max-width: 1600px) {
  .main-container {
    max-width: 1280px;
    padding: 0 40px;
  }
}
@media (max-width: 992px) {
  .section {
    padding: 40px 0;
  }
  .main-container {
    padding: 0 20px;
  }
}

/* header --------------------------- start */
header.text-dark.position-relative {
  display: none;
}

.nheader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  z-index: 1000;
}
.nheader.scrolled {
  background: #011b57b5;
}
.nheader.scrolled .ncontainer {
  padding: 20px 20px;
}
.ncontainer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 20px;
}
.nlogo img {
  width: 221px;
}

.nlogo-icon {
  background: #ff4d4d;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 18px;
}

.nlogo-text {
  font-size: 24px;
  font-weight: bold;
  color: #fff;
}

.nnav-list {
  display: flex;
  list-style: none;
  gap: 40px;
  margin-bottom: 0;
}

.nnav-list a {
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s;
}

.nphone {
  font-size: 24px;
  font-weight: 300;
  color: white;
}

.nburger {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.nburger span {
  width: 25px;
  height: 3px;
  background: #333;
  margin: 2px 0;
  transition: 0.3s;
}

body {
  padding-top: 70px;
}

@media (max-width: 1200px) {
  .nnav-list {
    gap: 20px;
    flex-wrap: wrap;
  }
  .nphone {
    font-size: 18px;
    white-space: nowrap;
  }
}
@media (max-width: 992px) {
  .nnav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
  }

  .nnav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nnav-list {
    flex-direction: column;
    padding: 20px;
    gap: 15px;
  }

  .nburger {
    display: flex;
  }

  .nburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nburger.active span:nth-child(2) {
    opacity: 0;
  }

  .nburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
  .nlogo img {
    width: 160px;
  }
  .nphone {
    font-size: 16px;
    white-space: nowrap;
  }
}
/* header --------------------------- end */

.intro-section {
  padding: 190px 0 150px 0;
  background-image: url("intro-bg.svg");
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}
.intro-section::before {
  content: url("data:image/svg+xml;charset=UTF-8,%3csvg width='3132' height='3130' viewBox='0 0 3132 3130' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M1565.84 1564.76L1802.93 15.4453L1979.46 52.9629L1565.91 1564.69L2119.91 98.5889L2284.78 171.993L1565.86 1564.92L1565.93 1564.85L2412.71 245.856L2558.71 351.929L1565.93 1564.85L2668.43 450.748L2789.2 584.869L1565.87 1564.94L1565.86 1564.95L2876.02 704.338L2966.25 860.635L1565.86 1564.96L1565.86 1564.96L3026.32 995.55L3082.08 1167.19L1565.85 1564.97L1565.85 1564.97L3112.79 1311.66L3131.66 1491.13L1565.85 1564.97L3131.66 1638.82L3112.79 1818.29L1565.85 1564.98L1565.86 1564.98L3082.08 1962.76L3026.32 2134.4L1565.87 1564.99L1565.88 1565L2966.25 2269.31L2876.02 2425.61L1565.95 1565.05L2789.22 2545.08L2668.46 2679.2L1565.86 1565L1565.87 1565.03L1565.91 1565.09L1565.87 1565.05L1565.87 1565.06L2284.8 2957.93L2119.93 3031.34L1565.9 1565.17L1979.48 3076.98L1802.95 3114.5L1565.86 1565.16L1656.08 3129.95H1475.6L1565.82 1565.18L1328.73 3114.5L1152.2 3076.98L1565.82 1565L1565.81 1565.01L1011.73 3031.34L846.86 2957.93L1565.8 1565.02L1565.79 1565.04L718.969 2884.09L572.955 2778.02L1565.73 1565.09L463.225 2679.2L342.46 2545.08L1565.82 1564.98L255.638 2425.61L165.409 2269.31L1565.81 1564.98L1565.81 1564.98L1565.66 1565.02L1565.74 1564.99L18.873 1818.29L0 1638.82L1565.77 1564.97L1565.78 1564.97L0 1491.13L18.873 1311.63L1565.79 1564.97L1565.79 1564.96L49.5762 1167.19L105.34 995.55L1565.79 1564.96L1565.77 1564.94L165.409 860.635L255.638 704.338L1565.72 1564.9L342.439 584.869L463.204 450.748L1565.8 1564.94L1565.79 1564.92L1565.77 1564.87L1565.79 1564.9L1565.77 1564.85L846.86 171.993L1011.73 98.5889L1565.76 1564.79L1152.18 52.9629L1328.71 15.4453L1565.8 1564.76L1475.58 0H1656.06L1565.84 1564.76Z' fill='url(%23paint0_radial_1053_339)'/%3e%3cpath d='M2558.68 2778.02L2412.69 2884.09L1565.91 1565.09L2558.68 2778.02Z' fill='url(%23paint1_radial_1053_339)'/%3e%3cpath d='M105.34 2134.38L49.5762 1962.74L1565.66 1565.02L105.34 2134.38Z' fill='url(%23paint2_radial_1053_339)'/%3e%3cpath d='M1565.77 1564.87L572.955 351.908L718.969 245.836L1565.77 1564.87Z' fill='url(%23paint3_radial_1053_339)'/%3e%3cdefs%3e%3cradialGradient id='paint0_radial_1053_339' cx='0' cy='0' r='1' gradientUnits='userSpaceOnUse' gradientTransform='translate(1566 1565) rotate(-144.031) scale(1150.94 1150.94)'%3e%3cstop stop-color='%23041EED' stop-opacity='0.5'/%3e%3cstop offset='0.717272' stop-color='%23021187' stop-opacity='0.1'/%3e%3c/radialGradient%3e%3cradialGradient id='paint1_radial_1053_339' cx='0' cy='0' r='1' gradientUnits='userSpaceOnUse' gradientTransform='translate(1566 1565) rotate(-144.031) scale(1150.94 1150.94)'%3e%3cstop stop-color='%23041EED' stop-opacity='0.5'/%3e%3cstop offset='0.717272' stop-color='%23021187' stop-opacity='0.1'/%3e%3c/radialGradient%3e%3cradialGradient id='paint2_radial_1053_339' cx='0' cy='0' r='1' gradientUnits='userSpaceOnUse' gradientTransform='translate(1566 1565) rotate(-144.031) scale(1150.94 1150.94)'%3e%3cstop stop-color='%23041EED' stop-opacity='0.5'/%3e%3cstop offset='0.717272' stop-color='%23021187' stop-opacity='0.1'/%3e%3c/radialGradient%3e%3cradialGradient id='paint3_radial_1053_339' cx='0' cy='0' r='1' gradientUnits='userSpaceOnUse' gradientTransform='translate(1566 1565) rotate(-144.031) scale(1150.94 1150.94)'%3e%3cstop stop-color='%23041EED' stop-opacity='0.5'/%3e%3cstop offset='0.717272' stop-color='%23021187' stop-opacity='0.1'/%3e%3c/radialGradient%3e%3c/defs%3e%3c/svg%3e ");
  position: absolute;
  top: 45%;
  left: 50%;
  translate: -50% -50%;
  animation: introSpin 120s linear infinite, introPulse 4s ease-in-out infinite alternate;
  will-change: rotate, scale;
  z-index: 0;
}

@keyframes introSpin {
  from {
    rotate: 0deg;
  }
  to {
    rotate: 360deg;
  }
}

@keyframes introPulse {
  from {
    scale: 1;
  }
  to {
    scale: 1.05;
  }
}
.intro-container {
}
.innostage {
  margin: 0 auto;
  position: relative;
  max-width: fit-content;
  z-index: 2;
}
.intro-6year {
  margin: -20px auto 0 auto;
  position: relative;
  z-index: 3;

  max-width: 1000px;
}
.intro__content {
  position: relative;
  z-index: 2;
}
.intro-title-container {
  position: relative;
  width: fit-content;
  margin: 0 auto;
}
.intro__title {
  color: white;
  text-transform: uppercase;
  text-align: center;
  font-size: 48px;
  margin-bottom: 27px;
  letter-spacing: 2px;
  font-weight: 500;
}
.intro__dec {
  position: absolute;
  right: 0;
  transform: translateX(100%);
  top: -50px;
  width: 150px;
  height: 150px;
  max-height: unset;
  max-width: unset;
}
.intro__dec {
  position: absolute;
  right: 0;
  top: -50px;
  width: 150px;
  height: 150px;
  max-height: unset;
  max-width: unset;
  translate: 100% 0;
  transform-origin: center center;
  animation: giftShakeCenter 4s cubic-bezier(0.36, 0.07, 0.19, 0.97) infinite;
  will-change: transform;
}

@keyframes giftShakeCenter {
  0%,
  100% {
    transform: rotate(0deg) scale(1);
  }

  10% {
    transform: rotate(4deg) scale(1.05);
  }
  20% {
    transform: rotate(-4deg) scale(1.05);
  }
  30% {
    transform: rotate(4deg) scale(1.05);
  }
  40% {
    transform: rotate(-4deg) scale(1.05);
  }

  /* Возврат в исходное состояние */
  50% {
    transform: rotate(0deg) scale(1);
  }
}
.intro__subtitle {
  color: white;
  text-align: center;
  white-space: pre-line;
  line-height: 1.3;
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 1.2px;
}
.intro__subtitle span {
  font-weight: 500;
}

.intro-container {
  position: relative;
  z-index: 5;
}
@media (max-width: 992px) {
  .ncontainer {
    padding: 20px;
  }
  .intro-section::before {
    top: 35%;
  }
  .intro-section {
    padding: 90px 0;
    background-image: url("intro-bg-mob.svg");
    padding-bottom: 130px;
  }
  .main-container {
  }

  .innostage {
  }
  .intro-6year {
    overflow: hidden;
  }
  .intro-6year {
          margin: -5px -10px 0 -10px;
  }
  .intro-6year img {
  }
  .intro__content {

    margin-top: -33px;
  }
  .intro-title-container {
  }
  .intro__title {
    font-size: 24px;
    max-width: 200px;
    line-height: 1.5;
    margin-bottom: 0;
    letter-spacing: 1px;
  }
  .intro__dec {
    width: 100px;
    height: 100px;
    top: -10px;
    right: 15px;
  }
  .intro__subtitle {
    font-size: 16px;
    letter-spacing: 0;
  }
}

.we {
  padding: 95px 0;
  border-top-left-radius: 100px;
  border-top-right-radius: 100px;
  background-color: #e6e5f1;
  margin-top: -90px;
  position: relative;
}

.we-block-1 {
  padding: 0 0 200px 0;
}
.we-title {
  margin-bottom: 24px;
  text-align: center;
  text-transform: uppercase;
  color: #041eed;
  font-size: 48px;
  font-weight: bold;
}
.we-facts {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  padding-top: 100px;
}
.we-left-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-basis: 45%;
}
.we-card {
  padding: 20px 15px;
  border-radius: 12px;
  position: relative;
}
.we-card__tec-mob {
  position: absolute;
}
.we-card-1 {
  background-color: #fe5000;
  color: white;
  display: flex;
  flex-direction: column;
  max-width: 70%;
}
.we-card-1 .we-card__tec-mob {
  top: -50px;
  left: 0;
}

.we-card-1 .we-card__number {
  align-self: flex-end;
}
.we-card-1 .we-card__text {
  align-self: flex-start;
}
.we-card__text {
  font-size: 20px;
  line-height: 1;
  white-space: pre-line;
  font-weight: 600;
}
.we-card-2 {
  background-color: #bfcbff;
  background-image: url("02.svg");
  background-position: left 40px center;
  background-size: contain;
  background-repeat: no-repeat;
  color: #041eed;
  height: 180px;
  display: flex;
}
.we-card-2 .we-card__text {
  margin-top: auto;
}
.we-card-3 {
  background-color: #041eed;
  color: white;
  align-items: center;
  display: flex;
  justify-content: flex-start;
  gap: 60px;
}
.we-right-column {
  display: flex;
  gap: 16px;
  flex-direction: column;
  align-items: flex-end;
  flex-basis: 55%;
}
.we-card-4 {
  background-color: #041eed;
  color: white;
  max-width: 56%;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
      justify-content: space-between;
}
.we-card-4 .we-card__number {
  align-self: flex-end;
}
.we-card-4 .we-card__text {
  align-self: flex-start;
}
.we-card-4 .we-card__text span {
  font-weight: 300;
}
.we-row {
  display: flex;
  gap: 16px;
  height: 200px;
  align-items: stretch;
  width: 100%;
  justify-content: flex-end;
}
.we-card-2-3-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.we-card-5 {
  flex-basis: 433px;
  color: #041eed;
  background-color: #bfcbff;
  background-image: url("05.svg");
  background-position: right 30px center;
  background-size: contain;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
}
.we-card-6 {
  flex-basis: 209px;
  color: white;
  background-color: #fe5000;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.we-card-6 .we-card__number {
  align-self: flex-end;
}
.we-card-6 .we-card__tec-mob {
  bottom: -50px;
  right: 0;
}
.we-pie {
  position: absolute;
  top: -7px;
  left: 47%;
  transform: translateX(-50%);
  width: 660px;
  max-height: unset;
  z-index: 22;
}

.we-card__tec {
  position: absolute;
}

@media (max-width: 1250px) {
  .we-card-3 {
    gap: 30px;
  }
  .we-pie {
    top: 15px;
  }
}

@media (max-width: 992px) {
  .we {
    padding: 40px 0;
    border-top-left-radius: 44px;
    border-top-right-radius: 44px;
  }
  .we-block-1 {
    padding-top: 0;
    padding-bottom: 70px;
  }
  .we-title {
    font-size: 24px;
    line-height: 28px;
  }

  .we-facts {
    flex-direction: column;
    gap: 10px;
    padding-top: 30px;
  }
  .we-left-column {
    gap: 10px;
  }
  .we-card {
    padding: 15px;
  }
  .we-card-1 {
    max-width: unset;
  }
  .we-card-1 .we-card__number {
    margin-bottom: -10px;
  }

  .we-card-1 .we-card__tec {
    top: -40px;
    left: 0;
  }
  .we-card__number {
  }
  .we-card__text {
    font-size: 16px;
    line-height: 20px;
  }
  .we-card-2-3-row {
    display: flex;
    flex-direction: row;
    gap: 10px;
  }
  .we-card-2 {
    background-position: bottom;
    height: unset;
    flex: 1;
  }
  .we-card-2 .we-card__tec {
    top: -50px;
    left: -20px;
  }
  .we-card-3 {
    flex-direction: column-reverse;
    flex-basis: 45%;
  }

  .we-card-3 .we-card__number {
    align-self: flex-end;
  }
  .we-pie {
    display: none;
  }
  .we-right-column {
    gap: 10px;
  }
  .we-card-4 {
    flex-direction: row-reverse;
    max-width: unset;
    justify-content: space-between;
  }
  .we-card-4 .we-card__number {
    align-self: flex-start;
  }
  .we-row {
    flex-direction: column;
    height: unset;
  }
  .we-card-5 {
    max-width: 65%;
    flex-basis: unset;
    height: 137px;
    background-position: left 10px center;
    align-items: flex-start;
  }
  .we-card-6 {
    max-width: 65%;
    flex-basis: unset;
  }
  .we-card-6 .we-card__tec {
    bottom: -44px;
    right: 0;
  }

  .we-pie-mobile {
    position: absolute;
    right: -20px;
    bottom: -20px;
    z-index: 22;
  }
  .we-card {
    position: relative;
  }
  .we-card__tec {
    position: absolute;
  }
}

.we-block-2 .we-title {
  margin: 0 auto;

  margin-bottom: 40px;
  max-width: 800px;
}
.we-subtitle {
  font-weight: 400;
  color: #041eed;
  font-size: 32px;
  line-height: 36px;
  text-align: center;
  text-transform: uppercase;
  margin: 0 auto;

  margin-bottom: 36px;
  text-align: center;
  max-width: 850px;
}
.we-subsubtitle {
  color: black;
  margin: 0 auto;

  margin-bottom: 70px;
  font-size: 20px;
  line-height: 28px;
  text-align: center;
  max-width: 850px;
}

.promo-grid {
  display: grid;
  grid-template-columns: 1fr; /* Мобилка */
  gap: 15px;
}

.promo-item {
  position: relative;
  /* overflow: hidden; - Убрали отсюда, чтобы контент мог выходить на десктопе. 
     Но нам нужно скругление для картинки. Перенесем overflow на визуальную часть или вернем, но уберем в is-expanded */
  overflow: hidden;
  min-height: 200px; /* Чтобы блоки имели высоту если картинка не прогрузилась */
  border-radius: 12px;
}

.promo-item:nth-child(4) .promo-item__img,
.promo-item:nth-child(2) .promo-item__img {
  object-position: right;
}
.promo-item:nth-child(6) .promo-item__img {
  object-position: left;
}

.promo-item__visual {
  width: 100%;
  /* height: 100%; - перенесено в desktop media */
}

.promo-item__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Важно чтобы картинки заполняли ячейки ровно */
}

.promo-item__plus {
  position: absolute;
  right: 15px;
  bottom: 15px;
  width: 32px;
  height: 32px;
  background: #e6e5f14d;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  z-index: 2; /* Чтобы был поверх картинки */
  color: white;
  padding: 0;
}
.promo-item__plus::after {
  content: url("data:image/svg+xml;charset=UTF-8,%3csvg width='26' height='26' viewBox='0 0 26 26' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M13 0V26' stroke='white' stroke-width='2'/%3e%3cpath d='M26 13L-1.49012e-06 13' stroke='white' stroke-width='2'/%3e%3c/svg%3e ");
}

/* Скрытый контент */
.promo-item__payload {
  background: #f5f5f5;
  width: 100%;
  /* Исходное состояние определяется в медиа-запросах */
}

.promo-item__content {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 100%;
  padding: 20px;
  box-sizing: border-box; /* Важно */
}
.promo-item__title {
  font-weight: 700;
  font-size: 18px;
  line-height: 1.3;
  text-align: center;
  margin-bottom: 10px;
  color: #000;
}
.promo-item__text {
  text-align: center;
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.4;
  color: #333;
}
.promo-item__btn {
  background-color: #fe5000;
  color: white;
  border-radius: 12px;
  text-align: center;
  padding: 12px 20px;
  display: block;
  text-decoration: none;
  transition: all 0.3s ease;
}
.promo-item__btn:hover {
  color: white;
  scale: 1.05;
}
/* === DESKTOP LOGIC === */
@media (min-width: 992px) {
  .promo-item__visual {
    height: 100%;
  }
  .promo-item__payload {
    display: none; /* На десктопе скрыт через display */
    height: 100%;
  }
  .promo-item__content {
    position: relative;
    z-index: 22;
  }
  .promo-item__bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
  }
  .promo-item__bg img {
    border-radius: 12px;
    display: block;
    max-height: unset;
    height: 100%;
  }
  .promo-item__btn {
    font-weight: 600;
  }
  .promo-item:nth-child(2) .promo-item__title {
    max-width: 200px;
  }
  .promo-item:nth-child(3) .promo-item__title {
    max-width: 300px;
    color: #041eed;
    margin-bottom: 36px;
  }
  .promo-item:nth-child(4) .promo-item__title {
    max-width: 250px;
    margin-bottom: 36px;
  }
  .promo-item:nth-child(2) .promo-item__btn,
  .promo-item:nth-child(6) .promo-item__btn {
    background-color: white;
    color: #041eed;
  }
  .promo-item:nth-child(2) .promo-item__btn:hover {
    color: #041eed;
  }
  .promo-item__title {
    text-transform: uppercase;
    color: white;
    font-size: 16px;
    line-height: 22px;
    font-weight: 600;
    margin-bottom: 17px;
  }
  .promo-grid {
    /* 4 колонки! */
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 1fr 0.9fr 1fr;
    gap: 27px;
  }

  /* Широкие блоки занимают 2 колонки */
  .promo-item--wide {
    grid-column: span 2;
    grid-row: span 2;
  }

  /* На десктопе плюсиков нет */
  .promo-item__plus {
    display: none;
  }

  /* Анимация наведения (интерактивность) */
  .promo-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .promo-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.15);
    z-index: 5;
  }

  /* Если карточка раскрыта, убираем ограничение overflow, чтобы контент мог вылезти,
     и повышаем z-index, чтобы перекрыть соседей */
  .promo-item.is-expanded {
    overflow: visible;
    z-index: 100;
  }

  /* Курсор на весь блок */
  .promo-item__visual {
    cursor: pointer;
    transition: opacity 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform-origin: center;
  }

  /* Логика переключения на десктопе */
  /* Картинка плавно исчезает и немного увеличивается */
  .promo-item.is-expanded .promo-item__visual {
    opacity: 0;
    transform: scale(1.05);
    pointer-events: none;
  }

  /* Контент плавно появляется */
  .promo-item .promo-item__payload {
    display: block;
    position: absolute;
    /* Изначально по границам родителя */
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100%;
    height: auto; /* Позволяем растягиваться по контенту */

    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease-out, transform 0.4s ease-out, top 0.4s ease, left 0.4s ease, width 0.4s ease, min-height 0.4s ease;

    z-index: 10;
    background: #f5f5f5;
    border-radius: 12px; /* Скругление пэйлоада */
  }

  .promo-item.is-expanded .promo-item__payload {
    opacity: 1;
    visibility: visible;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

/* === MOBILE LOGIC === */
@media (max-width: 991.98px) {
  .promo-item__visual {
    position: relative;
  }
  .promo-item {
    min-height: unset;
  }
  .promo-grid {
    display: flex;
    gap: 13px;
    flex-direction: column;
  }
  /* Фикс для картинки: на мобильном она должна определять высоту блока */
  .promo-item__img {
    height: auto;
    border-radius: 12px;
  }
  .promo-item__bg {
    display: none;
  }
  .promo-item__content {
    padding: 40px 0px;
  }
  .promo-item__title {
    color: #041eed;
    text-transform: uppercase;
    font-size: 20px;
    line-height: 30px;
    margin-bottom: 42px;
  }
  .promo-item__btn {
    width: 100%;
    font-size: 22px;
  }
  .promo-item__plus {
    transition: transform 0.3s ease;
    z-index: 10; /* Поднимаем выше */
  }

  /* Контент присутствует в DOM, но с нулевой высотой */
  .promo-item__payload {
    display: block;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease-in-out, opacity 0.3s ease-in-out;
    border-top: none;
    background-color: transparent;
  }

  /* Раскрытое состояние */
  .promo-item.is-expanded .promo-item__payload {
    max-height: 1000px; /* Достаточное значение для раскрытия */
    opacity: 1;
    border-top: 1px solid #eee;
  }

  .promo-item.is-expanded .promo-item__plus {
    transform: rotate(45deg);
  }
}

@media (max-width: 992px) {
  .we-block-2 .we-title {
    margin: 0 auto;
    margin-bottom: 20px;
    font-size: 24px;
  }
  .we-subtitle {
    font-size: 20px;
    line-height: 24px;
    margin: 0 auto;
    margin-bottom: 20px;
  }
  .we-subsubtitle {
    margin: 0 auto;
    margin-bottom: 46px;
    font-size: 16px;
    line-height: 18px;
    letter-spacing: 0px;
  }
}
/*  */

.subscription {
  padding: 65px 0;
  background: linear-gradient(0deg, #011b57 2.05%, #041eed 99%);
  border-top-left-radius: 100px;
  border-top-right-radius: 100px;
  position: relative;
  overflow: hidden;
}
.subscription::before {
  content: url("data:image/svg+xml;charset=UTF-8,%3csvg width='3132' height='3130' viewBox='0 0 3132 3130' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M1565.84 1564.76L1802.93 15.4453L1979.46 52.9629L1565.91 1564.69L2119.91 98.5889L2284.78 171.993L1565.86 1564.92L1565.93 1564.85L2412.71 245.856L2558.71 351.929L1565.93 1564.85L2668.43 450.748L2789.2 584.869L1565.87 1564.94L1565.86 1564.95L2876.02 704.338L2966.25 860.635L1565.86 1564.96L1565.86 1564.96L3026.32 995.55L3082.08 1167.19L1565.85 1564.97L1565.85 1564.97L3112.79 1311.66L3131.66 1491.13L1565.85 1564.97L3131.66 1638.82L3112.79 1818.29L1565.85 1564.98L1565.86 1564.98L3082.08 1962.76L3026.32 2134.4L1565.87 1564.99L1565.88 1565L2966.25 2269.31L2876.02 2425.61L1565.95 1565.05L2789.22 2545.08L2668.46 2679.2L1565.86 1565L1565.87 1565.03L1565.91 1565.09L1565.87 1565.05L1565.87 1565.06L2284.8 2957.93L2119.93 3031.34L1565.9 1565.17L1979.48 3076.98L1802.95 3114.5L1565.86 1565.16L1656.08 3129.95H1475.6L1565.82 1565.18L1328.73 3114.5L1152.2 3076.98L1565.82 1565L1565.81 1565.01L1011.73 3031.34L846.86 2957.93L1565.8 1565.02L1565.79 1565.04L718.969 2884.09L572.955 2778.02L1565.73 1565.09L463.225 2679.2L342.46 2545.08L1565.82 1564.98L255.638 2425.61L165.409 2269.31L1565.81 1564.98L1565.81 1564.98L1565.66 1565.02L1565.74 1564.99L18.873 1818.29L0 1638.82L1565.77 1564.97L1565.78 1564.97L0 1491.13L18.873 1311.63L1565.79 1564.97L1565.79 1564.96L49.5762 1167.19L105.34 995.55L1565.79 1564.96L1565.77 1564.94L165.409 860.635L255.638 704.338L1565.72 1564.9L342.439 584.869L463.204 450.748L1565.8 1564.94L1565.79 1564.92L1565.77 1564.87L1565.79 1564.9L1565.77 1564.85L846.86 171.993L1011.73 98.5889L1565.76 1564.79L1152.18 52.9629L1328.71 15.4453L1565.8 1564.76L1475.58 0H1656.06L1565.84 1564.76Z' fill='url(%23paint0_radial_1053_339)'/%3e%3cpath d='M2558.68 2778.02L2412.69 2884.09L1565.91 1565.09L2558.68 2778.02Z' fill='url(%23paint1_radial_1053_339)'/%3e%3cpath d='M105.34 2134.38L49.5762 1962.74L1565.66 1565.02L105.34 2134.38Z' fill='url(%23paint2_radial_1053_339)'/%3e%3cpath d='M1565.77 1564.87L572.955 351.908L718.969 245.836L1565.77 1564.87Z' fill='url(%23paint3_radial_1053_339)'/%3e%3cdefs%3e%3cradialGradient id='paint0_radial_1053_339' cx='0' cy='0' r='1' gradientUnits='userSpaceOnUse' gradientTransform='translate(1566 1565) rotate(-144.031) scale(1150.94 1150.94)'%3e%3cstop stop-color='%23041EED' stop-opacity='0.5'/%3e%3cstop offset='0.717272' stop-color='%23021187' stop-opacity='0.1'/%3e%3c/radialGradient%3e%3cradialGradient id='paint1_radial_1053_339' cx='0' cy='0' r='1' gradientUnits='userSpaceOnUse' gradientTransform='translate(1566 1565) rotate(-144.031) scale(1150.94 1150.94)'%3e%3cstop stop-color='%23041EED' stop-opacity='0.5'/%3e%3cstop offset='0.717272' stop-color='%23021187' stop-opacity='0.1'/%3e%3c/radialGradient%3e%3cradialGradient id='paint2_radial_1053_339' cx='0' cy='0' r='1' gradientUnits='userSpaceOnUse' gradientTransform='translate(1566 1565) rotate(-144.031) scale(1150.94 1150.94)'%3e%3cstop stop-color='%23041EED' stop-opacity='0.5'/%3e%3cstop offset='0.717272' stop-color='%23021187' stop-opacity='0.1'/%3e%3c/radialGradient%3e%3cradialGradient id='paint3_radial_1053_339' cx='0' cy='0' r='1' gradientUnits='userSpaceOnUse' gradientTransform='translate(1566 1565) rotate(-144.031) scale(1150.94 1150.94)'%3e%3cstop stop-color='%23041EED' stop-opacity='0.5'/%3e%3cstop offset='0.717272' stop-color='%23021187' stop-opacity='0.1'/%3e%3c/radialGradient%3e%3c/defs%3e%3c/svg%3e ");
  position: absolute;
  top: 0;
  left: 50%;
  translate: -50% -50%;
  animation: introSpin 120s linear infinite, introPulse 4s ease-in-out infinite alternate;
  will-change: rotate, scale;
}

.subscription .main-container {
  position: relative;
}
.subscription__decor {
  position: absolute;
}
.subscription__decor--heart {
  top: 0;
  left: 80;
}
.subscription__decor--plane {
  top: -30px;
  right: 80;
}
.subscription__head {
  max-width: 650px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 35px;
  color: white;
  margin-bottom: 50px;
}
.subscription__title {
  font-weight: 400;
  font-size: 48px;
  line-height: 56px;
  text-align: center;
  text-transform: uppercase;
}
.subscription__subtitle {
  font-weight: 600;
  font-size: 22.34px;
  line-height: 31.28px;
  text-align: center;
}
.subscription__lead {
  font-weight: 300;
  font-size: 20px;
  line-height: 28px;
  text-align: center;
  color: #e6e5f1;
}
.subscription__form {
  margin-bottom: 50px;
}
.subscription__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  row-gap: 22px;
  column-gap: 18px;
  margin-bottom: 35px;
  position: relative;
  z-index: 2;
}
.subscription__field {
  border: 1px solid #ffffff;
  background: #ffffff1a;
  backdrop-filter: blur(12.300000190734863px);
  border-radius: 8px;
  padding: 20px 24px;
  z-index: -1;
}
.subscription__field.has-error {
  border-color: rgb(253, 49, 49);
}
.subscription__input {
  background-color: transparent !important;
  color: white;
  border: none;
  outline: none;
  width: 100%;
}
.subscription__agreements {
  margin-bottom: 50px;
}
.subscription__check-row:not(:last-child) {
  margin-bottom: 13px;
}
.subscription__checkbox {
}

/* 999999 */
.subscription__checkbox {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* 2. Стили для текстового блока, который будет кликабельным */
.subscription__check-label {
  position: relative;
  display: inline-flex;
  align-items: center; /* Выравнивание текста и квадрата по центру */
  cursor: pointer;
  padding-left: 44px; /* Отступ слева, чтобы поместился квадрат */
  min-height: 28px; /* Минимальная высота для удобства клика */

  color: #ffffff; /* Белый текст */
  font-size: 14px; /* Размер шрифта (подберите под макет) */
  line-height: 1.4;
  user-select: none; /* Чтобы текст не выделялся при частых кликах */
}

/* 3. Рисуем сам квадрат (пустой) */
.subscription__check-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%); /* Строгое центрирование по вертикали */

  width: 28px; /* Размер квадрата как на картинке */
  height: 28px;

  border: 1px solid #ffffff; /* Белая обводка */
  border-radius: 8px; /* Скругление углов */
  background-color: transparent; /* Прозрачный фон */
  box-sizing: border-box;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

/* 4. Рисуем галочку (появляется только когда checked) */
.subscription__checkbox:checked + .subscription__check-label::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;

  width: 6px;
  height: 12px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;

  transform: translateY(-65%) rotate(45deg);
}

/* (Опционально) Стиль для ссылки внутри текста, как на скрине */
.subscription__link {
  color: #ff5722; /* Оранжевый цвет */
  text-decoration: underline;
  transition: opacity 0.2s;
}

.subscription__link:hover {
  text-decoration: none;
  opacity: 0.8;
}
/* 999999 */

.subscription__check-label {
  color: white;
  font-size: 16px;
  font-weight: 300;
}
.subscription__link {
  color: #fe5000;
  text-decoration: underline;
}
.subscription__btn {
  display: block;
  margin: 0 auto;
  background-color: #fe5000;
  border: none;
  outline: none;
  border-radius: 8px;
  max-width: 374px;
  padding: 18px;
  color: white;
  transition: all 0.3s ease;
  width: 100%;
  font-size: 22.34px;
  font-weight: 600;
  line-height: 1;
}
.subscription__btn:hover {
  color: white;
  scale: 1.05;
}
.subscription__footer {
  color: #e6e5f1;
  font-weight: 300;
  display: flex;
  flex-direction: column;
  gap: 15px;
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
}
.subscription__notice {
  text-align: center;
}
.subscription__notice--muted {
}
.subscription__input::placeholder {
  color: white;
  font-weight: 300;
}

@media (max-width: 1600px) {
  .subscription__decor--heart {
    top: 0;
    left: 40;
  }
  .subscription__decor--plane {
    top: 0;
    right: 40;
  }
}
@media (max-width: 992px) {
  .subscription {
    border-top-left-radius: 44px;
    border-top-right-radius: 44px;
  }
  .subscription__decor--heart {
    top: -100px;
    left: 0px;
    width: 137px;
  }
  .subscription__decor--plane {
    top: -50px;
    right: 0;
    width: 87px;
  }
  .subscription__grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .subscription__head {
    gap: 25px;
    align-items: center;
    margin-bottom: 30px;
  }

  .subscription__title {
    font-size: 24px;
    line-height: 30px;
    max-width: 265px;
  }
  .subscription__subtitle {
    font-size: 18px;
    line-height: 24px;
  }
  .subscription__lead {
    font-size: 16px;
    line-height: 20px;
  }
  .subscription__form {
  }
  .subscription__grid {
  }
  .subscription__field {
    padding: 15px;
  }
  .subscription__input {
  }
  .subscription__input::placeholder {
    color: white;
    font-weight: 300;
    font-size: 14px;
  }

  /*  */

  .subscription__agreements {
  }
  .subscription__check-row {
  }
  .subscription__checkbox {
  }
  .subscription__check-label {
    padding-left: 35px;
    font-size: 14px;
  }
  .subscription__check-label::before {
    top: 0;
    transform: translateY(10%);
    width: 19px;
    height: 19px;
    border-radius: 6px;
  }
  .subscription__link {
  }
  .subscription__checkbox:checked + .subscription__check-label::after {
    left: 7px;
    top: 0;
    transform: translateY(30%) rotate(45deg);
  }
}

@media (max-width: 550px) {
  ul.footer-menu.menu-children,
  ul.footer-menu li {
    margin-left: -15px;
    margin-right: -12px;
  }
}
