:root {
    --color-light: #F5F5F5;
    --color-dark:#0F0F0F;
    --color-accent: #C7422B;
    --color-gray: #7D7C7B;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

html {
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 130%;
    font-family: "Jost", "Arial", sans-serif;
    color: var(--color-dark);
}

body {
    width: 100%;
    height: 100%;

    background-color: #fff;
}

.wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: calc(100 * var(--vh, 1vh));
}

.wrapper .header,
.wrapper .footer {
    flex-shrink: 0;
}

.wrapper main {
    flex-grow: 1;
}

a {
    color: var(--color-dark);
    text-decoration: none;
    transition: color 0.3s ease, opacity 0.3s ease;
}

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

textarea {
    resize: none;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    margin: 0;

    appearance: none;
}

input[type="number"] {
    appearance: textfield;
}

select,
textarea,
input:matches([type="email"],
    [type="number"],
    [type="password"],
    [type="search"],
    [type="tel"],
    [type="text"],
    [type="url"]) {
    appearance: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
    appearance: none;
}

@font-face {
    font-style: normal;
    font-weight: 300;
    font-family: "Jost";

    font-display: swap;
    src:
        url("../fonts/Jost-Light.woff2") format("woff2"),
        url("../fonts/Jost-Light.woff") format("woff");
}

@font-face {
    font-style: normal;
    font-weight: 400;
    font-family: "Jost";

    font-display: swap;
    src:
        url("../fonts/Jost-Regular.woff2") format("woff2"),
        url("../fonts/Jost-Regular.woff") format("woff");
}

@font-face {
    font-style: normal;
    font-weight: 500;
    font-family: "Jost";

    font-display: swap;
    src:
        url("../fonts/Jost-Medium.woff2") format("woff2"),
        url("../fonts/Jost-Medium.woff") format("woff");
}

@font-face {
    font-style: normal;
    font-weight: 600;
    font-family: "Jost";

    font-display: swap;
    src:
        url("../fonts/Jost-SemiBold.woff2") format("woff2"),
        url("../fonts/Jost-SemiBold.woff") format("woff");
}

@font-face {
    font-style: normal;
    font-weight: 700;
    font-family: "Jost";

    font-display: swap;
    src:
        url("../fonts/Jost-Bold.woff2") format("woff2"),
        url("../fonts/Jost-Bold.woff") format("woff");
}

.color-accent {
    color: var(--color-accent);
}

.color-gray {
    color: var(--color-gray);
}

.mb-85 {
    margin-bottom: 85px;
}

.mh-16 {
    margin-left: 16px;
    margin-right: 16px;
}

@media(max-width: 1023px) {
    .mb-85 {
        margin-bottom: 70px;
    }

    .mh-16 {
        margin-left: 15px;
        margin-right: 15px;
    }
}

@media(max-width: 767px) {
    .mb-85 {
        margin-bottom: 60px;
    }
}

.bg-light {
    background-color: var(--color-light);
    padding: 85px 0;
}


@media(max-width: 1023px) {
    .bg-light {
        padding: 70px 0;
    }
}

@media(max-width: 767px) {
    .bg-light {
        padding: 60px 0;
    }
}

.container {
    position: relative;
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 0 54px;
}

@media (max-width: 1023px) {
    .container {
        padding: 0 15px;
    }
}

.grid-1 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

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

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

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

@media (max-width: 1023px) {
    .grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 959px) {
    .grid-4,
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 767px) {
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.link {
    color: inherit;
}
.link:hover,
.link:focus {
    color: var(--color-accent);
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    outline: none;
    border: 1px solid var(--color-accent);
    background-color: var(--color-accent);
    border-radius: 4px;
    font-family: 'Jost';
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    line-height: 110%;
    color: #fff;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    min-height: 50px;
}

.btn:hover,
.btn:focus {
    background-color: #fff;
    color: var(--color-accent)
}

.btn--white {
    border-color: #fff;
    background-color: #fff;
    color: var(--color-accent);
}

.btn--white:hover,
.btn--white:focus {
    border-color: var(--color-accent);
    background-color: var(--color-accent);
    color: #fff;
}

.btn--border {
    background-color: transparent;
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
}

.btn--border:hover,
.btn--border:focus {
    border-color: var(--color-accent);
    background-color: var(--color-accent);
    color: #fff;
}

.title {
    margin: 0 0 40px;
    font-weight: 400;
    font-size: 40px;
    line-height: 120%;
    text-transform: uppercase;
}

@media(max-width: 1023px) {
    .title {
        font-size: 36px;
        margin-bottom: 30px;
    }
}

@media(max-width: 959px) {
    .title {
        font-size: 32px;
    }
}

@media(max-width: 767px) {
    .title {
        font-size: 26px;
        margin-bottom: 20px;
    }
}

.page-title {
    font-weight: 400;
    font-size: 42px;
    line-height: 120%;
    text-transform: uppercase;
    margin: 0 0 40px;
}

.page-wrap {
    display: flex;
    gap: 20px;
}

.page-text {
    font-size: 16px;
    line-height: 130%;
}

.page-text p {
    margin: 0 0 15px;
}

.page-text ul {
    margin: 0 0 15px;
    padding: 0;
    list-style: none;
}

.page-text ul li {
    margin: 0 0 10px;
}

.page {
    display: grid;
    grid-template-columns: 1fr 430px;
    gap: 20px;
}

.page__content {
    flex: 2;
}

.page-content .page-title {
    margin-bottom: 20px;
}

.page-date {
    font-size: 12px;
    line-height: 130%;
    opacity: 0.6;
    margin-bottom: 20px;
}

.page-text img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    border-radius: 4px;
    margin: 40px 0;
}

@media(max-width: 1023px) {
    .page {
        grid-template-columns: 1fr;
    }

    .page-title {
        font-size: 36px;
    }
}

@media(max-width: 959px) {
    .page-title {
        font-size: 32px;
    }

    .page-text img {
        margin: 30px 0;
    }
}

@media(max-width: 767px) {
    .page-title {
        font-size: 26px;
    }

    .page-text {
        font-size: 14px;
    }

    .page-text img {
        margin: 20px 0;
    }
}

.section-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: center;
    margin-bottom: 40px;
}

.section-top .title {
    margin: 0;
}

.section-text {
    font-size: 18px;
    line-height: 130%;
}

@media(max-width: 1023px) {
    .section-top {
        margin-bottom: 30px;
    }

    .section-text {
        font-size: 16px;
    }
}

@media(max-width: 959px) {
    .section-text {
        font-size: 14px;
    }
}

@media(max-width: 767px) {
    .section-top {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 20px;
    }
}

.breadcrumbs {
    list-style: none;
    margin: 140px 0 40px;
    padding: 0;
}

.breadcrumbs li {
    display: inline-flex;
    align-items: center;
	font-size: 14px;
    line-height: 20px;
}

.breadcrumbs a {
    transition: color 0.3s ease;
}

.breadcrumbs a:hover {
    color: var(--color-accent);
}

.breadcrumbs li::after {
    content: "";
    padding: 0 12px;
    width: 10px;
    height: 10px;
    background-image: url('/wp-content/themes/stroy/img/icon-arrow.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.breadcrumbs li:last-child::after {
    display: none;
}

.logo {
    flex-shrink: 0;
    position: relative;
    width: 175px;
    height: 31px;
}

.logo a {
    display: flex;
    align-items: center;
    transition: opacity 0.3s ease;
}

.logo svg,
.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo a:hover,
.logo a:focus {
    opacity: 0.5;
}

.swiper-btn-prev,
.swiper-btn-next {
    border: 1px solid var(--color-accent);
    background-color: transparent;
    padding: 0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    flex-shrink: 0;
    cursor: pointer;
    color: var(--color-accent);
    transition: background-color 0.3s ease, opacity 0.3s ease, color 0.3s ease;
}

.swiper-btn-prev svg,
.swiper-btn-next svg {
    width: 22%;
    height: 38%;
}

.swiper-btn-next:disabled,
.swiper-btn-prev:disabled {
    opacity: 0.5;
    pointer-events: none;
}

.swiper-btn-next.swiper-button-lock,
.swiper-btn-prev.swiper-button-lock {
	display: none;
}

[data-slider] .swiper-btn-prev,
[data-project-slider] .swiper-btn-next,
[data-project-slider] .swiper-btn-prev,
[data-slider] .swiper-btn-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: 1px solid #fff;
    width: 28px;
    height: 28px;
    cursor: pointer;
    color: #fff;
    transition: background-color 0.3s ease, opacity 0.3s ease, border-color 0.3s ease;
    z-index: 5;
}

