/*  Archive Vrachi  */
.doctors {
  background-color: #F3F2ED;
  padding: 60px 0 80px 0;
  font-family: 'Inter', sans-serif;
}
.doctors__header {
  text-align: center;
  margin-bottom: 40px;
}
.doctors__title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #3A3737;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.2;
}
	
.doctors__subtitle {
  font-size: 1.2rem;
  color: #3A3737;
  max-width: 75%;
  margin: 25px auto 0;
  line-height: 1.5;
  opacity: 0.8;
}

.doctors__wrapper {
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border-radius: 24px;
  padding: 40px 50px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

/* Фильтр */
.doctors__filter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.doctors__filter label {
  font-size: 1.1rem;
  font-weight: 600;
  color: #3A3737;
}
.doctors__select {
  padding: 12px 50px 12px 24px;
  border-radius: 50px;
  border: 2px solid #24AAE1;
  background: rgba(255, 255, 255, 0.5) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2324AAE1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 18px center;
  background-size: 16px;
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  color: #3A3737;
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
  min-width: 280px;
  appearance: none;
  -webkit-appearance: none;
}
.doctors__select:hover,
.doctors__select:focus {
  border-color: #1d8bb8;
  background-color: rgba(255, 255, 255, 0.7);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231d8bb8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}

/* Сетка */
.doctors__grid {
  row-gap: 30px;
}

/* Карточка врача */
.doctors__card {
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border-radius: 24px;
  padding: 20px 20px 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: none;
}
.doctors__card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}

.doctors__photo {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 16px;
  background-color: #e9e7e0;
}
.doctors__photo img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/*  КНОПКА PLAY (левый верхний угол, иконка по центру) */
.doctors__play-btn {
  position: absolute;
  top: 12px;
  left: 12px;
  transform: none;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.doctors__play-btn:hover {
  transform: scale(1.03);
  background: rgba(255, 255, 255, 0.95);
}
.doctors__play-btn svg {
  display: block;
  width: 28px;
  height: 28px;
}

/*  Модальное окно */
.video-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  align-items: center;
  justify-content: center;
}
.video-modal--active {
  display: flex;
}
.video-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.video-modal__content {
  position: relative;
  width: 90%;
  max-width: 800px;
  background: rgba(36, 170, 225, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 20px;
  box-shadow: 0 10px 40px rgba(36, 170, 225, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 1;
}
.video-modal__close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #ffffff;
  cursor: pointer;
  z-index: 10;
  transition: transform 0.2s ease;
  line-height: 1;
}
.video-modal__close:hover {
  transform: scale(1.2);
}
#modalVideo {
  width: 100%;
  border-radius: 16px;
  display: block;
  background: #000;
  aspect-ratio: 16 / 9;
}

/* Тело карточки  */
.doctors__body {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.doctors__name {
  font-size: 1.2rem;
  font-weight: 700;
  color: #3A3737;
  margin: 0 0 2px 0;
  line-height: 1.3;
}
.doctors__position {
  font-size: 0.95rem;
  font-weight: 600;
  color: #24AAE1;
  margin: 0 0 12px 0;
}
.doctors__details {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.doctors__detail {
  font-size: 0.9rem;
  color: #3A3737;
  line-height: 1.4;
}
.doctors__detail strong {
  font-weight: 600;
}
.doctors__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
}
.doctors__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  background-color: transparent;
  color: #24AAE1;
  border: 2px solid #24AAE1;
  transition: background-color 0.25s ease, color 0.25s ease;
  cursor: pointer;
  flex: 1;
  min-height: 44px;
  text-align: center;
}
.doctors__btn:hover {
  background-color: #24AAE1;
  color: #ffffff;
}
.doctors__btn:active {
  transform: scale(0.97);
}

