/*
Theme Name: Art Theme
Theme URI: http://localhost:8090
Author: Denis
Description: Starter custom theme for local development.
Version: 1.0.0
Text Domain: art-theme
*/

:root {
    /* Typography */
    --font-heading: "Uni Neue", "Lato", Arial, sans-serif;
    --font-body: "Lato", Arial, sans-serif;
    --hero-max-width: 1688;
    --hero-max-size: 150;
    --hero-min-size: 40;
    --badge-sub-max-size: 70;
    --badge-sub-min-size: 18;

    /* Fill */
    --fill-black: #000000;
    --fill-turquoise: #029bac;
    --fill-gray: #c3c8c9;
    --fill-light-gray: #ebedee;
    --fill-gray-blue: #ebeeef;
    --fill-white: #ffffff;
    --fill-turquoise-40: rgba(137, 193, 201, 0.4);

    /* Linear fill variants */
    --line-white-100: rgba(235, 238, 239, 1);
    --line-white-0: rgba(235, 238, 239, 0);
    --line-gray-0: rgba(235, 238, 239, 0);
    --line-gray-78: rgba(235, 238, 239, 0.78);

    /* Text */
    --text-black: #000000;
    --text-dark-gray: #848484;
    --text-gray: #999999;
    --text-white: #ebe6e6;
    --text-black-60: rgba(0, 0, 0, 0.6);
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--text-black);
}

