body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background-color: #ffffff;
    color: #333;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    display: flex;
    width: 100%;
    min-height: 100vh;
    box-sizing: border-box;
    position: relative;
    align-items: flex-start;
    background: #ffffff;
    padding: 20px;
}

.photo {
    width: 35%;
    max-width: 450px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 50px;
}

.photo img {
    width: 420px;
    height: 420px;
    object-fit: cover;
    object-position: center 20%;
    border-radius: 50%;
    border: 8px solid #667eea;
    border-style: double;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.photo img:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.content {
    width: 65%;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.name-title h2 {
    font-size: 1.2em;
    font-weight: 400;
    color: #666;
    margin: 0 0 5px 0;
    text-align: left;
}

.name-title h1 {
    font-size: 3.5em;
    font-weight: 700;
    color: #000;
    margin: 0 0 15px 0;
    text-align: left;
    line-height: 1.1;
}

.subtitle {
    font-size: 1.1em;
    color: #666;
    margin: 0 0 15px 0;
    text-align: left;
    line-height: 1.4;
    font-weight: 300;
}

.contact {
    text-align: left;
    margin-top: 10px;
}

.contact p {
    margin-bottom: 10px;
    color: #777;
}

.buttons {
    display: flex;
    justify-content: flex-start;
    gap: 15px;
    margin-top: 5px;
}

.buttons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: 2px solid #ffffff;
    color: #ffffff;
    text-decoration: none;
    font-size: 1.5em; /* Размер иконок */
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.buttons a:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.buttons a i {
    /* Убираем подчёркивание для иконок */
    text-decoration: none;
}

/* Стили для номера телефона */
.phone-number {
    color: #333; /* Темный цвет текста */
    text-decoration: none; /* Убираем подчеркивание */
    text-align: left;
    margin-top: 15px; /* Отступ сверху */
    display: inline-block; /* Чтобы отступ сверху работал */
    font-size: 1.1em; /* Размер текста */
    font-weight: 500;
}

.phone-number:hover {
    text-decoration: underline; /* Подчеркивание при наведении */
}

/* Стили для блока услуг */
.services-section {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
    padding: 15px 0;
    margin-top: 15px;
}

.service-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 100px;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    color: #ffffff;
    font-size: 1.3em;
}

.service-content h3 {
    font-size: 1.1em;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.service-content p {
    font-size: 0.9em;
    color: #666;
    margin: 0;
    line-height: 1.4;
    text-align: left;
}


/* Планшетная версия */
@media (max-width: 1024px) {
    .services-section {
        grid-template-columns: 1fr 1fr;
    }
}

/* Мобильная версия */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        padding: 20px;
        min-height: auto;
    }
    
    .photo {
        width: 100%;
        max-width: 300px;
        margin: 0 auto 30px auto;
        padding-top: 0;
    }
    
    .photo img {
        width: 250px;
        height: 250px;
        object-fit: cover;
        border-radius: 50%;
    }
    
    .content {
        width: 100%;
        padding: 0;
        text-align: center;
    }
    
    .name-title h1 {
        font-size: 2.5em;
        text-align: center;
    }
    
    .name-title h2 {
        text-align: center;
    }
    
    .subtitle {
        text-align: center;
    }
    
    .contact {
        text-align: center;
    }
    
    .buttons {
        justify-content: center;
    }
    
    .phone-number {
        text-align: center;
    }
    
    .services-section {
        grid-template-columns: 1fr;
        padding: 20px 0;
        gap: 15px;
    }
    
    .service-item {
        min-height: 100px;
    }
}