@import url("https://fonts.googleapis.com/css2?family=Spline+Sans:wght@300..700&display=swap");

.section-hero {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font-family: "Spline Sans", sans-serif;
    background-color: #fff;
    position: relative;
    z-index: 2;
}

.section-hero__wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    gap: 30px;
    position: relative;
    padding-top: 54px;
}

.section-hero__wrap--arrow {
    position: absolute;
    left: 52%;
    margin-right: -50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    bottom: 117px;
}

.section-hero__wrap--content {
    width: 100%;
    max-width: 709px;
}

.section-hero__wrap--content-subtitle {
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #8B9431;
    text-transform: uppercase;
    font-size: clamp(1rem, calc(0.905873494rem + 0.0040160643 * 100vw), 1.25rem) !important;
}

.section-hero__wrap--content-title {
    font-weight: 600 !important;
    margin: 2px 0 13px;
    line-height: 120% !important;
    font-size: clamp(2.625rem, calc(2.0602409639rem + 0.0240963855 * 100vw), 4.125rem) !important;
}

.section-hero__wrap--content-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 15px;
    max-width: 570px;
}

.section-hero__wrap--content-list .item {
    width: calc((100% - 30px) / 3);
    border-radius: 20px;
    background-color: #F5F6EE;
    padding: 36px 5px;
    text-align: center;
}

.section-hero__wrap--content-list .item-image {
    max-width: 40px;
    margin: 0 auto;
}

.section-hero__wrap--content-list .item-title {
    margin-top: 10px;
    font-size: clamp(0.875rem, calc(0.780873494rem + 0.0040160643 * 100vw), 1.125rem) !important;
}

.section-hero__wrap--form {
    background-color: #DEEC51;
    border-radius: 20px;
    padding: 35px 55px;
    position: relative;
    max-width: 505px;
    width: 100%;
    margin-right: 30px;
    margin-top: -30px;
}

.section-hero__wrap--form .wpcf7 .wpcf7-not-valid-tip {
    margin-top: 5px !important;
}

.section-hero__wrap--form .wpcf7-spinner {
    display: block !important;
    position: absolute;
}

.section-hero__wrap--form br {
    display: none;
}

.section-hero__wrap--form .wpcf7-form-control-wrap {
    width: 100%;
}

.section-hero__wrap--form p {
    display: block;
    width: 100%;
    margin: 0;
}

.section-hero__wrap--form::after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background-color: #F5F6EE;
    -webkit-transform: rotate(-6deg);
    -ms-transform: rotate(-6deg);
    transform: rotate(-6deg);
    z-index: -1;
    border-radius: 20px;
}

.section-hero__wrap--form .row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 10px;
}

.section-hero__wrap--form .row-item {
    width: calc((100% - 10px) / 2);
}

.section-hero__wrap--form .row input,
.section-hero__wrap--form .row select,
.section-hero__wrap--form .row textarea {
    display: block;
    width: 100%;
    font-family: "Spline Sans", sans-serif;
    padding: 14px 21px;
    border: none;
    background: none;
    border: solid 1px #DDE498;
    background-color: #fff;
    opacity: 1;
    font-size: 16px;
    color: #2d2d2d;
    border-radius: 15px;
    min-height: 50px;
}

.section-hero__wrap--form .row input::-webkit-input-placeholder,
.section-hero__wrap--form .row select::-webkit-input-placeholder,
.section-hero__wrap--form .row textarea::-webkit-input-placeholder {
    color: #6E6E6E;
    opacity: 1;
}

.section-hero__wrap--form .row input::-moz-placeholder,
.section-hero__wrap--form .row select::-moz-placeholder,
.section-hero__wrap--form .row textarea::-moz-placeholder {
    color: #6E6E6E;
    opacity: 1;
}

.section-hero__wrap--form .row input:-ms-input-placeholder,
.section-hero__wrap--form .row select:-ms-input-placeholder,
.section-hero__wrap--form .row textarea:-ms-input-placeholder {
    color: #6E6E6E;
    opacity: 1;
}

.section-hero__wrap--form .row input::-ms-input-placeholder,
.section-hero__wrap--form .row select::-ms-input-placeholder,
.section-hero__wrap--form .row textarea::-ms-input-placeholder {
    color: #6E6E6E;
    opacity: 1;
}

.section-hero__wrap--form .row input::placeholder,
.section-hero__wrap--form .row select::placeholder,
.section-hero__wrap--form .row textarea::placeholder {
    color: #6E6E6E;
    opacity: 1;
}

.section-hero__wrap--form-title {
    font-size: 26px;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 500;
    color: #000;
}

.section-hero__wrap--form .btn {
    width: 100%;
    border-radius: 50px;
    border: solid 1px #000;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

.section-hero__gallery {
    margin-top: 65px;
    padding-bottom: 65px;
}

.section-hero__gallery .wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.section-hero__gallery .row {
    width: 28%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 20px;
    margin-right: 1.73%;
}

.section-hero__gallery .row:nth-child(4n+4) {
    margin-right: 0;
}

.section-hero__gallery .row .item {
    width: 100%;
    height: 444px;
}

.section-hero__gallery .row .item img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    border-radius: 20px;
}

.section-hero__gallery .row-2 {
    width: 13.5%;
}

.section-hero__gallery .row-2 .item {
    height: 212px;
}

.section-hero__gallery .row-4 {
    width: 25.3%;
}

.section-hero__gallery .row-4 .item {
    height: 222px;
}

.section-hero__gallery .row-4 .item:nth-child(2) {
    height: 201px;
}

.container {
    max-width: 1371px;
    margin: 0 auto;
    padding: 0 15px;
}

.header {
    background-color: #fff;
    z-index: 100;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
}

