.page--doctors .doctors-hero.section {
  position: relative;
  padding: 0;
  background: #fcf9f4;
  overflow: hidden;
}

.page--doctors .doctors-hero.section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(252, 249, 244, 0.9) 0%, rgba(252, 249, 244, 0.74) 26%, rgba(252, 249, 244, 0.4) 58%, rgba(252, 249, 244, 0.28) 100%),
    linear-gradient(0deg, rgba(252, 249, 244, 0.3), rgba(252, 249, 244, 0.3)),
    url("../images/doctors-hero-bg.png") center 54% / cover no-repeat;
  pointer-events: none;
}

.page--doctors .doctors-hero.section::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 9% 50%, rgba(252, 249, 244, 0.96), transparent 28%),
    radial-gradient(circle at 92% 48%, rgba(252, 249, 244, 0.18), transparent 20%);
  pointer-events: none;
}

.page--doctors .doctors-hero .container,
.page--doctors .doctors-tabs .container {
  position: relative;
  z-index: 1;
  width: min(100%, 1280px);
  padding-inline: 80px;
}

.doctors-hero__content {
  display: flex;
  align-items: flex-start;
  min-height: 364px;
}

.doctors-hero__frame {
  display: flex;
  width: 597px;
  min-height: 284px;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 40px 0;
}

.doctors-hero__breadcrumbs {
  margin: 0;
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  color: #8a755d;
}

.doctors-hero__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 56px;
  line-height: 1.1;
  font-weight: 700;
  color: #4f3c28;
}

.doctors-hero__text {
  margin: 0;
  font-size: 18px;
  line-height: 28px;
  font-weight: 600;
  color: #4f3c28;
}

.doctors-hero__stats {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  width: 272px;
  padding: 14px 18px;
  background: rgba(247, 241, 232, 0.86);
  border: 1px solid rgba(228, 216, 199, 0.95);
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

.doctors-hero__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  text-align: center;
}

.doctors-hero__stat-value {
  font-family: var(--font-heading);
  font-size: 20px;
  line-height: 1;
  font-weight: 700;
  color: #4f3c28;
}

.doctors-hero__stat-label {
  font-size: 14px;
  line-height: 17px;
  font-weight: 400;
  color: #8a755d;
}

.doctors-tabs.section {
  position: relative;
  padding: 16px 0 0;
  background: #fcf9f4;
}

.doctors-tabs.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 1200px;
  height: 1px;
  background: rgba(230, 219, 204, 0.9);
  transform: translateX(-50%);
}

.doctors-tabs.section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 96px;
  height: 3px;
  border-radius: 999px;
  background: rgba(160, 122, 73, 0.5);
  transform: translateX(-50%);
}

.doctors-tabs__nav {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 54px;
  overflow-x: auto;
  scrollbar-width: none;
}

.doctors-tabs__nav::-webkit-scrollbar {
  display: none;
}

.doctors-tabs__link {
  position: relative;
  flex: 0 0 auto;
  padding: 10px;
  font-size: 15px;
  line-height: 20px;
  font-weight: 400;
  color: #8a755d;
  white-space: nowrap;
}

.doctors-tabs__link.is-active {
  font-weight: 700;
  color: #4f3c28;
}

.doctors-tabs__link.is-active::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 6px;
  height: 1px;
  background: #b08a57;
}

.doctors-directory {
  padding: 28px 0 0;
  background: #fcf9f4;
}

.doctors-directory__content {
  width: 1120px;
  margin: 0 auto;
}

.doctors-directory__heading {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.doctors-directory__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 40px;
  line-height: 1.1;
  font-weight: 700;
  text-align: center;
  color: #4f3c28;
}

.doctors-directory__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 36px 27px;
}