[data-slider] .swiper-btn-prev svg,
[data-slider] .swiper-btn-next svg,
[data-project-slider] .swiper-btn-next svg,
[data-project-slider] .swiper-btn-prev svg {
    width: 28%;
    height: 43%;
}

[data-slider] .swiper-btn-prev,
[data-project-slider] .swiper-btn-prev {
    left: 24px;
}

[data-slider] .swiper-btn-next,
[data-project-slider] .swiper-btn-next {
    right: 24px;
}

.swiper-btn-next:hover,
.swiper-btn-prev:hover {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: #fff;
}

@media(max-width: 767px) {
    .swiper-btn-prev,
    .swiper-btn-next {
        width: 40px;
        height: 40px;
    }
}

.swiper-pagination-bullets.swiper-pagination-horizontal {
    position: relative;
    bottom: 0;
    top: 0;
    left: 0;
    width: 100%;
    margin-top: 20px;
}

.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    margin: 0 5px;
    background: #DBDBDB;
    opacity: 1;
    transition: all 0.3s ease;
}

.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet-active {
    width: 20px;
    opacity: 1;
    border-radius: 100px;
    background: var(--color-accent);
}

.custom-input,
.custom-textarea {
    position: relative;
    flex: 1;

    display: flex;
    width: 100%;

    color: #fff;
}

.custom-input label,
.custom-textarea label {
    width:100%;
}

.custom-input input,
.custom-textarea textarea {
    width: 100%;
    min-height: 55px;
    margin-left: auto;
    padding: 18px 20px;
    font: inherit;
    color: inherit;
    outline: none;
    background-color: transparent;
    transition: background-color 0.3s ease;
    border: 1px solid #fff;
    color: #fff;
}

.custom-input input::-webkit-input-placeholder,
.custom-textarea textarea ::-webkit-input-placeholder {
    color: #fff;
}

.custom-input input:hover,
.custom-textarea textarea:hover,
.custom-input input:focus,
.custom-textarea textarea:focus {
    background-color: rgba(15,15,15, 0.3);
}

.custom-input p {
	margin: 0;
	width: 100%;
}

.custom-textarea textarea {
    height: 150px;
}

.nav {
    display: flex;
}

.nav__list {
    list-style: none;
    margin: 0 15px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 35px;
}

.menu-item-has-children {
    position: relative;
}

.menu-item-has-children:hover  .nav__sublist,
.menu-item-has-children:focus  .nav__sublist,
.menu-item-has-children:focus-within  .nav__sublist {
    opacity: 1;
    visibility: visible;
}

.menu-item-has-children.active  .nav__link svg,
.menu-item-has-children:hover  .nav__link svg,
.menu-item-has-children:focus  .nav__link svg,
.menu-item-has-children:focus-within  .nav__link svg {
    transform: rotate(0.5turn);
    flex-shrink: 0;
}

.nav__link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 400;
    font-size: 18px;
    line-height: 110%;
    color: var(--color-dark);
    transition: opacity 0.3s ease, color 0.3s ease;
}

.nav__item.active > .nav__link {
    color: var(--color-accent);
}

.nav__link:hover,
.nav__link:focus {
    opacity: 0.6;
}

.nav__sublist {
    position: absolute;
    bottom: 0;
    left: -30px;
    transform: translateY(100%);
    background: #fff;
    list-style: none;
    margin: 0;
    padding: 15px 20px;
    z-index: 10;
    width: max-content;
    min-width: 180px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.nav__sublist li:not(:last-child) {
    margin-bottom: 15px;
}

.menu-item-has-children  .nav__link svg {
    transition: transform 0.3s ease;
	position: relative;
}

@media (max-width: 1239px) {
    .nav {
        height: 100%;
        overflow: auto;
    }

    .nav__list {
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 20px;
        margin: 0;
    }

    .nav__sublist {
        position: relative;
        left: 0;
        transform: none;
        background: #fff;
        border-radius: 0;
        margin: 0;
        padding: 0 0 0 10px;
        width: auto;
        max-height: 0;
        transition: max-height 0.3s ease;
        opacity: 1;
        visibility: visible;
        overflow: hidden;
        border: none;
    }

    .nav__sublist.active {
        max-height: 100%;
    }

    .nav__link {
        color: var(--color-dark);
        font-size: 18px;
        line-height: 110%;
    }
	
	.menu-item-has-children  .nav__link svg::after {
		content: "";
		position: absolute;
		left: 50%;
		top: 50%;
		transform: translate(-50%, -50%);
		display: block;
		width: 30px;
		height: 30px;
		z-index:2;
	}
}

.rating {
    flex-shrink: 0;
}

.rating__link {
	display: flex;
    align-items: center;
    gap: 8px;
	color: inherit;
	transition: opacity 0.3s ease;
}

.rating__link:hover {
	opacity: 0.8;
}

.rating__num {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--color-accent);
    color: var(--color-light);
    font-size: 16px;
    line-height: 110%;
}

.rating__text {
    font-size: 12px;
    line-height: 110%;
}

@media(max-width : 959px) {
    .rating {
        display: none;
    }
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding-top: 16px;
    z-index: 50;
}

.header__overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    visibility: hidden;
    background-color: #000;
    transition: opacity 0.3s ease;
    z-index: 50;
}

.header__overlay.show {
    opacity: 0.72;
    visibility: visible;
    z-index: 20;
}

.header__wrap {
    padding: 27px 38px;
    background-color: var(--color-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 110px;
    transition: top 0.3s ease;
}

.header__btns {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.header__btn {
    min-height: 40px;
    max-width: 190px;
    font-size: 14px;
}

.header__mob-btn {
    display: none;
}

.header__logo-mob {
    display: none;
}

.header__phone {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;

    flex-shrink: 0;
}

.header__phone a {
    font-weight: 700;
    font-size: 17px;
    line-height: 110%;
    transition: color 0.3s ease;
}

.header__phone a:hover,
.header__phone a:focus {
    color: var(--color-accent);
}

.header__phone-text {
    font-size: 12px;
    line-height: 110%;
}

.header__burger {
    position: relative;
    display: none;
    width: 40px;
    height: 40px;
    padding: 0;
    min-height: 40px;
    color: var(--color-accent);
}

.header__burger svg {
    position: absolute;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
    transition: opacity 0.3s ease;
}

.header--main .header__wrap {
    background-color: transparent;
    color: #fff;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.header--main .logo a {
    color: #fff;
    transition: color 0.3s ease;
}

.header--main .rating {
    color: #fff;
    transition: color 0.33s ease;
}

.header--main .nav__list > .nav__item > .nav__link {
    color: #fff;
}

.header--main .header__phone a {
    color: #fff;
}

.header--main .btn--border {
    border-color: #fff;
    color: #fff;
}

.header--main .rating__num {
    color: var(--color-accent);
    background-color: #fff;
    transition: color 0.33s ease, background-color 0.3s ease;
}

.header--main .header__burger svg {
    color: #fff;
    transition: color 0.3s ease;
}

.header--main.sticky .header__wrap  {
    color: var(--color-dark);
    background-color: var(--color-light);
}

.header--main.sticky .logo a {
    color: var(--color-dark);
}

.header--main.sticky .rating {
    color: var(--color-dark);
}

.header--main.sticky .nav__list > .nav__item > .nav__link {
    color: var(--color-dark);
}

.header--main.sticky .header__phone a {
    color: var(--color-dark);
}

.header--main.sticky .btn--border {
    border-color:  var(--color-accent);
    color:  var(--color-accent);
}

.header--main.sticky .rating__num {
    color: #fff;
    background-color:  var(--color-accent);
}

.header--main.sticky .header__burger svg {
    color:  var(--color-accent);
}

@media (max-width : 1239px) {
    .header__wrap {
        justify-content: flex-start;
        padding: 20px;
    }

    .header__btns {
        margin-left: auto;
    }

    .header__menu {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        max-width: 300px;
        height: 100vh;
        height: calc(100 * var(--vh, 1vh));
        overflow: hidden;
        background-color: #fff;
        z-index: 25;
        border-radius: 4px;
        padding: 20px 15px;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        flex:1;
    }

    .header__menu.is-active {
        opacity: 1;
        visibility: visible;
    }

    .header--main .header__menu.is-active  .nav__list > .nav__item > .nav__link {
        color: var(--color-dark);
    }

    .header__mob-btn {
        display: block;
        width: 100%;
    }
    
    .header__logo-mob {
        display: block;
        margin-bottom: 35px;
    }

    .header__burger {
        display: flex;
        z-index: 26;
    }

    .header__burger.is-open {
        position: fixed;
        top: 15px;
        right: 15px;
    }

    .header__burger .icon-close {
        opacity: 0;
    }

    .header__burger.is-open .icon-close {
        opacity: 1;
    }

    .header__burger.is-open .icon-open {
        opacity: 0;
    }
}

@media(max-width : 767px) {
    .header {
        padding-top: 0;
    }

    .header__wrap {
        justify-content: space-between;
        margin: 0;
    }

    .header__btns {
        display: none;
    }
}

.promo {
    position: relative;
    min-height: 100vh;
    min-height: calc(100 * var(--vh, 1vh));
    color: #fff;
    margin-top: 16px;
}

.promo__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.promo__img::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.36;
}

.promo__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo .container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 38px;
}

