:root {
    /* font-size */
    --h1-size: clamp(2.25rem, 1.338rem + 3.892vw, 4.5rem);
    /* 72px - 36px*/
    --h2-size: clamp(1.875rem, 1.115rem + 3.243vw, 3.75rem);
    /* 60px - 30px */
    --h3-size: clamp(1.5rem, 0.892rem + 2.595vw, 3rem);
    /* 48px - 24px */
    --h4-size: clamp(1.25rem, 0.845rem + 1.73vw, 2.25rem);
    /* 36px - 20px */
    --h5-size: clamp(1.125rem, 0.973rem + 0.649vw, 1.5rem);
    /* 24px - 18px */
    --h6-size: clamp(1rem, 0.949rem + 0.216vw, 1.125rem);
    /* 18px - 16px */
    --text-xs: 0.75rem;
    /* 12px */
    --text-sm: clamp(0.813rem, 0.787rem + 0.108vw, 0.875rem);
    /* 14px - 13px */
    --text-md: clamp(0.875rem, 0.774rem + 0.432vw, 1.125rem);
    /* 18px - 14px */
    --text-lg: clamp(1rem, 0.899rem + 0.432vw, 1.25rem);
    /* 20px - 16px */
    --text-xl: clamp(1.125rem, 1.024rem + 0.432vw, 1.375rem);
}

h1,
.h1 {
    font-size: var(--h1-size);
    line-height: normal
}

h2,
.h2 {
    font-size: var(--h2-size);
    line-height: normal
}

h3,
.h3 {
    font-size: var(--h3-size);
    line-height: normal
}

h4,
.h4 {
    font-size: var(--h4-size);
    line-height: normal
}

h5,
.h5 {
    font-size: var(--h5-size);
    line-height: normal
}

h6,
.h6 {
    font-size: var(--h6-size);
    line-height: normal
}

:where(h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6) {
    font-family: var(--font-family);
}

.text-xl {
    font-size: var(--text-xl);
}

.text-lg {
    font-size: var(--text-lg);
}

.text-md {
    font-size: var(--text-md);
}

.text-sm {
    font-size: var(--text-sm);
}

.text-xs {
    font-size: var(--text-xs);
}

.container {
    width: min(100%, 1180px);
    margin-inline: auto;
    padding-left: 10px;
    padding-right: 10px;
}

.a-header {
    padding-block: 10px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    color: #212025;
    z-index: 10;
    transition: all 0.2s ease-out;
}

.a-header.active {
    box-shadow: 0 0px 5px 0px #FF8747;
}

.a-header.active .a-logo {
    width: min(100%, 200px);
}

.d-flex {
    display: flex;
}

.align-items-center {
    align-items: center;
}

.justify-content-between {
    justify-content: space-between;
}

.a-header-box {
    column-gap: 30px;
}

.a-logo {
    display: block;
    width: min(100%, 285px);
    transition: all 0.2s ease-out;
}

.a-nav {}

.menu-1 {
    list-style-type: none;
    display: flex;
    align-items: center;
    color: #212025;
    justify-content: space-between;
    margin: 0;
    padding: 0;
    gap: 10px;
}

.menu-1 a {
    color: #212025;
    padding: 10px 15px;
    border-radius: 5px;
    transition: all 0.2s ease-out;
    text-decoration: none;
    font-weight: 500;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: inline-block;
}

.menu-1 a:hover {
    background-color: rgb(255, 135, 71, 0.4);
    transform: translateY(-5px);
}

.a-contacts {
    display: grid;
    grid-template-columns: repeat(2, auto);
    align-items: center;
    gap: 20px;
}

.a-phone {
    font-weight: 700;
    font-size: 22px;
    text-decoration: none;
    color: #212025;
}

.btn-wonder {
    border-radius: 20px;
    padding: 15px 30px;
    background-color: #FF8747;
    font-size: 20px;
    font-weight: 500;
}