body::after {
    background-image: url(./assets/img/body.png);
    background-size: cover;
    background-repeat: no-repeat;
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: -1;
    height: 100%;
    top: 0;
    left: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

.site-header__inner {
    max-width: 1668px;
    margin: 0 auto;
    padding: 20px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.container {
    max-width: 1668px;
    margin: 0 auto;
    padding: 20px 10px;
}

.site-header__logo {
    flex-shrink: 0;
    display: inline-flex;
}

.site-header__logo img {
    display: block;
    width: 181px;
    height: auto;
}

.site-header__menu {
    display: flex;
    align-items: center;
    gap: 20px;
}

.site-header__menu a {
    font-family: var(--font-heading);
    font-size: 18px;
    line-height: 1.2;
    font-weight: 400;
    color: var(--text-black);
    transition: color 0.2s ease;
}

.site-header__menu a:hover {
    color: var(--fill-turquoise);
}

.site-header__toggle {
    display: none;
}

.site-wrap {
    max-width: 960px;
    margin: 40px auto;
    padding: 24px;
    background: var(--fill-white);
    border: 1px solid var(--fill-gray-blue);
}

.hero__title {
    font-weight: 700;
    font-size: clamp(
        calc(var(--hero-min-size) * 1px),
        calc(100vw * var(--hero-max-size) / var(--hero-max-width)),
        calc(var(--hero-max-size) * 1px)
    );
    line-height: 1.2;
    letter-spacing: -0.05em;
    color: #000;
}

.hero__barcode {
    width: 100%;
}

.hero__banner {
    position: relative;
}

.hero__badge-main {
    font-weight: 700;
    font-size: clamp(
        calc(var(--hero-min-size) * 1px),
        calc(100vw * var(--hero-max-size) / var(--hero-max-width)),
        calc(var(--hero-max-size) * 1px)
    );
    line-height: 120%;
    font-family: "Uni Neue", sans-serif;

    letter-spacing: -0.05em;
    color: #fff;
    position: absolute;
    left: 50%;
    top: -10px;
    transform: translateX(-50%);
}

.hero__badge-sub {
    position: absolute;
    left: 60%;
    bottom: -0;
    transform: translateX(-47%);
    font-family: "Uni Neue", sans-serif;
    font-weight: 700;
    font-size: clamp(
        calc(var(--badge-sub-min-size) * 1px),
        calc(100vw * var(--badge-sub-max-size) / var(--hero-max-width)),
        calc(var(--badge-sub-max-size) * 1px)
    );
    line-height: 120%;
    letter-spacing: -0.06em;
    color: #fff;
}

.hero__content {
    position: relative;
}

.hero__image-wrap {
    position: absolute;
    left: 0;
    top: -80px;
    width: clamp(280px, calc(100vw * 809 / 1668), 809px);
    max-width: 100%;
}

.hero__image-wrap img {
    display: block;
    width: 100%;
    height: auto;
}

.hero__info {
    margin-left: auto;
    margin-top: 10px;
    transform: translateX(106px);
    max-width: 212px;
    width: 100%;
    margin-right: auto;
}

.hero__info p {
    font-family: "Lato", sans-serif;
    font-weight: 400;
    max-width: 212px;
    margin-bottom: 28px;

    font-size: 18px;
    line-height: 110%;
    letter-spacing: -0.06em;
    color: #000;
}
.hero__button {
    padding: 11px 18px;
    background: #029bac;
    font-weight: 700;
    height: 54px;
    align-items: center;
    justify-content: center;
    display: flex;
    font-size: 20px;
    line-height: 120%;

    letter-spacing: -0.02em;
    color: #fff;
    font-family: var(--font-heading);
}

.about {
    padding: 46px 0 80px;
}

.about__inner {
    text-align: center;
}

.about__label {
    font-weight: 700;
    font-size: 20px;
    font-family: var(--font-body);
    line-height: 120%;
    letter-spacing: -0.02em;
    color: #000;
    background: #ebeeef;
    padding-inline: 3px;
    width: 90px;
    height: 25px;
    margin: 0 auto;
}

.about__title {
    font-family: "Uni Neue", sans-serif;
    font-weight: 500;
    font-size: 50px;
    line-height: 90%;
    letter-spacing: -0.03em;
    text-align: center;
    color: #000;
    max-width: 1175px;
    margin: 24px auto;
}

.about__text {
    font-family: "Lato", sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: -0.03em;
    text-align: left;
    color: #000;
}

.about__text--mobile {
    display: none;
}

.about__text p:nth-child(2) {
    margin-left: 38px;
}

.about__text p:nth-child(3) {
    margin-left: 38px;
}

.about__text p:nth-child(4) {
    margin-left: 315px;
}
.about__text p:nth-child(5) {
    margin-left: 315px;
}
.about__text p:nth-child(6) {
    margin-left: 315px;
}

.about__image-wraps {
    max-width: 710px;
    margin: 0 auto;
}

.about__image-wrap {
    margin: 32px auto 0;
    width: min(100%, 710px);
}

.about__image-wrap img {
    display: block;
    width: 100%;
    height: auto;
}

.services {
    padding: 10px 0 80px;
}

.services__label {
    font-weight: 700;
    font-size: 20px;
    font-family: var(--font-body);
    line-height: 120%;
    letter-spacing: -0.02em;
    color: #000;
    background: #ebeeef;
    padding-inline: 6px;
    width: fit-content;
    height: 25px;
    margin: 0 auto 22px;
}

.services__list {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.service-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.service-item__button {
    width: 100%;
    padding: 22px 0 18px;
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 24px;
    text-align: left;
}

.service-item__number {
    font-family: "Lato", sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 120%;

    color: #999;
}

.service-item__title {
    font-weight: 600;
    font-size: 26px;
    line-height: 120%;
    letter-spacing: -0.03em;
    color: #000;
}

.service-item__title-group {
    min-width: 396px;
    max-width: 396px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.service-item__summary {
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: -0.03em;
    color: #000;
}

.service-item__summary-group {
    min-width: 583px;
    max-width: 583px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

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

.service-item.is-open .service-item__gallery {
    display: flex;
}

.service-item__gallery img {
    display: block;
    width: 162px;
    height: 125px;
    object-fit: cover;
}

.service-item__icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #c3c8c9;
    position: relative;
    justify-self: end;
    margin-top: 2px;
}

.service-item__icon::before,
.service-item__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 2px;
    background: #000;
    transform: translate(-50%, -50%);
    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.service-item__icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.service-item.is-open .service-item__icon::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.service-item.is-open .service-item__icon::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.service-item__details {
    padding: 0;
}

.service-item__details-text {
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: -0.03em;
    color: #000;
    max-width: 269px;
    margin: 0;
}

.services__button {
    margin: 20px auto 0;
    min-width: 209px;
    padding: 18px 20px;
    background: #029bac;
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    font-family: var(--font-heading);
    font-size: 20px;
    line-height: 1;
    font-weight: 700;
    color: #fff;
}

.solutions {
    padding: 10px 0 90px;
    overflow: hidden;
}

.solutions__inner {
    text-align: center;
}

.solutions__label {
    font-weight: 700;
    font-size: 20px;
    font-family: var(--font-body);
    line-height: 120%;
    letter-spacing: -0.02em;
    color: #000;
    background: #ebeeef;
    padding-inline: 6px;
    width: fit-content;
    height: 25px;
    margin: 0 auto 20px;
}

.solutions__title {
    margin: 0 auto 34px;
    font-family: "Uni Neue", sans-serif;
    font-weight: 500;
    font-size: 54px;
    line-height: 0.95;
    letter-spacing: -0.04em;
    color: #000;
}

.solutions__cards {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
    padding: 0 20px;
}

.solution-card {
    position: relative;
    width: 460px;
    height: 460px;
    border-radius: 306px;
    background: #ebeeef;
    overflow: hidden;
    flex: 0 0 auto;
}

.solution-card + .solution-card {
    margin-left: -104px;
}

.solution-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-position: right center;
    background-repeat: no-repeat;
}

.solution-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        #ebeeef 0 48%,
        rgba(137, 193, 201, 0.5) 48%,
        rgba(137, 193, 201, 0.5) 100%
    );
}

.solution-card__content {
    position: relative;
    z-index: 1;
    width: 48%;
    height: 100%;
    padding: 166px 6px 30px 64px;
    text-align: left;
}

.solution-card__value {
    font-family: "Uni Neue", sans-serif;
    font-weight: 700;
    font-size: 50px;
    line-height: 120%;
    letter-spacing: -0.03em;
    color: #000;
}

.solution-card__text {
    margin-top: 14px;
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: -0.03em;
    color: #000;
}

.solution-card--pipes::before {
    background-image: var(
        --solution-card-image,
        url("./assets/img/prem_1.png")
    );
}

.solution-card--indoor::before {
    background-image: var(
        --solution-card-image,
        url("./assets/img/prem_2.png")
    );
}

.solution-card--metal::before {
    background-image: var(
        --solution-card-image,
        url("./assets/img/prem_3.png")
    );
}

.solution-card--fan::before {
    background-image: var(
        --solution-card-image,
        url("./assets/img/prem_4.png")
    );
}

.stages {
    position: relative;
    padding: 130px 0 60px;
    background:
        linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        url("./assets/img/etap.png") center/cover no-repeat;
    overflow: hidden;
}

.stages__head {
    text-align: center;
    color: #fff;
}

.stages__title {
    margin: 0;
    font-family: "Uni Neue", sans-serif;
    font-weight: 500;
    font-size: 54px;
    line-height: 0.95;
    letter-spacing: -0.04em;
    color: #fff;
}

.stages__link {
    display: inline-block;
    margin-top: 10px;
    font-family: "Lato", sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 1;
    color: #fff;
    text-decoration: underline !important;
    text-underline-offset: 4px;
}

.stages__slider {
    margin-top: 26px;
}

.stages__track {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 0 28px 18px;
    justify-content: center;
}

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

.stage-card {
    position: relative;
    flex: 0 0 270px;
    padding: 10px;
    min-height: 410px;
    background: rgba(235, 238, 239, 0.94);
    scroll-snap-align: start;
    overflow: hidden;
}

.stage-card::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    height: 200px;
    background: rgba(137, 193, 201, 0.4);
    z-index: 1;
    pointer-events: none;
}

