@font-face {
    font-family: "ArialRounded";
    src: url("/fonts/arialrounded/ArialRoundedMTBold.eot");
    src:
        url("/fonts/arialrounded/ArialRoundedMTBold.eot?#iefix") format("embedded-opentype"),
        url("/fonts/arialrounded/ArialRoundedMTBold.woff2") format("woff2"),
        url("/fonts/arialrounded/ArialRoundedMTBold.woff") format("woff"),
        url("/fonts/arialrounded/ArialRoundedMTBold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --cf-theme-bg: #0d1324;
    --cf-theme-bg-soft: #19162e;
    --cf-theme-panel: rgba(15, 20, 39, 0.74);
    --cf-theme-panel-strong: rgba(8, 12, 26, 0.9);
    --cf-theme-line: rgba(255, 255, 255, 0.1);
    --cf-theme-line-strong: rgba(255, 255, 255, 0.16);
    --cf-theme-text: #f7f1e8;
    --cf-theme-muted: rgba(247, 241, 232, 0.76);
    --cf-theme-accent: #f49d43;
    --cf-theme-accent-soft: #ffd9b3;
    --cf-theme-highlight: #88a8ff;
    --cf-theme-shadow: 0 30px 80px rgba(4, 8, 20, 0.4);
    --cf-theme-radius: 1.8rem;
    --cf-theme-font: "ArialRounded", "Avenir Next", "Segoe UI", sans-serif;
}

body.cf-theme {
    background: linear-gradient(180deg, var(--cf-theme-bg) 0%, var(--cf-theme-bg-soft) 100%);
    color: var(--cf-theme-text);
    font-family: var(--cf-theme-font);
}

.cf-theme a {
    text-decoration: none;
}

.cf-theme h1,
.cf-theme h2,
.cf-theme h3,
.cf-theme h4,
.cf-theme h5,
.cf-theme h6 {
    font-family: var(--cf-theme-font);
}

.cf-theme-container {
    max-width: 1180px;
}

.cf-theme-navbar {
    padding: 0.85rem 0 0.75rem;
    background: linear-gradient(180deg, rgba(10, 15, 29, 0.78), rgba(10, 15, 29, 0.28));
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(16px);
    box-shadow: 0 12px 30px rgba(4, 8, 20, 0.18);
}

.cf-theme-navbar-inner {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
}

.cf-theme-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: #ffffff;
    font-size: 1rem;
    letter-spacing: 0.01em;
    white-space: nowrap;
    margin-right: 0;
}

.cf-theme-brand:hover,
.cf-theme-brand:focus {
    color: #ffffff;
}

.cf-theme-brand img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    flex: 0 0 auto;
}

.cf-theme-navbar-collapse {
    min-width: 0;
    justify-content: center;
}

.cf-theme-nav-links.navbar-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    gap: 0;
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

.cf-theme-nav-links .nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.58rem;
    color: rgba(247, 241, 232, 0.9);
    font-size: 0.84rem;
    line-height: 1.2;
    white-space: nowrap;
}

.cf-theme-nav-links .nav-link::after {
    content: "";
    position: absolute;
    left: 0.58rem;
    right: 0.58rem;
    bottom: 0.16rem;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--cf-theme-accent-soft), rgba(255, 255, 255, 0.9));
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 180ms ease;
}

.cf-theme-nav-links .nav-link:hover,
.cf-theme-nav-links .nav-link:focus,
.cf-theme-nav-links .nav-link.is-active {
    color: #ffffff;
}

.cf-theme-nav-links .nav-link:hover::after,
.cf-theme-nav-links .nav-link:focus::after,
.cf-theme-nav-links .nav-link.is-active::after {
    transform: scaleX(1);
}

.cf-theme-navbar-tools {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.55rem;
    min-width: 0;
}

.cf-theme-locale-switch {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    padding: 0.22rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--cf-theme-line);
}

.cf-theme-locale-switch a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    height: 2rem;
    border-radius: 999px;
    color: rgba(247, 241, 232, 0.8);
    font-size: 0.76rem;
}

