/* Подключил этот шрифт в HTML: Inter уже есть, но мы усилим */
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;
}


.slider {
  width: 100%;
  max-width: 100vw;
  height: 450px;
  margin: 40px auto 0 auto;
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  padding: 0 10vw; /* отступы по краям чтобы появлялись боковые баннеры */
  box-sizing: border-box;
}

.slider .list {
  display: flex;
  height: 100%;
  transition: 0.6s ease;
  position: relative;
}


.slider .item {
  min-width: 80vw;
  margin: 0 10px;
}

.slider .list img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  border-radius: 15px;
}

.slider .buttons{
    position: absolute;
    top: 45%;
    left: 5%;
    width: 90%;
    display: flex;
    justify-content: space-between;
}

.slider .buttons button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.4);
  font-family: monospace;
  font-weight: bold;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.buttons button:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: #ffffff;
  transform: scale(1.1);
  color: #fff;
}

.buttons button:active {
  transform: scale(0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* совместно .slider .buttons button{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #fff5;
    color: #fff;
    border: none;
    font-family: monospace;
    font-weight: bold;
} */

.slider .dots{
    position: absolute;
    bottom: 10px;
    left: 0;
    color: #fff;
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

.slider .dots li{
    list-style: none;
    width: 10px;
    height: 10px;
    background-color: #fff;
    margin: 10px;
    border-radius: 20px;
    transition: 0.5s;
}

.slider .dots li.active{
    width: 30px;
}

@media screen and (max-width: 768px){
    .slider{
        height: 400px;
    }
}

.specialists-section {
  padding: 35px 0; /* было 60*/
}

.specialists-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
  border-bottom: 1px solid #eee;
}

.specialists-tabs li {
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  padding-bottom: 10px;
  transition: all 0.3s ease;
  color: #222;
}

.specialists-tabs li.active {
  color: #3a5ba0;
  border-bottom: 3px solid #3a5ba0;
}

.specialists-tabs li:hover {
  color: #3a5ba0;
}

.specialists-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}


.specialist-card {
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 16px;
  font-weight: 500;
  color: #1a1a1a;
  transition: transform 0.3s;
}

.specialist-card i {
  font-size: 28px;
  color: #3a5ba0;
  flex-shrink: 0;
}

.specialist-card:hover {
  transform: translateY(-5px);
}

.specialists-button {
  text-align: center;
  margin-top: 40px;
}

.specialist-card,
.specialist-card:hover,
.specialist-card:visited,
.specialist-card:active {
  text-decoration: none;
}


.view-all {
  background-color: #3a5ba0;
  color: white;
  padding: 12px 28px;
  font-size: 16px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}

.view-all:hover {
  background-color: #2e4d8a;
  box-shadow: 0 0 12px rgba(74, 111, 165, 0.4); /* лёгкое синее свечение */
}

/* Tabs */
.specialists-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  list-style: none;
  padding: 0 0 16px 0;
  margin: 0 0 40px;
  border-bottom: 2px solid #e2e8f0;
}

.specialists-tabs li {
  cursor: pointer;
  font-size: 17px;
  font-weight: 600;
  padding-bottom: 6px;
  color: #1a1a1a;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
}

.specialists-tabs li.active {
  color: #3a5ba0;
  border-color: #3a5ba0;
}

.tab-content {
  display: none;
  animation: fadeIn 0.4s ease-in-out;
}

.tab-content.active {
  display: grid;
}

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

.promo-section {
  padding: 30px 20px; /* 60px 20px */
  background: #f5f7fa; /* светло-синий фон */
  text-align: center;
}

.promo-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 40px; /* было 40px */
  position: relative;
  display: inline-block;
  color: #1e2f48; /* тёмно-синий заголовок */
}

.promo-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background-color: #4a6fa5; /* нейтральный синий */
  margin: 10px auto 0;
  border-radius: 4px;
}

.promo-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: repeat(2, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto 40px;
}

/* Обеспечиваем одинаковую высоту и поведение изображений */
.promo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

