/* Основные стили */
:root {
    --primary-color: #84A4D5;
    --secondary-color: #333;
    --text-color: #333;
    --light-bg: #f5f5f5;
    --white: #fff;
    --black: #000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Хедер */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 700;
    font-size: 24px;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.contact-info {
    display: flex;
    gap: 30px;
}

.address, .phone {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Навигация */
.main-nav {
    border-top: 1px solid #eee;
    padding: 10px 0;
}

.nav-list {
    display: flex;
    list-style: none;
    justify-content: center;
    gap: 30px;
}

.nav-item {
    position: relative;
}

.nav-item a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    padding: 10px 0;
    transition: color 0.3s;
}

.nav-item a:hover,
.nav-item.active a {
    color: var(--primary-color);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    min-width: 200px;
    display: none;
    list-style: none;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

/* Герой секция */
.hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 150px 0 100px;
    margin-top: 80px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.subtitle {
    font-size: 24px;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Кнопки */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: #6a8bc5;
    transform: translateY(-2px);
}

/* Сетки */
.services-grid, .advantages-grid {
    display: grid;
    gap: 30px;
    margin-top: 50px;
}

.services-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.advantages-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Карточки */
.service-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-card h3 {
    padding: 20px;
    margin: 0;
}

.advantage-card {
    text-align: center;
    padding: 30px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.advantage-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Футер */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: background 0.3s;
}

.social-link:hover {
    background: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Формы */
.contact-form-section {
    background: var(--light-bg);
    padding: 80px 0;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}

.form-agreement {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.form-agreement label {
    font-size: 14px;
}

.form-agreement a {
    color: var(--primary-color);
    text-decoration: none;
}

/* Адаптивность */
@media (max-width: 768px) {
    .header-top {
        flex-wrap: wrap;
    }
    
    .contact-info {
        order: 3;
        width: 100%;
        justify-content: space-between;
        margin-top: 15px;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}