:root {
    --primary: #0075BC;
    --secondary: #F58220;
    --background: #FFFFFF;
    --text-color: #3D3D3D;
    --font-primary: "Montserrat", sans-serif;
    --transition-ease: .3s ease;
    --transition-bezier: .3s cubic-bezier(.645, .045, .355, 1);
    --content-width: 1134px;
    --content-padding: 2.5rem
}

@media screen and (max-width: 79.9375rem) {
    :root {
        --content-width: 64rem;
        --content-padding: 1.25rem
    }
}

@media screen and (max-width: 64rem) {
    :root {
        --content-width: 59rem
    }
}

@media screen and (max-width: 48rem) {
    :root {
        --content-width: 40rem
    }
}

@media screen and (max-width: 40rem) {
    :root {
        --content-width: 29.6875rem;
        --content-padding: 1rem
    }
    .container{
        padding: 0 var(--content-padding);
    }
}

.container {
    margin: 0 auto;
    width: 100%;
    max-width: var(--content-width)
}

*,
*:before,
*:after {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    scroll-behavior: smooth;
    scroll-padding-top: 120px
}

body {
    color: var(--text-color, #111);
    font-family: var(--font-primary, sans-serif);
    line-height: inherit;     
    background: var(--background, #fff);
    transition: .3 ease-in;
}

body.is-lock {
    overflow: hidden
}

abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: inherit;
    font-weight: inherit
}

a {
    color: inherit;
    text-decoration: inherit;
    -webkit-transition: var(--transition-ease);
    transition: var(--transition-ease)
}

b,
strong {
    font-weight: 700
}

code,
kbd,
pre,
samp {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace;
    font-size: 1em
}

small {
    font-size: 80%
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline
}

sub {
    bottom: -.25em
}

sup {
    top: -.5em
}

table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse
}

button,
input,
optgroup,
select,
textarea {
    font-size: inherit;
    font-family: inherit;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;
    outline: none;
    border: none;
    background: transparent
}

button,
select {
    text-transform: none
}

[type=button],
[type=reset],
[type=submit],
button {
    -webkit-appearance: button;
    -moz-appearance: button;
    appearance: button;
    background-color: transparent;
    background-image: none
}

:-moz-focusring {
    outline: auto
}

:-moz-ui-invalid {
    box-shadow: none
}

progress {
    vertical-align: baseline
}

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
    height: auto
}

[type=search] {
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
    appearance: textfield;
    outline-offset: -2px
}

::-webkit-search-decoration {
    -webkit-appearance: none
}

::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit
}

summary {
    display: list-item
}

menu,
ol,
ul {
    list-style: none
}

textarea {
    resize: vertical
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
    opacity: 1;
    color: #9ca3af
}

input::-moz-placeholder,
textarea::-moz-placeholder {
    opacity: 1;
    color: #9ca3af
}

input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
    opacity: 1;
    color: #9ca3af
}

input::-ms-input-placeholder,
textarea::-ms-input-placeholder {
    opacity: 1;
    color: #9ca3af
}

input::placeholder,
textarea::placeholder {
    opacity: 1;
    color: #9ca3af
}

[role=button],
button {
    cursor: pointer
}

:disabled {
    cursor: default
}

audio,
canvas,
embed,
iframe,
img,
object,
svg,
video {
    display: block
}

img,
video {
    max-width: 100%;
    height: auto
}

hr {
    border: none;
    outline: none
}

[hidden],
.hidden {
    display: none
}

.bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: -1
}

.bg-img__fixed {
    width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed
}

.bg-img img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: var(--position, center);
    object-position: var(--position, center)
}

.text-primary {
    color: var(--primary)
}

.text-white {
    color: var(--background);
}

