﻿@charset "UTF-8";

/* ========================================
Layout
======================================== */

.l-inner {
    width: min(100% - 48px, 1200px);
    margin-inline: auto;
}

.l-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid #e6edf5;
    box-shadow: 0 8px 24px rgba(13, 45, 77, 0.06);
    backdrop-filter: blur(12px);
}

body {
    padding-top: 72px;
}

body.admin-bar .l-header {
    top: 0;
}

body.admin-bar {
    padding-top: 0;
}

@media screen and (max-width: 782px) {
    body.admin-bar {
        padding-top: 118px;
    }

}

.l-header__inner {
    display: flex;
    align-items: center;
    gap: 28px;
    width: min(100% - 36px, 1180px);
    min-height: 72px;
    margin-inline: auto;
}

.l-header__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    color: #092a50;
}

.l-header__mark {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 2px solid #092a50;
    border-radius: 6px;
    font-size: 20px;
    font-weight: 900;
    transform: rotate(-18deg);
}

.l-header__brand {
    display: grid;
    gap: 2px;
}

.l-header__sub {
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
}

.l-header__main {
    font-size: 25px;
    font-weight: 900;
    letter-spacing: 0.04em;
    line-height: 1;
}

.l-header__nav {
    margin-left: auto;
}

.l-header__toggle,
.l-header__backdrop,
.l-header__head,
.l-header__close,
.l-header__child,
.l-header__mobile {
    display: none;
}

.l-header__list {
    display: flex;
    align-items: center;
    gap: 22px;
}

.l-header__link {
    color: #092a50;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    transition: 0.2s;
}

.l-header__line {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.l-header__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(180deg, #ff9d2f 0%, #ff850b 100%);
    box-shadow: 0 8px 18px rgba(255, 133, 11, 0.25);
    font-size: 14px;
    font-weight: 900;
    white-space: nowrap;
    transition: 0.2s;
}

.l-breadcrumb {
    padding: 10px 0;
    background: #f8fbff;
    border-bottom: 1px solid #e6edf5;
}

.l-breadcrumb__list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    align-items: center;
    color: #536477;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.5;
}

.l-breadcrumb__item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.l-breadcrumb__item + .l-breadcrumb__item::before {
    content: ">";
    color: #8fa0b3;
    font-size: 14px;
    line-height: 1;
}

.l-breadcrumb__link {
    color: #092a50;
    transition: 0.2s;
}

.l-breadcrumb__current {
    color: #536477;
}

.l-footer {
    padding: 24px 0 28px;
    background: #fff;
    border-top: 1px solid #dce5ef;
}

.l-footer__benefits {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    padding-bottom: 22px;
    border-bottom: 1px solid #e6edf5;
}

.l-footer__benefits li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #536477;
    font-size: 12px;
    line-height: 1.5;
}

.l-footer__benefits strong {
    display: block;
    color: #092a50;
    font-size: 14px;
}

.l-footer__icon {
    display: grid;
    place-items: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    color: #092a50;
    font-size: 16px;
    border: 1px solid #c9d7e6;
    border-radius: 50%;
    font-weight: 900;
}

.l-footer__bottom {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding-top: 22px;
}

.l-footer__nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px 28px;
    color: #092a50;
    font-size: 12px;
    font-weight: 800;
}

.l-footer__group {
    display: grid;
    gap: 8px;
    align-content: start;
}

.l-footer__link {
    display: flex;
    width: 100%;
    padding-bottom: 8px;
    border-bottom: 2px solid #092a50;
    color: #092a50;
    font-size: 14px;
    font-weight: 900;
    transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.l-footer__child {
    display: grid;
    gap: 6px;
    padding-top: 2px;
}

.l-footer__childitem {
    border-bottom: 1px solid #e6edf5;
}

.l-footer__childlink {
    position: relative;
    display: block;
    width: 100%;
    padding: 0 0 6px 12px;
    color: #536477;
    font-size: 12px;
    line-height: 1.55;
    transition: color 0.2s ease, transform 0.2s ease;
}

.l-footer__childlink::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #ff850b;
}

.l-footer__copyright {
    display: block;
    color: #7b8896;
    font-size: 11px;
    white-space: nowrap;
    text-align: right;
}

@media (hover: hover) and (pointer: fine) {
    .l-header__link:hover,
    .l-header__cta:hover {
        opacity: .7;
    }

    .l-footer__link:hover {
        color: #ff850b;
        border-color: #ff850b;
        transform: translateX(3px);
    }

    .l-footer__childlink:hover {
        color: #ff850b;
        transform: translateX(3px);
    }
}

