@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: #192b37;
    color: #e9eef5;
    line-height: 1.55;
    font-size: 15px;
    min-height: 100vh;
}
img { max-width: 100%; display: block; border-style: none; }
a { color: inherit; text-decoration: none; }
ul { padding: 0; margin: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0 0 14px; font-weight: 700; line-height: 1.25; }
h1 { font-size: 26px; }
h2 { font-size: 20px; }
h3 { font-size: 17px; }
p { margin: 0 0 12px; }
table { border-collapse: collapse; width: 100%; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 18px; }

/* Шапка */
.topbar {
    background: #0e202d;
    border-bottom: 1px solid #1f3540;
    position: sticky; top: 0; z-index: 50;
}
.topbar-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 64px; gap: 18px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
    width: 92px; height: 28px; color: #fff;
}
.brand-mark svg { width: 100%; height: 100%; }
.nav-links { display: flex; gap: 22px; align-items: center; }
.nav-links a { color: #aeb8cf; font-weight: 500; font-size: 14px; transition: color .2s; }
.nav-links a:hover { color: #fff; }
.topbar-cta { display: flex; gap: 10px; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center;
    padding: 9px 20px; border-radius: 4px; font-weight: 600; font-size: 14px;
    transition: background .2s; cursor: pointer; border: none; }
.btn-primary { background: #1270db; color: #fff; }
.btn-primary:hover { background: #105eb4; }
.btn-ghost { background: transparent; color: #fff; }
.btn-ghost:hover { background: #1f3540; }
.btn-block { display: flex; width: 100%; padding: 12px 24px; }
.burger { display: none; background: none; border: none; color: #fff; cursor: pointer; }
.burger svg { width: 26px; height: 26px; }

@media (max-width: 860px) {
    .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0;
        background: #0e202d; flex-direction: column; padding: 16px;
        gap: 12px; border-bottom: 1px solid #1f3540; }
    .nav-links.is-open { display: flex; }
    .burger { display: block; }
    .nav-links a { padding: 10px 8px; border-bottom: 1px solid #1f3540; }
    .nav-links a:last-child { border-bottom: none; }
}

/* Hero блок */
.hero {
    background: linear-gradient(180deg, #0e202d 0%, #122533 100%);
    padding: 36px 0;
}
.hero-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
    align-items: center;
}
.hero-text h1 { font-size: 28px; margin-bottom: 10px; }
.hero-text p { color: #aeb8cf; margin-bottom: 18px; max-width: 480px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-image { display: flex; justify-content: center; }
.hero-image img { border-radius: 8px; max-height: 280px; width: auto; }

@media (max-width: 760px) {
    .hero-grid { grid-template-columns: 1fr; gap: 18px; }
    .hero-image img { max-height: 200px; }
    h1 { font-size: 22px; }
}

/* Колонки с услугами */
.split {
    display: grid; grid-template-columns: 1fr 1fr; gap: 22px;
    margin: 28px 0;
}
.tile {
    background: #0e202d; border-radius: 8px; padding: 20px;
    border: 1px solid #1f3540;
}
.tile-img { margin: 0 0 16px; }
.tile-img img { width: 100%; border-radius: 6px; }
.tile h2 { font-size: 18px; }
.tile p { color: #aeb8cf; font-size: 14px; }

@media (max-width: 760px) {
    .split { grid-template-columns: 1fr; }
}

/* Узкие баннеры */
.bar {
    background: #0e202d; border-radius: 8px; padding: 18px 22px;
    margin: 18px 0; display: flex; align-items: center; justify-content: space-between;
    gap: 18px; flex-wrap: wrap; border: 1px solid #1f3540;
}
.bar-text { color: #fff; font-weight: 600; }
.bar-icons { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.bar-icons svg { width: 50px; height: auto; }

/* Текстовые блоки */
.box {
    background: #0e202d; border-radius: 8px; padding: 24px;
    margin: 22px 0; border: 1px solid #1f3540;
}
.box h2 { color: #fff; }
.box h3 { color: #fff; margin-top: 22px; }
.box p, .box li { color: #d6dde9; }
.box ul { margin: 10px 0 16px 22px; list-style: disc; }
.box ul li { padding: 4px 0; }
.box table { margin: 14px 0; }
.box td, .box th {
    padding: 10px 12px; border: 1px solid #2d4350; text-align: left;
    color: #d6dde9; font-size: 14px;
}
.box th { background: #1f3540; font-weight: 600; }

/* FAQ */
.faq-list { margin: 14px 0; }
.q-block {
    background: #1f3540; border-radius: 6px; margin-bottom: 8px; overflow: hidden;
}
.q-head {
    padding: 14px 18px; cursor: pointer; display: flex;
    justify-content: space-between; align-items: center; gap: 12px;
}
.q-head:hover { background: #2d4350; }
.q-head h3 { margin: 0; font-size: 15px; color: #fff; font-weight: 600; }
.q-arrow { width: 14px; height: 14px; flex-shrink: 0; transition: transform .25s; }
.q-arrow svg { width: 100%; height: 100%; fill: #aeb8cf; }
.q-block.opened .q-arrow { transform: rotate(180deg); }
.q-body { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.q-body p { padding: 0 18px 14px; margin: 0; color: #aeb8cf; font-size: 14px; }
.q-block.opened .q-body { max-height: 300px; }

/* Отзывы */
.review-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px;
    margin-top: 14px;
}
.review {
    background: #1f3540; border-radius: 8px; padding: 18px;
    border-top: 3px solid #2d4350;
}
.review.pos { border-top-color: #2eb315; }
.review.neg { border-top-color: #e84545; }
.review-head {
    display: flex; align-items: center; gap: 10px; margin-bottom: 10px;
}
.review-name { font-size: 14px; color: #fff; font-weight: 600; }
.review-name span { color: #aeb8cf; font-weight: 400; }
.review-stars { display: flex; gap: 2px; margin-bottom: 8px; }
.review-stars span { color: #ffbf39; font-size: 14px; }
.review-stars span.off { color: #2d4350; }
.review p { color: #aeb8cf; font-size: 14px; margin: 0; }

/* Подвал */
.footer {
    background: #071d2a; padding: 32px 0 22px; margin-top: 32px;
    border-top: 1px solid #1f3540;
}
.foot-cols {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 22px; margin-bottom: 26px;
}
.foot-cols h4 { color: #fff; font-size: 14px; margin: 0 0 10px; }
.foot-cols ul li { padding: 4px 0; color: #aeb8cf; font-size: 13px; }
.foot-cols ul li a:hover { color: #fff; }
.foot-divider { border-top: 1px solid #1f3540; margin: 18px 0; }
.foot-pay {
    display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; align-items: center;
}
.foot-pay img { height: 32px; width: auto; opacity: .85; }
.foot-bottom {
    text-align: center; color: #aeb8cf; font-size: 12px; line-height: 1.6;
    max-width: 760px; margin: 0 auto;
}
.foot-bottom p { margin: 8px 0; }
.foot-warning {
    background: #1f3540; border-left: 3px solid #ffbf39; padding: 12px 16px;
    margin: 16px auto; max-width: 760px; border-radius: 4px;
    color: #d6dde9; font-size: 13px;
}

/* Простые универсальные классы для текстовых страниц */
.lead { color: #d6dde9; font-size: 16px; line-height: 1.65; }
.note {
    background: #1f3540; border-left: 3px solid #1270db;
    padding: 12px 16px; margin: 14px 0; border-radius: 4px;
    color: #d6dde9; font-size: 14px;
}
.warning {
    background: #2a1f1f; border-left: 3px solid #e84545;
    padding: 12px 16px; margin: 14px 0; border-radius: 4px;
    color: #f1d6d6; font-size: 14px;
}
.crumbs {
    color: #aeb8cf; font-size: 13px; margin: 14px 0; padding: 10px 0;
}
.crumbs a:hover { color: #fff; }
.crumbs span { color: #6a7588; padding: 0 6px; }
