:root {
    --navy: #0b1118;
    --navy-soft: #0f1f2f;
    --gold: #f0a42b;
    --gold-soft: #ffb84d;
    --ink: #e8ecf5;
    --muted: #7f8da0;
    --line: rgba(255, 255, 255, 0.08);
    --bg: #f6f9fc;
    --shadow: 0 16px 40px rgba(6, 16, 26, 0.22);
    --radius: 24px;
    --header-h: 86px;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
}

body.spark-nav-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.spark-site-header {
    position: sticky;
    top: 0;
    z-index: 1200;
    background: rgba(11, 17, 24, 0.98);
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 26px rgba(7, 21, 35, 0.12);
}

.spark-shell-bar {
    position: relative;
    min-height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: center;
}

.spark-main-nav {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 30px;
}

.spark-nav-left,
.spark-nav-right {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 0;
    padding: 0;
}

.spark-nav-left {
    justify-content: flex-end;
}

.spark-nav-right {
    justify-content: flex-start;
}

.spark-brand-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.spark-brand-logo {
    height: 78px;
    width: auto;
}

.spark-mobile-brand-link {
    display: none;
}

.spark-nav-link {
    min-height: 44px;
    padding: 0 10px;
    text-decoration: none;
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    transition: color 0.2s ease, opacity 0.2s ease;
    white-space: nowrap;
}

.spark-nav-link:hover {
    color: #ffffff;
    opacity: 0.72;
}

.spark-nav-link.is-active {
    color: #ffffff;
    opacity: 1;
}

.spark-header-search {
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.09);
    color: #ffffff;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
    justify-self: end;
}

.spark-header-search:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: scale(1.04);
}

.spark-mobile-toggle,
.spark-mobile-close,
.spark-scroll-top {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.92);
    cursor: pointer;
    transition: all 0.25s ease;
}

.spark-mobile-toggle:hover,
.spark-mobile-close:hover {
    color: var(--gold);
    background: rgba(255, 255, 255, 0.14);
}

.spark-mobile-toggle {
    position: absolute;
    top: 50%;
    left: 0;
    display: none;
    transform: translateY(-50%);
}

.spark-header-accent {
    height: 16px;
    background: linear-gradient(90deg, #0d3151 0%, #153f67 45%, #0d3151 100%);
}

.spark-mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(4, 11, 18, 0.55);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s ease, visibility 0.28s ease;
    z-index: 1240;
}

.spark-mobile-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.spark-mobile-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: min(360px, 100%);
    height: 100vh;
    padding: 24px 20px 28px;
    background: linear-gradient(180deg, #0b1725 0%, #0f273c 100%);
    box-shadow: -18px 0 40px rgba(7, 21, 35, 0.28);
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.28s ease, opacity 0.28s ease, visibility 0.28s ease;
    z-index: 1300;
}

.spark-mobile-panel.is-open {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}

.spark-mobile-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.spark-mobile-brand .spark-brand-logo {
    height: 58px;
}

.spark-mobile-copy {
    margin-bottom: 20px;
    color: rgba(232, 236, 245, 0.78);
    line-height: 1.7;
    font-size: 0.95rem;
}

.spark-mobile-links {
    list-style: none;
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
}

.spark-mobile-link {
    width: 100%;
    min-height: 52px;
    padding: 0 18px;
    border-radius: 18px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    background: rgba(255, 255, 255, 0.06);
    text-decoration: none;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
}

.spark-mobile-link:hover,
.spark-mobile-link.is-active {
    background: rgba(240, 164, 43, 0.16);
    color: var(--gold);
}

.spark-scroll-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-soft) 100%);
    color: var(--navy);
    box-shadow: 0 16px 30px rgba(240, 164, 43, 0.26);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    z-index: 1100;
}

.spark-scroll-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.spark-site-footer {
    position: relative;
    background:
        radial-gradient(circle at top right, rgba(240, 164, 43, 0.1), transparent 20%),
        linear-gradient(180deg, #09121b 0%, #0c141d 44%, #0a1118 100%);
    color: #e5e9f0;
    padding: 0 0 28px;
    overflow: hidden;
}

.spark-site-footer::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(240, 164, 43, 0.55), transparent);
}

.spark-news-strip {
    margin: 0 auto 36px;
    padding: 30px 0;
    background: linear-gradient(135deg, #eef4fb 0%, #ffffff 38%, #f5f8fc 100%);
    box-shadow: 0 22px 60px rgba(5, 18, 30, 0.14);
    border: 1px solid rgba(216, 227, 237, 0.75);
    border-radius: calc(var(--radius) + 6px);
    transform: translateY(-28px);
}

.spark-news-inner {
    padding: 0 32px;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.95fr) minmax(300px, 0.9fr);
    align-items: center;
    gap: 24px;
}

