/*.audience-root {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 40px 0 0 0;
    max-width: 1140px;
    margin: 0 auto 40px auto;
}

.audience-title {
    font-family: 'Cormorant', serif;
    font-weight: 700;
    font-size: 44px;
    color: #154792;
    letter-spacing: 0.02em;
    margin: 0 0 32px 0;
    text-align: left;
}

.audience-cards {
    display: flex;
    flex-direction: row;
    gap: 32px;
    width: 100%;
    justify-content: center;
}

.audience-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0px 1px 16px 0px rgba(0, 0, 0, 0.1);
    width: 350px;
    min-width: 280px;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px 20px 24px 20px;
    box-sizing: border-box;
    align-items: center;
}

.audience-img-wrap {
    width: 100%;
    height: 180px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.audience-img-wrap img {
    width: auto;
    height: 100%;
    object-fit: contain;
    display: block;
}

.audience-card-title {
    font-weight: 700;
    font-size: 16px;
    color: #154792;
    margin-bottom: 4px;
    text-align: center;
}

.audience-card-desc {
    font-weight: 400;
    font-size: 14px;
    color: #4E4E4E;
    letter-spacing: -0.02em;
    text-align: center;
}

@media (max-width: 1200px) {

    .audience-root,
    .audience-cards {
        max-width: 100%;
        padding: 0 8px;
    }

    .audience-card {
        width: 300px;
        max-width: 300px;
        padding: 16px 8px 16px 8px;
    }
}

@media (max-width: 900px) {
    .audience-title {
        font-size: 32px;
    }

    .audience-card {
        width: 220px;
        max-width: 220px;
        padding: 10px 4px 10px 4px;
    }

    .audience-img-wrap {
        height: 100px;
    }
}

@media (max-width: 700px) {
    .audience-root {
        padding: 8px 4px;
        gap: 20px;
    }

    .audience-title {
        font-size: 22px;
        margin-bottom: 16px;
    }

    .audience-cards {
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 8px;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start;
    }

    .audience-card {
        min-width: 180px;
        width: 80vw;
        max-width: 220px;
        padding: 8px 8px 14px 8px;
    }

    .audience-img-wrap {
        height: 60px;
        margin-bottom: 8px;
    }

    .audience-card-title,
    .audience-card-desc {
        font-size: 12px;
    }
}*/

/* --- PROMO SLIDER STYLES --- */

.promo-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.promo-slider__container {
  position: relative;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
}


.promo-card {
  border-radius: 20px;
  border: 1px solid var(--color-stroke-shadow);
  background: var(--background-light-gray-30, rgba(188, 186, 186, 0.30));
  backdrop-filter: blur(20px);
  padding: 16px 16px 20px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.promo-card__img {
  height: 176px;
  border-radius: 16px;
  overflow: hidden;
}

.promo-card__date {
 margin-top: 8px;
}

.promo-card__desc {
  margin-top: 4px;

}


.promo-slider__arrow--prev {
  left: 0;
}

.promo-slider__arrow--next {
  right: 0;
}

.promo-slider__nav {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  z-index: 2;
}


@media (max-width: 1200px) {
  .promo-slider__container,
  .promo-slider-header {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: start;
  }
}

@media (max-width: 900px) {
  .promo-card__img {
    height: 160px;
  }
}

@media (max-width: 700px) {

  .promo-slider-header{
    .custom-btn{
      width: 100%;
    }
  }

}

/*стили блока этапов */
.steps-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.step-card {
  border-radius: 20px;
  border: 1px solid var(--color-stroke-shadow);
  background: var(--color-white);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.step-card__img {
  width: 100%;
  height: 83px;
  display: flex;
  align-items: center;

  padding: 0 40px;

  background-size: cover;
  background-repeat: no-repeat;
  background-position: right;
}

.step-card__img-title{
  padding-top: 4px;
}

.step-card__img-text {
  display: flex;
  flex-direction: column;
}

.step-card__content {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 16px 32px 24px 20px;
  flex: 1;

  ul {
    padding: 0 0 0 19px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
  }
}

.gallery-image-wrapper{
  border-radius: 16px;
  overflow: hidden;
}


.step-card__note {
  margin-top: auto;
  padding: 12px 0 0 20px;
  border-top: 1px solid var(--color-stroke-shadow);
}


.step-card__step {
  font-weight: 600;
  font-size: 14px;
  color: #154792;
  margin-bottom: 4px;
}

.step-card__subtitle {
  font-weight: 700;
  font-size: 36px;
  color: #154792;
  margin-bottom: 12px;
}

.step-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 8px 0;
}

.step-card__list li {
  font-size: 14px;
  color: #4E4E4E;
  margin-bottom: 8px;
  position: relative;
  padding-left: 16px;
}

.step-card__list li:before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  background: #154792;
  border-radius: 2px;
  position: absolute;
  left: 0;
  top: 8px;
}


