:root {
    --primary-blue: #4DA6FF;
    --light-blue: #E6F4FF;
    --medium-blue: #B3E0FF;
    --dark-blue: #0077CC;
    --accent-blue: #3399FF;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #FFFFFF;
    --gray-light: #F8F9FA;
    --gray-border: #E0E0E0;
    --shadow: 0 4px 12px rgba(0, 119, 204, 0.08);
    --shadow-hover: 0 6px 16px rgba(0, 119, 204, 0.12);
    --radius: 12px;
    --radius-sm: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--light-blue);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'SF Pro Display', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--dark-blue);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header styles */
.header {
    background: linear-gradient(135deg, var(--white) 0%, var(--light-blue) 100%);
    padding: 20px 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    color: var(--primary-blue);
    font-size: 32px;
}

.logo-text h1 {
    font-size: 24px;
    margin-bottom: 4px;
}

.logo-text p {
    color: var(--text-light);
    font-size: 14px;
}

.site-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 4px;
    font-family: 'SF Pro Display', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.phone {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark-blue);
    text-decoration: none;
    margin-bottom: 5px;
}

.phone:hover {
    color: var(--primary-blue);
}

.work-hours {
    font-size: 14px;
    color: var(--text-light);
}

/* Banner section */
.banner {
    background: linear-gradient(rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.76), rgba(65, 126, 183, 0.9)),
                url('/img/bg01.jpg');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    text-align: center;
}

.banner-content {
    max-width: 1130px;
    margin: 0 auto;
}

.banner h1 {
    font-size: 42px;
    margin-bottom: 20px;
    color: var(--dark-blue);
}

.banner p {
    font-size: 20px;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.discount-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    color: var(--white);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
}

.feature-item {
    background-color: var(--white);
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    color: var(--primary-blue);
    font-size: 40px;
    margin-bottom: 20px;
}

.feature-item h4 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--dark-blue);
}

.feature-item p {
    color: var(--text-light);
}

/* Button styles */
.btn {
    display: inline-block;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-blue));
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.btn:hover {
    background: linear-gradient(135deg, var(--accent-blue), var(--dark-blue));
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: var(--white);
}

/* Section styles */
.section {
    padding: 80px 0;
}

.section-light {
    background-color: var(--white);
}

/* Фоновые секции */
.section-bg-1 {
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.76), rgba(91, 176, 255, 0.8)), 
                url('/img/bg02.jpg');
    background-size: cover;
    background-position: center;
}

.section-bg-2 {
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.76), rgba(91, 176, 255, 0.8)), 
                url('/img/bg03.jpg');
    background-size: cover;
    background-position: center;
}

.section-bg-3 {
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.76), rgba(91, 176, 255, 0.8)),  
                url('/img/bg04.jpg');
    background-size: cover;
    background-position: center;
}

.section-bg-4 {
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.76), rgba(91, 176, 255, 0.8)),  
                url('/img/bg05.jpg');
    background-size: cover;
    background-position: center;
}

.section-bg-5 {
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.76), rgba(91, 176, 255, 0.8)),  
                url('/img/bg06.jpg');
    background-size: cover;
    background-position: center;
}

.section-bg-6 {
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.76), rgba(91, 176, 255, 0.8)),  
                url('/img/bg06.jpg');
    background-size: cover;
    background-position: center;
}

/* Запасной фон для секций без изображений */
.section-bg-1, .section-bg-2, .section-bg-3, .section-bg-4 {
    background-color: var(--light-blue);
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-blue), var(--accent-blue));
    margin: 15px auto 0;
    border-radius: 2px;
}

/* White info block */
.white-info-block {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    margin-top: 30px;
    margin-bottom: 30px;
}

.white-info-block p {
    color: var(--text-dark) !important;
    margin-bottom: 15px;
    line-height: 1.7;
}

.white-info-block p:last-child {
    margin-bottom: 0;
}

.white-info-block h3 {
    color: var(--dark-blue);
    margin-bottom: 20px;
    font-size: 24px;
}

.white-info-block h4 {
    color: var(--dark-blue);
    margin-bottom: 15px;
    font-size: 20px;
}

/* Why prevention section - текст теперь в белых блоках */
.why-prevention {
    max-width: 1200px;
    margin: 0 auto;
}

.why-prevention h3 {
    font-size: 28px;
    margin-bottom: 25px;
    color: var(--dark-blue);
}

/* Убираем прямые стили для p, так как текст будет в белых блоках */