/*  Адаптивность */
@media (max-width: 992px) {
  .doctors__wrapper {
    padding: 30px 35px;
  }
  .doctors__title {
    font-size: 1.8rem;
  }
  .doctors__select {
    min-width: 220px;
    font-size: 1rem;
    padding: 10px 44px 10px 20px;
  }
}
@media (max-width: 700px) {
  .doctors {
    padding: 40px 0 60px 0;
  }
  .doctors__wrapper {
    padding: 24px 20px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  .doctors__filter {
    flex-direction: column;
    gap: 12px;
  }
  .doctors__select {
    width: 100%;
    max-width: 100%;
    min-width: unset;
    padding: 12px 44px 12px 20px;
    font-size: 1rem;
  }
  .doctors__title {
    font-size: 1.6rem;
  }
  .doctors__card {
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  .doctors__photo {
    border-radius: 12px;
  }
  .doctors__name {
    font-size: 1rem;
  }
  .doctors__position {
    font-size: 0.9rem;
  }
  .doctors__detail {
    font-size: 0.85rem;
  }
  .doctors__btn {
    font-size: 0.85rem;
    padding: 8px 14px;
    min-height: 40px;
  }
  .doctors__actions {
    gap: 8px;
  }
  /* Кнопка Play на мобильных */
  .doctors__play-btn {
    width: 50px;
    height: 50px;
    top: 10px;
    left: 10px;
  }
  .doctors__play-btn svg {
    width: 22px;
    height: 22px;
  }
  .video-modal__content {
    padding: 12px;
    border-radius: 18px;
  }
  .video-modal__close {
    font-size: 1.8rem;
    top: 5px;
    right: 10px;
  }
}
@media (max-width: 400px) {
  .doctors__title {
    font-size: 1.3rem;
  }
  .doctors__wrapper {
    padding: 18px 14px;
    background: rgba(255, 255, 255, 0.6);
  }
  .doctors__card {
    padding: 12px;
    background: rgba(255, 255, 255, 0.6);
  }
  .doctors__photo {
    border-radius: 10px;
  }
  .doctors__name {
    font-size: 0.95rem;
  }
  .doctors__btn {
    font-size: 0.8rem;
    padding: 6px 12px;
    min-height: 36px;
  }
  .doctors__play-btn {
    width: 40px;
    height: 40px;
    top: 8px;
    left: 8px;
  }
  .doctors__play-btn svg {
    width: 18px;
    height: 18px;
  }
}

/* Отдельная страница Врачей */
/*  Стили секции Карточка врача */
.doctor-hero {
  background-color: #F3F2ED;
  padding: 60px 0 60px 0;
  font-family: 'Inter';
}

/* ===== Хлебные крошки ===== */
.doctor-hero__breadcrumbs {
  margin-bottom: 24px;
  font-size: 0.9rem;
  font-weight: 400;
  color: #3A3737;
  font-family: 'Inter', sans-serif;
}

/* Стили для ссылок внутри крошек */
.doctor-hero__breadcrumbs a {
  color: #24AAE1;
  text-decoration: none;
  transition: color 0.2s ease;
}

.doctor-hero__breadcrumbs a:hover {
  color: #1d8bb8;
  text-decoration: underline;
}

/* Стили для текущего элемента */
.doctor-hero__breadcrumbs span {
  color: #3A3737;
}

/* Разделители */
.doctor-hero__breadcrumbs .separator,
.doctor-hero__breadcrumbs .breadcrumb-separator {
  margin: 0 6px;
  color: #3A3737;
  opacity: 0.6;
}

.doctor-hero__breadcrumbs ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.doctor-hero__breadcrumbs ul li {
  display: inline-flex;
  align-items: center;
}

.doctor-hero__breadcrumbs ul li + li::before {
  content: "›";
  margin: 0 8px;
  color: #3A3737;
  opacity: 0.6;
}

.doctor-hero__breadcrumbs .breadcrumb-last {
  color: #3A3737;
  font-weight: 600;
}	
	
.doctor-hero__card {
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border-radius: 24px;
  padding: 40px 50px;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.doctor-hero__wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
}

.doctor-hero__info {
  flex: 1;
}

.doctor-hero__name {
  font-size: 2.4rem;
  font-weight: 700;
  color: #3A3737;
  margin: 0 0 4px 0;
  line-height: 1.2;
}

.doctor-hero__position {
  font-size: 1.2rem;
  font-weight: 600;
  color: #24AAE1;
  margin: 0 0 20px 0;
}

.doctor-hero__details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.doctor-hero__detail {
  font-size: 1rem;
  color: #3A3737;
}

.doctor-hero__detail-label {
  font-weight: 600;
  margin-right: 6px;
}

.doctor-hero__detail-value {
  font-weight: 400;
}

.doctor-hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.button_outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  background-color: transparent;
  color: #24AAE1;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  border: 2px solid #24AAE1;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.2s ease;
  cursor: pointer;
  min-height: 54px;
  box-sizing: border-box;
}

.button_outline:hover {
  background-color: #24AAE1;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(36, 170, 225, 0.35);
}

.button_outline:active {
  transform: scale(0.97);
}

.doctor-hero__photo {
  flex-shrink: 0;
  width: 280px;
  height: 280px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.doctor-hero__photo img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

@media (max-width: 992px) {
  .doctor-hero__card {
    padding: 30px 35px;
  }
  .doctor-hero__name {
    font-size: 2rem;
  }
  .doctor-hero__photo {
    width: 220px;
    height: 220px;
    border-radius: 16px;
  }
}

@media (max-width: 700px) {
  .doctor-hero {
    padding: 40px 0 60px 0;
  }
  .doctor-hero__card {
    padding: 24px 20px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  .doctor-hero__wrapper {
    flex-direction: column-reverse;
    text-align: center;
    gap: 24px;
  }
  .doctor-hero__name {
    font-size: 1.8rem;
  }
  .doctor-hero__position {
    font-size: 1rem;
  }
  .doctor-hero__details {
    align-items: center;
  }
  .doctor-hero__photo {
    width: 180px;
    height: 180px;
    border-radius: 16px;
  }
  .doctor-hero__actions {
    justify-content: center;
    flex-direction: column;
    width: 100%;
  }
  .button_outline {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    font-size: 0.95rem;
    min-height: 48px;
  }
}

@media (max-width: 400px) {
  .doctor-hero__card {
    padding: 18px 14px;
    background: rgba(255, 255, 255, 0.6);
  }
  .doctor-hero__name {
    font-size: 1.4rem;
  }
  .doctor-hero__position {
    font-size: 0.95rem;
  }
  .doctor-hero__detail {
    font-size: 0.9rem;
  }
  .doctor-hero__photo {
    width: 140px;
    height: 140px;
    border-radius: 12px;
  }
  .button_outline {
    padding: 10px 16px;
    font-size: 0.9rem;
    min-height: 44px;
  }
}

/* Стили секции Видео */
.video-card {
  padding: 60px 0;
  background: #F3F2ED;
}
	
.video-card__header {
  text-align: center;
  margin-bottom: 25px;
}

.video-card__title {
  font-family: Inter;
  font-weight: 600;
  color: #3A3737;
  margin: 0;
  padding: 0px 12px 25px 12px;
  font-size: 30px;
  text-transform: uppercase;
  font-style: normal;
  letter-spacing: -0.02em;
}
	
.video-card__media {
  aspect-ratio: 16 / 9;
  width: 90%;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(36, 170, 225, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(36, 170, 225, 0.3);
  box-shadow: 0 10px 40px rgba(36, 170, 225, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-card__media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(36, 170, 225, 0.15);
}

@media (max-width: 480px) {
  .video-card {
    padding: 40px 0;
  }
  .video-card__title {
    font-size: 1.4rem;
  }
}
	
/*  Стили секции Специализация  */
.skill {
  background-color: #F3F2ED;
  padding: 60px 0;
}

.skill .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.skill__title {
  margin-bottom: 40px;
  text-align: center;
}
.skill__title h2 {
  font-size: 30px;
  font-weight: 600px;
  font-style: normal;
  color: #3A3737;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0;
}

.skill__wrapper {
  background: rgba(255, 255, 255, 0.35); /* полупрозрачный белый */
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border-radius: 24px;
  padding: 40px 50px;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.08),   /* мягкая тень */
    inset 0 0 0 1px rgba(255, 255, 255, 0.5); /* тонкая светлая рамка */
  transition: all 0.3s ease;
}
.skill__subtitle {
  font-family:'Inter';
  font-size: 1.2rem;
  font-weight: 600;
  color: #3A3737;
  margin: 0 0 20px 0;
}

.skill-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 30px;
  padding: 0;
  margin: 0;
}
.skill-list li {
  font-family:'Inter';
  position: relative;
  padding-left: 28px;
  font-size: 1rem;
  font-weight: 400;
  color: #3A3737;
  line-height: 1.25;
}

.skill-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 10px;
  height: 10px;
  background-color: #24AAE1;
  border-radius: 50%;
  transform: translateY(-50%);
}

@media (max-width: 992px) {
  .skill__wrapper {
    padding: 30px 35px;
  }
  .skill__title h2 {
    font-size: 1.8rem;
  }
  .skill-list {
    gap: 12px 20px;
  }
}

@media (max-width: 700px) {
  .skill {
    padding: 40px 0;
  }
  .skill__wrapper {
    padding: 24px 20px;
    border-radius: 18px;
  }
  .skill__title h2 {
    font-size: 1.6rem;
  }
  .skill__subtitle {
    font-size: 1rem;
  }
  .skill-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .skill-list li {
    font-size: 0.95rem;
    padding-left: 24px;
  }
  .skill-list li::before {
    width: 8px;
    height: 8px;
    top: 0.5em;
  }
}

@media (max-width: 400px) {
  .skill__title h2 {
    font-size: 1.3rem;
  }
  .skill__wrapper {
    padding: 18px 14px;
  }
  .skill-list li {
    font-size: 0.9rem;
  }
  .button_with_arrow {
    padding: 12px 20px;
    font-size: 0.9rem;
  }
}
	
/*  Стили секции Образование */
.kurs {
  background-color: #F3F2ED;
  padding: 60px 0 60px 0;
  font-family: 'Inter';
}

.kurs .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.kurs__title {
  margin-bottom: 40px;
  text-align: center;
}
.kurs__title h2 {
  font-size: 30px;
  font-weight: 600;
  font-style: normal;
  color: #3A3737;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0;
}

.kurs__wrapper {
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border-radius: 24px;
  padding: 40px 50px;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.kurs__item {
  text-align: center;
}

.kurs__year {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  color: #FF6F64;
  margin-bottom: 4px;
}

.kurs__desc {
  font-size: 1.1rem;
  font-weight: 400;
  color: #3A3737;
  margin: 0;
  line-height: 1.4;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 700px) {
  .kurs {
    padding: 40px 0 60px 0; 
  }
  .kurs__wrapper {
    padding: 24px 20px;
    border-radius: 18px;
    gap: 24px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    margin-bottom: 30px;
  }
  .kurs__title h2 {
    font-size: 1.6rem;
  }
  .kurs__year {
    font-size: 1.3rem;
  }
  .kurs__desc {
    font-size: 1rem;
    max-width: 100%;
  }
}

@media (max-width: 400px) {
  .kurs__title h2 {
    font-size: 1.3rem;
  }
  .kurs__wrapper {
    padding: 18px 14px;
    background: rgba(255, 255, 255, 0.6);
    margin-bottom: 24px;
  }
  .kurs__year {
    font-size: 1.1rem;
  }
  .kurs__desc {
    font-size: 0.9rem;
  }
  .button_with_arrow {
    padding: 12px 20px;
    font-size: 0.9rem;
  }
}