@media screen and (max-width: 1120px) {
    html.l-header__lock,
    body.l-header__lock {
        overflow: hidden;
        overscroll-behavior: none;
    }

    .l-header__inner {
        position: relative;
        z-index: 1002;
    }

    .l-header__toggle {
        position: relative;
        display: grid;
        flex: 0 0 42px;
        place-items: center;
        gap: 5px;
        width: 42px;
        min-width: 42px;
        max-width: 42px;
        height: 42px;
        min-height: 42px;
        max-height: 42px;
        margin-left: auto;
        padding: 0;
        border: 1px solid #c9d7e6;
        border-radius: 6px;
        color: #092a50;
        background: #f8fbff;
        box-shadow: 0 6px 14px rgba(9, 42, 80, 0.08);
        line-height: 1;
    }

    .l-header__nav {
        position: fixed;
        top: 0;
        right: 0;
        z-index: 1003;
        display: block;
        width: min(94vw, 440px);
        height: 100vh;
        height: 100dvh;
        max-height: 100vh;
        max-height: 100dvh;
        margin-left: 0;
        padding: 18px 22px 28px;
        background: #fff;
        box-shadow: -18px 0 36px rgba(9, 42, 80, 0.16);
        overflow-y: auto;
        overscroll-behavior: contain;
        touch-action: pan-y;
        clip-path: inset(0 0 0 100%);
        opacity: 0;
        pointer-events: none;
        visibility: hidden;
        transform: none;
        transition: clip-path 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease, visibility 0.2s ease;
        will-change: clip-path;
    }

    .l-header__head {
        position: sticky;
        top: -18px;
        z-index: 3;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        margin: -18px -22px 8px;
        padding: 18px 22px 16px;
        border-bottom: 1px solid #e6edf5;
        background: #fff;
    }

    .l-header__menutitle {
        color: #092a50;
        font-size: 13px;
        font-weight: 900;
        letter-spacing: 0.08em;
    }

    .l-header__close {
        position: relative;
        display: grid;
        flex: 0 0 42px;
        place-items: center;
        width: 42px;
        min-width: 42px;
        height: 42px;
        min-height: 42px;
        margin-left: auto;
        border: 1px solid #c9d7e6;
        border-radius: 6px;
        color: #092a50;
        background: #f8fbff;
        box-shadow: 0 6px 14px rgba(9, 42, 80, 0.08);
    }

    .l-header__close span {
        position: absolute;
        width: 18px;
        height: 2px;
        border-radius: 999px;
        background: currentColor;
    }

    .l-header__close span:nth-child(1) {
        transform: rotate(45deg);
    }

    .l-header__close span:nth-child(2) {
        transform: rotate(-45deg);
    }

    .l-header__list {
        display: grid;
        gap: 0;
    }

    .l-header__item {
        border-bottom: 1px solid #e6edf5;
    }

    .l-header__mobile {
        display: block;
    }

    .l-header__link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 56px;
        font-size: 15px;
    }

    .l-header__link::after {
        content: "\f054";
        color: #ff850b;
        font-family: "Font Awesome 6 Free";
        font-size: 12px;
        font-weight: 900;
    }

    .l-header__child {
        display: grid;
        gap: 0;
        padding: 0 0 14px 14px;
    }

    .l-header__childitem {
        border-top: 1px solid #edf3f8;
    }

    .l-header__childlink {
        position: relative;
        display: flex;
        align-items: center;
        min-height: 42px;
        padding: 8px 0 8px 18px;
        color: #44576b;
        font-size: 13px;
        font-weight: 800;
        line-height: 1.5;
    }

    .l-header__childlink::before {
        content: "";
        position: absolute;
        left: 0;
        top: 50%;
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: #ff850b;
        transform: translateY(-50%);
    }

    .l-header__cta {
        display: none;
    }

    .l-header__backdrop {
        position: fixed;
        inset: 0;
        z-index: 1001;
        display: block;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background: rgba(9, 42, 80, 0.38);
        opacity: 0;
        pointer-events: none;
        visibility: hidden;
        touch-action: none;
        transition: opacity 0.2s ease, visibility 0.2s ease;
    }

    .l-header__open .l-header__nav {
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
        clip-path: inset(0);
    }

    .l-header__open .l-header__backdrop {
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
    }

    .l-header__open .l-header__line:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .l-header__open .l-header__line:nth-child(2) {
        opacity: 0;
    }

    .l-header__open .l-header__line:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