.doctor-card {
  display: flex;
  min-height: 0;
  flex-direction: column;
  height: 100%;
  padding: 8px;
  background: linear-gradient(180deg, #f6f0e6 0%, #f7f2ea 100%);
  border: 1px solid #e4d8c7;
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(113, 82, 46, 0.08);
}

.doctor-card__image-wrap {
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(180deg, #a9a49d 0%, #9e9a94 100%);
}

.doctor-card__image {
  width: 100%;
  aspect-ratio: 1 / 1.33;
  object-fit: cover;
  object-position: center top;
}

.doctor-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 18px 12px 16px;
  text-align: center;
}

.doctor-card__name {
  min-height: 84px;
  font-family: var(--font-heading);
  font-size: 22px;
  line-height: 1.28;
  font-weight: 700;
  color: #6c5336;
}

.doctor-card__description {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
  color: #6c5336;
}

.doctor-card__description strong {
  font-weight: 700;
}

.doctor-card.is-hidden {
  display: none;
}

.doctors-help-section {
  padding: 80px 0 80px;
  background: #fcf9f4;
}

.doctors-help {
  width: 1120px;
  margin: 0 auto;
}

.doctors-help__content {
  box-sizing: border-box;
  display: flex;
  align-items: flex-start;
  gap: 54px;
  padding: 32px 36px;
  background: linear-gradient(93.46deg, #f7f1e8 0%, #efe6da 99.16%);
  border: 1px solid #e4d8c7;
  border-radius: 32px;
}

.doctors-help__intro {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 32px 10px;
}

.doctors-help__title {
  margin: 0;
  max-width: 600px;
  font-family: var(--font-heading);
  font-size: 34px;
  line-height: 1.1;
  font-weight: 700;
  color: #4f3c28;
}

.doctors-help__text {
  margin: 0;
  max-width: 600px;
  font-size: 17px;
  line-height: 28px;
  font-weight: 500;
  color: #6d5846;
}

.doctors-help__contact {
  display: flex;
  width: 398px;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 10px;
}

.doctors-help__label {
  margin: 0;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: #8a755d;
}

.doctors-help__phones {
  display: flex;
  width: 100%;
  flex-direction: column;
}

.doctors-help__phone {
  font-family: var(--font-heading);
  font-size: 24px;
  line-height: 1.4;
  font-weight: 700;
  color: #4f3c28;
}

.doctors-help__phone:hover {
  color: #7a5b3a;
}

.doctors-help__schedule {
  display: flex;
  flex-direction: column;
}

.doctors-help__schedule-line {
  margin: 0;
  font-size: 14px;
  line-height: 22px;
  font-weight: 700;
  color: #6d5846;
}

@media (min-width: 768px) and (max-width: 991px) {
  .page--doctors .doctors-hero .container,
  .page--doctors .doctors-tabs .container,
  .page--doctors .doctors-directory .container,
  .page--doctors .doctors-help-section .container {
    width: auto;
    padding-inline: 32px;
  }

  .doctors-hero__content {
    min-height: 320px;
  }

  .doctors-hero__frame {
    width: min(100%, 560px);
    min-height: 250px;
    padding: 32px 0;
  }

  .doctors-hero__title {
    font-size: 50px;
  }

  .doctors-hero__text {
    font-size: 17px;
    line-height: 26px;
  }

  .doctors-tabs.section {
    padding-top: 20px;
  }

  .doctors-tabs.section::before {
    width: calc(100% - 64px);
  }

  .doctors-tabs__nav {
    gap: 14px;
    min-height: 48px;
    padding-bottom: 4px;
  }

  .doctors-tabs__link {
    font-size: 14px;
  }

  .doctors-directory {
    padding-top: 24px;
  }

  .doctors-directory__content {
    width: 100%;
  }

  .doctors-directory__heading {
    margin-bottom: 24px;
  }

  .doctors-directory__title {
    font-size: 36px;
  }

  .doctors-directory__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 20px;
  }

  .doctor-card {
    padding: 8px;
  }

  .doctor-card__body {
    gap: 12px;
    padding: 16px 10px 14px;
  }

  .doctor-card__name {
    min-height: 76px;
    font-size: 20px;
  }

  .doctor-card__description {
    font-size: 13px;
    line-height: 1.45;
  }

  .doctors-help-section {
    padding: 56px 0 72px;
  }

  .doctors-help {
    width: 100%;
  }

  .doctors-help__content {
    gap: 28px;
    padding: 28px;
    border-radius: 28px;
    flex-direction: column;
    align-items: stretch;
  }

  .doctors-help__intro {
    gap: 18px;
    padding: 0;
  }

  .doctors-help__title,
  .doctors-help__text {
    max-width: none;
    text-align: center;
  }

  .doctors-help__title {
    font-size: 32px;
  }

  .doctors-help__text {
    font-size: 16px;
    line-height: 26px;
  }

  .doctors-help__contact {
    width: 100%;
    align-items: center;
    gap: 12px;
    padding: 0;
  }

  .doctors-help__phones,
  .doctors-help__schedule {
    align-items: center;
  }

  .doctors-help__label,
  .doctors-help__phone,
  .doctors-help__schedule-line {
    text-align: center;
  }
}

@media (max-width: 767px) {
  .page--doctors .doctors-hero .container,
  .page--doctors .doctors-tabs .container,
  .page--doctors .doctors-directory .container {
    width: auto;
    padding-inline: 10px;
  }

  .page--doctors .doctors-hero.section::before {
    background:
      linear-gradient(0deg, rgba(252, 249, 244, 0.58), rgba(252, 249, 244, 0.58)),
      linear-gradient(90deg, rgba(252, 249, 244, 0.84) 0%, rgba(252, 249, 244, 0.44) 60%, rgba(252, 249, 244, 0.24) 100%),
      url("../images/doctors-hero-bg.png") 63% 50% / cover no-repeat;
  }

  .page--doctors .doctors-hero.section::after {
    background:
      radial-gradient(circle at 8% 48%, rgba(252, 249, 244, 0.94), transparent 28%),
      radial-gradient(circle at 90% 82%, rgba(252, 249, 244, 0.44), transparent 18%);
  }

  .doctors-hero__content {
    min-height: 452px;
    padding: 0;
  }

  .doctors-hero__frame {
    width: 340px;
    min-height: 452px;
    gap: 20px;
    padding: 20px 10px 24px;
  }

  .doctors-hero__breadcrumbs {
    font-size: 10px;
    line-height: 20px;
  }

  .doctors-hero__title {
    width: 320px;
    font-size: 40px;
    line-height: 1.1;
  }

  .doctors-hero__text {
    width: 320px;
    font-size: 14px;
    line-height: 28px;
    font-weight: 600;
  }

  .doctors-hero__stats {
    width: 320px;
    padding: 18px 16px;
    border-radius: 28px;
  }

  .doctors-hero__stat {
    gap: 8px;
    padding: 4px 10px;
  }

  .doctors-hero__stat-value {
    font-size: 26px;
  }

  .doctors-hero__stat-label {
    font-size: 14px;
    line-height: 17px;
  }

  .doctors-tabs.section {
    padding-top: 18px;
  }

  .doctors-tabs.section::before {
    width: 320px;
  }

  .doctors-tabs.section::after {
    width: 64px;
  }

  .doctors-tabs__nav {
    gap: 12px;
    min-height: 40px;
    padding-bottom: 2px;
  }

  .doctors-tabs__link {
    padding: 10px;
    font-size: 10px;
    line-height: 20px;
  }

  .doctors-tabs__link.is-active::after {
    bottom: 4px;
  }

  .doctors-directory {
    padding: 24px 0 0;
  }

  .doctors-help-section {
    padding: 40px 0 60px;
  }

  .doctors-directory__content {
    width: 340px;
  }

  .doctors-directory__heading {
    margin-bottom: 20px;
  }

  .doctors-directory__title {
    font-size: 32px;
  }

  .doctors-directory__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .doctor-card {
    width: 320px;
    margin: 0 auto;
    padding: 6px;
    border-radius: 16px;
  }

  .doctor-card__image-wrap {
    border-radius: 14px;
  }

  .doctor-card__body {
    gap: 10px;
    padding: 14px 8px 12px;
  }

  .doctor-card__name {
    min-height: auto;
    font-size: 17px;
    line-height: 1.3;
  }

  .doctor-card__description {
    font-size: 12px;
    line-height: 1.45;
  }

  .doctors-help {
    width: 340px;
    margin-top: 0;
  }

  .doctors-help__content {
    gap: 20px;
    padding: 20px;
    border-radius: 24px;
    background: #f5efe6;
    flex-direction: column;
    align-items: stretch;
  }

  .doctors-help__intro {
    align-items: stretch;
    gap: 20px;
    padding: 0;
  }

  .doctors-help__title {
    max-width: none;
    font-size: 28px;
    line-height: 1.1;
    text-align: center;
  }

  .doctors-help__text {
    max-width: none;
    font-size: 14px;
    line-height: 24px;
    font-weight: 400;
    text-align: center;
  }

  .doctors-help__contact {
    width: auto;
    align-items: stretch;
    gap: 10px;
    padding: 10px;
  }

  .doctors-help__label {
    font-size: 13px;
    line-height: 18px;
    font-weight: 600;
    text-align: center;
  }

  .doctors-help__phones {
    align-items: center;
  }

  .doctors-help__phone {
    font-size: 20px;
    line-height: 1.4;
    text-align: center;
  }

  .doctors-help__schedule {
    align-items: center;
  }

  .doctors-help__schedule-line {
    text-align: center;
  }
}
