@import url("https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@0,100..900;1,100..900&family=Onest:wght@100..900&display=swap");

:root {
    --gradient: #0f0203;
    --text-black: #1f1f1f;
    --radius: 16px;
    --exo: "Exo 2", sans-serif;
    --onest: "Onest", sans-serif;
    --text-white: #fff;
    --color-blue: #851618;
    --color-gradient: linear-gradient(149deg, #39090a 0%, #841617 100%);
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #f5f5f5;
    font-family: var(--onest);
    font-weight: 300;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1880px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

p {
    font-size: clamp(0.9rem, 1.35vw, 1.2rem);
    line-height: 1.35;
    color: #1f1f1f;
}

.relative-container {
    position: relative;
}
.media-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px 0;
    z-index: 1000;
}

.media-header__inner {
    height: 105px;
    background: #fff;
    border: 1px solid #e9e9e9;
    border-radius: 26px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.media-header__brand {
    display: flex;
    align-items: center;
    padding: 0 28px;
    flex: 0 0 auto;
    text-decoration: none;
    position: relative;
    border-right: 0;
}

.media-header__brand::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 1px;
    height: 56px;
    background: #e9e9e9;
    transform: translateY(-50%);
}

.media-header__logo {
    display: block;
    height: 85px;
    width: auto;
}

.media-header__nav {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    min-width: 0;
}

.media-header__menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 44px;
    margin: 0;
    padding: 0 22px;
    white-space: nowrap;
}

.media-header__menu-item {
    margin: 0;
    padding: 0;
}

.media-header__menu-link {
    font-size: 16px;
    text-transform: uppercase;
    color: var(--text-black);
    font-weight: 400;
    text-decoration: none;
}

.media-header__menu-link:hover {
    color: var(--color-blue);
}

.media-header__contacts {
    flex: 0 0 auto;
    padding: 0 26px;
    position: relative;
    border-left: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 4px;
    min-width: 240px;
}

.media-header__contacts::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 1px;
    height: 56px;
    background: #e9e9e9;
    transform: translateY(-50%);
}

.media-header__phone {
    color: var(--text-black);
    text-decoration: none;
    font-size: 19px;
    font-weight: 400;
}

.media-header__callback {
    border: 0;
    background: transparent;
    color: var(--color-blue);
    font-size: 14px;
    cursor: pointer;
    padding: 0;
}

.media-header__callback:hover {
    opacity: 0.8;
}

.media-header__socials {
    flex: 0 0 auto;
    padding: 0 22px;
    position: relative;
    border-left: 0;
    display: flex;
    align-items: center;
    gap: 0px;
}

.media-header__socials::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 1px;
    height: 56px;
    background: #e9e9e9;
    transform: translateY(-50%);
}

.media-header__social {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    text-decoration: none;
}

.media-header__social img {
    width: 22px;
    height: 22px;
    display: block;
}

.media-header__social:hover {
    background: rgba(0, 0, 0, 0.04);
}

.media-header__burger {
    display: none;
    margin-left: auto;
    margin-right: 14px;
    width: 44px;
    height: 44px;
    border: 1px solid #e9e9e9;
    border-radius: 12px;
    background: #fff;
    padding: 10px;
}

.media-header__burger-line {
    display: inline-flex;
    height: 3px;
    background: #851618;
    border-radius: 5px;
    z-index: 12;
    width: 85%;
}

.media-header__burger-line + .media-header__burger-line {
    margin-top: 6px;
}

.media-header__drawer {
    position: fixed;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.2s ease,
        visibility 0.2s ease;
    z-index: 1100;
}

.media-header__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.hero-slider__nav-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.media-header__panel {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: min(380px, 100vw);
    background: #fff;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.media-header__panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.media-header__brand--drawer {
    padding: 0;
}

.media-header__brand--drawer::after {
    display: none;
}

.media-header__close {
    width: 44px;
    height: 44px;
    border: 1px solid #e9e9e9;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
}

.media-header__drawer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.media-header__drawer-item {
    margin: 0;
    padding: 0;
}

.media-header__drawer-link {
    display: block;
    padding: 12px 12px;
    border-radius: 12px;
    text-decoration: none;
    color: #1b1b1b;
    font-weight: 500;
}

.media-header__drawer-link:hover {
    background: rgba(0, 0, 0, 0.04);
}

.media-header__drawer-contacts {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #e9e9e9;
    display: grid;
    gap: 10px;
}

.media-header__drawer-phone {
    font-size: 18px;
    font-weight: 500;
    color: #1b1b1b;
    text-decoration: none;
    text-align: center;
}

.media-header__drawer-callback {
    height: 44px;
    border: 1px solid #e9e9e9;
    border-radius: 12px;
    background: #d22225;
    color: #fff;
    cursor: pointer;
}

.media-header__drawer-socials {
    display: grid;
    gap: 10px;
}

.media-header__drawer-social {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid #e9e9e9;
    border-radius: 12px;
    text-decoration: none;
    color: #1b1b1b;
}

.media-header__drawer-social img {
    width: 22px;
    height: 22px;
    display: block;
}

.media-header--open .media-header__drawer {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.media-header--open .media-header__panel {
    transform: translateX(0);
}

.hero-slider {
    margin-top: 135px;
}

.hero-slider__box {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    background: #340909;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 35px 20px;
    isolation: isolate;
}

.hero-slider__box::before {
    content: "";
    position: absolute;
    inset: -80px;
    background: radial-gradient(700px 380px at 12% 0%, rgba(228, 37, 40, 0.55), rgba(52, 9, 9, 0) 60%),
        radial-gradient(900px 520px at 0% 100%, rgba(146, 24, 26, 0.35), rgba(52, 9, 9, 0) 62%),
        radial-gradient(900px 520px at 100% 30%, rgba(63, 10, 11, 0.55), rgba(52, 9, 9, 0) 65%);
    pointer-events: none;
    filter: saturate(1.05);
    z-index: 0;
}

.hero-slider__box > :not(.hero-slider__next) {
    position: relative;
    z-index: 1;
}

.hero-slider__next {
    position: absolute;
    top: 26px;
    right: 26px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    padding: 8px 10px;
    border-radius: 10px;
}

.hero-slider__count {
    font-size: 18px;
    letter-spacing: 0.06em;
}

.hero-slider__arrow {
    font-size: 20px;
    line-height: 1;
}

.hero-slider__layout {
    display: grid;
    grid-template-columns: clamp(280px, 32vw, 560px) 1fr;
    gap: 44px;
    min-height: 460px;
    align-items: center;
}

.hero-slider__aside {
    min-width: 0;
}

.hero-slider__main {
    position: relative;
    padding-left: 44px;
    min-width: 0;
}

.hero-slider__main::before {
    content: "";
    position: absolute;
    left: 0;
    top: 24px;
    bottom: 24px;
    width: 1px;
    background: rgba(255, 255, 255, 0.18);
}

.hero-slider__nav {
    display: grid;
    gap: 18px;
    padding-top: 18px;
    max-width: 100%;
}

.hero-slider__nav-btn {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 14px;
    align-items: center;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 12px;
    color: rgb(255, 255, 255);
    font-size: clamp(14px, 1.05vw, 20px);
    line-height: 1.25;
    font-family: var(--exo);
    font-weight: 300;
}

.hero-slider__nav-btn.is-active {
    background: rgba(255, 255, 255, 0.07);
}

.hero-slider__nav-ico {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

.hero-slider__nav-text {
    display: block;
}

.hero-slider__viewport {
    overflow: hidden;
    min-width: 0;
}

.hero-slider__track {
    display: flex;
    width: 100%;
    transform: translate3d(0, 0, 0);
    transition: transform 0.45s ease;
    will-change: transform;
}

.hero-slider__slide {
    flex: 0 0 100%;
    padding-top: 10px;
    padding-right: 18px;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-slider__label {
    display: inline-flex;
    align-items: center;
    padding: 10px 10px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.86);
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 300;
}

.hero-slider__title {
    margin: 22px 0 0;
    font-weight: 300;
    line-height: 1.05;
    letter-spacing: -0.02em;
    font-size: clamp(2rem, 4.5vw, 3.6rem);
    max-width: 980px;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
}

.hero-slider__lead {
    margin: 40px 0 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: clamp(1rem, 1.55vw, 1.3rem);
    line-height: 1.5;
    max-width: 1035px;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
}

.hero-slider__btn {
    margin-top: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    padding: 0 40px;
    border-radius: 10px;
    background: #dc2427;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    text-transform: uppercase;
    font-family: var(--onest);
    font-weight: 300;
}

.cta {
    margin-top: 80px;
}

.cta__box {
    position: relative;
    display: flex;
    grid-template-columns: 1fr auto;
    gap: 28px;
    align-items: stretch;
    overflow: hidden;
    isolation: isolate;
    flex-direction: column;
}

.cta__content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.cta__top {
    display: grid;
    grid-template-columns: 1fr auto;
}

.cta__messengers {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
}
.cta__bottom {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.cta__title {
    margin: 0;
    font-family: var(--onest);
    font-weight: 300;
    color: var(--text-black);
    font-size: clamp(1.6rem, 3.2vw, 3.125rem);
    line-height: 1.1;
    max-width: 1500px;
}

.cta__contacts {
    margin-top: auto;
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    gap: 40px;
}

.cta__contact {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-black);
    font-family: var(--onest);
    font-weight: 300;
    font-size: 24px;
    line-height: 1.2;
    min-width: 0;
}

.cta__contact:nth-child(2) {
    justify-self: center;
}

.cta__icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
}

.cta__icon img {
    width: 28px;
    height: 28px;
    display: block;
}

.cta__text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cta__actions {
    height: 100%;
    display: grid;
    grid-template-columns: max-content max-content;
    grid-template-rows: auto 1fr auto;
    gap: 12px;
    justify-content: end;
    align-content: stretch;
    justify-items: end;
    align-items: start;
}

.cta__btn {
    border: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 10px;
    height: 56px;
    font-family: var(--onest);
    font-weight: 300;
    font-size: 20px;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
}

.cta__btn--dark {
    background: #430b0c;
    color: #fff;
    justify-content: flex-start;
    padding-left: 10px;
    padding-right: 10px;
}

.cta__btn--primary {
    background: #dc2427;
    color: #fff;
    min-width: 265px;
    text-transform: uppercase;
    grid-column: 1 / -1;
    grid-row: 3;
    justify-self: end;
    margin-top: 0;
}

.cta__btn-ico {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
}

.cta__btn-ico img {
    width: 36px;
    height: 36px;
    display: block;
}

.breadcamps-section {
    margin-top: 140px;
    margin-bottom: 40px;
}
.hero-page__block {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    background: #340909;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 35px 20px;
    isolation: isolate;
}
.hero-page__block::before {
    content: "";
    position: absolute;
    inset: -80px;
    background: radial-gradient(700px 380px at 12% 0%, rgba(228, 37, 40, 0.55), rgba(52, 9, 9, 0) 60%),
        radial-gradient(900px 520px at 0% 100%, rgba(146, 24, 26, 0.35), rgba(52, 9, 9, 0) 62%),
        radial-gradient(900px 520px at 100% 30%, rgba(63, 10, 11, 0.55), rgba(52, 9, 9, 0) 65%);
    pointer-events: none;
    filter: saturate(1.05);
    z-index: 0;
}
.hero-page__block_h1 {
    line-height: 1.05;
    font-size: clamp(2rem, 4vw, 3rem);
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
    color: #fff;
    position: relative;
    margin-bottom: 24px;
    font-weight: 300;
    max-width: 1400px;
}
.hero-page__block_subtitle {
    color: #fff;
    font-size: clamp(1rem, 1.5vw, 1.3rem);
    line-height: 1.5;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
    position: relative;
    font-weight: 300;
    max-width: 1400px;
}

.mission__card {
    border-radius: 28px;
    overflow: hidden;
    padding: 0px 40px;
    background: radial-gradient(900px 320px at 100% 0%, rgba(241, 125, 127, 0.2), rgba(255, 255, 255, 0) 60%),
        linear-gradient(90deg, #fef5f5 0%, #ffffff 55%);
    display: grid;
    grid-template-columns: 3fr 7fr;
    gap: 48px;
    align-items: center;
}

.mission__media {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-width: 0;
}

.mission__image {
    width: 100%;
    max-width: 420px;
    height: auto;
    opacity: 0.55;
    display: block;
}

.mission__content {
    min-width: 0;
    max-width: 860px;
}

.title_h2 {
    margin: 0;
    font-family: var(--onest);
    font-weight: 300;
    color: var(--text-black);
    font-size: clamp(1.6rem, 3.2vw, 3.125rem);
    line-height: 1.1;
    margin-bottom: 24px;
}

.mission__text {
    margin: 0;
    font-size: clamp(16px, 1.35vw, 26px);
    line-height: 1.35;
    color: #1f1f1f;
}

.mt-80 {
    margin-top: 80px;
}
.mission__content__image-mobile {
    display: none;
}
.white-bg {
    border-radius: 25px;
    border: 1px solid rgba(70, 12, 12, 0.08);
    padding: 35px 20px;
    background: radial-gradient(520px 420px at 0% 50%, rgba(246, 169, 170, 0.55), rgba(255, 255, 255, 0) 70%),
        radial-gradient(520px 420px at 100% 50%, rgba(246, 169, 170, 0.55), rgba(255, 255, 255, 0) 70%),
        radial-gradient(700px 520px at 0% 0%, rgba(242, 133, 135, 0.28), rgba(255, 255, 255, 0) 60%),
        radial-gradient(700px 520px at 100% 100%, rgba(242, 133, 135, 0.22), rgba(255, 255, 255, 0) 62%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95));
}

.servise-container {
    display: grid;
    grid-template-columns: 5fr 6fr;
    gap: 60px;
    align-items: start;
}

.servise-container__text-block {
    position: sticky;
    top: 120px;
    align-self: start;
    z-index: 1;
}

.media-btn {
    background: #dc2427;
    color: #fff;
    min-width: 265px;
    text-transform: uppercase;
    margin-top: 24px;
    height: 56px;
    border-radius: 10px;
    font-weight: 300;
    font-size: 16px;
}

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

.service-list__items > .service-list__item:only-child {
    grid-column: 1 / -1;
}

.service-list__items > .service-list__item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

.service-list__item {
    background: var(--color-gradient);
    padding: 33px 26px;
    border-radius: 15px;
    display: flex;
    color: #fff;
    flex-direction: column;
    justify-content: flex-start;
    gap: 20px;
    align-items: flex-start;
    position: relative;
}

.service-list__title {
    font-size: clamp(1.1rem, 1.2vw, 1.5rem);
    line-height: 1.1;
}
.service-list__text {
    color: #fff;
    line-height: 1.5;
    font-size: clamp(0.9rem, 1vw, 1.1rem);
}

.desk-none {
    display: none;
    width: 100%;
}

.expertise__slider {
    position: relative;
    --exp-gap: 70px;
    --exp-side: 64px;
    --exp-rail-h: 2px;
    --exp-pin-h: 50px;
    --exp-dot: 8px;
    --exp-dot-color: #b81e20;
    --exp-line-color: rgba(0, 0, 0, 0.18);
}

.expertise__viewport {
    position: relative;
    overflow: hidden;
    padding-left: var(--exp-side);
    padding-right: var(--exp-side);
    box-sizing: border-box;
}

.expertise__viewport::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: var(--exp-rail-h);
    background: var(--exp-line-color);
    z-index: 1;
    pointer-events: none;
}