/* Benefits section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.benefit-card {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
    border-top: 4px solid var(--primary-blue);
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.benefit-icon {
    color: var(--primary-blue);
    font-size: 48px;
    margin-bottom: 20px;
}

.benefit-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.benefit-card p {
    color: var(--text-light);
}

/* Price section */
.price-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.price-item {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.price-item:hover {
    box-shadow: var(--shadow-hover);
}

.price-info h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.price-info p {
    color: var(--text-light);
    font-size: 14px;
}

.price-amount {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 10px;
}

/* Frequency section */
.frequency-info {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.frequency-card {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

.frequency-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.frequency-icon {
    color: var(--primary-blue);
    font-size: 40px;
    margin-bottom: 20px;
}

.frequency-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--dark-blue);
}

.frequency-card p {
    color: var(--text-light);
    margin-bottom: 15px;
}

/* Steps section - ИЗМЕНЕНО: по 2 в ряд */
.steps-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.step-item {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: transform 0.3s ease;
    margin-bottom: 0;
    height: 100%;
}

.step-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.step-number {
    background-color: var(--primary-blue);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--dark-blue);
}

.step-content p {
    color: var(--text-light);
}

/* Guarantee section */
.guarantee-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.guarantee-card {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    transition: transform 0.3s ease;
}

.guarantee-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.guarantee-icon {
    color: var(--primary-blue);
    font-size: 48px;
    margin-bottom: 20px;
}

/* Form section with image */
.form-with-image {
    display: flex;
    align-items: center;
    gap: 20px;
}

.form-image {
    flex: 1;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 679.56px;
}

.form-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.form-container {
    flex: 1;
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-blue);
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-sm);
    font-size: 16px;
    transition: border 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(77, 166, 255, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

/* New steps info section - НОВАЯ СЕКЦИЯ */
.steps-info {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    margin-top: 30px;
    grid-column: span 2;
}

.steps-info p {
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.7;
}

.steps-info p:last-child {
    margin-bottom: 0;
}

/* Additional info section - НОВАЯ СЕКЦИЯ */
.additional-info {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
    margin-top: 40px;
}

.additional-info h3 {
    color: var(--dark-blue);
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
}

.additional-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.additional-info-item {
    text-align: center;
}

.additional-info-item i {
    color: var(--primary-blue);
    font-size: 36px;
    margin-bottom: 15px;
}

.additional-info-item h4 {
    color: var(--dark-blue);
    font-size: 18px;
    margin-bottom: 10px;
}

.additional-info-item p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.5;
}

/* SEO text section */
.seo-text {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
    margin-bottom: 40px;
}

.seo-text h2 {
    margin-bottom: 20px;
    color: var(--dark-blue);
}

.seo-text p {
    margin-bottom: 15px;
    color: var(--text-light);
}

/* Contacts section with map */
.contacts-section {
    padding: 80px 0;
}

.contacts-container {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.contacts-info {
    flex: 1;
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
}

.contacts-info h3 {
    margin-bottom: 25px;
    color: var(--dark-blue);
    font-size: 24px;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-icon {
    color: var(--primary-blue);
    font-size: 20px;
    margin-right: 15px;
    margin-top: 3px;
}

.contact-text h4 {
    margin-bottom: 5px;
    font-size: 18px;
}

.contact-text p {
    color: var(--text-light);
}

.map-container {
    flex: 2;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--dark-blue), #005299);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: var(--white);
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
}

.footer-column h3:after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background-color: var(--primary-blue);
    margin-top: 10px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.25);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-blue);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

/* Responsive styles */
@media (max-width: 992px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .contact-info {
        align-items: center;
    }
    
    .form-with-image {
        flex-direction: column;
    }
    
    .form-image {
        width: 100%;
        height: 400px;
    }
    
    .contacts-container {
        flex-direction: column;
    }
    
    .frequency-info {
        grid-template-columns: 1fr;
    }
    
    /* Адаптив для шагов (2 колонки -> 1) */
    .steps-container {
        grid-template-columns: 1fr;
    }
    
    .steps-info {
        grid-column: span 1;
    }
    
    .additional-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .banner h1 {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .features {
        flex-direction: column;
        align-items: center;
    }
    
    .feature-item {
        max-width: 100%;
    }
    
    .form-container {
        padding: 25px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .price-list {
        grid-template-columns: 1fr;
    }
    
    .guarantee-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .guarantee-card {
        max-width: 100%;
    }
    
    .additional-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .features {
        flex-direction: column;
    }
    
    .feature-item {
        max-width: 100%;
    }
}

/* Animation for elements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* Отключаем sticky header на мобильных устройствах */
@media (max-width: 992px) {
    .header {
        position: static;
    }
}