.header-wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    gap: 30px;
    padding: 23px 0;
}

.header-wrap__left,
.header-wrap__right {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.header-wrap__left {
    gap: 58px;
}

.header-wrap__right {
    gap: 99px;
}

.header-wrap__logo {
    display: block;
    width: 100%;
    max-width: 233px;
    position: relative;
    z-index: 2;
}

.header-wrap__icon {
    display: none;
}

.header-wrap__nav .header-wrap__phone {
    display: none;
}

.header-wrap__nav ul {
    margin: 0;
    list-style-type: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    list-style-type: none;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    font-size: 16px;
    gap: 40px;
}

.header-wrap__nav ul a {
    color: #000;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}

.header-wrap__nav ul a:hover {
    color: #DEEC51;
}

.header-wrap__phone {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 18px;
    color: #000;
    line-height: 100%;
}

.header-wrap__phone--icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background-color: #000;
    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;
}

.header-wrap__phone--title {
    font-size: 16px;
}

.header-wrap__phone--title strong {
    display: block;
    margin-top: 3px;
    font-size: 20px;
}

.header-wrap .btn .ast-custom-button {
    border-radius: 50px;
    background-color: #DEEC51 !important;
    -webkit-transition: 0.3s;
    transition: 0.3s;
    color: #000 !important;
}

.header-wrap .btn .ast-custom-button:hover {
    background-color: #000 !important;
    color: #DEEC51 !important;
}

@media (max-width: 1250px) {
    .section-hero__wrap--arrow {
        display: none;
    }

    .header-wrap__logo {
        max-width: 150px;
    }

    .header-wrap__right {
        gap: 30px;
    }
}

@media (max-width: 1024px) {
    .section-hero__wrap {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        gap: 50px;
    }

    .section-hero__wrap--form {
        margin: 0;
    }

    .section-hero__wrap--content {
        max-width: 100%;
        text-align: center;
    }

    .section-hero__wrap--content-list {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        margin: 0 auto;
    }

    .section-hero__gallery .wrapper {
        gap: 20px;
    }

    .section-hero__gallery .wrapper .row:nth-child(1n+1) {
        margin: 0;
        width: calc((100% - 20px) / 2);
    }

    .section-hero__gallery .wrapper .row-3 {
        -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
        order: 2;
    }

    .header-wrap {
        gap: 5px;
    }

    .header-wrap__logo {
        max-width: 134px;
    }

    .header-wrap__phone {
        position: relative;
        margin-top: -10px;
        z-index: 2;
    }

    .header-wrap__phone--icon {
        display: none;
    }

    .header-wrap__phone--title {
        font-size: 0;
    }

    .header-wrap__phone--title strong {
        margin: 0;
        font-size: 16px;
        text-decoration: underline;
    }

    .header-wrap .btn {
        display: none;
    }

    .header-wrap__icon {
        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-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        position: relative;
        width: 46px;
        height: 46px;
        border-radius: 12px;
        background-color: #000;
        gap: 5px;
    }

    .header-wrap__icon span {
        display: block;
        width: 20px;
        height: 2px;
        border-bottom: solid 2px #DEEC51;
        border-radius: 10px;
        -webkit-transition: 0.3s;
        transition: 0.3s;
    }

    .header-wrap__icon--active span {
        -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        transform: rotate(45deg);
    }

    .header-wrap__icon--active span:nth-child(2) {
        -webkit-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        transform: rotate(-45deg);
        position: absolute;
    }

    .header-wrap__icon--active span:nth-child(3) {
        display: none;
    }

    .header-wrap__nav {
        background-color: #F5F6EE;
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100vh;
        padding: 179px 15px 38px;
        overflow-y: auto;
        display: block;
        opacity: 0;
        visibility: hidden;
        -webkit-transition: 0.3s;
        transition: 0.3s;
    }

    .header-wrap__nav--active {
        opacity: 1;
        visibility: visible;
    }

    .header-wrap__nav ul {
        text-align: center;
        display: block;
        font-size: 24px;
        font-weight: 500;
    }

    .header-wrap__nav ul li {
        margin-bottom: 60px;
    }

    .header-wrap__nav .header-wrap__phone {
        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;
        margin-top: 100px;
    }

    .header-wrap__nav .header-wrap__phone--icon {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }

    .header-wrap__nav .header-wrap__phone--title {
        font-size: 16px;
    }

    .header-wrap__nav .header-wrap__phone--title strong {
        font-size: 20px;
        margin-top: 6px;
        text-decoration: none;
    }

    .header-wrap__right {
        gap: 15px;
    }
}

@media (max-width: 550px) {
    .section-hero__wrap {
        padding-top: 10px;
        gap: 20px;
    }

    .section-hero__wrap--content-list .item {
        padding: 15px 5px;
    }

    .section-hero__wrap--form {
        padding: 30px;
    }

    .section-hero__wrap--form::after {
        display: none;
    }

    .section-hero__wrap--form .row-item {
        width: 100%;
    }

    .section-hero__wrap--form .row .btn {
        min-height: 56px;
    }

    .section-hero__gallery {
        margin-top: 20px;
    }

    .section-hero__gallery .wrapper {
        margin-bottom: 10px;
        gap: 10px;
    }

    .section-hero__gallery .wrapper .row {
        gap: 10px;
        width: calc((100% - 10px) / 2);
    }

    .section-hero__gallery .wrapper .row .item {
        height: 269px;
    }

    .section-hero__gallery .wrapper .row .item img {
        border-radius: 15px;
    }

    .section-hero__gallery .wrapper .row-2 .item:nth-child(1n+1),
    .section-hero__gallery .wrapper .row-4 .item:nth-child(1n+1) {
        height: 129.5px;
    }
}