.first-screen {
  min-height: 720px;
  text-align: center;
  padding-top: 200px;
  color: var(--c-hero-text);
}

.home .first-screen {
  padding-bottom: 80px;
}

.main-row {
  padding: 34px 0 8px;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 0.25s ease-out;
}

.main-row.show {
  opacity: 1;
}

.main-title {
  font-size: var(--fs-17xl);
}

.main-title-desc {
  color: var(--c-hero-text);
  font-size: var(--fs-9xl);
  font-weight: var(--fw-bold);
  margin-top: 10px;
}

.main-features-wrap {
  color: var(--c-black);
  display: flex;
  justify-content: center;
  padding: 30px 0 40px;
  border-radius: var(--r-md);
  opacity: 0;
  transition: all .25s ease-out;
}

.main-features-wrap.show {
  opacity: 1;
}

.main-features-wrap .item {
  font-size: var(--fs-3xl);
  font-weight: var(--fw-bold);
  padding: 0 10px;
  color: var(--c-hero-text);
  font-family: var(--ff-heading);
}

.main-features-wrap .item svg {
  display: block;
  width: 100px;
  margin-bottom: 14px;
  margin-left: auto;
  margin-right: auto
}

.first-screen .section-bg {
  background-color: var(--c-header-bg);
}

.ken-burns .slideshow-image {
  animation: kenburns 120s infinite linear;
}

.ken-burns .slideshow-image.active {
  z-index: 1;
}

.first-screen .section-bg img {
  filter: opacity(var(--header-bright)) blur(var(--header-blur));
}

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

.callback .section-bg img {
  filter: opacity(var(--callback-bright));
}

.slideshow-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0 !important;
  transition: opacity 1.5s ease-in-out;
  background-color: #000;
}

.slideshow-image.active {
  opacity: 1 !important;
}

.ken-burns {
  transform: translateY(var(--parallax-y, 0px));
  will-change: transform;
}

.ken-burns img {
  width: 105%;
  margin-right: -5%;
  -webkit-animation: kenburns 120s infinite linear;
  -moz-animation: kenburns 120s infinite linear;
  animation: kenburns 120s infinite linear;
}

@keyframes kenburns {
  0% {
    transform: scale(1) translate(0, 0);
  }

  50% {
    transform: scale(1.1) translate(-5%, 0);
  }

  100% {
    transform: scale(1) translate(0, 0);
  }
}

#ajax-spinner-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
}

#ajax-spinner-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

#ajax-spinner {
  background: var(--spinner-bg, url()) no-repeat center center;
  background-size: 60px;
  width: 60px;
  height: 60px;
}

/* ===== Front-page hero ===== */
/* front-hero.css — extracted from bem-blocks.css */
/* ========================================
   BEM Hero
   ======================================== */
.front-page .hero {
  position: relative;
  background-color: var(--color-white);
  height: auto;
  overflow: hidden;
}

.front-page .hero__bg-decor {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

.front-page .hero__yellow-side {
  position: absolute;
  top: 0;
  left: calc(50% + 84px);
  right: 0;
  height: 100%;
  background-color: var(--color-hero-warm);
  z-index: 1;
}

.front-page .hero__container {
  position: relative;
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  width: 100%;
  height: auto;
  z-index: 2;
}

.front-page .hero__content {
  flex: 0 0 auto;
  max-width: 598px;
  padding: 94px 0 0;
}

.front-page .hero__title {
  font-size: var(--fs-16xl);
  font-weight: var(--font-weight-title);
  color: var(--color-primary);
  line-height: 50px;
  margin-bottom: 0;
}

.front-page .hero__title-underline {
  background-image: linear-gradient(to top, var(--color-accent) 0%, var(--color-accent) 100%);
  background-size: 100% 10px;
  background-repeat: no-repeat;
  background-position: bottom;
}


.front-page .hero__checks {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 46px 0 0;
  padding: 0;
  list-style: none;
}

.front-page .hero__check {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: var(--fs-7xl);
  font-weight: var(--fw-medium);
  color: var(--color-primary);
  line-height: 29px;
  text-align: left;
}

.front-page .hero__check + .hero__check { margin-top: 18px; }

.front-page .hero__check img {
  width: 43px;
  height: 43px;
  flex-shrink: 0;
}

.front-page .hero__cta-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 57px;
}

.front-page .hero__cta-hint {
  font-size: var(--fs-xl);
  font-weight: var(--fw-medium);
  max-width: 300px;
  padding-top: 6px;
  line-height: 21px;
  color: var(--color-primary);
  margin: 0;
  text-align: left;
}

.front-page .hero__cta-hint strong {
  font-weight: var(--fw-extrabold);
}

.front-page .hero__visual {
  flex: 1;
  height: 800px;
  position: relative;
  overflow: hidden;
}

.front-page .hero__illustration {
  position: absolute;
  top: 0;
  left: -44px;
  height: 100%;
  width: auto;
  max-width: none;
}

@media (max-width: 1200px) {
  .front-page .hero { height: auto; }
  .front-page .hero__container { height: auto; }
  .front-page .hero__yellow-side { left: calc(50% - 60px); }
  .front-page .hero__content { max-width: 506px; padding: 23px 0 0 11px; }
  .front-page .hero__title { font-size: var(--fs-18xl); }

  .front-page .hero__check { font-size: var(--fs-3xl); }
  .front-page .hero__check img { width: 30px; height: 30px; }
  .front-page .hero__check + .hero__check { margin-top: 10px; }
  .front-page .hero__visual { height: 720px; }
  .front-page .hero__illustration { left: -61px; top: 38px; }
}

@media (max-width: 992px) {
  .front-page .hero__title { padding-top: 30px; }
}

@media (max-width: 960px) {
  .front-page .hero { min-height: auto; padding: 23px 0 0; }
  .front-page .hero__bg-decor { display: none; }
  .front-page .hero__yellow-side { display: none; }
  .front-page .hero__container { flex-direction: column; min-height: auto; }
  .front-page .hero__content { width: 100%; max-width: none; padding: 0 var(--container-padding); background: #fff8c2; }
  .front-page .hero__visual { display: none; }
  .front-page .hero__title { font-size: var(--fs-10xl); }

  .front-page .hero__check { font-size: var(--fs-7xl); }
  .front-page .hero__check img { width: 30px; height: 30px; }
  .front-page .hero__check + .hero__check { margin-top: 18px; }
  .front-page .hero__cta-row { margin-top: 17px; flex-direction: column; align-items: center; gap: 0; padding-bottom: 17px; }
  .front-page .hero__cta-hint { text-align: center; max-width: 266px; margin-top: 27px; padding-top: 0; }
}

@media (max-width: 640px) {
  .front-page .hero { padding: 26px 0 0; }
  .front-page .hero__title { font-size: var(--fs-10xl); }

  .front-page .hero__check { font-size: var(--fs-7xl); gap: 14px; }
  .front-page .hero__check img { width: 30px; height: 30px; }
}

@media (max-width: 480px) {
  .front-page .hero { padding: 35px 0 0; }
  .front-page .hero__title { font-size: var(--fs-9xl); }

  .front-page .hero__check { font-size: var(--fs-3xl); gap: 10px; }
  .front-page .hero__check img { width: 30px; height: 30px; }
  .front-page .hero__cta-row { flex-direction: column; align-items: center; gap: 8px; }
  .front-page .hero__cta-hint { font-size: var(--fs-base); text-align: center; max-width: 229px; }
}
