:root {
  --color-gold: #C19D6F;
  --color-gold-hover: #a8865c;
  --color-text: #4F4F50;
  --color-text-light: #91949D;
  --bg-light: #F9F9F9;
  --bg-footer: #91949D;
  --font-main: 'Jost', sans-serif;
  --container-width: 1320px;
  --gap: 20px;
  --radius: 10px;
  --radius-card: 20px;
  --border-solid: #eaeaea;
  --header-height: 62px;
  --radius-btn: 60px;
}

html,
body {
  max-width: 100%;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  color: var(--color-text);
  line-height: 1.5;
  background-color: #f9fbfd;
}

div {
  cursor: default;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 60px 0;
}

.section-title {
  font-size: 35px;
  color: #4F4F50;
  font-weight: 400;
  line-height: 110%;
  margin-bottom: 40px;
  text-transform: uppercase;
}

.bg-light {
  background-color: var(--bg-light);
}

.btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn--primary {
  background-color: var(--color-gold);
  color: #fff;
  border: 1px solid var(--color-gold);
}

.btn--primary:hover {
  background-color: transparent;
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
  ;
}

.btn--primary:disabled {
  opacity: 1;
  cursor: not-allowed;
  background-color: #B9BCC5;
  border-color: #B9BCC5;
  pointer-events: none;
}

.btn--primary-pop {
  background-color: var(--color-gold);
  color: #fff;
  border: 1px solid var(--color-gold);
}

.btn--primary-pop:hover {
  background-color: transparent;
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
  ;
}

.btn--primary-pop:disabled {
  opacity: 1;
  cursor: not-allowed;
  background-color: #B9BCC5;
  border-color: #B9BCC5;
  pointer-events: none;
}

.btn--wide {
  width: 100%;
  max-width: 400px;
}

.link-gold {
  color: var(--color-gold);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  margin-top: 10px;
  display: inline-block;
}

/* --- HEADER STYLES --- */
.header {
  width: 100%;
  position: relative;
  z-index: 120;
}

/* Top Bar (Gray) */
.header__top {
  background-color: #94969f;
  padding: 15px 0;
  color: #fff;
}

.header__top-container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.header__logo {
  font-family: 'Times New Roman', serif;
  font-weight: 700;
  font-size: 28px;
  letter-spacing: 0.5px;
  color: #fff;
  margin-right: 150px;
  max-height: 45px;
}

.header__info-block {
  font-size: 14px;
  margin-right: 40px;
  color: #fff;
  font-weight: 400;
  display: block !important;
}

.header__info-block span {
  display: block;
}

.ml-auto-tablet {
  margin-left: auto;
}

.header__socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Hover */
.header__top.is-fixed .btn--outline:hover {
  color: #fff;
  border-color: #fff;
  background-color: transparent;
}

/* Анимация появления */
@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }

  to {
    transform: translateY(0);
  }
}

/* Кнопка в фиксированной шапке */
.header__top.is-fixed .btn {
  margin-left: 30px;
}

.social-circle {
  width: 32px;
  height: 32px;
  border: 1px solid #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: 0.3s;
}

.social-circle:hover {
  background-color: #fff;
  color: #94969f;
}

.eye-icon {
  background: #fff;
  color: #94969f;
  border: none;
  width: 36px;
  height: 36px;
}

.header__socials .eye-icon {
  margin-left: 40px;
}

.burger-menu {
  width: 30px;
  height: 20px;
  background: none;
  border: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  margin-left: 20px;
}

.burger-menu span {
  display: block;
  width: 100%;
  height: 4px;
  border-radius: 10px;
  background-color: #fff;
  transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
}

.burger-menu span:nth-child(2) {
  width: 50%;
  margin-left: auto;
}

.burger-menu.is-active span:nth-child(2) {
  opacity: 0;
  width: 0;
}

.burger-menu.is-active span:first-child {
  transform: translateY(8px) rotate(45deg);
}

.burger-menu.is-active span:last-child {
  transform: translateY(-8px) rotate(-45deg);
}

.header__bottom {
  padding: 20px 0 0 0;
}

.header__bottom-container {
  display: flex;
  justify-content: space-between;
  align-items: start;
}

.nav-list {
  display: flex;
  gap: 40px;
}

.nav-list li a {
  font-size: 14px;
  text-transform: uppercase;
  color: #91949D;
  font-weight: 400;
  transition: color 0.3s;
  line-height: 120%;
}

.btn--outline {
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
  background: transparent;
  border: 1px solid var(--color-gold);
  background: var(--color-gold);
  color: #fff;
  padding: 15px 28px;
  border-radius: 60px;
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 400;
  transition: 0.3s;
  line-height: 120%;
  text-align: center;
}

.btn--outline:hover {
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
  background: transparent;
}

.hide-on-tablet {
  display: block;
}

.hide-on-mobile {
  display: flex;
}

.show-on-tablet {
  display: none;
}

.team-full-photo__container {
  display: grid;
  grid-template-columns: 2fr 2fr;
  gap: 60px;
  align-items: start;
}

.team-full-photo-img {
  border-radius: 20px;
  margin: auto;
  width: 610px;
  height: 345px;
}

@media (max-width: 992px) {
  .hide-on-tablet {
    display: none !important;
  }

  /* Показываем бургер */
  .show-on-tablet {
    display: flex !important;
  }

  .header__top {
    padding: 10px 0;
  }

  .header__logo {
    font-size: 24px;
    margin-right: 0;
  }

  .header__top-container {
    justify-content: space-between;
  }

  .ml-auto-tablet {
    margin-left: auto;
    margin-right: 20px;
  }

  .header__info-block {
    font-size: 11px;
  }

  .mobnone {
    display: none;
  }

  .team-full-photo__container {
    grid-template-columns: 1fr;
  }

  .team-full-photo__container {
    gap: 20px;
  }
}

@media (max-width: 576px) {
  .hide-on-mobile {
    display: none !important;
  }

  .header__logo {
    font-size: 22px;
  }
}

@media (max-width: 640px) {
  .team-full-photo-img {
    width: 400px;
    height: 227px;
  }
}

@media (max-width: 425px) {
  .team-full-photo-img {
    width: 350px;
    height: 198px;
  }
}

@media (max-width: 375px) {
  .team-full-photo-img {
    width: 300px;
    height: 170px;
  }
}

@media (max-width: 320px) {
  .team-full-photo-img {
    width: 280px;
    height: 159px;
  }
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  min-height: 430px;
  width: 100%;
  background-color: #f9fbfd;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  z-index: 100;
  max-height: 100vh;
  overflow: hidden;
  transform: translateY(-100%);
  transition: transform 0.4s ease-in-out;
  display: none;
}

.mobile-menu.menu-open {
  transform: translateY(63px);
}

@media (min-width:767px) and (max-width:992px) {
  .mobile-menu.menu-open {
    transform: translateY(56px);
  }
}

@media (max-width: 768px) {
  .mobile-menu {
    display: block;
  }

}

@media (min-width: 768px) and (max-width: 992px) {
  .menu__list {
    display: flex;
    justify-content: space-evenly;
  }

  .menu__footer-block {
    padding: 24px 30px !important;
  }
}

.menu__container {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 0 20px;
}

.menu__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  /* Отступы сверху/снизу */
  border-bottom: 1px solid #eee;
  /* Линия под заголовком */
}

.menu__logo {
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  color: #333;
}

.menu__close-btn {
  background: none;
  border: none;
  padding: 5px;
  cursor: pointer;
  color: #333;
}

.menu__close-btn svg {
  display: block;
}

.menu__list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex-grow: 1;
  padding-top: 10px;
}

.menu__item {
  margin: 0;
}

.menu__link-wrapper {
  display: flex;
  justify-content: start;
  align-items: center;
  padding: 12px 0 0 0;

}

.menu__list>li:not(.has-submenu) .menu__link {
  display: block;
  padding: 12px 0 0 0;
}

.menu__link {
  text-decoration: none;
  color: #91949d;
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
}



@media (min-width: 1023px) {
  .menu__list {
    display: flex;
    gap: 40px;
    padding-top: 0;
    position: absolute;
  }

  .menu__item.has-submenu.active .menu__link-wrapper {
    padding: 11px 20px !important;
    width: 268px;
  }
}

@media (min-width: 767px) and (max-width: 992px) {
  .menu__item.has-submenu.active .menu__link-wrapper {
    width: 174px;
  }
}

.submenu-toggle {
  background: none;
  border: none;
  color: #91949d;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.3s ease;
  padding: 0 5px;
}

.submenu-toggle.is-active .plus-icon {
  transform: rotate(0deg);
}

.sub-menu {
  list-style: none;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s;
  max-width: 0;
}

.sub-menu.is-open {
  max-width: 100%;
  margin: 0 0 20px 0;
}

.sub-menu a.menu__link {
  font-size: 16px;
  color: #91949D;
  text-transform: none;
  padding: 5px 0;
  border-bottom: none;
  font-weight: 400;
  line-height: 120%;
}

.menu__footer-block {
  padding: 24px 0;
  flex-shrink: 0;
}

