/* style.css */
body {
    font-family: system-ui, -apple-system, sans-serif;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    line-height: 1.6;
    color: #333;
}
h1, h2 { color: #2c3e50; }
a { color: #2980b9; }
a:hover { text-decoration: none; border-bottom: 1px solid; }
hr { border: 0; height: 1px; background: #eee; margin: 2.5rem 0; }

header {
    padding: 1.5rem 1rem;
    text-align: center;          /* центрируем всё на мобильных */
    background: #f8f9fa;         /* светлый фон, можно поменять */
}

.logo-container {
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    max-width: 220px;            /* максимальный размер логотипа на десктопе */
    height: auto;                /* сохраняем пропорции */
    display: block;
    margin: 0 auto 1rem;         /* отступ снизу от логотипа */
}
.header-inner {
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem;
}

.site-heading {
    flex: 1;
}

h1 {
    margin: 0;
    font-size: 2.4rem;
}

.lead {
    margin: 0.5rem 0 0;
    font-size: 1.15rem;
    opacity: 0.9;
}
.logo:hover {
    opacity: 0.85;               /* лёгкий эффект при наведении */
}

/* На экранах шире 768px — логотип слева, текст рядом */
@media (min-width: 768px) {
    header {
        text-align: left;
    }

    .logo-container {
        display: flex;
        align-items: center;
        gap: 1.5rem;             /* расстояние между логотипом и текстом */
    }

    .logo {
        margin: 0;               /* убираем нижний отступ */
        max-width: 180px;        /* можно чуть уменьшить */
    }

    h1 {
        margin: 0;
    }
}

<link rel="icon" href="img/favicon.ico" type="image/x-icon">
<link rel="apple-touch-icon" href="img/logo-180.png">

.video-wrapper {
    margin: 1.5rem 0;
    text-align: center;
}

.video-wrapper iframe {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.back-link {
    display: inline-block;
    margin: 1rem 0;
    color: #2980b9;
    text-decoration: none;
    font-weight: bold;
}

.back-link:hover {
    text-decoration: underline;
}
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-header {
    padding: 3rem 0 2rem;
    text-align: center;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.team-grid div {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
}

.education-experience {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin: 2.5rem 0;
}

@media (max-width: 768px) {
    .education-experience {
        grid-template-columns: 1fr;
    }
}

.image-block {
    margin: 2rem 0;
    text-align: center;
}

.image-block img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.12);
}

.portrait img {
    width: 240px;
    height: 240px;
    object-fit: cover;
    border-radius: 50%;
}

.btn-whatsapp {
    display: inline-block;
    background: #25D366;
    color: white;
    font-weight: bold;
    padding: 16px 36px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 18px rgba(0,0,0,0.15);
    transition: all 0.2s;
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.cta-section {
    text-align: center;
    padding: 4rem 0 5rem;
    background: #f8f9fa;
    border-radius: 16px;
    margin: 3rem 0;
}
.cta-box {
    margin: 2.5rem 0;
    padding: 1.5rem 2rem;
    border-left: 5px solid #5a7d8a;   /* спокойный медицинский акцент */
    background: #f4f8fa;
    border-radius: 8px;
}

.cta-text {
    font-size: 1.1rem;
    line-height: 1.6;
}
.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin: 20px 0;
    justify-content: center; /* или flex-start */
}

.social-icon {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: all 0.25s ease;
    color: white;
}

.social-icon i {
    font-size: 28px;
}

.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.instagram:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(188, 24, 136, 0.3);
}

.youtube {
    background: #FF0000;
}

.youtube:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 0, 0, 0.4);
}
.cta-highlight {
    margin: 3rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, #f6fbff, #eef6fa);
    border-radius: 12px;
    text-align: center;
}

.cta-strong {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0.5rem 0;
}

.cta-sub {
    font-size: 1rem;
    opacity: 0.85;
}
<style>
    .floating-back-btn {
        position: fixed;          /* фиксирует на экране */
        bottom: 20px;             /* отступ снизу */
        left: 20px;               /* слева (можно right: 20px; если хочешь справа) */
        z-index: 999;             /* поверх всего */
        background-color: #333;   /* тёмный фон, под стиль Re-Eis */
        color: white;
        padding: 12px 20px;
        border-radius: 50px;      /* круглая/овальная форма */
        text-decoration: none;
        font-weight: bold;
        font-size: 16px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.3); /* тень для объёма */
        transition: all 0.3s ease;
        opacity: 0.9;
    }

    .floating-back-btn:hover {
        background-color: #555;
        opacity: 1;
        transform: scale(1.1);    /* лёгкое увеличение при наведении */
    }

    /* На мобильных чуть меньше */
    @media (max-width: 768px) {
        .floating-back-btn {
            bottom: 15px;
            left: 15px;
            padding: 10px 16px;
            font-size: 14px;
        }
    }
</style>
.floating-buttons {
    right: 10px;
}

@media (max-width: 480px) {
    .floating-whatsapp-btn span,
    .floating-telegram-btn span {
        display: none;   /* убираем текст */
    }

    .floating-whatsapp-btn,
    .floating-telegram-btn {
        width: 52px;
        height: 52px;
        padding: 0;
        border-radius: 50%;
        justify-content: center;
    }

    .icon {
        position: static;
        transform: none;
    }
}

.accordion-native details {
    margin: 25px 0;
    border-radius: 14px;
    border: 1px solid #e3e6ea;
    background: #f9fafb;
    overflow: hidden;
    transition: 0.3s;
}

.accordion-native summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 22px;
    font-size: 18px;
    font-weight: 600;
    background: linear-gradient(135deg, #ffffff, #f3f6f9);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-native summary::-webkit-details-marker {
    display: none; /* убрать стандартный треугольник */
}

.accordion-native summary:hover {
    background: #eef3f8;
}

.accordion-native details[open] summary i {
    transform: rotate(180deg);
}

.accordion-native summary i {
    transition: transform 0.3s ease;
}

.details-content {
    padding: 0 22px 22px 22px;
    animation: fadeIn 0.4s ease;
}

.details-content ul {
    padding-left: 18px;
}

.details-content li {
    margin: 10px 0;
}

.details-content a {
    text-decoration: none;
    color: #1a4fa3;
}

.details-content a:hover {
    text-decoration: underline;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to   { opacity: 1; transform: translateY(0); }
}
.big-section-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 18px 22px;
    background: #f5f7fa;
    border-radius: 14px;
    border: 1px solid #e3e6ec;
    text-decoration: none;
    color: #222;
    font-size: 18px;
    font-weight: 600;
    transition: 0.25s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.big-section-btn i {
    color: #777;
    transition: 0.25s;
}

.big-section-btn:hover {
    background: #eef2f7;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}

.big-section-btn:hover i {
    transform: translateX(4px);
}