.stage-card__image {
    position: relative;
    z-index: 0;
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
    filter: grayscale(0.08) saturate(0.72);
}

.stage-card__body {
    position: relative;
    z-index: 2;
    padding: 14px 0 18px;
}

.stage-card__title {
    font-family: "Lato", sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: -0.03em;
    color: #000;
}

.stage-card__text {
    margin-top: 14px;
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: -0.03em;
    color: #000;
}

.stages__controls {
    margin-top: 8px;
    display: flex;
    justify-content: center;
    gap: 18px;
}

.stages__control {
    width: 73px;
    height: 30px;
    position: relative;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.stages__control--next::after {
    content: none;
}

.stages__control--prev::after {
    content: none;
}

.stages__control--prev {
    background-image: url("data:image/svg+xml,%3Csvg width='73' height='30' viewBox='0 0 73 30' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M71.3555 0.674805V12.6748C71.3555 13.7794 70.46 14.6748 69.3555 14.6748H1.35547M1.35547 14.6748L14.1603 0.674805M1.35547 14.6748L14.1603 28.6748' stroke='white' stroke-width='2'/%3E%3C/svg%3E");
}

.stages__control--next {
    background-image: url("data:image/svg+xml,%3Csvg width='73' height='30' viewBox='0 0 73 30' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 0.674805V12.6748C1 13.7794 1.89543 14.6748 3 14.6748H71M71 14.6748L58.1951 0.674805M71 14.6748L58.1951 28.6748' stroke='white' stroke-width='2'/%3E%3C/svg%3E");
}

.install-types {
    padding: 86px 0 90px;
    background: url("https://artclimat-services.ru/wp-content/uploads/2026/03/Group-1000002196.png") left no-repeat;
    background-color: #ebeeef;
    background-size: contain;
}

.install-types__inner {
    max-width: 820px;
    margin-left: auto;
}

.install-types__label {
    width: fit-content;
    margin: 0 auto 18px;
    padding: 0 6px;
    background: #cfd5d6;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 20px;
    line-height: 1.2;
    color: #000;
}

.install-types__title {
    margin: 0 0 12px;
    text-align: center;
    font-family: "Uni Neue", sans-serif;
    font-weight: 500;
    font-size: 50px;
    line-height: 0.95;
    letter-spacing: -0.04em;
    color: #000;
}

.install-types__intro {
    margin: 0 auto 26px;
    max-width: 820px;
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-size: 26px;
    line-height: 0.98;
    letter-spacing: -0.03em;
    color: #000;
}

.install-types__intro p:first-child {
    max-width: 438px;
    margin: 0 0 12px auto;
}

.install-types__intro p:last-child {
    max-width: 820px;
    width: 100%;
    margin: 0;
}

.install-types__grid {
    display: grid;
    gap: 18px;
}

.install-types__row {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
    margin-left: 120px;
}

.install-types__name {
    padding-top: 2px;
    text-align: right;
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-size: 26px;
    line-height: 1;
    color: #999;
}

.install-types__content h3 {
    margin: 0 0 8px;
    font-family: "Uni Neue", sans-serif;
    font-weight: 500;
    font-size: 26px;
    line-height: 0.98;
    letter-spacing: -0.03em;
    color: #000;
}

.install-types__content ul {
    margin: 0;
    padding-left: 22px;
}

.install-types__content li {
    list-style: disc;
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1;
    letter-spacing: -0.03em;
    color: #999;
    margin-bottom: 2px;
}

.reviews {
    padding: 86px 0 72px;
    background: #ebeeef;
}

.reviews__label {
    width: fit-content;
    margin: 0 auto 10px;
    padding: 0 6px;
    background: #cfd5d6;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 20px;
    line-height: 1.2;
    color: #000;
}

.reviews__head {
    position: relative;
    text-align: center;
}

.reviews__title {
    margin: 0;
    font-family: "Uni Neue", sans-serif;
    font-weight: 500;
    font-size: 60px;
    line-height: 0.95;
    letter-spacing: -0.04em;
    color: #000;
}

.reviews__link {
    position: absolute;
    right: 0;
    top: 18px;
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1;
    color: #000;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.reviews__slider {
    margin-top: 28px;
}

.reviews__track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 12px;
}

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

.review-card {
    flex: 0 0 520px;
    min-height: 240px;
    background: rgba(255, 255, 255, 0.68);
    border-radius: 24px;
    padding: 20px 20px 24px;
}

.review-card__author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-card__avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    flex: 0 0 auto;
    background: linear-gradient(135deg, #cfd2d4, #e3e5e7);
    position: relative;
    overflow: hidden;
}

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

.review-card__avatar--empty::before {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1.5px solid #9e9e9e;
    border-top: 0;
    border-right: 0;
    transform: skewX(-12deg) rotate(-8deg);
}

.review-card__avatar--empty::after {
    content: "";
    position: absolute;
    right: 23px;
    top: 22px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #9e9e9e;
}