.expertise__track {
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    gap: var(--exp-gap);
    padding: 0;
    box-sizing: border-box;
    transition: transform 0.45s ease;
    will-change: transform;
}

.expertise-card {
    position: relative;
    min-width: 0;
    box-sizing: border-box;
    padding-top: calc(var(--exp-pin-h) + 12px);
    flex: 0 0 calc((100% - (var(--exp-gap) * 2)) / 3 - 1px);
}

.expertise-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: var(--exp-rail-h);
    width: 2px;
    height: var(--exp-pin-h);
    background: var(--exp-line-color);
    z-index: 2;
}

.expertise-card::after {
    content: "";
    position: absolute;
    left: -3px;
    top: calc(var(--exp-rail-h) + var(--exp-pin-h) - (var(--exp-dot) / 2));
    width: var(--exp-dot);
    height: var(--exp-dot);
    border-radius: 50%;
    background: var(--exp-dot-color);
    z-index: 3;
}

.expertise__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-25%);
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    cursor: pointer;
    display: grid;
    place-items: center;
    z-index: 5;
    color: rgba(0, 0, 0, 0.35);
}

.expertise__nav:hover {
    color: rgba(0, 0, 0, 0.75);
}

.expertise__nav[disabled] {
    opacity: 0.35;
    cursor: default;
}

.expertise__nav--prev {
    left: 0;
}

.expertise__nav--next {
    right: 0;
}

.expertise__nav-icon {
    font-size: 34px;
    line-height: 1;
    user-select: none;
}
.expertise-card__title {
    color: #490c0d;
    font-size: clamp(1.2rem, 2.2vw, 1.5rem);
    margin-bottom: 24px;
}
.expertise-card__text {
    font-size: clamp(0.9rem, 1vw, 1rem);
}
.black-container {
    border-radius: 25px;
    background: radial-gradient(600px 400px at 0% 0%, rgba(233, 47, 50, 0.45), transparent 60%),
        radial-gradient(600px 400px at 100% 100%, rgba(233, 47, 50, 0.45), transparent 60%),
        linear-gradient(135deg, #340909 0%, #280607 100%);
    background-repeat: no-repeat;
    padding: 35px 20px;
}

.values__container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: center;
}
.black-container h2 {
    color: #fff;
}
.values__list {
    margin-top: 43px;
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.values-item {
    display: grid;
    grid-template-columns: 16px 1fr;
    column-gap: 18px;
    align-items: start;
}

.values-item__dot {
    width: 16px;
    height: 16px;
    background: #eb3e41;
    border-radius: 50%;
    box-shadow: -7px 1px 4.3px #f17f80;
    margin-top: 8px;
}

.values-item__title {
    margin: 0 0 10px;
    font-weight: 500;
    font-size: 36px;
    line-height: 1.1;
    color: #f49698;
    font-size: clamp(1.2rem, 2.2vw, 2.125rem);
}

.values-item__text {
    margin: 0;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.82);
    max-width: 62ch;
    font-size: clamp(0.9rem, 1vw, 1.3rem);
}
.about-company__container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: center;
}

.about__col--left_p {
    font-size: clamp(1.2rem, 2.1vw, 2rem);
    font-weight: 300;
}
.about__col--item {
    color: #fff;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(131deg, #39090a 0%, #5d0f10 100%);
    border-radius: 15px;
}
.about__col--item p {
    color: #fff;
    line-height: 1.2;
    max-width: 350px;
}

