/* CONTAINER_SETTINGS_START */
:root { --container:600px; --container-md:600px; --container-sm:480px; }
@media (max-width: 992px) { :root { --container: var(--container-md); } }
@media (max-width: 480px) { :root { --container: var(--container-sm); } }
.page-shell { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
/* CONTAINER_SETTINGS_END */
:root {
    --bg:#ffffff;
    --surface:#ffffff;
    --surface-soft: #eef3fb;
    --text:#0f172a;
    --muted:#475569;
    --line:#d9e2f1;
    --primary:#000000;
    --primary-strong: #1e40af;
    --accent:#ffffff;
    --radius:32px;
    --shadow: 0 18px 44px rgba(15, 23, 42, .11);
    --container: 1200px;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.site-bg {
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(1200px 680px at 12% -10%, rgba(14, 165, 233, .18), transparent 60%),
        radial-gradient(980px 540px at 92% 0%, rgba(29, 78, 216, .14), transparent 58%),
        linear-gradient(180deg, #f7f9fd 0%, #eef3fb 100%);
}

.container {
    width: min(var(--container), calc(100% - 48px));
    margin-inline: auto;
}

.page-shell {
    min-height: 55vh;
    padding: 44px 0 70px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .74);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(217, 226, 241, .7);
    transition: box-shadow .25s ease, background-color .25s ease;
}

.site-header.is-scrolled {
    box-shadow: 0 10px 34px rgba(15, 23, 42, .1);
    background: rgba(255, 255, 255, .93);
}

.header-inner {
    display: grid;
    grid-template-columns: auto auto 1fr auto;
    align-items: center;
    gap: 20px;
    min-height: 78px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.05rem;
}

.brand-mark {
    width: 20px;
    height: 20px;
    border-radius: 7px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    box-shadow: 0 9px 20px rgba(29, 78, 216, .35);
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.site-nav a {
    padding: 10px 14px;
    border-radius: 12px;
    color: var(--muted);
    font-weight: 600;
    transition: .2s ease;
}

.site-nav a:hover {
    background: var(--surface-soft);
    color: var(--text);
}

.site-nav .nav-cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-strong));
    color: #fff;
    box-shadow: 0 12px 26px rgba(29, 78, 216, .35);
}

.site-nav .nav-cta:hover {
    color: #fff;
    filter: brightness(1.03);
}

.phone-link {
    font-weight: 700;
    color: var(--primary-strong);
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 18px;
    height: 2px;
    background: #1f2937;
    display: block;
}

.site-footer {
    margin-top: 38px;
    background: #0b1326;
    color: #c7d2fe;
    padding: 40px 0 18px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 30px;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #f8fbff;
    margin-bottom: 10px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-col h3 {
    margin: 0 0 8px;
    font-size: .92rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #9fb0dc;
}

.footer-bottom {
    border-top: 1px solid rgba(159, 176, 220, .22);
    margin-top: 28px;
    padding-top: 14px;
    font-size: .9rem;
    color: #9fb0dc;
}

.site-shell,
.section,
.card,
.panel,
.block {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2;
    margin-top: 0;
}

h1 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h2 {
    font-size: clamp(1.5rem, 2.6vw, 2.25rem);
}

p {
    color: var(--muted);
}

button,
input,
select,
textarea {
    font: inherit;
}

@media (max-width: 1024px) {
    .header-inner {
        grid-template-columns: auto auto 1fr;
    }

    .phone-link {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 820px) {
    .header-inner {
        grid-template-columns: auto auto auto;
    }

    .nav-toggle {
        display: flex;
    }

    .site-nav {
        position: fixed;
        left: 16px;
        right: 16px;
        top: 86px;
        background: var(--surface);
        border: 1px solid var(--line);
        border-radius: 16px;
        padding: 14px;
        box-shadow: var(--shadow);
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        padding: 11px 12px;
    }

    .site-nav .nav-cta {
        text-align: center;
    }

    body.menu-open {
        overflow: hidden;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(var(--container), calc(100% - 28px));
    }

    .page-shell {
        padding: 30px 0 52px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}