@font-face {
    font-family: "Gilroy";
    src: url("./fonts/gilroy-light.woff") format("woff");
    font-style: normal;
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: "Gilroy";
    src: url("./fonts/gilroy-extra-bold.woff") format("woff");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

.enchip-site-header {
    --enchip-header-black: #0c0d0f;
    --enchip-header-gold: #dda02c;
    --enchip-header-silver: #c9cbcc;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: var(--enchip-header-black);
    border-bottom: 2px solid var(--enchip-header-gold);
    font-family: "Gilroy", Arial, sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5;
    letter-spacing: 0;
}

.enchip-site-header * {
    box-sizing: border-box;
}

.enchip-site-header button {
    font-family: inherit;
}

.enchip-site-header-shell {
    width: min(1500px, calc(100% - 40px));
    height: 108px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 26px;
}

.enchip-site-logo {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    flex: none;
    color: var(--enchip-header-gold);
    text-decoration: none;
}

.enchip-site-logo img {
    display: block;
    width: 140px;
    height: 98px;
    object-fit: contain;
}

.enchip-site-logo small {
    display: grid;
    gap: 1px;
    color: var(--enchip-header-gold);
    font-size: 19px;
    line-height: 1.15;
    font-weight: 300;
    letter-spacing: 0;
}

.enchip-site-logo small span {
    display: block;
}

.enchip-site-nav {
    display: flex;
    align-items: center;
    gap: 21px;
    margin-left: auto;
}

.enchip-site-nav a,
.enchip-site-nav button {
    color: var(--enchip-header-gold);
    font-size: 19px;
    font-weight: 300;
    line-height: 1.5;
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: 0;
}

.enchip-site-nav button {
    appearance: none;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
}

.enchip-site-nav a:hover,
.enchip-site-nav a.is-active,
.enchip-site-nav button:hover {
    color: var(--enchip-header-silver);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.enchip-site-nav-request {
    display: none;
}

.enchip-site-phone {
    color: var(--enchip-header-gold);
    font-size: 18px;
    font-weight: 300;
    line-height: 1.5;
    letter-spacing: 0;
    text-decoration: none;
    white-space: nowrap;
}

.enchip-site-phone:hover,
.enchip-site-phone:focus-visible {
    color: #edb33f;
}

.enchip-site-socials {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: none;
}

.enchip-site-socials.enchip-site-nav-socials {
    display: none;
}

.enchip-site-socials .enchip-site-social {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    border: 1px solid rgba(221, 160, 44, .72);
    border-radius: 50%;
    background: transparent;
    color: var(--enchip-header-gold);
    text-decoration: none;
    transition: background .15s ease, transform .15s ease;
}

.enchip-site-socials .enchip-site-social:hover {
    background: var(--enchip-header-gold);
    color: #111317;
    text-decoration: none;
    transform: translateY(-1px);
}

.enchip-site-social svg {
    width: 18px;
    height: 18px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.enchip-site-social.is-telegram svg,
.enchip-site-social.is-max svg {
    fill: currentColor;
    stroke: none;
}

.enchip-site-social .enchip-site-social-dot {
    fill: currentColor;
    stroke: none;
}

.enchip-site-request {
    appearance: none;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--enchip-header-gold);
    border-radius: 4px;
    padding: 0 18px;
    background: var(--enchip-header-gold);
    color: #111317;
    font-size: 18px;
    text-decoration: none;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0;
    white-space: nowrap;
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease, transform .15s ease;
}

.enchip-site-request:hover {
    border-color: #edb33f;
    background: #edb33f;
    color: #111317;
    transform: translateY(-1px);
}

.enchip-site-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--enchip-header-gold);
    border-radius: 4px;
    background: transparent;
    color: var(--enchip-header-gold);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

body.enchip-header-modal-open {
    overflow: hidden;
}

.enchip-header-request-modal,
.enchip-header-request-modal * {
    box-sizing: border-box;
}

.enchip-header-request-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 22px;
    color: #172033;
    font-family: "Gilroy", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.45;
    letter-spacing: 0;
}