.about__col--right {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.about__col--item p b {
    font-weight: 600;
}

.black-container .cta__text {
    color: #fff;
}

.black-container .cta__btn--dark {
    background: #ffffff;
    color: #39090a;
}

/* =========================
   ANCHORS 
   ========================= */
.anchors {
    display: grid;
    grid-template-columns: 1fr; /* По умолчанию 1 колонка (когда кнопки скрыты) */
    gap: 10px;
    align-items: stretch;
    position: relative;
}

/* Класс для отображения с кнопками */
.anchors.with-buttons {
    grid-template-columns: 40px 1fr 40px;
}

.anchors__viewport {
    overflow: hidden;
    position: relative;
    border-radius: 5px;
}

.anchors__track {
    display: flex;
    align-items: center;
    gap: 16px;
    width: max-content;
    transform: translateX(0);
    transition: transform 0.35s ease;
    will-change: transform;
}

.anchors__link {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    height: 42px;
    padding: 0 16px;
    border-radius: 6px;
    background: #38090a;
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    white-space: nowrap;
    font-size: 16px;
    line-height: 1;
    transition: background-color 0.3s ease;
}

.anchors__link:hover {
    background: #590e10;
}

.anchors__btn {
    width: 40px;
    height: 42px;
    border: 0;
    border-radius: 6px;
    background: #c62023;
    color: #fff;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition:
        background-color 0.3s ease,
        opacity 0.3s ease;
}

.anchors__btn:disabled {
    opacity: 0.45;
    cursor: default;
}

.anchors__btn-ico img {
    width: 20px;
    height: 20px;
    display: block;
    object-fit: contain;
}

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

.two__col--rigth p {
    color: #fff;
}

.solution-card {
    border-radius: 15px;
    border: 1px solid rgba(70, 12, 12, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    background: radial-gradient(90px 60px at 0% 45%, rgba(246, 169, 170, 0.22), rgba(255, 255, 255, 0) 72%),
        radial-gradient(140px 120px at 100% 55%, rgba(246, 169, 170, 0.18), rgba(255, 255, 255, 0) 74%),
        radial-gradient(220px 160px at 10% 0%, rgba(242, 133, 135, 0.12), rgba(255, 255, 255, 0) 68%),
        radial-gradient(220px 160px at 90% 100%, rgba(242, 133, 135, 0.1), rgba(255, 255, 255, 0) 70%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.96));
    padding: 33px 26px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 20px;
    align-items: flex-start;
}

.solution-title {
    font-size: clamp(1.1rem, 1.2vw, 1.5rem);
    max-width: 375px;
    line-height: 1.1;
}

.solution-description {
    line-height: 1.5;
    font-size: clamp(0.9rem, 1vw, 1.1rem);
}

.two__col--left {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px; /* как в макете */
}

.two__col--left > .solution-card:only-child {
    grid-column: 1 / -1;
}

.two__col--left > .solution-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

.two__col--rigth {
    position: sticky;
    top: 120px;
    align-self: start;
    z-index: 1;
}

.container__one-columns {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
}
.service-list__number {
    color: #ffffff65;
    font-size: clamp(1.6rem, 3.2vw, 3.125rem);
    position: absolute;
    right: 10px;
    top: 2px;
}
.cats__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.cat-card {
    display: grid;
    grid-template-rows: 240px 1fr;
    text-decoration: none;
    color: inherit;
    border-radius: 14px;
    background: #ffffff;
    box-shadow:
        0 10px 53px rgba(0, 0, 0, 0.1),
        0 8px 0 #dc2427;
    overflow: hidden;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease;
}

.cat-card:hover {
    transform: translateY(-2px);
    border-color: rgba(233, 47, 50, 0.85);
    box-shadow:
        0 14px 26px rgba(0, 0, 0, 0.14),
        0 2px 0 rgba(233, 47, 50, 0.85);
}

.cat-card:focus-visible {
    outline: 3px solid rgba(233, 47, 50, 0.55);
    outline-offset: 3px;
}

.cat-card__media {
    position: relative;
    background: #fdecec;
}

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

.cat-card__body {
    padding: 24px 24px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
}

.cat-card__title {
    margin: 0 0 12px;
    line-height: 1.3;
    font-weight: 500;
    color: #1f1f1f;
    font-size: clamp(1.1rem, 1.2vw, 1.5rem);
    max-width: 80%;
}

.cat-card__text {
    margin: 0;
    line-height: 1.45;
    font-size: clamp(0.9rem, 1.35vw, 1.1rem);
}
.header-cta p {
    color: #fff;
    margin-top: 25px;
    max-width: 80%;
}

.breadcamps-section {
    margin-top: 140px;
}

.breadcrumbs__list {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: nowrap;
    white-space: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    padding-bottom: 2px;
    scrollbar-width: none;
}

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

.breadcrumbs__item,
.breadcrumbs__sep {
    flex: 0 0 auto;
}

.breadcrumbs__item {
    font-size: 16px;
    line-height: 1.2;
}

.breadcrumbs__link {
    color: #350909; /* тёмный, как "Главная" */
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumbs__link:hover {
    color: #d32325;
}

.breadcrumbs__sep {
    color: #d32325; /* синий слэш */
    font-weight: 500;
}

.breadcrumbs__item--current {
    color: rgba(53, 9, 9, 0.45); /* серый "Услуги" */
    cursor: default;
}

#consulting,
#integration,
#industry,
#dev,
#install,
#support {
    scroll-margin-top: 120px;
}

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

.projects__filter {
    appearance: none;
    background: #fff;
    color: #851618;
    border-radius: 5px;
    padding: 16px 20px;
    line-height: 1;
    cursor: pointer;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
    white-space: nowrap;
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    font-weight: 300;
}

.projects__filter:hover {
    background: #39090a;
    color: #fff;
}

.projects__filter.is-active {
    background: #39090a;
    color: #fff;
}

.filters__title{
	text-align:left;
}

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

.project-card {
    position: relative;
    display: grid;
    grid-template-rows: auto 1fr;
    border-radius: 20px;
    background: #fff;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.project-card:hover {
    transform: translateY(-2px);
}

.project-card__tag {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
    font-size: 15px;
    line-height: 1;
    padding: 10px 20px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(95, 15, 17, 0.1);
    color: #851618;
    backdrop-filter: blur(6px);
    font-weight: 400;
}

.project-card__media {
    aspect-ratio: 16 / 8;
    background: #ffffff;
    overflow: hidden;
}

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

.project-card__content {
    padding: 30px;
    display: flex;
    gap: 20px;
    flex-direction: column;
    justify-content: space-between;
}

.project-card__title {
    margin: 0;
    line-height: 1.3;
    font-weight: 400;
    color: #1f1f1f;
    font-size: clamp(1rem, 1.5vw, 1.3rem);
}

.project-card__desc {
    margin: 0;
    line-height: 1.35;
    color: #1f1f1f;
    font-size: 18px;
}

.center-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.block-text {
    margin-top: 24px;
}

.block-text p{
	margin-bottom:25px;
}

.block-text ul {
    font-size: clamp(0.9rem, 1.35vw, 1.2rem);
    line-height: 1.35;
    color: #1f1f1f;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-left: 25px;
    margin-bottom: 32px;
}

.block-text ul li{
	list-style-type:disc;
}
.proj-slider {
    position: relative;
    margin-top: 40px;
}

.proj-slider__viewport {
    overflow: hidden;
    border-radius: 16px;
}

.proj-slider__track {
    display: flex;
    align-items: stretch;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 0 2px 10px;
    scrollbar-width: none;
}
.proj-slider__track::-webkit-scrollbar {
    display: none;
}

.proj-slide {
    position: relative;
    flex: 0 0 auto;
    border-radius: 16px;
    overflow: hidden;
    background: #fdeaea;
    scroll-snap-align: start;

    width: clamp(240px, 28vw, 360px);
}

.proj-slide__img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* ориентация */
.proj-slide.is-landscape {
    width: clamp(520px, 52vw, 760px);
    aspect-ratio: 16 / 9;
}
.proj-slide.is-portrait {
    width: clamp(260px, 26vw, 360px);
    aspect-ratio: 3 / 4;
}

/* НИЗ: КНОПКИ */
.proj-slider__controls {
    margin-top: 14px;
    display: flex;
    justify-content: space-between; /* как на скрине: слева/справа */
    align-items: center;
}

.proj-slider__btn {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: #fff;
    cursor: pointer;
    display: grid;
    place-items: center;
    font-size: 22px;
    line-height: 1;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.1);
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease;
}

.proj-slider__btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.proj-slider__btn:active {
    transform: translateY(0);
}

.products__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.product-card {
    background: #fff;
    border-radius: 15px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 24px;
    display: flex;
    flex-direction: column;
    min-height: 360px;
    gap: 24px;
}

/* Верхняя часть */
.product-card__top {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.product-card__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  font-size: 14px;
  color: rgba(11, 11, 11, 0.6);
  background: #fff;
  padding: 10px;
  z-index: 10;
  position: relative;
  max-width: fit-content;
  border-radius: 5px;

  margin-left: auto; /* вот это прижмёт вправо */
}

.product-card__media img{
	max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.product-card__dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #28c76f;
}

.product-card--backorder .product-card__dot{
  background: #f1797b;
}

/* Картинка */
.product-card__media {
    height: 230px;
    display: grid;
    place-items: center;
}

.product-card__media {
    height: 230px;
    display: flex;
    place-items: center;
    align-content: center;
    justify-content: center;
}

.product-card__title {
    margin: 0;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 400;
    color: #1f1f1f;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: clamp(1.1rem, 1.2vw, 1.3rem);
}

.product-card__bottom {
    margin-top: auto;
    display: grid;
    gap: 14px;
}

.product-card__text {
    margin: 0;
    font-size: 15px;
    line-height: 1.35;
    color: rgba(11, 11, 11, 0.6);

    display: -webkit-box;
    -webkit-line-clamp: 3; /* чтобы низ карточки не разъезжался */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card__btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: 44px;
    border-radius: 10px;
    background: #7c1416;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}
.used-products .used-products__controls {
    display: none;
}

.catalog-page__layout {
    display: grid;
    grid-template-columns: 450px 1fr;
    gap: 26px;
    align-items: start;
}

/* ====== FILTERS (desktop) ====== */
.catalog-filters {
    position: sticky;
    top: 120px;
}

.filters {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 14px;
    padding: 14px;
}

.filters__group {
    border-radius: 12px;
}

.filters__head {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 10px;
    background: transparent;
    border: 0;
    cursor: pointer;
    font: inherit;
    color: rgba(11, 11, 11, 0.92);
    font-weight: 600;
}

.filters__chev {
    width: 10px;
    height: 10px;
    border-right: 2px solid rgba(11, 11, 11, 0.55);
    border-bottom: 2px solid rgba(11, 11, 11, 0.55);
    transform: rotate(45deg);
    transition: transform 0.2s ease;
    margin-top: -3px;
}

.filters__group.is-open .filters__chev {
    transform: rotate(-135deg);
    margin-top: 3px;
}

.filters__body {
    display: none;
    padding: 0 10px 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.filters__group.is-open .filters__body {
    display: grid;
    gap: 10px;
    padding-top: 14px;
}

.filters__check {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.filters__input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.filters__box {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.25);
    background: #fff;
    display: inline-block;
    flex: 0 0 auto;
}

.filters__input:checked + .filters__box {
    background: #7c1416;
    border-color: #7c1416;
    box-shadow: inset 0 0 0 2px #fff;
}

.filters__label {
    font-size: 15px;
    color: rgba(11, 11, 11, 0.75);
    display: flex;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
}

.filters__count {
    color: rgba(11, 11, 11, 0.45);
    font-weight: 500;
}

/* ====== CONTENT ====== */
.catalog-toolbar {
    display: none;
    margin-bottom: 14px;
    justify-content: space-between;
    align-items: center;
}

.catalog-toolbar__filters-btn {
    height: 42px;
    padding: 0 14px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: #fff;
    cursor: pointer;
    font-weight: 400;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

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

.catalog-more {
    margin-top: 60px;
    display: grid;
    place-items: center;
}

.catalog-more__btn {
    height: 44px;
    padding: 0 22px;
    border-radius: 8px;
    border: 1px solid #6e6e6e;
    cursor: pointer;
    color: #6e6e6e;
}

.filters-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
}

.filters-modal.is-open {
    display: block;
}

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

.filters-modal__panel {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: min(420px, 100vw);
    background: #fff;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.18);
    overflow: hidden;
    display: grid;
    grid-template-rows: auto 1fr auto;
}

.filters-modal__head {
    padding: 14px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.filters-modal__title {
    font-weight: 700;
    color: rgba(11, 11, 11, 0.92);
}

.filters-modal__close {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: #fff;
    cursor: pointer;
}

.filters-modal__body {
    padding: 12px;
    overflow: auto;
}

.filters-modal__footer {
    padding: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    display: grid;
    gap: 10px;
    background: #fff;
}

.filters-modal__apply {
    height: 44px;
    border-radius: 12px;
    border: 0;
    background: #7c1416;
    color: #fff;
    cursor: pointer;
    font-weight: 600;
}

.filters-modal__reset {
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.14);
    background: #fff;
    cursor: pointer;
}

/* =========================
   PRODUCT CARD
   ========================= */
.p-card {
    --blue: #c62023;
    --blue2: #7c1416;
    --text: #0b0b0b;
    --muted: rgba(11, 11, 11, 0.55);
    display: grid;
    grid-template-columns: 0.7fr 1fr;
    gap: 28px;
    overflow: hidden;
}

.p-card__media {
    padding: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    background-color: #fff;
}

.p-card__slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.p-card__slider.swiper {
    height: clamp(220px, 28vw, 360px);
    border-radius: 14px;
    overflow: hidden;
    background: #fef1f2;
}

.p-card__slider .swiper-wrapper,
.p-card__slider .swiper-slide {
    height: 100%;
}

.p-card__slider.is-single .p-card__nav,
.p-card__slider.is-single .p-card__dots {
    display: none !important;
}

.p-card__track {
    width: 100%;
    height: clamp(220px, 28vw, 360px);
    display: flex;
    overflow: hidden;
    border-radius: 14px;
    background: #fef1f2;
    transform: translate3d(0, 0, 0);
    transition: transform 0.45s ease;
    will-change: transform;
}

.p-card__slide {
    flex: 0 0 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background: #fff;
}

.p-card__img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.p-card__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.92);
    cursor: pointer;
    display: grid;
    place-items: center;
    font-size: 26px;
    line-height: 1;
    user-select: none;
    z-index: 5;
}

