/*Обнуление*/
*,
b::before,
*::after {
    padding: 0;
    margin: 0;
    border: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: #000;
}

img {
    vertical-align: top;
}

button {
    cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: inherit;
    font-size: inherit;
}

html,
body {
    height: 100%;
    line-height: 26px;
    font-size: 16px;
    color: var(--color-default);
    font-family: Inter;
    background-color: var(--color-background);
    scroll-behavior: smooth;
    transition: 0.2s all;
    overflow-x: hidden;
}

#app {
    height: 100%;
}

/* ------------------------------------------------------------------------------------ */

/*Класс для того, чтобы не было скролла по иксу */
.wrapper {
    min-height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 30px;
    width: 100%;
    box-sizing: content-box;
}

.wrapper .container {
    gap: 30px;
    display: flex;
    flex-direction: column;
}

/*фоновое изображение*/
.ibg {
    position: relative;
}

.ibg img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.svg__matrix {
    display: none;
}

ul,
ol,
li {
    list-style: none;
}

main {
    flex: 1 0 auto;
}

button {
    cursor: pointer;
    padding: 15px 30px;
    border-radius: 8px;
    background-color: transparent;
    border: 1px solid var(--color-button);
    color: var(--color-button);
    transition: 0.2s all;
} 

button:hover {
    color: var(--color-white);
    background: var(--color-button);
}

button.button_fill {
    color: var(--color-white);
    background: var(--color-button);
}

button.button_fill:hover {
    filter: brightness(0.9);
}





/* Styles */

.title {
    margin-bottom: 40px;
} 

h1.title {
    text-align: center;
    color: var(--color-h);
    font-size: var(--h1-size);
    text-transform: uppercase;
    font-weight: var(--h1-weight);
    line-height: var(--h1-line-height);
}

h2.title {
    color: var(--color-h);
    font-size: var(--h2-size);
    font-weight: var(--h2-weight);
    line-height: var(--h2-line-height);
}

h3.title {
    margin-bottom: 0px;
    color: var(--color-h);
    font-size: var(--h3-size);
    font-weight: var(--h3-weight);
    line-height: var(--h3-line-height);
}

.section.section_fill {
    padding: 40px 120px 50px;
    background: var(--color-white);
}

.header {
    top: 25px;
    z-index: 10;
    position: sticky;
    margin-bottom: 25px;
}

.header .container {
    gap: 20px;
    display: flex;
    padding: 15px 30px;
    position: relative;
    align-items: center;
    justify-content: space-between;
}

.header .header__bg {
    position: absolute;
    overflow: hidden;
    z-index: 1;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    pointer-events: none;
    border-radius: 5px;
}

.header__bg::before {
    content: '';
    z-index: 1;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    position: absolute;
    filter: blur(15px);
    background: rgba(255, 255, 255, 0.1);
}

.header.header_scroll .header__bg::before {
    background: rgba(0, 102, 197, 0.8);
}

.header * {
    position: relative;
    color: var(--color-white);
    z-index: 2;
}

.header__logo {
    display: flex;
}

.header__logo svg {
    width: auto;
    height: 40px;
    aspect-ratio: 9/4;
}

.header__list {
    gap: 40px;
    display: flex;
    align-items: center;
}

.header__link:hover,
.header__link:hover .header__summary,
.header__link.header__link_active {
    color: var(--color-accent);
}

.header.header_scroll .header__link:hover,
.header.header_scroll .header__link:hover .header__summary,
.header.header_scroll .header__link.header__link_active {
    color: #FFF;
    text-decoration: underline;
}

.header.header_scroll .header__list-popup .header__link {
    color: #000;
}

.header__link_detail {
    position: relative;
}

.header__content {
    gap: 20px;
    display: flex;
    padding: 15px 30px;
    position: relative;
    align-items: center;
    width: 100%;
    justify-content: space-between;
}

.header__summary {
    display: flex;
    gap: 5px;
    cursor: pointer;
    align-items: center;
}

.icon__arrow {
    display: flex;
    align-items: center;
}

.header__list-popup {
    top: 30px;
    width: 100%;
    position: absolute;
    min-width: 150px;
    background: var(--color-white);
}

.header__list-popup .header__item {
    padding: 5px 10px;
    cursor: pointer;
}

.header__list-popup .header__item:hover {
    background: rgba(0, 119, 228, 0.05)
}


.header__list-popup .header__item,
.header__list-popup .header__link {
    color: #000;
}

.breadcrumbs {
    position: relative;
    z-index: 2;
    margin-bottom: 45px;
}

.breadcrumbs__list {
    display: flex;
    gap: 5px;
    align-items: center;
}

.breadcrumbs__item {
    display: flex;
    gap: 5px;
}


.breadcrumbs__link {
    color: var(--color-white);
}

.breadcrumbs__item:not(:last-child)::after {
    content: '/';

}

.breadcrumbs__item:last-child .breadcrumbs__link {
    color: var(--color-accent);
}

