@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Inter:wght@400;500;600&family=Montserrat:wght@400;500;600&display=swap');

body {
    font-family: 'Manrope', 'Inter', 'Montserrat', Arial, sans-serif;
    font-weight: 400;
    letter-spacing: 0.01em;
    color: #1a2233;
    background: #f6f8fa;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Manrope', 'Montserrat', 'Inter', Arial, sans-serif;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #181f3a;
    margin-bottom: 0.7em;
}

/* --- Навигация --- */
.nav-tech {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #181f3a;
    padding: 0 40px;
    height: 68px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(24,31,58,0.04);
}
.nav-logo-tech {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}
.logo-dot {
    color: #3ddc97;
    font-size: 2rem;
    margin-left: 2px;
}
.nav-menu-tech {
    display: flex;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-menu-tech a {
    color: #cfd8dc;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.2s;
    padding: 6px 0;
}
.nav-menu-tech a:hover {
    color: #3ddc97;
}
.nav-contact-btn {
    background: #3ddc97;
    color: #181f3a;
    border: none;
    border-radius: 6px;
    padding: 10px 22px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    box-shadow: 0 2px 8px rgba(61,220,151,0.08);
}
.nav-contact-btn:hover {
    background: #23b37a;
    color: #fff;
}

/* --- Hero --- */
.hero-tech {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(120deg, #181f3a 60%, #3ddc97 100%);
    color: #fff;
    padding: 64px 40px 32px 40px;
    min-height: 420px;
    position: relative;
    overflow: hidden;
}
.hero-content-tech {
    flex: 1 1 350px;
    z-index: 2;
}
.hero-content-tech h1 {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    margin-bottom: 18px;
}
.hero-sub {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 32px;
    opacity: 0.95;
}
.hero-actions {
    display: flex;
    gap: 18px;
    align-items: center;
}
.hero-btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 1.08rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(61,220,151,0.08);
}
.hero-btn.main {
    background: #3ddc97;
    color: #181f3a;
}
.hero-btn.main:hover {
    background: #23b37a;
    color: #fff;
}
.hero-btn.contact {
    background: #fff;
    color: #181f3a;
    border: 1.5px solid #3ddc97;
    position: relative;
}
.hero-btn.contact:hover {
    background: #e0f7ef;
}
.hero-btn-group {
    position: relative;
}
.dropdown-contact {
    display: none;
    position: absolute;
    top: 110%;
    left: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 24px rgba(24,31,58,0.10);
    min-width: 180px;
    z-index: 10;
    flex-direction: column;
    padding: 8px 0;
}
.dropdown-contact.show {
    display: flex;
}
.dropdown-contact a {
    color: #181f3a;
    text-decoration: none;
    padding: 12px 24px;
    font-weight: 500;
    font-size: 1rem;
    transition: background 0.15s;
}
.dropdown-contact a:hover {
    background: #f6f8fa;
}
.hero-visual {
    flex: 1 1 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 260px;
    z-index: 1;
}
.hero-visual img {
    max-width: 340px;
    width: 100%;
    filter: drop-shadow(0 8px 32px rgba(24,31,58,0.10));
}

/* --- Features --- */
.features-tech {
    padding: 64px 0 0 0;
    background: #fff;
}
.features-tech h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 36px;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}
.feature-card {
    background: #f6f8fa;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(24,31,58,0.04);
    padding: 32px 18px 24px 18px;
    text-align: center;
    font-size: 1.08rem;
    font-weight: 500;
    color: #181f3a;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover {
    box-shadow: 0 8px 32px rgba(61,220,151,0.10);
    transform: translateY(-2px) scale(1.03);
}
.feature-icon {
    font-size: 2.2rem;
    margin-bottom: 6px;
}