.p-card__nav:hover {
    background: #fff;
}
.p-card__nav--prev {
    left: 10px;
}
.p-card__nav--next {
    right: 10px;
}

.p-card__dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 10px;
    display: flex;
    gap: 8px;
    justify-content: center;
    z-index: 5;
}

.p-card__dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: 0;
    background: rgba(0, 0, 0, 0.18);
    cursor: pointer;
}

.p-card__dot.is-active {
    background: var(--blue);
}

.p-card__info {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.p-card__badge {
    font-size: 17px;
    color: #851618;
    margin-bottom: 10px;
    background: #fff;
    width: fit-content;
    padding: 16px 20px;
    border-radius: 5px;
    font-weight: 400;
}

.p-card__title {
    margin: 0 0 12px;
    font-size: clamp(18px, 1.6vw, 26px);
    line-height: 1.5;
    font-weight: 400;
    color: var(--text);
}

.p-card__desc {
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
    padding-right: 10px;
    color: rgba(11, 11, 11, 0.7);
    font-size: 14px;
    line-height: 1.55;
    gap: 20px;
    display: flex;
    flex-direction: column;
    margin-top: 24px;
    margin-bottom: 24px;
}

.p-card__bottom {
    margin-top: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.p-card__link {
    border: 0;
    background: transparent;
    color: #851618;
    cursor: pointer;
    font-size: 16px;
    padding: 0;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 3px;
}
.p-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    padding: 20px 40px;
    border-radius: 10px;
    border: 0;
    background: #dc2427;
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    white-space: nowrap;
}

.p-card__btn:hover {
    background: var(--blue2);
}

.p-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
}
.p-modal.is-open {
    display: block;
}

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

.p-modal__panel {
    position: absolute;
    right: 20px;
    top: 20px;
    bottom: 20px;
    width: min(760px, calc(100vw - 40px));
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    display: grid;
    grid-template-rows: auto 1fr auto;
}

.p-modal__head {
    padding: 18px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    background: radial-gradient(420px 240px at 0% 0%, rgba(246, 169, 170, 0.35), transparent 60%),
        radial-gradient(520px 280px at 100% 0%, rgba(242, 133, 135, 0.22), transparent 62%), #fff;
}

.p-modal__kicker {
    font-size: 12px;
    color: rgba(11, 11, 11, 0.55);
    margin-bottom: 6px;
}

.p-modal__title {
    font-size: 18px;
    line-height: 1.25;
    font-weight: 700;
    color: #0b0b0b;
}

.p-modal__close {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.9);
    cursor: pointer;
}

.p-modal__body {
    padding: 16px 18px;
    overflow: auto;
}

.p-modal__footer {
    padding: 14px 18px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    justify-content: flex-end;
}

.p-modal__cta {
    height: 44px;
    padding: 0 18px;
    border-radius: 12px;
    background: #c62023;
    color: #fff;
    border: 0;
    cursor: pointer;
    font-weight: 700;
    font-size: 14px;
}

.p-specs {
    width: 100%;
    border-collapse: collapse;
}

.p-specs tr {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.p-specs th,
.p-specs td {
    padding: 12px 10px;
    font-size: 14px;
    line-height: 1.4;
    vertical-align: top;
}

.p-specs th {
    width: 42%;
    text-align: left;
    color: rgba(11, 11, 11, 0.7);
    font-weight: 700;
}

.p-specs td {
    color: rgba(11, 11, 11, 0.88);
}
.about-product {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.about-product ul {
    padding-left: 25px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-size: clamp(0.9rem, 1.35vw, 1.2rem);
    line-height: 1.35;
    color: #1f1f1f;
}
.about-product ul li {
    list-style-type: disc;
}

.projects-slider {
    position: relative;
}

.projects-slider .swiper {
    width: 100%;
}

.projects-slider .swiper-wrapper {
    align-items: stretch;
}

.projects-slider .swiper-slide {
    height: auto;
    display: flex;
    align-items: stretch;
}

/* =========================
   PROJECTS SLIDER CONTROLS
   ========================= */

.projects-slider__controls {
    margin-top: 16px;
    display: flex;
    justify-content: space-between; /* как на скрине: слева/справа */
    align-items: center;
    gap: 12px;
}

/* Кнопки */
.projects-slider__btn {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: #fff;
    cursor: pointer;

    display: grid;
    place-items: center;

    font-size: 22px;
    line-height: 1;

    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.1);
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        opacity 0.15s ease;
}

.projects-slider__btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.projects-slider__btn:active {
    transform: translateY(0);
}

.projects-slider__btn:disabled {
    opacity: 0.35;
    cursor: default;
    transform: none;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
}

/* =========================
   PRODUCTS SLIDER (Swiper)
   ========================= */

.products-slider {
    position: relative;
}

.products-slider .products-slider__viewport.swiper {
    overflow: hidden; /* без "кусочка" следующего */
    width: 100%;
}

/* равная высота */
.products-slider .swiper-wrapper {
    align-items: stretch;
}

.products-slider .swiper-slide {
    min-width: 0;
    height: auto;
    display: flex;
    align-items: stretch;
}

.products-slider .swiper-slide > .product-card {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* если у карточки есть top/bottom как у тебя — фиксируем низ */
.products-slider .product-card__bottom {
    margin-top: auto;
}

/* =========================
   CONTROLS
   ========================= */

.products-slider__controls {
    margin-top: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.products-slider__btn {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: #fff;
    cursor: pointer;
    display: grid;
    place-items: center;
    font-size: 22px;
    line-height: 1;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.1);
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        opacity 0.15s ease;
}

.products-slider__btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

.products-slider__btn:active {
    transform: translateY(0);
}

.products-slider__btn:disabled {
    opacity: 0.35;
    cursor: default;
    transform: none;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
}

.contacts-section__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: stretch; /* ключ: одинаковая высота колонок */
}

.contacts-section__right {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    padding: 28px;
    min-width: 0;
}
.contacts-section__left {
    min-width: 0;
}
/* LEFT как колонка, карта добивает высоту */
.contacts-section__left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contacts-section__title {
    margin: 0;
    font-weight: 300;
    color: #1f1f1f;
    font-size: clamp(2rem, 3.2vw, 3.2rem);
    line-height: 1.1;
}

.contacts-section__lead {
    margin: 10px 0 0;
    color: rgba(31, 31, 31, 0.78);
    font-size: clamp(1rem, 1.3vw, 1.15rem);
    line-height: 1.35;
    max-width: 62ch;
}

.contacts-section__meta {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.contacts-section__meta-title {
    color: #dc2427;
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 12px;
}

.contacts-section__meta-text {
    color: #5d5d5d;
    font-size: 16px;
    line-height: 1.35;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: flex-start;
}

.contacts-section__link {
    color: rgba(31, 31, 31, 0.85);
    text-decoration: none;
}
.contacts-section__link:hover {
    color: #c62023;
}

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

.contacts-section__social {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    text-decoration: none;
    border: 1px solid rgba(70, 12, 12, 0.12);
    background: #fff;
}
.contacts-section__social:hover {
    background: rgba(198, 32, 35, 0.08);
}

.contacts-section__social img {
    width: 18px;
    height: 18px;
    display: block;
}
/* карта растягивается на остаток высоты */
.contacts-section__map {
    flex: 1 1 auto;
    min-height: 220px;
}

.contacts-section__map-inner {
    height: 100%;
    width: 100%;
    border-radius: 16px;
    background: #ededed;
    display: grid;
    place-items: center;
    color: rgba(0, 0, 0, 0.55);
    font-weight: 500;
}

/* =========================
   CONTACT FORM
   ========================= */

.contacts-form {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contacts-form__title {
    margin: 0;
    font-weight: 400;
    color: #1f1f1f;
    font-size: clamp(1.4rem, 3.2vw, 3.125rem);
    line-height: 1.2;
}

.contacts-form__subtitle {
    margin: 10px 0 0;
    color: rgba(31, 31, 31, 0.65);
    line-height: 1.45;
    max-width: 72ch;
    font-size: clamp(0.9rem, 1.35vw, 1rem);
}

.contacts-form__form {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.contacts-form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 22px;
}

.contacts-form__field {
    display: grid;
    gap: 8px;
}

.contacts-form__field--full {
    grid-column: 1 / -1;
}

.contacts-form__label {
    font-size: 14px;
    color: rgba(31, 31, 31, 0.55);
}

.contacts-form__input,
.contacts-form__textarea {
    width: 100%;
    border: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.22);
    padding: 10px 0;
    font: inherit;
    background: transparent;
    outline: none;
}

.contacts-form__textarea {
    resize: vertical;
    min-height: 56px;
}

.contacts-form__input:focus,
.contacts-form__textarea:focus {
    border-bottom-color: #c62023;
}

.contacts-form__agree {
    margin-top: 14px;
    display: grid;
    grid-template-columns: 14px 1fr;
    gap: 10px;
    align-items: start;
    color: rgba(31, 31, 31, 0.6);
    font-size: 12px;
    line-height: 1.35;
}

.contacts-form__check {
    margin-top: 3px;
}

.contacts-form__btn {
    margin-top: 18px;
    height: 52px;
    border-radius: 12px;
    border: 0;
    background: #c62023;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    align-self: flex-start;
    padding: 0 28px;
}
.contacts-form__btn:hover {
    background: #7c1416;
}

/* =========================
   REQUISITES MODAL
   ========================= */

.req-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.18s ease,
        visibility 0.18s ease;
}

.req-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

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

.req-modal__panel {
    position: absolute;
    top: 20px;
    right: 20px;
    bottom: 20px;
    width: min(760px, calc(100vw - 40px));
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    display: grid;
    grid-template-rows: auto 1fr auto;
    transform: translateY(8px);
    transition: transform 0.18s ease;
}

.req-modal.is-open .req-modal__panel {
    transform: translateY(0);
}

.req-modal__head {
    padding: 18px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    background: radial-gradient(520px 280px at 0% 0%, rgba(246, 169, 170, 0.35), transparent 60%),
        radial-gradient(520px 280px at 100% 0%, rgba(242, 133, 135, 0.22), transparent 62%), #fff;
}

.req-modal__kicker {
    font-size: 12px;
    color: rgba(31, 31, 31, 0.55);
    margin-bottom: 6px;
}

.req-modal__title {
    font-size: 18px;
    line-height: 1.25;
    font-weight: 700;
    color: #0b0b0b;
}

.req-modal__close {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.92);
    cursor: pointer;
}