.footer__contacts {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.contact__phone {
  font-size: 16px;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  margin-bottom: 5px;
}

.contact__phone.additional-phone {
  color: #C19D6F;
}

.contact__address {
  font-size: 12px;
  color: #91949d;
  margin-top: 5px;
}

.menu__appointment-btn {
  width: 100%;
  text-align: center;
  padding: 12px 0;
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 99;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-menu-overlay.is-visible {
  visibility: visible;
  opacity: 1;
}

.footer__contacts {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}

.contact__phone {
  font-size: 16px;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  margin-bottom: 5px;
}

.contact__phone.additional-phone {
  color: #C19D6F;
  margin-bottom: 10px;
}

.menu__socials {
  display: flex;
  gap: 8px;
  margin: 24px 0;

}

.menu__socials .social-circle {
  width: 30px;
  height: 30px;
  border: 1px solid #91949d;
  /* Тонкая серая рамка */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #91949d;
  transition: 0.2s;
}

.menu__socials .social-circle:hover {
  border-color: #C19D6F;
  color: #C19D6F;
}

/* Кнопка записи */
.menu__appointment-btn {
  width: 100%;
  text-align: center;
  padding: 12px 0;
}

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

/* Элемент меню */
.mobile-menu__item {
  margin-bottom: 22px;
  position: relative;
}

.mobile-menu__toggle {
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  font-size: 20px;
  letter-spacing: 0.5px;
  color: #62626b;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-menu__toggle .plus {
  width: 16px;
  height: 16px;
  position: relative;
}

.mobile-menu__toggle .plus::before,
.mobile-menu__toggle .plus::after {
  content: "";
  position: absolute;
  background: #62626b;
  transition: 0.3s ease;
}

.mobile-menu__toggle .plus::before {
  width: 100%;
  height: 2px;
  top: 7px;
}

.mobile-menu__toggle .plus::after {
  width: 2px;
  height: 100%;
  left: 7px;
}

.mobile-menu__item.active .plus::after {
  transform: rotate(90deg);
  opacity: 0;
}

.submenu {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-5px);
  transition: 0.35s ease;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.08);
  margin-top: 15px;
  padding: 0 0;
}

.mobile-menu__item.active .submenu {
  padding: 20px;
  max-height: 500px;
  opacity: 1;
  transform: translateY(0);
}

.submenu a {
  display: block;
  padding: 8px 0;
  color: #62626b;
  font-size: 17px;
}

.socials {
  margin: 35px 0 25px;
  display: flex;
  gap: 14px;
}

.social {
  width: 42px;
  height: 42px;
  border: 1px solid #d5d5d5;
  border-radius: 50%;
}

.mobile-btn {
  width: 100%;
  padding: 16px;
  border-radius: 100px;
  border: 1px solid #c7a874;
  color: #c7a874;
  background: transparent;
  font-size: 17px;
}

.menu__item.has-submenu.active {
  background-color: #F9FBFD;
  box-shadow: 0px 4px 4px 0px rgba(211, 211, 211, 0.25);
  border-radius: 20px;
  margin-bottom: 20px;
  overflow: hidden;

}

.menu__item.has-submenu.active .menu__link-wrapper {
  padding: 15px 20px;
  position: relative;
}

.menu__item.has-submenu.active .menu__link-wrapper::after {
  content: "";
  position: absolute;
  left: 21px;
  right: 26px;
  bottom: 0;
  height: 1px;
  background: #EAEAEA;
}

.menu__item.has-submenu.active>.menu__link-wrapper>.menu__link {
  color: #C19D6F;
}

.menu__item.has-submenu.active .sub-menu .menu__link {
  color: #91949D;
  font-weight: 400;
}

.menu__item.has-submenu.active .sub-menu {
  padding: 10px 20px 20px 20px;
}

.menu__item.has-submenu.active .menu__link-wrapper {
  justify-content: space-between;
}

.submenu-toggle {
  width: 24px;
  height: 24px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.plus-icon {
  display: block;
  width: 12px;
  height: 12px;
  position: relative;
}

.plus-icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #91949d;
  transform: translateY(-50%);
  transition: background-color 0.3s;
}

.plus-icon::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background-color: #91949d;
  transform: translateX(-50%);
  transition: transform 0.3s, background-color 0.3s;
}

.submenu-toggle.is-active .plus-icon::before,
.submenu-toggle.is-active .plus-icon::after {
  background-color: #C19D6F;
}

.submenu-toggle.is-active .plus-icon::after {
  transform: translateX(-50%) rotate(90deg);
}

/* --- SLIDER --- */
.hero-slider-section {
  padding: 30px 0;
  overflow: hidden;
}

.hero-slider {
  width: 100%;
  border-radius: var(--radius, 20px);
  overflow: hidden;
  position: relative;
}

.hero-slide {
  position: relative;
  box-sizing: border-box;
  border-radius: 20px;
  display: block;
}

.hero-slide__image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: inherit;
  object-fit: contain;
}

.container-hero {
  padding: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.hero-slide__content {
  position: absolute;
  width: 100%;
  height: 100%;
  padding: 0;
}

.hero-slide__title,
.hero-slide__subtitle,
.hero-slide__features {
  display: none !important;
}

.hero-btn {
  margin: 0;
  position: absolute;
  z-index: 10;
  padding: 14px 30px;
}

.hero-nav {
  position: absolute;
  z-index: 10;
  display: flex;
  gap: 15px;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.6);
}

/* Пагинация (Полоски) */

.hero-pagination {
  position: absolute;
  bottom: 0 !important;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 8px;
  z-index: 10;
}

.hero-pagination .swiper-pagination-bullet {
  width: 41px;
  height: 6px;
  background: #E0E0E0;
  opacity: 1;
  border-radius: 10px;
  margin: 0 !important;
  transition: all 0.3s ease;
  cursor: pointer;
}

.hero-pagination .swiper-pagination-bullet-active {
  width: 195px;
  border-radius: 10px;
  background: #91949D;
}

@media (min-width: 1025px) {
  .hero-slide {
    max-height: 440px;
  }

  .hero-btn {
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
  }

  .hero-nav {
    display: flex !important;
    bottom: 30px;
    right: 30px;
  }
}

@media (max-width: 1024px) and (min-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .hero-slide {
    max-height: 500px;
  }

  .hero-btn {
    bottom: 30px;
    left: 30px;
    right: auto;
    transform: none;
  }

  .hero-nav {
    display: flex !important;
    bottom: 30px;
    right: 30px;
  }
}

@media (max-width: 767px) {
  .container {
    padding: 0 16px;
  }

  .hero-slider-section {
    padding: 40px 0 0 0;
  }

  .hero-slider {
    overflow: hidden !important;
  }

  .hero-slide {
    height: auto !important;
    max-height: none;
    border-radius: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
  }

  .hero-slide__image {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    border-radius: 20px;
  }

  .container-hero,
  .hero-slide__content {
    position: static;
    width: 100%;
    height: auto;
    padding: 0;
  }

  .hero-btn {
    position: static;
    width: 100%;
    text-align: center;
    margin-top: 0;
    margin-bottom: 20px;
  }

  .hero-nav {
    display: none !important;
  }

  .hero-pagination .swiper-pagination-bullet {
    height: 6px;
  }

  .swiper-pagination-bullets.hero-pagination {
    bottom: 0 !important;
    width: 100%;
    padding: 0 5px;
    justify-content: left;
  }

  .hero-pagination .swiper-pagination-bullet {
    background: #E0E0E0;
    opacity: 1;
    width: 40px;
    height: 6px;
    border-radius: 10px;
    margin: 0 2px !important;
  }

  .hero-pagination .swiper-pagination-bullet-active {
    background: #91949D;
    width: 195px;
  }

}


/* --- STATS --- */
.stats {
  padding: 40px 0;
  background: #f9fbfd;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: #f9fbfd;
  border-radius: 15px;
  border: 1px solid #ebecec;
}

.stat-card__img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--color-gold);
}

.stat-card__text h3 {
  font-size: 35px;
  color: var(--color-text);
  line-height: 110%;
  font-weight: 500;
}

.stat-card__text p {
  font-size: 16px;
  color: var(--color-text-light);
}

/* --- SERVICES --- */
.services {
  /* margin-bottom: 40px; */
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.services__grid--service {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background: #f4f4f4;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  height: 262px;
  padding: 20px;
}

.service-card__content {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
  cursor: pointer;
}

.service-card__content h3 {
  font-size: 20px;
  margin-bottom: 10px;
  text-transform: uppercase;
  max-width: 210px;
  color: #91949D;
  font-weight: 500;
  line-height: 120%;
}

.service-card__link {
  font-size: 14px;
  color: var(--color-gold);
  font-weight: 400;
  line-height: 120%;
  position: absolute;
  bottom: 20px;
  z-index: 10;
  align-items: center;
}

.service-card__link svg {
  vertical-align: middle;
  margin-left: 4px;
}

.service-card__img {
  position: absolute;
  right: 10px;
  bottom: 0;
  height: 90%;
  width: auto;
  object-fit: contain;
  pointer-events: none;
}

.service-card__img-services {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 100%;
  width: auto;
  object-fit: contain;
  pointer-events: none;
}

.service-detail {
  padding-bottom: 80px;
}

/* --- Top 10 Uslug --- */
/* .toptenu {
  margin-bottom: 40px;
} */
.toptenu_grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.toptenu-card {
  background: #f4f4f4;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  height: 380px;
  padding: 20px 5px;
}

.toptenu-card__content {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
}

.toptenu-card__content h3 {
  font-size: 14px;
  margin-bottom: 10px;
  text-transform: uppercase;
  max-width: 210px;
  color: #91949D;
  font-weight: 500;
  line-height: 120%;
}

.toptenu-card__link {
  font-size: 14px;
  color: var(--color-gold);
  font-weight: 400;
  line-height: 120%;
  position: absolute;
  bottom: 15px;
  left: 65px;
  z-index: 10;
  align-items: center;
}

.toptenu-card__link svg {
  vertical-align: middle;
  margin-left: 4px;
}

.toptenu-card__img {
  position: absolute;
  right: 0;
  bottom: 0;
  top: 10px;
  height: 100%;
  width: auto;
  object-fit: contain;
  pointer-events: none;
}

@media (max-width: 1200px) {
  .toptenu_grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .toptenu-card {
    height: 415px;
  }

  .toptenu-card__link {
    left: 88px;
  }
}

@media (max-width: 1024px) {
  .toptenu_grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .toptenu-card {
    height: 450px;
  }

  .toptenu-card__link {
    left: 110px;
  }
}

@media (max-width: 992px) {
  .toptenu_grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .toptenu-card {
    height: 240px;
  }

  .toptenu-card__img {
    top: 0;
  }

  .toptenu-card__link {
    left: 20px;
  }

  .toptenu-card__content h3 {
    max-width: 100px;
    background: #f4f4f4;
    padding: 3px;
    border-radius: 5px;
  }
}

@media (max-width: 768px) {
  .toptenu_grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .toptenu-card__content h3 {
    max-width: 250px;
  }
}

@media (max-width: 425px) {
  .toptenu-card__content h3 {
    max-width: 170px;
  }
}

.content-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0 60px;
  align-items: start;
}

