﻿/* ===== ОБЩИЕ СТИЛИ ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: #333;
    background-color: #fdfdfd;
}

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

.section-title {
    font-size: 2.2rem;
    font-weight: 300;
    text-align: center;
    margin-bottom: 2.5rem;
    color: #2c3e50;
    letter-spacing: -0.5px;
}

/* ===== ШАПКА ===== */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    letter-spacing: -0.5px;
}

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

.nav a {
    text-decoration: none;
    color: #555;
    font-size: 1rem;
    transition: color 0.3s;
}

.nav a:hover {
    color: #4a90d9;
}

/* Мобильное меню (кнопка и само меню) */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #333;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    background-color: #fff;
    padding: 15px 20px 20px;
    border-top: 1px solid #eee;
}

.mobile-menu-link {
    padding: 12px 0;
    text-decoration: none;
    color: #333;
    font-size: 1.1rem;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-menu-link:last-child {
    border-bottom: none;
}

/* ===== БЛОК 1: ХИРО ===== */
.hero {
    padding: 60px 0 70px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-text {
    flex: 1.2;
}

.hero-title {
    font-size: 3rem;
    font-weight: 300;
    color: #2c3e50;
    margin-bottom: 0.3rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    color: #4a90d9;
    margin-bottom: 1rem;
}

.hero-slogan {
    font-size: 1.3rem;
    color: #555;
    margin-bottom: 2rem;
    font-style: italic;
}

.btn-primary {
    display: inline-block;
    background-color: #4a90d9;
    color: #fff;
    padding: 16px 36px;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 50px;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 4px 12px rgba(74, 144, 217, 0.3);
}

.btn-primary:hover {
    background-color: #357abd;
    transform: translateY(-2px);
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    /* если фото квадратное, оно будет красиво вписываться */
    max-height: 450px;
    object-fit: cover;
}

/* ===== БЛОК 2: ОБО МНЕ ===== */
.about {
    padding: 70px 0;
    background-color: #fff;
}

.about-content {
    max-width: 850px;
    margin: 0 auto;
}

.about-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.about-content strong {
    color: #2c3e50;
}

/* ===== БЛОК 3: МОЙ ПОДХОД ===== */
.approach {
    padding: 70px 0;
    background-color: #f8f9fa;
}

.approach-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #4a90d9;
    margin-top: -1.5rem;
    margin-bottom: 2.5rem;
}

.approach-content {
    max-width: 850px;
    margin: 0 auto;
}

.approach-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.approach-content h3 {
    font-size: 1.6rem;
    font-weight: 400;
    color: #2c3e50;
    margin: 2rem 0 1rem;
}

.approach-content ul {
    margin-left: 25px;
    margin-bottom: 1.8rem;
}

.approach-content ul li {
    margin-bottom: 0.7rem;
    font-size: 1.05rem;
}

/* ===== БЛОК 4: УСЛУГИ ===== */
.services {
    padding: 70px 0;
    background-color: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
}

.service-card {
    background-color: #f8f9fa;
    padding: 30px 25px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    transition: transform 0.2s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.service-card p {
    margin-bottom: 0.8rem;
}

.service-card ul {
    margin-left: 20px;
    margin-bottom: 1.2rem;
}

.service-card ul li {
    margin-bottom: 0.4rem;
}

.disclaimer {
    margin-top: 1.5rem;
    padding: 15px 18px;
    background-color: #f0f4f8;
    border-left: 4px solid #4a90d9;
    border-radius: 6px;
    font-size: 0.95rem;
    color: #444;
}

/* ===== БЛОК 5: КОНТАКТЫ ===== */
.contacts {
    padding: 70px 0 60px;
    background-color: #f8f9fa;
}

.contacts-subtitle {
    text-align: center;
    font-size: 1.15rem;
    color: #555;
    margin-bottom: 2.5rem;
}

.contacts-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 2rem;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    background-color: #fff;
    border-radius: 50px;
    text-decoration: none;
    color: #333;
    font-size: 1.1rem;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: background-color 0.3s, transform 0.2s, box-shadow 0.3s;
}

.contact-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.contact-icon {
    font-size: 1.5rem;
}

.telegram:hover {
    background-color: #e8f0fe;
}
.whatsapp:hover {
    background-color: #e0f5e5;
}
.max:hover {
    background-color: #f0eef9;
}
.email:hover {
    background-color: #fce8e6;
}

.contacts-note {
    text-align: center;
    font-size: 0.95rem;
    color: #777;
    max-width: 600px;
    margin: 1.5rem auto 0;
}

/* ===== ПОДВАЛ ===== */
.footer {
    background-color: #2c3e50;
    color: #ccc;
    padding: 30px 0;
    text-align: center;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer a {
    color: #aab;
    text-decoration: none;
}

.footer a:hover {
    color: #fff;
}

/* ===== АДАПТИВНОСТЬ (для мобильных) ===== */
@media (max-width: 768px) {
    .nav {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .mobile-menu.open {
        display: flex;
    }

    .hero-container {
        flex-direction: column-reverse;
        text-align: center;
    }
    .hero-title {
        font-size: 2.3rem;
    }
    .hero-subtitle {
        font-size: 1.3rem;
    }
    .hero-slogan {
        font-size: 1.1rem;
    }
    .btn-primary {
        padding: 14px 28px;
        font-size: 1rem;
    }
    .hero-image img {
        max-height: 300px;
    }

    .section-title {
        font-size: 1.8rem;
    }
    .approach-content h3 {
        font-size: 1.4rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .contacts-grid {
        flex-direction: column;
        align-items: stretch;
    }
    .contact-link {
        justify-content: center;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.9rem;
    }
    .hero-subtitle {
        font-size: 1.1rem;
    }
    .btn-primary {
        padding: 12px 20px;
        font-size: 0.95rem;
    }
    .container {
        padding: 0 15px;
    }
}