.review-card__avatar--man-one {
    background:
        linear-gradient(rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.12)),
        radial-gradient(circle at 45% 35%, #f1d0b3 0 20%, transparent 21%),
        radial-gradient(circle at 50% 58%, #8a5b3b 0 24%, transparent 25%),
        linear-gradient(135deg, #6c8085, #a7b6b8);
}

.review-card__avatar--man-two {
    background:
        linear-gradient(rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.12)),
        radial-gradient(circle at 48% 34%, #efc7aa 0 20%, transparent 21%),
        radial-gradient(circle at 52% 58%, #5f5d58 0 25%, transparent 26%),
        linear-gradient(135deg, #596867, #98a6a4);
}

.review-card__name {
    margin: 0;
    font-family: "Uni Neue", sans-serif;
    font-weight: 700;
    font-size: 26px;
    line-height: 0.95;
    letter-spacing: -0.03em;
    color: #000;
}

.review-card__text {
    margin-top: 54px;
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.02;
    letter-spacing: -0.03em;
    color: #9c9c9c;
}

.reviews__controls {
    margin-top: 8px;
    display: flex;
    justify-content: center;
    gap: 18px;
}

.reviews__control {
    width: 73px;
    height: 30px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.reviews__control--prev {
    background-image: url("data:image/svg+xml,%3Csvg width='73' height='30' viewBox='0 0 73 30' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M71.3555 0.674805V12.6748C71.3555 13.7794 70.46 14.6748 69.3555 14.6748H1.35547M1.35547 14.6748L14.1603 0.674805M1.35547 14.6748L14.1603 28.6748' stroke='black' stroke-width='2'/%3E%3C/svg%3E");
}

.reviews__control--next {
    background-image: url("data:image/svg+xml,%3Csvg width='73' height='30' viewBox='0 0 73 30' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 0.674805V12.6748C1 13.7794 1.89543 14.6748 3 14.6748H71M71 14.6748L58.1951 0.674805M71 14.6748L58.1951 28.6748' stroke='black' stroke-width='2'/%3E%3C/svg%3E");
}

.partners {
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.partners__slider {
    overflow: hidden;
}

.partners__track {
    display: flex;
    width: max-content;
    animation: partners-marquee 28s linear infinite;
    will-change: transform;
}

.partners__slider:hover .partners__track {
    animation-play-state: paused;
}

.partners__group {
    display: flex;
    flex: 0 0 auto;
    min-width: max-content;
}

.partners__item {
    flex: 0 0 auto;
    min-height: 118px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 28px;
    border-right: 1px solid rgba(0, 0, 0, 0.08);
    background: #fff;
}

.partners__group .partners__item:first-child {
    border-left: 1px solid rgba(0, 0, 0, 0.08);
}

.partners__item img {
    display: block;
    width: auto;
    max-width: none;
    max-height: 48px;
    height: auto;
    object-fit: contain;
}

@keyframes partners-marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .partners__track {
        animation: none;
    }
}

.contact-cta {
    background: url("./assets/img/back_cta.png") left no-repeat;
    padding: 50px 0;
    text-align: center;
    background-size: cover;
}

.contact-cta__title-line {
    font-family: "Uni Neue", sans-serif;
    font-weight: 700;
    font-size: clamp(40px, 7.018vw, 120px);
    line-height: 100%;
    letter-spacing: -0.03em;
    text-align: center;
    color: #fff;
}

.contact-cta__headline-text {
    font-family: "Uni Neue", sans-serif;
    font-weight: 700;
    position: absolute;
    top: -10px;
    font-size: clamp(40px, 7.018vw, 120px);
    left: 50%;
    transform: translateX(-50%);
    line-height: 100%;
    letter-spacing: -0.03em;
    text-align: center;
    color: #000;
}

.contact-cta__highlight {
    font-family: "Uni Neue", sans-serif;
    font-weight: 700;
    position: absolute;
    top: clamp(40px, 7.018vw, 120px);
    font-size: clamp(40px, 7.018vw, 120px);
    left: 50%;
    transform: translateX(-23%);
    line-height: 100%;
    letter-spacing: -0.03em;
    text-align: center;
    color: #000;
}

.contact-cta__headline {
    position: relative;
    display: block;
    width: 100%;
}

.contact-cta__body {
    display: flex;
    max-width: 555px;
    margin-left: 39%;
    gap: 12px;
    flex-direction: column;
    align-items: flex-start;
}

.contact-cta__subtitle {
    font-family: "Uni Neue", sans-serif;
    font-weight: 700;
    font-size: clamp(18px, 2.924vw, 50px);
    line-height: 120%;
    letter-spacing: -0.03em;
    color: #fff;
}

.contact-cta__phone {
    font-family: "Lato", sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: -0.03em;
    color: #fff;
}

.contact-cta__button {
    font-family: "Lato", sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 120%;
    display: flex;
    letter-spacing: -0.02em;
    color: #fff;
    display: flex;
    padding-block: 11px;
    width: 200px;
    height: 54px;
    background: #029bac;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    body.menu-open {
        overflow: hidden;
    }

    .hero__badge-main {
        top: -5px;
    }

    .hero__badge-sub {
        left: 61%;
    }

    .hero__image-wrap {
        position: absolute;
        left: 0;
        top: -30px;
        width: clamp(240px, calc(100vw * 809 / 1668), 809px);
        max-width: 100%;
    }

    .container {
        padding: 10px;
    }

    .site-header {
        position: relative;
        z-index: 40;
    }

    .site-header__inner {
        padding: 16px;
    }

    .site-header__logo img {
        width: 97px;
        transition: 0.2s;
    }

    .site-header__toggle {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: var(--fill-gray-blue);
        position: relative;
        z-index: 2;
    }

    .site-header__toggle span {
        position: absolute;
        width: 20px;
        height: 2px;
        background: var(--fill-black);
        transition:
            transform 0.25s ease,
            opacity 0.2s ease;
    }

    .contact-cta__body {
        margin-left: 0;

        padding: 10px;
        margin-top: 10px;
        align-items: center;
    }

    .contact-cta__title-line,
    .contact-cta__headline-text {
        font-size: 30px;
        top: -2px;
    }

    .contact-cta__highlight {
        font-size: 26px;
		    font-family: "Uni Neue", sans-serif;
    font-weight: 700;
    position: absolute;
    top: clamp(31px, 7.018vw, 120px);
    left: 50%;
    transform: translateX(-23%);
    line-height: 100%;
    letter-spacing: -0.03em;
    text-align: center;
    color: #000;
    }

    .contact-cta__subtitle {
        font-size: 26px;
    }

    .contact-cta__button {
        width: 100%;
        font-size: 16px;
        height: 39px;
    }

    .site-header__toggle span:nth-child(1) {
        transform: translateY(-6px);
    }

    .site-header__toggle span:nth-child(2) {
        transform: translateY(0);
    }

    .site-header__toggle span:nth-child(3) {
        transform: translateY(6px);
    }

    .site-header__nav {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        min-height: calc(100vh - 76px);
        background: var(--fill-white);
        display: block;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition:
            opacity 0.25s ease,
            visibility 0.25s ease;
        padding-top: 28px;
    }

    .site-header__menu {
        flex-direction: column;
        align-items: center;
        gap: 22px;
    }

    .menu-open .site-header {
        background-color: var(--fill-white);
    }

    .menu-open .site-header__logo img {
        width: 170px;
    }

    .site-header__menu a {
        font-size: 26px;
        line-height: 1.05;
        font-weight: 400;
        color: var(--fill-gray);
    }

    .site-header.is-menu-open .site-header__nav {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .site-header.is-menu-open .site-header__toggle span:nth-child(1) {
        transform: rotate(45deg);
    }

    .site-header.is-menu-open .site-header__toggle span:nth-child(2) {
        opacity: 0;
    }

    .site-header.is-menu-open .site-header__toggle span:nth-child(3) {
        transform: rotate(-45deg);
    }

    .site-header.is-menu-open .site-header__menu a {
        color: var(--fill-gray);
    }

    .site-wrap {
        margin: 24px auto;
    }

    .about {
        padding: 24px 0 46px;
    }

    .about__label {
        min-height: 24px;
        padding: 3px 12px;
        font-size: 22px;
    }

    .about__title {
        margin: 14px auto 12px;
        max-width: 100%;
        font-size: 28px;
        line-height: 1.02;
    }

    .about__text {
        max-width: 100%;
        font-size: 26px;
        line-height: 1.1;
    }

    .about__text:not(.about__text--mobile) {
        display: none;
    }

    .about__text--mobile {
        display: block;
    }

    .about__image-wrap {
        margin-top: 16px;
    }

    .services {
        padding: 0 0 46px;
    }

    .services__label {
        margin-bottom: 16px;
        font-size: 18px;
    }

    .service-item__button {
        padding: 18px 0 16px;
        grid-template-columns: 52px 1fr 38px;
        gap: 12px;
    }

    .service-item__number {
        font-size: 16px;
    }

    .service-item__title {
        grid-column: 2 / 3;
        font-size: 24px;
    }

    .service-item__title-group,
    .service-item__summary-group {
        min-width: 0;
        max-width: none;
        width: 100%;
    }

    .service-item__summary {
        grid-column: 2 / 3;
        max-width: none;
        font-size: 16px;
        line-height: 1.1;
    }

    .service-item__icon {
        width: 34px;
        height: 34px;
        grid-column: 3 / 4;
        grid-row: 1 / span 2;
    }

    .service-item__icon::before,
    .service-item__icon::after {
        width: 18px;
    }

    .service-item__details {
        padding: 0;
    }

    .service-item__gallery {
        gap: 12px;
    }

    .service-item__gallery img {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 0.8;
    }

    .service-item__details-text {
        max-width: none;
        font-size: 15px;
        line-height: 1.15;
    }

    .services__button {
        margin-top: 18px;
        min-width: 180px;
        padding: 9px 22px;
        width: 100%;
        font-size: 16px;
    }

    .solutions {
        padding: 0 0 46px;
    }

    .solutions__label {
        margin-bottom: 14px;
        font-size: 18px;
    }

    .solutions__title {
        margin-bottom: 22px;
        font-size: 34px;
    }

    .solutions__cards {
        flex-direction: row;
        align-items: center;
        padding: 0;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
    }

    .solution-card--indoor,
    .solution-card--fan {
        margin-left: -20px !important;
    }

    .solution-card--pipes,
    .solution-card--metal {
        margin-left: 0 !important;
    }

    .solution-card {
        height: 260px;
        width: 110%;
        border-radius: 130px;
    }

    .solution-card + .solution-card {
        margin-left: 0;
    }

    .solution-card__content {
        padding: 108px 18px 20px 30px;
    }

    .solution-card__value {
        font-size: 42px;
    }

    .solution-card__text {
        margin-top: 10px;
        max-width: 120px;
        font-size: 15px;
        line-height: 1;
    }

    .stages {
        padding: 76px 0 40px;
    }

    .stages__title {
        font-size: 34px;
    }

    .stages__link {
        margin-top: 8px;
        font-size: 16px;
    }

    .stages__slider {
        margin-top: 18px;
    }

    .stages__track {
        gap: 12px;
        padding: 0 16px 14px;
    }

    .stage-card {
        flex-basis: 230px;
        min-height: 360px;
    }

    .stage-card__image {
        height: 150px;
    }

    .stage-card::before {
        height: 150px;
    }

    .stage-card__title {
        font-size: 18px;
    }

    .stage-card__text {
        font-size: 14px;
        line-height: 1.08;
    }

    .stages__control {
        width: 58px;
    }

    .install-types {
        padding: 56px 0 46px;
        background-position: left center;
    }

    .install-types__inner {
        max-width: 100%;
        margin-right: 0;
    }

    .install-types__label {
        margin-bottom: 14px;
        font-size: 18px;
    }

    .install-types__title {
        font-size: 34px;
    }

    .install-types__intro {
        margin-bottom: 20px;
        font-size: 18px;
        line-height: 1.08;
    }

    .install-types__intro p:first-child,
    .install-types__intro p:last-child {
        max-width: none;
        margin: 0 0 10px;
    }

    .install-types__row {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-left: 0;
    }

    .install-types__name {
        text-align: left;
        font-size: 20px;
    }

    .install-types__content h3 {
        font-size: 20px;
        line-height: 1.04;
    }

    .install-types__content li {
        font-size: 15px;
        line-height: 1.08;
    }

    .reviews {
        padding: 56px 0 46px;
    }

    .reviews__label {
        margin-bottom: 8px;
        font-size: 18px;
    }

    .reviews__head {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .reviews__title {
        font-size: 34px;
    }

    .reviews__link {
        position: static;
        font-size: 16px;
    }

    .reviews__slider {
        margin-top: 20px;
    }

    .reviews__track {
        gap: 12px;
    }

    .review-card {
        flex-basis: 320px;
        min-height: 220px;
        border-radius: 20px;
        padding: 16px;
    }

    .review-card__avatar {
        width: 72px;
        height: 72px;
    }

    .review-card__name {
        font-size: 22px;
    }

    .review-card__text {
        margin-top: 38px;
        font-size: 16px;
    }

    .partners__item {
        min-height: 96px;
        padding: 16px;
    }

    .partners__item img {
        max-height: 38px;
    }
}

@media (max-width: 500px) {
    .hero__info,
    .hero__info p {
        width: 100%;
        max-width: 100%;
        transform: none;
    }

    .hero__title {
        text-align: center;
        line-height: 87%;
    }

    .hero__button {
        height: 39px;
        font-size: 16px;
    }

    .hero__image-wrap {
        position: relative;
        inset: 0;
        margin: 18px auto;
    }

    .about__title {
        font-size: 26px;
    }

    .about__text p {
        margin-left: 0 !important;
    }

    .about__text {
        font-size: 14px;
        line-height: 1.2;
    }

    .about__text--mobile p {
        margin: 0;
        text-align: center;
    }

    .service-item__number {
        display: none;
    }

    .service-item__button {
        display: flex;
        position: relative;
        flex-direction: column;
    }

    .service-item__summary {
        min-width: auto;
    }

    .service-item__icon {
        position: absolute;
        top: 5px;
        right: 5px;
    }

    .service-item__details {
        padding-left: 0 !important;
    }

    .services__label {
        font-size: 16px;
    }

    .service-item__button {
        grid-template-columns: 42px 1fr 32px;
        gap: 10px;
    }

    .service-item__title {
        font-size: 20px;
    }

    .service-item__summary {
        font-size: 14px;
    }

    .service-item__details {
        padding-left: 52px;
    }

    .solutions__title {
        font-size: 28px;
    }

    .solution-card {
        flex: 1 1 50%;
        border-radius: 10000px;
        height: auto;
        aspect-ratio: 1 / 1;
    }

    .solution-card__content {
        padding: 10px;
        width: 51%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .solution-card__value {
        font-size: 26px;
    }

    .solution-card__text {
        font-size: 13px;
    }

    .stages {
        padding-top: 60px;
    }

    .stages__title {
        font-size: 28px;
    }

    .stage-card {
        flex-basis: 210px;
        min-height: 330px;
    }

    .stage-card__body {
        padding: 12px;
    }

    .stage-card__title {
        font-size: 17px;
    }

    .install-types__title {
        font-size: 28px;
    }

    .install-types__intro {
        font-size: 15px;
    }

    .install-types__name {
        font-size: 18px;
    }

    .install-types__content h3 {
        font-size: 18px;
    }

    .install-types__content li {
        font-size: 14px;
    }

    .reviews__title {
        font-size: 28px;
    }

    .review-card {
        flex-basis: 280px;
        min-height: 205px;
        padding: 14px;
    }

    .review-card__avatar {
        width: 64px;
        height: 64px;
    }

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

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

    .partners__item {
        min-height: 82px;
        padding: 14px;
    }

    .partners__item img {
        max-height: 32px;
    }
}

.site-footer {
    position: relative;
    overflow: hidden;
    padding: 40px 0 0;
    background: var(--fill-white);
}

.site-footer__inner {
    position: relative;
}

.site-footer__top {
    position: relative;
    z-index: 1;
    display: flex;

    gap: 40px;
    align-items: start;
}

.site-footer__brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    margin-right: auto;
}

.site-footer__logo img {
    width: 188px;
    height: auto;
    display: block;
}

.site-footer__cta {
    min-width: 200px;
    min-height: 54px;
    padding: 14px 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--fill-turquoise);
    font-size: 19px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--fill-white);
}

.site-footer__nav,
.site-footer__legal {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.site-footer__nav a,
.site-footer__legal a {
    font-size: 20px;
    line-height: 1.05;
    color: #00000050;
}

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

.site-footer__phone {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.1;
    color: var(--fill-black);
}

.site-footer__hours {
    font-size: 20px;
    line-height: 1.05;
    color: var(--fill-black);
}

.site-footer__watermark {
    margin-top: 16px;
    font-family: "Uni Neue", sans-serif;
    font-weight: 900;
    font-size: 270px;
    line-height: 0.9;
    letter-spacing: -0.06em;
    color: #d9d9d9;
    white-space: nowrap;
    user-select: none;
}

@media (max-width: 1024px) {
    .site-footer__top {
        grid-template-columns: 1fr 1fr;
        gap: 32px 24px;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding-top: 28px;
    }

    .site-footer__top {
        display: flex;
        flex-direction: column;
    }

    .site-footer__logo img {
        width: 70px;
    }

    .site-footer__brand {
        width: 100%;
    }

    .site-footer__cta {
        min-width: 0;
        width: 100%;
        max-width: 100%;
        width: 100%;
        min-height: 50px;
        font-size: 17px;
    }

    .site-footer__nav a,
    .site-footer__legal a,
    .site-footer__phone {
        font-size: 18px;
    }

    .site-footer__hours {
        font-size: 16px;
    }

    .site-footer__watermark {
        margin-top: 24px;
        font-size: clamp(56px, 18vw, 130px);
    }
}

.portfolio-page__hero {
    padding-top: 18px;
}

.portfolio-page__title {
    font-family: "Uni Neue", sans-serif;
    font-weight: 900;
    font-size: clamp(40px, 19.825vw, 320px);
    line-height: 120%;
    letter-spacing: -5%;
    color: #000;
}

.portfolio-page__features {
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.portfolio-page__feature-row {
    display: grid;
    align-items: end;
}

.portfolio-page__feature-row--top {
    grid-template-columns: auto minmax(120px, 1fr) auto;
    column-gap: 24px;
}

.portfolio-page__feature-row--bottom {
    grid-template-columns: auto minmax(70px, 160px) auto minmax(120px, 1fr);
    column-gap: 24px;
}

.portfolio-feature {
    min-height: 82px;
}

.portfolio-feature--services {
    justify-self: end;
}

.portfolio-page__feature-line {
    position: relative;
    align-self: center;
    width: 100%;
    height: 4px;
    background: #9c9c9c;
}

.portfolio-page__feature-line::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 20px;
    height: 20px;
    border-top: 4px solid #9c9c9c;
    border-right: 4px solid #9c9c9c;
    transform: translateY(-50%) rotate(45deg);
}

.portfolio-feature__eyebrow {
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: -0.03em;
    color: #000;
}

.portfolio-feature__title {
    font-family: "Uni Neue", sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 90%;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: #000;
}

.portfolio-grid {
    padding-top: 76px;
}

.portfolio-grid__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.page-id-21::after {
    background: none;
}

.portfolio-card__media {
    display: block;
    overflow: hidden;
    aspect-ratio: 1 / 0.98;
    background: #d8d8d8;
    cursor: pointer;
}

.portfolio-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-top: 48px;
}

.portfolio-pagination__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #000;
    background: transparent;
    cursor: pointer;
    color: #000;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    padding: 0;
}

.portfolio-pagination__btn:hover:not(:disabled) {
    background: #000;
    color: #fff;
}

.portfolio-pagination__btn:disabled {
    opacity: 0.3;
    cursor: default;
}

.portfolio-pagination__prev svg {
    transform: scaleX(-1);
}

.portfolio-pagination__counter {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #000;
    min-width: 60px;
    text-align: center;
}

.portfolio-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-card__title {
    font-family: "Lato", sans-serif;
    font-weight: 600;
    font-size: 26px;
    line-height: 120%;
    letter-spacing: -0.03em;
    color: #000;
}

.portfolio-services {
    padding: 104px 0 96px;
}

.portfolio-services__title {
    max-width: 1010px;
    margin: 0 auto;
    font-family: "Uni Neue", sans-serif;
    font-weight: 500;
    font-size: 50px;
    line-height: 90%;
    letter-spacing: -0.03em;
    text-align: center;
    color: #000;
}

.portfolio-services__grid {
    margin-top: 78px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.portfolio-service-card {
    position: relative;
    min-height: 414px;
    padding: 6px 24px 0 28px;
}

.portfolio-service-card:nth-child(2) {
    margin-top: 56px;
}

.portfolio-service-card:nth-child(3) {
    margin-top: 112px;
}

.portfolio-service-card::before,
.portfolio-service-card::after {
    content: "";
    position: absolute;
    left: 0;
    width: 2px;
    background: #b7b7b7;
}

.portfolio-service-card::before {
    top: 0;
    left: -3px;
    height: 8px;
    width: 8px;
}

.portfolio-service-card::after {
    top: 0;
    bottom: 0;
    background: #b7b7b7;
}

.portfolio-service-card__number {
    font-family: "Lato", sans-serif;

    font-weight: 400;
    display: block;
    font-size: 18px;
    line-height: 120%;
    color: #848484;
    margin-bottom: 20px;
}

.portfolio-service-card__bracket {
    color: #000;
}

.portfolio-service-card__title {
    font-family: "Lato", sans-serif;

    font-weight: 600;
    font-size: 26px;
    line-height: 100%;
    letter-spacing: -0.03em;
    color: #000;
}

.portfolio-service-card__title-line {
    display: block;
}

.portfolio-service-card__list {
    margin-top: 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.portfolio-service-card__list li {
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: -0.03em;
    color: #848484;
}

.portfolio-service-card--accent {
    background-image: url("./assets/img/backs.png");
    background-repeat: no-repeat;
    background-position: center 58%;
}

.portfolio-service-card__link {
    position: absolute;
    right: 18px;
    bottom: 0;
    width: 88px;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--fill-turquoise);
}

.portfolio-service-card__link span {
    display: none;
}

@media (max-width: 1240px) {
    .portfolio-feature__title {
        font-size: 26px;
    }

    .portfolio-feature__eyebrow {
        font-size: 14px;
    }

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

@media (max-width: 1024px) {
    .portfolio-services__title {
        font-size: 46px;
    }

    .portfolio-services__grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .portfolio-service-card {
        min-height: 0;
        padding-bottom: 32px;
    }
}

@media (max-width: 1024px) {
    .portfolio-grid__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .portfolio-grid {
        padding-top: 30px;
    }

    .portfolio-feature--services {
        justify-self: start;
    }
}

@media (max-width: 768px) {
    .portfolio-page {
        padding-bottom: 36px;
    }

    .portfolio-page__features {
        margin-top: 24px;
        gap: 16px;
    }

    .portfolio-page__feature-row {
        display: flex;
        flex-direction: column;
        gap: 18px;
        align-items: stretch;
    }

    .portfolio-feature__eyebrow {
        font-size: 14px;
    }

    .portfolio-feature__title {
        font-size: 20px;
    }

    .portfolio-feature {
        min-height: 0;
        position: relative;
        display: grid;
        grid-template-columns: max-content minmax(48px, 1fr);
        column-gap: 16px;
        align-items: end;
        width: 100%;
    }

    .portfolio-feature__eyebrow,
    .portfolio-feature__title {
        grid-column: 1;
    }

    .portfolio-feature::after {
        content: "";
        grid-column: 2;
        grid-row: 1 / span 2;
        align-self: end;
        width: 100%;
        height: 4px;
        margin-bottom: 10px;
        background: #9c9c9c;
    }

    .portfolio-feature--solutions::before,
    .portfolio-feature--safety::before {
        content: "";
        position: absolute;
        right: 0;
        bottom: 1px;
        width: 18px;
        height: 18px;
        border-top: 4px solid #9c9c9c;
        border-right: 4px solid #9c9c9c;
        transform: rotate(45deg);
        z-index: 1;
    }

    .portfolio-page__feature-line {
        display: none;
    }

    .portfolio-grid {
        padding-top: 36px;
    }

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

    .portfolio-card__title {
        font-size: 18px;
    }

    .portfolio-services {
        padding: 56px 0 64px;
    }

    .portfolio-services__title {
        font-size: 34px;
        line-height: 1;
    }

    .portfolio-services__grid {
        margin-top: 36px;
        gap: 28px;
    }

    .portfolio-service-card {
        padding: 6px 0 24px 22px;
    }

    .portfolio-service-card__number {
        margin-bottom: 18px;
        font-size: 16px;
    }

    .portfolio-service-card__title {
        font-size: 26px;
    }

    .portfolio-service-card__list li {
        font-size: 16px;
        line-height: 1.05;
    }

    .portfolio-service-card__link {
        width: 72px;
        height: 72px;
    }

    .portfolio-service-card__link::before {
        width: 30px;
        top: 35px;
        left: 20px;
    }

    .portfolio-service-card__link::after {
        width: 14px;
        height: 14px;
        top: 18px;
        left: 37px;
    }
}

@media (max-width: 660px) {
    .portfolio-page {
        padding-bottom: 36px;
    }

    .portfolio-feature__title {
        font-size: 18px;
    }

    .portfolio-page__title {
        letter-spacing: -7%;
    }
}
@media (max-width: 490px) {
    .portfolio-service-card__title {
        font-size: 20px;
    }
}

/* Review modal */
.review-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

[data-review-modal][hidden] {
    display: none;
}

.review-modal {
    position: relative;
    width: 100%;
    max-width: 560px;
    background: #fff;
    border-radius: 24px;
    padding: 40px;
}

.review-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}

.review-modal__close:hover {
    background: var(--fill-light-gray);
}

.review-modal__close::before,
.review-modal__close::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 2px;
    background: var(--fill-black);
    border-radius: 2px;
}

.review-modal__close::before {
    transform: rotate(45deg);
}

.review-modal__close::after {
    transform: rotate(-45deg);
}

.review-modal__title {
    margin: 0 0 24px;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 32px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text-black);
}

.review-modal__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.review-modal__label {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    color: var(--text-black);
}

.review-modal__input,
.review-modal__textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--fill-gray);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--text-black);
    background: #fff;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.review-modal__input:focus,