.content-main {
  grid-column: 1;
  grid-row: 1;
}

.content-images {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.content-images>img {
  border-radius: 25px;
}

.content-footer {
  grid-column: 1;
  grid-row: 2;
  margin-top: 40px;
}

.service-title {
  font-size: 35px;
  text-transform: uppercase;
  font-weight: 500;
  color: #4F4F50;
  line-height: 110%;
  margin-bottom: 40px;
}

.lead-text {
  margin-top: 15px;
  font-weight: 400;
  font-size: 18px;
  text-transform: uppercase;
  margin-bottom: 15px;
  line-height: 110%;
  color: #C19D6F;
}

p {
  margin-bottom: 20px;
  font-size: 16px;
  color: #4F4F50;
  text-align: left;
  line-height: 120%;
  word-break: break-word;
  overflow-wrap: break-word;
}

.text-img-content {
  width: 100%;
  background-color: #EAEAEA;
  border-radius: var(--radius-card);
  overflow: hidden;
  margin-bottom: 30px;
}

/* Списки */
.list-title {
  font-weight: 400;
  text-transform: uppercase;
  margin-top: 30px;
  margin-bottom: 15px;
  font-size: 18px;
  line-height: 110%;
  color: #4F4F50;
}

ol {
  padding-left: 20px;
  margin-bottom: 20px;
  color: #222222;
  font-size: 16px;
}

ol li {
  margin-bottom: 15px;
  padding-left: 5px;
}

ul.sub-list {
  list-style: none;
  padding-left: 10px;
  margin-top: 10px;
}

ul.sub-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 120%;
  color: #4F4F50;
}

ul.sub-list li::before {
  content: "•";
  color: var(--color-gold);
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 30px;
}

.results-box {
  background-color: var(--color-bg-card);
  border: 1px solid #EEEEEE;
  border-radius: 20px;
  padding: 35px;
  margin: 40px 0;
}

.results-box-preim {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-gold);
  border-radius: 20px;
  padding: 35px;
  margin: 40px 0;
}

.results-header {
  font-weight: 400;
  text-transform: uppercase;
  margin-bottom: 20px;
  line-height: 110%;
  font-size: 18px;
  color: #4F4F50;
}

.results-header-preim {
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 20px;
  line-height: 110%;
  font-size: 18px;
  color: var(--color-gold);
}

.results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.results-grid-preim {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.results-col ul {
  list-style: none;
  padding: 0;
}

.results-col li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 120%;
  color: #91949D;
}

.results-col-preim li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 120%;
  color: #4F4F50;
}

.results-col li::before {
  content: "•";
  color: var(--color-gold);
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
  font-size: 18px;
  line-height: 18px;
}

.results-col-preim li::before {
  content: "•";
  color: var(--color-gold);
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
  font-size: 18px;
  line-height: 18px;
}

.warning-title {
  font-weight: 400;
  text-transform: uppercase;
  font-size: 18px;
  margin-bottom: 10px;
  color: #4F4F50;
}

.footer-note {
  font-size: 18px;
  text-transform: uppercase;
  font-weight: 400;
  margin-top: 40px;
  margin-bottom: 20px;
  line-height: 110%;
  color: #4F4F50;
}

.footer-signature {
  font-size: 16px;
  font-weight: 400;
  line-height: 120%;
  color: var(--color-text-light);
  margin-bottom: 10px;
}

.footer-subtext {
  font-size: 16px;
  font-weight: 400;
  line-height: 120%;
  color: var(--color-text-light);
  margin-bottom: 40px;
}


