.after-intro-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 50px auto 60px;
  padding: 40px 20px;
  aspect-ratio: 21 / 9; /* горизонтальная ориентация по умолчанию */
  min-height: 300px;
  overflow: hidden;
  transform-origin: top center;
  font-size: clamp(14px, 1.2vw, 20px);
}

.after-intro-bg {
  position: absolute;
  inset: 0;
  background-image: url('/static/static_media/after_homepage_intro.jpg');
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  z-index: 0;
}

.after-intro-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: scale(0.955);
  box-shadow: inset 0 0 7px rgba(0, 0, 0, 0.545);
  border: 1px solid rgb(255, 255, 255);
  z-index: 1;
}

.after-intro-glass {
  position: relative;
  width: 90%;
  max-width: 1200px;
  padding: clamp(30px, 3vw, 60px);
  text-align: center;
  color: #2a53a3;
  backdrop-filter: blur(10px) saturate(1.3);
  background: #ffffff33;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 7px rgba(0, 0, 0, 0.054);
  border-radius: clamp(40px, 7vw, 95px);
  animation: after-intro-fade-in 1s ease-out forwards;
  transform: translateY(30px);
  opacity: 0;
  overflow: hidden;
  z-index: 1;
}

.after-intro-textbox {
  position: relative;
  padding: clamp(15px, 2vw, 30px);
  border: 1px solid rgba(255, 255, 255, 0.289);
  border-radius: clamp(25px, 4vw, 55px);
  margin-top: clamp(15px, 2vw, 25px);
  font-size: clamp(0.9rem, 1.2vw, 1.15rem);
  line-height: 1.7;
  color: #000e66;
  overflow: hidden;
  z-index: 1;
}

.after-intro-textbox::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('/static/static_media/reviews_image.png');
  background-size: cover;
  background-position: center;
  background: rgba(227, 247, 255, 0.747);
  filter: blur(40px) saturate(1.3);
  transform: scale(1.875) translateY(-30px);
  z-index: -1;
  opacity: 1;
}

.after-intro-line {
  width: clamp(60px, 10vw, 120px);
  height: clamp(2px, 0.5vw, 4px);
  background: #e2faff;
  margin: 0 auto clamp(14px, 2vw, 28px);
  border-radius: 2px;
  box-shadow: 0 0 8px #5fddf7;
}

.after-intro-title {
  font-size: clamp(1.5rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: clamp(10px, 2vw, 20px);
  color: #e3efff;
  text-shadow: #6c80ff4f 0 0 2px;
  position: relative;
  z-index: 2;
}

/* Появление */
@keyframes after-intro-fade-in {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Вертикальная ориентация экрана */
@media (orientation: portrait) {
  .after-intro-section {
    aspect-ratio: 1 / 1;
  }
}
