.erai-banner-wrapper {
  position: relative;
  height: 80px;
  width: 100%;
  overflow: hidden;
}

.erai-banner-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  box-shadow: inset 0 0 9px rgba(0, 0, 0, 0.185);
}

.erai-banner-img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.erai-banner {
  position: relative;
  width: fit-content;
  margin: 0 auto;
  top: 50%;
  transform: translateY(-50%);
  padding: 5px 20px;
  background: rgba(216, 231, 255, 0.586);
  backdrop-filter: blur(15px) saturate(1.3);
  -webkit-backdrop-filter: blur(15px) saturate(1.3);
  border-radius: 50px;
  border: 1px solid rgba(234, 246, 255, 0.577);
  box-shadow: 0 0 4px #00000010;
  text-align: center;
  z-index: 1;
}

.erai-banner h1 {
  font-size: 2.5em;
  margin: 0;
  color: #005693da;
  font-weight: 600;
}


.about-intro-section {
  display: flex;
  position: relative;
  justify-content: space-between;
  align-items: center;
  height: clamp(400px, 67.5vh, 900px);
  background: white;
  box-shadow: inset 0 0 6px #00000030;
  border: 1px solid rgba(255, 255, 255, 0.273);
  border-radius: 105px;
  padding: clamp(20px, 5vw, 50px) clamp(25px, 6vw, 60px);
  margin: clamp(20px, 4vh, 80px) auto clamp(40px, 8vh, 100px);
  width: clamp(92%, 90%, 1200px);
  gap: clamp(15px, 4vw, 40px);
  z-index: 1;
}

.about-intro-section::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 105px;
  box-shadow: inset 0 0 9px rgba(0, 0, 0, 0.185);
  pointer-events: none;
  z-index: 1;
}

.about-bg {
  position: absolute;
  border-radius: 105px;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.intro-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-heading {
  position: absolute;
  top: -1em;
  font-size: clamp(1.6em, 3vw, 2.1em);
  padding: clamp(0.2em, 1vw, 0.3em) clamp(0.6em, 2vw, 1em);
  transform: translateX(clamp(15px, 4vw, 35px));
  background: rgba(216, 231, 255, 0.68);
  border-radius: 60px;
  border: 1px solid rgb(255, 255, 255);
  backdrop-filter: blur(10px) saturate(1.3);
  -webkit-backdrop-filter: blur(10px) saturate(1.3);
  color: #013f6cc7;
  z-index: 10;
  white-space: nowrap;
}

.intro-text-box {
  background: rgba(209, 227, 255, 0.589);
  backdrop-filter: blur(10px) saturate(1.3);
  -webkit-backdrop-filter: blur(10px) saturate(1.3);
  border-radius: 70px;
  padding: clamp(15px, 3vw, 30px);
  width: 100%;
  min-width: clamp(260px, 50%, 520px);
  min-height: clamp(280px, 55vh, 570px);
  color: #013f6cc7;
  box-shadow: 0 0 4px #00000010, inset 0 0 6px rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.641);
  display: flex;
  align-items: center;
}

.intro-text-box p {
  font-size: clamp(0.9em, 1.2vw, 1.2em);
  line-height: 1.5;
  margin: 0;
}


.slogan-section {
  position: relative;
  height: 350px;
  overflow: hidden;
  isolation: isolate;
  box-shadow: inset 0 0 9px rgba(0, 0, 0, 0.199);
  width: 100%;
  z-index: 0;
}

.slogan-section::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  border-radius: inherit;
  box-shadow: inset 0 0 9px rgba(0, 0, 0, 0.185);
}

.slogan-section .slogan-bg {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 800px;
  object-fit: cover;    /* т.к. img, а не background */
  pointer-events: none;
  z-index: 0;           /* фон — самый нижний */
}


.slogan-content {
  position: relative;
  z-index: 2;
  height: 100%;
  /* Вместо flex выстроим содержимое в колонку */
  display: flex;
  flex-direction: column;
  justify-content: center; /* Центрируем по вертикали */
  align-items: center;     /* Центрируем по горизонтали */
  padding: 0 40px;
  color: #eaf7ff71;
  font-size: clamp(2.1em, 3vw, 3.1em);
  font-weight: 600;
  text-align: center;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.226);
  gap: 20px; /* Отступ между заголовком и текстом */
}