.cf-theme-locale-switch a:hover,
.cf-theme-locale-switch a:focus,
.cf-theme-locale-switch a.is-active {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.cf-theme-contact-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.45rem;
    padding: 0.58rem 0.92rem;
    border-radius: 0.95rem;
    background: linear-gradient(180deg, #38578f, #253a62);
    color: #ffffff;
    font-size: 0.8rem;
    box-shadow: 0 14px 28px rgba(6, 10, 20, 0.22);
    white-space: nowrap;
}

.cf-theme-contact-link:hover,
.cf-theme-contact-link:focus {
    color: #ffffff;
    background: linear-gradient(180deg, #4267a9, #2b4572);
}

.cf-theme-contact-link.is-active {
    color: #ffffff;
    background: linear-gradient(180deg, #4a78c0, #315089);
    box-shadow: 0 16px 32px rgba(6, 10, 20, 0.28);
}

.cf-theme-contact-link--mobile {
    display: none;
}

.cf-theme-navbar-toggler {
    padding: 0.42rem 0.56rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0.95rem;
    box-shadow: none;
}

.cf-theme-navbar-toggler:focus {
    box-shadow: 0 0 0 0.18rem rgba(240, 178, 122, 0.18);
}

.cf-theme-footer {
    position: relative;
    z-index: 1;
    padding: 2.5rem 0;
    border-top: 1px solid var(--cf-theme-line);
    background: linear-gradient(180deg, rgba(9, 14, 28, 0.72), rgba(9, 14, 28, 0.92));
    backdrop-filter: blur(14px);
}

.cf-theme-footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) repeat(2, minmax(200px, 0.75fr));
    gap: 1.6rem 2rem;
    align-items: start;
}

.cf-theme-brand--footer {
    margin-bottom: 1rem;
}

.cf-theme-footer-brand p,
.cf-theme-footer-column a {
    color: var(--cf-theme-muted);
    line-height: 1.75;
}

.cf-theme-footer-column h2 {
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 0.8rem;
}

.cf-theme-footer-column {
    display: flex;
    flex-direction: column;
    gap: 0.42rem;
}

.cf-theme-footer-column a:hover,
.cf-theme-footer-column a:focus {
    color: #ffffff;
}

.cf-theme a:focus-visible,
.cf-theme button:focus-visible {
    outline: 2px solid var(--cf-theme-accent);
    outline-offset: 4px;
}

@media (max-width: 1080px) {
    .cf-theme-navbar-inner {
        gap: 0.8rem;
    }

    .cf-theme-brand {
        font-size: 0.96rem;
    }

    .cf-theme-nav-links .nav-link {
        padding: 0.42rem 0.48rem;
        font-size: 0.79rem;
    }

    .cf-theme-contact-link {
        padding: 0.58rem 0.82rem;
        font-size: 0.77rem;
    }
}

@media (max-width: 991px) {
    .cf-theme-navbar-inner {
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 0.7rem;
    }

    .cf-theme-navbar-collapse {
        grid-column: 1 / -1;
        order: 4;
        margin-top: 0.8rem;
        padding: 0.9rem 1rem 1rem;
        border-radius: 1.2rem;
        background: rgba(8, 12, 24, 0.88);
        border: 1px solid var(--cf-theme-line);
        box-shadow: var(--cf-theme-shadow);
    }

    .cf-theme-nav-links.navbar-nav {
        align-items: stretch;
        flex-direction: column;
        gap: 0.2rem;
        margin: 0;
    }

    .cf-theme-nav-links .nav-link {
        justify-content: flex-start;
        padding: 0.55rem 0.1rem;
        font-size: 0.92rem;
    }

    .cf-theme-nav-links .nav-link::after {
        left: 0;
        right: auto;
        width: 2rem;
        bottom: 0.08rem;
    }

    .cf-theme-contact-link--desktop {
        display: none;
    }

    .cf-theme-contact-link--mobile {
        display: inline-flex;
        align-self: flex-start;
        margin-top: 0.8rem;
    }

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

@media (max-width: 767px) {
    .cf-theme-navbar {
        padding: 0.72rem 0 0.66rem;
    }

    .cf-theme-brand {
        font-size: 0.92rem;
        gap: 0.6rem;
    }

    .cf-theme-brand img {
        width: 34px;
        height: 34px;
    }

    .cf-theme-locale-switch a {
        min-width: 1.84rem;
        height: 1.84rem;
    }

    .cf-theme-navbar-toggler {
        padding: 0.36rem 0.48rem;
    }

}