.text-gray {
    color: var(--gray, #555)
}

.font-light {
    font-weight: 300
}

.font-regular {
    font-weight: 400
}

.font-medium {
    font-weight: 500
}

.font-semibold {
    font-weight: 600
}

.font-bold {
    font-weight: 700
}

.underline {
    text-decoration: underline
}

.line-through {
    text-decoration: line-through
}

.uppercase {
    text-transform: uppercase
}

.capitalize {
    text-transform: capitalize
}

.text-xxs {
    font-size: .625rem
}

.text-xs {
    font-size: .75rem
}

.text-sm {
    font-size: .875rem
}

.text-base {
    font-size: 1rem
}

.text-lg {
    font-size: 1.125rem
}

.text-xl {
    font-size: 2.5rem
}

.text-2xl {
    font-size: 1.5rem
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99;
    width: 100%;
    height: 100%;
    background: #0009;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: opacity .3s ease, visibility .3s ease;
    transition: opacity .3s ease, visibility .3s ease
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
    overflow-y: auto;
}

.modal {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    -webkit-transform: scale(.8);
    -ms-transform: scale(.8);
    transform: scale(.8);
    opacity: 0;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
    display: none;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    top:50%;
    position: absolute;
    transform: translateY(-50%);
}

.modal.show {
    -webkit-transform: scale(1) translateY(-50%);
    -ms-transform: scale(1) translateY(-50%);
    transform: scale(1) translateY(-50%);
    opacity: 1
}


.modal-form {
    position: relative;
    padding: 1.875rem;
    min-height: 29.0625rem;
    width: 43.75rem;   
    background: #fff;
    border-radius: 1.875rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
   
    top: 50%;
}
.modal-title{
    font-size: 1.6rem;
    color: var(--secondary);
    font-weight: bold;
}
@media screen and (max-width: 79.9375rem) {
    .modal-form {
        max-width: calc(100vw - 40px)
    }
}

@media screen and (max-width: 40rem) {
    .modal-form {
        padding: 1.875rem 1.25rem;
        min-height: 15.625rem;
        max-width: calc(100vw - 40px);
        border-radius: 1.25rem;
        gap: 1.25rem
    }
}

@media screen and (max-width: 29.6875rem) {
    .modal-form {
        max-width: calc(100vw - 25px)
    }
}

.modal-form .btn-close {
    position: absolute;
    top: 1.5625rem;
    right: 1.5625rem;
    z-index: 2;
    width: 2.5rem;
    height: 2.5rem;
    background: url("data:image/svg+xml;charset=UTF-8,%3csvg width='52' height='52' viewBox='0 0 52 52' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='26' cy='26' r='26' fill='%23383838'/%3e%3cpath d='M14 14L37.5 37.5' stroke='white' stroke-width='2'/%3e%3cpath d='M37.5 14L14 37.5' stroke='white' stroke-width='2'/%3e%3c/svg%3e ") center/contain no-repeat;
    cursor: pointer
}







/* end base css */

header {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 50px;
    width: 100%;
}

.header__bottom {
    display: flex;
    justify-content: space-between;
    align-content: center;
}

.header__phone {
    font-size: 1.25rem;
    font-weight: bold;
    color: #fff;
    margin-right: 1.875rem;
}
.footer__contact .header__phone {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--primary);
    margin-right: 1.875rem;
}
.hero__row {
    display: grid;
    grid-template-columns: 5.5fr 6.5fr;
    align-items: center;
}

@media screen and (min-width:768px) {
    .hero__pc {
        display: block;
    }

    .hero__mb {
        display: none;
    }
}

