/* version 1.0 */
@font-face {
    font-family: 'Manrope';
    src: url('./fonts/Manrope-VariableFont_wght.ttf');
    font-weight: 200 800;
    font-display: swap;
}

@font-face {
    font-family: 'Geologica';
    src: url('./fonts/Geologica-VariableFont.ttf');
    font-weight: 100 900;
    font-display: swap;
}

:root {
    --theme-background: #020a1e;
    --theme-text: #fff;
    --theme-main-font: 'Manrope';
    --theme-secondary-font: 'Geologica';
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    text-rendering: optimizeLegibility;
    line-height: 1.5;
    background-color: var(--theme-background);
    font-family: var(--theme-main-font);
    color: var(--theme-text);
}

.container {
    max-width: 1920px;
    margin: auto;
    padding: 0 120px;
}

.grecaptcha-badge { visibility: hidden; }

.block-title {
    font-size: 48px;
    font-family: var(--theme-secondary-font);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 48px;
}

.block-title::before {
    content: '';
    background-image: url('./icons/icon-wave-pseudo.svg');
    background-repeat: no-repeat;
    max-width: 84px;
    min-width: 84px;
    height: 10px;
    z-index: 10;
}

.hero-wrapper {
    background-image:
        url('./images/grid-bg.png'),
        linear-gradient(180deg, #000a1f 0%, #000c2f 100%);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
}

header {
    padding-top: 40px;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    max-width: 300px;
}

.header-menu {
    display: flex;
    gap: 60px;
    font-size: 26px;
}

.header-menu a {
    text-decoration: none;
    color: var(--theme-text);
}

#mobile-menu-button {
    display: none;
}

.hero-section {
    padding-top: 120px;
    background-image: url('./images/cloud-bg.png');
    background-repeat: no-repeat;
    background-position: center top;
}

.hero-section .container {
    display: flex;
    justify-content: space-between;
}

.hero-section .container::after {
    content: '';
    background-image: url('./images/person-bg.png');
    background-repeat: no-repeat;
    background-size: 100%;
    width: 718px;
    height: auto;
}

.hero-section__inner {
    padding-bottom: 330px;
}

.hero-section__title {
    font-size: 80px;
    font-family: var(--theme-secondary-font);
    line-height: 110%;
    max-width: 630px;
    padding-top: 20px;
    background-image: url('./icons/icon-bulb.svg');
    background-repeat: no-repeat;
    background-position: top -40px right -20px;
    background-size: 200px;
    margin-bottom: 40px;
}

.hero-section__desc {
    font-size: 24px;
}

.divider {
    background-image: url('./images/wave-bg.png');
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
    height: 300px;
    margin-top: -290px;
}

.services {
    padding: 80px 0;
}

.services .container::before {
    content: 'Услуги';
    display: block;
    text-shadow:
      -1px -1px 0 white,
      1px -1px 0 white,
      -1px 1px 0 white,
      1px 1px 0 white;
    color: #020a1e;
    font-size: 120px;
    font-weight: 900;
    font-family: var(--theme-secondary-font);
    opacity: 0.05;
    margin-bottom: -110px;
    z-index: 0;
    text-transform: uppercase;
    letter-spacing: 12px;
    text-align: center;
}

.services__inner {
    display: flex;
}

.services__inner > * {
    flex: 1;
}

.services__left {
    background-image: url('./images/services-bg.png');
    background-repeat: no-repeat;
    background-size: 85%;
    background-position: center;
}

.services__right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.services__item {
    border-radius: 8px;
    padding: 25px 30px 23px 30px;
    width: 520px;
    box-shadow: 0 10px 60px 0 rgba(0, 0, 0, 0.1);
    background: #292738;
    display: flex;
    align-items: center;
    gap: 25px;
}

.services__item-title {
    font-family: var(--theme-main-font);
    font-weight: 600;
    font-size: 24px;
    line-height: 120%;
    color: #fff;
    margin-bottom: 7px;
}

.services__item-desc {
    font-family: var(--theme-secondary-font);
    font-weight: 400;
    font-size: 16px;
    line-height: 175%;
    color: #67687a;
}

.services__item::before {
    content: '';
    background-repeat: no-repeat;
    background-size: 100%;
    max-width: 70px;
    min-width: 70px;
    height: 70px;
}

.services__item.s1 {
    margin-left: -150px;
}

.services__item.s1::before {
    background-image: url('./icons/icon-services-1.svg');
}

.services__item.s2::before {
    background-image: url('./icons/icon-services-2.svg');
}

.services__item.s3 {
    margin-right: -150px;
}

.services__item.s3::before {
    background-image: url('./icons/icon-services-3.svg');
}

.services__item.s4 {
    margin-left: -170px;
}

.services__item.s4::before {
    background-image: url('./icons/icon-services-4.svg');
}

.services__item.s5 {
    margin-left: -350px;
}

.services__item.s5::before {
    background-image: url('./icons/icon-services-5.svg');
}

.contact-form {
    padding: 120px 0;
}

.contact-form .container {
    display: flex;
}