@media (max-width: 991px) {

  .steps-cards {
    grid-template-columns: minmax(0, 1fr);
  }
}


@media (max-width: 700px) {


  .step-card__img {
    height: 72px;
    padding: 0 32px;
  }

  .step-card__content {
    padding: 16px;
    gap: 16px;
  }
  .step-card__note {
    padding: 12px 0 0 18px;

  }


}

/* Методы имплантации */


.methods-title {
  font-family: 'Cormorant', serif;
  font-weight: 700;
  font-size: 44px;
  color: #154792;
  margin: 0 0 32px 0;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

.methods-rows {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.methods-row {
  display: flex;
  gap: 20px;
}

.methods-card {
  border-radius: 20px;
  padding: 24px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 50%;
  box-sizing: border-box;
  background-color: var(--color-light-gray);
}

.methods-rows {
  .methods-row {
    &:nth-child(odd) .methods-card:nth-child(odd),
    &:nth-child(even) .methods-card:nth-child(even) {
      background-color: var(--color-pink);
    }
  }
}


@media (max-width: 900px) {
  .methods-title {
    font-size: 32px;
  }

  .methods-row {
    flex-direction: column;
    gap: 16px;
  }

  .methods-card {
    width: 100%;
    padding: 16px 16px 20px;
  }
}

@media (max-width: 700px) {
  .methods-title {
    font-size: 22px;
    padding-left: 4px;
    padding-right: 4px;
  }

  .methods-rows {
    padding: 0 4px;
  }
}

/* Врач-имплантолог */
.doctor-section {
  background: #EFF4FA;
  padding: 60px 0;
  width: 100%;
}

.doctor-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1140px;
  margin: 0 auto;
  background: #fff;
  border-radius: 32px;
  padding: 48px 56px;
  box-sizing: border-box;
  box-shadow: 0px 2px 8px 0px rgba(26, 75, 148, 0.08);
  gap: 56px;
}

.doctor-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1 1 0;
  min-width: 0;
  gap: 18px;
}

.doctor-meta {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 16px;
  color: #4E4E4E;
  margin-bottom: 8px;
}

.doctor-name {
  font-weight: 700;
  font-size: 32px;
  color: #154792;
  margin-bottom: 0;
}

.doctor-exp {
  font-weight: 400;
  font-size: 18px;
  color: #154792;
  margin-bottom: 8px;
}

.doctor-desc {
  font-size: 16px;
  color: #4E4E4E;
  line-height: 1.5;
  font-weight: 400;
  margin-bottom: 24px;
}

.doctor-btn {
  display: inline-block;
  background: #154792;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  border-radius: 32px;
  padding: 16px 40px;
  text-decoration: none;
  margin-top: 8px;
  transition: background 0.2s;
  box-shadow: 0px 2px 8px 0px rgba(26, 75, 148, 0.08);
}

.doctor-btn:hover {
  background: #113366;
}

.doctor-photo {
  flex-shrink: 0;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.doctor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

@media (max-width: 900px) {
  .doctor-card {
    flex-direction: column-reverse;
    align-items: center;
    gap: 32px;
    padding: 24px 8px;
  }

  .doctor-photo {
    width: 160px;
    height: 160px;
  }

  .doctor-name {
    font-size: 22px;
  }

  .doctor-exp {
    font-size: 15px;
  }

  .doctor-desc {
    font-size: 14px;
  }

  .doctor-btn {
    font-size: 15px;
    padding: 12px 24px;
  }
}

@media (max-width: 700px) {
  .doctor-card {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 16px 4px;
    border-radius: 24px;
  }

  .doctor-photo {
    width: 120px;
    height: 120px;
  }

  .doctor-name {
    font-size: 18px;
  }

  .doctor-role {
    font-size: 13px;
  }

  .doctor-desc {
    font-size: 12px;
  }

  .doctor-list li {
    font-size: 12px;
  }
}

/* PRICES SECTION */

.prices-tabs-wrap {
  display: flex;
  align-items: center;
  max-width: 1140px;
  margin: 0 auto 24px auto;
  position: relative;
}

.prices-tabs {
  display: flex;
  overflow-x: auto;
  gap: 12px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  flex: 1 1 0;
  scroll-behavior: smooth;
  white-space: nowrap;
}

.prices-tabs::-webkit-scrollbar {
  display: none;
}

.prices-tab {
  background: var(--color-white);
  border: 1px solid var(--color-violet);
  color: var(--color-violet);
  border-radius: 20px;
  padding: 8px 20px;
  font-size: 14px;
  font-style: normal;
  font-weight: 300;
  line-height: 120%;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
  min-width: unset;
  max-width: unset;
  flex-shrink: 1;
}

.prices-tab.active,
.prices-tab:hover {
  background: var(--color-violet);
  color: var(--color-white);
}

.prices-tabs-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--color-white);
  border: none;
  width: 60px;
  height: 48px;
  display: flex;
  align-items: center;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s;
  padding: 0;
}