/* --- География --- */
.geo-tech {
    background: #f6f8fa;
    padding: 64px 0 0 0;
}
.geo-tech h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 36px;
}
.geo-countries {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    max-width: 900px;
    margin: 0 auto 0 auto;
    font-size: 1.15rem;
}
.geo-countries div {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(24,31,58,0.04);
    padding: 22px 0;
    text-align: center;
    font-weight: 600;
    color: #181f3a;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 180px;
}
.geo-countries span {
    font-size: 1.5rem;
}

/* --- Кому --- */
.clients-tech {
    background: #fff;
    padding: 64px 0 0 0;
}
.clients-tech h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 36px;
}
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}
.client-card {
    background: #f6f8fa;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(24,31,58,0.04);
    padding: 32px 18px 24px 18px;
    text-align: center;
    font-size: 1.08rem;
    font-weight: 500;
    color: #181f3a;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: box-shadow 0.2s, transform 0.2s;
}
.client-card span {
    font-size: 2rem;
    margin-bottom: 6px;
}
.client-card:hover {
    box-shadow: 0 8px 32px rgba(61,220,151,0.10);
    transform: translateY(-2px) scale(1.03);
}

/* --- Индивидуальные базы --- */
.custom-tech {
    background: #f6f8fa;
    padding: 64px 0 0 0;
}
.custom-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0;
    max-width: 1100px;
    margin: 0 auto;
}
.custom-content > div {
    flex: 1 1 340px;
}
.custom-content img {
    max-width: 340px;
    width: 100%;
    filter: drop-shadow(0 8px 32px rgba(24,31,58,0.10));
    display: none;
}
.custom-tech h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 18px;
}
.custom-tech p {
    font-size: 1.15rem;
    color: #1a2233;
    margin-bottom: 24px;
}

/* --- Демо --- */
.demo-tech {
    background: #fff;
    padding: 64px 0 0 0;
    text-align: center;
}
.demo-tech h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 36px;
}
.demo-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
    margin-bottom: 18px;
}
.demo-card-tech {
    background: #f6f8fa;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(24,31,58,0.04);
    padding: 32px 38px;
    min-width: 200px;
    text-align: center;
    font-size: 1.08rem;
    font-weight: 600;
    color: #181f3a;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: box-shadow 0.2s, transform 0.2s, background 0.2s;
    border: 2px solid #3ddc97;
}
.demo-card-tech:hover {
    box-shadow: 0 8px 32px rgba(61,220,151,0.10);
    transform: translateY(-2px) scale(1.04);
    background: #e0f7ef;
}
.demo-icon {
    font-size: 2.2rem;
    margin-bottom: 6px;
}
.demo-file {
    font-size: 0.95rem;
    color: #23b37a;
    font-weight: 500;
}
.demo-note {
    margin-top: 10px;
    color: #181f3a;
    font-size: 1.08rem;
    font-weight: 500;
}
.demo-card-tech .flag-icon {
    width: 36px !important;
    height: 26px !important;
    margin-bottom: 8px;
    margin-right: 0;
    display: block;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 2px 8px rgba(24,31,58,0.10);
}

/* --- Футер --- */
.footer-tech {
    background: #181f3a;
    color: #fff;
    text-align: center;
    padding: 36px 0 18px 0;
    margin-top: 64px;
}
.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.footer-logo {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
}
.footer-links {
    display: flex;
    gap: 16px;
}
.footer-links a {
    color: #3ddc97;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.2s;
}
.footer-links a:hover {
    color: #fff;
}
.footer-copy {
    color: #cfd8dc;
    font-size: 0.98rem;
    margin-top: 8px;
}