.slogan-text {
  font-size: 1em;
  font-weight: 600;
  color: #013f6cc7;
  padding-left: 60px;
  max-width: 70%;
  padding-right: 60px;
  background: rgba(196, 220, 255, 0.35);
  backdrop-filter: blur(15px) saturate(1.3);
  -webkit-backdrop-filter: blur(15px) saturate(1.3);
  border-radius: 60px;
  white-space: normal;
  border: 1px solid rgba(225, 242, 255, 0.4);
}

.after-slogan {
  width: 70%;
  margin: 100px auto 0;
  margin-top: 0;
  padding: 60px;
  border-radius: 75px;
  position: relative;
  text-align: center;
}

.after-slogan-content {
  width: 70%;
  margin-top: 40px;
  gap: 20px;
  padding-left: 40px;
  padding-right: 40px;
  height: auto; /* фиксированная высота */
  font-size: 0.6em;
  color: #3f5b92;
  margin: 0 auto;
  font-weight: 100;
  position: relative;
  text-align: center;
  background: rgba(196, 220, 255, 0.35);
  backdrop-filter: blur(15px) saturate(1.3);
  -webkit-backdrop-filter: blur(15px) saturate(1.3);
  border-radius: 60px;
  border: 1px solid rgba(225, 242, 255, 0.4);
  box-shadow: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

.after-slogan-content p {
  margin: 0;
  text-shadow: none; /* убираем тень на тексте */
}

.after-circles-section {
  width: clamp(90%, 95%, 100%);
  margin: clamp(80px, 10vw, 160px) auto clamp(50px, 5vw, 100px);
  padding: clamp(40px, 5vw, 100px) clamp(20px, 5vw, 60px) clamp(30px, 5vw, 60px);
  border-radius: clamp(50px, 10vw, 135px);
  height: auto;
  background: #eaf7ff71;
  border: 1px solid rgba(255, 255, 255, 0.412);
  box-shadow: inset 0 0 6px #04003548;
  text-align: center;
  position: relative;
}

.after-circles-shadow {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.443);
}

.after-circles-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
  clip-path: inset(0 round inherit);
}

.team-circle-photos {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 5vw, 80px);
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
}

.circle-member {
  width: clamp(120px, 20vw, 250px);
  height: clamp(120px, 20vw, 250px);
  border-radius: clamp(10px, 10vw, 60px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.486);
  background: rgba(196, 220, 255, 0.45);
  backdrop-filter: blur(10px) saturate(1.3);
  -webkit-backdrop-filter: blur(10px) saturate(1.3);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  z-index: 3;
}

.circle-member::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 clamp(9px, 1.5vw, 9px) rgba(0, 0, 0, 0.411);
  pointer-events: none;
  z-index: 6;
}

.circle-member img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  transition: filter 0.4s;
}

.circle-member p {
  top: 75%;
  width: 70%;
  padding: clamp(8px, 1.5vw, 15px) clamp(12px, 2vw, 20px);
  border-radius: clamp(20px, 5vw, 45px);
  font-size: clamp(0.7em, 1.2vw, 1em);
}

