@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url("/fonts/manrope-cyrillic.woff2?v=2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url("/fonts/manrope-latin-ext.woff2?v=2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url("/fonts/manrope-latin.woff2?v=2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --gold: #d3ad72;
    --gold-2: #ffefd4;
    --side: 40px;
    color-scheme: dark;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #000;
    color: var(--gold-2);
    font-family: Manrope, sans-serif;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.frame {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    padding: 0 var(--side);
    background: #000;
}

.top {
    position: relative;
    flex: none;
    display: flex;
    align-items: center;
    gap: clamp(10px, 1.4vw, 28px);
    height: clamp(68px, 12vh, 124px);
}

.brand {
    display: flex;
    height: 68%;
    width: auto;
    flex: none;
}

.brand img {
    height: 100%;
    width: auto;
}

.divider {
    height: 62%;
    width: auto;
    flex: none;
}

.tagline {
    margin: 0;
    flex: 0 1 220px;
    min-width: 9.5em;
    color: #ffefd4;
    font-size: clamp(12px, 1.05vw, 16px);
    font-weight: 400;
    line-height: 1.25;
    text-shadow: 0 6.7px 6.7px rgba(0, 0, 0, 0.25);
}

.discuss {
    position: relative;
    margin-left: auto;
    height: clamp(36px, 5.2vh, 48px);
    padding: 0 1.3em;
    white-space: nowrap;
    border: 0.77px solid #d3ad72;
    border-radius: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    background-image: linear-gradient(5deg, #d3ad72 0%, #ffefd4 94%);
    -webkit-background-clip: text;
    background-clip: text;
    font-size: clamp(12px, 1.05vw, 16.8px);
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.02em;
    text-decoration: none;
    text-transform: uppercase;
    text-shadow: none;
}

.phone {
    display: flex;
    align-items: baseline;
    gap: 0.25em;
    color: transparent;
    background-image: linear-gradient(5deg, #d3ad72 0%, #ffefd4 94%);
    -webkit-background-clip: text;
    background-clip: text;
    text-decoration: none;
    text-shadow: 0 6.7px 6.7px rgba(0, 0, 0, 0.25);
    font-weight: 500;
    font-size: clamp(18px, 2vw, 32px);
    line-height: 1;
    white-space: nowrap;
}

.phone span {
    font-weight: 400;
    font-size: 0.7em;
}

.msg {
    width: clamp(26px, 2.5vw, 36px);
    height: auto;
    flex: none;
}

.msg img { width: 100%; height: auto; display: block; }

.board {
    flex: 1;
    min-height: 0;
    width: min(100%, 1281px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(3, minmax(0, 1fr));
    gap: clamp(8px, 1.2vw, 21px);
    padding: 4px 0 8px;
}

.service {
    position: relative;
    container-type: size;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    background: #000;
    border: 0.85px solid #d3ad72;
    border-radius: 8.5px;
}

.service h2 {
    position: absolute;
    left: 6.5%;
    top: 8%;
    width: 86%;
    margin: 0;
    color: #fff;
    font-size: min(26px, 12cqh, 6.3cqi);
    font-weight: 700;
    line-height: 1.15;
    text-transform: uppercase;
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.service h2 em {
    font-style: normal;
    background: linear-gradient(4.7deg, #d3ad72 0%, #ffefd4 127%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.25));
}

.service ul {
    position: absolute;
    left: 6.5%;
    top: 26%;
    width: 58%;
    margin: 0;
    padding: 0 0 0 1.15em;
}

.service li {
    color: #cdcdcd;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.75;
    white-space: nowrap;
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

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

.service a:hover,
.service a:focus-visible {
    color: #ffefd4;
}

.service img {
    position: absolute;
    right: 3%;
    top: 29%;
    width: 34%;
    height: 61.7%;
    object-fit: cover;
    opacity: 0.7;
    pointer-events: none;
}

.foot {
    position: relative;
    flex: none;
    height: clamp(36px, 6vh, 56px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #cdcdcd;
    font-size: clamp(12px, 1vw, 16px);
    line-height: 1.2;
    text-shadow: 0 6.7px 6.7px rgba(0, 0, 0, 0.25);
}

.foot nav {
    display: flex;
    gap: 14px;
}

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

.foot a:hover { color: #ffefd4; }

@media (max-width: 1100px) {
    html, body {
        height: auto;
        min-height: 100%;
        overflow: auto;
    }

    .frame {
        position: relative;
        min-height: 100dvh;
    }

    .board {
        width: 100%;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: none;
        padding-bottom: 16px;
    }

    .service { aspect-ratio: 413 / 266; }
}

@media (max-width: 980px) {
    .board { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
    :root { --side: 16px; }

    .top {
        height: 64px;
        gap: 10px;
    }

    .divider,
    .tagline,
    .discuss { display: none; }

    .phone {
        margin-left: auto;
        font-size: 16px;
    }

    .msg { width: 30px; }

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

    .service img {
        width: 28%;
        right: 2%;
    }

    .foot {
        gap: 10px;
        font-size: min(11px, 2.85vw);
        white-space: nowrap;
    }

    .foot nav { gap: 6px; }
}