.promo__wrap {
    display: grid;
    grid-template-columns: 325px 1fr 325px;
    gap:  13px;
    padding: 54px 0;
}

.promo__title {
    color: #fff;
    font-size: 62px;
    font-weight: 500;
    line-height: 120%;
    margin: 0 0 15px;
    max-width: 600px;
    text-transform: uppercase;

    grid-column: 1 /  span 2;
}

.promo__title-note {
    display: block;
    font-weight: 400;
    font-size: 20px;
    line-height: 140%;
    text-transform: none;
    margin-bottom: 10px;
}

.promo__btn {
    min-height: 60px;
}

.promo__text {
    font-size: 20px;
    line-height: 120%;
    align-self: center;
}

.promo__list {
    grid-row: 1 / span 2;
    grid-column: -2 / -1;
    align-self: end;
    display: flex;
    flex-direction: column;
    gap: 27px;
}

.promo__item {
    display: flex;
    align-items: center;
    gap: 22px;
}

.promo__icon {
    width: 30px;
    height: 30px;
    border-radius: 4px;
    border: 1px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.promo__icon svg {
    width: 12px;
    height: 8px;
}

.promo__item-text {
    font-size: 18px;
    line-height: 110%;
}

@media (max-width: 1023px) {
    .promo .container {
        padding: 0 20px;
    }

    .promo__wrap {
        grid-template-columns: 1fr 325px;
        gap: 10px;
        padding: 20px 0;
    }

    .promo__title {
        grid-column: 1 /  span 1;
        font-size: 46px;
        margin-bottom: 18px;
    }

    .promo__btn {
        max-width: 325px;
    }
    
    .promo__text {
        font-size: 18px;
    }

    .promo__list {
        grid-row: 1 / span 3;
    }
}

@media (max-width: 959px) {
    .promo .container {
        padding: 0 20px;
    }

    .promo__wrap {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .promo__title {
        grid-column: 1 /  span 2;
        margin-bottom: 8px;
    }

    .promo__text {
        font-size: 16px;
    }

    .promo__list {
        grid-row: auto / span 1;
        grid-column: 1 / span 2;
        align-self: start;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .promo__item-text {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .promo {
        margin-left: 0;
        margin-right: 0;
        margin-top: 0;
    }

    .promo .container {
        padding: 0 15px;
    }

    .promo__wrap {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .promo__title {
        font-size: 32px;
        grid-column: 1 /  span 1;
        margin-bottom: 10px;
    }

    .promo__text {
        font-size: 14px;
    }

    .promo__list {
        grid-column: 1 / span 1;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .promo__item-text {
        font-size: 14px;
    }
}

.card {
    position: relative;
    width: 100%;
}

.card__link {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    border: 1px solid #EEEEEE;
    border-radius: 4px;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.card__img {
    width: 100%;
    aspect-ratio: 318 / 180;
    border-radius: 4px;
    overflow: hidden;
}

.card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card__info {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 20px;
}

.card__date {
    font-size: 14px;
    line-height: 130%;
    opacity: 0.6;
    margin-bottom: 10px;
}

.card__title {
    font-weight: 600;
    font-size: 18px;
    line-height: 120%;
    transition: color 0.3s ease;
}

.card__arrow {
    width: 36px;
    height: 36px;
    min-height: 0;
    padding: 0;
}

.card__arrow svg {
    width: 38%;
    height: 38%;
}

.card:has(.card__arrow) .card__info {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.card__link:hover,
.card__link:focus {
    background: var(--color-light);
}

.card__link:hover .card__title,
.card__link:focus .card__title {
   color: var(--color-accent);
}

.card__link:hover .card__arrow,
.card__link:focus .card__arrow {
    background-color: var(--color-accent);
   color: #fff;
}

@media(max-width: 767px) {
    .card__info {
        padding: 15px;
    }
    
    .card__date {
        font-size: 12px;
    }
}

.filter {
    display: flex;
    flex-wrap: wrap;
}

.filter__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    background-color: var(--color-light);
    transition: color 0.3s ease, background-color 0.3s ease;
    font-family: 'Jost';
    font-weight: 500;
    font-size: 18px;
    line-height: 26px;
}

.filter__btn:hover,
.filter__btn.active {
    color: #fff;
    background-color: var(--color-accent);
}

@media(max-width: 959px) {
    .filter__btn {
        padding: 8px 20px;
        font-size: 16px;
    }
}

@media(max-width: 767px) {
    .filter__btn {
        width: 100%;
    }
}

.paginations {
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.paginations__item,
.page-numbers {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 5px 10px;
    gap: 10px;
    background: #d9d9d9;
    border-radius: 4px;
    font-family: 'Jost';
    font-size: 16px;
    line-height: 23px;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.page-numbers:hover,
.page-numbers.current,
.paginations__item:hover,
.paginations__item.active {
    background-color: var(--color-accent);
    color: #fff;
}

@media(max-width: 1023px) {
    .paginations {
        margin-top: 15px;
    }
}

@media(max-width: 767px) {
    .paginations__item,
	.page-numbers {
        font-size: 14px;
        line-height: 20px;
    }
}

.projects__filter {
    margin-bottom: 20px;
}

.projects__wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.project-card {
	position: relative;
    width: calc((100% - 40px) / 3);
    display: flex;
    flex-direction: column;
	border: 1px solid #eee;
}

.project-card__slider {
	position: relative;
}

.project-card .swiper {
	z-index: -1;
}

.project-card__img {
    width: 100%;
    aspect-ratio: 430 / 320;
    border-radius: 4px;
    overflow: hidden;
}

.project-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-card__info {
	height: 100%;
    padding: 20px;
	transition: background-color 0.3s ease;
}

.project-card__title {
    font-weight: 600;
    font-size: 22px;
    line-height: 120%;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.project-card__link {
	flex: 1;
}

.project-card__link::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	width: 100%;
	height: 100%;
	z-index: 2;
}

.project-card__link:hover .project-card__title {
    color: var(--color-accent);
}

.project-card__link:hover .project-card__info {
    background-color: var(--color-light);
}

@media(max-width: 1023px) {
    .project-card__info {
        padding: 15px;
    }

    .project-card__title {
        font-size: 20px;
    }
}

@media(max-width: 959px) {
    .project-card {
        width: calc((100% - 20px) / 2);
    }
}

@media(max-width: 767px) {
    .project-card {
        width: 100%;
    }

    .project-card__title {
        font-size: 18px;
        margin-bottom: 12px;
    }
}

.similar-card {
    position: relative;
	display: flex;
	align-items: flex-end;
    width: 510px;
    height: 320px;
}

.similar-card__slider {
	position: absolute;
	top: 0;
	left: 0;
    width: 100%;
    height: 100%;
}

.similar-card__slider .swiper {
    height: 100%;
	z-index: -1;
}

.similar-card__img {
    width: 100%;
    height: 100%;
    border-radius: 4px;
    overflow: hidden;
}

.similar-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    user-select: none;
}

.similar-card__info {
	margin-top: 0;
    padding: 24px;
}

.similar-card .tags {
    position: absolute;
    top: 24px;
    left: 24px;
    z-index: 2;
}

.similar-card__title {
    font-weight: 600;
    font-size: 22px;
    line-height: 110%;
    margin-bottom: 10px;
    color: #fff;
}

.similar-card__text {
    font-size: 18px;
    line-height: 110%;
    color: #fff;
}

.similar-card__link::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	width: 100%;
	height: 100%;
	z-index: 2;
}

@media(max-width: 959px) {
    .similar-card {
        width: 437px;
        height: 274px;
    }

    .similar-card .tags {
        top: 20px;
        left: 20px;
    }

    .similar-card__info {
        padding: 20px;
    }

    .similar-card__title {
        font-size: 18px;
        margin-bottom: 5px;
    }
    
    .similar-card__text {
        font-size: 16px;
    }
}

@media(max-width: 767px) {
    .similar-card {
        width: 330px;
        height: 206px;
    }

    .similar-card .tags {
        top: 15px;
        left: 15px;
    }

    .similar-card__info {
        padding: 15px;
    }

    .similar-card__title {
        font-size: 16px;
        margin-bottom: 4px;
    }
    
    .similar-card__text {
        font-size: 12px;
    }
}

.project__sliders {
	display: grid;
	grid-template-columns: 50% 50%;
    margin-bottom: 60px;
}

.project__main-slider {
    width: 100%;
	max-height: 70vh;
    aspect-ratio: 3 / 4;
}

.project__preview-slider {
    order: -1;
	display: flex;
	flex-wrap: wrap;
}

.project__preview-slider .swiper-wrapper {
    display: contents;
}

.project__preview-slider .project__img {
    height: auto;
	width: auto;
	margin-bottom: 20px;
}

.project__img img{
    width: 100%;
    height: 100%;
	object-fit: cover;
}

.project__preview-slider img {
	max-height: 20vh;
	width: auto;
}

.project__desc {
    background: var(--color-light);
    border-radius: 4px;
    padding: 60px;
}

.project__desc-title {
    font-weight: 500;
    font-size: 36px;
    line-height: 120%;
    margin-bottom: 20px;
}

.project__desc-text {
    font-size: 18px;
    line-height: 140%;
    opacity: 0.6;
}

.project__link {
    display: block;
    width: fit-content;
    margin: 20px auto 0;
    font-size: 18px;
    line-height: 26px;
    color: var(--color-accent);
    transition: color 0.3s ease;
}

.project__link:hover,
.project-card__link:focus {
    color: var(--color-dark);
}

@media(max-width: 1023px) {
	.project__sliders {
        margin-bottom: 40px;
    }
	
    .project__desc {
        padding: 40px;
    }
    
    .project__desc-title {
        font-size: 32px;
    }
}

@media(max-width: 959px) {
	.project__sliders {
		display: block;
        margin-bottom: 20px;
    }
	
	.project__main-slider {
		margin-bottom: 20px;
	}
	
	.project__preview-slider .swiper-wrapper {
		display: flex;
	}

	.project__preview-slider .project__img {
		margin-bottom: 0;
	}

    .project__desc {
        padding: 20px;
    }
    
    .project__desc-title {
        font-size: 26px;
    }

    .project__desc-text {
        font-size: 16px;
    }

    .project__link {
        font-size: 16px;
    }
}

@media(max-width: 767px) {
    .project__desc {
        padding: 15px;
    }
    
    .project__desc-title {
        font-size: 22px;
        margin-bottom: 12px;
    }

    .project__desc-text {
        font-size: 14px;
    }

    .project__link {
        font-size: 14px;
    }
}

.aside {
    flex: 1;
}

.aside__title {
    font-weight: 600;
    font-size: 24px;
    line-height: 120%;
    margin: 0;
}

.aside__item {
    padding: 20px 0;
    border-bottom: 1px solid #d9d9d9; 
}

.aside__item-title {
    font-weight: 500;
    font-size: 20px;
    line-height: 120%;
    margin:  0 0 10px;
    transition: color 0.3s ease;
}

.aside__item-text {
    font-size: 16px;
    line-height: 120%;
    opacity: 0.6;
}

.aside__item a:hover .aside__item-title,
.aside__item a:focus .aside__item-title{
    color: var(--color-accent);
}

@media(max-width: 1023px) {
    .aside {
        display: none;
    }
}

.reviews__wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.reviews__btn {
    grid-column: 1 / -1;
    min-height: 62px;
}

@media(max-width: 1023px) {
    .reviews__wrap {
        grid-template-columns: repeat(2, 1fr);
    }

    .reviews__btn {
        grid-column: auto;
        align-self: end;
    }
}

@media(max-width: 767px) {
    .reviews__wrap {
        grid-template-columns: 1fr;
    }
}

.review-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: var(--color-light);
    background-image: url(/wp-content/themes/stroy/img/card-bg2.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 4px;
    padding: 24px;
}

.review-card__top {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 24px;
}

.review-card__avatar {
    width: 60px;
    height: 60px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.review-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-card__author-name {
    font-weight: 500;
    font-size: 22px;
    line-height: 110%;
    margin-bottom: 4px;
}

.review-card__author-order {
    font-size: 18px;
    line-height: 110%;
    opacity: 0.4;
}

.review-card__text {
    font-size: 18px;
    line-height: 130%;
    opacity: 0.6;
}

@media(max-width: 1023px) {
    .review-card {
        padding: 20px;
    }

    .review-card__author-name {
        font-size: 20px;
    }
}

@media(max-width: 959px) {
    .review-card__text {
        font-size: 16px;
    }

    .review-card__author-order {
        font-size: 16px;
    }

    .review-card__author-name {
        font-size: 18px;
    }
}

@media(max-width: 767px) {
    .review-card {
        padding: 15px;
    }

    .review-card__text {
        font-size: 14px;
    }

    .review-card__author-order {
        font-size: 14px;
    }

    .review-card__author-name {
        font-size: 16px;
    }
}

.tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tags__item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 4px 14px;
    background: #fff;
    border-radius: 4px;
    font-size: 16px;
    line-height: 110%;
    text-align: center;
}

.tags--light .tags__item {
    background: var(--color-light);
}

@media(max-width: 767px) {
    .tags__item {
        font-size: 14px;
    }
}

.about__desc {
    font-size: 18px;
    line-height: 140%;
    margin-bottom: 40px;
    max-width: 910px;
}

.about__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    gap: 20px;
}

.about__item {
    grid-row:  auto / span 2;
    display: grid;
    grid-template-rows: subgrid;
    border: 1px solid #EEEEEE;
    border-radius: 4px;
    padding: 24px;
    font-size: 18px;
    line-height: 140%;
    transition: background 0.3s ease;
}

.about__num {
    font-weight: 700;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.about__text {
    position: relative;
    opacity: 0.6;
}

.about__item:hover {
    background-color: var(--color-light);
    background-image: url(/wp-content/themes/stroy/img/card-bg.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.about__item:hover .about__num {
    color: var(--color-accent);
}

@media(max-width : 1239px) {
    .about__list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width : 959px) {
    .about__desc {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .about__item {
        font-size: 16px;
    }
}

@media(max-width : 767px) {
    .about__desc {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .about__list {
        grid-template-columns: 1fr;
    }

    .about__item {
        font-size: 14px;
        padding: 15px;
    }
}

.team-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    border: 1px solid #EEEEEE;
    border-radius: 4px;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.team-card__img {
    width: 100%;
    aspect-ratio: 318 / 220;
    border-radius: 4px;
    overflow: hidden;
}

.team-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card__info {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    padding: 20px;
    gap: 10px;
}

.team-card__name{
    font-weight: 500;
    font-size: 22px;
    line-height: 120%;
    transition: color 0.3s ease;
    text-align: center;
}

.team-card__text {
    font-size: 18px;
    line-height: 120%;
    opacity: 0.6;
    text-align: center;
}

.team-card:hover {
    background: var(--color-light);
}

.team-card:hover .team-card__name {
   color: var(--color-accent);
}

@media(max-width: 1023px) {
    .team-card__info {
        padding: 15px;
    }

    .team-card__name{
        font-size: 20px;
    }
}

@media(max-width: 959px) {
    .team-card__info {
        padding: 8px;
    }

    .team-card__name{
        font-size: 18px;
    }

    .team-card__text{
        font-size: 16px;
    }
}

@media(max-width: 767px) {
    .team-card__info {
        padding: 6px;
    }

    .team-card__text{
        font-size: 14px;
    }
}

.advantages__item {
    position: relative;
    background: var(--color-light);
    border-radius: 4px;
    overflow: hidden;
    padding: 24px;
    display: flex;
    flex-direction: column;
    min-height: 174px;
}

.advantages__icon {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.advantages__icon svg {
    width: 60%;
    height: 60%;
}

.advantages__text {
    font-size: 18px;
    line-height: 130%;
    opacity: 0.6;
    margin-top: auto;
}

.advantages__img {
    grid-row: auto / span 2;
}

.advantages__img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media(max-width: 1023px) {
    .advantages__item {
        min-height: 166px;
    }

    .advantages__img {
        display: none;
    }
}

@media(max-width: 959px) {
    .advantages__text {
        font-size: 16px;
    }
}

@media(max-width: 767px) {
    .advantages__item {
        min-height: 136px;
        padding: 15px;
    }

    .advantages__text {
        font-size: 14px;
    }
}

.block-image__img {
    width: 100%;
    aspect-ratio: 1440 / 640;
}

.block-image__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media(max-width: 767px) {
    .block-image__img {
        width: 100%;
        aspect-ratio: 360 / 330;
    }
}

.block-slider .section-top {
    grid-template-columns: 1fr max-content;
}

.block-slider__btns {
    display: flex;
    gap: 30px;
    margin-left: auto;
}

.block-slider__btn {
    margin: 20px auto 0;
    max-width: 430px;
    min-height: 62px;
}

@media(max-width: 1023px) {
    .block-slider .swiper {
        margin: 0 15px;
    }
}

@media(max-width: 767px) {
    .block-slider .section-top {
        grid-template-columns: 1fr;
    }

    .block-slider__btns {
        margin-left: 0;
    }
}

.blog-card {
    position: relative;
    display: grid;
    grid-template-columns: 161px 1fr;
    min-height: 266px;
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
    transition: background-color 0.3s ease;
    max-width: 510px;
}

.blog-card__img {
    width: 100%;
    height: 100%;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.blog-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card__info {
    display: flex;
    flex-direction: column;
    padding: 24px 24px 24px 20px;
}

.blog-card__title {
    font-weight: 500;
    font-size: 22px;
    line-height: 110%;
    margin-bottom: 8px;
}

.blog-card__date {
    font-size: 14px;
    line-height: 110%;
    opacity: 0.3;
    margin-bottom: 15px;
}

.blog-card__text {
    font-size: 18px;
    line-height: 130%;
    opacity: 0.6;
    margin-bottom: 20px;
}

.blog-card__link {
    font-size: 18px;
    line-height: 110%;
    transition: color 0.3s ease;
    margin-top: auto;
}

.blog-card__link::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 2;
}

.blog-card__link:hover,
.blog-card__link:focus {
    color: var(--color-accent);
}

.blog-card:has(.blog-card__link:hover),
.blog-card:has(.blog-card__link:focus) {
    background-color: var(--color-light);
}

@media(max-width: 1023px) {
    .blog-card__info {
        padding: 20px 20px 20px 15px;
    }

    .blog-card__title {
        font-size: 20px;
        margin-bottom: 10px;
    }
}

@media(max-width: 959px) {
    .blog-card {
        grid-template-columns: 1fr;
        max-width: none;
    }

    .blog-card__info {
        padding: 15px 20px 20px;
    }

    .blog-card__date {
        margin-bottom: 10px;
    }

    .blog-card__text {
        font-size: 16px;
    }
}

@media(max-width: 959px) {
    .blog-card__info {
        padding: 15px;
    }
    
    .blog-card__text {
        font-size: 14px;
    }

    .blog-card__title {
        font-size: 18px;
    }
    
    .blog-card__date {
        font-size: 12px;
    }
}


.features__wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.features__item {
    display: flex;
}

.features__item:first-child {
    grid-row: 1 / span 2;
    align-items: flex-start;
}

.features__item:last-child {
    grid-row: 1 / span 2;
    grid-column: -2 / -1;
    align-items: flex-end;
}

.features__card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--color-light);
    border: 1px solid #DFDFDF;
    border-radius: 4px;
    min-height: 285px;
    background-image: url(/wp-content/themes/stroy/img/card-bg3.png);
    background-position: center 0;
    background-repeat: no-repeat;
    background-size: contain;
    padding: 24px;
}

.features__item:first-child .features__card {
    background-color: #fff;
}

.features__item:last-child .features__card {
    background-color: var(--color-accent);
}

.features__num {
    position: absolute;
    top: 24px;
    right:24px;
    color: var(--color-accent);
    font-size: 22px;
    line-height: 26px;
}

.features__name {
    font-weight: 500;
    font-size: 22px;
    line-height: 110%;
    margin: 0 40px 40px 0;
}

.features__text {
    font-size: 18px;
    line-height: 130%;
    opacity: 0.6;
}

.features__item:last-child .features__text {
    color: #fff;
    opacity: 1;
    font-weight: 500;
    font-size: 22px;
    line-height: 110%;
    margin-bottom: 40px;
}

@media(max-width: 1239px){
    .features__wrap {
        grid-template-columns: repeat(3, 1fr);
    }

    .features__item:first-child {
        grid-row: auto;
    }

    .features__item:first-child .features__card {
        background-color: var(--color-light);
    }
    
    .features__item:last-child {
        grid-row: auto;
        grid-column: auto;
    }

    .features__card {
        min-height: 260px;
        padding: 20px;
    }

    .features__name {
        font-size: 20px;
    }
    .features__num {
        top: 20px;
        right:20px;
        font-size: 22px;
    }

    .features__item:last-child .features__text {
        font-size: 20px;
    }
}

@media(max-width: 959px){
    .features__wrap {
        grid-template-columns: repeat(2, 1fr);
    }

    .features__text {
        font-size: 16px;
    }
}

@media(max-width: 767px){
    .features__wrap {
        grid-template-columns: 1fr;
    }

    .features__card {
        min-height: 0;
        padding: 15px;
    }

    .features__name {
        font-size: 18px;
    }

    .features__num {
        top: 15px;
        right: 15px;
        font-size: 18px;
    }

    .features__text {
        font-size: 14px;
    }

    .features__item:last-child .features__text {
        font-size: 18px;
    }
}

.steps {
	margin-top: 85px;
}

.steps__wrap {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.steps .swiper,
.steps .swiper-wrapper {
	display: contents;
}

.steps__card {
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid #DFDFDF;
    border-radius: 4px;
	overflow: hidden;
    min-height: 322px;
    background-image: url(/wp-content/uploads/2025/04/bg-logo.png);
    background-position: center 0;
    background-repeat: no-repeat;
    background-size: contain;
    padding: 24px;
    transition: background-color 0.3s ease;
}

.steps__card--red {
    background-color: var(--color-accent);
	background-image: none;
}

.steps__img {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 1;
}

.steps__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.steps__num {
	position: relative;
    padding: 4px 14px;
    background: var(--color-light);
    border-radius: 4px;
    font-size: 16px;
    line-height: 110%;
    margin-left: auto;
    margin-bottom: 85px;
    transition: color 0.3s ease, background-color 0.3s ease;
	z-index: 2;
}

.steps__info {
	position: relative;
	margin-top: auto;
	z-index: 2;
	padding: 24px;
	margin: 0 -24px -24px -24px;
	flex: 1;
}

.steps__name {
    font-weight: 500;
    font-size: 22px;
    line-height: 110%;
    margin-bottom: 20px;
}

.steps__card--red .steps__name {
    color: #fff;
    margin: 0 0 auto;
}

.steps__text {
    font-size: 18px;
    line-height: 130%;
    opacity: 0.6;
}

.steps__card:hover{
    background-color: var(--color-light);
}

.steps__card--red:hover{
    background-color: var(--color-accent);
}

.steps__card:hover .steps__num {
    color: #fff;
    background-color: var(--color-accent);
}

@media(max-width: 1023px) {
	.steps {
		margin-top: 70px;
	}
	
	.steps__wrap {
		display: block;
	}
	
	.steps .swiper {
		display: block;
	}
	
	.steps .swiper-wrapper {
		display: flex;
	}
	
    .steps__card {
        min-height: 278px;
        padding: 20px;
    }
	
	.steps__info {
		padding: 20px;
		margin: auto -20px -20px -20px;
	}

    .steps__name {
        font-size: 20px;
    }
}

@media(max-width: 959px) {
    .steps__card {
        min-height: 258px;
    }

    .steps__text {
        font-size: 16px;
    }
}

@media(max-width: 767px) {
	.steps {
		margin-top: 60px;
	}
    .steps__card {
        min-height: 200px;
        padding: 15px;
    }
	
	.steps__info {
		padding: 15px;
		margin: auto -15px -15px -15px;
	}

    .steps__name {
        font-size: 18px;
    }

    .steps__text {
        font-size: 14px;
    }
}

.info__wrap {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr 1fr;
    border-radius: 4px;
    overflow: hidden;
}

.info--light .info__wrap,
.info--right .info__wrap {
    background: var(--color-light);
}

.info__img {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    aspect-ratio: 656 / 520;
    min-height: 100%;
    width: 100%;
}

.info__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.info__img-label {
    position: absolute;
    z-index: 2;
    bottom: 24px;
    left: 24px;
    background: #fff;
    border-radius: 4px;
    padding: 8px 20px;
    display: flex;
    flex-direction: column;
    font-weight: 600;
    font-size: 18px;
    line-height: 110%;
}

.info__img-text {
    font-size: 14px;
    line-height: 110%;
    opacity: 0.6;
}

.info__content {
    display: flex;
    flex-direction: column;
}

.info--light .info__content {
    padding: 40px;
}

.info--right .info__content {
    padding: 20px 20px 20px 0;
    justify-content: center;
}

.info__text {
    font-size: 18px;
    line-height: 130%;
    opacity: 0.6;
    margin: 0 0 20px;
}

.info__text p {
    margin: 0;
}

.info__btn {
    max-width: 340px;
    margin-top: auto;
}

.info--right .info__btn {
    margin-top: 0;
}

.info__slider {
    width: 100%;
    height: 100%;
}

@media(max-width: 959px){
    .info__text {
        font-size: 16px;
    }
}

@media(max-width: 767px){
    .info__wrap {
        gap: 0;
        grid-template-columns: 1fr;
    }

    .info__content {
        margin-bottom: 20px;
    }

    .info--light .info__content {
        padding: 60px 15px;
    }

    .info__text {
        font-size: 14px;
    }

    .info__img {
        aspect-ratio: 1 / 1;
    }

    .info--right .info__content {
        padding: 15px;
    }
}

.calculation__wrap {
    display: grid;
    grid-template-columns: 1fr 430px;
    gap: 20px;
}

.calculation__right {
    display: flex;
    flex-direction: column;
    border-radius: 4px;
    overflow: hidden;
}

.calculation__img {
    width: 100%;
    aspect-ratio: 431 / 408;
    border-radius: 4px;
    overflow: hidden;
}

.calculation__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.calculation__result {
    flex: 1;
    background-color: var(--color-light);
    padding: 20px;
}

.calculation__head {
    font-weight: 500;
    font-size: 22px;
    line-height: 110%;
    margin-bottom: 20px;
}

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

.calculation__item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.calculation__item-img {
    width: 68px;
    height: 68px;
    background-color: #fff;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.calculation__item-img img {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.calculation__text {
    font-size: 18px;
    line-height: 110%;
}

.calculation__link {
    font-family: 'Jost';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 110%;
    text-decoration-line: underline;
    color: var(--color-accent);
    border: none;
    background-color: transparent;
    padding: 0;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.calculation__link:hover,
.calculation__link:focus {
    opacity: 0.7;
}

@media(max-width: 1239px) {
    .calculation__wrap {
        grid-template-columns: 1fr;
    }

    .calculation__right {
        display: none;
    }
}

.conditions__list {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 20px;
}

.conditions__item {
    border-bottom: 1px solid #dfdfdf;
    padding: 30px 0;
}

.conditions__item:nth-child(1),
.conditions__item:nth-child(2) {
    border-top: 1px solid #dfdfdf;
}

.conditions__item-name {
    font-weight: 500;
    font-size: 22px;
    line-height: 110%;
    margin-bottom: 24px;
}

.conditions__item-text {
    font-size: 18px;
    line-height: 130%;
    opacity: 0.6;
}

.conditions__text {
    font-size: 18px;
    line-height: 130%;
    opacity: 0.6;
    margin: 20px 0;
	text-align: center;
}

.conditions__text  p {
    margin: 0;
}

.conditions__btn {
    max-width: 430px;
    min-height: 62px;
	margin: 0 auto;
}

@media(max-width : 1023px) {
    .conditions__text {
        margin-bottom: 30px;
    }
    
    .conditions__item {
        padding: 20px 0;
    }

    .conditions__item-name {
        font-size: 20px;
        margin-bottom: 20px;
    }
}

@media(max-width : 959px) {
    .conditions__wrap {
        grid-template-columns: 1fr;
        gap: 30px;
    }
	
    .conditions__text {
        font-size: 16px;
    }
   
    .conditions__item-text {
        font-size: 16px;
    }
}

@media(max-width : 767px) {
    .conditions__text {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .conditions__list {
        grid-template-columns: 1fr;
        gap: 0;
    }
	
	.conditions__item:nth-child(2) {
		border-top: 0;
	}

    .conditions__item-name {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .conditions__item-text {
        font-size: 14px;
    }
}

.partners__logo {
    position: relative;
    width: 260px;
    height: 150px;
    background: #fff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.partners__logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    user-select: none;
}

@media(max-width: 1023px){
    .partners__logo {
        width: 208px;
        height: 120px;
    }
}

@media(max-width: 959px){
    .partners__logo {
        width: 160px;
        height: 92px;
        padding: 20px;
    }
}

@media(max-width: 767px){
    .partners__logo {
        width: 100px;
        height: 58px;
        padding: 12px;
    }
}

.faq__wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.faq__left {
    display: flex;
    flex-direction: column;
}

.faq__text {
    margin-top: auto;
    font-size: 18px;
    line-height: 130%;
    opacity: 0.6;
    margin-bottom: 40px;
}

.faq__text  p {
    margin: 0;
}

.faq__btn {
    max-width: 430px;
    min-height: 62px;
}

@media(max-width : 959px) {
    .faq__wrap {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .faq__text {
        font-size: 16px;
        margin-bottom: 30px;
    }
}

@media(max-width : 767px) {
    .faq__text {
        font-size: 14px;
        margin-bottom: 20px;
    }
}

[data-accordion=element].is-active>[data-accordion=content] {
    max-height: 100%;
}

[data-accordion=parent].no-transition [data-accordion=content] {
    transition: none;
}

[data-accordion=content] {
    max-height: 0;
    transition: max-height 0.3s;
    overflow: hidden;
}

.accordion__element {
    overflow: hidden;
    border-bottom: 1px solid #eee;
}

.accordion__element:first-child {
    border-top: 1px solid #eee;
}

.accordion__button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    padding: 20px 0;
    cursor: pointer;
    border: none;
    background-color: #fff;
    color: var(--color-dark);
    transition: color 0.3s ease;
    font: inherit;
    font-weight: 500;
    font-size: 22px;
    line-height: 110%;
    transition: background-color 0.3s ease;
}

.accordion__button-text {
    text-align: start;
}

.accordion__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border-radius: 4px;
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
    width: 40px;
    height: 40px;
    transition: background-color 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
}

.accordion__icon svg {
    width: 17px;
    height: 10px;
    transition: transform 0.3s ease;
}

.accordion__element.is-active>.accordion__button .accordion__icon {
    background-color: var(--color-accent);
    color: #fff;
}

.accordion__element.is-active>.accordion__button .accordion__icon svg {
    transform: rotate(0.5turn);
}

.accordion__wrapper {
    padding: 0 50px 24px 0;
    font-size: 18px;
    line-height: 130%;
    opacity: 0.6;
}

.accordion__wrapper p {
    margin: 0;
}

@media (max-width: 1023px) {
    .accordion__button {
        font-size: 20px;
    }
    
    .accordion__wrapper {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .accordion__button {
        font-size: 18px;
    }
    
    .accordion__wrapper {
        font-size: 14px;
    }
}

.services__wrap {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}

.services__wrap .card {
    grid-column: auto / span 3;
}

.services__wrap .card:nth-child(7n+5),
.services__wrap .card:nth-child(7n+6),
.services__wrap .card:nth-child(7n+7) {
    grid-column: auto / span 4;
}

.services .card__img {
    aspect-ratio: 318 / 280;
}

@media(max-width: 1023px) {
    .services__wrap {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .services__wrap .card {
        grid-column: auto / span 1;
    }
    
    .services__wrap .card:nth-child(7n+5),
    .services__wrap .card:nth-child(7n+6),
    .services__wrap .card:nth-child(7n+7) {
        grid-column: auto / span 1;
    }
}

@media(max-width: 959px) {
    .services__wrap {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 767px) {
    .services__wrap {
        grid-template-columns: 1fr;
    }
}

.service-card {
    min-height: 260px;
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    transition: background-color 0.3s ease;
}

.service-card:has(.btn:hover) {
    background-color: var(--color-light);
}

.service-card__title {
    font-weight: 500;
    font-size: 22px;
    line-height: 120%;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.service-card:has(.btn:hover) .service-card__title {
    color: var(--color-accent);
}

.service-card__list {
	margin-bottom: 20px;
}

.service-card__item {
	display: block;
    font-size: 18px;
    line-height: 120%;
    opacity: 0.6;
    margin-bottom: 9px;
    transition: color 0.3s ease;
}

.service-card__item:hover {
    color: var(--color-accent);
}

.service-card__btn {
    width: 100%;
    max-width: 294px;
    margin-top: auto;
}

.service-desc {
	border: 1px solid #DFDFDF;
    border-radius: 20px;
	margin: 40px auto 0;
	padding: 20px;
}

@media(max-width: 767px) {
	.service-desc {
		padding: 10px;
	}
}

.discount__card {
    position: relative;
    width: 100%;
    min-height: 230px;
	aspect-ratio: 318 / 220;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 4px;
    overflow: hidden;
}

.discount__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.discount__img::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.15) 22.8%, rgba(0, 0, 0, 0.1) 100%);
}

.discount__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.discount__text {
    position: relative;
    z-index: 2;
    font-weight: 600;
    font-size: 24px;
    line-height: 120%;
    color: #fff;
    margin-bottom: 20px;
}

.discount .btn {
    width: 100%;
    max-width: 294px;
    z-index: 2;
}

@media(max-width: 1023px) {
    .discount__card {
        min-height: 230px;
        padding: 20px;
    }

    .discount__text {
        font-size: 20px;
    }
}

@media(max-width: 767px) {
    .discount__card {
        min-height: 180px;
        padding: 15px;
    }

    .discount__text {
        font-size: 18px;
    }
}

.form {
    position: relative;
    padding: 102px 0;
    color: #fff;
}

.form__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.form__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.form__bg::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #000;
    opacity: 0.36;
    z-index: 2;
}

.form__wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.form__title {
    margin-bottom: 20px;
}

.form__subtitle {
    font-size: 24px;
    line-height: 110%;
    margin-bottom: 40px;
}

.form .section-text {
    max-width: 530px;
}

.form__submit {
	display: flex;
	position:relative;
	width: 100%;
	margin: 0;
}

.form__btn {
	width: 100%;
}

.form__submit .wpcf7-spinner{
	position: absolute;
	right: 0;
	top: 50%;
	transform: translate(100%,-50%);
}

@media(max-width: 1023px) {
    .form {
        padding: 70px 0;
    }

    .form .section-top {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .form__subtitle {
        font-size: 22px;
        margin-bottom: 20px;
    }
}

@media(max-width: 959px) {
    .form .section-top {
        text-align: center;
    }

    .form .section-text {
        justify-self: center;
    }

    .form__wrap {
        width: 100%;
        max-width: 340px;
        grid-template-columns: 1fr;
        justify-self: center;
    }

    .form__title {
        text-align: center;
    }

    .form__subtitle {
        font-size: 20px;
        text-align: center;
        justify-self: center;
        max-width: 450px;
    }
}

@media(max-width: 767px) {
    .form {
        padding: 70px 0;
    }

    .form__subtitle {
        font-size: 16px;
    }
}

.socials {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

.socials__item {
    width: 40px;
    height: 40px;
}

.socials__item a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    background: #fff;
    transition: background-color 0.3s ease,  color 0.3s ease;
    border-radius: 4px ;
    overflow: hidden;
}

.socials__item svg {
    width: 45%;
    height: 45%;
}

.socials__item a:hover {
    background-color: var(--color-accent);
    color: #fff;
}

.contacts__block .socials {
    margin-top: auto;
}

.map {
    width: 100%;
    height: 100%;
    border-radius: 4px;
    overflow: hidden;
}

.contacts__wrap {
    position: relative;
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr 1fr;
    margin-top: -30px;
    z-index: 2;
    min-height: 523px;
}

.contacts__list {
    background: var(--color-light);
    border-radius: 4px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contacts__item:not(:last-child) {
    margin-bottom: 20px;
}

.contacts__item p {
    margin: 0;
    font-size: 18px;
    line-height: 110%;
    opacity: 0.6;
}

.contacts__phone {
    color: var(--color-accent);
    font-weight: 600;
    font-size: 26px;
    line-height: 110%;
    transition: opacity 0.3s ease;
}

.contacts__mail {
    font-weight: 500;
    font-size: 24px;
    line-height: 110%;
    transition: opacity 0.3s ease;
}

.contacts__item .contacts__phone:hover,
.contacts__item .contacts__mail:hover {
    opacity: 0.7;
}

.contacts__item .socials__item {
    width: 36px;
    height: 36px;
}

.contacts-page {
    position: relative;
    padding: 60px 16px;
}

.contacts-page .map {
    position: absolute;
    top: 0;
    left: 16px;
    width: calc(100% - 32px);
    height: 100%;
    z-index: -1;
}

.contacts__block {
    display: flex;
    flex-direction: column;
    margin-left: 60px;
    width: 495px;
    background: var(--color-light);
    border-radius: 4px;
    overflow: hidden;
    padding: 24px;
    min-height: 436px;
}

.contacts__address {
    display: flex;
    flex-direction: column;
    padding-bottom: 26px;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(15,15,15,0.2);
}

.contacts__address-name {
    font-size: 16px;
    line-height: 120%;
    opacity: 0.6;
    margin-bottom: 9px;
}

.contacts__address-text {
    font-size: 24px;
    line-height: 120%;
}

.contacts__worktime {
    font-size: 18px;
    line-height: 120%;
    opacity: 0.6;
    margin-bottom: 19px;
}

.contacts__link {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    transition: opacity 0.3s ease;
}

.contacts__link-icon {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    background-color: var(--color-accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contacts__link-icon svg {
    width: 18px;
    height: 18px;
}

.contacts__link-info {
    display: flex;
    flex-direction: column;
}

.contacts__link-name {
    font-size: 12px;
    line-height: 120%;
    opacity: 0.6;
    margin-bottom: 2px;
}

.contacts__link-text {
    font-style: normal;
    font-weight: 600;
    font-size: 20px;
    line-height: 120%;
}

.contacts__link:hover,
.contacts__link:focus {
    opacity: 0.7;
}

@media(max-width : 1023px) {
    .contacts__wrap {
        margin-top: 20px;
        min-height: 0;
    }

    .contacts__list {
        padding: 20px;
    }
}

@media(max-width : 959px) {
    .contacts__wrap {
        grid-template-columns: 1fr;
    }

    .contacts__wrap .map {
        height: 240px;
    }

    .contacts-page {
        padding: 20px 16px;
    }

    .contacts__block {
        margin-left: 20px;
        width: 359px;
        padding: 24px;
        min-height: 336px;
    }

    .contacts__address-text {
        font-size: 20px;
    }
}

@media(max-width : 767px) {
    .contacts__list {
        padding: 15px;
    }

    .contacts__item p {
        font-size: 14px;
    }
    
    .contacts__phone {
        font-size: 22px;
    }
    
    .contacts__mail {
        font-size: 20px;
    }

    .contacts-page {
        padding: 0 15px;
        margin-bottom: 20px;
    }

    .contacts__block {
        margin-left: 0;
        width: 100%;
        padding: 15px;
        margin-bottom: 20px;
    }

    .contacts__address-name {
        font-size: 12px;
    }

    .contacts__worktime {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .contacts__link-text {
        font-size: 16px;
    }

    .contacts-page .map {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        aspect-ratio: 330 / 160;
        min-height: 0;
    }
}

.footer {
    margin-top: 70px;
    margin-bottom: 20px;
}

.footer__wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    background-color: var(--color-light);
    padding: 40px;
}

.footer__сenter {
    display: contents;
}

@media(max-width : 1023px) {
    .footer {
        margin-top: 20px;
    }

    .footer__wrap {
        padding: 12px 20px;
    }

    .footer__сenter {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
    }
}

@media(max-width : 767px) {
    .footer__wrap {
        flex-direction: column;
        align-items: center;
        padding: 20px;
        gap: 20px;
        text-align: center;
    }
}

.accept {
    position: fixed;
    bottom: 30px;
    left: 40px;
    width: 100%;
    max-width: 600px;
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    background-color: #fff;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 120;
}

.accept.active {
    opacity: 1;
    visibility: visible;
}

.accept__btn {
    margin-left: auto;
    width: 80px;
}

@media(max-width : 767px) {
    .accept {
        bottom: 15px;
        left: 15px;
        width: calc(100% - 30px);
        padding: 20px;
    }
}

.modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;

    display: flex;
    flex-direction: column;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;

    transform: scale(1.2);
    visibility: hidden;
    opacity: 0;

    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;

    pointer-events: none;

    -ms-overflow-style: none;
    scrollbar-width: none;
}

.modal::-webkit-scrollbar {
    display: none;
}

.modal__wrapper {
    position: relative;

    display: flex;
    flex-shrink: 0;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 100%;
    padding: 30px;
}

.modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.72);
    cursor: pointer;
}

.modal__content {
    position: relative;
    max-width: 460px;
    width: 100%;
    background-color: #fff;
    border-radius: 4px;
    overflow: hidden;
    padding: 40px;
}

.modal-form__title {
    font-size: 30px;
    line-height: 110%;
    text-align: center;
    margin-bottom: 15px;
}

.modal-form__subtitle {
    font-size: 18px;
    line-height: 120%;
    text-align: center;
    opacity: 0.6;
    margin-bottom: 30px;
}

.modal-form .btn {
    width: 100%;
}

.modal-form .custom-input {
    margin-bottom: 20px;
}

.modal-form .custom-input input {
    border-color: #eee;
    color: var(--color-dark);
}

.modal-form  .custom-input input::-webkit-input-placeholder {
    color: #a7a7a7;
}

.modal-form .custom-input input:hover,
.modal-form .custom-input input:focus {
    background-color: transparent;
    border-color: rgba(0,0,0,0.5);
}

.modal__close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    cursor: pointer;
    background-color: transparent;
    transition: opacity 0.3s ease;
}

.modal__close:hover,
.modal__close:focus {
    opacity: 0.8;
}

.modal.active {
    transform: scale(1);
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

@media(max-width : 767px) {
    .modal__wrapper {
        padding: 15px;
    }
    
    .modal__content {
        padding: 15px;
    }
    
    .modal-form__title {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .modal-form__subtitle {
        font-size: 14px;
        margin-bottom: 20px;
    }
}

.quiz__top {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.quiz__top-item{
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background-color: var(--color-light);
    border-radius: 4px;
    font-weight: 500;
    font-size: 16px;
    line-height: 110%;
    text-align: center;
    color: rgba(15,15,15,0.4);
    transition: color 0.3s ease, background-color 0.3s ease;
}

.quiz__top-item.active{
    background-color: var(--color-accent);
    color: #fff;
    opacity: 1;
}

.quiz__content {
    position: relative;
    padding: 30px;
    display: flex;
    flex-direction: column;
    background-color: var(--color-light);
    border-radius: 4px;
    background-image: url(/wp-content/themes/stroy/img/card-bg4.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.quiz__step {
    display: none;
}

.quiz__step.active {
    display: block;
}

.quiz__step-title {
    font-weight: 700;
    font-size: 22px;
    line-height: 110%;
    text-align: center;
    margin-bottom: 20px;
}

.quiz__fieldset {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 76px;
}

.quiz__bottom {
  display: flex;
  margin-top: auto;
  align-items: center;
  gap: 10px;
}

.quiz__btns {
  display: flex;
  align-items: center;
  gap: 10px;
}

.quiz__bottom .btn {
  width: 200px;
  min-height: 50px;
}

.quiz__prev:disabled {
  display: none;
}

.quiz__next:disabled {
  opacity: 0.6;
  pointer-events: none;
}

.quiz__note {
  margin-left: auto;
  font-size: 14px;
  line-height: 110%;
  text-align: right;
}

.quiz__checkbox label {
    position: relative;
    display: flex;
    flex-direction: column;
}

.quiz__checkbox input {
    position: absolute;
    
    width: 1px;
    height: 1px;
    margin: -1px;
    
    clip: rect(0 0 0 0);
}

.quiz__checkbox-img {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    margin-bottom: 20px;
}

.quiz__checkbox-img img {
    width: 100%;
    height:100%;
    object-fit: cover;
    border-radius: 4px;
    overflow: hidden;
}

.quiz__checkbox-icon {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius:  50%;
    border: 3px solid #fff;
    background-color: var(--color-light);
    color: #bdbdbd;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.quiz__checkbox-label {
    font-size: 16px;
    line-height: 110%;
    text-align: center;
}

.quiz__checkbox label:hover .quiz__checkbox-icon,
.quiz__checkbox label:focus .quiz__checkbox-icon  {
    border-color: rgba(199,66,43, 0.7);
    color: rgba(199,66,43, 0.7);
}

.quiz__checkbox input:checked + .quiz__checkbox-img .quiz__checkbox-icon{
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.quiz__finish {
  padding: 30px;
  z-index: -1;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
}

.quiz__finish.active {
  z-index: 5;
}


.quiz__finish .custom-input {
    margin-bottom: 20px;
}

.quiz__finish .custom-input input {
    border-color: #eee;
    color: var(--color-dark);
}

.quiz__finish  .custom-input input::-webkit-input-placeholder {
    color: #a7a7a7;
}

.quiz__finish .custom-input input:hover,
.quiz__finish .custom-input input:focus {
    background-color: transparent;
    border-color: rgba(0,0,0,0.5);
}


@media (max-width : 1023px) {

}

@media (max-width : 767px) {
    .quiz__top-item span {
        display: none;
    }
    
    .quiz__fieldset {
        grid-template-columns: repeat(2, 1fr);
        margin-bottom: 40px;
    }

    .quiz__bottom {
        flex-direction: column;
        gap: 10px;
    }

    .quiz__btns {
        flex-direction: column;
        width: 100%;
    }
    
    .quiz__bottom .btn {
        width: 100%;
    }
}