.req-modal__body {
    padding: 16px 18px;
    overflow: auto;
}

.req-modal__grid {
    display: grid;
    gap: 10px;
}

.req-modal__row {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 14px;
    padding: 12px 12px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 14px;
    background: radial-gradient(180px 120px at 0% 0%, rgba(246, 169, 170, 0.14), transparent 70%), #fff;
	align-items: center;
}

.req-modal__key {
    font-weight: 600;
    color: rgba(31, 31, 31, 0.7);
    font-size: 13px;
}

.req-modal__val {
    color: rgba(31, 31, 31, 0.88);
    font-size: 13px;
    line-height: 1.35;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.req-modal__copy {
    flex: 0 0 auto;
    border: 0;
    background: rgba(198, 32, 35, 0.1);
    color: #c62023;
    border-radius: 10px;
    padding: 8px 10px;
    cursor: pointer;
    font-size: 12px;
    white-space: nowrap;
}

.req-modal__copy:hover {
    background: rgba(198, 32, 35, 0.16);
}

.req-modal__footer {
    padding: 14px 18px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    justify-content: flex-end;
}

.req-modal__btn {
    height: 44px;
    padding: 0 18px;
    border-radius: 12px;
    background: #c62023;
    color: #fff;
    border: 0;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
}

.req-modal__btn:hover {
    background: #7c1416;
}

html.is-lock,
body.is-lock {
    overflow: hidden;
}

.contacts-section__requisites {
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
    display: inline-block;
    color: #c62023;
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 3px;
    font: inherit;
    margin-top: 12px;
}

/* ==============================
   SITE FOOTER (FULL REPLACE)
   ============================== */

.site-footer {
    margin-top: 80px;
}

.site-footer__box {
    background: #ffffff;
    border: 1px solid rgba(70, 12, 12, 0.08);
    border-radius: 26px;
    padding: 34px 40px;

    display: grid;
    grid-template-columns:
        minmax(200px, 240px)
        minmax(220px, 280px)
        minmax(320px, 1fr)
        minmax(220px, 280px);
    gap: 34px 44px;
    align-items: start;
}

.site-footer__brand,
.site-footer__nav,
.site-footer__contacts,
.site-footer__requisites {
    min-width: 0;
}

/* logo */
.site-footer__logo {
    display: inline-flex;
    text-decoration: none;
}

.site-footer__logo img {
    display: block;
    width: 200px;
    max-width: 100%;
    height: auto;
}

/* legal links */
.site-footer__legal {
    margin-top: 20px;
    display: grid;
    gap: 10px;
}

/* titles */
.site-footer__title {
    font-family: var(--onest);
    font-weight: 400;
    color: var(--color-blue);
    font-size: 18px;
    line-height: 1.2;
    margin-bottom: 18px;
}

/* text + links base */
.site-footer__text {
    font-family: var(--onest);
    font-weight: 300;
    color: var(--text-black);
    font-size: 16px;
    line-height: 1.4;

    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.site-footer__text--link {
    display: inline-flex;
    text-decoration: none;
    color: var(--text-black);
}

.site-footer__text--link:hover {
    color: var(--color-blue);
}

.site-footer__link {
    font-family: var(--onest);
    font-weight: 300;
    color: var(--text-black);
    text-decoration: none;
    font-size: 16px;
    line-height: 1.2;

    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.site-footer__link:hover {
    color: var(--color-blue);
}

/* modifiers */
.site-footer__link--muted {
    color: rgba(31, 31, 31, 0.45);
    font-size: 14px;
}

.site-footer__link--small {
    display: inline-flex;
    color: var(--color-blue);
    font-size: 14px;
}

/* navigation grid */
.site-footer__nav-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 28px;
}

/* contacts grid */
.site-footer__contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* address + socials */
.site-footer__block_adress {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* right contacts col */
.site-footer__block {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.site-footer__block_min {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* socials */
.site-footer__socials {
    margin-top: 16px;
    display: flex;
    gap: 14px;
    align-items: center;
}

.site-footer__social {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    text-decoration: none;
    border: 1px solid rgba(70, 12, 12, 0.12);
    background: #fff;
    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}

.site-footer__social img {
    width: 18px;
    height: 18px;
    display: block;
}

.site-footer__social:hover {
    background: rgba(220, 36, 39, 0.08);
    border-color: rgba(70, 12, 12, 0.18);
}

/* requisites */
.site-footer__req {
    display: grid;
    gap: 10px;
}

/* =========================
   COOKIES
   ========================= */

.cookies {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 18px;
    z-index: 9999;
    padding: 0 16px;
}

.cookies__inner {
    margin: 0 auto;
    max-width: 1200px;
    background: #fff;
    border: 1px solid rgba(70, 12, 12, 0.12);
    border-radius: 22px;
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.1);
    padding: 18px 18px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px 18px;
    align-items: center;
}

.cookies__title {
    font-family: var(--onest);
    font-weight: 500;
    color: var(--text-black);
    font-size: 16px;
    line-height: 1.2;
    margin-bottom: 6px;
}

.cookies__text {
    font-family: var(--onest);
    font-weight: 300;
    color: rgba(31, 31, 31, 0.78);
    font-size: 14px;
    line-height: 1.35;
    max-width: 72ch;
}

.cookies__link {
    color: var(--color-blue);
    text-decoration: none;
}
.cookies__link:hover {
    text-decoration: underline;
}

.cookies__actions {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.cookies__btn {
    font-family: var(--onest);
    font-weight: 400;
    font-size: 14px;
    line-height: 1;
    border-radius: 14px;
    padding: 12px 14px;
    border: 1px solid rgba(70, 12, 12, 0.16);
    background: #fff;
    color: var(--text-black);
    cursor: pointer;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.05s ease;
    white-space: nowrap;
}
.cookies__btn:active {
    transform: translateY(1px);
}

.cookies__btn--primary {
    background: var(--color-blue);
    border-color: var(--color-blue);
    color: #fff;
}
.cookies__btn--primary:hover {
    background: rgba(220, 36, 39, 0.92);
}

.cookies__btn--ghost:hover {
    background: rgba(220, 36, 39, 0.08);
    border-color: rgba(70, 12, 12, 0.22);
}

.cookies__btn--text {
    border-color: transparent;
    background: transparent;
    color: rgba(31, 31, 31, 0.65);
    padding: 10px 10px;
}
.cookies__btn--text:hover {
    color: var(--text-black);
}

/* =========================
   COOKIES MODAL
   ========================= */

.cookies-modal[hidden],
.cookies[hidden] {
    display: none !important;
}

.cookies-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
}

.cookies-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(11, 11, 11, 0.45);
}

.cookies-modal__dialog {
    position: relative;
    margin: 0 auto;
    max-width: 720px;
    width: calc(100% - 32px);
    background: #fff;
    border: 1px solid rgba(70, 12, 12, 0.12);
    border-radius: 22px;
    box-shadow: 0 26px 90px rgba(0, 0, 0, 0.18);
    top: 50%;
    transform: translateY(-50%);
    overflow: hidden;
}

.cookies-modal__head {
    padding: 18px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid rgba(70, 12, 12, 0.08);
}

.cookies-modal__title {
    font-family: var(--onest);
    font-weight: 500;
    color: var(--text-black);
    font-size: 18px;
}

.cookies-modal__close {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    border: 1px solid rgba(70, 12, 12, 0.12);
    background: #fff;
    cursor: pointer;
}
.cookies-modal__close:hover {
    background: rgba(220, 36, 39, 0.08);
}

.cookies-modal__body {
    padding: 16px 18px 18px;
}

.cookies-modal__desc {
    font-family: var(--onest);
    font-weight: 300;
    color: rgba(31, 31, 31, 0.75);
    font-size: 14px;
    line-height: 1.4;
    margin: 0 0 14px;
}

.cookies-list {
    display: grid;
    gap: 10px;
}

.cookies-item {
    border: 1px solid rgba(70, 12, 12, 0.1);
    border-radius: 18px;
    padding: 14px 14px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: center;
}

.cookies-item__name {
    font-family: var(--onest);
    font-weight: 500;
    color: var(--text-black);
    font-size: 15px;
    line-height: 1.2;
}

.cookies-item__hint {
    margin-top: 4px;
    font-family: var(--onest);
    font-weight: 300;
    color: rgba(31, 31, 31, 0.7);
    font-size: 13px;
    line-height: 1.35;
}

.cookies-item__badge {
    font-family: var(--onest);
    font-weight: 400;
    font-size: 12px;
    color: rgba(31, 31, 31, 0.65);
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(220, 36, 39, 0.08);
    border: 1px solid rgba(220, 36, 39, 0.18);
}

/* Toggle */
.toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    user-select: none;
}

.toggle__input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.toggle__ui {
    width: 44px;
    height: 26px;
    border-radius: 999px;
    border: 1px solid rgba(70, 12, 12, 0.16);
    background: rgba(70, 12, 12, 0.06);
    position: relative;
    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}

.toggle__ui::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 3px;
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(70, 12, 12, 0.14);
    transform: translateY(-50%);
    transition: left 0.2s ease;
}

.toggle__text {
    font-family: var(--onest);
    font-weight: 400;
    font-size: 13px;
    color: rgba(31, 31, 31, 0.7);
}

.toggle__input:checked + .toggle__ui {
    background: rgba(220, 36, 39, 0.18);
    border-color: rgba(220, 36, 39, 0.5);
}

.toggle__input:checked + .toggle__ui::after {
    left: 21px;
}

/* footer buttons */
.cookies-modal__foot {
    padding: 16px 18px;
    border-top: 1px solid rgba(70, 12, 12, 0.08);
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    flex-wrap: wrap;
}
.copyright {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 15px;
    margin-bottom: 15px;
}
.copyright_text {
    font-size: 14px;
    color: #7c7c7c;
}
.copyright_text img {
    max-height: 12px;
}
.copyright_text {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}
/* =========================
   POPUP (Feedback / Callback)
   ========================= */

.popup[hidden] { display: none !important; }

.popup{
  position: fixed;
  inset: 0;
  z-index: 10000;
  padding: 18px;
}

.popup__overlay{
  position: absolute;
  inset: 0;
  background: rgba(11, 11, 11, 0.45);
}

.popup__dialog{
  position: relative;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border: 1px solid rgba(70, 12, 12, 0.12);
  border-radius: 26px;
  box-shadow: 0 26px 90px rgba(0,0,0,.18);
  padding: 28px 26px 22px;
  overflow: hidden;
  isolation: isolate;
}

/* close */
.popup__close{
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(70, 12, 12, 0.12);
  background: #fff;
  color: var(--text-black);
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .05s ease;
}
.popup__close:hover{
  background: rgba(220, 36, 39, 0.08);
  border-color: rgba(70, 12, 12, 0.18);
}
.popup__close:active{ transform: translateY(1px); }

/* head */
.popup__head{
  padding-right: 56px; /* место под крестик */
}

.popup__title{
  margin: 0 0 8px;
  font-family: var(--onest);
  font-weight: 500;
  color: var(--text-black);
  font-size: 24px;
  line-height: 1.15;
}

.popup__text{
  margin: 0;
  font-family: var(--onest);
  font-weight: 300;
  color: rgba(31,31,31,.75);
  font-size: 14px;
  line-height: 1.45;
}

/* form layout */
.popup__form{
  margin-top: 18px;
}

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

/* fields */
.field{
  display: grid;
  gap: 8px;
  min-width: 0;
}

.field--full{
  grid-column: 1 / -1;
}

.field__label{
  font-family: var(--onest);
  font-weight: 400;
  color: rgba(31,31,31,.8);
  font-size: 13px;
  line-height: 1.2;
}

.field__req{
  color: #d12b2b;
  font-weight: 500;
}

.field__input{
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(70, 12, 12, 0.14);
  background: #fff;
  padding: 13px 14px;
  font-family: var(--onest);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.2;
  color: var(--text-black);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
  min-width: 0;
}

.field__input::placeholder{
  color: rgba(31,31,31,.45);
}

.field__input:focus{
  border-color: rgba(220, 36, 39, 0.55);
  box-shadow: 0 0 0 4px rgba(220, 36, 39, 0.12);
}

.field__input--area{
  resize: vertical;
  min-height: 110px;
}

.field__hint{
  min-height: 16px;
  font-family: var(--onest);
  font-weight: 300;
  font-size: 12px;
  line-height: 1.2;
  color: #d12b2b;
}

/* error state */
.field__input.is-error{
  border-color: rgba(209, 43, 43, 0.55);
  box-shadow: 0 0 0 4px rgba(209, 43, 43, 0.10);
}

/* checkbox */
.check{
  margin-top: 14px;
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
}

.check__input{
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.check__box{
  width: 18px;
  height: 18px;
  border-radius: 6px;
  border: 1px solid rgba(70, 12, 12, 0.16);
  background: #fff;
  display: inline-block;
  position: relative;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.check__box::after{
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 10px;
  height: 6px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
  top: -1px;
  opacity: 0;
}

.check__input:focus + .check__box{
  box-shadow: 0 0 0 4px rgba(220, 36, 39, 0.12);
  border-color: rgba(220, 36, 39, 0.55);
}

.check__input:checked + .check__box{
  background: var(--color-blue);
  border-color: var(--color-blue);
}
.check__input:checked + .check__box::after{ opacity: 1; }

.check__text{
  font-family: var(--onest);
  font-weight: 300;
  color: rgba(31,31,31,.75);
  font-size: 13px;
  line-height: 1.35;
}

.check__link{
  color: var(--color-blue);
  text-decoration: none;
}
.check__link:hover{ text-decoration: underline; }

/* actions */
.popup__actions{
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 10px;
  align-items: center;
}

.popup__btn{
  border-radius: 16px;
  border: 1px solid rgba(70, 12, 12, 0.16);
  background: #fff;
  padding: 14px 16px;
  font-family: var(--onest);
  font-weight: 400;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .05s ease;
}
.popup__btn:active{ transform: translateY(1px); }

.popup__btn--primary{
  background: var(--color-blue);
  border-color: var(--color-blue);
  color: #fff;
}
.popup__btn--primary:hover{
  background: rgba(220, 36, 39, 0.92);
}

.popup__btn--ghost:hover{
  background: rgba(220, 36, 39, 0.08);
  border-color: rgba(70, 12, 12, 0.22);
}

.popup__status{
  grid-column: 1 / -1;
  min-height: 18px;
  font-family: var(--onest);
  font-weight: 300;
  font-size: 13px;
  line-height: 1.25;
  color: rgba(31,31,31,.75);
}
.policy-text{
  margin-top: 18px;
  background: #fff;
  border: 1px solid rgba(70, 12, 12, 0.08);
  border-radius: 26px;
  padding: 34px 40px;
}

.policy-text h2{
  margin: 22px 0 12px;
  font-family: var(--onest);
  font-weight: 500;
  color: var(--text-black);
  font-size: 24px;
  line-height: 1.2;
}

.policy-text h3{
  margin: 18px 0 10px;
  font-family: var(--onest);
  font-weight: 500;
  color: var(--text-black);
  font-size: 18px;
  line-height: 1.25;
}

.policy-text p{
  margin: 0 0 12px;
  font-family: var(--onest);
  font-weight: 300;
  color: rgba(31,31,31,.78);
  font-size: 16px;
  line-height: 1.55;
}

.policy-text ul{
  margin: 0 0 14px;
  padding-left: 20px;
  display: grid;
  gap: 8px;
  font-family: var(--onest);
  font-weight: 300;
  color: rgba(31,31,31,.78);
  font-size: 16px;
  line-height: 1.55;
}

.policy-text a{
  color: var(--color-blue);
  text-decoration: none;
}
.policy-text a:hover{ text-decoration: underline; }

.policy-text hr{
  margin: 22px 0;
  border: none;
  border-top: 1px solid rgba(70, 12, 12,.10);
}

[hidden] { display: none !important; }

.description-bottom{
	display:none;
}

 .policy-text table{
    width: 100%;
    border-collapse: collapse;
    border: 1px solid rgba(56,56,56,.15);
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    margin: 24px 0;
  }
  .policy-text table td{
    padding: 14px 16px;
    vertical-align: top;
    border-bottom: 1px solid rgba(56,56,56,.12);
    border-right: 1px solid rgba(56,56,56,.12);
    line-height: 1.45;
  }
  .policy-text table tr:last-child td{ border-bottom: 0; }
  .policy-text table td:last-child{ border-right: 0; }

  /* левая колонка */
  .policy-text table td:first-child{
    width: 32%;
    background: rgba(56,56,56,.04);
    font-weight: 700;
    white-space: nowrap;
  }

  /* ссылки и переносы */
  .policy-text table a{ text-decoration: underline; text-underline-offset: 3px; }
  .policy-text table td{ word-break: break-word; }


.form-success{
  display:flex;
  gap:14px;
  align-items:flex-start;
  padding:18px 18px;
  border:1px solid rgba(56,56,56,.14);
  border-radius:16px;
  background: rgba(255,255,255,.9);
}

.form-success__icon{
  width:42px;
  height:42px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(225, 37, 40,.14);
  color: rgba(56,56,56,.9);
  flex: 0 0 42px;
}

.form-success__title{
  font-family: var(--onest);
  font-weight: 800;
  font-size: 18px;
  line-height: 1.2;
  margin: 2px 0 6px;
  color: rgba(56,56,56,.92);
}

.form-success__text{
  font-family: var(--onest);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(56,56,56,.75);
}
@media (max-width: 1400px) {
    .media-header__menu {
        gap: 18px;
    }
    .media-header__logo {
        height: 75px;
    }
    .media-header__contacts {
        padding: 0 17px;
        min-width: 215px;
    }
    .hero-slider__layout {
        gap: 32px;
        grid-template-columns: clamp(260px, 34vw, 520px) 1fr;
        min-height: 420px;
    }
    .hero-slider__main {
        padding-left: 32px;
    }
    .hero-slider__main::before {
        top: 18px;
        bottom: 18px;
    }
    .projects__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .product-card__media {
        height: 150px;
    }
    .product-card__title {
        font-size: clamp(1rem, 1.2vw, 1.3rem);
    }
    .site-footer__box {
        grid-template-columns: minmax(200px, 217px) minmax(220px, 216px) minmax(299px, 1fr) minmax(220px, 212px);
    }
}

@media (max-width: 1320px) {
    .catalog-page__layout {
        grid-template-columns: 350px 1fr;
    }
}

@media (max-width: 1280px) {
    .catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .contacts-section__meta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .site-footer__box {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 1210px) {
    .media-header__logo {
        height: 65px;
    }
    .media-header__menu-link {
        font-size: 14px;
    }
    .media-header__phone {
        font-size: 16px;
    }
    .media-header__contacts {
        padding: 0 10px;
        min-width: 168px;
    }
    .media-header__inner {
        height: 88px;
    }
    .media-header__socials {
        padding: 0 10px;
    }
    .hero-slider {
        margin-top: 120px;
    }
    .hero-slider__box {
        padding: 30px 18px;
    }
    .hero-slider__layout {
        gap: 26px;
        grid-template-columns: clamp(240px, 36vw, 460px) 1fr;
        min-height: 380px;
    }
    .hero-slider__main {
        padding-left: 26px;
    }
    .hero-slider__main::before {
        top: 16px;
        bottom: 16px;
    }
    .hero-slider__next {
        top: 18px;
        right: 18px;
    }
    .hero-slider__lead {
        margin-top: 28px;
    }
    .hero-slider__btn {
        margin-top: 28px;
    }
    .service-list__items {
        grid-template-columns: repeat(1, 1fr);
    }
    .service-list__title br {
        display: none;
    }
    .service-list__title {
        font-size: clamp(1.5rem, 1.5vw, 2rem);
        max-width: auto;
    }
    .expertise-card {
        flex: 0 0 calc((100% - (var(--exp-gap) * 2)) / 2 - 1px);
    }
    .expertise__track {
        gap: 130px;
    }
    .two__col--left {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    .solution-title {
        font-size: clamp(1.5rem, 1.5vw, 2rem);
        max-width: auto;
    }
    .cats__grid {
        gap: 20px;
    }
    .cat-card__title {
        font-size: 18px;
        max-width: 90%;
    }
    .used-products .container {
        overflow: visible;
    }

    .used-products .products__grid {
        --gap: 20px;
        --per-view: 3;
        display: flex;
        gap: var(--gap);
        overflow-x: auto;
        overflow-y: hidden;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        padding-left: 0;
        padding-right: 0;
        scroll-padding-left: 0;
        scroll-padding-right: 0;
        scrollbar-width: none;
    }
    .used-products .products__grid::-webkit-scrollbar {
        display: none;
    }
    .used-products .product-card {
        flex: 0 0 calc((100% - (var(--gap) * (var(--per-view) - 1))) / var(--per-view));
        scroll-snap-align: start;
    }

    .used-products {
        position: relative;
    }

    .used-products .used-products__controls {
        margin-top: 16px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .used-products .used-products__btn {
        width: 44px;
        height: 44px;
        border-radius: 10px;
        border: 1px solid rgba(0, 0, 0, 0.12);
        background: #fff;
        box-shadow: 0 10px 22px rgba(0, 0, 0, 0.1);
        display: grid;
        place-items: center;
        cursor: pointer;
    }

    .used-products .used-products__btn img {
        display: block;
        width: 18px;
        height: 18px;
    }

    .used-products .used-products__btn:active {
        transform: translateY(1px);
    }
    .contacts-section__meta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-footer__nav-grid {
        gap: 14px 18px;
    }
}

@media (max-width: 1085px) {
    .media-header__nav {
        display: none;
    }
    .media-header__contacts {
        display: none;
    }
    .media-header__socials {
        display: none;
    }
    .media-header__burger {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 7px;
        justify-content: center;
    }
    .media-header__brand::after {
        display: none;
    }
    .hero-slider {
        margin-top: 110px;
    }
    .hero-slider__box {
        padding: 22px 14px;
    }
    .hero-slider__layout {
        grid-template-columns: 1fr;
        gap: 16px;
        min-height: auto;
        align-items: start;
        padding-top: 58px;
    }
    .hero-slider__next {
        top: 14px;
        right: 14px;
    }
    .hero-slider__main {
        padding-left: 0;
    }
    .hero-slider__main::before {
        display: none;
    }
    .hero-slider__nav {
        display: flex;
        flex-wrap: nowrap;
        gap: 10px;
        padding-top: 0;
        padding-bottom: 8px;
        padding-right: 96px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        touch-action: pan-x;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
    }
    .hero-slider__nav::-webkit-scrollbar {
        display: none;
    }
    .hero-slider__nav-btn {
        flex: 0 0 auto;
        min-width: clamp(220px, 72vw, 340px);
        padding: 10px 12px;
        background: rgba(255, 255, 255, 0.06);
        white-space: nowrap;
        scroll-snap-align: start;
    }
    .hero-slider__nav-text {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .hero-slider__slide {
        padding-right: 0;
    }
    .hero-slider__label {
        font-size: 16px;
    }
    .hero-slider__lead {
        margin-top: 18px;
    }
    .hero-slider__btn {
        margin-top: 18px;
    }
    .cta__box {
        grid-template-columns: 1fr;
        padding: 24px 20px;
        gap: 18px;
    }

    .cta__actions {
        justify-items: start;
    }

    .cta__contacts {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .cta__contact {
        font-size: 18px;
    }

    .cta__btn {
        font-size: 18px;
        height: 50px;
    }
    .servise-container {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    .servise-container__text-block {
        position: relative;
        top: 0;
    }
    .service-list__items {
        grid-template-columns: repeat(2, 1fr);
    }
    .service-list__title {
        font-size: clamp(1.3rem, 1.5vw, 2rem);
    }
    .white-bg {
        padding: 24px 20px;
    }
    .mission__card {
        padding: 24px 20px;
    }
    .mob-none {
        display: none;
    }
    .desk-none {
        display: block;
    }
    .expertise__track {
        gap: 106px;
    }
    .values__col--left {
        display: none;
    }
    .values-item__text {
        max-width: max-content;
    }
    .values__list {
        margin-top: 24px;
        padding-left: 20px;
    }
    .values__container {
        display: flex;
    }
    .values-item__dot {
        margin-top: 2px;
    }
    .container__two-columns {
        display: flex;
        gap: 40px;
        flex-direction: column-reverse;
    }
    .two__col--left {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .two__col--rigth {
        position: relative;
        top: 0;
    }
    .solution-title {
        font-size: clamp(1.3rem, 1.5vw, 2rem);
    }
    .project-card__tag {
        top: 10px;
        left: 10px;
        font-size: 12px;
    }
    .project-card__title {
        font-size: 20px;
    }
    .project-card__desc {
        font-size: 16px;
    }
    .projects__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .projects__filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity;
    }

    .projects__filter {
        flex: 0 0 auto;
        scroll-snap-align: start;
    }

    .projects__filters {
        scrollbar-width: none;
    }
    .projects__filters::-webkit-scrollbar {
        display: none;
    }
    .projects__filters {
        margin-bottom: 40px;
    }
    .product-card__media {
        height: 200px;
    }
}

@media (max-width: 980px) {
    .about-company__container {
        display: flex;
        gap: 20px;
        align-items: flex-start;
        flex-direction: column;
    }
    .about__col--item p {
        max-width: max-content;
        text-align: center;
    }
    .cats__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .catalog-page__layout {
        grid-template-columns: 1fr;
    }

    .catalog-filters {
        display: none; /* прячем сайдбар */
    }

    .catalog-toolbar {
        display: flex;
    }

    .catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .product-card__media {
        height: 180px;
    }
    .p-card {
        grid-template-columns: 1fr;
    }
    .p-card__badge {
        font-size: 13px;
        padding: 13px 13px;
    }
    .p-card__btn {
        height: 45px;
        padding: 20px 30px;
        font-size: 14px;
    }
    .p-card__link {
        font-size: 14px;
    }
    .contacts-section__layout {
        grid-template-columns: 1fr;
    }

    .contacts-section__right {
        padding: 22px;
    }

    .contacts-form__btn {
        width: 100%;
        align-self: stretch;
    }
    .site-footer {
        margin-top: 60px;
    }

    .site-footer__box {
        padding: 26px 22px;
        border-radius: 22px;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    /* порядок блоков, чтобы читалось логично */
    .site-footer__brand {
        order: 1;
    }
    .site-footer__nav {
        order: 2;
    }
    .site-footer__contacts {
        order: 3;
    }
    .site-footer__requisites {
        order: 4;
    }

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

    .site-footer__title {
        font-size: 17px;
        margin-bottom: 14px;
    }

    /* контакты внутри в одну колонку */
    .site-footer__contacts-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .site-footer__block {
        gap: 18px;
    }

    .site-footer__socials {
        margin-top: 12px;
        gap: 12px;
    }
    .cookies__inner {
        grid-template-columns: 1fr;
    }

    .cookies__text {
        max-width: none;
    }

    .cookies__actions {
        justify-content: flex-start;
    }
    .policy-text{ 
        padding: 28px 28px; 
    }
}

@media (max-width: 830px) {
    .cta__contacts {
        flex-direction: column;
    }
    .cta__bottom {
        align-items: flex-end;
    }
    .cta__btn {
        font-size: 16px;
        height: 48px;
    }
    .cta__btn-ico {
        width: 25px;
        height: 25px;
    }
    .cta__btn-ico img {
        width: 25px;
        height: 25px;
        display: block;
    }
    .cta__title {
        font-size: clamp(1.2rem, 3.2vw, 3.125rem);
    }
    .cta__contacts {
        grid-template-columns: 1fr;
        gap: 7px;
    }
    .mission__card {
        grid-template-columns: 1fr;
    }
    .mt-80 {
        margin-top: 60px;
    }
    .mission__image {
        display: none;
    }
    .mission__content {
        padding-bottom: 0px;
        padding-top: 0px;
        position: relative;
		margin-top:-50px;
    }
    .mission__content__image-mobile {
        display: block;
        position: absolute;
        top: -42px;
        right: -30px;
        max-width: 93px;
        width: 100%;
    }
    .media-btn {
        height: 48px;
        font-size: 14px;
        min-width: auto;
        margin-top: 0px;
    }
    .service-list__img {
        max-height: 95px;
        height: 100%;
    }
    .service-list__title {
        font-size: clamp(1.2rem, 1.5vw, 2rem);
    }
    .expertise__viewport {
        padding-right: 0px;
        padding-left: 20px;
    }
    .expertise__nav--prev {
        left: -20px;
    }
    .expertise__nav--next {
        right: -6px;
    }
    .expertise-card {
        flex: 0 0 calc(92%);
    }
    .solution-title {
        font-size: clamp(1.2rem, 1.5vw, 2rem);
    }
    .two__col--left {
        margin-bottom: 40px;
    }
    .project-card__content {
        padding: 30px 15px;
        gap: 14px;
    }
    .project-card__title {
        font-size: 18px;
    }
    .project-card__desc {
        font-size: 14px;
    }
    .used-products .products__grid {
        --per-view: 2;
    }
    .projects-slider__btn--next img {
        width: 14px;
    }
    .projects-slider__btn--prev img {
        width: 14px;
    }
    .products-slider__btn--next img {
        width: 14px;
    }
    .products-slider__btn--prev img {
        width: 14px;
    }
}

@media (max-width: 648px) {
    .cta__title {
        font-size: clamp(1.2rem, 3.6vw, 3.125rem);
        line-height: 1.3;
    }
    .cta__top {
        display: flex;
        grid-template-columns: 1fr auto;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }
    .cta__messengers {
        flex-direction: row;
    }
    .cta__bottom {
        align-items: center;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
    .cta__contacts {
        gap: 12px;
        display: flex;
        flex-direction: row;
        margin-bottom: 24px;
    }
    .cta__btn {
        font-size: 16px;
        height: 48px;
        width: 100%;
    }
    .service-list__items {
        grid-template-columns: repeat(1, 1fr);
    }
    .service-list__item {
        gap: 10px;
    }
    .service-list__img {
        max-height: 85px;
        height: 100%;
    }
    .two__col--left {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    .cat-card {
        grid-template-rows: 119px 1fr;
    }
    .cat-card__body {
        padding: 16px 16px 16px;
        gap: 0px;
    }
    .cat-card__title {
        font-size: 17px;
        max-width: 100%;
    }
    .header-cta p {
        max-width: 100%;
    }
  .popup{ padding: 12px; }
  .popup__dialog {
    max-height: 80vh;
    overflow: auto;               /* скролл внутри */
    -webkit-overflow-scrolling: touch;
	 padding: 22px 16px 16px;
    border-radius: 22px;
  }
  .popup__title{ font-size: 20px; }
  .popup__grid{ grid-template-columns: 1fr; }
  .popup__actions{ grid-template-columns: 1fr; }
  .popup__close{
    width: 40px;
    height: 40px;
    border-radius: 14px;
  }
   .policy-text{
    padding: 22px 16px;
    border-radius: 22px;
  }
  .policy-text h2{ font-size: 20px; }
  .policy-text p,
  .policy-text ul{ font-size: 15px; }
	    .policy-text table,
    .policy-text table tbody,
    .policy-text table tr,
    .policy-text table td{
      display: block;
      width: 100%;
    }
    .policy-text table{ border-radius: 14px; }
    .policy-text table tr{
      border-bottom: 1px solid rgba(56,56,56,.12);
    }
    .policy-text table tr:last-child{ border-bottom: 0; }
    .policy-text table td{
      border: 0;
      padding: 12px 14px;
    }
    .policy-text table td:first-child{
      width: 100%;
      white-space: normal;
      border-bottom: 1px solid rgba(56,56,56,.10);
      background: rgba(56,56,56,.04);
      padding-bottom: 10px;
      margin-bottom: 8px;
    }
}

@media (max-width: 560px) {
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    .hero-slider {
        margin-top: 95px;
    }
    .hero-slider__box {
        padding: 18px 12px;
        border-radius: 10px;
    }
    .hero-slider__count {
        font-size: 16px;
    }
    .hero-slider__arrow {
        font-size: 18px;
    }
    .hero-slider__label {
        font-size: 12px;
        padding: 8px 8px;
    }
    .hero-slider__lead {
        font-size: clamp(0.8rem, 3vw, 1.05rem);
        line-height: 1.45;
        margin-top: 14px;
    }
    .hero-slider__btn {
        width: 100%;
        height: 52px;
        padding: 0 22px;
        font-size: 15px;
        margin-top: 16px;
    }
    .hero-slider__nav-btn {
        min-width: clamp(200px, 78vw, 320px);
    }
    .hero-slider__aside {
        display: none;
    }
    .hero-slider__layout {
        padding-top: 0px;
    }
    .hero-slider__title {
        font-size: clamp(1.3rem, 4.5vw, 2.05rem);
        line-height: 1.3;
    }

    .hero-slider__btn {
        width: 100%;
        height: 45px;
        font-size: 14px;
    }
    .media-header__logo {
        height: 60px;
    }
    .media-header__inner {
        height: 69px;
        border-radius: 10px;
    }
    .media-header__brand {
        padding: 0 15px;
    }
    .cta {
        margin-top: 40px;
    }
    .cta__box {
        border-radius: 22px;
    }

    .cta__title {
        font-size: clamp(1.2rem, 2.2vw, 2rem);
        line-height: 1.15;
    }

    .cta__btn {
        width: 100%;
        height: 45px;
        font-size: 14px;
    }

    .cta__icon {
        width: 30px;
        height: 30px;
    }

    .cta__icon img {
        width: 24px;
        height: 24px;
    }
    .cta__messengers {
        flex-direction: column;
    }
    .cta__contacts {
        flex-direction: column;
    }
    .hero-page__block_h1 {
        font-size: clamp(1.6rem, 4vw, 3rem);
    }
    .hero-page__block_subtitle {
        font-size: clamp(0.9rem, 1.5vw, 1.3rem);
    }
    .title_h2 {
        font-size: clamp(1.4rem, 3.2vw, 3.125rem);
        margin-bottom: 20px;
    }
    .mission__text {
        font-size: clamp(1rem, 1.35vw, 26px);
    }
    .mt-80 {
        margin-top: 30px;
    }
    .breadcamps-section {
        margin-top: 100px;
    }
    .about__col--left_p {
        font-size: clamp(1rem, 2.1vw, 2rem);
        text-align: center;
    }
    .about__col--item {
        padding: 20px 14px;
    }
    .cats__grid {
        grid-template-columns: repeat(1, 1fr);
    }
    .cat-card {
        grid-template-rows: 200px 1fr;
    }
    .projects__grid {
        gap: 10px;
    }
    .projects__grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
    .used-products .products__grid {
        --per-view: 1;
    }

    .used-products .used-products__controls {
        margin-top: 16px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .used-products .used-products__btn {
        width: 44px;
        height: 44px;
        border-radius: 10px;
        border: 1px solid rgba(0, 0, 0, 0.12);
        background: #fff;
        box-shadow: 0 10px 22px rgba(0, 0, 0, 0.1);
        display: grid;
        place-items: center;
        cursor: pointer;
    }
    .catalog-grid {
        grid-template-columns: 1fr;
    }
    .product-card__media {
        height: 200px;
    }
    .contacts-section__right {
        border-radius: 16px;
        padding: 18px;
    }

    .contacts-form__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .contacts-section__meta {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .req-modal__panel {
        left: 10px;
        right: 10px;
        top: 10px;
        bottom: 10px;
        width: auto;
        border-radius: 16px;
    }

    .req-modal__row {
        grid-template-columns: 1fr;
    }

    .req-modal__val {
        flex-direction: column;
        align-items: flex-start;
    }
    .site-footer {
        margin-top: 48px;
    }

    .site-footer__box {
        padding: 18px 14px;
        border-radius: 18px;
        display: flex;
        flex-direction: column;
        gap: 24px;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    .site-footer__block_adress {
        align-items: center;
    }

    .site-footer__logo img {
        width: 160px;
    }
    .site-footer__block {
        align-items: center;
    }

    .site-footer__block_min {
        align-items: center;
    }
    .site-footer__title {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .site-footer__text,
    .site-footer__link {
        font-size: 15px;
    }

    .site-footer__link--muted,
    .site-footer__link--small {
        font-size: 13px;
    }

    /* навигация в 1 колонку, чтоб не было “лесенки” */
    .site-footer__nav-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .site-footer__req {
        gap: 8px;
    }
    .contacts-section__meta-title {
        font-size: 14px;
    }
    .cookies {
        bottom: 12px;
        padding: 0 12px;
    }

    .cookies__inner {
        padding: 14px 14px;
        border-radius: 18px;
    }

    .cookies__actions {
        gap: 8px;
    }

    .cookies__btn {
        width: 100%;
        justify-content: center;
        padding: 12px 14px;
    }

    .cookies-modal__dialog {
        width: calc(100% - 24px);
        border-radius: 18px;
    }

    .cookies-item {
        grid-template-columns: 1fr;
    }
    .copyright {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        margin-top: 15px;
        margin-bottom: 15px;
        align-items: center;
        gap: 12px;
    }
}
@media (max-width: 420px) {
    .about__col--right {
        grid-template-columns: repeat(1, 1fr);
        gap: 16px;
    }
    .about__col--item {
        border-radius: 10px;
    }
    .product-card__media {
        height: 170px;
    }
}

/* Projects load more */
.projects__more-wrap { 
	display: flex; 
	justify-content: center; 
	margin-top: 48px; 
}
.projects__more-wrap[hidden] { 
	display: none; 
}
.projects__more { 
	min-width: 210px; 
}
.projects__grid.is-loading { 
	opacity: .55; 
	pointer-events: none; 
	transition: opacity .2s ease; 
}

/* Thank-you letters */
.letters__head {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 0px;
    justify-content: space-between;
	margin-bottom:24px;
}

.letters__head h2{
	margin-bottom:0px;
}
.letters__nav { 
	display: flex; 
	gap: 10px; 
}
.letters__arrow { 
	width: 48px; 
	height: 48px; 
	border: 1px solid rgba(73, 12, 13,.14); 
	border-radius: 50%; 
	background: #fff; 
	display: grid; 
	place-items: center; 
	cursor: pointer; 
	transition: .2s ease; 
}
.letters__arrow:hover { 
	transform: translateY(-2px); 
	box-shadow: 0 12px 28px rgba(73, 12, 13,.1); 
}
.letters__arrow:disabled { 
	opacity: .35; 
	cursor: default; 
	transform: none; 
	box-shadow: none; 
}
.letters__arrow img { 
	width: 22px; 
	height: 22px; 
}
.letters__viewport { 
	overflow: hidden; 
}
.letters__track { 
	display: flex; 
	gap: 24px; 
	transition: transform .45s ease; 
	will-change: transform; 
}
.letter-card { 
	flex: 0 0 calc((100% - 48px)/3); 
	min-width: 0; 
	padding: 16px 16px 20px; 
	border: 1px solid rgba(73, 12, 13,.1); 
	border-radius: 24px; 
	background: #fff; 
	text-align: left; 
	cursor: zoom-in; 
	transition: transform .25s ease, box-shadow .25s ease; 
}
.letter-card:hover { 
	transform: translateY(-5px); 
	box-shadow: 0 22px 55px rgba(73, 12, 13,.12); 
}
.letter-card__paper { 
	display: block; 
	position: relative; 
	aspect-ratio: 4/5.35; 
	overflow: hidden; 
	border-radius: 14px; 
	background: #fdeeee; 
	box-shadow: inset 0 0 0 1px rgba(0,0,0,.04); 
}
.letter-card__image { 
	width: 100%;
	height: 100%; 
	object-fit: cover; 
	object-position: top center; 
	display: block; 
}
.letter-card__title { 
	display: block; 
	margin-top: 18px; 
	color: #490c0d; 
	font-size: 18px; 
	font-weight: 500; 
}
.letter-card__zoom { 
	display: block; 
	margin-top: 8px; 
	color: rgba(73, 12, 13,.58); 
	font-size: 14px; 
}
.letter-modal { 
	position: fixed; 
	inset: 0; 
	z-index: 99999; 
	display: grid; 
	place-items: center; 
	padding: 24px; 
	opacity: 0; 
	visibility: hidden; 
	transition: .25s ease; 
}
.letter-modal.is-open { 
	opacity: 1; 
	visibility: visible; 
}
.letter-modal__backdrop {
	position: absolute; 
	inset: 0; 
	border: 0; 
	background: rgba(29, 5, 5,.82); 
	backdrop-filter: blur(8px); 
	cursor: zoom-out; 
}
.letter-modal__dialog { 
	position: relative; 
	z-index: 1; 
	max-width: min(960px, 94vw); 
	max-height: 92vh; 
	padding: 16px; 
	border-radius: 18px; 
	background: #fff; 
	box-shadow: 0 30px 100px rgba(0,0,0,.35); 
	overflow: auto; 
	transform: translateY(14px) scale(.98); 
	transition: .25s ease; 
}
.letter-modal.is-open .letter-modal__dialog { 
	transform: none; 
}
.letter-modal__image { 
	display: block; 
	max-width: 100%; 
	width: auto; 
	height: auto; 
	max-height: calc(92vh - 76px); 
	margin: 0 auto; 
}
.letter-modal__caption { 
	padding: 12px 42px 2px 4px; 
	color: #490c0d; 
	font-weight: 500;
}
.letter-modal__close { 
	position: sticky;
	float: right;
	top: 0;
	z-index: 2;
	width: 40px;
	height: 40px;
	margin: 0 0 -40px;
	border: 0;
	border-radius: 50%;
	background: #39090a;
	color: #fff;
	font-size: 28px;
	line-height: 1;
	cursor: pointer; 
}
body.letter-modal-open { 
	overflow: hidden;
}


@media (max-width: 1050px) {
  .letter-card { 
	  flex-basis: calc((100% - 24px)/2);
	}
}
@media (max-width: 680px) {
  .letters__head { 
	  align-items: center; 
	  margin-bottom: 24px;
	}
  .letters__arrow { 
	  width: 42px;
	  height: 42px;
	}
  .letters__track { 
	  gap: 16px;
	}
  .letter-card { 
	  flex-basis: 100%;
	  border-radius: 18px;
	}
  .letter-modal { 
	  padding: 10px;
	}
  .letter-modal__dialog { 
	  max-width: 100%;
	  padding: 10px;
	}
}