.h1 {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.h2 {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    color: var(--primary);
    text-transform: uppercase;
}

.hero__left {
    margin-top: 8rem;
}

.hero__left p {
    margin-bottom: 2.6rem;
}

.hero__left-row {
    display: flex;
    flex-direction:column;
    gap:20px;
   
}

.hero__left-item {
    width: fit-content;
    max-width: 240px;
}

.hero__left-item p {
    margin-bottom: 0;
    color: #717171;
    font-size: 0.8rem;
}

.hero__left-item span {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 0.5rem;
    display: block;
}

.form__main {
    border-radius: 20px;
    background: #FFF;
    box-shadow: 0 0 62.8px 0 rgba(0, 0, 0, 0.25);
    margin: 6.25rem 0;
    background-image: url(../img/formbg.png);
    background-repeat: no-repeat;
    background-position: right center;

    padding: 35px 44px;
}
.form__main.formnobg{
    background-image: none;
    margin: 1.25rem 0;
}
.form__main-title {
    font-size: 1.5rem;
    text-transform: uppercase;
    color: var(--secondary);
    font-weight: bold;
    margin-bottom: 1rem;
}

.form input[type="text"] {
    border-radius: 20px;
    border: 1px solid #CCC;
    background: #FFF;
    padding: 15px;
    width: 100%;
    max-width: 440px;

}

.required {
    position: relative;
    display: inline-block;
    width: 100%;
    margin-top: 15px;
}

.required input {
    padding-right: 20px;
    /* чтобы звезда не налезала на текст */
}

.required .star {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: orange;
    pointer-events: none;
    font-size: 1rem;
    transition: opacity 0.2s;
}

label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.confirm {
    display: flex;
    align-items: flex-start;
    margin-top: 1.4rem;
}

.confirm span {
    font-size: .625rem;
    max-width: 430px;
}

.confirm b {
    color: var(--secondary);
}

.checkbox-input {
    appearance: none;
    width: 1.2rem;
    height: 1.2rem;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    background-color: #fff;
    cursor: pointer;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    margin: 0;
    flex-shrink: 0;
}

.checkbox-input:checked {
    background-position: center center;
    background-repeat: no-repeat;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='13' viewBox='0 0 12 13' fill='none'%3e%3cpath d='M0.999946 6.5L4.17527 11.9999L10.5261 1' stroke='%23F58220' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e");
    ;
}

input[type="submit"] {
    padding: 14px 34px;
    border-radius: 33px;
    background: var(--secondary);
    color: #fff;
    margin-top: 1.3rem;
    cursor: pointer;
    transition: .3s ease-in;
}

input[type="submit"]:hover {
    opacity: 0.7;
}

.about__row {
    display: grid;
    grid-template-columns: 6.5fr 5.5fr;
    align-items: center;
}

.about__small-title {
    font-size: 1.25rem;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.8rem;
}

.about__large-title {
    font-size: 2rem;
    text-transform: uppercase;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 2rem;
}

.about__text {
    max-width: 600px;
}

.about__text li {
    margin-bottom: 10px;
}

.about__text strong {
    color: var(--primary);
    margin-bottom: 10px;
    display: block;
}

.about__link {
    background-color: #F0F0F0;
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 3rem;
    padding: 15px 50px;
    border-radius: 15px;
    transition: .3s ease-in;
    margin-top: 1.5rem;
}

.about__link a {
    color: var(--secondary);
    font-weight: 600;

}

.about__link:hover {
    background-color: #d4d0d0;
}

.types__sec {
    margin-top: 7rem;
}

.types__row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 4rem;
}

.types__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 20px;
    padding: 0 35px 40px 35px;
}

.types__btn {
    cursor: pointer;
    padding: 14px 34px;
    text-transform: uppercase;
    color: #fff;
    border-radius: 33px;
    margin-top: 1rem;
    transition: .2s ease-in;
}
.types__btn:hover{
    opacity: .7;
}
.types__item span {
    font-size: 1.5rem;
    margin-bottom: .3rem;
}

.types__item strong {
    margin: 1rem 0;
}

.types__item img {
    margin-top: -30px;
}

.types__item:first-child {
    background: linear-gradient(292deg, rgba(255, 195, 143, 0.30) 5.42%, rgba(245, 130, 32, 0.30) 94.39%), #FFF;
}

.types__item:last-child {
    background: linear-gradient(292deg, rgba(162, 220, 255, 0.30) 5.42%, rgba(0, 117, 188, 0.30) 94.39%), #FFF;
}