.contact-form .container > * {
    flex: 1;
}

.contact-form__left {
    background-image: url('./images/contact-form-bg.png');
    background-repeat: no-repeat;
    background-size: 80%;
    background-position: center;
}

.contact-form__title {
    text-align: left;
    align-items: flex-start;
}

.contact-form__right {
    position: relative;
}

.contact-form__right::before {
    content: 'Напишите';
    display: block;
    text-shadow:
      -1px -1px 0 white,
      1px -1px 0 white,
      -1px 1px 0 white,
      1px 1px 0 white;
    color: #020a1e;
    font-size: 70px;
    font-weight: 900;
    font-family: var(--theme-secondary-font);
    opacity: 0.05;
    margin-bottom: -65px;
    z-index: 0;
    text-transform: uppercase;
    letter-spacing: 10px;
    text-align: left;
}

.contact-form__right form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-form__right input,
.contact-form__right textarea {
    max-width: 100%;
    min-width: 100%;
    font-family: var(--theme-main-font);
    font-weight: 400;
    font-size: 16px;
    color: #a8adb3;
    border-radius: 4px;
    padding: 16px;
    outline: none;
    border: none;
}

.contact-form__right input[type=submit] {
    width: max-content;
    background: linear-gradient(270deg, #186ef2 0%, #6d18ef 100%);
    padding: 16px 48px;
    color: #fff;
    cursor: pointer;
}

@media (max-width: 1770px) {
    .container {
        padding: 0 80px;
    }
    .hero-section .container::after {
        width: 600px;
    }
}

@media (max-width: 1440px) {
    .container {
        padding: 0 60px;
    }
    .header-menu {
        font-size: 24px;
        gap: 40px;
    }
    .hero-section {
        padding-top: 80px;
        background-size: contain;
    }
    .hero-section .container::after {
        width: 500px;
    }
    .hero-section__inner {
        padding-bottom: 200px;
    }
    .hero-section__title {
        font-size: 72px;
        max-width: 580px;
    }
    .services__item.s3 {
        margin-right: -50px;
    }
}

@media (max-width: 1200px) {
    .logo {
        max-width: 250px;
    }
    .header-menu {
        font-size: 22px;
    }
    .hero-section .container::after {
        width: 400px;
    }
    .hero-section__inner {
        padding-bottom: 100px;
    }
    .hero-section__title {
        font-size: 64px;
        max-width: 525px;
    }
    .hero-section__desc {
        font-size: 20px;
    }
}

@media (max-width: 1024px) {
    .header-menu {
        display: none;
    }
    #mobile-menu-button {
        display: block;
        background-image: url('./icons/icon-burger-menu.svg');
        background-repeat: no-repeat;
        width: 28px;
        height: 23px;
        cursor: pointer;
    }
    .hero-section .container {
        position: relative;
    }
    .hero-section .container::after {
        height: 400px;
        position: absolute;
        top: 0;
        right: 40px;
        z-index: 0;
        opacity: 0.5;
    }
    .hero-section__inner {
        z-index: 50;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 40px;
    }
    .hero-section__title {
        max-width: 100%;
        font-size: 10.5vw;
    }
    .services {
        padding: 20px 0;
    }
    .services .container::before {
        font-size: 64px;
        margin-bottom: -60px;
    }
    .services__left,
    .contact-form__left {
        display: none;
    }
    .services__item {
        width: 100%;
    }
    .services__item.s1,
    .services__item.s2,
    .services__item.s3,
    .services__item.s4,
    .services__item.s5 {
        margin-left: 0;
        margin-right: 0;
    }
    .contact-form__right {
        max-width: 100%;
    }
}

@media (max-width: 580px) {
    .block-title {
        font-size: 36px;
    }
    .hero-section__title {
        font-size: 10vw;
        background-position: top -20px right 0;
        background-size: 120px;
    }
    .services__item {
        flex-direction: column;
    }
    .contact-form__right::before {
        font-size: 48px;
        margin-bottom: -40px;
    }
}

@media (max-width: 425px) {
    .container {
        padding: 0 30px;
    }
    .logo {
        max-width: 200px;
    }
    .hero-section {
        padding-top: 40px;
    }
    .hero-section .container::after {
        width: 80%;
        height: 100%;
    }
    .hero-section__title {
        margin-bottom: 20px;
        background-position: top -5px right 15px;
        background-size: 100px;
    }
    .hero-section__desc {
        font-size: 18px;
    }
    .services .container::before {
        font-size: 48px;
        margin-bottom: -50px;
    }
    .contact-form__right::before {
        font-size: 36px;
        margin-bottom: -35px;
    }
}

@media (max-width: 375px) {
    .hero-section__title {
        background-position: top -10px right;
    }
    .hero-section__desc {
        font-size: 16px;
    }
    .contact-form__right::before {
        font-size: 30px;
        margin-bottom: -30px;
    }
}

@media (max-width: 320px) {
    .logo {
        max-width: 170px;
    }
    .hero-section__title {
        background-position: top -15px right -15px;
    }
}