/* 
.teacher {
  padding: 130px 0;
}

.teacher {
  position: relative;
  overflow: hidden; 
}

.teacher-bg {
  position: absolute;
    top: 0px;
   left: 50%; transform: translateX(-50%);
    width: 1181px;
  object-fit: cover;
  z-index: 0;          
}

.teacher-wrapper {
  position: relative;
  z-index: 1;     
}


.teacher-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
}

.teacher-info {
  flex: 1 1 300px;
  max-width: 420px;
  text-align: right;
}

.teacher-name {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 10px;
}

.teacher-role,
.teacher-exp,
.teacher-score {
  font-size: 18px;
  margin-bottom: 8px;
}
.teacher-photo img{
  max-height: 545px;
}
.teacher-subject {
  margin-left: -30px;
  margin-bottom: 10px;
  font-size: 40px;
  font-weight: bold;
  text-align: center;
}

.teacher-facts {
  flex: 1 1 300px;
  max-width: 420px;
}

.facts-title {
  font-size: 24px;
  margin-bottom: 16px;
}

.facts-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.facts-list li {
  font-size: 16px;
  margin-bottom: 10px;
  position: relative;
  padding-left: 12px;
} */


.evolut-folders {
  padding: 30px 0;
}

.evolut-folders__wrapper {
  max-width: 1100px;
  margin: 0 auto;
  background-image: url('/assets/folders_bg.png'); /* твоя картинка с папками */
  background-size: cover;
  background-position: center;
  border-radius: 30px;
  /* padding: 40px; */
}

/* Ярлыки */
.evolut-folders__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin: 0 auto;
  margin-bottom: 25px;
  justify-content: center;
  max-width: 800px;
}

.evolut-folders__tabs button {
  padding: 10px 18px;
  border-radius: 18px;
  border: none;
  background: #ececec;
  cursor: pointer;
  font-family: var(--font-main);
  font-size: 24px;
  font-weight: 600;
  transition: 0.2s;
}

.evolut-folders__tabs button.active {
  background: var(--color-accent);
  color: #fff;
}

/* Контент */
.folder-card {
  display: none;
  /* background: rgba(255,255,255,0.85); */
  background: var(--color-white);
  padding: 25px 30px;
  border-radius: 20px;
  max-width: 1000px;
}

.folder-card h3 {
  margin: 0 0 10px;
  font-size: 26px;
  font-weight: 700;
}

.folder-card p {
  margin: 4px 0;
  font-size: 16px;
  font-weight: 500;
}

.facts p {
  margin: 3px 0;
  font-size: 15px;
}
.teacher-card {
  display: none; /* скрыта по умолчанию, показывается через .active-card */
  gap: 20px;
  justify-content: center;
  padding: 50px 10px;
  background: rgba(255,255,255,0.9);
  border: 3px solid var(--color-dark);
  border-radius: 50px;
  align-items: center;
}

/* Активная карточка — показывается JS-ом через класс */
.teacher-card.active-card {
  display: flex !important;
}

/* .folder-card.active-card {
  display: block !important;
} */

.coming-soon-card {
  display: none;
}

.coming-soon-card.active-card {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 40px;
  background: rgba(255,255,255,0.85);
  border-radius: 30px;
  max-width: 600px;
  margin: 0 auto;
  gap: 20px;
}
.teacher-card{
    margin: 0 auto;
}

/* Фото */
.teacher-card__photo img {
  width: 380px;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
}
#math .teacher-card__photo img {
  max-width: 350px;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
}

/* Текстовый блок */
.teacher-card__info {
  /* flex: 1; */
  /* align-self: flex-start;
  margin-top: 30px; */
  display: flex;
  flex-direction: column;
  max-width: 350px;
  text-align: center;
  gap:20px;
  /* margin-left: 50px; */
}

/* .teacher-card__name {
  font-size: 46px;
  font-weight: 700;
  margin: 0 0 8px;
  max-width: 500px;
  text-align: center;
} */
.folder-card h3{
  font-size: 34px;
  font-weight: 700;
  margin: 0 0 8px;
  max-width: 370px;
  text-align: center;
}
.teacher-card__descrip{
    background-color: var(--color-accent-dark);
    border-radius: 25px;
    padding: 15px 20px;
    color:var(--color-white);
    max-width: 300px;
    text-align: left;
}
.teacher-card__role,
.teacher-card__exp {
  font-size: 20px;
  font-weight: 600;
  margin: 8px 0;
}

/* Фактики */
.teacher-card__facts {
max-width: 400px;
}
.teacher-card__facts h4 {
  margin: 15px auto 8px;
  font-size: 22px;
  font-weight: 700;
}

.teacher-card__facts ul {
  padding-left: 18px;
  font-weight: 600;
  margin: 0;
  text-align: left;
  display: inline-block;
}

.teacher-card__facts li {
  font-size: 16px;
  margin-bottom: 4px;
}
.teacher-card__vertical{
    flex-direction: column;
    max-width: 30px;
  display: flex;
  min-height: 480px;
    justify-content: space-between;
    align-self: flex-end;
    margin-left: 50px;
}
/* Соцсети */
.teacher-card__socials {
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  max-width: 30px;
}

.teacher-card__socials img {
  width: 41px;
  cursor: pointer;
  transition: 0.2s;
}

.teacher-card__socials img:hover {
  transform: scale(1.1);
}

/* Вертикальная надпись */
.teacher-card__sub {
  /* position: absolute;
  right: -40px;
  top: 50%; */
  transform: translateY(-50%) rotate(90deg);
  font-size: 46px;
  font-weight: 700;
  color: var(--color-dark);
  opacity: 0.85;
  letter-spacing: 2px;
}
body.dark .evolut-folders__tabs button:hover {
  background: var(--color-accent);
  color: var(--color-dark);
  border-color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(32,184,153,0.3);
}

