::selection {
    background: #2E85EC;
}

:root {
    --color-accent: #1E3685;
    --color-accent-light: #4062C4;
    --color-accent-lighter: #99ABF6;
    --color-btn-hover: #4062C4;
    --color-txt: #000;
    --color-txt-gray: #8d8c8c;
    --color-bg: #E7ECF2;
    --color-bg-gray: #E7ECF2;
    --color-border: #E7ECF2;
    --color-gray-light: #C4D1E3;
    --color-border-focus: #99ABF6;
    --color-input: #F6F7F7;
    --color-red: #D43939;
    --color-red-bg: #ff46460d;
    --color-green: #78c578;
    --color-green-dark: #47a720;
    --font-size-h1: 35px;
    --font-size-h2: 24px;
    --font-size-h3: 20px;
    --font-size-h4: 16px;
    --font-size-p: 14px;
    --font-size-p-min: 0.85em;
    --font-size-p-max: 1.15em;
    --family-p: OpenSans, sans-serif;
    --family-serif: IBMPlexSerif, sans-serif;
    --radius: 2em;
    --radius-inp: 6px;
    --padding-box: 1em;
    --space: 100px;
    --space-05: calc(var(--space) / 2);
    --shadow: 0px 0px 12px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0px 0px 20px rgba(0, 0, 0, 0.15);
}

html {
    font-size: 16px;
}

body {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.4;
    color: #fff;
    background-color: #6098C9;
    background-image: url(../img/bg.jpg);
    margin: 0;
    box-sizing: border-box;
    padding: 3em 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 100vh;
}

body * {
    box-sizing: border-box;
}

.container {
    max-width: 1700px;
    padding: 0 25px;
    box-sizing: content-box;
    margin-left: auto;
    margin-right: auto;
}

img {
    max-width: 100%;
}

a {
    font-weight: bold;
    text-decoration: none;
    color: inherit;
}

a:hover {
    text-decoration: underline;
}

a:focus, button:focus {
    outline: none !important;
}

h1, h2, h3 {
    line-height: 1.2;
    font-family: var(--family-h);
}

:is(h1, h2, h3):not(:last-child) {
    margin-bottom: 0.7em;
}

:is(h1, h2, h3, h4):first-child {
    margin-top: 0;
}

:is(h1, h2, h3, h4):not(:first-child) {
    margin-top: 1em;
}

h2 {
    margin-bottom: 1em;
}

h1,
.fs_h1 {
    font-size: var(--font-size-h1);
}

h2,
.fs_h2,
.single-post h1 {
    font-size: var(--font-size-h2);
}

h3,
.fs_h3 {
    font-size: var(--font-size-h3);
}

h4,
.fs_h4 {
    font-size: var(--font-size-h4);
}

.fs_p_min {
    font-size: var(--font-size-p-min);
}

.fs_p_max {
    font-size: var(--font-size-p-max);
}

.fs_p_normal {
    font-size: 1rem;
}

p {
    margin-top: 0;
    margin-bottom: 0.8em;
}

:last-child {
    margin-bottom: 0;
}

ul {
    margin-top: 0;
    padding-left: 0.9em;
}

ul:not(:last-child) {
    margin-bottom: 0.8em;
}

li:not(:last-child) {
    margin-bottom: 0.5em;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.5em;
    background: var(--color-accent);
    color: #fff;
    border-radius: var(--radius-inp);
    border: none;
    padding: 0.7em 1.5em;
    line-height: 1;
    font-weight: bold;
}

span.btn {
    cursor: pointer;
}

.btn:hover,
.btn:focus,
.btn.active {
    background: var(--color-btn-hover);
    border-color: var(--color-btn-hover);
    color: #fff;
}

.btn[disabled], .btn.disabled {
    opacity: 0.3;
}

