body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: linear-gradient(to right, #f9fafc, #f0f2f5);
  color: #1a1a1a;
}

/* Контейнер */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 10px 20px;
  width: 100%;
}

/* ---------- TOP BAR ---------- */
.top-bar {
  background: white;
  border-bottom: 1px solid #e2e8f0;
  min-height: 80px;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  padding: 8px 0;
}

.top-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 20px;
}

/* Левая часть */
.left {
  flex-shrink: 0;
}

.left .logo {
  max-height: 70px;
  margin-left: -60px;
  width: auto;
  height: auto;
  display: block;
}

/* Центр */
.center {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  min-width: 300px;
}

.info-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #4a5568;
  gap: 15px;
}

/* Верхняя строка */
.info-top-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 500;
  color: #2d3748;
}

.info-top-row p {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  position: relative;
}

.info-top-row p:not(:last-child)::after {
  content: "|";
  color: #cbd5e0;
  font-weight: 600;
  margin-left: 12px;
  user-select: none;
}

/* Нижняя строка (телефон + адрес) */
.info-bottom-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  font-size: 15px;
  font-weight: 500;
  color: #2d3748;
  margin-left: 35px; /* ← Сдвиг вправо */
}


.info-bottom-row p {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  position: relative;
}

.info-bottom-row p:not(:last-child)::after {
  content: "|";
  color: #cbd5e0;
  font-weight: 600;
  margin-left: 12px;
  user-select: none;
}

