:root {
    --font-size-main: 16px;
    --font-size-h2: 3rem; /* 16px * 3 = 48px */
    --font-size-h3: 1.5rem; /* 16px * 1.5 = 24px */

    --color-text-main: #0F2B69;
    --color-heading: #030A19;
    --color-text-link: #ed1c24;
    --color-red-text: #ED1C24;

    --riteway-red: #ED1C24;
    --primary-blue: #0a1d37;
    --dark-overlay: rgba(5, 7, 42, 0.6);
    --white: #ffffff;
    --light-blue-bg: #c9e2f5;
    --text-gray: #444;
}

html {
    box-sizing: border-box;
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    font-size: var(--font-size-main);
}

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

body {
    font-family: "Montserrat", sans-serif;
    font-size: 1rem;
    font-weight: 400;
    overflow-x: hidden;
}

h2,
h3,
h4,
h5,
h6 {
    font-family: inherit;
    font-weight: 400;
    color: var(--color-heading);
    line-height: 1.2;
}

h2 {
    font-size: var(--font-size-h2);
}

@media (max-width: 768px) {
    h2 {
        font-size: 2.25rem;
    }
}

@media (max-width: 480px) {
    h2 {
        font-size: 24px;
    }
}

h3 {
    font-size: var(--font-size-h3);
}

@media (max-width: 768px) {
    h3 {
        font-size: 1.25rem;
    }
}

p {
    font-size: var(--font-size-main);
    line-height: 24px;
    color: var(--color-text-main);
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

button {
    border: none;
    background-color: unset;
    padding: unset;
    font-family: inherit;
    cursor: pointer;
}

.container {
    max-width: 1385px;
    margin: 0 auto;
    padding: 0 16px;
}

.container-small {
    max-width: 1056px;
    margin: 0 auto;
    padding: 0 16px;
}

.btn {
    display: inline-block;
    padding: 1em 2em;
    border-radius: 12px;
    text-align: center;

    font-weight: 500;
    font-size: var(--font-size-main);
    line-height: 24px;

    color: rgba(255, 255, 255, 1);
    background-color: rgba(237, 28, 36, 1);
    transition: background-color 0.3s ease-in-out;
}

.btn:hover {
    background-color: rgba(200, 20, 30, 1);
}

.btn-book {
    padding: 0.5em 2.5625em;
}

.breadcrumbs {
    padding: 32px 0;
}

@media (max-width: 480px) {
    .breadcrumbs {
        padding: 8px 0 0;
    }
}

#breadcrumbs span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
    @media (max-width: 480px) {
        font-size: 14px;
        line-height: 24px;
    }
}

.breadcrumb_last {
    font-size: 16px;
    line-height: 24px;
    color: #ED1C24;
    @media (max-width: 480px) {
        font-size: 14px;
        line-height: 24px;
    }

}

