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

@font-face {
    font-family: Manrope;
    src: url("../fonts/manrope-latin.101877a7a906.woff2") format("woff2");
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    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 {
    font-family: Manrope, sans-serif;
    color: #243a5a;
    background: #fbfaf8;
    font-synthesis: none;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    min-width: 320px;
    min-height: 100vh;
    background:
        radial-gradient(ellipse 38% 48% at 81% 28%, rgb(208 228 245 / 66%), transparent 74%),
        radial-gradient(ellipse 44% 48% at 2% 93%, rgb(230 236 222 / 58%), transparent 77%),
        #fbfaf8;
}

.hero {
    width: min(1360px, calc(100% - 88px));
    min-height: 100vh;
    min-height: 100svh;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    align-items: center;
    gap: clamp(24px, 4vw, 74px);
}

.hero__copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 42px 0 62px;
    z-index: 1;
}

.hero__logo {
    display: block;
    width: clamp(88px, 9vw, 120px);
    height: auto;
    margin-bottom: 30px;
}

h1 {
    margin: 0;
    font-size: clamp(38px, 3.55vw, 61px);
    font-weight: 700;
    line-height: 1.16;
    letter-spacing: -.038em;
}

.hero__subtitle {
    margin: 24px 0 35px;
    color: #7a8ca5;
    font-size: clamp(19px, 1.7vw, 26px);
    font-weight: 400;
    line-height: 1.42;
}

.hero__cta {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 17px;
    min-height: 70px;
    padding: 14px 39px;
    border-radius: 999px;
    background: #3390ec;
    box-shadow: 0 13px 30px rgb(51 144 236 / 18%);
    color: #fff;
    font-size: clamp(18px, 1.5vw, 23px);
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.hero__cta:hover {
    background: #227fda;
    box-shadow: 0 16px 34px rgb(51 144 236 / 24%);
    transform: translateY(-2px);
}

.hero__cta:focus-visible {
    outline: 3px solid #243a5a;
    outline-offset: 5px;
}

.hero__cta img { flex: none; }

.hero__visual {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
    padding: 28px 0;
}

.hero__phone {
    display: block;
    width: min(100%, 590px);
    height: auto;
    max-height: 95svh;
    object-fit: contain;
    filter: drop-shadow(22px 28px 30px rgb(45 55 80 / 10%));
    transform: rotate(2deg);
}

@media (max-width: 1100px) {
    .hero { width: min(100% - 60px, 1120px); gap: 18px; }
    h1 { font-size: clamp(34px, 3.7vw, 47px); }
    .hero__phone { max-height: 82svh; }
}

@media (max-width: 767px) {
    body {
        background:
            radial-gradient(ellipse 80% 31% at 92% 76%, rgb(208 228 245 / 55%), transparent 77%),
            #fbfaf8;
    }

    .hero {
        width: min(100% - 40px, 560px);
        min-height: 100svh;
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .hero__copy { display: contents; }
    .hero__logo { order: 1; width: 77px; margin: 43px 0 18px; }
    h1 { order: 2; font-size: clamp(31px, 8.3vw, 42px); line-height: 1.2; text-align: center; }
    .hero__subtitle { order: 3; margin: 15px 0 0; font-size: clamp(17px, 4.2vw, 20px); text-align: center; }
    .hero__visual { order: 4; width: 100%; padding: 20px 8px 10px; }
    .hero__cta { order: 5; width: min(100%, 360px); min-height: 60px; margin: 0 0 24px; font-size: 18px; gap: 14px; }
    .hero__phone { width: min(100%, 410px); max-height: none; transform: rotate(1deg); }
}

@media (prefers-reduced-motion: reduce) {
    .hero__cta { transition: none; }
}