/* Телефон */
.info-phone {
  margin: 8px 0 0 0;
  font-weight: 600;
  font-size: 15px;
  color: #2b6cb0;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Иконки */
.info-top-row i,
.info-bottom-row i,
.info-phone i {
  color: #3182ce;
  font-size: 16px;
  vertical-align: middle;
}

/* Правая часть */
.right {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  margin-right: -30px;
}

/* Кнопки */
.buttonsss {
  display: flex;
  gap: 8px;
}

.btn {
  padding: 8px 14px;
  border: 1px solid #3182ce;
  background: white;
  color: #3182ce;
  cursor: pointer;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.btn:hover {
  background-color: #ebf8ff;
}

.btn.primary {
  background: #3182ce;
  color: white;
  font-weight: 600;
}

.btn.primary:hover {
  background: #2b6cb0;
}

/* Поиск */
.search input {
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #cbd5e0;
  font-size: 14px;
  width: 185px;
  transition: border-color 0.2s;
}

.search input:focus {
  border-color: #3182ce;
  outline: none;
}

/* ---------- НАВИГАЦИЯ ---------- */
.nav-bar {
  background: linear-gradient(to right, #3182ce, #2b6cb0);
  padding: 8px 0;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.1);
}

.nav-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.nav-menu a {
  color: white;
  text-decoration: none;
  padding: 10px 14px;
  font-weight: 500;
  font-size: 15px;
  border-radius: 6px;
  transition: background 0.3s;
}

.nav-menu a:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

/* Подменю */
.nav-menu .submenu {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  position: absolute;
  background-color: white;
  padding: 10px 0;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  margin-top: 8px;
  min-width: 180px;
  z-index: 1000;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.nav-menu .submenu li {
  display: block;
  margin: 0;
}

.nav-menu .submenu li a {
  color: #1a1a1a;
  padding: 8px 16px;
  display: block;
  text-align: left;
  text-decoration: none;
  transition: background 0.2s;
}

.nav-menu .submenu li a:hover {
  background-color: #f0f4f8;
}

.nav-menu .has-submenu {
  position: relative;
}

.nav-menu .has-submenu:hover .submenu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-menu .submenu li a {
  color: #1a1a1a;
  padding: 8px 16px;
  display: block;
  text-align: left;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
}

.nav-menu .submenu li a:hover {
  background-color: #f0f4f8;
  transform: translateX(4px) scale(1.02);
  border-radius: 6px;
}

.nav-menu .submenu {
  overflow: hidden;
}

.ds-page {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
}

.ds-header {
  font-size: 32px;
  font-weight: 700;
  color: #2c5282;
  margin-bottom: 8px;
  position: relative;
}

.ds-header::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: #3182ce;
  border-radius: 2px;
  margin-top: 6px;
}

.breadcrumbs {
  font-size: 14px;
  color: #718096;
  margin: 16px 0 30px;
}

.breadcrumbs i {
  color: #4a90e2;
  margin-right: 6px;
}

.breadcrumbs a {
  text-decoration: none;
  color: inherit;
  /*font-weight: 500; можно добавить*/ 
  transition: all 0.3s ease;
}

.breadcrumbs a:hover {
  color: #3182ce;
  text-shadow: 0 0 0 rgba(49, 130, 206, 0.6); /* Светящийся эффект */
}

/* Навигация: Описание | Врачи */
.ds-nav {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.ds-nav a {
  text-decoration: none;
  font-weight: 500;
  color: #2b6cb0;
  padding: 8px 14px;
  border-radius: 12px;
  background-color: #ebf8ff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.ds-nav a:hover {
  background-color: #2b6cb0;
  color: white;
}

/* Заголовки разделов */
.section-title {
  font-size: 24px;
  font-weight: 600;
  color: #2d3748;
  margin-top: 40px;
  margin-bottom: 12px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background-color: #3182ce;
  border-radius: 2px;
  margin-top: 6px;
  margin-left: 5px; /* смещает вправо */
}

/* Основной текст */
.ds-text {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 25px;
  color: #4a5568;
}

/* Списки */
.ds-list {
  padding-left: 20px;
  margin-bottom: 25px;
}

.ds-list li {
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.6;
}

/* Заголовок ВРАЧИ */
.ds-doctors-title {
  font-size: 26px;
  font-weight: 700;
  color: #2c5282;
  margin-top: 50px;
  margin-bottom: 20px;
  position: relative;
}

.ds-doctors-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: #3182ce;
  border-radius: 2px;
  margin-top: 6px;
}



.footer {
  background-color: #f5f7fa;
  padding: 60px 20px;
  color: #1e2f48;
  font-family: 'Arial', sans-serif;
  font-size: 15px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.footer-column {
  flex: 1 1 200px;
}

.footer-column h4 {
  color: #4a6fa5;
  margin-bottom: 12px;
  font-weight: 700;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column li {
  margin-bottom: 8px;
  color: #33475b;
}

.footer-contact {
  flex: 1 1 240px;
  min-width: 240px;
}

.footer-contact .phone {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 8px;
  color: #1e2f48;
}

.callback-link {
  display: inline-block;
  color: #4a6fa5;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 16px;
}

.callback-link:hover {
  text-decoration: underline;
}

.disclaimer {
  font-size: 13px;
  color: #6c7a89;
  margin-top: 16px;
  line-height: 1.5;
}

.arrow {
  margin-right: 8px;
  color: #4a6fa5;
  font-weight: bold;
}


/* Адаптация для мобильных */
@media (max-width: 768px) {
  .footer-columns {
    flex-direction: column;
    gap: 30px;
  }
  .footer-contact {
    text-align: center;
  }
}

.ds-reasons p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 12px;
  color: #333;
}
.ds-reasons strong {
  color: #2b6cb0;
}

html {
  scroll-behavior: smooth;
}

/*[id^="description"] {
  scroll-margin-top: 100px; /* вариант
} */

.doctor-profile {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding: 40px 20px;
  border-radius: 12px;
  max-width: 1000px;
  margin: 0 auto;
  margin-top: -30px;
}

.doctor-left {
  flex: 1 1 300px;
  background-color: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

.doctor-photo img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
}

.doctor-info {
  margin-top: 20px;
  font-size: 16px;
  line-height: 1.6;
  color: #33475b;
}

.doctor-info span {
  color: #4a6fa5;
  display: block;
  margin-top: 4px;
}

.doctor-right {
  flex: 2 1 500px;
}

.doctor-right h2 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #1e2f48;
}

.doctor-right ul {
  padding-left: 20px;
  margin-bottom: 30px;
  color: #33475b;
}

.doctor-right li {
  margin-bottom: 10px;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
  .doctor-profile {
    margin: 0 10px;
    max-width: 100%;
    padding: 20px 10px;
  }
}

