/* RESET И БАЗОВЫЕ СТИЛИ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    color: #1f2937;
    line-height: 1.5;
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #111827;
}

/* КНОПКИ */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    margin-right: 12px;
    margin-top: 16px;
}
.btn-primary {
    background-color: #2563eb;
    color: white;
    border: 1px solid #2563eb;
}
.btn-primary:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
}
.btn-secondary {
    background-color: transparent;
    color: #2563eb;
    border: 1px solid #2563eb;
}
.btn-secondary:hover {
    background-color: #eff6ff;
}

/* HEADER */
.header {
    background: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    padding-bottom: 16px;
}
.logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2563eb;
}
.nav a {
    margin-left: 24px;
    text-decoration: none;
    color: #4b5563;
    font-weight: 500;
}
.nav a:hover {
    color: #2563eb;
}
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: #1f2937;
}

/* HERO */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #f9fafb 0%, #eef2ff 100%);
}
.hero__container {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}
.hero__content {
    flex: 1;
}
.hero__title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #0f172a;
}
.hero__subtitle {
    font-size: 1.5rem;
    color: #2563eb;
    margin-bottom: 1rem;
}
.hero__desc {
    font-size: 1.1rem;
    color: #4b5563;
    max-width: 500px;
}
.hero__image {
    flex: 1;
    text-align: center;
}
.hero__placeholder {
    width: 260px;
    height: 260px;
    background: #cbd5e1;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #334155;
}
.hero__photo {
    width: 260px;
    height: 260px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* ABOUT */
.about {
    padding: 80px 0;
}
.about__grid {
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
}
.about__text {
    flex: 1;
}
.achievements-list {
    list-style: none;
    margin-bottom: 1.5rem;
}
.achievements-list li {
    margin-bottom: 12px;
    font-size: 1rem;
}
.achievements-list i {
    color: #2563eb;
    width: 28px;
}
.about__image {
    flex: 1;
    text-align: center;
}
.about__image img {
    max-width: 100%;
    border-radius: 24px;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1);
}

/* SERVICES */
.services {
    background-color: #f8fafc;
    padding: 80px 0;
}
.services__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
.service-card {
    background: white;
    padding: 2rem;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    transition: 0.2s;
}
.service-icon {
    font-size: 3rem;
    color: #2563eb;
    margin-bottom: 1rem;
}
.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.service-card p {
    color: #4b5563;
}

/* PORTFOLIO */
.portfolio {
    padding: 80px 0;
}
.portfolio__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.portfolio__item {
    overflow: hidden;
    border-radius: 16px;
    cursor: pointer;
    aspect-ratio: 4 / 3;
}
.portfolio__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s;
}
.portfolio__item img:hover {
    transform: scale(1.03);
}

/* REVIEWS */
.reviews {
    background-color: #f9fafb;
    padding: 80px 0;
}
.reviews__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.review-card {
    background: white;
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.review__stars {
    color: #fbbf24;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}
.review__text {
    font-style: italic;
    margin-bottom: 1rem;
}
.review__author {
    font-weight: 600;
    color: #2563eb;
}

/* CONTACTS */
.contacts {
    padding: 80px 0;
}
.contacts__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}
.contacts__info p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}
.contacts__info a {
    text-decoration: none;
    color: #1f2937;
}
.contacts__info a:hover {
    color: #2563eb;
}
.social-links a {
    font-size: 1.6rem;
    margin-right: 16px;
    color: #4b5563;
}
.social-links a:hover {
    color: #2563eb;
}
.contacts__form form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.contacts__form input, .contacts__form textarea {
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    font-family: inherit;
}
.contacts__form button {
    width: fit-content;
    border: none;
    cursor: pointer;
}

/* FOOTER */
.footer {
    background-color: #111827;
    color: #9ca3af;
    text-align: center;
    padding: 24px 0;
}

/* АДАПТИВНОСТЬ (МОБИЛЬНЫЕ) */
@media (max-width: 768px) {
    .nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        padding: 20px;
        box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    }
    .nav.active {
        display: flex;
    }
    .nav a {
        margin: 10px 0;
    }
    .mobile-menu-btn {
        display: block;
    }
    .hero__title {
        font-size: 2rem;
    }
    .services__grid, .portfolio__grid, .reviews__grid, .contacts__grid {
        grid-template-columns: 1fr;
    }
    .about__grid {
        flex-direction: column;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .hero__container {
        flex-direction: column;
        text-align: center;
    }
    .btn {
        margin: 8px 4px;
    }
}
