/* ===== ОСНОВНЫЕ СТИЛИ ===== */
html, body {
    margin: 0;
    padding: 0;
    /* Шрифты теперь грузятся через Google Fonts, поэтому оставляем запасные */
    font-family: 'Open Sans', Arial, sans-serif;
    background: #161616;
    font-size: 15px;
    color: #fff; /* Изменил на белый для лучшей контрастности на темном фоне */
    height: 100%;
    box-sizing: border-box;
}

/* ===== FLEXBOX ЛЭЙАУТ ===== */
.block-flex-div { 
    display: flex;
    max-width: 960px;
    justify-content: space-between;
    box-sizing: border-box; 
    margin: 40px auto;
    padding: 0 20px; /* Добавил отступы для мобильных */
}

.block-column-flex { 
    flex: 1;
}

.block-column-flex.my-contacts {
    min-width: 300px;
    width: 100%; /* На мобильных занимает всю ширину */
}

/* ===== ЛИЦЕВОЙ БЛОК (ПРОФИЛЬ) ===== */
.face-photo {
    text-align: center; /* Центрируем фото */
    margin: 0 auto;
	max-width: 300px;
}

.face-photo-img {
    display: inline-block;
    max-width: 100%; /* Адаптивность картинки */
    height: auto;
    padding: 4px;
    line-height: 1.428571429;
    border-radius: 50%; /* Сделаем фото круглым, если это уместно */
}

.face-name {
    margin: 20px auto 10px;
    font: 700 40px/1.2 'Open Sans Condensed', sans-serif !important;
    color: #fff;
    text-align: center;
    text-transform: uppercase; /* Добавим стиля */
    letter-spacing: 1px;
}

.face-profession { /* Новый стиль для H2 */
    margin: 0 auto 30px;
    font: 300 24px/1.4 'Open Sans Condensed', sans-serif !important;
    color: #19b09f; /* Акцентный цвет */
    text-align: center;
}

/* ===== ОБЩИЕ ЗАГОЛОВКИ ===== */
.block-title {
    margin: 40px auto 20px;
    font: 700 28px/1.2 'Open Sans Condensed', sans-serif !important;
    color: #fff;
    text-align: center;
    border-bottom: 2px solid #19b09f; /* Добавим подчеркивание */
    padding-bottom: 10px;
}

/* ===== СОЦИАЛЬНЫЕ КНОПКИ ===== */
.social-contacts {
    position: relative;
    margin-top: 10px;
    text-align: center;
}

.ucrm_social__mobile {
    display: flex;
    flex-direction: column;
    gap: 10px; /* Современный способ делать отступы между элементами */
    padding: 0 10px;
}

.ucrm_social__direct {
    min-height: 50px;
    background: #1e1e1e; /* Чуть светлее фона */
    border-radius: 50px;
    line-height: 19px;
    padding: 0 20px 0 15px;
    font-weight: 600;
    border: 1px solid #19b09f;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center; /* Центрируем содержимое */
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease; /* Плавный эффект при наведении */
}

.ucrm_social__direct:hover {
    background: #19b09f;
    border-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(25, 176, 159, 0.4);
}

.ucrm_social__direct span {
    margin-left: 10px;
    flex: 1; /* Занимает все доступное место */
    text-align: left;
}

/* Иконки */
.social-botton-wiget {
    border-radius: 50%;
    padding: 5px;
    width: 32px;
    height: 32px;
    object-fit: contain;
    background-color: #fff; /* Белый фон для иконок */
}

.social-botton-wiget.ucrm-whatsapp { background-color: #53b73c; }
.social-botton-wiget.ucrm-telegram { background-color: #26a6e6; }
.social-botton-wiget.ucrm-vk { background-color: #0077ff; }
.social-botton-wiget.ucrm-phone { background-color: #f5f5f5; }
.social-botton-wiget.ucrm-max { background-color: #000; }

/* ===== ВИДЕО И КАРТА ===== */
.video-presents, .maps {
    position: relative;
    margin: 40px 0;
    text-align: center;
}

.video-presents iframe, .maps iframe {
    max-width: 100%; /* Адаптивность */
    height: auto;
    min-height: 400px; /* Минимальная высота для мобильных */
    border-radius: 8px; /* Скругленные углы */
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

/* Текстовый адрес */
.address-text {
    text-align: center;
    font-size: 16px;
    color: #ccc;
    margin-top: 15px;
}

/* ===== ОПИСАНИЕ УСЛУГ (НОВЫЙ БЛОК) ===== */
.services-description {
    margin-top: 50px;
    padding: 0 15px;
}

.services-description p {
    font: 400 16px/1.6 'Open Sans', sans-serif;
    color: #ddd;
    text-align: left;
    padding-left: 0;
    margin-bottom: 20px;
}

.services-description strong {
    color: #19b09f;
}

/* ===== ПОДВАЛ ===== */
.site-footer {
    text-align: center;
    padding: 30px 20px;
    background: #0f0f0f;
    color: #888;
    font-size: 14px;
}

.site-footer a {
    color: #19b09f;
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

/* ===== АДАПТИВНОСТЬ (МЕДИА-ЗАПРОСЫ) ===== */
@media (max-width: 768px) {
    .block-flex-div {
        flex-direction: column; /* На мобильных все в колонку */
        margin: 20px auto;
    }
    
    .face-name {
        font-size: 32px !important;
    }
    
    .face-profession {
        font-size: 20px !important;
    }
    
    .block-title {
        font-size: 24px !important;
    }
    
    .maps iframe {
        height: 300px; /* Уменьшаем карту на мобильных */
    }
}

/* ===== СТАРЫЕ СТИЛИ, КОТОРЫЕ БОЛЬШЕ НЕ НУЖНЫ (удалил) ===== */
/* Я убрал все неиспользуемые классы, такие как .project, .content-info, .ucrm_social_widget и т.д., 
   чтобы CSS был чистым и быстрым. Если они нужны на других страницах - их можно добавить обратно. */