    /* ================= ОБЩИЕ ================= */
    body {
        font-family: 'Arial', sans-serif;
        background-color: #f5f5f5;
        margin: 0;
        padding: 0;
        padding-top: 50px;
    }

    .content {
        margin-top: 100px;
    }

    /* ================= HEADER ================= */
    header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background: white;
        z-index: 1000;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    }

    .header-content {
        max-width: 1200px;
        margin: 0 auto;
        padding: 15px 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .logo img {
        max-height: 70px;
    }

    .nav {
        display: flex;
        gap: 25px;
    }

    .nav a {
        text-decoration: none;
        color: #333;
        font-size: 16px;
        font-weight: 500;
        transition: color 0.3s;
    }

    .nav a:hover {
        color: #ff6600;
    }

    /*.burger-menu {*/
    /*    display: none;*/
    /*    flex-direction: column;*/
    /*    cursor: pointer;*/
    /*    gap: 6px;*/
    /*}*/

    /*.burger-menu span {*/
    /*    width: 30px;*/
    /*    height: 3px;*/
    /*    background: black;*/
    /*    border-radius: 2px;*/
    /*    transition: 0.3s;*/
    /*}*/

    @media (max-width: 768px) {
        .nav {
            display: none;
            flex-direction: column;
            gap: 15px;
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: white;
            padding: 20px;
            box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        }
        .nav.active {
            display: flex;
        }
        .burger-menu {
            display: flex;
        }
    }

    /* ================= ВРАЧИ ================= */
    .page-title {
        text-align: center;
        font-size: 28px;
        font-weight: 700;
        color: #2c3e50;
        margin: 30px 0 10px;
        letter-spacing: 0.5px;
    }

    .description {
        text-align: center;
        max-width: 800px;
        margin: 0 auto 40px;
        font-size: 16px;
        color: #555;
        line-height: 1.7;
    }

    /* Список докторов */
    .doctors-list {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
        padding: 20px;
    }

    /* Карточка врача */
    .doctor {
        display: flex;
        align-items: stretch; /* фото на всю высоту блока */
        gap: 30px;
        background: #fff;
        border-radius: 12px;
        padding: 0;
        box-shadow: 0 6px 18px rgba(0,0,0,0.12);
        width: calc(50% - 15px);
        overflow: hidden;
        transition: transform 0.3s ease-in-out, box-shadow 0.3s ease;
    }

    .doctor:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 22px rgba(0,0,0,0.16);
    }

    /* Текст слева */
    .doctor-info {
        order: 0;
        flex: 1;
        padding: 20px;
        display: flex;
        flex-direction: column;
        justify-content: center; /* текст по центру вертикально */
    }

    .doctor-info h3 {
        font-size: 22px;
        font-weight: 600;
        color: #2c3e50;
        margin-bottom: 12px;
        position: relative;
    }

    .doctor-info h3::after {
        content: '';
        display: block;
        width: 50px;
        height: 3px;
        /*background: #FFD700;*/
        margin-top: 6px;
        border-radius: 2px;
    }

    .doctor-info p {
        font-size: 16px;
        color: #555;
        line-height: 1.8;
    }

    .doctor-info strong,
    .black-bold {
        font-weight: bold;
        color: #000;
    }

    /* Фото справа */
    .doctor-photo {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 0 0 12px 12px;
        overflow: hidden;
    }

    .doctor-photo img {
        width: 100%;       /* всегда на всю ширину блока */
        height: auto;      /* сохраняет пропорции */
        max-width: 100%;   /* не даёт вылезать */
        display: block;
    }



    .doctor-photo img:hover {
        transform: scale(1.03);
    }


    /* ===== Адаптив ===== */

    /* Desktop — большой экран >1440px */
    @media screen and (min-width: 1441px) {

        .doctor {
            width: calc(50% - 20px);
        }
        .doctor-photo img {
            width: 100%;
            height: 400px;
        }
        .appointment-button {
            font-size: 22px;
            padding: 18px 35px;
        }
    }

    /* Laptop / средние экраны — до 1440px */
    @media screen and (max-width: 1440px) {
        .doctor {
            width: calc(50% - 15px);
        }
        .doctor-photo img {
            width: 100%;
            height: 380px;
        }
        .appointment-button {
            font-size: 20px;
            padding: 16px 30px;
        }
    }

    /* Планшеты — до 1024px */
    @media screen and (max-width: 1024px) {
        body {
            padding-top: 100px; /* больше для мобильных */
        }
        .doctor {
            flex-direction: row;
            width: 100%;
        }
        .doctor-photo img {
            .doctor-photo img {
                width: 100%;
                height: auto;
                object-fit: cover;   /* если всё равно обрезается — можно включить */
                object-position: center;
            }
        }
        .appointment-button {
            font-size: 18px;
            padding: 14px 28px;
        }
    }

    /* Малые планшеты / большие телефоны — до 768px */
    @media screen and (max-width: 768px) {
        body {
            padding-top: 100px; /* больше для мобильных */
        }
        .doctor {
            flex-direction: column;
            align-items: center;
            text-align: center;
            width: 100%;
        }
        .doctor-photo img {
            .doctor-photo img {
                width: 100%;
                height: auto;
                object-fit: cover;   /* если всё равно обрезается — можно включить */
                object-position: center;
            }
        }
        .doctor-info {
            padding: 10px 20px;
            width: 100%;
            justify-content: flex-start;
        }
        .appointment-button {
            font-size: 16px;
            padding: 12px 25px;
        }
    }

    /* Мобильные телефоны — до 480px */
    @media screen and (max-width: 480px) {
        .doctor-photo img {
            height: 200px;
        }
        .doctor-info h3 {
            font-size: 18px;
        }
        .doctor-info p {
            font-size: 14px;
        }
        .appointment-button {
            font-size: 14px;
            padding: 10px 20px;
        }
    }


    /* ================= КНОПКА ================= */
    .appointment-button-container {
        display: flex;
        justify-content: center;
        padding: 15px 30px 20px 30px;
    }

    .appointment-button {
        padding: 15px 30px;
        background-color: #ff6600;
        color: white;
        font-size: 20px;
        font-weight: bold;
        text-decoration: none;
        border-radius: 5px;
        text-align: center;
        box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
        transition: background-color 0.3s ease, transform 0.3s ease;
    }

    .appointment-button:hover {
        background-color: #e65c00;
        transform: scale(1.05);
    }

    .appointment-button:active {
        transform: scale(0.95);
    }
