/* Сброс базовых стилей */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Переменные цветов (белый, синий, серый) */
:root {
    --primary-blue: #0056b3;
    --light-blue: #e6f0fa;
    --light-gray: #f4f6f8;
    --dark-gray: #666;
    --text-color: #333;
    --white: #fff;
}

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

/* Вспомогательные классы */
.bg-gray { background-color: var(--light-gray); }
.bg-blue { background-color: var(--primary-blue); color: var(--white); }

h1, h2, h3, h4 {
    margin-bottom: 15px;
    font-weight: 700;
}

a {
    color: var(--primary-blue);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Шапка */
.header {
    background-color: var(--white);
    border-bottom: 1px solid #eaeaea;
    padding: 20px 0;
}

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

.logo {
    font-size: 26px;
    font-weight: bold;
    color: var(--primary-blue);
    font-family: 'Comic Sans MS', 'Comic Sans', cursive;
}

.header-contacts {
    display: flex;
    gap: 20px;
}

.header-contacts a {
    color: var(--text-color);
    font-weight: 500;
}

/* Секция Услуги */
.services {
    padding: 60px 0;
    text-align: center;
}

.services h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.subtitle {
    color: var(--dark-gray);
    font-size: 18px;
    margin-bottom: 40px;
}

.service-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.card {
    background: var(--white);
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 30px;
    width: 100%;
    max-width: 350px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    text-align: left;
}

.card ul {
    list-style-type: none;
}

.card ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: bold;
}

.price-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--light-blue);
    border-color: var(--primary-blue);
}

.price {
    font-size: 42px;
    font-weight: bold;
    color: var(--primary-blue);
    margin: 20px 0;
}

.price-desc {
    color: var(--dark-gray);
}

/* Секция До/После */
.before-after {
    padding: 60px 0;
    text-align: center;
}

.comparison-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.image-box {
    width: 300px;
}

.placeholder-img {
    width: 100%;
    height: 400px;
    background-color: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #888;
    margin-bottom: 15px;
    border: 2px dashed #bbb;
}

.placeholder-img.white-bg {
    background-color: #fff;
    border: 1px solid #ddd;
}

/* Преимущества */
.benefits {
    padding: 60px 20px;
    text-align: center;
}

.benefits-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.benefit-item {
    max-width: 250px;
}

.icon {
    font-size: 40px;
    margin-bottom: 15px;
}

/* CTA */
.cta {
    padding: 60px 0;
    text-align: center;
}

.cta p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--white);
    color: var(--primary-blue);
}

.btn-primary:hover {
    background-color: var(--light-gray);
    text-decoration: none;
    transform: translateY(-2px);
}

/* Инфо об оплате */
.payment-info {
    padding: 60px 20px;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
}

/* Реквизиты */
.requisites {
    padding: 50px 0;
}

.requisites-text p {
    margin-bottom: 10px;
}

/* Футер */
.footer {
    background-color: #222;
    color: #ccc;
    padding: 40px 0;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-links a {
    color: #ccc;
    margin: 0 10px;
}

.footer-links a:hover {
    color: var(--white);
}

.payment-logos {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    background: #fff;
    padding: 10px 20px;
    border-radius: 8px;
}

.logo-wrapper {
    width: 80px;
    height: 45px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.svg-logo {
    width: 100%;
    height: 100%;
}