.spark-news-copy span {
    display: inline-flex;
    margin-bottom: 8px;
    color: var(--gold);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.spark-news-copy h3 {
    margin: 0 0 8px;
    color: #0d1726;
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    line-height: 1.18;
}

.spark-news-copy p {
    margin: 0;
    color: #56667a;
    line-height: 1.7;
}

.spark-news-highlights {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.spark-news-chip {
    padding: 14px 16px;
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #f5f8fc 100%);
    border: 1px solid rgba(216, 227, 237, 0.85);
    box-shadow: 0 16px 32px rgba(12, 33, 51, 0.08);
}

.spark-news-chip strong {
    display: block;
    margin-bottom: 4px;
    color: #0d1726;
    font-size: 0.92rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.spark-news-chip span {
    display: block;
    color: #617285;
    font-size: 0.85rem;
    line-height: 1.55;
}

.spark-news-form {
    display: flex;
    gap: 10px;
    width: 100%;
    max-width: 520px;
}

.spark-news-input {
    flex: 1;
    min-height: 52px;
    border-radius: 12px;
    border: 1px solid #d8e3ed;
    padding: 0 16px;
    font-size: 1rem;
    outline: none;
    background: #ffffff;
}

.spark-news-button {
    min-width: 140px;
    border: none;
    border-radius: 12px;
    background: var(--gold);
    color: #0d1726;
    font-weight: 800;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.2s ease;
}

.spark-news-button:hover {
    background: #d68d16;
}

.spark-footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 28px;
    padding: 10px 0 0;
}

.spark-footer-col {
    min-width: 0;
    padding: 22px 22px 20px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(19, 28, 39, 0.9) 0%, rgba(13, 20, 29, 0.92) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

.spark-footer-col h3 {
    margin: 0 0 16px;
    color: #ffffff;
    letter-spacing: 0.04em;
}

.spark-footer-text {
    margin: 0 0 18px;
    color: rgba(229, 233, 240, 0.82);
    line-height: 1.8;
}

.spark-footer-links,
.spark-footer-contact,
.spark-footer-badges {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.spark-footer-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: rgba(229, 233, 240, 0.78);
    font-weight: 600;
    transition: color 0.2s ease, transform 0.2s ease;
}

.spark-footer-link i {
    width: 18px;
    color: var(--gold);
    text-align: center;
}

.spark-footer-link:hover,
.spark-footer-link.is-active {
    color: var(--gold);
    transform: translateX(4px);
}

.spark-footer-service-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.spark-footer-service-list li {
    position: relative;
    padding-left: 18px;
    color: rgba(229, 233, 240, 0.82);
    line-height: 1.7;
}

.spark-footer-service-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), #ffd38a);
}

.spark-footer-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 10px;
    background: #131c27;
    color: #e5e9f0;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.spark-footer-contact li {
    color: rgba(229, 233, 240, 0.78);
    line-height: 1.7;
}

.spark-footer-contact strong {
    color: #ffffff;
}

.spark-footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.spark-social-link {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #f5f8fc;
    text-decoration: none;
    transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.spark-social-link:hover {
    transform: translateY(-2px);
    background: rgba(240, 164, 43, 0.16);
    color: var(--gold);
}

.spark-footer-phone {
    margin: 0 0 8px;
    color: var(--gold);
    font-size: 1.45rem;
    font-weight: 900;
    line-height: 1.2;
}

.spark-footer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 10px;
    border: 1px solid #2b3847;
    background: #111923;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.04em;
    transition: all 0.2s ease;
}

.spark-footer-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.spark-footer-bottom {
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px solid #16202c;
    color: rgba(229, 233, 240, 0.65);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.94rem;
    flex-wrap: wrap;
}

.spark-footer-bottom span {
    min-width: 0;
}

@media (max-width: 1280px) {
    .spark-nav-link {
        padding: 0 8px;
        font-size: 0.84rem;
    }
}

@media (max-width: 1080px) {
    :root {
        --header-h: 74px;
    }

    .spark-main-nav,
    .spark-header-search {
        display: none;
    }

    .spark-mobile-toggle,
    .spark-mobile-brand-link {
        display: inline-flex;
    }

    .spark-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .spark-news-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .container {
        width: min(1180px, calc(100% - 24px));
    }

    .spark-brand-logo {
        height: 62px;
    }

    .spark-mobile-panel {
        padding: 20px 16px 24px;
    }

    .spark-news-strip {
        padding: 22px 0;
        transform: translateY(-16px);
    }

    .spark-news-inner {
        padding: 0 18px;
    }

    .spark-news-highlights {
        width: 100%;
    }

    .spark-news-form {
        flex-direction: column;
        max-width: none;
    }

    .spark-news-button {
        min-height: 52px;
        width: 100%;
    }

    .spark-footer-grid {
        grid-template-columns: 1fr;
    }

    .spark-footer-phone {
        font-size: 1.25rem;
    }

    .spark-scroll-top {
        right: 14px;
        bottom: 14px;
    }
}