.prices-tabs-arrow.left {
  left: 0;
}

.prices-tabs-arrow.right {
  right: 0;
  justify-content: right;
}

.prices-tabs-arrow[disabled] {
  opacity: 0.3;
  pointer-events: none;
}

.prices-tabs-arrow {
  .slider-nav-btn {
    transform: unset;
  }
}

.arrow-icon {
  display: block;
  width: 24px;
  height: 24px;
}

.prices-tables {
  max-width: 1140px;
  margin: 0 auto;
  border: 1px solid var(--color-stroke-shadow);
  border-radius: 20px;
}

.prices-table {
  display: none;
  border-radius: 20px;
  overflow: hidden;
}

.prices-table.active {
  display: block;
}

.prices-table-row {
  display: flex;
  align-items: center;
}

.prices-table-row.odd {
  background: var(--color-light-gray);
}

.prices-table-row:last-child {
  border-bottom: none;
}


.prices-table-cell {
  flex: 1 1 0;
  padding: 12px 32px;
}

.prices-table-cell:last-child {
  text-align: right;
}

.service__table-newprice {
  font-family: "Cygre";
}


.other-service-card {
  --img-height: 140px;
  background: white;
  border: 1px solid #CED6E1;
  border-radius: 20px;
  padding: 16px;
  display: grid;
  grid-template-columns: 100%;
  text-decoration: none;
  font-family: Helvetica, Arial, sans-serif;
}

.other-service-card:hover {
  text-decoration: none;
}

.other-service-card_img {
  height: var(--img-height);
  width: 100%;
  object-fit: cover;
  background: #F6F5F6;
  border-radius: 16px;
}

.other-service-card_title {
  margin: 8px 0 0 0;
  color: var(--color-violet);
}

.other-service-card_txt {
  margin: 8px 0 0 0;
  font-size: 14px;
  color: #626060;
  line-height: 1.2em;
  letter-spacing: -0.02em;
}

.other-service-card_more {
  margin: 20px 0 0 0;
  font-size: 14px;
  width: 100%;
  padding: 1em;
  border: 1px solid var(--black);
  border-radius: 3em;
  text-align: center;
  line-height: 1em;
  color: var(--black);

  &:hover {
    border-color: var(--purple);
    color: var(--purple);
  }
}

.sub-other-services {
  overflow: hidden;
}

.sub-other-services__header {
  margin-bottom: 24px;
}

.sub-other-services-slider {
  width: 100%;
  overflow: hidden;
}

.sub-other-services-slider .swiper-wrapper {
  align-items: stretch;
}

.sub-other-services-slider .swiper-slide {
  height: auto;
}

.sub-other-service-card {
  height: 100%;
  min-height: 292px;
  grid-template-rows: auto 1fr auto;
}

.sub-other-service-card .other-service-card_title {
  display: block;
}

.sub-other-service-card .other-service-card_more {
  display: block;
  align-self: end;
}

.sub-other-services__buttons {
  pointer-events: none;
}

.sub-other-services__arrow {
  pointer-events: auto;
}

.sub-other-services__arrow.swiper-button-disabled {
  opacity: .45;
  pointer-events: none;
}

.sub-other-services__arrow.is-hidden {
  display: none;
}

#zapisonline {
  scroll-margin-top: 150px;
  /* Высота вашего фиксированного меню + отступ */
}

#pricenew {
  scroll-margin-top: 100px;
  /* Высота вашего фиксированного меню + отступ */
}



.gallery-slider{
  width: 100%;
  overflow: hidden;
}



/* Мобильные стили для галереи работ - одно изображение по центру */
@media (max-width: 768px) {

  .other-service-card_img {
    height: 130px;
  }




}


/* Анимации для плавности */
@media (max-width: 768px) {

  .prices-table-cell {
    padding: 12px 20px;
  }


  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

.advantages .container::before {
  content: none !important;
}

.advantages .container::after {
  content: none !important;
}

/* Белый чек-бокс только в форме нового шаблона услуг */
#appointment.sn-anchor .sn-form .form__checkbox-appearance {
  background-color: #fff;
  border: 1px solid var(--color-violet);
}
#appointment.sn-anchor .sn-form .form__checkbox:checked + .form__checkbox-appearance {
  background-color: var(--color-violet);
}