.after-circles-content {
  width: 80%;
  margin: clamp(50px, 5vw, 70px) auto 0;
  padding: clamp(40px, 5vw, 60px) clamp(15px, 5vw, 40px);
  height: auto;
  font-size: clamp(1em, 1.3vw, 1.3em);
  color: #2a4882;
  font-weight: 100;
  text-align: center;
  background: rgba(227, 238, 255, 0.583);
  backdrop-filter: blur(15px) saturate(1.3);
  -webkit-backdrop-filter: blur(15px) saturate(1.3);
  border-radius: clamp(50px, 10vw, 90px);
  border: 1px solid rgba(225, 242, 255, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: clamp(10px, 2vw, 20px);
}

.after-circles-content h2 {
  font-size: clamp(1.5em, 4vw, 2.6em);
  margin: clamp(10px, 2vw, 15px) 0;
}

.after-circles-content p {
  font-size: clamp(0.9em, 1.2vw, 1.3em);
  line-height: 1.4;
  margin: clamp(5px, 1.5vw, 15px) auto;
}


.glass-end-section {
  position: relative;
  height: auto;
  width: clamp(90%, 95%, 100%);
  margin: clamp(50px, 5vw, 100px) auto;
  border-radius: clamp(50px, 10vw, 135px);
  font-weight: 500;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding-top: clamp(40px, 8vw, 80px);
}

.glass-end-section::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: 2;
  pointer-events: none;
  box-shadow: inset 0 0 clamp(25px, 3vw, 25px) rgba(0, 0, 0, 0.25);
}

.glass-section-heading {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(1.5em, 4vw, 2em);
  font-weight: 500;
  padding: clamp(0.2em, 1vw, 0.4em) clamp(0.8em, 2vw, 1.4em);
  background: rgba(216, 231, 255, 0.586);
  border-radius: clamp(30px, 10vw, 60px);
  border: 1px solid rgb(255, 255, 255);
  backdrop-filter: blur(10px) saturate(1.3);
  -webkit-backdrop-filter: blur(10px) saturate(1.3);
  color: #013f6cc7;
  z-index: 10;
  white-space: nowrap;
}

.glass-icons-wrapper {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(20px, 5vw, 50px);
  margin-top: clamp(40px, 10vw, 80px);
  margin-bottom: clamp(20px, 5vw, 40px);
  z-index: 2;
  position: relative;
}