.section__bg {
    position: absolute;
    top: 0px;
    left: -360px;
    width: 120vw;
    height: 100%;
    z-index: 0;
    background-size: cover;
    background-position: center;
    pointer-events: none;
    max-width: 120vw;
    overflow: hidden;
}

.form {
    gap: 20px;
    display: flex;
    flex-direction: column;
}

.form a {
    text-decoration: underline;
}

.form a:hover {
    color: var(--color-accent);
}

.form__item {
    gap: 10px;
    display: flex;
    transition: 0.2s all;
    flex-direction: column;
}

.form__label.form__label_sublabels {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
}

.form__input,
.form__textarea {
    transition: 0.2s all;
    padding: 15px;
    border: 1px solid var(--color-border-dark);
    outline: none;
    border-radius: 8px;
    height: 50px;
    font-family: Inter;
    background: transparent;
    color: var(--color-white);
    caret-color: var(--color-white);
}

.form__input:focus,
.form__textarea:focus {
    border: 1px solid var(--color-accent);
}

.form__input:focus + .form__label,
.form__textarea:focus + .form__label {
    left: 0px;
    top: 0px;
}

.form__textarea {
    min-height: 190px;
}

.form__item_required label::after {
    content: '*';
    color: var(--color-warn);
    font-size: 16px;
    line-height: 26px;
    font-weight: 500;
}

.form__sublabel_opacity {
    color: var(--color-label-info);
}

.form__item.form__item_checkbox label {
    gap: 10px;
    display: flex;
    cursor: pointer;
    align-items: center;
    user-select: none;
}

.form__item.form__item_checkbox input[type="checkbox"] {
    min-height: auto;
    width: 20px;
    height: 20px;
}

.footer {
    position: relative;
    padding: 80px 0px 95px;
}

.footer .container {
    grid-gap: 70px;
    display: grid;
    grid-template-columns: repeat(2, 1fr)
}

.footer__info {
    max-width: 460px;
    gap: 10px;
    display: flex;
    flex-direction: column;
}

.footer__info .title {
    text-transform: uppercase;
    margin-bottom: 0px;
}

.footer .container *:not(.section__bg) {
    z-index: 2;
    position: relative;
}
ul, ol {
margin: 0;
}
.footer .section__bg {
    left: 0px;
    background-image: url(/public/common/footer-bg.png);
}

@media (max-width: 1220px) {
    .container {
        max-width: calc(100vw - 60px);
    }
}

@media (max-width: 1000px) {
    .header__nav {
        display: none;
    }
}

@media (max-width: 540px) {
    .footer .container {
        gap: 40px;
        display: flex;
        flex-direction: column;
    }
}

.footer {
    background: url(/wp-content/themes/financity/new/assets/bg-portflio.png) no-repeat;
    background-size: cover;
}
.container__footer {
    width: 55%;
    margin: 0 auto 0 auto;
    padding-top: 80px;
    padding-bottom: 100px;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 70px;
}
.footer__area {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer__area-title {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-size: 36px;
    line-height: 44px;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    
    /* white */
    color: #FFFFFF;
}

.footer__area-desc {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 22px;
    letter-spacing: -0.03em;
    
    color: #A1A1A1;
}
body .footer__form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
body .footer__form-action {
height: fit-content !important;
}
body .wpforms-field-label {
    margin-bottom: 8px !important;
    font-family: 'Inter' !important;
    font-style: normal !important;
    font-weight: 400 !important;
    font-size: 15px !important;
    line-height: 18px !important;
    letter-spacing: -0.03em !important;
    
    color: #fff !important;
}
body .field__input input, body .field__input textarea {
    width: 100% !important;
    padding: 16px 15px !important;
    background: transparent !important;
    border: 1px solid #454575 !important;
    border-radius: 5px !important;
    font-family: 'Inter' !important;
    font-style: normal !important;
    font-weight: 400 !important;
    font-size: 15px !important;
    line-height: 18px !important;
    letter-spacing: -0.03em !important;
    max-width: 100% !important;
    
    color: #fff !important;
    margin-bottom: 10px !important;
}
body .wpforms-container-full {
width: 100% !important;
}
body .footer p {
    font-family: 'Inter' !important;
    font-style: normal !important;
    font-weight: 400 !important;
    font-size: 13px !important;
    line-height: 18px !important;
    letter-spacing: -0.03em !important;
}

body .field__input input::placeholder, body .field__input textarea::placeholder {

    font-family: 'Inter' !important;
    font-style: normal !important;
    font-weight: 400 !important;
    font-size: 15px !important;
    line-height: 18px !important;
    letter-spacing: -0.03em !important;
    
    color: #D2D2D2 !important;
}


.footer__form-action {
    border: none;
    
background: rgba(0, 119, 228, 1) !important;
border-radius: 5px !important;
padding: 15px 20px !important;

font-family: 'Inter' !important;
font-style: normal !important;
font-weight: 400 !important;
font-size: 16px !important;
line-height: 19px !important;
letter-spacing: -0.03em !important;

color: #FFFFFF !important;
width: fit-content !important;
}