/* Общие стили */
:root {
    --primary-color: #0066cc; /* Синий - доверие */
    --accent-color: #ff9900; /* Оранжевый - действие */
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f4f7f6;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

a { text-decoration: none; }
ul { list-style: none; }

/* Кнопки */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    text-align: center;
    border: none;
    font-size: 16px;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 153, 0, 0.4);
}

.btn-primary:hover {
    background-color: #e68a00;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--text-dark);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 16px;
    font-size: 14px;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-full {
    width: 100%;
    font-size: 18px;
}

/* Шапка */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-weight: 700;
    font-size: 20px;
    color: var(--primary-color);
}

.city {
    font-size: 12px;
    color: var(--text-light);
}

.header-contacts {
    display: flex;
    align-items: center;
    gap: 15px;
}

.phone-link {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 18px;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 102, 204, 0.9), rgba(0, 102, 204, 0.8)), url('https://images.unsplash.com/photo-1597872200969-2b65d56bd16b?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 36px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-features li {
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Преимущества */
.benefits {
    padding: 60px 0;
    background-color: var(--bg-light);
    text-align: center;
}

.benefits h2, .services h2 {
    margin-bottom: 40px;
    font-size: 28px;
    color: var(--text-dark);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.icon {
    font-size: 40px;
    margin-bottom: 15px;
}

/* Услуги */
.services {
    padding: 60px 0;
}

.price-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    border-bottom: 1px solid #eee;
    align-items: center;
}

.service-name {
    font-weight: 500;
}

.service-price {
    font-weight: 700;
    color: var(--primary-color);
    white-space: nowrap;
    margin-left: 20px;
}

.price-note {
    margin-top: 20px;
    font-size: 14px;
    color: var(--text-light);
    font-style: italic;
}

/* Форма */
.contact-section {
    background-color: var(--primary-color);
    padding: 60px 0;
    color: var(--white);
    text-align: center;
}

.form-wrapper {
    max-width: 500px;
    margin: 0 auto;
}

.form-wrapper h2 {
    color: var(--white);
    margin-bottom: 10px;
}

.form-wrapper p {
    margin-bottom: 30px;
    opacity: 0.9;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input {
    padding: 15px;
    border-radius: 5px;
    border: none;
    font-size: 16px;
}

.privacy-text {
    font-size: 12px;
    margin-top: 15px;
    opacity: 0.7;
}

/* Футер */
.footer {
    background-color: #222;
    color: #aaa;
    padding: 30px 0;
    text-align: center;
    font-size: 14px;
}

.footer a {
    color: var(--white);
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .header-contacts .btn-outline {
        display: none; /* Скрываем кнопку на совсем маленьких экранах, оставляем телефон */
    }
    
    .hero h1 {
        font-size: 26px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .phone-link {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
}