/* =========================================================
   CONTACT PAGE
========================================================= */

.contact-page {
    background: #020a10;
    color: #fff;
}

.contact-container {
    width: calc(100% - 120px);
    max-width: 1450px;
    margin: 90px auto;
}


/* =========================================================
   CONTACT HERO
========================================================= */
.contact-hero {
    position: relative;

    min-height: 480px;

    display: flex;
    align-items: center;

    overflow: hidden;

    border-bottom: 1px solid rgba(40, 160, 235, .18);

    background:
        linear-gradient(
            90deg,
            rgba(2, 10, 16, .98) 0%,
            rgba(2, 10, 16, .92) 32%,
            rgba(2, 10, 16, .45) 58%,
            rgba(2, 10, 16, .05) 100%
        ),
        url("../images/contact/contact-hero-bg.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


/* =========================================================
   HERO INNER
========================================================= */

.contact-hero__inner {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: 52% 48%;

    align-items: center;

    min-height: 480px;
}


/* =========================================================
   LEFT CONTENT
========================================================= */

.contact-hero__content {
    position: relative;
    z-index: 3;

    padding-left: 22px;
}

.contact-hero__eyebrow {
    display: flex;
    align-items: center;

    gap: 13px;

    margin-bottom: 22px;

    color: #079cff;

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

    letter-spacing: .08em;
}

.contact-hero__eyebrow > span {
    display: block;

    width: 28px;
    height: 1px;

    background: #079cff;
}


/* =========================================================
   TITLE
========================================================= */

.contact-hero h1 {
    margin: 0 0 26px;

    color: #fff;

    font-size: clamp(42px, 4vw, 64px);
    font-weight: 800;

    line-height: .98;

    letter-spacing: -.045em;

    text-transform: uppercase;
}

.contact-hero h1 strong {
    color: #078ef0;

    font-weight: 800;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.contact-hero__content > p {
    max-width: 570px;

    margin: 0;

    color: #b7c3cc;

    font-size: 16px;

    line-height: 1.65;
}


/* =========================================================
   RIGHT VISUAL
========================================================= */

.contact-hero__visual {
    position: relative;

    width: 100%;
    height: 390px;
}


/* =========================================================
   GLOW CIRCLES
========================================================= */

.contact-hero__circle {
    position: absolute;

    border-radius: 50%;

    pointer-events: none;
}

.contact-hero__circle--1 {
    top: 50%;
    left: 50%;

    width: 330px;
    height: 330px;

    transform: translate(-50%, -50%);

    border: 1px solid rgba(0, 153, 255, .42);

    box-shadow:
        0 0 35px rgba(0, 145, 255, .12),
        inset 0 0 35px rgba(0, 145, 255, .04);
}

.contact-hero__circle--2 {
    top: 50%;
    left: 50%;

    width: 245px;
    height: 245px;

    transform: translate(-50%, -50%);

    border: 1px solid rgba(0, 153, 255, .17);
}


/* =========================================================
   DECORATIVE LINES
========================================================= */

.contact-hero__visual::before,
.contact-hero__visual::after {
    content: "";

    position: absolute;

    top: 50%;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(0, 153, 255, .65),
            transparent
        );

    pointer-events: none;
}

.contact-hero__visual::before {
    left: 3%;

    width: 94%;

    transform: rotate(-11deg);
}

.contact-hero__visual::after {
    left: 10%;

    width: 82%;

    transform: rotate(15deg);

    opacity: .45;
}


/* =========================================================
   MESSAGE CARD
========================================================= */

.contact-hero__message {
    position: absolute;

    top: 50%;
    left: 50%;

    z-index: 5;

    transform: translate(-50%, -50%);

    width: 300px;
    min-height: 125px;

    box-sizing: border-box;

    display: flex;
    align-items: center;

    gap: 20px;

    padding: 26px 28px;

    border: 1px solid rgba(7, 156, 255, .70);
    border-radius: 10px;

    background:
        linear-gradient(
            135deg,
            rgba(5, 29, 45, .96),
            rgba(2, 14, 23, .96)
        );

    box-shadow:
        0 0 25px rgba(0, 145, 255, .16),
        0 0 70px rgba(0, 145, 255, .08);

    color: #aebcc7;

    font-size: 14px;

    line-height: 1.45;
}

.contact-hero__message strong {
    color: #fff;

    font-size: 16px;
    font-weight: 700;
}


/* =========================================================
   MESSAGE ICON
========================================================= */

.contact-hero__message-icon {
    flex: 0 0 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 52px;
    height: 52px;

    border: 1px solid rgba(7, 156, 255, .50);
    border-radius: 50%;

    background: rgba(7, 156, 255, .07);

    color: #079cff;

    box-shadow:
        0 0 18px rgba(7, 156, 255, .10);
}

.contact-hero__message-icon svg {
    width: 27px;
    height: 27px;

    fill: none;

    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1000px) {

    .contact-container {
        width: calc(100% - 60px);
    }

    .contact-hero__inner {
        grid-template-columns: 55% 45%;
    }

    .contact-hero h1 {
        font-size: 46px;
    }

    .contact-hero__circle--1 {
        width: 280px;
        height: 280px;
    }

    .contact-hero__circle--2 {
        width: 205px;
        height: 205px;
    }

    .contact-hero__message {
        width: 260px;
    }
}


@media (max-width: 760px) {

    .contact-container {
        width: calc(100% - 36px);
    }

    .contact-hero {
        padding: 65px 0 45px;
    }

    .contact-hero__inner {
        grid-template-columns: 1fr;

        min-height: auto;
    }

    .contact-hero__content {
        padding-left: 0;
    }

    .contact-hero h1 {
        font-size: 40px;
    }

    .contact-hero__visual {
        height: 330px;

        margin-top: 25px;
    }

    .contact-hero__content > p {
        font-size: 15px;
    }
}


@media (max-width: 480px) {

    .contact-hero h1 {
        font-size: 34px;
    }

    .contact-hero__visual {
        height: 290px;
    }

    .contact-hero__circle--1 {
        width: 245px;
        height: 245px;
    }

    .contact-hero__circle--2 {
        width: 180px;
        height: 180px;
    }

    .contact-hero__message {
        width: 235px;

        padding: 21px 20px;
    }
}

/* =========================================================
   CONTACT MAIN
========================================================= */

.contact-main {
    position: relative;
    padding: 55px 0 65px;

    background:
        radial-gradient(
            circle at 35% 0%,
            rgba(7, 156, 255, .08),
            transparent 38%
        ),
        #020b12;

    border-bottom: 1px solid rgba(40, 160, 235, .18);
}


/* =========================================================
   LAYOUT
========================================================= */

.contact-main__inner {
    display: grid;
    grid-template-columns: minmax(0, 2.15fr) minmax(280px, 1fr);

    gap: 20px;

    align-items: stretch;
}


/* =========================================================
   FORM BLOCK
========================================================= */

.contact-main__form {
    position: relative;

    min-width: 0;

    padding: 32px 34px;

    border: 1px solid rgba(7, 156, 255, .30);
    border-radius: 10px;

    background:
        linear-gradient(
            145deg,
            rgba(5, 26, 41, .96),
            rgba(2, 14, 23, .98)
        );

    box-shadow:
        0 20px 60px rgba(0, 0, 0, .18);
}


/* blue detail at top */

.contact-main__form::before {
    content: "";

    position: absolute;

    top: -1px;
    left: 34px;

    width: 115px;
    height: 1px;

    background: #079cff;

    box-shadow:
        0 0 12px rgba(7, 156, 255, .65);
}


/* =========================================================
   SIDEBAR
========================================================= */

.contact-main__sidebar {
    position: relative;

    padding: 32px 30px;

    border: 1px solid rgba(7, 156, 255, .30);
    border-radius: 10px;

    background:
        linear-gradient(
            145deg,
            rgba(5, 26, 41, .96),
            rgba(2, 14, 23, .98)
        );

    box-shadow:
        0 20px 60px rgba(0, 0, 0, .18);
}

.contact-main__sidebar::before {
    content: "";

    position: absolute;

    top: -1px;
    left: 30px;

    width: 90px;
    height: 1px;

    background: #079cff;

    box-shadow:
        0 0 12px rgba(7, 156, 255, .65);
}


/* =========================================================
   SIDEBAR HEADING
========================================================= */

.contact-main__sidebar-head {
    margin-bottom: 24px;
}

.contact-main__sidebar-head h2 {
    margin: 0 0 6px;

    color: #fff;

    font-size: 22px;
    font-weight: 700;
}

.contact-main__sidebar-head p {
    margin: 0;

    color: #8d9da9;

    font-size: 12px;
    line-height: 1.5;
}


/* =========================================================
   CONTACTS
========================================================= */

.contact-main__contacts {
    display: flex;
    flex-direction: column;

    gap: 17px;

    padding-bottom: 24px;

    border-bottom: 1px solid rgba(255, 255, 255, .10);
}

.contact-main__contact {
    display: flex;
    align-items: center;

    gap: 14px;
}

.contact-main__contact-icon {
    flex: 0 0 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    border-radius: 50%;

    background: linear-gradient(
        135deg,
        #0878e9,
        #079cff
    );

    color: #fff;

    box-shadow:
        0 0 18px rgba(7, 156, 255, .20);
}

.contact-main__contact-icon svg {
    width: 19px;
    height: 19px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-main__contact > div:last-child {
    display: flex;
    flex-direction: column;

    gap: 2px;
}

.contact-main__contact span {
    color: #fff;

    font-size: 12px;
    font-weight: 600;
}

.contact-main__contact a,
.contact-main__contact strong {
    color: #aebbc5;

    font-size: 12px;
    font-weight: 400;

    text-decoration: none;
}

.contact-main__contact a {
    transition: color .2s ease;
}

.contact-main__contact a:hover {
    color: #079cff;
}


/* =========================================================
   WHY CONTACT US
========================================================= */

.contact-main__why {
    padding-top: 20px;
}

.contact-main__why h3 {
    margin: 0 0 22px;

    color: #fff;

    font-size: 17px;
    font-weight: 700;
}

.contact-main__benefit {
    display: flex;
    align-items: center;

    gap: 16px;

    margin-bottom: 19px;
}

.contact-main__benefit:last-child {
    margin-bottom: 0;
}

.contact-main__benefit-icon {
    flex: 0 0 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;

    border: 1px solid rgba(7, 156, 255, .38);
    border-radius: 7px;

    background: rgba(7, 156, 255, .07);

    color: #079cff;
}

.contact-main__benefit-icon svg {
    width: 20px;
    height: 20px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-main__benefit strong {
    display: block;

    margin-bottom: 4px;

    color: #fff;

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

.contact-main__benefit p {
    margin: 0;

    color: #8295a2;

    font-size: 11px;
    line-height: 1.45;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1000px) {

    .contact-main__inner {
        grid-template-columns: 1fr;
    }

    .contact-main__sidebar {
        display: grid;
        grid-template-columns: 1fr 1fr;

        gap: 30px;
    }

    .contact-main__sidebar-head {
        grid-column: 1 / -1;

        margin-bottom: 0;
    }

    .contact-main__contacts {
        padding: 0 30px 0 0;

        border-right: 1px solid rgba(255, 255, 255, .10);
        border-bottom: 0;
    }

    .contact-main__why {
        padding-top: 0;
    }
}


@media (max-width: 650px) {

    .contact-main {
        padding: 40px 0;
    }

    .contact-main__form,
    .contact-main__sidebar {
        padding: 24px 20px;
    }

    .contact-main__sidebar {
        display: block;
    }

    .contact-main__sidebar-head {
        margin-bottom: 24px;
    }

    .contact-main__contacts {
        padding: 0 0 24px;

        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .10);
    }

    .contact-main__why {
        padding-top: 20px;
    }
}