/* Планшеты (до 1024px) */
@media (max-width: 1024px) {
  .content-grid {
    gap: 40px;
  }

  .service-title {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .page-header {
    padding-top: 30px;
  }

  .content-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .content-main {
    order: 1;
  }

  .content-images {
    order: 2;
    width: 100%;
  }

  .content-footer {
    order: 3;
    margin-top: 0;
  }

  .results-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .results-grid-preim {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .results-box {
    padding: 25px;
    margin: 30px 0;
  }

  .results-box-preim {
    padding: 25px;
    margin: 30px 0;
  }

  .service-title {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .btn-gold {
    width: 100%;
    text-align: center;
  }

  .team-full-photo_title {
    margin: 25px 0;
  }
}

.price-accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 80px;
}

.accordion-item {
  border-radius: var(--radius);
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  background-color: #eaeaea;
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.3s;
  border-radius: var(--radius);
  border: 1px solid var(--border-solid)
}

.accordion-item.active .accordion-header {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.accordion-title {
  font-family: var(--font-main);
  font-size: 18px;
  font-weight: 400;
  text-transform: uppercase;
  color: #4F4F50;
  line-height: 110%;
}

.accordion-icon {
  width: 32px;
  height: 32px;
  background-color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  font-size: 18px;
  transition: transform 0.3s ease;
  transform: rotate(270deg);
}

.accordion-icon svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

.accordion-item.active .accordion-icon {
  transform: rotate(360deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  background-color: #fff;
  transition: max-height 0.4s ease-out;
  border: 1px solid var(--color-bg-header);
  border-top: none;
  border-bottom-left-radius: var(--radius);
  border-bottom-right-radius: var(--radius);
  border-left: 1px solid var(--border-solid);
  border-right: 1px solid var(--border-solid);
  border-bottom: 1px solid var(--border-solid);
}

.table-wrapper {
  padding: 20px 30px;
}

.price-grid {
  display: grid;
  grid-template-columns: 1fr 3fr 1fr;
}

.price-grid-glavvrach {
  display: grid;
  grid-template-columns: 1fr 3fr 1fr 1fr;
}

.price-grid-header {
  font-size: 16px;
  color: #4F4F50;
  font-weight: 400;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 20px;
}

.price-row {
  display: contents;
}

.col-code {
  font-size: 16px;
  color: #B9BCC5;
  font-weight: 400;
  padding: 15px 0;
  line-height: 120%;
}

.col-name {
  font-size: 16px;
  color: #B9BCC5;
  font-weight: 400;
  padding: 15px 0;
  line-height: 120%;
}

.col-price {
  font-size: 16px;
  color: var(--color-gold);
  font-weight: 400;
  text-align: right;
  padding: 15px 0;
  white-space: nowrap;
  line-height: 120%;
}

.price-grid-header {
  border-bottom: 1px solid #EAEAEA;
}

@media (min-width: 768px) and (max-width: 992px) {
  .page-title {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .accordion-header {
    padding: 15px 20px;
  }

  .accordion-title {
    font-size: 14px;
  }

  .table-wrapper {
    padding: 15px 20px;
  }

  .price-grid {
    grid-template-columns: 0.8fr 2fr 1fr;
  }

  .col-code {
    font-size: 15px;
  }

  .col-name {
    font-size: 15px;
  }

  .col-price {
    font-size: 15px;
  }

  .price-grid-header {
    font-size: 15px;
  }

}

@media (max-width: 480px) {
  .price-grid {
    grid-template-columns: auto 1fr auto;
    column-gap: 15px;
  }

  .col-code {
    font-size: 15px;
    white-space: nowrap;
  }

  .col-name,
  .col-price,
  .price-grid-header {
    font-size: 15px;
  }

  .accordion-title {
    max-width: 241px;
  }

}

.acp {
  padding: 10px;
}

/* --- SLIDERS COMMON (Specialists & Reviews) --- */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.slider-controls {
  display: flex;
  gap: 10px;
}

.slider-nav {
  display: flex;
  gap: 12px;
}

.slider-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: #ddd;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: 0.3s;
}

.slider-btn:hover {
  background: var(--color-gold);
  color: #fff;
}

.horizontal-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 20px;
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

.horizontal-scroll::-webkit-scrollbar {
  display: none;
}

.specialists .section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* margin-bottom: 40px; */
  position: relative;
  z-index: 5;
}

.specialists .slider-nav {
  display: flex;
  gap: 15px;
}

/* Стиль стрелок */
.specialists .slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #EAEAEA;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.3s;
  color: #555;
  flex-shrink: 0;
}

.specialists .slider-btn:hover {
  background: #C19D6F;
  color: #fff;
}


/* КОНТЕЙНЕР СЛАЙДЕРА */
.specialists-slider {
  overflow: hidden;
  padding-bottom: 20px;
  position: relative;
}

.specialists-slider .swiper-slide {
  flex-shrink: 0 !important;
  height: auto !important;
  box-sizing: border-box;
  opacity: 1 !important;
}

.spec-card {
  background-color: #F2F2F2;
  border-radius: 20px;
  padding: 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.spec-card__img-wrapper {
  width: 100%;
  height: 320px;
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 20px;
}

.spec-card__img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.spec-card__info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.spec-name {
  font-size: 18px;
  font-weight: 400;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: #4F4F50;
  line-height: 110%;
}

.spec-role {
  font-size: 16px;
  color: #91949D;
  margin-bottom: 20px;
  flex-grow: 1;
  line-height: 120%;
}

.spec-link {
  font-size: 14px;
  text-transform: uppercase;
  color: #C19D6F;
  font-weight: 400;
  align-items: center;
}

.spec-link svg {
  margin-left: 4px;
}

.spec-footer {
  margin-top: 10px;
  text-align: center;
}

.btn--gold-wide {
  background-color: var(--color-gold);
  color: #fff;
  width: 100%;
  padding: 18px 0;
  font-size: 14px;
  border-radius: 30px;
  display: block;
  text-align: center;
}

.btn--gold-wide:hover {
  background-color: transparent;
}

.spec-pagination {
  position: absolute;
  bottom: 0 !important;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 8px;
  z-index: 10;
}

.spec-pagination .swiper-pagination-bullet {
  width: 41px;
  height: 6px;
  background: #E0E0E0;
  opacity: 1;
  border-radius: 10px;
  margin: 0 !important;
  transition: all 0.3s ease;
  cursor: pointer;
}

.spec-pagination .swiper-pagination-bullet-active {
  width: 195px;
  border-radius: 10px;
  background: #91949D;
}

.specialists-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.spec-card {
  background-color: #F2F2F2;
  border-radius: var(--radius-card);
  padding: 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.spec-card__img-wrapper {
  width: 100%;
  height: 300px;
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 20px;
  position: relative;
  cursor: pointer;
}

.spec-card__img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.spec-card__info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  cursor: pointer;
}


/* Планшеты (до 1200px) */
@media (max-width: 1200px) {
  .specialists-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-header__title {
    font-size: 32px;
  }
}

/* Маленькие планшеты (до 992px) */
@media (max-width: 992px) {
  .specialists-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .spec-card__img-wrapper {
    height: 280px;
  }
}

/* Мобильные (до 600px) */
@media (max-width: 600px) {
  .page-header {
    padding-top: 30px;
  }

  .cookie-close {
    display: none;
  }


  .slider-nav {
    display: none;
  }

  .page-header__title {
    font-size: 24px;
  }

  .specialists-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .spec-card {
    height: 490px;
  }

  .spec-card__img-wrapper {
    height: 350px;
  }
}

.doctor-profile {
  padding-bottom: 60px;
}

.profile-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: start;
}

.doctor-info h1 {
  font-size: 35px;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 40px;
  line-height: 110%;
  color: #4F4F50;
}

.info-block {
  margin-bottom: 25px;
}

.info-label {
  font-size: 16px;
  color: #B9BCC5;
  margin-bottom: 5px;
  display: block;
  line-height: 120%;
  font-weight: 400;
}

.info-value {
  font-size: 16px;
  color: #4F4F50;
  line-height: 120%;
  font-weight: 400;
}

.doctor-bio {
  margin-top: 30px;
  color: #000000;
  font-size: 16px;
  line-height: 120%;
}

.doctor-bio p {
  margin-bottom: 15px;
  text-align: left;
  color: #4F4F50;
}

.doctor-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.doctor-photo-wrapper {
  width: 100%;
  background-color: #EAEAEA;
  border-radius: var(--radius-card);
  overflow: hidden;
  margin-bottom: 30px;
}

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

.btn-gold {
  background-color: var(--color-gold);
  color: #fff;
  padding: 15px 26px;
  border-radius: var(--radius-btn);
  font-weight: 400;
  font-size: 14px;
  line-height: 120%;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
  /* width: 100%;
  max-width: 350px; */
  text-align: center;
}

.btn-gold:hover {
  background-color: transparent;
  color: var(--color-gold);
}

.certificates {
  padding-bottom: 80px;
  overflow: hidden;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #EAEAEA;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.3s;
  color: #777;
}

.slider-btn:hover {
  background-color: var(--color-gold);
  color: #fff;
}

.slider-btn.swiper-button-disabled {
  opacity: 0.5;
  cursor: default;
  pointer-events: none;
}

/* Слайдер */
.swiper-container {
  width: 100%;
}

.swiper-slide {
  height: auto;
  /* border-radius: var(--radius-card); */
  overflow: hidden;
}

.cert-img {
  width: 630px;
  height: 420px;
  object-fit: cover;
  display: block;
  border-radius: 20px;
}

/* Пагинация (Полоски) */

.sert-pagination {
  position: absolute;
  bottom: 0 !important;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 8px;
  z-index: 10;
}

.sert-pagination .swiper-pagination-bullet {
  width: 41px;
  height: 6px;
  background: #E0E0E0;
  opacity: 1;
  border-radius: 10px;
  margin: 0 !important;
  transition: all 0.3s ease;
  cursor: pointer;
}

.sert-pagination .swiper-pagination-bullet-active {
  width: 195px;
  border-radius: 10px;
  background: #91949D;
}

/* Планшеты (до 1024px) */
@media (max-width: 1024px) {
  .profile-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .doctor-info h1 {
    font-size: 32px;
  }

  .doctor-profile .container {
    display: flex;
    flex-direction: column;
  }

  .doctor-info {
    order: 1;
  }

  .doctor-visual {
    order: 2;
    width: 100%;
    margin-top: 20px;
  }

  .doctor-photo-wrapper {
    max-width: 100%;
    height: auto;
  }
}

@media (min-width: 768px) {
  .sert-pagination {
    display: none;
  }
}


@media (min-width: 768px) and (max-width: 1024px) {
  .cert-img {
    width: 556px;
    height: 370px;
  }
}


/* Мобильные (до 768px) */
@media (max-width: 768px) {
  .page-header {
    padding-top: 30px;
  }

  .doctor-info h1 {
    font-size: 26px;
    margin-bottom: 20px;
  }

  .info-block {
    margin-bottom: 15px;
  }

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

  .section-title {
    font-size: 24px;
  }

  .btn-gold {
    max-width: 100%;
  }
}

/* ПК и Планшеты (от 769px и шире) */
@media (min-width: 769px) {
  .spec-pagination {
    display: none !important;
  }

  .btn--gold-wide {
    max-width: 100%;
    display: inline-block;
    padding: 15px 40px;
  }
}

/* МОБИЛЬНЫЕ (до 768px) */
@media (max-width: 768px) {
  .specialists .slider-nav {
    display: none !important;
  }

  .specialists-slider {
    padding-bottom: 45px !important;
    overflow: hidden !important;
  }

  .spec-pagination {
    display: flex !important;
    bottom: 15px !important;
  }

  .spec-card {
    padding: 15px;
  }

  .spec-card__img-wrapper {
    height: 260px;
  }
}

@media (max-width: 600px) {
  .cert-img {
    width: 100%;
    height: 214px;
  }

}

/* --- REVIEWS SECTION --- */
.reviews {
  background-color: #f9fbfd;
  overflow: hidden;
}

.reviews__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.reviews-slider {
  overflow: hidden;
  padding-bottom: 40px;
  position: relative;
}

.swiper-wrapper {
  display: flex;
  align-items: stretch;
}

/* Карточка отзыва */
.review-card {
  height: auto;
  background: #f9fbfd;
  box-sizing: border-box;
  flex-shrink: 0;
  border-left: 1px solid #E0E0E0;
}

.reviews-slider .swiper-slide:nth-child(4n) {
  border-right: none;
}

.review-card__inner {
  padding: 20px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.review-avatar {
  width: 100px;
  height: 100px;
  color: #4F4F50;
  font-size: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-family: var(--font-main);
  line-height: 100%;
}

.review-avatar img {
  border-radius: 50%;
}

.review-content p {
  font-size: 16px;
  line-height: 120%;
  color: #91949D;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 8;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-link {
  margin-top: auto;
  color: var(--color-gold, #C19D6F);
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 120%;
}

.reviews-nav {
  display: flex;
  gap: 10px;
}

.reviews-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #EAEAEA;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.3s;
  color: #555;
}

.reviews-btn:hover {
  background: #BB9C6D;
}

.reviews-btn:hover svg {
  color: #fff;
}

.reviews-slider .swiper-pagination {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 8px;
  z-index: 10;
}

.reviews-slider .swiper-pagination-bullet {
  width: 41px;
  height: 6px;
  background: #E0E0E0;
  opacity: 1;
  border-radius: 10px;
  margin: 0 !important;
  transition: all 0.3s ease;
  cursor: pointer;
}

.reviews-slider .swiper-pagination-bullet-active {
  width: 195px;
  background: #94969f;
}

/* DESKTOP (ПК) */
@media (min-width: 769px) {
  .reviews-slider .swiper-pagination {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .desktop-only {
    display: none !important;
  }

  .reviews-slider {
    overflow: visible;
  }

  .review-card {
    border-right: none;
  }

  .reviews__header {
    margin-bottom: 20px;
  }
}

.contacts {
  background-color: #f9fbfd;
}

.contacts__container {
  display: grid;
  grid-template-columns: 1fr 2.9fr;
  gap: 60px;
  align-items: start;
}

.contacts__title {
  font-size: 35px;
  font-weight: 400;
  text-transform: uppercase;
  color: #c19d6f;
  /* color: #4F4F50; */
  margin-bottom: 20px;
}

.contacts__line {
  width: 100%;
  height: 1px;
  background-color: var(--color-gold);
  margin-bottom: 35px;
}

.team-full-photo__line {
  width: 100%;
  height: 1px;
  background-color: var(--color-gold);
  margin-bottom: 20px;
}

.contacts__group {
  margin-bottom: 25px;
}

.team-full-photo__group {
  margin-bottom: 25px;
}

.contacts__label {
  display: block;
  font-size: 12px;
  color: #91949D;
  margin-bottom: 8px;
}

.contacts__value {
  font-size: 16px;
  color: #4F4F50;
  line-height: 120%;
}

.contacts__value.link {
  display: block;
  text-decoration: none;
  transition: color 0.3s;
}

.contacts__value.link:hover {
  color: var(--color-gold);
}

.team-full-photo__value {
  font-size: 16px;
  color: #4F4F50;
  line-height: 120%;
}

.team-full-photo.link {
  display: block;
  text-decoration: none;
  transition: color 0.3s;
}

.team-full-photo.link:hover {
  color: var(--color-gold);
}

.contacts__socials {
  display: flex;
  gap: 5px;
  margin-top: 40px;
  margin-bottom: 25px;
}

.social-circle.gold-icon {
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
  width: 30px;
  height: 30px;
}

.social-circle.gold-icon:hover {
  background-color: var(--color-gold);
  color: #fff;
}

.contacts__map-wrapper {
  width: 100%;
  height: 100%;
  min-height: 400px;
}

.contacts__map-img {
  width: 100%;
  max-height: 440px;
  border-radius: 30px;
  overflow: hidden;
}


/* Tablet (max 1024px - включает 768px) */
@media (max-width: 1024px) {
  .contacts__container {
    grid-template-columns: 1fr 2.9fr;
    gap: 30px;
  }

  .contacts__title {
    font-size: 28px;
  }

  .contacts__map-wrapper {
    min-height: 350px;
  }
}

/* Mobile (max 768px - включает 375px) */
@media (max-width: 768px) {
  .contacts__title {
    font-size: 26px;
    margin-bottom: 15px;
  }

  .contacts__line {
    margin-bottom: 25px;
  }

  .team-full-photo__line {
    margin-bottom: 25px;
  }

  .contacts__value {
    font-size: 15px;
  }

  .team-full-photo {
    font-size: 15px;
  }

  .contacts__map-wrapper {
    height: 300px;
    min-height: auto;
  }

  .contacts__socials {
    margin-top: 30px;
  }
}

.consultation__box {
  background: #eaeaea;
  padding: 40px;
  border-radius: 20px;
  display: flex;
  justify-content: space-between;
  align-items: start;
  flex-wrap: wrap;
  gap: 20px;
}

.consultation__box h3 {
  flex: 1;
  min-width: 250px;
  font-size: 20px;
  text-transform: uppercase;
  font-weight: 500;
}

.consultation__form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.form-input {
  padding: 15px 30px;
  border-radius: 60px;
  width: 250px;
  border: none;
  color: #B9BCC5;
  font-family: var(--font-main);
}

.form-input:focus,
.form-input:active {
  outline: none;
  box-shadow: none;
}

.form-input::placeholder {
  font-size: 16px;
  font-weight: 400;
  line-height: 120%;
  color: #B9BCC5;
}

/* --- FOOTER --- */
.footer {
  background-color: #91949D;
  color: #fff;
  padding-top: 60px;
  font-size: 14px;
}

.footer a {
  color: #fff;
  transition: opacity 0.3s;
  text-decoration: none;
}

.footer a:hover {
  opacity: 0.7;
}

.footer__main-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 40px;
  grid-template-areas:
    "logo nav contacts"
    "legal nav socials";
  align-items: start;
}

.footer__logo-block {
  grid-area: logo;
}

.footer__legal-block {
  grid-area: legal;
}

.footer__nav {
  grid-area: nav;
}

.footer__contacts-text {
  grid-area: contacts;
}

.footer__socials-block {
  grid-area: socials;
}

.footer__logo {
  font-family: 'Times New Roman', serif;
  font-weight: 700;
  font-size: 28px;
  letter-spacing: 0.5px;
}

.footer__legal-block p {
  font-size: 12px;
  max-width: 350px;
  color: #fff;
  font-weight: 400;
}

.footer__nav ul li {
  margin-bottom: 12px;
}

.footer__nav ul li a {
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 400;
  line-height: 120%;
}

.footer__contacts-text .contact-link {
  display: block;
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 120%;
}

.footer__contacts-text .phone {
  font-size: 16px;
  margin-bottom: 20px;
  line-height: 120%;
}

.footer__contacts-text address {
  font-style: normal;
  font-size: 16px;
  line-height: 120%;
}

.footer-socials-row {
  margin-left: 0;
  justify-content: flex-start;
}

.footer__disclaimer-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding: 15px 0;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.footer__bottom-container {
  display: flex;
  justify-content: space-between;
  padding: 25px 20px;
  font-size: 12px;
  opacity: 0.7;
}

.footer__disclaimer-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding: 15px 0;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  overflow: hidden;
  white-space: nowrap;
  background-color: #94969f;
  position: relative;
}

.copyright {
  color: #B9BCC5;
  font-size: 12px;
  font-weight: 400;
}

.privacy-link {
  color: #B9BCC5 !important;
  font-size: 12px;
  font-weight: 400;
}

.privacy_ul {
  margin: 20px;
}

.privacy_ul {
  list-style: disc;
}

.ticker-track {
  display: flex;
  width: fit-content;
  animation: ticker 30s linear infinite;
  will-change: transform;
}

.ticker-item {
  flex-shrink: 0;
  padding: 0 50px;
  color: #fff;
  font-size: 20px;
  font-weight: 500;
}

@keyframes ticker {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .ticker-track {
    animation-duration: 20s;
  }

  .footer__disclaimer-bar {
    font-size: 12px;
  }
}

@media (max-width: 992px) {
  .footer__main-container {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "nav contacts"
      "logo socials"
      ". legal";
    gap: 40px 20px;
  }

  .footer__legal-block p {
    max-width: none;
  }

  .footer__nav ul li {
    margin-bottom: 16px;
  }
}

@media (max-width: 576px) {
  .footer {
    text-align: center;
    padding-top: 40px;
  }

  .footer__main-container {
    grid-template-columns: 1fr;
    gap: 30px;
    grid-template-areas:
      "nav"
      "contacts"
      "socials"
      "logo"
      "legal";
    justify-items: center;
  }

  .footer-socials-row {
    justify-content: center;
    margin-top: 15px;
    margin-bottom: 10px;
  }

  .footer__contacts-text address {
    margin-top: 15px;
  }

  .footer__legal-block {
    margin-top: 10px;
  }

  .footer__bottom-container {
    flex-direction: column;
    gap: 15px;
    align-items: center;
    text-align: center;
    padding-bottom: 30px;
  }
}

.page-header {
  padding-top: 40px;
}

.page-header__top-row {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 60px;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #F2F2F2;
  /* Светло-серый круг */
  color: #888;
  transition: all 0.3s ease;
}

.back-btn:hover {
  background-color: var(--color-gold);
  color: #fff;
}

.back-btn-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.back-btn-label {
  font-size: 16px;
  color: #91949D;
  font-weight: 400;
  line-height: 120%;
}

/* Хлебные крошки */
.breadcrumbs {
  font-size: 16px;
  color: #91949D;
  line-height: 120%;
}

.breadcrumbs a {
  color: var(--color-gold);
}

.breadcrumbs a:hover {
  color: var(--color-gold-hover);
}

.breadcrumbs span {
  margin: 0 5px;
  color: #ddd;
}

.page-header__main-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.page-header__title {
  flex: 1;
  font-size: 42px;
  text-transform: uppercase;
  font-weight: 600;
  color: #444;
  letter-spacing: -0.5px;
  line-height: 1.1;
  max-width: 418px;
}

.page-header__description {
  flex: 0 0 600px;
  font-size: 16px;
  color: var(--color-text-light);
  line-height: 120%;
  font-weight: 400;
}

.page-header__description ul {
  list-style-type: inherit;
  margin: 5px 20px;
}

.about-section {
  padding-bottom: 80px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: flex-start;
}

.about-info {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: flex-start;
}

.about-text-content {
  margin-bottom: 40px;
}

.about-title {
  font-size: 35px;
  line-height: 110%;
  font-weight: 500;
  text-transform: uppercase;
  color: #4F4F50;
  margin-bottom: 40px;
}

.about-desc {
  font-size: 16px;
  color: var(--color-text-light);
  line-height: 120%;
  margin-bottom: 40px;
  text-align: left;
}

.about-desc p {
  margin-bottom: 15px;
}

.values-box {
  border: 1px solid #B9BCC5;
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 20px;
}

.values-box-about-us {
  border: 2px solid #c19d6f;
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 20px;
}

.values-title {
  font-size: 18px;
  text-transform: uppercase;
  color: #4F4F50;
  margin-bottom: 25px;
  font-weight: 500;
  line-height: 110%;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

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

.value-item h5 {
  font-size: 16px;
  font-weight: 400;
  color: #4F4F50;
  line-height: 120%;
  margin-bottom: 10px;
}

.value-item p {
  font-size: 16px;
  font-weight: 400;
  color: var(--color-text-light);
  line-height: 120%;
}

.about-visual {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.about-photo-wrapper {
  width: 100%;
  height: 660px;
  border-radius: var(--radius-card);
  overflow: hidden;
  background-color: #F2F2F2;
}

.about-photo-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.desktop-btn-wrapper {
  margin-top: auto;
}


/* Планшет (до 1024px) */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-photo-wrapper {
    height: 500px;
  }
}

/* Мобильный (до 768px) */
@media (max-width: 768px) {
  .page-header {
    padding-top: 30px;
  }

  .about-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .about-info {
    display: contents;
  }

  .about-text-content {
    order: 1;
    margin-bottom: 0;
  }

  .about-visual {
    order: 1;
    width: 100%;
  }

  .about-photo-wrapper {
    height: 200px;
  }

  .desktop-btn-wrapper {
    order: 3;
    width: 100%;
    margin-top: 0;
  }

  .btn-gold {
    width: 100%;
  }

  .about-title {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .about-desc {
    font-size: 14px;
    margin-bottom: 30px;
  }

  .values-box {
    padding: 20px;
  }

  .values-box-about-us {
    padding: 20px;
  }

  .values-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.why-us-section {
  padding: 60px 0;
}

.why-us__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.why-card {
  background-color: #f9fbfd;
  border: 1px solid #C19D6F;
  border-radius: 20px;
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: box-shadow 0.3s ease;
  height: 100%;
}

.why-card__img-wrapper {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
}

.why-card__img-wrapper.gold-border {
  border-color: var(--color-gold);
}

.why-card__img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-card__content {
  display: flex;
  flex-direction: column;
  padding-top: 5px;
}

.why-card__title {
  font-size: 32px;
  text-transform: uppercase;
  font-weight: 500;
  color: #4F4F50;
  margin-bottom: 12px;
  line-height: 110%;
}

.why-card__text {
  font-size: 16px;
  color: var(--color-text-light);
  line-height: 120%;
  font-weight: 400;
}

/* Планшет (до 1024px) */
@media (max-width: 1024px) {
  .why-card {
    padding: 20px;
    gap: 15px;
  }

  .why-card__img-wrapper {
    width: 90px;
    height: 90px;
  }

  .why-card__title {
    font-size: 18px;
  }

  .why-card__text {
    font-size: 13px;
  }
}

/* Мобильный (до 768px) */
@media (min-width: 768px) and (max-width: 992px) {
  .section-title {
    font-size: 24px;
    margin-bottom: 30px;
    line-height: 110%;
  }

  .why-us__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .why-card {
    padding: 20px;
    align-items: flex-start;
  }

  .why-card__img-wrapper {
    width: 80px;
    height: 80px;
  }

  .why-card__title {
    font-size: 17px;
    margin-bottom: 8px;
    word-wrap: break-word;
  }

  .why-card__text {
    font-size: 13px;
  }
}

@media (max-width: 767px) {
  .why-us__grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  border-radius: var(--radius-btn);
  font-weight: 400;
  line-height: 120%;
  font-size: 14px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  /* width: 100%; */
  max-width: 100%;
  font-family: var(--font-main);
}

.btn-gold {
  background-color: var(--color-gold);
  color: #fff;
  border: 1px solid var(--color-gold);
}

.btn-gold:hover {
  background-color: transparent;
  border-color: var(--color-gold);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-gold);
  border: 1px solid var(--color-gold);
}

.btn-outline:hover {
  background-color: var(--color-gold);
  color: #fff;
}

.menubtn {
  display: none;
}

@media (max-width: 992px) {
  .menubtn {
    display: inline-flex;
    margin-left: 10px;
    padding: 8px 20px;
  }
}

.cta-section {
  padding: 60px 0;
}

.cta-block {
  background-color: #eaeaea;
  border-radius: 20px;
  padding: 30px;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 40px;
  overflow: hidden;
}

.cta-content {
  max-width: 500px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cta-title {
  font-size: 35px;
  font-weight: 500;
  text-transform: uppercase;
  color: #4F4F50;
  margin-bottom: 20px;
  line-height: 110%;
}

.cta-subtitle {
  font-size: 18px;
  font-weight: 400;
  text-transform: uppercase;
  color: #4F4F50;
  margin-bottom: 15px;
  line-height: 110%;
}

.cta-list {
  list-style: none;
  margin-bottom: 30px;
}

.cta-list li {
  font-size: 16px;
  color: #91949D;
  margin-bottom: 8px;
  position: relative;
  padding-left: 20px;
  line-height: 120%;
}

.cta-list li::before {
  content: '•';
  color: var(--color-gold);
  font-weight: bold;
  font-size: 20px;
  position: absolute;
  left: 0;
  top: -2px;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  margin-top: auto;
}

.btn-cta {}

.cta-images {
  display: flex;
  gap: 20px;
  flex-shrink: 0;
  align-items: center;
}

.cta-img-wrapper {
  overflow: hidden;
  border-radius: 10px;
  width: 290px;
  height: 371px;
}

.cta-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Планшет (до 1024px) */
@media (max-width: 1024px) {
  .cta-block {
    padding: 40px;
    gap: 30px;
  }

  .cta-title {
    font-size: 26px;
  }

  .cta-img-wrapper {
    width: 145px;
    height: 364px;
  }
}

/* Мобильный (до 768px) */
@media (min-width: 768px) and (max-width: 992px) {
  .cta-block {
    align-items: stretch;
    padding: 30px 20px;
    text-align: left;
  }

  .cta-content {
    max-width: 100%;
    margin-bottom: 10px;
    display: block;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
    gap: 15px;
    margin-bottom: 30px;
    margin-top: 20px;
  }

  .btn {
    max-width: 100%;
  }

  .cta-img-wrapper {
    width: 148px;
    height: 364px;
  }

  .cta-title {
    font-size: 22px;
  }

  .cta-subtitle {
    font-size: 14px;
  }

  .cta-list li {
    font-size: 13px;
  }
}

@media (max-width: 767px) {

  .cta-block {
    flex-direction: column;
    align-items: start;
    /* padding: 30px 20px; */
    text-align: left;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-img-wrapper {
    width: 100%;
    height: 240px;
  }

  .cta-images {
    gap: 20px;
  }
}


.before-after-section {
  padding-bottom: 80px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* margin-bottom: 40px; */
}


.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #EAEAEA;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.3s;
  color: #777;
}

.slider-btn:hover {
  background-color: var(--color-gold);
  color: #fff;
}

.slider-btn.swiper-button-disabled {
  opacity: 0.5;
  cursor: default;
  pointer-events: none;
}

.ba-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ba-slider {
  position: relative;
  width: 100%;
  height: 400px;
  border-radius: var(--radius-card);
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
  background-color: #f0f0f0;
}

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

.ba-background-img {
  z-index: 1;
}

.ba-foreground-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  z-index: 2;
  border-right: 2px solid rgba(255, 255, 255, 0.8);
}

.ba-foreground-img {
  position: absolute;
  top: 0;
  left: 0;
  max-width: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #4F4F50;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  pointer-events: none;
}

.ba-handle::before {
  content: '';
  background-image: url('/assets/templates/cosmomedici/img/arrow-left.svg');
  background-size: contain;
  background-repeat: no-repeat;
  display: block;
  width: 16px;
  height: 16px;
}

.ba-handle::after {
  content: '';
  background-image: url('/assets/templates/cosmomedici/img/arrow-right.svg');
  background-size: contain;
  background-repeat: no-repeat;
  display: block;
  width: 16px;
  height: 16px;
}

.ba-arrow-icon {
  width: 10px;
  height: 16px;
  fill: #fff;
}

.ba-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ba-title {
  font-size: 18px;
  font-weight: 400;
  text-transform: uppercase;
  color: #4F4F50;
  line-height: 110%;
  min-height: 40px;
}

.ba-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ba-tag {
  background-color: #EAEAEA;
  padding: 6px 10px;
  border-radius: var(--radius-btn);
  font-size: 12px;
  color: #4F4F50;
  font-weight: 400;
}

/* Планшет (до 1024px) */
@media (max-width: 1024px) {
  .section-title {
    font-size: 28px;
  }


}

/* Мобильный (до 768px) */
@media (max-width: 768px) {
  .page-header {
    padding-top: 30px;
  }

  .section-title {
    font-size: 24px;
  }

  .section-header {
    margin-bottom: 30px;
  }

  .ba-slider {
    height: 350px;
  }

  .ba-title {
    font-size: 13px;
  }
}

.documents-section {
  padding-top: 40px;
  padding-bottom: 80px;
}

.document-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.document-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 25px;
  background-color: #EAEAEA;
  border: 1px solid #EAEAEA;
  border-radius: var(--radius-card);
  transition: all 0.3s ease;
  cursor: pointer;
}

.document-icon-wrapper {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
}

.document-icon-wrapper img {
  width: 16px;
  height: 16px;
}

.document-info {
  text-align: left;
  overflow: hidden;
}

.document-title {
  font-size: 18px;
  font-weight: 400;
  color: #4F4F50;
  cursor: pointer;
  line-height: 110%;
  text-transform: uppercase;
}

.document-subtitle {
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-light);
  margin-top: 4px;
}

@media (max-width: 1024px) {
  .section-title {
    font-size: 28px;
  }

  .document-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}

@media (min-width: 768px) and (max-width: 992px) {
  .page-header {
    padding-top: 30px;
  }

  .section-title {
    font-size: 24px;
  }

  .section-padding {
    padding: 60px 0 60px 0;
  }

  .documents-section {
    padding-bottom: 60px;
    padding-top: 20px;
  }

  .document-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .document-card {
    padding: 20px;
    gap: 15px;
  }

  .document-icon-wrapper {
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 767px) {
  .document-title {
    font-size: 16px;
    max-width: 240px;
  }
}

.journals-section {
  padding-bottom: 80px;
}

.journals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.journal-card {
  background-color: #EAEAEA;
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
  height: 100%;
}

.journal-card__img {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 20px;
  background-color: #ccc;
}

.journal-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.journal-card__content {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.journal-card__title {
  font-family: var(--font-main);
  font-size: 18px;
  font-weight: 400;
  text-transform: uppercase;
  color: #4F4F50;
  margin-bottom: 10px;
  line-height: 110%;
}

.journal-card__link {
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--color-gold);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: opacity 0.3s;
  line-height: 120%;
}

.journal-card__link:hover {
  opacity: 0.8;
}

.journal-card__link svg {
  width: 12px;
  height: 12px;
  /* Стрелка наследует цвет текста */
}

/* Планшеты (до 1024px) */
@media (max-width: 1024px) {
  .journals-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (min-width:768px) and (max-width: 992px) {
  .journals-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* Мобильные (до 768px) */
@media (max-width: 767px) {
  .journals-grid {
    /* 1 колонка на телефоне */
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .journal-card {
    padding: 20px;
    border-radius: 20px;
  }

  .journal-card__title {
    font-size: 16px;
  }

  .page-header__main-row {
    flex-direction: column;
    gap: 20px;
  }

  .page-header__description {
    max-width: 100%;
    flex: auto;

    .services__grid {
      grid-template-columns: 1fr;
    }

  }
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popup-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.popup-container {
  background-color: #EAEAEA;
  width: 100%;
  max-width: 440px;
  padding: 50px 40px;
  border-radius: 20px;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  transform: translateY(20px);
  transition: transform 0.3s ease;
  margin: 20px;
}

.popup-overlay.is-open .popup-container {
  transform: translateY(0);
}

.popup-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  color: #999;
  transition: color 0.3s;
  padding: 5px;
}

.popup-close:hover {
  color: var(--color-text);
}

.popup-title {
  font-size: 35px;
  font-weight: 500;
  text-transform: uppercase;
  line-height: 1.1;
  color: #4F4F50;
  margin-bottom: 15px;
}

.popup-subtitle {
  font-size: 16px;
  color: #B9BCC5;
  line-height: 120%;
  margin-bottom: 30px;
  font-weight: 400;
}

.popup-form {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.popup-input {
  width: 100%;
  background: #FFFFFF;
  border: none;
  border-radius: 60px;
  padding: 15px 30px;
  font-size: 16px;
  color: #B9BCC5;
  outline: none;
  font-weight: 400;
  font-family: var(--font-main)
}

.popup-input::placeholder {
  color: #B9BCC5;
}

.popup-checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  margin-bottom: 10px;
  cursor: pointer;
}

.popup-checkbox {
  display: none;
}

.popup-checkbox-custom {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border: 1px solid #C19D6F;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  transition: background 0.2s;
}

.popup-checkbox-custom svg {
  opacity: 0;
  transition: opacity 0.2s;
}

.popup-checkbox:checked+.popup-checkbox-custom svg {
  opacity: 1;
}

.popup-checkbox-text {
  font-size: 12px;
  color: #91949D;
}

.popup-checkbox-text a {
  text-decoration: underline;
  color: #91949D;
}

.popup-submit-btn {
  background-color: #BB9C6D;
  color: white;
  border: none;
  border-radius: 60px;
  padding: 18px;
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.3s;
  border: 1px solid #BB9C6D;
  line-height: 120%;
}

.popup-submit-btn:hover {
  background-color: transparent;
  border: 1px solid #BB9C6D;
  color: #BB9C6D;
}

/* Адаптивность для маленьких экранов */
@media (max-width: 480px) {
  .popup-container {
    padding: 40px 25px;
  }

  .popup-title {
    font-size: 26px;
  }
}

.journal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.journal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.journal-popup {
  width: 100%;
  max-width: 845px;
  height: 767px;
  background-color: #EAEAEA;
  border-radius: 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 40px 44px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  transform: translateY(30px);
  transition: transform 0.4s ease;
}

.journal-overlay.is-open .journal-popup {
  transform: translateY(0);
}

.journal-close {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  color: #999;
  transition: color 0.3s;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.journal-close svg {
  width: 24px;
  height: 24px;
}

.journal-close:hover {
  color: #333;
}

.journal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 30px;
  padding: 20px 0;
  /* Место под крестик */
}

.j-logo {
  font-size: 35px;
  font-weight: 500;
  text-transform: uppercase;
  color: #4F4F50;
  line-height: 110%;
}

.j-date {
  font-size: 16px;
  color: var(--color-text-light);
  font-weight: 400;
  line-height: 120%;
}

.journal-slider-wrapper {
  flex-grow: 1;
  /* Занимает все доступное место */
  position: relative;
  overflow: hidden;
  /* Важно для Swiper */
  display: flex;
  flex-direction: column;
}

.journal-swiper {
  width: 100%;
  height: 100%;
}

.journal-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
}

.journal-page-img {
  width: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: 5px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.journal-nav {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
  height: 50px;
}

.j-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #D3BFA3;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.3s;
  color: #fff;
}

.swiper-slide.journal-slide {
  margin-right: 0;
}

.j-btn:hover {
  background-color: var(--color-gold);
}

.j-btn.swiper-button-disabled {
  opacity: 0.5;
  cursor: default;
}

/* Scrollbar для мобильных */
.swiper-scrollbar {
  background: rgba(0, 0, 0, 0.1) !important;
}

.swiper-scrollbar-drag {
  background: var(--color-gold) !important;
}

/* Tablet (Планшет) */
@media (min-width: 768px) and (max-width: 1024px) {
  .journal-popup {
    padding: 30px 40px;
    max-width: 672px;
    height: 622px;
  }

  .j-logo {
    font-size: 28px;
  }
}

/* Mobile (Телефон) */
@media (max-width: 767px) {
  .journal-popup {
    max-width: 327px;
    height: 376px;
    padding: 20px;
  }

  .journal-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    margin-bottom: 20px;
    padding-right: 0;
  }

  .j-logo {
    font-size: 24px;
    margin-bottom: 5px;
  }

  .j-date {
    font-size: 14px;
  }

  .journal-page-img {
    max-height: 100%;
  }

  .journal-close {
    top: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
  }

  .journal-nav {
    display: none;
  }

  .journal-scrollbar {
    display: block !important;
    margin-top: 15px;
  }
}

.review-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3000;
  background-color: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}

.review-popup-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

/* === POPUP CONTAINER === */
.review-popup-container {
  background-color: #EAEAEA;
  max-width: 480px;
  width: 100%;
  padding: 40px 32px;
  border-radius: 20px;
  position: relative;
  transform: translateY(20px);
  transition: transform .3s ease;
  margin: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

.review-popup-overlay.is-open .review-popup-container {
  transform: translateY(0);
}

/* === CLOSE BUTTON === */
.review-popup-close {
  position: absolute;
  top: 18px;
  right: 18px;
  border: none;
  background: none;
  font-size: 22px;
  color: #8a8a8a;
  cursor: pointer;
  padding: 5px;
  transition: color .25s ease;
}

.review-popup-close:hover {
  color: #4F4F50;
}

/* === CONTENT === */
.review-popup-content {
  font-size: 16px;
  line-height: 1.45;
  color: #4F4F50;
  white-space: pre-line;
}

/* === ADAPTIVE === */
@media (max-width: 480px) {
  .review-popup-container {
    padding: 28px 22px;
  }
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 20px;
  z-index: 1000;
  box-sizing: border-box;
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}

.cookie-content {
  max-width: 506px;
  width: 100%;
  background-color: #eaeaea;
  border-radius: 10px;
  display: flex;
  align-items: center;
  padding: 15px 20px;
}

.cookie-text {
  flex-grow: 1;
  margin: 0;
  color: #91949D;
  font-size: 12px;
  padding-right: 20px;
  font-weight: 400;
  font-weight: var(--font-main);
}

.cookie-text a {
  color: var(--color-gold);
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text);
  padding: 5px;
  line-height: 1;
  opacity: 0.6;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cookie-close:hover {
  opacity: 1;
}

.cookie-close svg {
  display: block;
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

@media (max-width: 600px) {
  .cookie-banner {
    padding: 10px;
  }

  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px;
    border-radius: 10px;
  }

  .cookie-text {
    padding-right: 0;
    margin-bottom: 10px;
    font-size: 14px;
  }

  .cookie-actions {
    width: 100%;
    flex-direction: column;
    gap: 8px;
    position: relative;
  }

  .btn-gold {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }

  .cookie-close {
    position: absolute;
    top: 5px;
    right: 5px;
    opacity: 0.8;
  }
}


.footer-checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  margin-top: 10px;
}

.footer-checkbox {
  display: none;
}

.footer-checkbox-custom {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border: 1px solid #C19D6F;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  transition: background 0.2s;
}

.footer-checkbox-custom svg {
  opacity: 0;
  transition: opacity 0.2s;
}

.footer-checkbox:checked+.popup-checkbox-custom svg {
  opacity: 1;
}

.footer-checkbox-text {
  font-size: 12px;
  color: #91949D;
}

.footer-checkbox-text a {
  text-decoration: underline;
  color: #91949D;
}


/* Tablet (max 1024px) */
@media (max-width: 1024px) {
  .hero__title {
    font-size: 28px;
  }

  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services__grid--service {
    grid-template-columns: repeat(2, 1fr);
  }

  .services__grid .service-card:last-child {
    grid-column: span 2;
  }

  .contacts__map img {
    min-height: 250px;
  }
}

/* Mobile (max 768px) */
@media (max-width: 768px) {
  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: flex;
  }

  .service-card__content h3 {
    font-size: 18px;
  }

  .hero__container {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .hero__image-wrapper {
    order: -1;
    margin-bottom: 20px;
  }

  .stats__grid {
    grid-template-columns: 1fr;
  }

  .services__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .services__grid .service-card:last-child {
    grid-column: span 1;
  }

  .services__grid--service {
    grid-template-columns: repeat(2, 1fr);
  }

  .services__grid--service .service-card:last-child {
    grid-column: span 1;
  }

  .service-card__img {
    height: 60%;
  }

  .consultation__form {
    flex-wrap: nowrap;
    width: 100%;
  }

  .form-input,
  .consultation__form button {
    width: 100%;
  }

  .footer__container {
    flex-direction: column;
    gap: 30px;
  }

  .footer__col--right {
    text-align: left;
  }

  .footer__socials {
    justify-content: flex-start;
  }
}

@media (max-width: 500px) {
  .contacts__container {
    grid-template-columns: 1fr;
  }

  .consultation__form {
    flex-direction: column;
    width: 100%;
  }

  .consultation__box {
    flex-direction: column;

  }

  .section-padding {
    padding: 0;
    margin-top: 40px;
    margin-bottom: 40px;
  }

  .page-header__main-row {
    flex-direction: column;
  }

  .page-header__description {
    flex: auto;
  }

  .services__grid,
  .services__grid--service {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 320px) {
  .consultation__box {
    padding: 20px;
  }
}

.ba-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media (max-width: 768px) {
  .ba-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .ba-grid {
    grid-template-columns: 1fr;
  }
}

/* Мобильные (до 600px) */
@media (max-width: 600px) {
  .cookie-close {
    display: none;
  }
}

#jGrowl {
  display: none !important;
}


/* === ОБЩИЕ СТИЛИ === */
.header__top {
  position: relative;
  z-index: 100;
  width: 100%;
  transition: all 0.3s ease;
}

/* Когда ПК меню фиксируется */
@media (min-width: 993px) {
  .header__top.is-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #94969f;
    /* или ваш фон */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    font-size: clamp(12px, 1vw, 14px);
  }

  /* Контейнер фиксированного блока */
  .header__top.is-fixed .header__top-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  /* Кнопка записаться в фиксированном меню ПК */
  .header__top.is-fixed .menubtn {
    display: inline-flex !important;
  }

  /* Шрифты и размеры резиново */
  .header__top.is-fixed .header__logo img {
    max-height: clamp(30px, 4vw, 50px);
  }

  .header__top.is-fixed .header__info-block span,
  .header__top.is-fixed .header__info-block a {
    font-size: clamp(12px, 0.9vw, 13px);
  }

  .header__top.is-fixed .header__socials a {
    font-size: clamp(12px, 0.9vw, 14px);
  }

  .header__top.is-fixed .btn {
    font-size: clamp(12px, 1vw, 14px);
    padding: clamp(6px, 0.8vw, 10px) clamp(10px, 1.2vw, 16px);
    line-height: 1.2;
  }
}

/* Отступ чтобы страница не прыгала */
body.has-fixed-header {
  padding-top: 80px;
  /* измените по высоте вашего хедера */
}


/* Блок преимуществ клиники */
.about-benefits {
    padding-top: 40px;
    padding-bottom: 60px;
}

.about-benefits .container {
    width: 100%;
}

.about-benefits .section-title {
    margin-bottom: 25px;
}

.about-benefits p {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.about-benefits__list {
    padding-left: 25px;
    margin: 25px 0;
}

.about-benefits__list li {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 12px;
}

.about-benefits__list strong {
    font-weight: 600;
}

.about-benefits .spec-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

@media (max-width: 767px) {
    .about-benefits {
        padding-top: 30px;
        padding-bottom: 40px;
    }

    .about-benefits p,
    .about-benefits__list li {
        font-size: 16px;
    }
}
/* Названия преимуществ */
.about-benefits .lead-text {
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0;
}
/* FAQ */
.faq {
    padding: 60px 0;
}
.services-seo__content .faq {
    padding: 25px 0 40px;
}

.services-seo__content .faq .section-title {
    margin-bottom: 25px;
}

@media (max-width: 767px) {
    .services-seo__content .faq {
        padding: 20px 0 30px;
    }
}
.faq .section-title {
    margin-bottom: 35px;
}

.faq__list {
    width: 100%;
}

.faq__item {
    border-bottom: 1px solid #dedede;
}

.faq__item summary {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 0;
    cursor: pointer;
    list-style: none;
}

.faq__item summary::-webkit-details-marker {
    display: none;
}

.faq__item summary::marker {
    display: none;
    content: "";
}

/* своя стрелочка */
.faq__item summary::before {
    content: "▸";
    color: #c49a62;
    font-size: 18px;
    line-height: 1.4;
    flex: 0 0 auto;
    margin-top: 2px;
}

/* стрелочка в раскрытом состоянии */
.faq__item[open] summary::before {
    content: "▾";
    color: #c49a62;
}

.faq__item summary h3 {
    margin: 0;
    padding: 0;
    font-family: 'Jost', sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.4;
    text-transform: none;
}

.faq__answer {
    padding: 0 0 20px 30px;
    font-size: 17px;
    line-height: 1.7;
}

.faq__answer p {
    margin: 0;
}

.faq__answer a {
    color: #c49a62;
    text-decoration: underline;
}

@media (max-width: 767px) {
    .faq {
        padding: 40px 0;
    }

    .faq__item summary {
        padding: 16px 0;
        gap: 10px;
    }

    .faq__item summary h3 {
        font-size: 17px;
    }

    .faq__item summary::before {
        font-size: 16px;
    }

    .faq__answer {
        font-size: 16px;
        padding: 0 0 16px 26px;
    }
}

/* ==========================================================
   SEO-контент разделов услуг (после карточек услуг)
   Локальные правила: главная страница и карточки не меняются.
   Разметка: .services-seo > .container > .services-seo__content
   ========================================================== */
.services-seo {
    padding: 40px 0 60px;
}

.services-seo__content {
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--color-text);
}

/* Заголовки: визуальная стилистика .section-title на главной */
.services-seo__content .service-description h2,
.services-seo__content > h2 {
    font-family: var(--font-main);
    font-size: 35px;
    font-weight: 400;
    line-height: 1.1;
    color: var(--color-text);
    text-transform: uppercase;
    margin: 0 0 25px;
}

.services-seo__content .service-description h3 {
    font-family: var(--font-main);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.3;
    color: var(--color-text);
    margin: 25px 0 15px;
}

.services-seo__content p {
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-text);
    margin: 0 0 20px;
}

.services-seo__content .service-description > section {
    margin-bottom: 45px;
}

/* Маркеры только внутри текстового блока; навигацию не затрагиваем */
.services-seo__content .service-list,
.services-seo__content .service-description ul:not(.advantages-list):not(.seo-benefits) {
    list-style-type: disc;
    list-style-position: outside;
    padding-left: 25px;
    margin: 15px 0 25px;
}

.services-seo__content .service-list > li,
.services-seo__content .service-description ul:not(.advantages-list):not(.seo-benefits) > li {
    display: list-item;
    list-style-type: disc;
    padding-left: 0;
    margin-bottom: 8px;
    line-height: 1.5;
}

.services-seo__content .service-description ol {
    list-style-type: decimal;
    padding-left: 25px;
    margin: 15px 0 25px;
}

.services-seo__content .service-description ol > li {
    display: list-item;
    list-style-type: decimal;
    margin-bottom: 8px;
}

/* Преимущества — небольшие золотые названия, спокойный основной текст */
.services-seo__content .advantages-list,
.services-seo__content .seo-benefits {
    list-style: none;
    padding: 0;
    margin: 20px 0 30px;
}

.services-seo__content .advantages-list > li,
.services-seo__content .seo-benefits > li {
    display: list-item;
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--color-text);
}

