@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Onest:ital,wght@0,100..900;1,100..900&display=swap');

* {
    box-sizing: border-box;
    --default-padding: 30px;
}

@keyframes block-appear-left {
    0% {
        opacity: 0;
        transform: translateX(-110%);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes block-appear-right {
    0% {
        opacity: 0;
        transform: translateX(110%);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slide-in-right {
    0% {
        opacity: 0;
        transform: translateX(100vw);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slide-in-left {
    0% {
        opacity: 0;
        transform: translateX(-100vw);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes block-hide-bottom {
    0% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(110%);
    }
}

@keyframes block-appear-bottom {
    0% {
        opacity: 0;
        transform: translateY(110%);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bg-appear-bottom {
    0% {
        background-position-y: 100vh;
    }

    100% {
        background-position-y: 0;
    }
}

@keyframes appear {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes hide {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        display: none;
    }
}

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    font-family: Montserrat;
}

body {
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    overflow-wrap: break-word;
    hyphens: manual;
}

h1,
h2,
h3,
h4,
p {
    margin: 0;
}

.main-container {
    width: 100%;
    max-width: 1050px;
    margin-left: 10px;
    margin-right: 10px;
}

.main-container.wide {
    max-width: 1250px;
}

h1.big {
    font-size: 70px;
    line-height: 102.5%;
}

.lb-bg {
    background: #e6f2fe;
}

.w-bg {
    background: #fff !important;
    color: #000 !important;
}

.mb-bg {
    background: #1771AF !important;
    color: #fff !important;
}

.mg-bg {
    background-color: #348888 !important;
}

.sect {
    width: 100%;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
}

.block {
    background: #1771af;
    border-radius: 35px;
    overflow: hidden;
    width: 100%;
    /*min-height: 585px;*/
    color: #fff;
    padding: var(--default-padding);
}

.vert {
    display: flex;
    gap: 16px;
    flex-direction: column;
}

.block.pic {
    padding: 0;
    display: flex;
    justify-content: space-between;
}

.block.pic:has(.text-block.r) {
    flex-wrap: wrap;
}

.block.pic:has(.text-block.l) {
    flex-wrap: wrap-reverse;
}

.banner-img {
    flex-basis: 38%;
    min-width: 0;
    flex-grow: 1;
    position: relative;
    width: 100%;
    object-fit: contain;
}

.banner-img img {
    width: 100%;
    height: 100%;
    min-width: 0;
    object-fit: cover;
    position: relative;
}

#about-block {
    gap: 19px;
}

#important-block .banner-img {
    flex-basis: 20%;
}

.text-block {
    display: flex;
    flex-direction: column;
    gap: 13px;
    width: 100%;
    justify-content: center;
    color: #fff;
    flex-basis: 55%;
    flex-grow: 1;
}

.wide .text-block.r {
    padding-right: 100px;
}

.wide .text-block.l {
    padding-left: 100px;
}

.text-block.r {
    padding: var(--default-padding) var(--default-padding) var(--default-padding) 0;
}

.text-block.l {
    padding: var(--default-padding) 0 var(--default-padding) var(--default-padding);
}

h2 {
    font-weight: 700;
    font-size: 36px;
}

p {
    font-weight: 600;
    font-size: 24px;
}

.treg {
    font-weight: 400;
}

.onest {
    font-family: Onest;
}

hr {
    width: 100%;
    border-color: #fff;
}

.more-btn {
    font-family: "Onest";
    font-weight: 700;
    align-items: center;
    display: inline-flex;
    width: max-content;
    font-size: 24px;
    text-decoration: none;
    color: #fff;
}

.more-btn::after {
    margin-left: 0.3em;
    display: block;
    transition: margin-left .2s ease;
    background-size: auto;
    height: 1em;
    background-repeat: no-repeat;
    width: 0.63em;
    content: '';
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg viewBox='0 0 15 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M0.924175 0.674175C1.65641 -0.0580583 2.84359 -0.0580583 3.57583 0.674175L13.5758 10.6742C14.3081 11.4064 14.3081 12.5936 13.5758 13.3258L3.57583 23.3258C2.84359 24.0581 1.65641 24.0581 0.924175 23.3258C0.191942 22.5936 0.191942 21.4064 0.924175 20.6742L9.59835 12L0.924175 3.32583C0.191942 2.59359 0.191942 1.40641 0.924175 0.674175Z' fill='white' /%3e%3c/svg%3e");
}

.more-btn:hover::after {
    margin-left: 0.6em;
}

.frames {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    margin-bottom: 30px;
    margin-top: 30px;
}

.frames h2 {
    font-family: 'Montserrat';
    font-weight: 700;
    font-size: 50px;
    line-height: 110%;
    color: #1771AF;
    margin: 0;
    text-align: center;
}

.frames-container {
    /*display: grid;
    grid-template-columns: 1fr 1fr 1fr;*/
    gap: 26.5px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.frames-container .frame img {
    transition: transform .2s ease;
}

.frames-container .frame:hover img {
    transform: scale(130%);
}

.frames-container .frame {
    flex-direction: column;
    align-items: center;
    padding: 33px 53px;
    gap: 27px;
    width: 332px;
    display: flex;
    background: #1771AF;
    border-radius: 45px;
    justify-content: center;
}

.frames-container .frame p {
    color: #fff;
    font-family: 'Onest';
    font-style: normal;
    font-weight: 600;
    font-size: 27px;
    line-height: 110%;
    text-align: center;
}

.inline-emoji {
    height: 1em;
    width: 1em;
    display: inline-block;
    background-size: contain;
    vertical-align: middle;
    background-repeat: no-repeat;
}

.pin {
    background-image: url(pin64.png);
}

.fire {
    background-image: url(fire.png);
}

.mcd {
    width: 2em;
    background-image: url(mcd3.png);
}

.pattern {
    background-image: url(pattern.png);
}

.docs-block {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: 20px;
}

.document {
    height: 262px;
    border: 6px solid #FFFFFF;
    border-radius: 24px;
    width: 100%;
    min-width: 303px;
    flex: calc(50% - 20px);
    background-repeat: no-repeat;
    background-position: top;
    display: flex;
    flex-direction: column;
    justify-content: end;
    gap: 0;
    overflow: hidden;
    transition: background-size 0.5s ease;
    background-size: 65%;
}

.document:hover {
    background-size: 70%;
}

.document .label {
    display: flex;
    flex-direction: column;
    justify-content: end;
    gap: 0;
    padding: 22px;
    background: linear-gradient(360deg, #1771AF 0%, #1771AF 71.02%, rgba(23, 113, 175, 0) 100%);

}

.document .subtitle {
    font-family: 'Onest';
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    color: #fff;
    margin: 0;
}

.document .doc-title {
    font-family: 'Onest';
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    margin: 0;
    color: #fff;
}

.infoframe-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.infoframe {
    padding: 5px 22px;
    border: 4px solid #FFFFFF;
    border-radius: 360px;
    font-family: 'Onest';
    font-style: normal;
    font-weight: 600;
    font-size: 27px;
    color: #FFFFFF;
    text-align: center;
}

.benefits-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.benefits-container h2 {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-size: 36px;
    color: #FFFFFF;
}

.benefits-container p {
    font-family: 'Onest';
    font-style: normal;
    font-weight: 600;
    font-size: 27px;
    color: #FFFFFF;
}

.faq {
    padding-top: 27px;
    padding-bottom: 27px;
}

.faq h2 {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-size: 50px;
    text-align: center;
    color: #FFFFFF;
    margin-bottom: 27px;
}

.faq .block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 30px;
    gap: 10px;
    background: #FFFFFF;
    border-radius: 60px;
}

.faq-item {
    background: #0C578B;
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
}

.faq-item.mg-bg {
    background: #025656 !important;
}

.faq-header h3 {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-size: 30px;
    color: #FFFFFF;
}

.faq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 24px;
    padding: 22px;
    background: #1771AF;
    width: 100%;
    cursor: pointer;
}

.faq-item.mg-bg .faq-header {
    background: #348888;
}

.faq-content {
    font-family: 'Onest';
    font-style: normal;
    font-weight: 600;
    font-size: 24px;
    color: #FFFFFF;
    transition: height .2s linear;
    height: 0;
    box-sizing: content-box;
}

.faq-body {
    padding: 18px;
}

.big-org-text {
    font-family: 'Onest';
    font-style: normal;
    font-weight: 600;
    font-size: 45px;
    text-align: center;
    color: #FFFFFF;
    margin: 0;
    max-width: 60%;
}


.active .plus-btn {
    transform: rotate(45deg);
}

.plus-btn {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg width='30' height='30' viewBox='0 0 30 30' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.917 17.0832H0.416992V12.9165H12.917V0.416504H17.0837V12.9165H29.5837V17.0832H17.0837V29.5832H12.917V17.0832Z' fill='%23E8EAED'/%3e%3c/svg%3e");
    width: 25px;
    height: 25px;
    min-width: 25px;
    min-height: 25px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    display: block;
    transition: transform 0.2s linear;
}

.ui-btn {
    padding: 8px 35px;
    background: #FFFFFF;
    border-radius: 12px;
    cursor: pointer;
    font-family: 'Onest';
    font-weight: 600;
    font-size: 24px;
    color: #1771AF;
    border: none;
    width: max-content;
}

.mg-bg .ui-btn {
    color: #348888;
}

.ui-btn:hover {
    opacity: 0.95;
}

.ui-btn:active {
    opacity: 0.85;
}


.popup-container {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mobile-only {
    display: none;
}

.menu {
    background: #FFFFFF;
    border-bottom: 1px solid #BBBBBB;
    margin-bottom: 20px;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    z-index: 100;
}

.menu .main-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0px;
    margin: auto;
    gap: 7px;
}

.logo,
.logo img {
    max-height: 48px;
}

.logo {
    max-width: 80%;
}

.sect.footer {
    margin: 0;
    background: #E6E6E6;
}

.footer .main-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 15px 0;
}

.footer p {
    margin-bottom: 2px;
}

.mme {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-size: 22px;
    color: #000000;
}

.copyright {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    color: #636363;
}

.respects {
    max-width: 35%;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    text-align: right;
    color: #7B7B7B;
}

@media only screen and (max-device-width: 1050px) {
    * {
        --default-padding: 22px;
    }

    .text-block.l,
    .text-block.r {
        padding: var(--default-padding) !important;
        padding-top: 15px;
    }

    .frames h2,
    .faq h2 {
        font-size: 42px;
    }

    .faq-header h3 {
        font-size: 26px;
    }

    .benefits-container h2 {
        font-size: 32px;
    }

    .benefits-container p,
    .infoframe {
        font-size: 24px;
    }

    h1.big {
        font-size: 54px;
    }

    #banner-241 {
        display: none;
    }

    #about-block {
        gap: unset;
    }

    .big-org-text {
        max-width: 100%;
        font-size: 36px;
    }


    .banner-img::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 102%;
        z-index: 1;
    }

    .banner-img:not(.no-hide)::before {
        background: linear-gradient(180deg, rgba(23, 113, 175, 0) 50%, #1771AF 100%);
    }

    #important-block .banner-img {
        flex-basis: unset;
    }

    .mg-bg .banner-img:not(.no-hide)::before {
        background: linear-gradient(180deg, rgba(52, 136, 136, 0) 50%, #348888 100%);
    }

    .mobile-only {
        display: unset;
    }

    .desktop-only {
        display: none;
    }

    .ui-btn {
        width: 100%;
    }

    .menu .main-container {
        padding: 15px 10px;
    }

    .respects {
        max-width: 100%;
        text-align: left;
    }

    .mme, .copyright, .respects {
        font-size: 12px;
    }
}