.enchip-header-request-modal.is-open {
    display: flex;
}

.enchip-header-request-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .58);
    backdrop-filter: blur(3px);
}

.enchip-header-request-card {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    width: min(820px, 100%);
    max-height: min(780px, calc(100vh - 44px));
    overflow: auto;
    border: 1px solid #d8dee8;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .24);
    padding: 30px;
}

.enchip-header-request-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: 1px solid #d8dee8;
    border-radius: 50%;
    background: #fff;
    color: #172033;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.enchip-header-request-close:hover {
    border-color: #dda02c;
    background: #f6f7f9;
}

.enchip-header-request-intro {
    display: grid;
    align-content: start;
}

.enchip-header-request-intro h2 {
    margin: 0 0 14px;
    padding-right: 34px;
    font-size: 30px;
    line-height: 1.15;
}

.enchip-header-request-intro > p {
    max-width: 680px;
    margin: 0;
    color: #667085;
}

.enchip-header-request-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px 16px;
    align-content: start;
}

.enchip-header-request-field {
    display: grid;
    gap: 6px;
    color: #344054;
    font-weight: 700;
}

.enchip-header-request-field input {
    width: 100%;
    min-height: 46px;
    border: 1px solid #d8dee8;
    border-radius: 8px;
    background: #fff;
    color: #172033;
    padding: 12px 13px;
    font: inherit;
}

.enchip-header-request-field input:focus {
    outline: 0;
    border-color: #dda02c;
    box-shadow: 0 0 0 3px rgba(221, 160, 44, .18);
}

.enchip-header-request-city-wrap {
    position: relative;
    display: grid;
    align-self: start;
}

.enchip-header-city-suggestions {
    display: none;
    position: relative;
    z-index: 5;
}

.enchip-header-city-suggestions.is-open {
    display: block;
}

.enchip-header-city-suggestions-list {
    position: absolute;
    top: 4px;
    left: 0;
    right: 0;
    max-height: 230px;
    overflow: auto;
    border: 1px solid #d8dee8;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .16);
    padding: 6px;
}