/* --- Адаптив --- */
@media (max-width: 1100px) {
    .custom-content, .footer-content {
        flex-direction: column;
        gap: 24px;
        align-items: flex-start;
    }
    .footer-content {
        align-items: center;
    }
}
@media (max-width: 900px) {
    .nav-tech {
        padding: 0 12px;
    }
    .hero-tech {
        flex-direction: column;
        padding: 48px 12px 24px 12px;
        min-height: 320px;
    }
    .hero-visual {
        margin-top: 24px;
    }
    .features-tech, .geo-tech, .clients-tech, .custom-tech, .demo-tech {
        padding: 48px 0 0 0;
    }
}
@media (max-width: 700px) {
    .nav-menu-tech {
        gap: 14px;
    }
    .footer-content {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
    .custom-content {
        flex-direction: column;
        gap: 18px;
        align-items: center;
    }
    .features-grid, .clients-grid, .geo-countries {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .demo-grid {
        flex-direction: column;
        gap: 18px;
    }
    .info-icon { width: 28px; height: 28px; }
    .flag-icon { width: 22px; height: 16px; }
    .demo-title-block { margin-top: 32px; margin-bottom: 18px; }
}
@media (max-width: 500px) {
    .nav-logo-tech {
        font-size: 1.1rem;
    }
    .hero-content-tech h1 {
        font-size: 1.2rem;
    }
    .hero-sub {
        font-size: 1rem;
    }
    .hero-btn, .nav-contact-btn {
        font-size: 0.98rem;
        padding: 10px 14px;
    }
    .feature-card, .client-card, .demo-card-tech {
        padding: 18px 8px;
        font-size: 0.98rem;
    }
    .custom-content img, .hero-visual img {
        max-width: 180px;
    }
}

.nav-messengers, .hero-messengers {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-left: 18px;
}
.hero-messengers {
    margin: 18px 0 0 0;
    justify-content: flex-start;
}
.footer-messenger {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(44,62,80,0.08);
    border: none;
    cursor: pointer;
}
.footer-messenger.whatsapp { background: #25d366; }
.footer-messenger.telegram { background: #229ed9; }
.footer-messenger.viber { background: #7c529e; }
.footer-messenger:hover { filter: brightness(0.95); box-shadow: 0 4px 16px rgba(44,62,80,0.12); }

/* Удаляю стили для выпадающего меню и секции 'Кому' */
.hero-btn.contact, .hero-btn-group, .dropdown-contact, .clients-tech, .clients-grid, .client-card { display: none !important; }

.nav-messengers-icons a img, .footer-links a img {
    display: inline-block;
    vertical-align: middle;
    margin: 0 2px;
    transition: filter 0.2s;
    /* Цветные иконки, без фильтра */
    filter: none;
}
.nav-messengers-icons a:hover img, .footer-links a:hover img {
    filter: drop-shadow(0 0 4px #3ddc97);
}
.demo-messengers, .demo-note-separated { display: none !important; }

.info-icon {
    width: 38px;
    height: 38px;
    margin-bottom: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    filter: drop-shadow(0 2px 8px rgba(61,220,151,0.10));
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(24,31,58,0.08);
    padding: 4px;
}
.flag-icon {
    width: 32px;
    height: 22px;
    margin-right: 10px;
    vertical-align: middle;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(24,31,58,0.08);
}
.demo-title-block {
    text-align: center;
    margin-bottom: 36px;
    margin-top: 48px;
}

.buy-block {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(24,31,58,0.06);
    max-width: 700px;
    margin: 48px auto 0 auto;
    padding: 40px 24px 32px 24px;
    text-align: center;
}
.buy-block h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 18px;
    color: #1a237e;
}
.buy-text {
    font-size: 1.08rem;
    color: #222;
    margin-bottom: 22px;
    font-weight: 500;
}
.buy-messengers {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
}
.buy-messengers .footer-messenger {
    font-size: 1.08rem;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
    margin-bottom: 6px;
}
@media (max-width: 700px) {
    .buy-block {
        padding: 24px 8px 18px 8px;
        margin-top: 32px;
    }
    .buy-messengers .footer-messenger {
        font-size: 1rem;
        padding: 10px 14px;
    }
}

.main-section {
    background: rgba(255,255,255,0.82);
    border-radius: 22px;
    box-shadow: 0 8px 40px 0 rgba(24,31,58,0.13), 0 1.5px 8px 0 rgba(61,220,151,0.07);
    max-width: 900px;
    margin: 56px auto 0 auto;
    padding: 56px 32px 44px 32px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
    border: 1.5px solid rgba(61,220,151,0.10);
    transition: box-shadow 0.3s, background 0.3s;
    animation: fadeInUp 1.1s cubic-bezier(.23,1.01,.32,1) both;
}
@media (max-width: 900px) {
    .main-section {
        max-width: 100%;
        margin: 32px 0 0 0;
        padding: 24px 8px 18px 8px;
    }
}

.buy-block h2, .features-tech h2, .geo-tech h2, .custom-tech h2, .demo-tech h2, .trust-block h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 28px;
    color: #1a237e;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 12px rgba(61,220,151,0.08);
}

.features-grid, .geo-countries, .clients-grid, .demo-grid, .trust-logos {
    animation: fadeInUp 1.2s cubic-bezier(.23,1.01,.32,1) both;
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: none; }
}

/* Glass effect for cards */
.feature-card, .client-card, .demo-card-tech, .trust-logo {
    background: rgba(255,255,255,0.92);
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(61,220,151,0.10), 0 1.5px 8px 0 rgba(24,31,58,0.07);
    border: 1.2px solid rgba(61,220,151,0.10);
    transition: box-shadow 0.2s, transform 0.2s, background 0.2s;
}
.feature-card:hover, .client-card:hover, .demo-card-tech:hover, .trust-logo:hover {
    box-shadow: 0 12px 48px rgba(61,220,151,0.18), 0 2px 12px 0 rgba(24,31,58,0.10);
    transform: translateY(-4px) scale(1.04);
    background: rgba(255,255,255,0.98);
}

/* Декоративные SVG-элементы */
.main-section::before {
    content: '';
    position: absolute;
    top: -80px; left: -80px;
    width: 220px; height: 220px;
    background: radial-gradient(circle, rgba(61,220,151,0.13) 0%, rgba(255,255,255,0) 80%);
    z-index: 0;
    pointer-events: none;
}
.main-section::after {
    content: '';
    position: absolute;
    bottom: -60px; right: -60px;
    width: 180px; height: 180px;
    background: radial-gradient(circle, rgba(34,158,217,0.10) 0%, rgba(255,255,255,0) 80%);
    z-index: 0;
    pointer-events: none;
}

/* Поверхность контента */
.main-section > * { position: relative; z-index: 1; }

/* Кнопки */
.hero-btn.main, .buy-messengers .footer-messenger, .demo-messengers .footer-messenger {
    box-shadow: 0 4px 24px rgba(61,220,151,0.13), 0 1.5px 8px 0 rgba(24,31,58,0.07);
    border-radius: 12px;
    font-size: 1.15rem;
    font-weight: 700;
    padding: 16px 36px;
    letter-spacing: 0.2px;
    border: none;
    transition: box-shadow 0.2s, transform 0.2s, background 0.2s;
}
.hero-btn.main:hover, .buy-messengers .footer-messenger:hover, .demo-messengers .footer-messenger:hover {
    box-shadow: 0 12px 48px rgba(61,220,151,0.18), 0 2px 12px 0 rgba(24,31,58,0.10);
    transform: translateY(-2px) scale(1.04);
}

/* Trust logos */
.trust-logo {
    background: rgba(255,255,255,0.92);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(24,31,58,0.04);
    padding: 10px 22px;
    margin-bottom: 8px;
    border: 1.2px solid rgba(61,220,151,0.10);
    transition: box-shadow 0.2s, transform 0.2s, background 0.2s;
}

@media (max-width: 700px) {
    .main-section {
        padding: 16px 2vw 12px 2vw;
        border-radius: 10px;
    }
    .buy-block h2, .features-tech h2, .geo-tech h2, .custom-tech h2, .demo-tech h2, .trust-block h2 {
        font-size: 1.1rem;
        margin-bottom: 14px;
    }
}

.trust-block {
    text-align: center;
    margin-bottom: 0;
}
.trust-block h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: #1a237e;
}
.trust-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    margin-bottom: 0;
}
.trust-logo {
    max-height: 54px;
    max-width: 180px;
    object-fit: contain;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(24,31,58,0.04);
    padding: 8px 18px;
    transition: box-shadow 0.2s, transform 0.2s;
    margin-bottom: 8px;
}
.trust-logo:hover {
    box-shadow: 0 8px 32px rgba(61,220,151,0.10);
    transform: translateY(-2px) scale(1.04);
}
@media (max-width: 700px) {
    .trust-logos {
        gap: 14px;
    }
    .trust-logo {
        max-height: 38px;
        max-width: 110px;
        padding: 4px 8px;
    }
}

/* Legal Information Section */
.legal-info {
    background: rgba(255,255,255,0.82);
    border-radius: 22px;
    box-shadow: 0 8px 40px 0 rgba(24,31,58,0.13), 0 1.5px 8px 0 rgba(61,220,151,0.07);
    max-width: 900px;
    margin: 56px auto 0 auto;
    padding: 40px 32px;
    backdrop-filter: blur(12px);
    border: 1.5px solid rgba(61,220,151,0.10);
    animation: fadeInUp 1.1s cubic-bezier(.23,1.01,.32,1) both;
}

.legal-info h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1a237e;
    margin-bottom: 24px;
    text-align: center;
}

