@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
/* @import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css"); */

:root {
  --bs-body-font-family: "Inter", sans-serif;
  
  --bs-body-color: #131A1B;;
  --bs-body-color-rgb: 19, 26, 27;

  --bs-body-bg: #FBFAF9;
  --bs-body-bg-rgb: 251, 250, 249;

  --lead-color: #F97015;
  --lead-color-rgb: 249, 112, 21;

  --section-bg: #F7F5F3;
  --section-bg-2: #FAFAFA;
  --section-bg-3: #F9FAFB;

  --bs-gradient: linear-gradient(135deg, var(--lead-color) 0%, #f93 100%);
  --bs-gradient-hover: linear-gradient(135deg, var(--lead-color) 0%, var(--lead-color) 100%);
  
  --bs-border-radius: 0.75rem;

}

@media (min-width: 768px) {
  h1, h2, h3, h4, h5, h6,
  .h1, .h2, .h3, .h4, .h5, .h6 {
    line-height: 1;
  }
}

.header {
  border-bottom: 1px solid rgba(233, 230, 226, 0.5);
  backdrop-filter: blur(1rem);
  background: rgba(251, 250, 249, 0.8);
}

.text-footer {
  color: #615e5c;
}

.text-lead {
  --bs-text-opacity: 1;
  color: rgba(var(--lead-color-rgb), var(--bs-text-opacity));
}

@media (min-width: 768px) {
  .fs-large {
    font-size: large;
  }
}

.offcanvas {
  --bs-offcanvas-width: 18.75rem;
}

/* .form-control {
  background-color: var(--form-control-bg);
  padding-top: .6429rem;
  padding-bottom: .6429rem;
} */

/* .form-control::placeholder {
  color: rgba(0, 0, 0, 0.315);
} */

/* .form-control:focus {
  background-color: var(--form-control-bg);
  box-shadow: none;
  border-color: rgba(var(--bs-body-color-rgb), 0.75);
} */

/* .bg-gradient {
  
} */

.form-field {
  position: relative;
}

.form-field.has-error .form-control,
.form-field.has-error .btn-check + label {
  border-color: var(--bs-danger);
}

/* .form-label {
  margin-bottom: 0.25rem;
} */

.form-error {
  color: var(--bs-danger);
  font-size: 0.75em;
  position: absolute;
  bottom: -1.15rem;
}

.form-check-input {
  --bs-form-check-bg: var(--bs-white);
  --bs-border-color: rgba(var(--bs-body-color-rgb), 0.275);
}

/* --bs-btn-padding-y: 0.5rem; */

.btn {
  --bs-btn-font-weight: 600;
  --bs-btn-padding-x: 2rem;
  --bs-btn-padding-y: 1rem;
  --bs-btn-font-size: 1.125rem;
  --bs-btn-line-height: 1.56;
}

.btn-sm {
  --bs-btn-line-height: 1.43;
  --bs-btn-padding-x: 1.25rem;
  --bs-btn-padding-y: 0.625rem;
  --bs-btn-font-size: 0.875rem;
}

.btn-nav {
  --bs-btn-color: #6A7181;
}

.btn.bg-gradient:hover,
.btn.bg-gradient:focus {
  background-image: var(--bs-gradient-hover) !important;
}

.btn.loading {
  --loading-size: 1rem;
  --loading-border-color: var(--bs-white);
  
  pointer-events: none;
  position: relative;
  color: transparent;
  opacity: .85;
}

.btn.loading::after {
  content: '';
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--loading-size);
  height: var(--loading-size);
  border-left: 2px solid var(--loading-border-color);
  border-top: 2px solid var(--loading-border-color);
  border-radius: 999px;
  transform: translate(-50%, -50%) rotate(0deg);
  transform-origin: center;
  animation: loadingSpin 1.75s linear infinite;
}

