/* ==========================================================
   ГЛОБАЛЬНЫЕ НАСТРОЙКИ И ПЕРЕМЕННЫЕ
   ========================================================== */
:root {
    /* --- Цвета --- */
    --color-bg: #ffffff;              /* Основной фон сайта */
    --color-text: #222222;            /* Основной цвет текста */
    --color-accent: #0b1e55;          /* Акцентный цвет (заголовки, детали)0b1e55 */
    --color-section-bg: #eff1f9;      /* Фон блоков (section) */
    --color-list-bg: #f9faff;         /* Фон элементов списка */

    /* --- Шапка --- */
    --header-color: 25, 24, 97;       /* Цвет шапки в формате RGB (без #) */
    --header-opacity: 0.85;           /* Прозрачность шапки (0–1) */
    --header-blur: 2px;               /* Степень матовости (blur) */

    /* --- Прочее --- */
    --border-radius: 15px;            /* Радиус скругления у блоков (БЫЛО 38) */
    --transition-speed: 0.25s;        /* Скорость анимаций при наведении */
    --max-width: 900px;               /* Максимальная ширина контента */
    --font-main: Arial, sans-serif;   /* Основной шрифт */
}

/* ==========================================================
   БАЗОВЫЕ СТИЛИ
   ========================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-main);
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
}

/* ==========================================================
   ШАПКА (HEADER)
   ========================================================== */
/* Шапка фиксирована наверху */
header {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(var(--header-color), var(--header-opacity));
    backdrop-filter: blur(var(--header-blur));
    color: white;
    padding: 14px 20px;
    z-index: 1000;
    transition: background-color var(--transition-speed) ease;
}

/* Контейнер внутри шапки */
.header-content {
    width: 100%;
    max-width: var(--max-width);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Левая часть — логотип + имя */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cross {
    color: white;
    font-size: 22px;
    line-height: 1;
}

.name {
    font-size: 18px;
    font-weight: 600;
}

/* Правая часть — блок с контактами */
.contacts {
    display: flex;
    gap: 15px;
}

/* 🔵 Круглая иконка (WhatsApp, Telegram) */
.icon {
    text-decoration: none;
    background-color: rgba(255, 255, 255, 0.13);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all var(--transition-speed) ease;
}

.icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.icon:hover {
    transform: scale(1.15);
    background-color: rgba(255, 255, 255, 0.35);
}

/* 🟦 Новая кнопка с текстом "Позвонить врачу" */
.contact-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background-color: rgba(255, 255, 255, 0.13);
    border-radius: 20px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: all var(--transition-speed) ease;
}

.contact-button:hover {
    background-color: rgba(255, 255, 255, 0.35);
    transform: scale(1.05);
}

.contact-button .label {
    font-size: 14px;
    white-space: nowrap;
}

.contact-button img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* ==========================================================
   ОСНОВНОЙ КОНТЕНТ (MAIN)
   ========================================================== */
main {
    margin-top: 100px; /* Чтобы шапка не перекрывала текст */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 15px;
}

/* ==========================================================
   СЕКЦИИ (section)
   ========================================================== */
section {
  background-color: var(--color-section-bg);
  border-radius: var(--border-radius);
  width: 100%;
  max-width: var(--max-width);
  margin-bottom: 25px;
  padding: 30px 30px;
  border: 0px solid #b0b8d1;
}

/* ==========================================================
   ИНФО-БЛОК (фото + описание)
   ========================================================== */
.info {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Фото врача */
.photo-wrapper {
    flex-shrink: 0;
    width: 330px;
    height: 500px;
    overflow: hidden;
    border-radius: 12px;
}

.photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Текст рядом с фото */
.details {
    max-width: 600px;
}

.details h1 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--color-accent);
}

.details p {
    font-size: 16px;
    margin-bottom: 6px;
}

/* ==========================================================
   ЗАГОЛОВКИ
   ========================================================== */
section h2 {
    color: var(--color-accent);
    font-size: 20px;
    margin-bottom: 12px;
}

/* ==========================================================
   СПИСКИ
   ========================================================== */
ul {
    list-style-type: none;
}

ul li {
    background-color: var(--color-list-bg);
    border-left: 4px solid var(--color-accent);
    padding: 8px 12px;
    margin-bottom: 6px;
    border-radius: 4px;
}

/* ==========================================================
   ВЫПАДАЮЩИЕ СПИСКИ (details/summary)
   ========================================================== */
details {
    margin-bottom: 10px;
}

summary {
    font-weight: bold;
    color: var(--color-accent);
    cursor: pointer;
    margin-bottom: 6px;
}

summary:hover {
    text-decoration: underline;
}

/* ==========================================================
   ПОДВАЛ (БЛОК С НОМЕРАМИ АККРЕДИТАЦИИ)
   ========================================================== */
.footer-accreditation {
    text-align: center;
    color: #888;
    font-size: 14px;
    margin-bottom: 40px;
    line-height: 1.5;
}

/* ==========================================================
   АДАПТИВНОСТЬ
   ========================================================== */
@media (max-width: 768px) {
    .info {
        flex-direction: column;
        align-items: center;
    }

    .header-content {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    section {
        padding: 20px;
    }

    .photo-wrapper {
        width: 100%;
        height: auto;
    }
}
.glass-effect {

background: rgba(255, 255, 255, 0.2);

backdrop-filter: blur(10px);

-webkit-backdrop-filter: blur(10px);

border-radius: 15px;

box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);

border: 1px solid rgba(255, 255, 255, 0.18);

}