@media screen and (max-width: 767px) {
    body {
        padding-top: calc(62 * 100vw / 767);
    }

    body.admin-bar {
        padding-top: calc((62 * 100vw / 767) + (46 * 100vw / 767));
    }

    .l-inner {
        width: min(100% - calc(28 * 100vw / 767), calc(1100 * 100vw / 767));
    }

    .l-header__inner {
        width: min(100% - calc(24 * 100vw / 767), calc(1180 * 100vw / 767));
        min-height: calc(62 * 100vw / 767);
        gap: calc(12 * 100vw / 767);
        padding: calc(16 * 100vw / 767) 0 calc(14 * 100vw / 767) calc(18 * 100vw / 767);
    }

    .l-header__sub {
        display: none;
    }

    .l-header__main {
        font-size: calc(30 * 100vw / 767);
    }

    .l-header__mark {
        width: calc(50 * 100vw / 767);
        height: calc(50 * 100vw / 767);
        border-width: calc(3 * 100vw / 767);
        border-radius: calc(8 * 100vw / 767);
        font-size: calc(28 * 100vw / 767);
    }

    .l-header__toggle {
        flex-basis: calc(50 * 100vw / 767);
        gap: calc(3 * 100vw / 767);
        width: calc(50 * 100vw / 767);
        min-width: calc(50 * 100vw / 767);
        max-width: calc(50 * 100vw / 767);
        height: calc(50 * 100vw / 767);
        min-height: calc(50 * 100vw / 767);
        max-height: calc(50 * 100vw / 767);
        border-radius: calc(6 * 100vw / 767);
    }

    .l-header__line {
        width: calc(22 * 100vw / 767);
        height: calc(2 * 100vw / 767);
        min-height: calc(2 * 100vw / 767);
    }

    .l-header__nav {
        width: min(94vw, calc(390 * 100vw / 767));
        padding: calc(16 * 100vw / 767) calc(18 * 100vw / 767) calc(24 * 100vw / 767);
    }

    .l-header__head {
        top: calc(-16 * 100vw / 767);
        margin: calc(-16 * 100vw / 767) calc(-18 * 100vw / 767) calc(8 * 100vw / 767);
        padding: calc(16 * 100vw / 767) calc(18 * 100vw / 767) calc(14 * 100vw / 767);
    }

    .l-header__menutitle {
        font-size: calc(30 * 100vw / 767);
    }

    .l-header__close {
        flex-basis: calc(42 * 100vw / 767);
        width: calc(42 * 100vw / 767);
        min-width: calc(42 * 100vw / 767);
        height: calc(42 * 100vw / 767);
        min-height: calc(42 * 100vw / 767);
        border-radius: calc(6 * 100vw / 767);
    }

    .l-header__close span {
        width: calc(18 * 100vw / 767);
        height: calc(2 * 100vw / 767);
        border-radius: calc(999 * 100vw / 767);
    }

    .l-header__link {
        min-height: calc(56 * 100vw / 767);
        font-size: calc(24 * 100vw / 767);
    }

    .l-header__link::after {
        font-size: calc(12 * 100vw / 767);
    }

    .l-header__child {
        padding: 0 0 calc(14 * 100vw / 767) calc(14 * 100vw / 767);
    }

    .l-header__childlink {
        min-height: calc(42 * 100vw / 767);
        padding: calc(8 * 100vw / 767) 0 calc(8 * 100vw / 767) calc(18 * 100vw / 767);
        font-size: calc(24 * 100vw / 767);
    }

    .l-header__childlink::before {
        width: calc(7 * 100vw / 767);
        height: calc(7 * 100vw / 767);
    }

    .l-breadcrumb {
        padding: calc(24 * 100vw / 767) 0 calc(8 * 100vw / 767);
    }

    .l-breadcrumb__list {
        font-size: calc(16 * 100vw / 767);
    }

    .l-footer__benefits,
    .l-footer__bottom {
        grid-template-columns: 1fr;
        display: grid;
    }

    .l-footer__benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: calc(18 * 100vw / 767);
        padding-bottom: calc(28 * 100vw / 767);
    }

    .l-footer__benefits li {
        display: grid;
        justify-items: center;
        gap: calc(18 * 100vw / 767);
        text-align: center;
        font-size: calc(24 * 100vw / 767);
    }

    .l-footer__benefits strong {
        font-size: calc(28 * 100vw / 767);
    }

    .l-footer__icon {
        flex-basis: calc(64 * 100vw / 767);
        width: calc(64 * 100vw / 767);
        height: calc(64 * 100vw / 767);
        font-size: calc(26 * 100vw / 767);
    }

    .l-footer__bottom {
        gap: calc(22 * 100vw / 767);
        padding-top: calc(28 * 100vw / 767);
    }

    .l-footer__nav {
        grid-template-columns: 1fr;
        gap: calc(22 * 100vw / 767);
        font-size: calc(24 * 100vw / 767);
    }

    .l-footer__group {
        gap: calc(10 * 100vw / 767);
    }

    .l-footer__link {
        padding-bottom: calc(10 * 100vw / 767);
        border-bottom-width: calc(2 * 100vw / 767);
        font-size: calc(28 * 100vw / 767);
    }

    .l-footer__child {
        gap: calc(8 * 100vw / 767);
        padding-left: calc(12 * 100vw / 767);
        padding-top: calc(4 * 100vw / 767);
    }

    .l-footer__childlink {
        min-height: calc(50 * 100vw / 767);
        padding: calc(8 * 100vw / 767) 0 calc(8 * 100vw / 767) calc(18 * 100vw / 767);
        font-size: calc(24 * 100vw / 767);
    }

    .l-footer__childlink::before {
        width: calc(7 * 100vw / 767);
        height: calc(7 * 100vw / 767);
    }

    .l-footer__copyright {
        font-size: calc(22 * 100vw / 767);
        white-space: normal;
        text-align: left;
    }
}