input:not([type="checkbox"]):not([type="radio"]), textarea, select {
    font-family: inherit;
    color: inherit;
    background-color: transparent;
    font-size: inherit;
    outline: none;
    box-shadow: none;
    border-radius: var(--radius-inp);
    padding: 0.5em;
    border: 1px solid var(--color-border);
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

:is(input:not([type="checkbox"]):not([type="radio"]), textarea, select):focus {
    border-color: var(--color-border-focus);
}

input[type="checkbox"], input[type="radio"] {
    accent-color: var(--color-accent);
    border-radius: 0;
    width: 1.2em;
    height: 1.2em;
}

input.err {
    border-color: var(--color-red) !important;
}

textarea {
    resize: vertical;
    min-height: 3em;
}

::placeholder {
    color: inherit;
    opacity: 0.3;
}

button {
    box-shadow: none;
    padding: 0;
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: inherit;
    color: inherit;
    font-family: inherit;
    font-weight: normal;
}



/* декор */
.ta_center {
    text-align: center;
}

.ta_right {
    text-align: right;
}

.ai_center {
    align-items: center;
}

.ai_start {
    align-items: flex-start;
    align-items: start;
}

.ai_end {
    align-items: flex-end;
    align-items: end;
}

.jc_center {
    justify-content: center;
}

.jc_sb {
    justify-content: space-between;
}

.fw_bold {
    font-weight: bold;
}

.fw_500 {
    font-weight: 500;
}

.fw_300 {
    font-weight: 300;
}

.tt_upper {
    text-transform: uppercase;
}

.clr_white {
    color: #fff;
}

.clr_gray {
    color: var(--color-txt-gray);
}

.clr_gray_light {
    color: var(--color-gray-light);
}

.clr_gray_on_dark {
    color: #D9E1EC;
}

.clr_accent {
    color: var(--color-accent);
}

.clr_accent_light {
    color: var(--color-accent-light);
}

.clr_accent_lighter {
    color: var(--color-accent-lighter);
}

.clr_wrong {
    color: var(--color-red);
}

.clr_inherit {
    color: inherit;
}

.clr_inherit_no_hover:not(:hover) {
    color: inherit;
}

.pad, .pad_box {
    padding: var(--padding-box);
}

.mt_05 {
    margin-top: 0.5em;
}

.mt_1 {
    margin-top: 1em;
}

.mt_20px {
    margin-top: 20px;
}

.mt_2 {
    margin-top: 2em;
}

.mt_3 {
    margin-top: 3em;
}

.mt_space {
    margin-top: var(--space);
}

.mt_space_05 {
    margin-top: var(--space-05);
}

.mb_0 {
    margin-bottom: 0;
}

.ml_auto {
    margin-left: auto;
}

.mr_auto {
    margin-right: auto;
}

.br {
    border-radius: var(--radius);
}

.br_inp {
    border-radius: var(--radius-inp);
}

.brd {
    border: 1px solid var(--color-border);
}

.brd_top {
    border-top: 1px solid var(--color-border);
}

.brd_bot {
    border-bottom: 1px solid var(--color-border);
}

.of_hid {
    overflow: hidden;
}

.dis_flex {
    display: flex;
}

.dis_iflex {
    display: inline-flex;
}

.dis_grid {
    display: grid;
}

.dis_grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dis_grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gap_05 {
    gap: 0.5em;
}

.gap_1 {
    gap: 1em;
}

.gap_2 {
    gap: 2em;
}

.gap_3 {
    gap: 3em;
}

.gap_c1 {
    column-gap: 1em;
}

.gap_r1 {
    row-gap: 1em;
}

.gap_c2 {
    column-gap: 2em;
}

.gap_r2 {
    row-gap: 2em;
}

.shrink_no {
    flex-shrink: 0;
}

.fw_wrap {
    flex-wrap: wrap;
}

.w_100 {
    width: 100%;
}

.bg_gray {
    background: var(--color-bg-gray);
}

.bg_white {
    background-color: #fff;
}

.bg_wrong {
    background: var(--color-red-bg);
}

.shad {
    box-shadow: var(--shadow);
}

.shad_hover {
    box-shadow: var(--shadow-hover);
}

.bg_gradient {
    position: relative;
    overflow: hidden;
}

.decor__bg_gradient::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(24, 24, 24, 0) 0%, rgba(0, 0, 0, 0.62) 62.81%, #000000 100%);
}