.legal-info-content {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 32px;
}

.legal-info-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a237e;
    margin: 20px 0 8px 0;
}

.legal-info-content p {
    margin: 4px 0;
}

.payment-methods {
    text-align: center;
    margin-top: 32px;
    padding: 24px 0;
}

.payment-methods img {
    max-width: 500px;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(24,31,58,0.15));
}

.tabs-container {
    max-width: 900px;
    margin: 32px auto;
}

.tab-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.tab-button {
    background: rgba(255,255,255,0.92);
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    color: #1a237e;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(24,31,58,0.08);
}

.tab-button.active {
    background: #3ddc97;
    color: #fff;
    box-shadow: 0 4px 16px rgba(61,220,151,0.2);
}

.tab-content {
    background: rgba(255,255,255,0.92);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 8px 32px rgba(24,31,58,0.1);
    animation: fadeIn 0.3s ease;
}

@media (max-width: 768px) {
    .legal-info {
        margin: 32px 16px;
        padding: 24px 16px;
    }

    .legal-info h2 {
        font-size: 1.4rem;
    }

    .legal-info-content {
        font-size: 0.9rem;
    }

    .payment-methods img {
        max-width: 340px;
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Modal styles */
.policy-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(30,40,60,0.55);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
}
.policy-modal {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 40px rgba(24,31,58,0.18);
    max-width: 1100px;
    max-height: 98vh;
    width: 1000px;
    padding: 24px 18px 18px 18px;
    overflow: auto;
    position: relative;
    animation: fadeIn 0.3s;
}
.policy-modal-close {
    position: absolute;
    top: 18px;
    right: 24px;
    font-size: 2rem;
    color: #888;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1;
    transition: color 0.2s;
}
.policy-modal-close:hover { color: #1a237e; }

.policy-modal h2 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 18px;
    color: #1a237e;
    text-align: center;
}

.policy-modal-content {
    font-size: 0.93rem;
    line-height: 1.45;
    max-height: none;
    overflow: visible;
    padding: 0 2px 0 2px;
}

.policy-modal-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 18px 0;
    font-size: 0.90rem;
    background: #fff;
    box-shadow: 0 2px 8px rgba(24,31,58,0.04);
}
.policy-modal-content th, .policy-modal-content td {
    border: 1.5px solid #e0e0e0;
    padding: 10px 12px;
    text-align: left;
    vertical-align: top;
}
.policy-modal-content th {
    background: #f5f6fa;
    color: #1a237e;
    font-weight: 700;
    font-size: 1.05rem;
}
.policy-modal-content tr:nth-child(even) td {
    background: #f8fafc;
}
.policy-modal-content tr:nth-child(odd) td {
    background: #fff;
}
.policy-modal-content td {
    color: #222;
}
.policy-modal-content {
    scrollbar-width: thin;
    scrollbar-color: #3ddc97 #e0e0e0;
}
.policy-modal-content::-webkit-scrollbar {
    width: 8px;
    background: #e0e0e0;
}
.policy-modal-content::-webkit-scrollbar-thumb {
    background: #3ddc97;
    border-radius: 4px;
}
@media (max-width: 1200px) {
    .policy-modal { max-width: 98vw; width: 98vw; }
}
@media (max-width: 900px) {
    .policy-modal { width: 99vw; padding: 12px 2vw 8px 2vw; }
    .policy-modal-content { max-height: 70vh; }
}
.policy-modal-phone {
    margin-top: 24px;
    text-align: right;
    font-size: 1.08rem;
    color: #229ed9;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.footer-company-info {
    background: #f6f8fa;
    border-top: 1.5px solid #e0e6ef;
    margin-top: 32px;
    padding: 28px 0 18px 0;
    text-align: center;
    font-size: 1.01rem;
    color: #1a2233;
}
.footer-company-info h3 {
    font-size: 1.13rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #181f3a;
}
.footer-company-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px 32px;
    margin-bottom: 12px;
}
.footer-company-details > div {
    min-width: 180px;
    text-align: left;
    color: #222;
    font-size: 0.98rem;
}
.footer-payments {
    margin-top: 10px;
}
.footer-payments img {
    max-width: 220px;
    width: 100%;
    height: auto;
    filter: none;
}