.types__item:first-child .types__btn {
    background: linear-gradient(0deg, #F58220 0%, #F58220 100%), #FFF;
}

.types__item:last-child .types__btn {    
    background: linear-gradient(0deg, #0075BC 0%, #0075BC 100%), #FFF;
}
.modal__text{
    display: flex;
    flex-direction: column;
}
.modal__text li{
    display: inline;
    list-style-type: none;
    width: 100%;

}
.modal__text strong{
    color: var(--secondary);
}
.income__row{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
}
.income__item{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background-color: #DAE5EB;
    border-radius: 20px;
    padding: 7px 35px 15px 15px;
    height: 255px;
}
.income__item img{
    flex-shrink: 0;
}
.income__item span{
   font-size: 1.2rem;
   font-weight: 500; 
   margin-bottom: 0.5rem;
}
.income__item p{
    font-size: 0.9rem;
}
.income__item a{
    font-size: 0.9rem;
    color: var(--secondary);
    font-weight: 600;
    margin-top: auto;
}
.invest__row{
    display: flex;
    align-items: center;
    border-radius: 20px;
background: linear-gradient(292deg, rgba(255, 195, 143, 0.30) 5.42%, rgba(245, 130, 32, 0.30) 94.39%), #FFF;

}
.invest__right{
    margin: -2rem 5rem -1.5rem 0;
}
.invest__left{
    padding-left: 2rem;
}
.invest__left span{
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    margin-bottom: 1.2rem;
    display: block;
}
.invest__sec{
    margin:6.25rem 0 ;
}
.invest__btn{
    padding: 14px 34px;
    background-color: var(--background);
    color: var(--secondary);
    border-radius:33px;
    display: inline-flex;
    cursor: pointer;
    transition: .2s ease-in;
    margin-top: 2rem;
}
.invest__btn:hover{
    background-color: var(--secondary);
    color: var(--background);
}
.whywe__row{
    display: grid;
    grid-template-columns: 8fr 4fr;
    gap: 20px;
    align-items: center;
}
.whywe__innerrow{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 55px 20px;
    margin-top: 3rem;
}
.whywe__inneritem{
    background-color: #F0F0F0;
    border-radius: 20px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}
.whywe__inneritem span{
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    margin-top: 1rem;
}
.whywe__inneritem p{
    font-size: 0.875rem;
}
.whywe__num{
    background: linear-gradient(292deg, #FFC38F 5.42%, #F58220 94.39%);
    display: inline-flex;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    margin-top: -3rem;
    font-size: 2.5rem;
    color: #fff;
}
.start__sec{
    margin: 6.25rem 0;
}
.start__row{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    align-items: flex-end;
    gap: 20px;
}
.start__right img {
    width: 100%;
}
.map__sec iframe{
    width: 100%;
    border: none;
    height: 555px;
}
.map__sec .container{
    position: relative;
}
.map__address {
    display: flex;
    gap:.8rem;
    align-items: flex-start;
    background-color: var(--secondary);
    color: #fff;
    position: absolute;
    left: 3rem;
    top: 8rem;
    z-index: 2;
    padding: 30px 15px;
    border-radius: 20px;
    max-width: 490px;
}
.map__address svg{
    flex-shrink:0;
}
footer .container{
    background-color: #fff;
    padding: 2rem;
}
.footer__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.footer__contact {
    display: flex;
    align-items: center;
    gap: 20px;
}
small{
    font-size: .7rem;
    color: #808080;
    margin-top: 1.5rem;
    display: block;
    max-width: 880px;
    width: 100%;
}
.footer__btn {
    cursor: pointer;
    color: #fff;
    text-transform: uppercase;
    padding: 14px 34px;
    background-color: var(--secondary);
    border-radius: 33px;
    font-weight: 500;
}

@media screen and (max-width:1050px) {
    .form__main{
        background-position: 147% center;
    }
    .invest__left {       
        padding: 2rem;
    }
}
@media screen and (max-width:764px) {
   .hero__pc{
    display: none;
   }
   .hero__mb{
    width: 100%;
   }
   .hero__row{
    display: flex;
    flex-direction: column-reverse;
   }
   a.header__logo img {
    max-width: 146px;
}
.header__bottom {    
    align-items: center;
}
header {
    position: relative;
    left: inherit;
    transform: none;
    top: 0;
    margin-top: 2rem;
    margin-bottom: 2rem;
}
.header__phone{
    color: var(--text-color);
}
.hero__left{
    margin-top: 2rem;
}
.hero__left p{
    margin-bottom: 3rem;
}
.hero__left-row{
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.hero__left-item{
    margin: 0;
}
.hero__left-item p{
    margin: 0;
}
.form__main{
    margin: 5rem 0;
    background: none;
}
.about__row{
    display: flex;
    flex-direction: column;
}
.about__link{
    padding: 15px;
    width: 100%;
    margin-bottom: 1rem;
}
.h2{
    font-size: 1.7rem;
    text-align: center !important;
}
.types__row{
    display: flex;
    flex-direction: column;
    gap: 3rem;
}
.income__row {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.invest__row {
    flex-direction: column-reverse;
    align-items: center;
    justify-content: center;
}
.invest__right {
    margin: -2rem 0rem -1.5rem 0;
}
.whywe__row {
    display: flex;
    flex-direction: column;
}
.whywe__innerrow{
    grid-template-columns: 1fr;
}
.start__row {
    display: flex;
    flex-direction: column;
}
.map__address {
    left: 50%;
    top: -1rem;
    z-index: 2;
    padding: 15px 15px;
    border-radius: 20px;
    max-width: 93%;
    transform: translateX(-50%);
    width: 100%;
}
.map__address svg{
    flex-shrink: 0;
}
.footer__contact {
    flex-direction: column;
    margin-top: 20px;
}
.footer__contact a{
    color: #fff;
}
small{
    text-align: center;
}
.footer__row {
    flex-direction: column;
}
.footer__btn {
    
    padding: 14px 19px;
   
}
a.header__phone {
    margin: 0;
}
.modal{
    top:69%;
}
}