.enchip-header-city-suggestion {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    border: 0;
    border-radius: 6px;
    background: #fff;
    color: #172033;
    padding: 9px 10px;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.enchip-header-city-suggestion:hover,
.enchip-header-city-suggestion.is-active {
    background: #f6f7f9;
}

.enchip-header-city-suggestion strong {
    font-size: 15px;
}

.enchip-header-city-suggestion small {
    color: #667085;
    font-size: 12px;
    text-align: right;
}

.enchip-header-request-consents {
    display: grid;
    grid-column: 1 / -1;
    gap: 8px;
    margin-top: 2px;
}

.enchip-header-request-consents label {
    display: flex;
    gap: 9px;
    align-items: flex-start;
    color: #475467;
    font-size: 13px;
    line-height: 1.35;
}

.enchip-header-request-consents input {
    margin-top: 2px;
}

.enchip-header-request-consents a {
    color: #666b73;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.enchip-header-request-consents a:hover {
    color: #454a52;
}

.enchip-header-request-submit {
    grid-column: 1 / -1;
    min-height: 48px;
    border: 0;
    border-radius: 4px;
    background: #dda02c;
    color: #111317;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.enchip-header-request-submit:hover {
    background: #edb33f;
}

.enchip-header-request-submit:focus-visible {
    outline: 2px solid #111317;
    outline-offset: 3px;
}

.enchip-header-request-submit:disabled {
    opacity: .65;
    cursor: wait;
}

.enchip-header-request-status {
    grid-column: 1 / -1;
    min-height: 20px;
    margin: 0;
    color: #667085;
    font-size: 14px;
}

.enchip-header-request-status.is-error {
    color: #b92518;
}

.enchip-header-request-status.is-success {
    color: #0a766b;
    background: #edf6f4;
    border-left: 3px solid #0a766b;
    padding: 12px 14px;
}

.enchip-header-request-modal.is-submitted .enchip-header-request-intro > p,
.enchip-header-request-modal.is-submitted .enchip-header-request-form > :not(.enchip-header-request-status) {
    display: none;
}

.enchip-cookie-notice {
    position: fixed;
    z-index: 900;
    right: 20px;
    bottom: 20px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    width: min(620px, calc(100% - 40px));
    border: 1px solid #dda02c;
    border-radius: 8px;
    background: #0c0d0f;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .25);
    color: #c8cbcf;
    padding: 16px 18px;
}

.enchip-cookie-notice p {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
}

.enchip-cookie-notice a {
    color: #dda02c;
    font-weight: 700;
    text-underline-offset: 3px;
}

.enchip-cookie-notice button {
    min-height: 40px;
    border: 1px solid #dda02c;
    border-radius: 4px;
    background: #dda02c;
    color: #111317;
    padding: 0 18px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.enchip-cookie-notice button:hover {
    background: #edb33f;
}

@media (min-width: 1301px) and (max-width: 1365px) {
    .enchip-site-header-shell {
        gap: 8px;
    }
}

@media (max-width: 1300px) {
    .enchip-site-logo small {
        display: none;
    }
}

@media (max-width: 1180px) {
    .enchip-site-nav {
        display: none;
    }

    .enchip-site-phone {
        margin-left: auto;
    }

    .enchip-site-menu-toggle {
        display: block;
    }

    .enchip-site-nav.is-open {
        position: absolute;
        display: grid;
        top: 108px;
        left: 0;
        right: 0;
        margin: 0;
        padding: 18px 20px;
        background: var(--enchip-header-black);
        border-bottom: 2px solid var(--enchip-header-gold);
    }

    .enchip-site-nav.is-open .enchip-site-nav-request {
        display: block;
        border-top: 1px solid rgba(221, 160, 44, .45);
        padding-top: 14px;
        text-align: left;
    }

    .enchip-site-nav.is-open .enchip-site-nav-socials {
        display: flex;
        padding-top: 4px;
    }
}

@media (max-width: 980px) {
    .enchip-site-phone {
        display: none;
    }

    .enchip-site-header-shell > .enchip-site-socials {
        margin-left: auto;
    }
}

@media (max-width: 780px) {
    .enchip-site-header-shell {
        width: min(100% - 28px, 1240px);
        height: 84px;
        gap: 12px;
    }

    .enchip-site-logo img {
        width: 93px;
        height: 73px;
    }

    .enchip-site-header-shell > .enchip-site-socials,
    .enchip-site-header-shell > .enchip-site-request {
        display: none;
    }

    .enchip-site-phone {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
        color: var(--enchip-header-gold);
        font-size: 15px;
        font-weight: 700;
        line-height: 1.1;
    }

    .enchip-site-menu-toggle {
        display: block;
        flex: none;
        margin-left: 0;
    }

    .enchip-site-nav.is-open {
        top: 84px;
    }

    .enchip-header-request-modal {
        align-items: flex-end;
        padding: 10px;
    }

    .enchip-header-request-card {
        gap: 20px;
        max-height: calc(100vh - 20px);
        border-radius: 8px;
        padding: 20px;
    }

    .enchip-header-request-form {
        grid-template-columns: minmax(0, 1fr);
    }

    .enchip-cookie-notice {
        right: 14px;
        bottom: 14px;
        grid-template-columns: minmax(0, 1fr);
        width: calc(100% - 28px);
        gap: 12px;
    }

    .enchip-cookie-notice button {
        width: 100%;
    }
}

@media (max-width: 340px) {
    .enchip-site-header-shell {
        width: calc(100% - 20px);
        gap: 8px;
    }

    .enchip-site-logo img {
        width: 86px;
        height: 68px;
    }

    .enchip-site-phone {
        font-size: 14px;
    }

    .enchip-site-menu-toggle {
        width: 42px;
        height: 42px;
    }
}