.breadcrumb-home-link {
    @media (max-width: 480px) {
        width: 60px;
        height: 40px;
        border-radius: 12px;
        background-color: #EDF2FF;

        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* About Expertise: shared section styles for Home and Services */
.about-expertise {
    background-color: #fff;
    padding: 0;
}

.about-expertise .container {
    max-width: 100%;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}

.about-expertise .flex-row {
    display: flex;
    align-items: stretch;
    gap: 0;
    width: 100%;
    min-height: 610px;
}

.about-expertise .about-image-wrapper {
    flex: 0 0 42%;
}

.about-expertise .illustration-box {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.about-expertise .illustration-box video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.plumber-placeholder {
    width: 90%;
    height: 90%;
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: cover;
    border-radius: 16px;
}

.about-expertise .about-content {
    flex: 0 0 58%;
    background-color: #EDF2FF;
    padding: 76px min(5vw, 62px);
}

.about-expertise .expertise-title {
    margin-bottom: 35px;
    font-size: 46px;
    line-height: 1.1;
    font-weight: 400;
    color: var(--color-heading);
}

.about-expertise .expertise-text {
    margin-bottom: 37px;
}

.about-expertise .expertise-text p {
    font-size: 20px;
    line-height: 30px;
    font-weight: 400;
    color: #000;
}

.about-expertise .expertise-text p:not(:last-child) {
    margin-bottom: 20px;
}

@media (max-width: 1024px) {
    .about-expertise .flex-row {
        flex-direction: column;
        min-height: 0;
    }

    .about-expertise .about-image-wrapper {
        flex-basis: auto;
        width: 100%;
    }

    .about-expertise .about-content {
        flex-basis: auto;
        width: 100%;
        text-align: center;
        padding: 40px 24px;
    }

    .about-expertise .expertise-title {
        font-size: 36px;
        text-align: center;
    }

    .about-expertise .btn-book {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 480px) {
    .about-expertise .about-content {
        padding: 27px;
        background-color: transparent;
    }

    .about-expertise .expertise-title {
        margin-bottom: 20px;
        font-size: 24px;
        line-height: 32px;
        text-align: left;
        color: #000;
    }

    .about-expertise .expertise-text {
        margin-bottom: 24px;
    }

    .about-expertise .expertise-text p {
        font-size: 16px;
        line-height: 24px;
        color: #000;
        text-align: justify;
    }
}

/*--------------------------------------------------------------------------------------------------------------------*/
.header {
    position: sticky;
    top: 0;
    z-index: 10;
    background-color: rgba(255, 255, 255, 1);

    .header__wrapper {
        display: flex;
        justify-content: space-between;
        padding: 16px 0;
        position: relative;
    }

    .header__nav {
        min-width: 400px;
        position: relative;
    }

    @media (min-width: 1025px) {
        .header__nav .mega-menu {
            right: -16px;
        }
    }

    .header__list {
        height: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 10px;

        font-weight: 500;
        color: rgba(20, 1, 1, 1);
    }

    .header__link {
        position: relative;
        transition: color 0.3s ease-in-out;

        :after {
            content: "";
            position: absolute;
            bottom: -5px;
            left: 0;
            opacity: 0;
            width: 100%;
            border-bottom: 2px solid rgba(237, 28, 36, 1);
            transition: opacity 0.3s ease-in-out;
        }
    }

    .header__link:hover {
        color: rgba(237, 28, 36, 1);

        :after {
            opacity: 1;
        }
    }

    .header__item {
        position: relative;
        display: flex;
        align-items: center;
        flex-direction: row-reverse;
    }

    .menu-arrow {
        margin-left: 2px;
        transition: color 0.3s, transform 0.3s ease-in-out;
    }

    @media (max-width: 1024px) {
        .menu-arrow {
            cursor: pointer;
        }
    }

    .header__item:hover .menu-arrow {
        transform: rotate(-180deg);
        color: rgba(237, 28, 36, 1);
    }

    @media (max-width: 1024px) {

        .header__item {
            display: flex;
            align-items: center;
        }

        .header__link {
            flex: 1;
        }
    }

    .header__contact {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 16px;
    }

    .header__contact-num {
        display: flex;
        gap: 12px;
    }

    .burger-menu {
        display: none;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 30px;
        height: 30px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 1001;
    }

    .burger-line {
        width: 25px;
        height: 3px;
        background-color: var(--color-text-main);
        margin: 2px 0;
        transition: all 0.3s ease;
        border-radius: 2px;
    }

    .burger-menu.active .burger-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .burger-menu.active .burger-line:nth-child(2) {
        opacity: 0;
    }

    .burger-menu.active .burger-line:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .header__contact-mobile {
        display: none;
    }

    .mega-menu {
        position: absolute;
        right: 0;
        top: 100%;
        width: 1208px;
        background-color: #F8F8F8;
        border-bottom-left-radius: 16px;
        border-bottom-right-radius: 16px;
        padding: 30px;
        display: none;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 1000;
    }

    @media (max-width: 1260px) {
        .mega-menu {
            width: max-content;
        }
    }

    .mega-menu.active {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }


    .header__list li:hover > .mega-menu,
    .header__list li.has-mega-menu-active > .mega-menu {
        display: block;
        opacity: 1;
        visibility: visible;
    }

    @media (max-width: 1024px) {
        .header__list li:hover > .mega-menu {
            display: none !important;
            opacity: 0 !important;
            visibility: hidden !important;
        }
    }

    .mega-title {
        font-size: 24px;
        line-height: 32px;
        font-weight: 600;
        color: #ED1C24;
    }

    .mega-columns {
        margin-top: 50px;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 17px;
    }

    .services-column-menu {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .services-column-menu li:not(:last-child) {
        padding-bottom: 30px;
    }

    .services-column-menu a {
        color: #140101;
        text-decoration: none;
        font-size: 20px;
        line-height: 32px;
        font-weight: 600;
        transition: color 0.3s ease;
    }

    .mega-column:not(:last-child) {
        border-right: 3px solid #ED1C24;
    }

    .services-column-menu a:hover {
        color: #ED1C24;
    }


    .mega-columns .sub-menu {
        display: none;
    }

    .mega-footer {
        margin-top: 50px;
        text-align: center;
    }

    .mega-button:hover {
        background-color: #D1161C;
        color: white;
    }

    .mega-menu-header {
        display: none;
    }


    @media (max-width: 1024px) {
        .header__wrapper {
            align-items: center;
            position: relative;
        }

        .burger-menu {
            display: flex;
            order: 3;
            margin-left: auto;
            flex-shrink: 0;
        }

        .header__nav {
            position: fixed;
            top: 0;
            right: -100vw;
            width: 80%;
            max-width: 500px;
            min-width: initial;
            height: 100vh;
            background-color: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(10px);
            transition: right 0.3s ease;
            z-index: 1000;
            box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .header__nav.active {
            right: 0;
        }

        .header__list {
            flex-direction: column;
            justify-content: flex-start;
            align-items: flex-start;
            height: auto;
            padding: 80px 30px 0;
            gap: 30px;
            font-size: 18px;
        }

        /* .header__contact {
          display: none;
        } */
        .header__contact .header__contact-num {
            display: none;
        }

        .header__contact {
            margin-left: auto;
        }

        .header__contact-mobile {
            display: flex;
            flex-direction: column;
            gap: 20px;
            padding: 30px;
            margin-top: auto;
            border-top: 1px solid rgba(0, 0, 0, 0.1);
        }

        .header__contact-mobile .header__contact-num {
            display: flex;
            gap: 12px;
            justify-content: center;
            align-items: center;
            font-weight: 500;
            color: var(--color-text-main);
        }

        .header__contact-mobile .btn {
            width: 100%;
            text-align: center;
            justify-content: center;
        }

        body.menu-open::before {
            content: "";
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 999;
        }

        body.mega-menu-open::before {
            content: "";
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 1000;
        }

        .mega-menu {
            position: fixed;
            top: 0;
            right: -100%;
            width: 90%;
            max-width: 500px;
            height: 100vh;
            background-color: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(10px);
            box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
            transition: right 0.3s ease;
            display: block;
            opacity: 1;
            visibility: visible;
            overflow-y: auto;
            z-index: 10000;
        }

        .mega-menu.active {
            right: 0;
        }

        .header__list li:hover > .mega-menu {
            right: -100%;
        }

        .header__list li.has-mega-menu-active > .mega-menu {
            right: 0;
        }

        .mega-menu-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 0 20px;
            border-bottom: 1px solid rgba(0, 0, 0, 0.1);
            background-color: #ffffff;
        }

        .mega-menu-back-btn {
            display: flex;
            align-items: center;
            gap: 8px;
            background: none;
            border: none;
            font-size: 16px;
            font-weight: 500;
            color: #333;
            cursor: pointer;
            padding: 8px 0;
        }

        .mega-menu-back-btn:hover {
            color: #ED1C24;
        }

        .mega-menu-back-btn svg {
            transition: transform 0.2s ease;
        }

        .mega-menu-back-btn:hover svg {
            transform: translateX(-2px);
        }

        .mega-menu-inner {
            background-color: transparent;
            margin: 20px 0 0;
            border-radius: 0;
        }

        .mega-title {
            font-size: 18px;
            line-height: 26px;
            margin-bottom: 15px;
        }

        .mega-columns {
            display: block;
            margin-top: 15px;
            gap: 0;
        }

        .mega-column {
            margin-bottom: 20px;
            border-right: none !important;
        }

        .mega-column:last-child {
            margin-bottom: 0;
        }

        .services-column-menu {
            margin-bottom: 0;
        }

        .services-column-menu li {
            border-left: 2px solid #ED1C24;
            padding-left: 10px;
            padding-bottom: 12px;
        }

        .services-column-menu li:last-child {
            padding-bottom: 0;
        }

        .services-column-menu a {
            font-size: 15px;
            line-height: 22px;
        }

        .mega-footer {
            margin-top: 20px;
            padding-top: 15px;
            border-top: 1px solid #ddd;
        }

        .mega-button {
            display: block;
            width: 100%;
            text-align: center;
            padding: 15px;
            border-radius: 6px;
        }

        .mega-columns .sub-menu {
            display: none;
        }

        @media (hover: none) and (pointer: coarse) {
            .header__list li:hover > .mega-menu {
                display: none !important;
                opacity: 0 !important;
                visibility: hidden !important;
            }
        }
    }

    @media (max-width: 768px) {
        .header__nav {
            width: 90%;
            right: -100vw;
        }

        .header__list {
            padding: 60px 20px 0;
            gap: 25px;
            font-size: 16px;
        }

        .header__contact-mobile {
            padding: 20px;
            gap: 15px;
        }

        .header__logo-link {
            max-width: calc(100% - 60px);
            flex-shrink: 1;
            flex-grow: 0;
            flex-basis: 27vw;
        }

        .header__logo-link img {
            max-height: 45px;
        }
    }

    @media (max-width: 375px) {
        .header__wrapper {
            align-items: center;
            position: relative;
        }

        .burger-menu {
            /*       position: absolute;
            right: 0;
            order: unset; */
        }

        .header__logo-link {
            max-width: calc(100% - 50px);
        }

        .header__logo-link img {
            max-height: 40px;
        }
    }
}


/*--------------------------------------------END HEADER------------------------------------------------------------------------*/

/*--------------------------------------------FOOTER---------------------------------------------------------------------------*/
.footer {
    background-color: var(--color-heading);
    padding: 56px 0;

    @media (max-width: 696px) {
        padding: 27px 0;
    }
}

.footer__wrapper {
    display: flex;
    justify-content: space-between;
    gap: 147px;
}

@media (max-width: 1260px) {
    .footer__wrapper {
        gap: 60px;
    }
}

@media (max-width: 1024px) {
    .footer__wrapper {
        flex-direction: column;
        gap: 40px;
    }
}

.footer__column-left {
    flex: 0 1 314px;
}

@media (max-width: 1024px) {
    .footer__column-left {
        flex-basis: 100%;
        display: flex;
        justify-content: space-between;
        gap: 40px;
    }
}

@media (max-width: 696px) {
    .footer__column-left {
        flex-direction: column;
        gap: 24px;
    }
}

.footer__column-left-top-text {
    @media (max-width: 696px) {
        max-width: 100%;
        text-align: left;
        margin: 0;
    }
}

.footer__column-left-bottom-text {
    @media (max-width: 696px) {
        max-width: 100%;
        text-align: left;
        margin: 0;
    }
}

.footer__column-left-top-text p,
.footer__column-left-bottom-text p {
    font-size: 12px;
    line-height: 24px;
    color: #9ca3af;
}

.footer__column-left-top-logo {
    margin-bottom: 18px;
}

@media (max-width: 696px) {
    .footer__column-left-top-logo img {
        margin: 0;
    }
}

.footer__column-left-top {
    margin-bottom: 32px;
    @media (max-width: 696px) {
        margin-bottom: 0;
    }
}

.footer__column-left-bottom-logo {
    margin-bottom: 16px;
}

.footer__column-left-center {
    display: flex;
    align-items: center;
    min-width: 10ch;
    margin-inline: auto;
}

@media (max-width: 696px) {
    .footer__column-left-bottom-logo img {
        margin: 0;
    }
}

.footer__three-columns {
    display: flex;
    gap: 0;
}

@media (max-width: 1024px) {
    .footer__three-columns {
        justify-content: space-around;
    }
}

@media (max-width: 696px) {
    .footer__three-columns {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 20px;
        align-items: start;
    }
}

.footer__column-right-item:nth-child(1) {
    margin-right: 108px;
}

@media (max-width: 1260px) {
    .footer__column-right-item:nth-child(1) {
        margin-right: 60px;
    }
}

@media (max-width: 768px) {
    .footer__column-right-item:nth-child(1) {
        margin-right: 40px;
    }
}

@media (max-width: 696px) {
    .footer__column-right-item:nth-child(1) {
        margin-right: 0;
    }
}

.footer__column-right-item:nth-child(2) {
    margin-right: 166px;
}

@media (max-width: 1260px) {
    .footer__column-right-item:nth-child(2) {
        margin-right: 60px;
    }
}

@media (max-width: 768px) {
    .footer__column-right-item:nth-child(2) {
        margin-right: 40px;
    }
}

@media (max-width: 696px) {
    .footer__column-right-item:nth-child(2) {
        margin-right: 0;
    }
}

.footer__column-center-item-title,
.footer__column-right-item-title {
    font-size: 18px;
    line-height: 24px;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 24px;
}
.footer__column-center-item-title.partner {
    color:rgba(237, 28, 36, 1);
}

@media (max-width: 696px) {
    .footer__column-center-item-title,
    .footer__column-right-item-title {
        text-align: left;
    }
}

.footer__column-right-item-list li a,
.footer__column-right-item-list li,
.footer__column-right-item-list-no-link {
    font-size: 16px;
    line-height: 24px;
    color: #9ca3af;
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer__column-right-item-list li a:hover {
    color: #fff;
}

@media (max-width: 696px) {
    .footer__column-right-item-list li a,
    .footer__column-right-item-list li,
    .footer__column-right-item-list-no-link {
        justify-content: flex-start;
    }
}

@media (max-width: 696px) {
    .footer__column-right-item:nth-child(1),
    .footer__column-right-item:nth-child(2),
    .footer__column-right-item:nth-child(3) {
        margin-right: 0;
    }

    .footer__column-right-item:nth-child(3) {
        grid-column: 1 / -1;
    }
}

.footer__column-right-item-list li a img {
    display: inline-block;
    flex-shrink: 0;
    /*! text-align: center; */
    flex-basis: 14px;

    max-height: 18px;
}

.footer__column-right-item-list li:not(:last-child) {
    margin-bottom: 16px;
}

.footer__column-right-item-list {
    margin-bottom: 24px;
}

.footer__column-right-item-socials {
    display: flex;
}

@media (max-width: 696px) {
    .footer__column-right-item-socials {
        justify-content: flex-start;
    }
}

.footer__bottom {
    margin-top: 40px;
}

.footer__copyright-text p {
    font-size: 16px;
    line-height: 24px;
    color: #9ca3af;
}

@media (max-width: 1240px) {
    .footer__copyright-text p {
        font-size: 14px;
    }
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

@media (max-width: 800px) {
    .footer__bottom {
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 16px;
    }
}

.footer__link {
    display: flex;
    align-items: center;
    gap: 24px;
}

@media (max-width: 1240px) {
    .footer__link {
        gap: 8px;
    }
}

@media (max-width: 696px) {
    .footer__link {
        width: 100%;
        justify-content: space-between;
        gap: 12px;
        flex-wrap: wrap;
    }
}

.footer__link a {
    font-size: 16px;
    line-height: 24px;
    color: #9ca3af;
    text-decoration: underline;
}

.footer__link a:hover {
    color: #fff;
}

@media (max-width: 1240px) {
    .footer__link a {
        font-size: 14px;
    }
}

/*--------------------------------------------END FOOTER-----------------------------------------------------------------------*/

/*--------------------------------------------Why Choose Us-------------------------------------------------------------------*/
.choose {
    padding: 56px 0;
    background-color: rgba(237, 242, 255, 1);
    margin: 40px 0 96px;

    .choose__wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .choose__heder {
        display: flex;
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    @media (max-width: 480px) {
        .choose__heder {
            display: block;
            text-align: justify;
        }
    }

    .choose__heder:not(:last-child) {
        margin-bottom: 32px;
    }

    .choose__text {
        font-size: 16px;
        line-height: 24px;
        max-width: 1121px;
        margin: auto;
    }

    .choose__list {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 32px;
    }

    .choose__item {
        display: flex;
        flex-direction: column;
        align-items: center;
        max-width: 314px;
        text-align: center;
    }

    .choose__item-img {
        height: 64px;
        width: 64px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-bottom: 24px;
        border-radius: 100%;
        background-color: rgba(237, 28, 36, 1);
    }

    .choose__item-title {
        font-size: 24px;
        line-height: 32px;
        font-weight: 500;
        margin-bottom: 8px;
    }

    .choose__item-text {
    }
}

@media (max-width: 480px) {
    .choose {
        padding: 27px 0;
        margin: 27px 0;
    }

    .choose .choose__list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 16px;
        align-items: start;
    }

    .choose .choose__item {
        max-width: none;
        width: 100%;
        position: relative;
        padding: 10px 17px;
        border-radius: 12px 12px 0 0;
        transition: background-color 0.2s ease, box-shadow 0.2s ease;
        cursor: pointer;
        z-index: 1;
    }

    .choose .choose__item-img {
        margin-bottom: 27px;
    }

    .choose .choose__item-title {
        font-size: 18px;
        line-height: 24px;
        color: var(--color-heading);
        font-weight: 500;
        margin-bottom: 0;
    }

    .choose .choose__item-text {
        display: none;
        margin-top: 14px;
    }

    .choose .choose__item.is-open {
        background: #fff;
        box-shadow: 0 4px 14px rgba(16, 24, 40, 0.12);
        z-index: 8;
    }

    .choose .choose__item.is-open .choose__item-text {
        display: block;
        position: absolute;
        left: 0;
        right: 0;
        top: calc(100% - 10px);
        margin: 0;
        padding: 10px 17px;
        background: #fff;
        border-radius: 0 0 12px 12px;
        box-shadow: 0 10px 20px rgba(16, 24, 40, 0.12);
        font-size: 14px;
        line-height: 24px;
        color: #122856;
    }
}

/*--------------------------------------------END Why Choose Us---------------------------------------------------------------*/

/*--------------------------------------------Show cases-------------------------------------------------------------------*/
.cases {
    .cases__wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }

    @media (max-width: 480px) {
        .cases__wrapper {
            gap: 27px;
        }
    }

    .cases__heder {
        text-align: center;
    }

    .cases__title {
        margin-bottom: 16px;
    }

    @media (max-width: 480px) {
        .cases__heder {
            text-align: left;
        }

        .cases__title {
            color: var(--color-heading);
        }
    }

    .cases__text {
        max-width: 620px;
        margin: auto;
    }

    @media (max-width: 480px) {
        .cases__text {
            text-align: justify;
        }
    }

    .cases__list {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 32px;
    }

    @media (max-width: 480px) {
        .cases__list {
            gap: 19px;
        }
    }

    .cases__item {
        flex: 0 0 calc(33.333% - 22px);
        max-width: calc(33.333% - 22px);
    }

    .cases__link {
        position: relative;
        display: block;
    }

    .cases__link::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        background: rgba(5, 7, 42, 0.3);
        width: 100%;
        height: 100%;
        border-radius: 12px;
    }

    .cases__link img {
        width: 100%;
        height: 304px;
        border-radius: 12px;
        object-fit: cover;
        transition: box-shadow 0.3s ease-in-out;
    }

    @media (max-width: 576px) {
        .cases__link img {
            height: 180px;
        }
    }
}

@media (max-width: 992px) {
    .cases .cases__item {
        flex: 0 0 calc(50% - 16px);
        max-width: calc(50% - 16px);
    }
}

@media (max-width: 576px) {
    .cases .cases__item {
        flex: 0 0 50%;
    }
}

/*--------------------------------------------END Show cases---------------------------------------------------------------*/

/*--------------------------------------------Mail-------------------------------------------------------------------*/
.mail {
    /* background-image: url(../../../assets/images/front-page/mail/mail_bg.jpg), linear-gradient(#05072A66, #05072A66); */
    background-image: url(../../assets/images/front-page/mail/mail_bg.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;

    padding-top: 96px;
    padding-bottom: 96px;

    .mail__wrapper {
        display: flex;
        column-gap: 78px;
        align-content: center;
    }

    @media (max-width: 992px) {
        .mail__wrapper {
            flex-direction: column;
            row-gap: 20px;
        }
    }
    @media (max-width: 480px) {
        .mail__wrapper {
            margin-top: 20px;
        }
    }

    .mail__text {
        flex: 0 1 50%;
    }

    .mail_header {
        font-weight: 500;
        font-size: 48px;
        color: #fff;
        line-height: 1.2;
        margin-bottom: 20px;
    }

    @media (max-width: 768px) {
        .mail_header {
            font-size: 36px;
            line-height: 44px;
        }
    }
    @media (max-width: 480px) {
        .mail_header {
            font-size: 24px;
            line-height: 32px;
        }
    }

    .mail_text-discription {
        font-weight: 400;
        font-size: 20px;
        line-height: 32px;
        color: #fff;
        text-wrap: balance;
    }

    @media (max-width: 480px) {
        .mail_text-discription {
            font-size: 16px;
            line-height: 24px;
            text-align: justify;
        }
    }

    .mail_form {
        flex: 0 1 50%;

        input[type="text"],
        input[type="email"],
        input[type="tel"],
        textarea {
            width: 100%;
            background-color: #ffffff;
            border: 1px solid #d7dff4;
            border-radius: 16px;
            font-size: 16px;
            line-height: 24px;
            /*! color: #a0aed3; */
            padding: 10px 16px;
            outline: none;
        }

        h3.mail_form_head {
            color: #fff;
            text-align: center;
            margin-bottom: 20px;
        }

        textarea {
            height: 88px;
        }

        input::placeholder,
        textarea::placeholder {
            font-family: 'Montserrat', sans-serif;
            font-size: 16px;
            line-height: 24px;
            color: #9CAACA;
            font-weight: 400;
        }

        input[type="submit"] {
            margin: 0;
            margin-top: 24px;
        }

        @media (max-width: 660px) {
            input[type="submit"] {
                margin-top: 0;
            }
        }

        .wpcf7-acceptance .wpcf7-list-item {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            cursor: pointer;
        }

        .wpcf7-acceptance input[type="checkbox"] {
            position: absolute;
            opacity: 0;
        }

        .wpcf7-acceptance .wpcf7-list-item-label {
            position: relative;
            display: block; /* ✅ */
            color: #ffffff;
            font-size: 14px;
            line-height: 1.4;
        }

        .wpcf7-acceptance .wpcf7-list-item-label::before {
            content: "";
            position: absolute;
            left: -30px;
            top: 2px;
            width: 18px;
            height: 18px;
            border: 2px solid #ffffff;
            border-radius: 4px;
            background: transparent;
        }

        .wpcf7-acceptance
        input[type="checkbox"]:checked
        + .wpcf7-list-item-label::before {
            background-color: #ffffff;
        }

        .wpcf7-acceptance
        input[type="checkbox"]:checked
        + .wpcf7-list-item-label::after {
            content: "";
            position: absolute;
            left: -23px;
            top: 6px;
            width: 5px;
            height: 9px;
            border: solid #000;
            border-width: 0 2px 2px 0;
            transform: rotate(45deg);
        }

        .wpcf7-acceptance a {
            color: #ffffff;
            text-decoration: underline;
        }

        .field {
            position: relative;
            margin-bottom: 28px;
        }

        .field p {
            margin: 0;
        }

        .field--icon-email,
        .field--icon-phone {
            position: relative;
        }

        .field--icon-email input,
        .field--icon-phone input {
            height: 52px;
            padding-left: 44px;
            box-sizing: border-box;
        }

        .field--icon-email::before {
            content: "";
            position: absolute;
            left: 14px;
            top: 50%;
            transform: translateY(-50%);
            width: 24px;
            height: 24px;
            background: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTMgN0MzIDUuODk1NDMgMy44OTU0MyA1IDUgNUgxOUMyMC4xMDQ2IDUgMjEgNS44OTU0MyAyMSA3VjE3QzIxIDE4LjEwNDYgMjAuMTA0NiAxOSAxOSAxOUg1QzMuODk1NDMgMTkgMyAxOC4xMDQ2IDMgMTdWN1oiIHN0cm9rZT0iIzJDNjdFNiIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgo8cGF0aCBkPSJNMjEgN0wxMiAxM0wzIDciIHN0cm9rZT0iIzJDNjdFNiIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgo8L3N2Zz4K") no-repeat center / contain;
            pointer-events: none;
            z-index: 2;
        }

        .field--icon-phone::before {
            content: "";
            position: absolute;
            left: 14px;
            top: 50%;
            transform: translateY(-50%);
            width: 24px;
            height: 24px;
            background: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.43898 6.96879C4.95901 13.7235 10.2765 19.041 17.0312 20.561C19.1865 21.046 21 19.2091 21 17V15.25C21 14.6977 20.5514 14.2547 20.0012 14.2063C18.9118 14.1104 17.8669 13.8593 16.8888 13.4751L15.1796 15.1843C12.3997 13.854 10.146 11.6003 8.81567 8.82037L10.5249 7.11118C10.1407 6.13313 9.88957 5.08823 9.79373 3.99877C9.74533 3.44861 9.30229 3 8.75 3H7C4.79086 3 2.95398 4.81355 3.43898 6.96879Z' stroke='%232C67E6' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
            pointer-events: none;
            z-index: 2;
        }

        .wpcf7-form-control-wrap {
            position: static;
        }

        .wpcf7-not-valid-tip {
            position: absolute;
            bottom: -18px;
            left: 0;
            font-size: 12px;
            line-height: 1;
            font-weight: 500;
        }

        .wpcf7-not-valid {
            border-color: #e63946;
        }

        .wpcf7 form.sent .wpcf7-response-output {
            font-size: 16px;
            line-height: 1.2;
            background-color: #fff;
            padding: 15px;
            border-radius: 8px;
            color: #0e7b17;
            text-align: center;
            border: none;
        }

        .wpcf7 form.invalid .wpcf7-response-output {
            font-size: 16px;
            line-height: 1.2;
            background-color: #fff;
            padding: 15px;
            border-radius: 8px;
            color: #e63946;
            text-align: center;
            border: none;
        }

        .mail__checkbox-policy {
            margin-left: 15px;
        }
    }

    .mail__bootom {
        display: flex;
        align-items: center;
        gap: 32px;
    }

    @media (max-width: 660px) {
        .mail__bootom {
            flex-direction: column-reverse;
            align-items: flex-start;
            row-gap: 16px;
            margin-top: 25px;
        }
    }

    .mail__btn-send-mail {
        flex: 0 1 176px;
    }

    @media (max-width: 660px) {
        .mail__btn-send-mail {
            flex-basis: 100%;
        }
    }
}

@media (max-width: 480px) {
    .mail {
        margin-bottom: 27px;
    }
}

/*--------------------------------------------END Mail---------------------------------------------------------------*/

/*--------------------------------------------FAQ---------------------------------------------------------------*/
.faq--single-post {
    margin-top: 50px;
}

.faq__wrapper {
    display: flex;
    justify-content: space-between;
    gap: 100px;
}

@media (max-width: 1024px) {
    .faq__wrapper {
        flex-direction: column;
        gap: 40px;
    }
}

.faq__wrapper--single-post,
.faq__wrapper--service-page {
    display: block;
    justify-content: normal;
}

.faq__title--single-post {
    font-size: 36px;
    line-height: 20px;
    font-weight: 400;
    color: #e32e2e;
}

.faq__title--service-page {
    font-size: 48px;
    line-height: 56px;
    color: #140101;
    margin-bottom: 40px;
}

@media (max-width: 1024px) {
    .faq__title--service-page {
        font-size: 36px;
        line-height: 42px;
    }
}

@media (max-width: 480px) {
    .faq__title--single-post {
        font-size: 28px;
        line-height: 34px;
    }

    .faq__title--service-page {
        font-size: 24px;
    }
}

.faq__header {
    flex: 0 1 461px;
}

@media (max-width: 1024px) {
    .faq__header {
        flex-basis: 100%;
    }
}

.faq__header--single-post,
.faq__header--service-page {
    margin-bottom: 50px;
    text-align: center;
}

@media (max-width: 480px) {
    .faq__header--service-page {
        margin-bottom: 0;
    }
}

.faq__list {
    flex: 0 1 807px;
}

@media (max-width: 1024px) {
    .faq__list {
        flex-basis: 100%;
    }
}

.faq__item-question {
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    color: #140101;
    text-align: left;
}

.faq__item-question--single-post,
.faq__item-question--service-page {
    font-weight: 500;
    color: #140101;
}

.faq__item-btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    outline: none;
}

.faq__item-answer {
    max-width: 680px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease,
    margin-top 0.3s;
    margin-top: 0;
}

.faq__item-answer {
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: #182137;
}

.faq__item-answer p:not(:last-child) {
    margin-bottom: 16px;
}

.faq__item-answer.active {
    margin-top: 10px;
}

.faq__item-answer--single-post p {
    color: #140101 !important;
}

.faq__item-icon {
    margin-right: 20px;
}

.faq__item-icon--single-post {
    margin-right: 0;
}

.faq__item-icon--service-page {
    margin-right: 0;
}

.faq__item-icon svg {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq__item-btn.active .faq__item-icon svg {
    transform: rotate(45deg);
    transition: transform 0.3s;
}

.faq__item-btn--single-post,
.faq__item-btn--service-page {
    gap: 15px;
}

.faq__item-btn--single-post.active .faq__item-icon svg,
.faq__item-btn--service-page.active .faq__item-icon svg {
    transform: rotate(180deg);
}

.faq__item {
    padding: 24px 0;
    border-bottom: 1px solid #e3eafb;
}

.faq__item--single-post,
.faq__item--service-page {
    background-color: #EDF2FF;
    border-radius: 12px;
    border: none;
    padding: 25px 21px;
}

@media (max-width: 480px) {
    .faq__item--single-post,
    .faq__item--service-page {
        padding: 20px;
    }
}

.faq__item--single-post:not(:last-child),
.faq__item--service-page:not(:last-child) {
    margin-bottom: 40px;
}

@media (max-width: 480px) {
    .faq__item--single-post:not(:last-child),
    .faq__item--service-page:not(:last-child) {
        margin-bottom: 20px;
    }
}

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

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

@media (max-width: 480px) {
    .faq__list--columns {
        gap: 20px;
    }
}

.faq__show-more-wrap {
    display: none;
}
.faq--service-page {
    padding: 50px 0;
    @media (max-width: 480px) {
        padding: 27px 0;
    }
}

@media (max-width: 480px) {
    .faq--service-page .faq__list--columns {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .faq--service-page .faq__show-more-wrap {
        display: flex;
        justify-content: center;
        margin-top: 27px;
    }

    .faq--service-page .faq__column {
        display: contents;
    }

    .faq--service-page .faq__item--service-page {
        margin-bottom: 0 !important;
    }

    .faq--service-page .faq__item--mobile-hidden {
        display: none;
    }

    .faq--service-page .faq__list--expanded + .faq__show-more-wrap {
        margin-top: 27px;
    }
}

/* форма */

/* Модальне вікно */
/* Фон попапу (overlay) */

/* нова форма */

/* Основний оверлей */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 20px;
    overflow-y: auto;
}

/* Контейнер вікна */
.popup-content {
    background-color: #001f3f; /* Темно-синій фон */
    background-image: linear-gradient(rgba(0, 31, 63, 0.8), rgba(0, 31, 63, 0.8)),
    url("../images/block_form_fon.png");
    background-size: cover;
    max-width: 990px;
    width: 100%;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    padding: 15px 40px;
    font-weight: 900;
    margin: auto;
}

.popup-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

/* Ліва колонка */
.popup-left {
    flex: 1;
    padding: 60px 40px;
    color: #fff;
    min-width: 300px;
    align-items: center;
}

.popup-left h2 {
    /* font-size: 32px; */
    font-size: clamp(27px, 23.67px + 0.43vw, 32px);
    font-weight: bold;
    margin-bottom: 20px;
    color: #fff;
}

.popup-left p {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.9;
    font-family: Montserrat;
    font-weight: 400;
    font-style: Regular;
    /* font-size: 16px; */
    font-size: clamp(13px, 12.67px + 0.17vw, 16px);
    line-height: 1.5;
    letter-spacing: 0%;
    color: #fff;
}

/* Права колонка з формою */
.popup-right {
    flex: 1.2;
    background: #fff;
    padding: 40px;
    margin: 20px;
    border-radius: 15px;
}

/* Стилізація полів форми всередині CF7 */
.custom-form-container .form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}

.custom-form-container .form-row:last-of-type {
    margin-bottom: 0;
    gap: 0;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #334155;
}

.custom-form-container input,
.custom-form-container select,
.custom-form-container textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
}

.custom-form-container select {
    appearance: none; /* Убирает стрелку в Chrome, Safari, Opera */
    -webkit-appearance: none; /* Для WebKit-браузеров */
    -moz-appearance: none; /* Для Firefox */
    background-image: url("../images/select_arrow.svg");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 30px;
}

.submit-btn {
    background: #f82a2a !important;
    color: #fff !important;
    border: none !important;
    padding: 15px !important;
    width: 100%;
    border-radius: 8px !important;
    font-weight: bold;
    cursor: pointer;
    text-transform: none;
}

/* Кнопка закриття */
.close-popup {
    position: absolute;
    top: 10px;
    right: 15px;
    background: #f82a2a;
    color: #fff;
    border: none;
    border-radius: 5px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 10;
    font-size: 25px;
}

/* Іконки соцмереж */
.social-icons {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

@media (max-width: 480px) {
    .social-icons {
        gap: 20px;
    }
}

.icon-circle {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    position: relative;
}

.popup-content .wpcf7-form {
    position: relative;
}

.popup-content .wpcf7 form .wpcf7-response-output {
    margin: 10px 0 0 0;
    padding: 0.2em 1em;
    /* border: 2px solid orange; */
    position: absolute;
    font-size: 10px;
    /* transform: translate(-50%, -50%); */
}

.popup-content .wpcf7-not-valid-tip {
    font-size: 0.7em;
}

.custom-form-container input,
.custom-form-container select,
.custom-form-container textarea {
    padding: 10px 15px;

    font-size: 13px;
}

.custom-form-container textarea {
    max-height: 100px;
}

.popup-content .wpcf7 form.invalid .wpcf7-response-output,
.popup-content .wpcf7 form.unaccepted .wpcf7-response-output {
    display: none;
}

/* Адаптивність */
@media (max-width: 768px) {
    .popup-left {
        display: none;
    }

    .popup-right {
        margin: 10px;
        padding: 20px;
    }

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

    .popup-content {
        background-color: transparent; /* Темно-синій фон */
        background-image: none;
        background-size: cover;
        max-width: 90vw;
        width: auto;
        border-radius: 15px;
        position: relative;
        overflow: hidden;
        padding: 0;
    }

    .custom-form-container input,
    .custom-form-container select,
    .custom-form-container textarea {
        padding: 7px 10px;
        font-size: 12px;
    }

    .custom-form-container textarea {
        max-height: 70px;
    }

    .close-popup {
        top: 20px;
        right: 20px;
        width: 20px;
        height: 20px;
        font-size: 20px;
        line-height: 1;
    }

    .wpcf7 form .wpcf7-response-output {
        margin: 0;
        padding: 0.2em 1em;
        font-size: 10px;
        bottom: -5px;
    }

    .btn-book {
        padding: 0.5em 0.5em;
    }
}

@media (max-width: 992px) {
}

/* Основна секція */
.plumbing-hero {
    background: linear-gradient(rgba(5, 7, 42, 0.3), rgba(5, 7, 42, 0.3)),
    url("images/bg-buildings.jpg");
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    color: #ffffff;
}

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

/* Ліва частина з текстом */

.mail_header {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
}

.mail_text-discription {
    font-size: 18px;
    line-height: 1.6;
    opacity: 0.9;
}

/* Права частина: Білий блок форми */
.mail_form {
    background: #ffffff;
    padding: 35px;
    border-radius: 15px;
}

/* Стилізація елементів CF7 всередині блоку */
.mail_form label {
    display: block;
    color: #122856;
    font-weight: 400;
    margin-bottom: 8px;
    font-size: 16px;
    line-height: 24px;
}

.cf7-row {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

/* Поля вводу */
.mail_form input[type="text"],
.mail_form input[type="tel"],
.mail_form textarea {
    width: 100%;
    padding: 8px 16px;
    border: 1px solid #EAF1FF;
    border-radius: 8px;
    background: #ffffff;
    color: #333;
    font-size: 16px;
    line-height: 24px;
    box-sizing: border-box;
}

.mail_form textarea {
    height: 120px;
    resize: vertical;
}

/* Кнопка */
.mail_form .wpcf7-submit {
    width: 100%;
    background-color: rgba(237, 28, 36, 1); /* Яскравий червоний */
    color: #fff;
    border: none;
    padding: 16px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 10px;
}

.mail_form .wpcf7-submit:hover {
    background-color: rgba(200, 20, 30, 1);
}

#cookie-notice .cn-button:not(.cn-button-custom) {

    -webkit-border-radius: 0.5rem;
    -moz-border-radius: 0.5rem;
    border-radius: 0.5rem;

}

/*process*/

.process {
    padding: unset;

    .process__wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }

    .process__header {
        text-align: center;
    }

    .process__title {
    }

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

    @media (max-width: 1024px) {
        .process__list {
            grid-template-columns: repeat(2, 1fr);
        }
    }
    @media (max-width: 480px) {
        .process__list {
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 20px 16px;
            align-items: start;
        }
    }

    .process__item {
        position: relative;
        min-height: 368px;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: center;
        text-align: center;
        padding: 32px 24px;
        border-radius: 12px;
        background-color: #EDF2FF;
        border: 1px solid #A4BEF5;
    }

    @media (max-width: 480px) {
        .process__item {
            justify-content: center;
            min-height: 160px;
            padding: 17px 13px;
            border: none;
            cursor: pointer;
            z-index: 1;
            transition: box-shadow 0.2s ease;
        }
    }

    .process__item-label {
        display: flex;
        align-items: center;
        position: absolute;
        gap: 8px;
        top: 32px;
        left: 24px;
        color: rgba(164, 190, 245, 1);
    }

    @media (max-width: 480px) {
        .process__item-label {
            top: 17px;
            left: 13px;
        }
    }

    .process__item-icon {
        margin-bottom: 42px;
    }

    @media (max-width: 480px) {
        .process__item-icon img {
            width: 40px;
            height: auto;

        }

        .process__item-icon {
            margin-bottom: 15px;
        }
    }


    .step-num {
        border-radius: 100%;
        width: 32px;
        height: 32px;
        font-size: 18px;
        line-height: 24px;
        font-weight: 400;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background-color: #A4BEF5;
        color: #fff;
    }

    @media (max-width: 480px) {
        .step-num {
            width: 20px;
            height: 20px;
            font-size: 8px;
            line-height: 24px;
        }
    }

    .process__item-title {
        font-size: 23px;
        line-height: 32px;
        font-weight: 500;
        margin-bottom: 16px;
    }

    .process__item-text {
        font-size: 16px;
        line-height: 24px;
        color: var(--color-text-main);
    }

    @media (max-width: 480px) {
        .process__item-title {
            margin-bottom: 0;
            font-size: 14px;
            line-height: 20px;
        }

        .process__item-text {
            display: none;
            margin-top: 14px;
        }

        .process__item.is-open {
            background: #EDF2FF;
            box-shadow: 0 4px 14px rgba(16, 24, 40, 0.12);
            z-index: 8;
            border-radius: 12px;
        }

        .process__item.is-open .process__item-text {
            display: block;
            position: static;
            margin-top: 14px;
            padding: 0;
            background: transparent;
            border-radius: 0;
            font-size: 12px;
            line-height: 24px;
        }
    }
}

/*end process*/


/*reviews*/
.reviews {
    .reviews_header {
        text-align: center;
    }

    .reviews__title {
        margin-bottom: 40px
    }

    .reviews__btn-wrapper {
        text-align: center;
        margin-top: 32px;
    }

    .reviews__btn {
        display: inline-flex;
        align-items: center;
        gap: 20px;
        font-size: 20px;
        line-height: 30px;
        font-weight: 500;
        color: #000000;
        background-color: #E9E9E9;
        border-radius: 12px;
        padding: 15px 20px;
        border: 1px solid transparent;
    }

    .reviews__btn img {
        width: 40px;
        height: auto;
    }

    .reviews__btn:hover {
        border: 1px solid #A4BEF5;
        background-color: transparent;
    }

    @media (max-width: 480px) {
        .reviews__btn {
            font-size: 16px;
            line-height: 30px;
            padding: 10px 15px;
        }

        .reviews__btn img {
            width: 30px;
            height: auto;
        }

        .reviews__btn-wrapper {
            margin-top: 20px;
        }

        .reviews__swiper .swiper-pagination {
            margin-top: 20px;
        }
    }

    .reviews__item {
        border-right: 1px solid #D0D0D0;
    }

    .reviews__item-wrapper {
        padding: 47px 24px;
        box-sizing: border-box;
    }

    @media (max-width: 480px) {
        .reviews__item-wrapper {
            padding: 10px 20px;
        }
    }
    @media (max-width: 480px) {
    }

    .reviews__item-block {
        margin-bottom: 25px;
    }

    .swiper {
        overflow: hidden;
    }

    .swiper-wrapper {
        align-items: flex-start;
    }

    .swiper-slide {
        height: auto;
        display: block;
    }

    .swiper-slide > * {
        flex: initial;
    }

    .reviews__swiper .swiper-pagination {
        position: static;
        margin-top: 32px;
        text-align: center;
    }

    .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
        margin: 4px !important;
        background-color: #A4BEF5;
        opacity: 1 !important;
        transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .swiper-pagination-bullet.swiper-pagination-bullet-active {
        background-color: #ED1C24;
        width: 32px;
        border-radius: 16px;
    }

    .reviews__item-text {
        font-size: 16px;
        line-height: 24px;
        font-weight: 400;
        color: rgba(0, 0, 0, 0.8);
    }

    @media (max-width: 480px) {
        .reviews__item-text {
            text-align: justify;
        }
    }

    .reviews__item-toggle {
        margin-top: 10px;
        padding: 0;
        border: none;
        background: transparent;
        color: #ED1C24;
        font-size: 14px;
        line-height: 1.2;
        font-weight: 600;
        cursor: pointer;
        text-decoration: underline;
    }

    .reviews__item-toggle:hover {
        opacity: 0.85;
    }

    .item-block__rate {
        display: flex;
        align-items: center;
        gap: 2px;
    }

    .item-block__rate img {
        width: 18px;
        height: 18px;
    }

    .item-block__name {
        display: flex;
        align-items: center;
        column-gap: 25px;
        margin-bottom: 25px;
    }

    .block__name-text {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .name-text_fio {
        font-weight: 700;
        font-size: 16px;
        line-height: 24px;
        margin-bottom: 5px;
    }

    .name-text_date {
        font-weight: 400;
        font-size: 14px;
        line-height: 16px;
        color: rgba(0, 0, 0, 0.6);
    }

    .block__name-foto img {
        width: 40px;
    }

    .default-avatar-letter {
        width: 72px;
        height: 72px;
        border-radius: 50%;
        background-color: #A4BEF5;
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 700;
        font-size: 20px;
    }
}

.btn.btn-call {
    padding: 1em 2em;
}

/*and reviews*/


/* Адаптивність */
@media (max-width: 992px) {
    .mail__wrapper {
        flex-direction: column;
    }

    .mail_form {
        width: 100%;
        /*! max-width: 100%; */
    }

    .mail__wrapper .social-icons {

        justify-content: center;
    }

}

@media (max-width: 576px) {
    .cf7-row {
        flex-direction: column;
    }

    .mail_header {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .mail_form {
        padding: 32px 12px;
    }

    .mail__wrapper .social-icons {
        justify-content: space-between;
    }
}

@media (min-width: 992px) {
    .mail .mail_header {
        font-size: clamp(40px, 31.45px + 0.86vw, 48px);

    }


}

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

.service-item {
    height: 350px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    display: flex;
    transition: transform 0.3s ease;
}


a.service-item {
    width: 100%;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

a.service-item:hover,
a.service-item:visited,
a.service-item:focus {
    color: inherit;
    text-decoration: none;
}

a.service-item:focus-visible {
    outline: 3px solid var(--riteway-red);
    outline-offset: 4px;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-overlay {
    background: var(--dark-overlay);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    color: var(--white);
    box-sizing: border-box;
}

.service-overlay h3 {
    font-size: 26px;
    line-height: 32px;
    margin-bottom: 16px;
    font-weight: 500;
    color: var(--white);
    text-align: center;
}


.divider {
    width: 64px;
    height: 4px;
    background-color: var(--riteway-red);
    margin: 0 auto 15px;
}

.service-overlay p {
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 25px;
    opacity: 0.95;
    max-width: 376px;
    color: var(--white);
    text-align: center;
}

.btn-red {
    display: inline-block;
    font-family: 'Roboto', sans-serif;
    background-color: var(--riteway-red);
    color: white;
    padding: 12px 28px;
    border-radius: 15px;
    text-decoration: none;
    font-size: 16px;
    line-height: 22px;
    font-weight: 400;
    transition: background 0.3s;
}

.btn-red:hover {
    background-color: #e62626;
}

.service-btn-wrapper {
    text-align: center;
    margin-top: 15px;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

@media (max-width: 480px) {
    .front-page .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .front-page .services-grid .service-item:nth-child(n + 5) {
        display: none;
    }

    .front-page .service-item {
        height: 84px;
        border-radius: 12px;
    }

    .front-page .service-overlay {
        padding: 22px 32px;
        justify-content: center;
        background: linear-gradient(0deg, rgba(6, 10, 38, 0.72), rgba(6, 10, 38, 0.72));
    }

    .front-page .service-overlay h3 {
        margin: 0;
        font-size: 14px;
        line-height: 20px;
        font-weight: 500;
    }

    .front-page .service-overlay .divider,
    .front-page .service-overlay p,
    .front-page .service-overlay .service-btn-wrapper {
        display: none;
    }
}

@media (max-width: 480px) {
    .cf7-submit-wrapper {
        margin-top: 26px;
    }

    .faq__show-more-btn {
        min-width: 199px;
        justify-content: center;
    }
}