.review-modal__textarea:focus {
    border-color: var(--fill-turquoise);
}

.review-modal__textarea {
    resize: vertical;
    min-height: 120px;
}

.review-modal__submit {
    width: 100%;
    padding: 16px;
    background: var(--fill-turquoise);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: opacity 0.2s;
    margin-top: 8px;
}

.review-modal__submit:hover {
    opacity: 0.85;
}

.review-modal__submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.review-modal__success {
    text-align: center;
    padding: 20px 0;
}

.review-modal__success-icon {
    width: 56px;
    height: 56px;
    background: var(--fill-turquoise);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.review-modal__success-icon::after {
    content: '';
    width: 24px;
    height: 14px;
    border-left: 3px solid #fff;
    border-bottom: 3px solid #fff;
    transform: rotate(-45deg) translateY(-3px);
    display: block;
}

.review-modal__success h3 {
    margin: 0 0 8px;
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 500;
}

.review-modal__success p {
    margin: 0;
    color: var(--text-dark-gray);
    font-size: 15px;
}

.review-modal__error {
    margin-top: 12px;
    padding: 10px 14px;
    background: #fff0f0;
    border-radius: 8px;
    color: #c0392b;
    font-size: 14px;
}

.reviews__write-btn {
    position: absolute;
    right: 0;
    top: 18px;
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1;
    color: #000;
    text-decoration: underline;
    text-underline-offset: 4px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

@media (max-width: 768px) {
    .review-modal {
        padding: 28px 20px;
    }
	
	.reviews__write-btn{
		position:relative;
		inset:0;
	}

    .review-modal__title {
        font-size: 24px;
    }
}

/* ── Contact Modal ─────────────────────────────────────────────────────────── */

.contact-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-modal[hidden] {
    display: none;
}

.contact-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
}

.contact-modal__window {
    position: relative;
    z-index: 1;
    background: #1a1a1a;
    color: #fff;
    padding: 48px 40px;
    max-width: 480px;
    width: calc(100% - 32px);
    border-radius: 4px;
}

.contact-modal__close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.contact-modal__close:hover {
    opacity: 1;
}

.contact-modal__title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 8px;
    text-transform: uppercase;
}