.footer-messenger.whatsapp {
    background: #25d366 !important;
    color: #fff !important;
    border: none;
}
.footer-messenger.telegram {
    background: #229ed9 !important;
    color: #fff !important;
    border: none;
}
.footer-messenger.viber {
    background: #7c529e !important;
    color: #fff !important;
    border: none;
}
.footer-messenger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 1.08rem;
    font-weight: 600;
    text-decoration: none;
    margin: 0 4px 8px 4px;
    box-shadow: 0 2px 8px rgba(44,62,80,0.10);
    transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}
.footer-messenger:hover {
    filter: brightness(1.08);
    box-shadow: 0 4px 16px rgba(44,62,80,0.16);
    transform: scale(1.04);
}
@media (max-width: 700px) {
    .footer-company-details {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    .footer-company-info {
        font-size: 0.97rem;
        padding: 18px 0 10px 0;
    }
    .footer-messenger {
        font-size: 1.15rem;
        padding: 14px 0;
        width: 100%;
        max-width: 320px;
        display: block;
        margin: 0 auto 10px auto;
        text-align: center;
    }
}

.styled-company-block {
    background: #f7fafd;
    border-radius: 10px;
    padding: 18px 22px;
    margin: 0 auto 10px auto;
    box-shadow: 0 2px 8px rgba(24,31,58,0.04);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    font-size: 15px;
    color: #222;
    line-height: 1.7;
    max-width: 370px;
}

.compact-company-block {
  font-size: 0.98em;
  line-height: 1.5;
  padding: 0;
  margin: 0 0 8px 0;
  word-break: break-word;
  white-space: normal;
  display: block;
}
@media (max-width: 700px) {
  .compact-company-block {
    text-align: center;
    font-size: 0.97em;
    margin-bottom: 10px;
  }
}

.footer-main-blocks {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 32px;
    background: #f6f8fa;
    border-top: 1.5px solid #e0e6ef;
    padding: 32px 0 18px 0;
    flex-wrap: wrap;
}
.footer-block {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(24,31,58,0.04);
    padding: 22px 18px 18px 18px;
    min-width: 240px;
    max-width: 340px;
    flex: 1 1 260px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}
.footer-block h3 {
    font-size: 1.08rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #181f3a;
}
.footer-block .footer-logo {
    margin-bottom: 8px;
}
.footer-block .footer-links {
    margin-bottom: 8px;
}
.footer-block .footer-phone {
    font-size: 1rem;
    margin-bottom: 4px;
}
.footer-block .footer-copy {
    font-size: 0.95rem;
    color: #888;
}
@media (max-width: 900px) {
    .footer-main-blocks {
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
        padding: 18px 0 10px 0;
    }
    .footer-block {
        max-width: 100%;
        min-width: 0;
        width: 100%;
        border-radius: 10px;
        padding: 16px 10px 12px 10px;
    }
}

.vertical-footer {
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 18px 0 8px 0 !important;
}
.footer-block {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 14px 10px 10px 16px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(24,31,58,0.03);
    margin-bottom: 6px;
}
.footer-block h3 {
    margin-bottom: 6px;
    font-size: 1.01rem;
}
.footer-payments-large {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 0 0 0;
}
.footer-payments-large img {
    max-width: 320px;
    width: 100%;
    height: auto;
    display: block;
    filter: none;
}
@media (max-width: 600px) {
    .footer-block {
        max-width: 100%;
        padding: 10px 4px 8px 8px;
    }
    .footer-payments-large img {
        max-width: 98vw;
    }
}

.footer-modern {
  background: #181f3a;
  color: #fff;
  padding: 36px 0 18px 0;
  font-size: 15px;
}
.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.footer-col {
  flex: 1 1 220px;
  min-width: 180px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-logo {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.footer-contacts, .footer-company, .footer-payments-title, .footer-payment-info {
  margin-bottom: 8px;
}
.footer-contact {
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
  font-size: 1.01em;
}
.footer-contact:hover { color: #3ddc97; }
.footer-messengers {
  display: flex;
  gap: 10px;
}
.footer-messenger img {
  width: 28px; height: 28px;
  filter: grayscale(0);
  transition: filter 0.2s, transform 0.2s;
}
.footer-messenger:hover img {
  filter: brightness(1.2) drop-shadow(0 2px 8px #3ddc97aa);
  transform: scale(1.08);
}
.footer-company div, .footer-payment-info {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 1em;
}
.footer-payments-title {
  font-weight: 600;
  font-size: 1.04em;
  margin-bottom: 4px;
}
.footer-payments-logos img {
  max-width: 180px;
  width: 100%;
  margin-bottom: 6px;
  display: block;
}
.footer-payment-info {
  font-size: 0.97em;
  color: #b0e0e6;
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-bottom {
  border-top: 1px solid #2c3550;
  margin-top: 18px;
  padding-top: 10px;
  text-align: center;
  font-size: 0.97em;
  color: #b0b8d0;
  display: flex;
  justify-content: center;
  gap: 18px;
}
.footer-bottom a {
  color: #3ddc97;
  text-decoration: underline;
  margin-left: 8px;
}
@media (max-width: 900px) {
  .footer-container { flex-direction: column; gap: 18px; }
  .footer-col { max-width: 100%; }
}

.footer-payments-bottom {
  background: #fff;
  width: 100vw;
  max-width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px 0 18px 0;
  margin: 0 calc(-50vw + 50%); /* full-bleed white */
  box-shadow: 0 -2px 12px rgba(24,31,58,0.04);
}
.footer-payments-bottom img {
  max-width: 420px;
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 700px) {
  .footer-payments-bottom img {
    max-width: 98vw;
  }
  .footer-payments-bottom {
    padding: 16px 0 10px 0;
  }
}

.price-block {
  background: #fff;
  padding: 36px 0 18px 0;
  text-align: center;
}
.price-block h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 18px;
}
.price-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  font-size: 1.25rem;
  color: #181f3a;
}
.price-list b {
  font-size: 1.18em;
  color: #3ddc97;
}
@media (max-width: 700px) {
  .price-block { padding: 24px 0 10px 0; }
  .price-block h2 { font-size: 1.3rem; }
  .price-list { font-size: 1.05rem; }
}