.bg_gradient>* {
    position: relative;
    z-index: 1;
}

.bg_img {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.bg_accent {
    background-color: var(--color-accent);
}

.bg_accent_light {
    background-color: var(--color-accent-light);
}

.bg_accent_lighter {
    background-color: var(--color-accent-lighter);
}

a.bg_img:hover {
    opacity: 0.95;
}

.decor__bg_full {
    position: relative;
}

.site-main section.decor__bg_full:last-child {
    margin-bottom: 0;
}

.bg_overlay {
    position: absolute;
    bottom: 0;
    top: 0;
    left: -20px;
    right: -20px;
    z-index: -1;
}

.pos_rel {
    position: relative;
}

.pos_abs {
    position: absolute;
}

.cursor_pointer {
    cursor: pointer;
}

.lh_1 {
    line-height: 1;
}

.flex_grow {
    flex-grow: 10;
}

.flex_col {
    flex-direction: column;
}

.h_100 {
    height: 100%;
}

.family_doc {
    font-family: var(--family-serif);
}

.hidden {
    visibility: hidden;
}

.hidden.active {
    visibility: visible;
}

.top_poly::after {
    content: '';
    position: absolute;
    bottom: calc(100%);
    width: 12px;
    height: 6px;
    background-image: url(../img/poly-w.svg);
    background-size: contain;
    background-position: top;
    background-repeat: no-repeat;
    z-index: 1;
}

.z_1 {
    z-index: 1;
}

@media (max-width: 1260px) {
    :root {
        --radius: 25px;
        --space: 70px;
    }
}

@media (min-width: 768px) {
    .hide_on_pc {
        display: none;
    }
}

@media (max-width: 767px) {
    :root {
        --font-size-h1: 23px;
        --font-size-h2: 20px;
        --font-size-h3: 18px;
        --font-size-h4: 16px;
        --font-size-p-max: 15px;
        --radius: 1em;
        --space: 50px;
    }

    .dis_grid--2,
    .dis_grid--3 {
        grid-template-columns: minmax(0, 1fr);
    }

    .hide_on_mob {
        display: none;
    }
}

@media (max-width: 575px) {
    .container {
        padding: 0 20px;
    }
}



/* экран */
.rc_main {
    margin: auto 0;
}

.rc_footer__wrap {
    padding-top: 2em;
    border-top: 1px solid rgba(255,255,255,0.5);
}

.rc_hello__wrap {
    grid-template-columns: 1fr minmax(360px, 1fr) 1fr;
}

.rc_hello__logo img {
    width:300px;
}

.rc_hello__form {
    color: #333;
    padding: 2em;
}

.rc_hello__form label {
    color: var(--color-txt-gray);
    margin-bottom: 0.5em;
    display: block;
}

.rc_hello__form__message:empty {
    display: none;
}


@media (max-width: 767px) {
    .rc_hello__wrap {
        grid-template-columns: 1fr;
        justify-content: center;
        text-align: center;
    }
    .rc_hello__empty {
        display: none;
    }
    .rc_hello__logo img {
        width: 200px;
        max-width: 40vw;
    }
    .rc_hello__form {
        max-width: 450px;
        margin: auto;
        text-align: left;
    }
    .rc_hello__form__row--submit {
        text-align: right;
    }
}


@media (max-width: 575px) {
    .rc_footer__wrap {
        justify-content: center;
        text-align: center;
        font-size: 14px;
    }
    .rc_hello__form {
        padding: 2em 1em;
    }
}