.btn-wonder-l {
    min-width: 250px;
}

.a-general {
    background-color: #ffffff;
    background-size: cover;
    background-position: 50% -10%;
    background-repeat: no-repeat;
    background-image: linear-gradient(rgb(255, 255, 255, 0.4), rgb(255, 255, 255, 1)), url('../img/bg-header.jpg');
}

.a-general-grid {
    display: grid;
    grid-template-columns: 1fr 40%;
    align-items: center;
    gap: 30px;
    padding-top: 250px;
    padding-bottom: 100px;
}

.a-general-grid img {
    display: block;
    border-radius: 10px;
}

.a-general-box__top {
    width: min(100%, 700px);
    margin-bottom: 50px;
}

h1 {
    margin: 0;
    margin-bottom: 20px;
}

.a-general-box__top p {
    font-size: 25px;
    margin: 0;
}

.text-center {
    text-align: center;
}

.a-theses-box {
    display: grid;
    grid-template-columns: 1fr 40%;
    align-items: center;
    gap: 50px;
    margin-bottom: 50px;
}

.lists {
    list-style-type: none;
    display: grid;
    gap: 70px;
    padding: 0;
}

.lists li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 20px;
}

.lists li p {
    margin: 0;
    font-size: 20px;
}

.bg-icon {
    background-color: rgba(255, 135, 71, 0.2);
    border-radius: 50px;
    width: 60px;
    height: 60px;
    display: grid;
    place-items: center;
    padding: 10px;
}

.bg-icon svg {
    width: 60%;
    height: 60%;
    fill: #FF8747;
}

.a-theses-box__right img {
    border-radius: 10px;
    display: block;
}

/* .a-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
} */
.a-gallery a {
    position: relative;
    transition: all 0.2s ease-out;
    overflow: hidden;
    cursor: pointer;
}

.a-gallery a::before {
    transition: all 0.5s ease-out;
}

.a-gallery a:hover::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.3);
    background-image: url('../img/search.svg');
    background-size: 30px;
    background-position: 50%;
    background-repeat: no-repeat;
}

.a-gallery img {
    display: block;
    aspect-ratio: 1/1;
    border-radius: 10px;
    object-fit: cover;
}

.footer {
    margin-top: 90px;
    background-color: rgb(6, 40, 59);
    padding-top: 33px;
    padding-bottom: 23px;
}

.grid-footer {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: auto auto;
    grid-template-columns: auto auto;
    grid-gap: 20px;
}

.footer__left {
    max-width: 455px;
}

.footer-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.footer-header img {
    flex: none;
    margin-right: 50px;
}

.footer-header span {
    font-size: 30px;
    font-family: 'Museo Sans Cyrl 700';
    font-weight: normal;
    font-style: normal;
    color: rgb(255, 255, 255);
    line-height: 1.2;
    text-align: center;
}

.formbox-footer .a-group-form {
    margin-bottom: 20px;
}

.form-inps {
    background-color: transparent;
    border-width: 1px;
    border-color: rgb(255, 255, 255);
    border-style: solid;
    border-radius: 10px;
    width: 100%;
    max-width: 455px;
    min-height: 68px;
    font-size: 26px;
    color: rgb(255, 255, 255);
    line-height: 1.731;
    text-align: center;
}

.a-group-btn {
    margin-top: 20px;
}

.form-but {
    border-radius: 10px;
    background-color: #FF8747;
    width: 100%;
    max-width: 456px;
    min-height: 61px;
    font-size: 26px;
    color: rgb(255, 255, 255);
    line-height: 1.731;
    text-align: center;
    font-family: 'Museo Sans Cyrl 700';
    font-weight: normal;
    font-style: normal;
}

.footer__right {
    padding-top: 15px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    color: #fff;
}

.footer-soc {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    gap: 10px;
}

.footer-soc a {
    border-radius: 50%;
    background-color: rgb(238, 241, 244);
    width: 39px;
    height: 39px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease-out;
}