.contact-modal__subtitle {
    font-size: 14px;
    opacity: 0.6;
    margin: 0 0 32px;
}

.contact-modal__field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.contact-modal__label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.7;
}

.contact-modal__input {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 2px;
    color: #fff;
    font-size: 16px;
    padding: 12px 16px;
    outline: none;
    transition: border-color 0.2s;
}

.contact-modal__input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.contact-modal__input:focus {
    border-color: rgba(255, 255, 255, 0.5);
}

.contact-modal__agree {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    opacity: 0.7;
    margin-bottom: 28px;
    cursor: pointer;
}

.contact-modal__agree input[type="checkbox"] {
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: #fff;
}

.contact-modal__agree a {
    color: #fff;
    text-decoration: underline;
}

.contact-modal__submit {
    width: 100%;
    background: #fff;
    color: #000;
    border: none;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 16px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.contact-modal__submit:hover {
    opacity: 0.85;
}

.contact-modal__submit:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.contact-modal__error {
    color: #ff6b6b;
    font-size: 13px;
    margin: 12px 0 0;
    text-align: center;
}

.contact-modal__success {
    font-size: 16px;
    text-align: center;
    opacity: 0.85;
    line-height: 1.6;
    padding: 20px 0;
}

@media (max-width: 600px) {
    .contact-modal__window {
        padding: 36px 20px;
    }

    .contact-modal__title {
        font-size: 22px;
    }
}