.services-seo__content .advantages-list .highlight,
.services-seo__content .seo-benefits strong {
    color: var(--color-gold);
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    margin-right: 5px;
}

/* FAQ наследует существующий аккордеон сайта */
.services-seo__content .faq {
    padding: 15px 0 40px;
}

.services-seo__content .faq .section-title {
    font-family: var(--font-main);
    font-size: 35px;
    font-weight: 400;
    line-height: 1.1;
    color: var(--color-text);
    text-transform: uppercase;
    margin-bottom: 30px;
}

.services-seo__content .faq__item summary h3 {
    margin: 0;
    padding: 0;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.4;
    text-transform: none;
}

.services-seo__content .faq__answer p {
    margin: 0;
    line-height: inherit;
}

@media (max-width: 767px) {
    .services-seo {
        padding: 30px 0 40px;
    }

    .services-seo__content .service-description h2,
    .services-seo__content > h2,
    .services-seo__content .faq .section-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .services-seo__content .service-description h3 {
        font-size: 19px;
    }

    .services-seo__content .service-description > section {
        margin-bottom: 30px;
    }

    .services-seo__content .advantages-list > li,
    .services-seo__content .seo-benefits > li {
        margin-bottom: 12px;
    }

    .services-seo__content .faq {
        padding: 10px 0 30px;
    }

    .services-seo__content .faq__item summary h3 {
        font-size: 17px;
    }
}
/* Выделение текста в SEO-блоках услуг */
.services-seo__content .text-bold {
    font-family: 'Jost', sans-serif;
    font-weight: 500;
    color: var(--color-text);
}