/* Первая карточка - растягивается на 2 строки */
.promo-card:nth-child(1) {
  grid-row: 1 / span 2;
  height: 100%;
}

/* Вторая и третья карточки */
.promo-card:nth-child(2),
.promo-card:nth-child(3) {
  height: 100%;
}

.promo-btn-wrap {
  text-align: center;
}

.promo-btn {
  display: inline-block;
  padding: 14px 30px;
  background-color: #4a6fa5; /* основной синий */
  color: white;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: background 0.3s; 
}

.promo-btn:hover {
  background-color: #3c5e8e; /* при наведении */
  box-shadow: 0 0 12px rgba(74, 111, 165, 0.4); /* лёгкое синее свечение */
}

.promo-card {
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.promo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(74, 111, 165, 0.15);
}

/* 1-вариант
.clinic-location {
  padding: 30px 20px; / 60px 20px /
  background-color: #ffffff85; / немного светло-серого /
  text-align: center;
}

.clinic-title {
  font-size: 32px;
  font-weight: 700;
  color: #1e2f48;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}

.clinic-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background-color: #4a6fa5;
  margin: 10px auto 0;
  border-radius: 4px;
}

.clinic-address {
  font-size: 18px;
  color: #4a6fa5;
  margin-bottom: 10px;
}

.clinic-subheading {
  font-size: 20px;
  font-weight: 600;
  color: #1e2f48;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.clinic-subheading i {
  color: #4a6fa5;
  font-size: 22px;
}

.map-container {
  margin: 40px auto 0; / ⬅️ добавляем отступ сверху, и сохраняем авто-позиционирование /
  width: 100%;
  max-width: 1000px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}


.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
}

.clinic-address-card {
  background-color: #eaf0f8; / светло-синий фон /
  border-radius: 16px;
  padding: 30px 20px;
  max-width: 480px;
  margin: 30px auto 0; / Центрирование и отступ сверху /
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  text-align: center;
}

.clinic-card-heading {
  font-size: 20px;
  color: #1e2f48;
  font-weight: 600;
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.clinic-card-heading i {
  color: #4a6fa5;
  font-size: 22px;
}

.clinic-card-address {
  font-size: 18px;
  color: #4a6fa5;
  line-height: 1.5;
} */

.section-title {
  font-size: 32px;
  font-weight: 700;
  color: #1e2f48;
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background-color: #4a6fa5;
  margin: 10px auto 0;
  border-radius: 4px;
}

.clinic-address {
  padding: 10px 20px 80px; /*60px 20px;*/
  background-color: #f8f9fc;
  font-family: 'Segoe UI', sans-serif;
}

.clinic-address i {
  color: #4a6fa5;
  margin-right: 8px;
  font-size: 18px;
}

.address-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  align-items: flex-start;
}

.address-info {
  flex: 1 1 300px;
  max-width: 400px;
}

.contacts {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.contacts li {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  font-size: 21px;
}

.contacts .icon {
  margin-right: 10px;
  font-size: 20px;
}

.icon.phone::before {
  content: '📞';
}

.icon.whatsapp::before {
  content: '💬';
}

.icon.location::before {
  content: '📍';
}

.work-hours p {
  font-weight: 600;        /* Чуть жирнее */
  font-size: 20px;
  color: #1e2f48;
  margin-top: 8px;         /* Отступ сверху */
  margin-bottom: 0;
}

.contacts-heading {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #1e2f48;
}

.contacts-heading i {
  margin-right: 8px;
  color: #4a6fa5; /* можно под цвет темы */
}

.work-hours h4 {
  display: flex;
  align-items: center;
  font-size: 18px;
  margin-bottom: 5px;
  color: #1e2f48;
}

.work-hours .days {
  color: #666;
  margin-bottom: 3px;
}

.address-map {
  height: 300px; /* или 250px, ровно под твой макет */
  width: 650px;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.address-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}


.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;
  }
}

.specialist-link {
  text-decoration: none;
  display: inline-block;
  color: inherit;
}