.glass-icon-block {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.glass-icon {
  width: clamp(20px, 12vw, 90px);
  height: clamp(20px, 12vw, 90px);
  background: #eaf7ff71;
  backdrop-filter: blur(10px) saturate(1.3);
  -webkit-backdrop-filter: blur(10px) saturate(1.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.glass-icon img {
  width: clamp(24px, 8vw, 48px);
  height: clamp(24px, 8vw, 48px);
}

.glass-icon-label {
  margin-top: clamp(4px, 1vw, 8px);
  font-size: clamp(0.9em, 1.5vw, 1.3em);
  color: #013f6cc7;
  font-weight: 600;
  background: rgba(216, 231, 255, 0.586);
  padding: clamp(2px, 0.5vw, 4px) clamp(8px, 2vw, 12px);
  border-radius: clamp(15px, 5vw, 30px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px) saturate(1.3);
  -webkit-backdrop-filter: blur(10px) saturate(1.3);
}

.glass-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  border-radius: inherit;
  overflow: hidden;
  clip-path: inset(0 round inherit);
}

.glass-end-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 clamp(6px, 3vw, 10px) rgba(0, 0, 0, 0.36);
}

.glass-content {
  position: relative;
  z-index: 3;
  background: #eaf7ff71;
  backdrop-filter: blur(15px) saturate(1.3);
  -webkit-backdrop-filter: blur(15px) saturate(1.3);
  border-radius: clamp(40px, 10vw, 75px);
  padding: clamp(20px, 5vw, 40px) clamp(30px, 5vw, 60px);
  max-width: 80%;
  margin-bottom: clamp(40px, 10vw, 75px);
  text-align: center;
  color: #013f6c;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: clamp(0.9em, 1.5vw, 1.2em);
}

.glass-content h2 {
  font-size: 2.6em;
  margin-bottom: 15px;
}

.glass-content p {
  font-size: 1.3em;
}

.intro-carousel {
  position: relative;
  min-height: auto;
  width: 55%;
  display: flex;
  align-items: center;
  overflow-y: hidden;
  justify-content: center;
  text-align: center;
  margin-top: 30px;
  margin-bottom: 40px;
  overflow: hidden;
  z-index: 0;
}

.intro-carousel-track {
  display: flex;
  scroll-snap-type: none;
  overflow-x: auto;
  padding: 0;
  scroll-behavior: smooth;
  align-items: center;
  height: auto;
  -webkit-overflow-scrolling: touch;
  position: relative;
  padding-right: 50%;
  z-index: 2;
}

.intro-carousel-track::-webkit-scrollbar {
  display: none;
}

.intro-carousel-track::before,
.intro-arousel-track::after {
  content: "";
  flex: 0 0 33vw;
}

.intro-carousel-slide {
  flex: 0 0 33vw;
  scroll-snap-align: center;
  position: relative;
  transition: transform 0.4s ease, opacity 0.4s ease, filter 0.4s ease;
  display: inline-block;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.intro-carousel-slide img {
  max-height: 700px;
  width: 80%;
  object-fit: contain;
  border-radius: 75px;
  transition: transform 0.5s ease-in-out, filter 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

/* Активный */
.intro-carousel-slide.active img {
  transform: scale(1);
  opacity: 1;
  filter: none;
  z-index: 2;
}

/* Неактивные */
.intro-carousel-slide:not(.active) img {
  transform: scale(0.7);
  opacity: 0;
  filter: blur(9px);
  z-index: 1;
}

.intro-carousel-nav {
  position: absolute;
  top: 50%;
  background: rgba(216, 231, 255, 0.68);
  color: #013f6cc7;
  font-size: 2rem; /* Уменьшили размер иконки */
  cursor: pointer;
  width: 50px;
  height: 50px;
  border-radius: 50%; /* Делаем кнопки круглыми */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  backdrop-filter: blur(6px) saturate(1.3);
  -webkit-backdrop-filter: blur(6px) saturate(1.3);
  transition: background 0.5s ease, transform 0.5s ease;
  border: 1px solid rgb(234, 246, 255);
  box-shadow: 0 0 6px #0000001e, inset 0 0 5px rgba(240, 248, 255, 0.61);
}

.intro-carousel-nav:hover {
  background: rgb(233, 242, 255);
  transform: scale(1.05);
}

.intro-carousel-nav:active {
  transform: scale(0.97);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}


.intro-carousel-nav.prev {
  left: 20px; /* Ближе к центру */
}

.intro-carousel-nav.next {
  right: 20px; /* Ближе к центру */
}

.intro-ghost-slide {
  flex: 0 0 33vw;
  height: 100%;
  pointer-events: none;
  opacity: 0;
}

@media (orientation: portrait) {
  .about-intro-section {
    flex-direction: column;
    align-items: center;
    height: auto;
    padding: clamp(15px, 5vw, 30px);
    padding-top: 20px;
    margin: clamp(20px, 4vh, 60px) auto;
    gap: clamp(15px, 3vw, 30px);
  }

  .section-heading {
    position: absolute;
    top: 1.5em;
    left: 50%;
    transform: translateX(-50%);
  }

  .intro-text {
    width: 100%;
    order: 1;
  }

  .intro-text-box {
    width: 100%;
    min-width: auto;
    min-height: auto;
    padding: clamp(15px, 5vw, 25px);
    border-radius: 60px;
    margin-top: 20px;
    font-size: clamp(0.85em, 1.2vw, 1em);
  }

  .intro-carousel {
    width: 100%;
    order: 2;
    margin-top: clamp(20px, 5vw, 30px);
    display: flex;
    justify-content: center;
  }

  .intro-carousel-track {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    padding-right: 10%;
    gap: clamp(10px, 3vw, 20px);
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .intro-carousel-slide {
    flex: 0 0 70%;
    max-width: 70%;
    scroll-snap-align: center;
  }

  .intro-carousel-slide img {
    width: 100%;
    max-height: 300px;
    border-radius: clamp(40px, 5vw, 75px);
  }

  .intro-carousel-nav {
    width: clamp(30px, 8vw, 50px);
    height: clamp(30px, 8vw, 50px);
    font-size: clamp(1.5rem, 4vw, 2rem);
  }

  .section-heading {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    font-size: clamp(1.2em, 3vw, 1.6em);
    padding: clamp(0.15em, 1vw, 0.25em) clamp(0.4em, 2vw, 0.8em);
  }
}