:root {
    --bg: #0b1014;
    --bg-center: #17232b;

    --text: #f4f7f8;
    --muted: #a1abb2;

    --aqua: #00b9e3;
}

* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
}

html {
    background: var(--bg);
}

body {
    overflow: hidden;

    color: var(--text);

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;
}

.home {
    position: relative;

    width: 100%;
    min-height: 100svh;

    display: grid;
    place-items: center;

    overflow: hidden;

    padding:
        max(24px, env(safe-area-inset-top))
        max(24px, env(safe-area-inset-right))
        max(24px, env(safe-area-inset-bottom))
        max(24px, env(safe-area-inset-left));

    background:
        radial-gradient(
            ellipse at 50% 43%,
            rgba(36, 56, 68, .98) 0%,
            rgba(23, 35, 43, .97) 25%,
            rgba(14, 21, 26, .99) 56%,
            #0b1014 82%
        );
}

/* Лёгкая технологичная сетка */
.home::before {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;

    opacity: .16;

    background-image:
        linear-gradient(
            rgba(255,255,255,.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.025) 1px,
            transparent 1px
        );

    background-size: 48px 48px;

    mask-image:
        radial-gradient(
            ellipse at center,
            black 0%,
            rgba(0,0,0,.72) 35%,
            transparent 76%
        );
}

/* Затемнение краёв */
.home::after {
    content: "";

    position: absolute;
    inset: 0;

    pointer-events: none;

    background:
        radial-gradient(
            ellipse at center,
            transparent 32%,
            rgba(0,0,0,.10) 58%,
            rgba(0,0,0,.42) 100%
        );
}

/* Мягкие фоновые источники света */

.background-glow {
    position: absolute;

    border-radius: 50%;

    pointer-events: none;

    filter: blur(105px);
}

.glow-left {
    width: 440px;
    height: 440px;

    left: 13%;
    top: 16%;

    background: rgba(0, 185, 227, .085);
}

.glow-right {
    width: 500px;
    height: 500px;

    right: 11%;
    bottom: 4%;

    background: rgba(64, 118, 142, .07);
}

/* Центральный блок */

.hero {
    position: relative;
    z-index: 2;

    width: min(520px, 86vw);

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;

    transform: translateY(-2vh);
}

/* Круглый знак */

.logo-mark {
    display: block;

    width: clamp(125px, 10.5vw, 165px);
    height: auto;

    margin-bottom: 19px;

    filter:
        drop-shadow(0 20px 42px rgba(0,0,0,.30))
        drop-shadow(0 0 32px rgba(0,185,227,.12));
}

/* Словесный логотип */

.brand-wrap {
    position: relative;

    width: min(390px, 70vw);

    line-height: 0;
}

.brand-logo {
    display: block;

    width: 100%;
    height: auto;

    user-select: none;
    -webkit-user-drag: none;

    filter:
        drop-shadow(0 14px 34px rgba(0,0,0,.26))
        drop-shadow(0 0 24px rgba(0,185,227,.09));
}

/*
   Скрытая зона буквы К.
   Пользователь её визуально не видит.
*/
.service-hotspot {
    position: absolute;

    top: 0;
    bottom: 0;

    left: 24%;
    width: 25%;

    z-index: 3;

    background: transparent;

    cursor: default;

    -webkit-tap-highlight-color: transparent;
}

/* Подпись */

.subtitle {
    margin-top: 7px;

    padding-left: .27em;

    color: var(--muted);

    font-size: 13px;
    font-weight: 700;

    letter-spacing: .27em;

    text-transform: uppercase;
}

/* Телефон */

.phone {
    display: inline-block;

    margin-top: 28px;

    color: var(--text);

    text-decoration: none;

    font-size: 19px;
    font-weight: 500;

    letter-spacing: .035em;

    transition:
        opacity .18s ease,
        transform .18s ease;
}

.phone:hover {
    opacity: .74;
    transform: translateY(-1px);
}

/* Планшеты и телефоны */

@media (max-width: 700px) {

    .home {
        padding-left: 20px;
        padding-right: 20px;

        background:
            radial-gradient(
                ellipse at 50% 40%,
                rgba(34, 54, 66, .98) 0%,
                rgba(20, 31, 38, .99) 31%,
                #0b1014 73%
            );
    }

    .home::before {
        background-size: 34px 34px;
        opacity: .12;
    }

    .glow-left {
        width: 300px;
        height: 300px;

        left: -90px;
        top: 16%;
    }

    .glow-right {
        width: 320px;
        height: 320px;

        right: -110px;
        bottom: 6%;
    }

    .hero {
        width: min(365px, 90vw);
        transform: translateY(-1vh);
    }

    .logo-mark {
        width: clamp(110px, 30vw, 138px);
        margin-bottom: 17px;
    }

    .brand-wrap {
        width: min(310px, 76vw);
    }

    .subtitle {
        margin-top: 5px;

        font-size: 11px;
        letter-spacing: .24em;
    }

    .phone {
        margin-top: 23px;
        font-size: 17px;
    }
}

/* Низкие экраны */

@media (max-height: 650px) {

    .hero {
        transform: none;
    }

    .logo-mark {
        width: 96px;
        margin-bottom: 12px;
    }

    .brand-wrap {
        width: min(280px, 64vw);
    }

    .subtitle {
        margin-top: 3px;

        font-size: 10px;
        letter-spacing: .22em;
    }

    .phone {
        margin-top: 17px;
        font-size: 16px;
    }
}

/* Очень маленькие телефоны */

@media (max-width: 390px) {

    .hero {
        width: 94vw;
    }

    .logo-mark {
        width: 108px;
    }

    .brand-wrap {
        width: 270px;
        max-width: 76vw;
    }

    .subtitle {
        font-size: 10px;
    }

    .phone {
        font-size: 16px;
    }
}