@keyframes loadingSpin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.text-gradient {
  background-image: var(--bs-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* .toast {
  --bs-toast-max-width: 30rem;
  --bs-toast-box-shadow: none;

  width: auto;
}

.toast-danger {
  --bs-toast-bg: rgba(255, 217, 226, 1);
}

.toast-success {
  --bs-toast-bg: rgba(224, 245, 234, 1);
} */


/* .menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-item {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.menu-link {
  border: var(--bs-border-width) var(--bs-border-style) rgba(var(--bs-body-color-rgb), 0);
  text-decoration: none;
  width: 100%;
}

.menu-link.active,
.menu-link:hover,
.menu-link:focus {
  color: var(--bs-black) !important;
  border-color: rgba(var(--bs-body-color-rgb), .25) !important;
} */

.box {
  background-color: var(--bs-white);
  border-radius: var(--bs-border-radius);
  border: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color);
  padding: 1.5rem;
}

.footer-agreement {
  font-size: 0.75rem;
  line-height: 1.33;
  color: #6a7181;
}

@media (min-width: 1200px) {
  .footer-agreement {
    font-size: 1rem;
    line-height: var(--bs-body-line-height);
    color: var(--bs-body-color);
  }
}

/* aspect-ratio: 1920 / 800; */
.hero {
  background-repeat: no-repeat;
  background-position: center;
  background-image: url('../images/hero.webp');
  background-size: cover;
}

.hero-content {
  max-width: 48rem;
  color: var(--bs-white);
}

.hero-content-lead {
  backdrop-filter: blur(0.25rem);
  background: rgba(var(--lead-color-rgb), 0.2);
  font-size: 0.875rem;
  width: fit-content;
}

.hero-content-lead > span {
  opacity: 0.9;
}

.hero-content-title {
  font-size: 1.625rem;
  font-weight: 700;
  line-height: 1.15;
}

.hero-content-subtle {
  opacity: .8;
  line-height: 1.5;
}

.hero-content-description {
  max-width: 36rem;
  opacity: .6;
}

.hero-benefit-item-key {
  font-weight: 900;
  font-size: 1.75rem;
  line-height: 1.43;
  color: var(--lead-color);
}

.hero-benefit-item-label {
  opacity: 0.5;
  line-height: 1.43;
  font-size: 0.75rem;
}

.hero-link {
  --bs-btn-font-size: 0.875rem;
  --bs-btn-padding-x: 1.5rem;
  --bs-btn-line-height: 1.43;
  max-width: 13.75rem;

}

@media (min-width: 768px) {
  .hero-content-subtle {
    font-size: 1.5rem;
    line-height: 1.33;
  }
  .hero-link {
    --bs-btn-font-size: 1.125rem;
    --bs-btn-padding-x: 2rem;
    --bs-btn-line-height: 1.56;
    max-width: 100%;
  }
  .hero-content-title {
    font-size: 2.15rem;
  }
  .hero-benefit-item-key {
    font-size: 2rem;
  }
  .hero-benefit-item-label {
    font-size: 0.875rem;
  }
}

@media (min-width: 992px) {
  .hero-content-title {
    font-size: 3rem;
  }
  .hero-benefit-item-key {
    font-size: 2.25rem;
    line-height: 1.11;
  }
}

@media (min-width: 1200px) {
  .hero-content-title {
    font-size: 3.5rem;
    font-weight: 900;
  }
}

@media (min-width: 1400px) {
  .hero-content-title {
    font-size: 4.5rem;
    line-height: 1;
  }
}

.caption-lead {
  font-size: 1.625rem;
  margin-bottom: 0;
  letter-spacing: -0.04rem;
}

.caption-lead-2 {
  font-size: 1.625rem;
  margin-bottom: 0;
  letter-spacing: -0.04em;
}

.caption-lead-3 {
  font-size: 1.625rem;
  margin-bottom: 0;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

@media (min-width: 768px) {
  .caption-lead {
    font-size: 2.15rem;
  }
  .caption-lead-2 {
    font-size: 2rem;
  }
  .caption-lead-3 {
    font-size: 2rem;
  }
}

@media (min-width: 992px) {
  .caption-lead {
    font-size: 3rem;
    letter-spacing: 0;
  }
  .caption-lead-2 {
    font-size: 2.75rem;
  }
  .caption-lead-3 {
    font-size: 2.5rem;
    letter-spacing: -0.05em;
    line-height: 1.16;
  }
}

@media (min-width: 1200px) {
  .caption-lead {
    font-size: 3.15rem;
  }
  .caption-lead-2 {
    font-size: 3.125rem;
  }
  .caption-lead-3 {
    font-size: 3rem;
  }
}

@media (min-width: 1400px) {
  .caption-lead {
    font-size: 3.75rem;
  }
  .caption-lead-3 {
    font-size: 3.125rem;
  }
  .caption-lead-2 {
    font-size: 3.5rem;
  }
}

.section {
  padding-top: 2.25rem;
  padding-bottom: 2.255rem;
}

.section-2 {
  background-color: var(--section-bg-2);
}

.section-3 {
  background-color: var(--section-bg-3);
}

.section-main {
  background-color: var(--section-bg);
}

.section-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 992px) {
  .section {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
  .section-why {
    background-color: var(--bs-white);
  }
}

/* aspect-ratio: 343 / 560; */
.neira {
  border-radius: 1.5rem;
  aspect-ratio: 343 / 628;
  background-image: url('../images/neira-m.webp');
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: cover;
  max-width: 68.75rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.neira-title {
  line-height: 1.11;
  font-weight: 700;
  font-size: 2.25rem;
  color: var(--bs-white);
}

/* --bs-btn-color: #f54900; */
.neira-btn {
  --bs-btn-line-height: 1.33;
  --bs-btn-bg: var(--bs-white);
  --bs-btn-color: var(--lead-color);
  --bs-btn-hover-bg: var(--bs-white);
  --bs-btn-hover-color: var(--bs-body-color);
  --bs-btn-active-bg: var(--bs-white);
  --bs-btn-active-color: var(--bs-body-color);
  
  width: 100%;
  box-shadow: 0 8px 10px -6px rgba(0, 0, 0, 0.1), 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.neira-icon {
  transform: scale(1.5);
}

@media (min-width: 768px) {
  .neira {
    background-image: url('../images/neira.webp');
    background-position: center;
    aspect-ratio: 1100 / 288;
  }
  .neira-title {
    line-height: 1.33;
  }
  .neira-btn {
    width: auto;
  }
  .neira-icon {
    transform: scale(1);
  }
}

.why-item {
  text-align: center;
  background-color: var(--bs-white);
}

.why-item-icon {
  aspect-ratio: 1;
  max-width: 4rem;
}

.why-item-title {
  font-weight: 800;
}

/* aspect-ratio: 636 / 540; */
.target-item {
  background-color: var(--bs-white);
  box-shadow: 0 4px 6px -4px rgba(0, 0, 0, 0.1), 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border-radius: 1rem;
  height: 100%;
}

.target-item-title {
  font-weight: 800;
  font-size: 1.75rem;
  line-height: 1;
}

.target-item-list {
  display: flex;
  flex-direction: column;
  row-gap: 0.625rem;
  color: rgba(var(--bs-secondary-rgb), 0.8);
}

.target-item-link {
  --bs-btn-padding-x: 1rem;
  width: 100%;
}

.target-item-icon {
  position: absolute;
  right: -3.875rem;
  bottom: 4.75rem;
  opacity: 0.2;
}

.target-item-icon > svg {
  width: 6.25rem;
  height: 6.25rem;
}

@media (min-width: 768px) {
  .target-item-icon > svg {
    width: auto;
    height: auto;
  }
  .target-item-icon {
    right: -5rem;
    bottom: 0;
  }
  .target-item-link {
    --bs-btn-padding-x: 2rem;
    width: auto;
  }
}

@media (min-width: 992px) {
  .target-item-title {
    font-size: 2rem;
  }
}

@media (min-width: 1200px) {
  .target-item {
    aspect-ratio: 636 / 540;
  }
  .target-item-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 1400px) {
  .target-item-icon {
    opacity: 1;
    right: 0;
  }
}

.interaction {
  --interaction-master-size: 11.375rem;
  --interaction-slave-icon-size: 6rem;
  --interaction-feature-icon-size: 3.5rem;
  --line-animation-duration: 12s;
  --line-bg-color: var(--lead-color);
  
  aspect-ratio: 1120 / 700;
  position: relative;
  max-width: 70rem;
  margin: 0 auto;
}

.interaction-item {
  position: absolute;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* transform: translate(-50%, -50%); */
.interaction-master {
  will-change: transform;
  color: var(--bs-white);
  width: var(--interaction-master-size);
  aspect-ratio: 1;
  border-radius: 1.875rem;
  box-shadow: 0 0 4.375rem 0 rgba(var(--lead-color-rgb), 0.3);
  top: 50%;
  left: 50%;

  background: linear-gradient(135deg, 
    #f97015 0%, 
    #ff8533 40%, 
    #ffab70 50%, 
    #ff8533 60%, 
    #f97015 100%
  );

  background-size: 300% 300%;

  /* transform: translate(-50%, -50%) scale(1); */

  animation: 
              pulse-glow 3s infinite ease-in-out, 
              shine 10s infinite linear, 
              floating 6s infinite ease-in-out;
}

@keyframes floating {
  0%, 100% { transform: translate(-50%, -44%); } /* scale(1) */
  50% { transform: translate(-50%, -56%); } /* scale(1.05) */
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 5px 40px 0 rgba(var(--lead-color-rgb), 0.3); }
  50% { box-shadow: 0 15px 80px 10px rgba(var(--lead-color-rgb), 0.5); }
}

@keyframes shine {
  0% { background-position: 0% 0%; }        /* 1. Точка старта (пауза внизу/слева) */
  15% { background-position: 0% 0%; }       /* Конец паузы, начинаем движение */
  
  40% { background-position: 100% 100%; }   /* 2. Долетел до верха/права */
  65% { background-position: 100% 100%; }   /* Пауза наверху, начинаем возврат */
  
  90% { background-position: 0% 0%; }       /* 3. Вернулся в исходную точку */
  100% { background-position: 0% 0%; }      /* Короткая пауза до конца цикла */
}

.interaction-master-caption {
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.43;
}

.interaction-master-subtle {
  font-size: 0.9375rem;
  line-height: 1.33;
}

.interaction-slave {
  top: 50%;
  transform: translateY(-50%);
}

.interaction-slave-left {
  left: 0;
}

.interaction-slave-right {
  right: 0;
}

.interaction-slave-icon {
  width: var(--interaction-slave-icon-size);
  aspect-ratio: 1;
  border-radius: 1rem;
  border: 0.3125rem solid var(--lead-color);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f3f4f6;
}

.interaction-slave-content {
  position: absolute;
  top: calc(var(--interaction-slave-icon-size) + 0.75rem);
  bottom: 0%;
  width: max-content;
  height: fit-content;
}

.interaction-slave-caption {
  font-weight: 800;
  font-size: 1.125rem;
  line-height: 1.33;
}

.interaction-slave-subtle {
  color: rgba(var(--bs-secondary-rgb), 1);
  line-height: 1.33;
  font-size: 0.75rem;
}

.interaction-slave-line {
  position: absolute;
  top: 50%;
  height: 0.25rem;
  transform: translateY(-50%);
  background-color: var(--line-bg-color);
}

.interaction-slave-line-left {
  left: 0;
  right: 50%;
}

.interaction-slave-line-right {
  right: 0;
  left: 50%;
}

/* opacity: 0.5; */
.interaction-slave-line-dot {
  will-change: left, right;
  width: 0.75rem;
  aspect-ratio: 1;
  background-color: var(--line-bg-color);
  border-radius: 100%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

/* --- ЛЕВАЯ СТОРОНА (от центра влево) --- */
.interaction-slave-line-left .interaction-slave-line-dot {
  right: 10%;
  /* animation: move-left var(--line-animation-duration) infinite linear; */
  animation: move-right var(--line-animation-duration) infinite linear;
}

/* 50% { opacity: 1; } */
@keyframes move-left {
  0% { right: 10%; }
  100% { right: 90%; }
}

/* --- ПРАВАЯ СТОРОНА (от центра вправо) --- */
.interaction-slave-line-right .interaction-slave-line-dot {
  left: 10%;
  animation: move-right var(--line-animation-duration) infinite linear;
}

/* 50% { opacity: 1; } */
@keyframes move-right {
  0% { left: 10%; }
  100% { left: 90%; }
}

/* --- ЗАДЕРЖКИ (Одинаковые для обеих сторон) --- */
.interaction-slave-line-dot:nth-child(1) { animation-delay: 0s; }
.interaction-slave-line-dot:nth-child(2) { animation-delay: 4s; }
.interaction-slave-line-dot:nth-child(3) { animation-delay: 8s; }

.interaction-feature-icon {
  width: var(--interaction-feature-icon-size);
  aspect-ratio: 1;
  border-radius: 1rem;
  border: 0.0625rem solid rgba(233, 230, 226, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bs-white);
  box-shadow: 0 4px 24px -4px rgba(29, 33, 43, 0.08);
  z-index: 1;
}

.interaction-slave-icon,
.interaction-feature-icon {
  will-change: transform;
  animation: pulse-scale 3s infinite ease-in-out;
}

.interaction-slave-icon { animation-delay: 0s; }
.interaction-feature-icon { animation-delay: 1.5s; }

@keyframes pulse-scale {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.0825); }
}

.interaction-feature-content {
  position: absolute;
  top: var(--interaction-feature-icon-size);
  padding-top: 0.375rem;
  padding-bottom: 0.25rem;
  bottom: 0%;
  width: max-content;
  height: fit-content;
  background-color: var(--bs-body-bg);
}

.interaction-feature-caption {
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.56;
}

.interaction-feature-subtle {
  margin-top: 0.125rem;
  color: rgba(var(--bs-secondary-rgb), 1);
  line-height: 1.25;
  font-size: 0.75rem;
}

.interaction-feature-top-center,
.interaction-feature-bottom-center {
  left: 50%;
  transform: translateX(-50%);
}

.interaction-feature-top-center {
  top: 0%;
}

.interaction-feature-bottom-center {
  bottom: calc(0% + var(--interaction-feature-icon-size));
}

.interaction-feature-top-left {
  top: 15%;
  left: 25%;
  transform: translate(-25%, -15%);
}

.interaction-feature-top-right {
  top: 15%;
  right: 25%;
  transform: translate(25%, -15%);
}

.interaction-feature-bottom-left {
  bottom: calc(10% + var(--interaction-feature-icon-size));
  left: 25%;
  transform: translate(-25%, -10%);
}

.interaction-feature-bottom-right {
  bottom: calc(10% + var(--interaction-feature-icon-size));
  right: 25%;
  transform: translate(25%, -10%);
}

.interaction-feature-svg-line {
  overflow: visible;
  position: absolute;
  height: 50%;
}

/* bottom: 40%; */
[class*="interaction-feature-svg-line-top-"] {
  top: 10%;
}

/* top: 40%; */
/* bottom: 10%; */
[class*="interaction-feature-svg-line-bottom-"] {
  bottom: calc(10% - var(--interaction-feature-icon-size));
}

.interaction-feature-svg-line-top-center,
.interaction-feature-svg-line-bottom-center {
  left: 50%;
  transform: translateX(-50%);
}

.interaction-feature-svg-line-top-left,
.interaction-feature-svg-line-top-right,
.interaction-feature-svg-line-bottom-left,
.interaction-feature-svg-line-bottom-right {
  width: 20%;
}

.interaction-feature-svg-line-top-left,
.interaction-feature-svg-line-bottom-left {
  left: calc(20% + var(--interaction-feature-icon-size) / 4);
}

.interaction-feature-svg-line-top-right,
.interaction-feature-svg-line-bottom-right {
  right: calc(20% + var(--interaction-feature-icon-size) / 4);
}

.interaction-feature-svg-line-top-left {
  transform: translateY(calc(0% - var(--interaction-feature-icon-size) / 2.25)) translateX(calc(25% - var(--interaction-feature-icon-size) / 2));
}

.interaction-feature-svg-line-top-right {
  transform: translateY(calc(0% - var(--interaction-feature-icon-size) / 2.25)) translateX(calc(-25% + var(--interaction-feature-icon-size) / 2));
}

.interaction-feature-svg-line-bottom-left {
  transform: translateY(calc(0% - var(--interaction-feature-icon-size) / 0.825)) translateX(calc(25% - var(--interaction-feature-icon-size) / 2));
}

.interaction-feature-svg-line-bottom-right {
  transform: translateY(calc(0% - var(--interaction-feature-icon-size) / 0.825)) translateX(calc(-25% + var(--interaction-feature-icon-size) / 2));
}

.interaction-feature-svg-line .dash-path {
  /* Анимация смещения пунктира */
  stroke-width: 1;
  stroke: var(--line-bg-color);
  stroke-opacity: 0.35;
  stroke-dasharray: 8;
  vector-effect: non-scaling-stroke;
  animation: svg-dash-move var(--line-animation-duration) infinite linear;
}

@keyframes svg-dash-move {
  from { stroke-dashoffset: 100; }
  to { stroke-dashoffset: 0; }
}

.control-item {
  position: relative;
  --number-size: 6rem;
}

.control-item-number {
  color: rgba(var(--lead-color-rgb), 0.1);
  font-weight: 900;
  line-height: 1;
  font-size: var(--number-size);
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.control-item-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding-top: calc(var(--number-size) / 1.5);
}

.control-item-icon {
  width: 4rem;
  aspect-ratio: 1;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.control-item-caption {
  line-height: 1.4;
}

.thanks {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  border-radius: 1.5rem;
}

/* aspect-ratio: 1336 / 253; */
.thanks-advertisers {
  background-image: url('../images/advertisers-thanks.webp');
}

/* aspect-ratio: 1336 / 293; */
.thanks-webmasters {
  background-image: url('../images/webmasters-thanks.webp');
}

@media (min-width: 992px) {
  .thanks-advertisers {
    aspect-ratio: 1336 / 253;
  }
  .thanks-webmasters {
    aspect-ratio: 1336 / 293;
  }
}

.type-item {
  border-radius: 1rem;
  box-shadow: 0 4px 6px -4px rgba(0, 0, 0, 0.1), 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  row-gap: 1rem;
  overflow: hidden;
  position: relative;
  background-color: var(--bs-white);
}

.type-item-body {
  will-change: top;
  position: relative;
  transition: top .325s ease-in-out;
}

.type-item-info {
  line-height: 1.63;
}

.type-item-caption {
  display: none;
  will-change: opacity;
  opacity: 1;
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  transition: opacity .125s linear;
}

.type-item:hover .type-item-caption {
  opacity: 0;
}

.type-item:hover .type-item-body {
  top: 0%;
}

@media (min-width: 992px) {
  .type-item-body {
    top: 100%;
  }
  .type-item-caption {
    display: block;
  }
}

.contacts {
  --contacts-gap: 4rem;
  row-gap: var(--contacts-gap);
}

.contacts-list {
  row-gap: var(--contacts-gap);
  position: relative;
}

.contacts-list::before {
  --offset-y: -1.25rem;
  --offset-x: -3rem;
  
  content: '';
  display: none;
  
  position: absolute;
  left: var(--offset-x);
  top: var(--offset-y);
  right: var(--offset-x);
  bottom: var(--offset-y);
  
  border-radius: 3.125rem;
  background-color: rgba(var(--contacts-list-color), 0.03);
  border: 1px dashed rgba(var(--contacts-list-color), 0.25);
}

.contacts-list-1::before {
  --contacts-list-color: var(--lead-color-rgb);
}

.contacts-list-2::before {
  --contacts-list-color: var(--bs-black-rgb);
}

@media (min-width: 992px) {
  .contacts-list::before {
    display: block;
  }
}

.contact-item {
  background-color: var(--bs-white);
  border-radius: 1rem;
  box-shadow: 0 4px 6px -4px rgba(0, 0, 0, 0.1), 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 27.5rem;
  margin: auto;
  border: 1px solid #e5e7eb;
}

.contact-item::after,
.contact-item::before {
  content: '';
  display: block;
  width: var(--size);
  height: var(--size);
  border-radius: 100%;
  position: absolute;
  top: 0%;
  left: 50%;
  transform: translate(-50%, calc(var(--size) / -2));
}

.contact-item::before {
  --size: 1.5rem;
  background-color: var(--bs-white);
}

.contact-item::after {
  --size: 1rem;
  background-image: var(--bs-gradient);
}

.contact-item-icon {
  aspect-ratio: 1;
  width: 3rem;
  background-color: #f3f4f6;
}

.contact-item-number {
  --bs-text-opacity: 0.2;
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.2;
}

.contact-item-caption {
  font-weight: 700;
  line-height: 1.4;
  font-size: 1.25rem;
}

.contact-item-info {
  font-size: 0.875rem;
  line-height: 1.63;
}

.work-item-number {
  aspect-ratio: 1;
  width: 2.5rem;
  color: var(--bs-white);
}

.suitable-item {
  background-color: var(--bs-white);
  border-radius: 1.5rem;
  box-shadow: 0 4px 6px -4px rgba(0, 0, 0, 0.1), 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border: 1px solid #f3f4f6;
}

.suitable-item-icon {
  width: 4rem;
  aspect-ratio: 1;
}

.suitable-item-title {
  font-size: 1.375rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.64;
}

.component-item {
  background-color: var(--bs-white);
  border: 1px solid #f3f4f6;
  border-radius: 1rem;
  box-shadow: 0 4px 6px -4px rgba(0, 0, 0, 0.1), 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.component-item-icon {
  border-radius: 0.75rem;
  width: 3.5rem;
  aspect-ratio: 1;
}

.component-item-title {
  line-height: 1.4;
}

.component-item-text {
  color: #6A7181;
  line-height: 1.63;
}

.component-item-promo {
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  background: linear-gradient(135deg, #f97015 0%, #ff8533 100%);
  box-shadow: 0 4px 6px -4px rgba(0, 0, 0, 0.1), 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  color: var(--bs-white);
}

.component-item-promo-title {
  line-height: 1.05;
}

.component-item-promo-subtle {
  font-size: 0.875rem;
  line-height: 1.63;
}

.earn-item {
  border: 1px solid #f3f4f6;
  border-radius: 1.5rem;
  box-shadow: 0 8px 10px -6px rgba(0, 0, 0, 0.1), 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  background: var(--bs-white);
}

.earn-item-icon {
  aspect-ratio: 1;
  width: 3rem;
  border-radius: 0.875rem;
}

.earn-item-body-item {
  border-radius: 0.875rem;
  border: 1px solid rgba(255, 97, 26, 0.6);
  background-color: rgba(255, 97, 26, 0.05);
}

.earn-item-body-item-promo {
  border-radius: 1rem;
}

.earn-item-body-item-title {
  font-weight: 500;
  font-size: 1.125rem;
  position: relative;
}

.earn-item-body-item-title::before {
  content: '';
  position: absolute;
  display: block;
  background-color: #ff611a;
  border-radius: 100%;
  width: 0.5rem;
  height: 0.5rem;
  top: 50%;
  left: -1.5rem;
  transform: translateY(-50%);
}

.earn-item-body-item-subtle {
  line-height: 1.43;
  color: #4a5565;
  font-size: 0.875rem;
}

.earn-item-body-item-promo-label {
  color: #4a5565;
}

.earn-item-body-item-promo-title {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1;
}

.earn-item-body-item-promo-subtle {
  font-size: 1.125rem;
  line-height: 1.2;
  font-weight: 800;
}

@media (min-width: 992px) {
  .earn-item-body-item-promo-title {
    font-size: 3rem;
  }
  .earn-item-body-item-promo-subtle {
    font-size: 1.875rem;
  }
}

.earn-item-promo {
  border-radius: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  background: linear-gradient(157deg, #f97015 0%, #f93 100%);
}

.earn-item-promo-icon {
  width: 5rem;
  aspect-ratio: 1;
  border-radius: 1rem;
  background-color: rgba(255, 255, 255, 0.2);
}

.earn-item-promo-title {
  line-height: 1;
  font-size: 1.25rem;
  color: var(--bs-white);
}

.earn-item-promo-subtle {
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1;
  color: var(--bs-white);
}

.earn-item-promo-subtle > span {
  font-weight: 400;
  line-height: 1.2;
  font-size: 1.375rem;
  opacity: 0.8;
}

.earn-item-promo-btn {
  --bs-btn-border-width: 2px;
  
  --bs-btn-bg: rgba(255, 255, 255, 0.1);
  --bs-btn-hover-bg: rgba(255, 255, 255, 0.2);
  --bs-btn-active-bg: rgba(255, 255, 255, 0.3);
  
  --bs-btn-border-color: rgba(255, 255, 255, 0.3);
  --bs-btn-hover-border-color: rgba(255, 255, 255, 0.4);
  --bs-btn-active-border-color: rgba(255, 255, 255, 0.5);
  
  --bs-btn-color: var(--bs-white);
  --bs-btn-hover-color: var(--bs-white);
  --bs-btn-active-color: var(--bs-white);
}

@media (min-width: 768px) {
  .earn-item-promo-title {
    font-size: 1.75rem;
  }
  .earn-item-promo-subtle {
    font-size: 2.75rem;
  }
  .earn-item-promo-subtle > span {
    font-size: 1.425rem;
  }
}

@media (min-width: 992px) {
  .earn-item-promo-title {
    font-size: 2rem;
  }
  .earn-item-promo-subtle {
    font-size: 3.5rem;
  }
  .earn-item-promo-subtle > span {
    font-size: 1.5rem;
  }
}

@media (min-width: 1200px) {
  .earn-item-promo-title {
    font-size: 2.5rem;
  }
  .earn-item-promo-subtle {
    font-size: 4rem;
  }
  .earn-item-promo-subtle > span {
    font-size: 1.75rem;
  }
}

@media (min-width: 1400px) {
  .earn-item-promo-title {
    font-size: 3rem;
  }
  .earn-item-promo-subtle {
    font-size: 4.5rem;
  }
  .earn-item-promo-subtle > span {
    font-size: 1.875rem;
  }
}

.vertical-cards {
  display: flex;
  flex-direction: column;
  row-gap: 1rem;
}

.vertical-card {
  /* aspect-ratio: 784 / 376; */
  max-width: 49rem;
  background: var(--bs-white);
  border: 1px solid #f3f4f6;
  border-radius: 1rem;
  box-shadow: 0 4px 6px -4px rgba(0, 0, 0, 0.1), 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
  position: relative;
  will-change: transform, opacity, box-shadow;
}

.vertical-card-image-wrapper {
  border-radius: 0.625rem;
  overflow: hidden;
  aspect-ratio: 723 / 133;
}

.vertical-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vertical-card-title {
  color: #0a0a0a;
}

.vertical-card-list-item-label {
  color: #4A5565;
  font-size: 0.875rem;
  line-height: 1.43;
}

.vertical-card-list-item-value {
  font-size: 1.125rem;
  font-weight: 700;
}

@media (min-width: 992px) {
  .vertical-cards {
    position: relative;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
  }

  .vertical-card {
    /* Все карточки в одной сетке друг над другом */
    grid-area: 1 / 1 / 2 / 2;
    aspect-ratio: 784 / 376;
  }
  .vertical-card:not(:first-child) {
    transform: translateY(75vh) scale(0.95);
    opacity: 0.85;
  }
}

.cookie {
  position: fixed;
  z-index: 99;
  bottom: 0;
  right: 0;
  left: 0;
  background-color: var(--bs-white);
  width: 100%;
  border-radius: 1rem;
  border: 1px solid rgba(204, 204, 204, 0.5);
  box-shadow: 0 4px 6px -4px rgba(0, 0, 0, 0.1), 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.cookie-title {
  color: var(--lead-color);
  font-size: 1.375rem;
  line-height: 1.36;
  font-weight: 700;
}

.cookie-body {
  font-size: 0.875rem;
  line-height: 1.43;
}

@media (min-width: 576px) {
  .cookie {
    right: 1rem;
    bottom: 1rem;
    left: auto;
    max-width: 26.6875rem;
  }
}

.video-wrapper {
  width: 100%;
  max-width: 48.75rem;
  overflow: hidden;
  border-radius: 2rem;
  aspect-ratio: 343 / 184;
}

.video-wrapper .video-item {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 768px) {
  .video-wrapper {
    aspect-ratio: 780 / 336;
  }
}

.quiz {
  background-color: var(--bs-white);
  border-radius: 1.5rem;
  box-shadow: 0 4px 6px -4px rgba(0, 0, 0, 0.1), 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(233, 230, 226, 0.5);
  width: 100%;
  max-width: 51.625rem;
}

.btn-back {
  --bs-btn-color: rgba(100, 116, 139, 0.5);
  --bs-btn-active-border-color: transparent;
}

.btn-back svg path {
  stroke: var(--bs-btn-color);
}

.quiz-header {
  color: #64748b;
  line-height: 1;
}

.quiz-body {
  border-radius: 1rem;
  border: 1px solid #e6e6e6;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.quiz-action-col {
  display: none;
}

.quiz-action-col.active {
  display: block;
}

.quiz-progress {
  background-color: #e6e6e6;
  position: relative;
  width: 100%;
  height: 0.375rem;
}

.quiz-progress-line {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  transition: width .5s ease-in-out;
}

.quiz-block {
  display: none;
}

.quiz-block.active {
  display: block;
}

.quiz-field-title {
  line-height: 1.4;
  color: #020817;
  font-weight: 600;
  font-size: 1.25rem;
}

.quiz-field-item-radio {
  display: none;
  visibility: hidden;
  opacity: 0;
}

.quiz-field-item-label {
  border: 1px solid #e6e6e6;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  display: block;
  width: 100%;
  position: relative;
  cursor: pointer;
  font-weight: 400;
}

.quiz-field-item-label > span {
  display: inline-block;
  padding-left: 1.75rem;
}

.quiz-field-item-radio:checked + .quiz-field-item-label {
  border-color: #f97015;
  font-weight: 600;
}

.quiz-field-item-radio + .quiz-field-item-label::before {
  content: '';
  display: block;
  position: absolute;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
  border: 1px solid #e6e6e6;
  border-radius: 100%;
  width: 1rem;
  height: 1rem;
}

.quiz-field-item-radio:checked + .quiz-field-item-label::before {
  border-color: #f97015;
}

.quiz-field-item-radio:checked + .quiz-field-item-label::after {
  content: '';
  display: block;
  position: absolute;
  top: 50%;
  left: calc(1rem + 0.1875rem);
  width: 0.625rem;
  height: 0.625rem;
  transform: translateY(-50%);
  background-color: #f97015;
  border-radius: 100%;
}

.quiz-field-item-input {
  --bs-border-color: #e6e6e6;
  line-height: 1.25;
  color: #020817;
  background-color: var(--bs-white);
  padding: 0.8125rem 1.0625rem;
}

.quiz-field-item-input:focus {
  box-shadow: none;
  background-color: var(--bs-white);
  border-color: #e6e6e6;
}

.quiz-success-icon {
  width: 6.375rem;
  aspect-ratio: 1;
  background-color: rgba(56,214,123,0.1);
}

.quiz-success-title {
  font-weight: 700;
  text-align: center;
  color: #020817;
  line-height: 1.35;
  font-size: 2.375rem;
}

.quiz-success-subtle,
.quiz-success-text {
  color: #64748b;
  text-align: center;
}

.quiz-success-subtle {
  font-size: 1.5rem;
}

.quiz-success-text {
  line-height: 1.78;
  font-size: 1.125rem;
}

.quiz-policy {
  font-size: 0.875rem;
  line-height: 1.25;
  display: none;
}

.quiz-policy.active {
  display: block;
}

.back-to-top {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  visibility: hidden;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}