* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #111;
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* --- Шапка --- */
header {
    padding: 20px 0;
    background-color: #fff;
}

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

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* --- Стили для нового логотипа --- */
.header-logo {
    height: 140px;      /* Высота точно такая же, как у старой заглушки */
    width: auto;       /* Ширина подстроится автоматически, чтобы сохранить пропорции */
	 max-width: 100%;     /* Защита от растягивания на весь экран */
    object-fit: contain; /* Защита от искажения пропорций, если картинка будет квадратной или прямоугольной */
	border-radius: 50%;
}

.header-title {
    font-weight: 600;
    font-size: 16px;
    color: #333;
}

.header-right {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.contact-item i {
    font-size: 20px;
    color: #222;
    border: 1px solid #ccc;
    border-radius: 50%;
    padding: 8px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-text {
    display: flex;
    flex-direction: column;
}

.contact-text span {
    font-weight: 600;
}

.contact-text small {
    font-size: 12px;
    color: #555;
}

/* --- Блок 1: Услуги (Серый) --- */
.services-section {
    padding: 100px 20px; 
    background-color: #f0f0f0;
    text-align: center;
}

.services-section h2 {
    font-size: 28px;
    margin-bottom: 40px; 
    font-weight: 700;
}

.services-list {
    display: inline-block;
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
}

.services-list ul {
    list-style-position: outside;
    padding-left: 20px;
}

.services-list li {
    margin-bottom: 20px; 
    font-size: 16px;
    font-weight: 600;
    line-height: 1.8; 
}

/* --- Блок 2: О специалисте (Белый) --- */
.about-section {
    padding: 100px 20px; 
    background-color: #fff;
}

.about-container {
    max-width: 900px;
    margin: 0 auto;
}

.about-container h3 {
    font-size: 22px;
    margin-bottom: 20px; 
    font-weight: 700;
}

.about-container p {
    font-size: 18px;
    margin-bottom: 35px; 
    color: #222;
    line-height: 1.8; 
}

.about-container p:last-child {
    margin-bottom: 0;
}

/* --- Контакты --- */
.contacts-section {
    display: flex;
    flex-wrap: wrap;
    background-color: #f0f0f0;
}

.contacts-info {
    flex: 1;
    min-width: 300px;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contacts-info h2 {
    font-size: 28px;
    margin-bottom: 30px;
    font-weight: 700;
}

.contact-details p {
    margin-bottom: 15px;
    font-size: 18px;
}

.contact-details p:last-child {
    margin-bottom: 0;
}

.contact-details i {
    margin-right: 10px;
    font-size: 16px;
}

.contacts-map {
    display: flex;
    flex: 1.5;
    height: 700px; /* Высота карты. Можете смело ставить 800px или 1000px */
    width: 100%;
    overflow: visible !important; /* Принудительно разрешаем отображение всего содержимого */
}

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

/* --- Подвал (Footer) --- */
footer {
    background-color: #fff;
    padding: 25px 0; /* Высота примерно как у шапки */
    border-top: 1px solid #eaeaea; /* Тонкая серая линия для разделения */
}

.footer-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-wrap: wrap;
    gap: 10px;
}

footer p {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* --- Мобильная адаптация --- */
@media (max-width: 900px) {
    .header-inner {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    .header-left {
        width: 100%;
        justify-content: center;
    }
    .header-right {
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    .contact-item {
        width: 100%;
        justify-content: center;
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }
    
    .services-list {
        max-width: 100%;
        padding-left: 5px;
    }
    .services-list li {
        font-size: 15px;
        /* На мобильных тоже сохраняем увеличенный интервал */
        line-height: 1.6; 
    }

    .about-container {
        max-width: 100%;
        padding: 0 10px;
    }
    .about-container p {
        font-size: 16px;
        line-height: 1.7;
        margin-bottom: 30px;
    }
    .about-container h3 {
        font-size: 20px;
    }

    .contacts-section {
        flex-direction: column;
    }
    .contacts-info {
        padding: 40px 20px;
        align-items: center;
        text-align: center;
    }
    .contacts-map {
        height: 450px;
    }
	footer {
        padding: 20px 0;
    }
    footer p {
        font-size: 13px;
        padding: 0 15px; /* Защита от того, чтобы текст не прилипал к краям экрана */
    }
}

/* Для мелких экранов */
@media (max-width: 400px) {
    .services-list li {
        font-size: 14px;
    }
    .about-container p {
        font-size: 15px;
    }
    .header-title {
        font-size: 14px;
        text-align: center;
    }
}

