/* === БАЗОВЫЕ НАСТРОЙКИ === */
:root {
    --primary: #5552E8; /* Ваш фиолетовый цвет */
    --primary-hover: #3936cc;
    --text: #2d3748;
    --bg-light: #f7fafc;
    --white: #ffffff;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font); color: var(--text); line-height: 1.6; scroll-behavior: smooth; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section__title { font-size: 2.5rem; font-weight: 800; text-align: center; margin-bottom: 40px; line-height: 1.2; }
.section__title--small { font-size: 2rem; margin-bottom: 10px; }
.section__title--white { color: white; }
.section__title--left { text-align: left; }
.section__subtitle { text-align: center; margin-bottom: 30px; color: #718096; }

/* КНОПКИ */
.btn { display: inline-block; padding: 12px 24px; border-radius: 8px; font-weight: 600; cursor: pointer; border: none; text-align: center; }
.btn--primary { background: var(--primary); color: white; }
.btn--primary:hover { background: var(--primary-hover); }
.btn--outline { border: 2px solid var(--primary); color: var(--primary); background: transparent; }
.btn--full { width: 100%; }
.btn--large { padding: 16px 32px; font-size: 1.1rem; }
.btn--small { padding: 8px 16px; font-size: 0.9rem; }

/* ШАПКА */
.header { background: white; box-shadow: 0 2px 10px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 100; }
.header__inner { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.logo__title { font-size: 1.5rem; font-weight: 800; color: #1a365d; display: block; line-height: 1.1; }
.logo__subtitle { font-size: 0.8rem; color: #718096; display: block; }
.nav { display: flex; gap: 30px; }
.nav__link { font-weight: 500; }
.nav__link:hover { color: var(--primary); }
.header__contacts { display: flex; align-items: center; gap: 20px; }
.phone { font-weight: 700; color: #1a365d; }
.burger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.burger span { width: 25px; height: 3px; background: #333; }

/* МОБИЛЬНОЕ МЕНЮ */
.mobile-menu { position: fixed; top: 80px; left: 0; right: 0; background: white; padding: 20px; box-shadow: 0 5px 10px rgba(0,0,0,0.1); transform: translateY(-150%); transition: 0.3s; z-index: 99; text-align: center; }
.mobile-menu.active { transform: translateY(0); }
.mobile-menu__link { display: block; padding: 15px; font-size: 1.2rem; font-weight: 600; border-bottom: 1px solid #eee; }

/* HERO */
.hero { position: relative; background: url('images/13/be6040e53a9c5ec0dea927a442f5b6e2.jpeg') center/cover no-repeat; color: white; padding: 150px 0; text-align: center; }
.hero__overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.6); z-index: 1; }
.hero__content { position: relative; z-index: 2; max-width: 800px; }
.hero__title { font-size: 3rem; margin-bottom: 20px; font-weight: 800; }
.hero__text { font-size: 1.2rem; margin-bottom: 40px; opacity: 0.9; }

/* СПИСОК С ГАЛОЧКАМИ */
.check-list { max-width: 800px; margin: 0 auto 50px; display: flex; flex-direction: column; gap: 15px; }
.check-list li { display: flex; align-items: center; gap: 15px; background: white; padding: 15px 25px; border-radius: 12px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); font-size: 1.1rem; }
.check-list img { width: 32px; height: 32px; flex-shrink: 0; }
.check-list--simple li { background: transparent; box-shadow: none; padding: 0; }

/* КАРТОЧКИ С КАРТИНКАМИ (Текст снизу) */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.card-image-text { background: white; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 20px rgba(0,0,0,0.08); display: flex; flex-direction: column; }
.card-image-text__img { width: 100%; height: 250px; object-fit: cover; }
.card-image-text__body { padding: 20px; text-align: center; flex-grow: 1; display: flex; align-items: center; justify-content: center; }
.card-image-text__title { font-weight: 600; color: #1a365d; font-size: 1.1rem; }

/* ФОРМЫ */
.form-section { background: var(--bg-light); }
.form-wrapper { max-width: 600px; margin: 0 auto; background: white; padding: 40px; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.form-wrapper--white { background: white; }
.input { width: 100%; padding: 15px; border: 1px solid #ddd; border-radius: 8px; margin-bottom: 15px; font-size: 1rem; }
.input:focus { border-color: var(--primary); outline: none; }
.radio-group { margin-bottom: 20px; }
.radio-group__title { font-weight: 600; margin-bottom: 10px; }
.radio-label { display: block; margin-bottom: 8px; cursor: pointer; }
.consent-box { margin-top: 20px; font-size: 0.85rem; color: #718096; display: flex; flex-direction: column; gap: 10px; }
.consent-label { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.consent-label a { color: var(--primary); text-decoration: underline; }

/* УДОБНЫЕ УСЛОВИЯ */
.conditions { background: url('images/13/228a244b8f7ce9d1a84621e35097eea9.jpeg') center/cover no-repeat; color: white; position: relative; }
.conditions::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.7); }
.conditions__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.conditions__desc { font-size: 1.2rem; line-height: 1.8; white-space: pre-line; }

/* О КОМПАНИИ */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.caption { color: var(--primary); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.about__images { position: relative; height: 400px; }
.about__img-lg { position: absolute; bottom: 0; left: 0; width: 70%; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.about__img-sm { position: absolute; top: 0; right: 0; width: 50%; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); border: 5px solid white; }

/* ПРОЦЕСС */
.process { background: url('images/13/2f79f6e94d862c36084dda50afc9688b.webp') center/cover no-repeat; position: relative; }
.process::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.6); }
.process .container { position: relative; z-index: 2; text-align: center; color: white; }
.process__steps p { font-size: 1.2rem; margin-bottom: 10px; font-weight: 500; }

/* КОНТАКТЫ */
.contacts__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-item { margin-bottom: 20px; }
.contact-item span { display: block; font-weight: 700; color: #718096; font-size: 0.9rem; margin-bottom: 5px; }
.contact-item a, .contact-item p { font-size: 1.2rem; font-weight: 600; color: #1a365d; }
.socials { display: flex; gap: 15px; margin-top: 30px; }
.social-btn { width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-weight: bold; transition: 0.3s; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.social-btn.vk { background: #0077FF; }
.social-btn.max { background: white; color: #9f7aea; } /* Белая кнопка для МАКС */
.social-btn:hover { transform: scale(1.1); }
.map { height: 400px; background: #eee; border-radius: 12px; overflow: hidden; }

/* ДИСКЛЕЙМЕР */
.disclaimer { background: var(--bg-light); padding: 30px 0; border-top: 1px solid #e2e8f0; }
.disclaimer__inner { display: flex; gap: 20px; align-items: flex-start; max-width: 1000px; margin: 0 auto; }
.disclaimer__icon { width: 30px; height: 30px; background: #718096; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; flex-shrink: 0; }

/* ФУТЕР */
.footer { background: #1a202c; color: #a0aec0; padding: 50px 0; text-align: center; }
.footer__socials { display: flex; justify-content: center; gap: 15px; margin-bottom: 30px; }
.footer__links { margin-bottom: 20px; display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.footer__links a { text-decoration: underline; font-size: 0.9rem; }
.footer__nav { display: flex; justify-content: center; gap: 30px; margin-bottom: 20px; }
.footer__nav a { color: white; font-weight: 500; }

/* ПЛАВАЮЩИЕ КНОПКИ */
.floating-buttons { position: fixed; bottom: 30px; right: 30px; display: flex; flex-direction: column; gap: 15px; z-index: 999; }
.float-btn { width: 60px; height: 60px; border-radius: 50%; background: white; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 15px rgba(0,0,0,0.2); font-size: 24px; transition: 0.3s; }
.float-btn.phone { background: var(--primary); color: white; }
.float-btn.max { background: white; color: #9f7aea; border: 2px solid #eee; }
.float-btn:hover { transform: scale(1.1); }

/* АДАПТИВНОСТЬ */
@media (max-width: 992px) {
    .nav, .header__contacts { display: none; }
    .burger { display: flex; }
    .conditions__grid, .about__grid, .contacts__grid { grid-template-columns: 1fr; }
    .hero__title { font-size: 2rem; }
    .about__images { height: 300px; margin-top: 30px; }
}

/* Стили для иконок внутри кнопок соцсетей */
.social-btn svg {
    width: 24px;
    height: 24px;
    fill: white; /* Цвет иконки ВК */
}

.social-btn.max img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* Цвет фона для ВК */
.social-btn.vk {
    background: #0077FF;
}

/* Цвет фона для МАКС (белый, как вы просили) */
.social-btn.max {
    background: white;
    border: 1px solid #eee; /* Легкая рамка, чтобы было видно на белом фоне */
}

/* Стили для Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    padding: 15px 20px;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 1px solid #eee;
}
.cookie-banner__content {
    max-width: 1200px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    font-size: 14px;
}
.cookie-banner__buttons {
    flex-shrink: 0;
}
@media (max-width: 768px) {
    .cookie-banner__content {
        flex-direction: column;
        text-align: center;
    }
}