.footer-soc a svg {
    fill: #464646;
    transition: all 0.2s ease-out;
}

.footer-soc a:hover {
    background-color: rgb(255, 135, 50);
}

.footer-soc a:hover svg {
    fill: #fff;
}

.footer-address {
    font-size: 18.295px;
    color: rgb(255, 255, 255);
    line-height: 1.556;
    text-align: right;
    margin-bottom: 30px;
}

.text-white {
    color: #fff !important;
}

.copiryght-box {
    text-align: right;
}

.copiryght-box p {
    font-size: 16.262px;
    color: rgb(255, 255, 255);
    line-height: 1.2;
}

.footer p {
    margin: 0;
}

.footer a {
    color: #fff;
    text-decoration: none;
    text-underline-offset: 3px;
}

.footer a:hover {
    text-decoration: underline;
}

.mb-2,
.my-2 {
    margin-bottom: .5rem !important;
}

/* Start popup thanks */
.a-pop-img {
    margin-bottom: 10px;
}

.a-pop-img svg {
    fill: #FF8747;
    width: 100px;
    height: 100px;
}

.popup-thanks--css {
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.popup--css h2 {
    margin-bottom: 5px;
}

.popup--css .font-18 {
    margin-bottom: 0;
    font-size: 1.125rem;
}

/* End popup thanks */

.pop-win {
    width: 100%;
    max-width: 460px;
    padding: 40px 45px;
    text-align: center;
}

.popup-title {
    font-weight: 600;
    font-size: 32px;
    line-height: 39px;
    text-align: center;
    margin: 0;
    padding: 0;
}

.popup-subtitle {
    color: rgb(39, 39, 39);
    text-align: center;
    font-size: 20px;
    line-height: 22px;
    font-weight: 300;
    margin: 10px auto 25px;
}

.pop-win .form-inp {
    border: 1px solid #c9c9c9;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 20px;
    color: #242424;
    margin: 0 0 10px;
    font-size: 1rem;
    border-radius: 5px;
    line-height: 1.33;
    outline: none;
    height: 60px;
    font-weight: 400;
}

.pop-win input.form-inp {
    transition: all 0.30s ease-in-out;
    -webkit-transition: all 0.30s ease-in-out;
    -moz-transition: all 0.30s ease-in-out;
}

.pop-win input.form-inp:focus::-webkit-input-placeholder {
    opacity: 0.2;
    font-weight: 400;
}

.pop-win input.form-inp:focus::-moz-placeholder {
    opacity: 0.2;
    font-weight: 400;
}

.pop-win input.form-inp:focus:-ms-input-placeholder {
    opacity: 0.2;
    font-weight: 400;
}

.pop-win .form-but {
    background: #FF8747;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    width: 100%;
    max-width: 100%;
    height: auto;
    line-height: 45px;
    font-size: 1.5rem;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
    padding: 0;
    font-weight: bold;
    letter-spacing: 2px;
    -webkit-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}

.pop-win .form-but:hover {
    background: #FF8747;
}

.pop-win .form-inp-area {
    padding: 20px;
    min-height: 130px;
}

.mb-30 {
    margin-bottom: 30px;
}

.swiper-button-next,
.swiper-button-prev {
    width: 40px;
    height: 40px;
    color: #fff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background-color: #FF8747;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;
}

.a-general-box__mob {
    display: none;
}

.main--css {
    padding-top: 160px;
}

.d-grid {
    display: grid;
}

.a-contacts-box {
    grid-template-columns: 42% 1fr;
    gap: 30px;
}

.bg-purple-light {
    background-color: rgba(255, 135, 71, 0.2);
    padding: 30px;
    border-radius: 20px;
    height: 100%;
    display: grid;
    grid-template-rows: auto 1fr auto;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.lists-mission {
    gap: 13px;
}

.lists-mission li {
    gap: 20px;
    font-size: 20px;
}

.lists-mission .bg-icon {
    background-color: #fff;
    width: 42px;
    height: 42px;
    flex: none;
}

.lists-mission a {
    text-decoration: none;
    color: #212025;
    font-size: 20px;
}

.contacts-box,
.a-soc-box {
    gap: 20px;
}

.a-soc-link {
    width: 60px;
    height: 60px;
    border-radius: 20px;
    background-color: #fff;
    display: grid;
    place-items: center;
    transition: outline 0.2s ease-out;
}

.a-soc-link:hover {
    outline: 1px solid #FF8747;
}

.formbox {
    background-color: #FF8747;
    border-radius: 20px;
    padding: 30px;
    color: #fff;
    position: relative;
    overflow-x: clip;
}

.formbox__left {}

.formbox__title-box {
    gap: 10px;
}

.formbox__title-box p {
    font-size: 18px;
}

.d-block {
    display: block;
}

.formbox__img {
    position: absolute;
    bottom: 0;
    right: -1px;
}

.formbox-max-widt {
    width: min(100%, 235px);
    gap: 10px;
}

.ajax-form {
    position: relative;
    z-index: 5;
}

.sr-only {
    clip: rect(1px, 1px, 1px, 1px) !important;
    word-wrap: normal !important;
    border: 0 !important;
    -webkit-clip-path: inset(50%) !important;
    clip-path: inset(50%) !important;
    height: 1px !important;
    margin: -1px !important;
    overflow: hidden !important;
    padding: 0 !important;
    position: absolute !important;
    width: 1px !important;
    white-space: nowrap !important;
}

fieldset {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

.form-inp {
    background-color: #fff;
    width: 100%;
    border-radius: 10px;
    padding: 13px 26px;
    min-height: 50px;
    border: 0;
}

.mb-10 {
    margin-bottom: 10px;
}

.form-but {
    background-color: #fff;
    width: 100%;
    min-height: 50px;
    border-radius: 20px;
    font-size: 18px;
    color: #212025;
}

/* menu */
.simply-burger--css {
    display: block;
    overflow: hidden;
    border-radius: 7px;
}

.simply-burger--css {
    background-color: #FF8747;
    width: 56px;
    height: 56px;
    transition: 0.5s ease-in-out;
    cursor: pointer;
    z-index: 1050;
    margin: 0;
    position: relative;
    display: grid;
    align-items: center;
    padding: 12px;
    position: relative;
    flex: none;
    display: none;
}

.simply-burger--css span {
    display: block;
    height: 3px;
    width: 100%;
    background: #fff;
    border-radius: 9px;
    opacity: 1;
    transition: 0.25s ease-in-out;
}

.simply-burger--css.open span:nth-child(2) {
    transform: translate(-50%, -50%) rotate(135deg);
    position: absolute;
    left: 50%;
    top: 50%;
    width: 80%;
}

.simply-burger--css.open span:nth-child(3) {
    opacity: 0;
    left: -60px;
}

.simply-burger--css.open span:nth-child(4) {
    transform: translate(-50%, -50%) rotate(-135deg);
    position: absolute;
    left: 50%;
    top: 50%;
    width: 80%;
}

/* popup css */

.popup-menu {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1030;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
    display: flex;
    justify-content: end;
}

.popup_bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.193);
}

.popup_main {
    width: 100%;
    max-width: 270px;
    justify-content: flex-start;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    flex-direction: column;
    background-color: #fff;
    height: 100dvh;
    position: relative;
    align-items: flex-start;
    padding: 6rem 1rem;
    transform: translateX(150%);
    transition: all .5s ease;
}

.popup_main--list {
    margin-bottom: 2rem;
    list-style-type: none;
    width: 100%;
}

.popup_main--list a {
    color: #212025;
    padding: 10px;
    display: block;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 5px;
}

.popup_main--list li {
    margin-bottom: 0.7rem;
}

.popup_main--list li a {
    font-size: 1rem;
    text-decoration: none;
}

.popup_menu--infoList {
    margin-bottom: 3rem;
    list-style-type: none;
}

.popup_menu--infoList a {
    color: #212025;
    padding: 10px;
    display: block;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 5px;
}

.popup_menu--infoList li {
    margin-bottom: 0.7rem;
}

.popup_menu--infoList li a {
    font-size: 1rem;
    text-decoration: none;
}

.popup_menu--social {
    justify-content: flex-start;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
}

.popup_menu--social li {
    margin-right: 1.5rem;
}

.popup-menu.active {
    opacity: 1;
    visibility: visible;
}

.popup-menu.active .popup_main {
    transform: translateX(0);
}

.sr-only {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

/* End menu */

/* start media */

@media(max-width: 1024px) {
    .simply-burger--css {
        display: grid;
    }

    .a-header-box {
        column-gap: 20px;
    }

    .a-nav {
        display: none;
    }

    .menu-1 {
        flex-direction: column;
        align-items: flex-start;
    }

    .menu-1 li {
        width: 100%;
    }

    .menu-1 a {
        display: flex;
        align-items: center;
    }

    .a-contacts {
        margin-left: auto;
    }

    .a-contacts-box {
        grid-template-columns: 1fr;
    }

    .popup_menu--infoList {
        list-style-type: none;
    }
}

@media(max-width: 992px) {
    .a-general-grid {
        gap: 20px;
        padding-top: 170px;
    }

    .a-general-box__top p {
        font-size: 22px;
    }

    .lists {
        gap: 25px;
    }

    .a-theses-box {
        gap: 20px;
    }

    .a-general-box__top {
        margin-bottom: 30px;
    }

    .bg-icon {
        width: 50px;
        height: 50px;
    }

    .lists li p {
        font-size: 18px;
    }




}


@media(max-width: 768px) {
    .a-general-grid {
        grid-template-columns: 1fr;
    }

    .a-general-box__mob {
        display: block;
        margin-bottom: 20px;
    }

    .a-general-box__right {
        display: none;
    }

    .a-theses-box {
        grid-template-columns: 1fr;
    }

    .a-theses-box__right {
        order: -1;
    }

    .grid-footer {
        display: grid;
        grid-template-columns: 1fr;
        grid-gap: 30px;
    }

    .footer__right {
        order: -1;
        align-items: flex-start;
    }

    .footer-address {
        text-align: left;
    }

    .copiryght-box {
        text-align: left;
    }

    .a-contacts {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .btn-wonder {
        padding: 10px 30px;
        font-size: 20px;
    }

    .a-logo {
        width: min(100%, 235px);
    }

    .a-phone {
        font-size: 18px;
    }

    .a-header {
        padding-block: 7px;
    }

    .a-general-grid {
        padding-top: 135px;
        padding-bottom: 80px;
    }
}

@media(max-width: 600px) {
    .formbox {
        display: grid;
    }

    .formbox-max-widt {
        width: 100%;
    }

    .formbox__img {
        position: relative;
        bottom: -30px;
        right: -31px;
        margin-left: auto;
    }
}

@media(max-width: 512px) {
    .a-logo {
        order: 1;
    }

    .a-contacts {
        order: 3;
    }

    .simply-burger--css {
        order: 2;
    }

    .a-general-grid {
        padding-top: 180px;
    }

    .a-header-box {
        gap: 10px;
        flex-wrap: wrap;
        align-items: center;
    }

    .a-contacts {
        grid-template-columns: auto auto;
        gap: 10px;
        margin-inline: auto;
    }

    .a-general-box__top p {
        font-size: 18px;
    }

    .lists {
        gap: 20px;
    }

    .lists li p {
        font-size: 16px;
    }

    .bg-icon {
        width: 40px;
        height: 40px;
    }

    .contacts-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .a-soc-box {
        order: -1;
    }

    .lists-mission br {
        display: none;
    }

    .bg-purple-light {
        padding: 20px;
    }
}