/* USER VARIABLES SECTION */
:root {
    --accent: #A47D46;
    --black: #1A1A1A;
    --gray: #848484;
    --gap: 30rem;
    --indent: 24rem;
    --indentmin: calc(var(--indent) / 2);
    --indentbig: calc(var(--indent) * 2);
    --heading1: 70rem;
    --heading2: 45rem;
    --heading3: 32rem;
    --heading4: 24rem;
    --bodyL: 18rem;
    --bodyM: 16rem;
    --bodyS: 14rem;
    --bodyXS: 12rem;
}

/* FONTS LOAD SECTION */
@font-face {
    src: url("../fonts/TildaSans-Regular.woff2") format("woff2");
    font-family: "tilda-regular";
}

@font-face {
    src: url("../fonts/TildaSans-Medium.woff2") format("woff2");
    font-family: "tilde-medium";
}

@font-face {
    src: url("../fonts/TildaSans-Semibold.woff2") format("woff2");
    font-family: "tilda-semibold";
}

@font-face {
    src: url("../fonts/PF-Din-Medium.woff2") format("woff2");
    font-family: "pfdin-medium";
}

/* GENERAL CSS SETTINGS */
* {
    margin: 0;
    padding: 0;
    outline: none;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) #eee;
}

*::-webkit-scrollbar {
    height: 6rem;
    width: 6rem;
}

*::-webkit-scrollbar-thumb {
    background-color: var(--accent);
    border-radius: 5rem;
}

::placeholder {
    color: var(--gray_text);
}

::selection {
    background-color: var(--accent);
    color: #fff;
}

button {
    border: none;
    outline: none;
    font-family: 'tilda-semibold', sans-serif;
    font-size: var(--bodyL);
}

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

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    display: none;
}

input,
textarea {
    width: 100%;
    outline: none;
    background-color: #f4f4f4;
    color: var(--black);
    height: 60rem;
    font-weight: 400;
    font-style: normal;
    border: 1rem solid transparent;
    padding: var(--indentmin);
    box-shadow: none;
    transition: border .4s ease;
    font-family: 'tilda-regular', sans-serif;
    border: 1rem solid #E0E0E0;
    color: #9c9c9c;
}

.input-dark {
    background-color: #232323;
    border-color: transparent;
    color: #fff;
}

.input-dark::placeholder {
    color: #656565;
}

textarea {
    height: 160rem;
    resize: none;
}

html {
    font-size: calc(1vw / 18);
}

body {
    font-family: 'tilda-regular', sans-serif;
    font-size: var(--bodyL);
    line-height: 1;
    color: var(--black);
    position: relative;
    overflow-x: hidden;
    background-color: #fff;
}

body.overflow {
    overflow: hidden;
    position: relative;
}

img {
    max-width: 100%;
    pointer-events: none;
    user-select: none;
    object-fit: cover;
    object-position: center;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
.heading {
    font-weight: normal;
    font-style: normal;
    font-family: 'tilda-medium', sans-serif;
    margin-bottom: var(--indent);
}

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

h1,
.h1,
.heading {
    font-size: var(--heading1);
}

h2,
.h2 {
    font-size: var(--heading2);
}

h3,
.h3 {
    font-size: var(--heading3);
}

h4,
.h4 {
    font-size: var(--heading4);
}

h5,
.h5 {
    font-size: var(--bodyL);
}

h6,
.h6 {
    font-size: var(--bodyM);
}

a {
    color: inherit;              /* не красим всё в чёрный по умолчанию */
    display: inline;             /* ссылка ведёт себя как обычный текст */
    transition: color .4s ease;
    text-decoration: none;
    position: relative;
    /* overflow: hidden;  ← убрать, если не нужен эффект обрезки */
}


a span[data-hover] {
    transition: transform .4s ease;
    transform: translateY(0);
    display: inline-block;
}

a span[data-hover]::before {
    content: attr(data-hover);
    position: absolute;
    top: 100%;
}

b,
strong,
.bold {
    font-family: 'tilda-semibold', sans-serif;
}

p {
    margin-bottom: var(--indent);
}

ul,
ol {
    padding-left: var(--gap);
    margin-bottom: var(--indent);
}

svg {
    transition: stroke .4s ease, fill .4s ease;
    flex: 0 0 auto;
    fill-rule: evenodd;
    clip-rule: evenodd;
}

/* USER STYLES */
.container {
    max-width: 1400rem;
    width: 100%;
    margin: 0 auto;
    padding: 0 var(--gap);
}

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

.dark {
    background-color: var(--black);
    color: #fff;
    position: relative;
    z-index: 1;
}

.section {
    position: relative;
    z-index: 1;
    padding: 100rem 0;
}

.description {
    line-height: 1.4;
}

.img-background {
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
}

.btn {
    font-family: 'tilda-semibold', sans-serif;
    background-color: transparent;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20rem 40rem;
    width: 100%;
    max-width: max-content;
    min-height: 60rem;
    cursor: pointer;
    transition: color .4s ease, background-color .4s ease, border-color .4s ease;
    position: relative;
    border: 1rem solid var(--accent);
    text-align: center;
}

.btn.white {
    border-color: #fff;
}

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

.btn.black {
    color: var(--black);
}

.btn.min {
    padding: 12rem 24rem;
    min-height: 52rem;
}

.sticky {
    position: sticky;
    top: var(--indent);
}

/* header */
.header {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 11;
}

.header.fixed {
    position: fixed;
}

.header.inner {
    position: sticky;
}

.header.inner>* {
    background-color: var(--black);
}

.header.fixed.inner {
    position: sticky;
}

.header.fixed .header__top,
.header.fixed .header__bottom {
    background-color: var(--black);
}

.header.hidden .header__bottom {
    transform: translateY(-100%);
}

.header__top {
    padding: 30rem 0 20rem;
    border-bottom: 1rem solid rgba(255, 255, 255, .2);
    transition: background-color .4s ease;
    position: relative;
    z-index: 1;
}

.header__logo img {
    width: 273rem;
}

.header__nav ul {
    display: flex;
    justify-content: center;
    gap: var(--gap);
    font-family: 'tilda-semibold', sans-serif;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.header__nav a {
    color: #fff;
}

.header__contacts {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap);
    font-family: 'tilda-semibold', sans-serif;
}

.header__phone {
    font-size: 20rem;
    color: #fff;
}

.header__bottom {
    padding: 30rem 0 20rem;
    transition: transform .4s ease, background-color .4s ease;
}

.header__bottom-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.bar-menu {
    display: none;
}

/* hero */
.hero__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
    padding: calc(120rem * 1.5) 0 60rem;
    gap: var(--gap);
}

.hero__title {
    font-size: 120rem;
    margin-top: 60rem;
    font-family: "pfdin-medium", sans-serif;
    text-transform: uppercase;
}

.hero__subtitle {
    font-size: var(--heading3);
    margin-bottom: var(--indent);
}

.hero__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap);
}

.hero__buttons .btn {
    min-width: 210rem;
}

/* about */
.about.hero .description {
    width: 70%;
}

.about__wrapper {
    display: flex;
    flex-direction: column;
    gap: 90rem;
}

.about__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--gap);
    align-items: center;
}

.about__grid:nth-child(even) .about__content {
    order: 1;
}

.about.full .about__grid:nth-child(even) .about__content {
    margin-right: auto;
    margin-left: 0;
}

.about.full .about__content {
    max-width: 650rem;
    width: 100%;
    margin-left: auto;
}

.about__image img {
    width: 100%;
}

.about__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap);
}

.about__buttons .btn {
    min-width: 220rem;
}

/* benefits */
.benefits {
    padding-top: 70rem;
    margin-top: 100rem;
    border-top: 1rem solid rgba(255, 255, 255, .2);
}

.benefits__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gap);
    text-align: center;
    padding-top: var(--indent);
}

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

.benefit__icon {
    border: 1rem solid rgba(255, 255, 255, .2);
    border-radius: 50%;
    width: 52rem;
    height: 52rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 1;
    margin: 0 auto var(--indent);
}

.benefit__icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    border-radius: 50%;
    background-color: var(--accent);
    width: 34rem;
    height: 34rem;
}

/* directions */
.directions__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap);
    margin-top: 70rem;
}

.direction {
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--indent);
}

.direction__image {
    width: 100%;
}

.direction__image img {
    width: 100%;
    height: 580rem;
    display: block;
}

/* background-block */
.background-block {
    min-height: 500rem;
    position: relative;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.background-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--black);
    opacity: .4;
    z-index: -1;
}

.background-block__title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--gap);
    width: 70%;
    margin: 0 auto;
}

.background-block__title img {
    width: 48rem;
    display: block;
}

/* calls */
.calls {
    background-color: var(--accent);
    padding: 60rem 0;
}

.calls__buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--indentbig);
    width: 85%;
    margin: 0 auto;
}

.calls__buttons .btn {
    max-width: 100%;
}

.calls__buttons .btn img {
    width: 36rem;
    height: 36rem;
    margin-right: 10rem;
    transition: filter .4s ease;
}

/* portfolio */
.portfolio__subtitle {
    font-size: var(--heading4);
    width: 50%;
    margin: 0 auto;
}

.portfolio__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10rem;
    margin-top: 100rem;
}

.portfolio__item {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.portfolio__item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(152deg, rgba(0, 0, 0, 0) 26%, var(--black) 92%);
}

.portfolio__image {
    height: 390rem;
    z-index: -1;
}

.portfolio__image img {
    height: 100%;
    width: 100%;
}

.portfolio__info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: var(--indent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap);
}

.portfolio__name {
    font-size: 40rem;
    font-family: 'tilda-semibold', sans-serif;
}

.portfolio__desc {
    margin-top: 10rem;
    font-size: var(--heading4);
}

/* comparisons */
.comparisons__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--gap);
    margin-top: 70rem;
}

.twentytwenty-container {
    margin-bottom: var(--indent);
}

.twentytwenty-container img {
    height: 390rem;
    width: 100%;
}

.comparison__info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--indent);
    text-align: center;
}

/* reviews */
.reviews:not(.dark) {
    background-color: #F3F3F3;
}

.review {
    min-height: 150rem;
    width: 100%;
    background-color: #fff;
    padding: var(--indent);
    display: flex;
}

.review img {
    width: 100%;
}

.reviews-swiper {
    position: relative;
    z-index: 2;
    overflow-x: hidden;
    margin-top: 70rem;
}

.reviews-swiper .swiper-slide {
    overflow: visible;
    height: auto;
    display: flex;
    width: 540rem;
}

/* advantages */
.advantages__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 60rem;
    gap: var(--gap);
    counter-reset: step;
}

.advantage {
    background-color: #fff;
    color: var(--black);
    padding: 30rem;
    counter-increment: step;
}

.advantage-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30rem;
}

.advantage-top::after {
    content: counter(step);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 40rem;
    height: 40rem;
    background-color: #ededed;
    font-size: var(--bodyS);
    font-family: "tilda-semibold", sans-serif;
}

.advantage-img {
    width: 40rem;
    height: 40rem;
    padding: 8rem;
    background-color: #E1C150;
    display: flex;
    align-items: center;
    justify-content: center;
}

.advantage-img img {
    width: 20rem;
    height: 20rem;
}

/* teams */
.teams__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap);
    margin-top: 60rem;
}

.team {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10rem;
    padding: 0 25rem;
}

.team-img {
    height: 380rem;
    margin: 0 -25rem 10rem;
}

.team-img img {
    width: 100%;
    height: 100%;
}

.team-title {
    margin-bottom: 10rem;
}

.team-info {
    margin-top: 10rem;
    text-align: center;
}

.team-info a {
    color: #fff;
    margin-bottom: 10rem;
}

/* modal */
.modal {
    visibility: hidden;
    opacity: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: block;
    background: rgba(106, 106, 106, .9);
    z-index: 9999;
    transition: visibility 0s .25s, opacity .25s;
}

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

.modal__wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    overflow-y: auto;
}

.modal__body {
    position: relative;
    margin: 0 var(--indent);
    max-height: 100%;
    width: 800rem;
    opacity: 0;
    background-color: #fff;
    transition: opacity 0s .25s, opacity .25s;
}

.modal__body.modal__min {
    width: 480rem;
}

.modal__body.modal__min .modal__close {
    color: var(--black);
}

.modal.show .modal__body {
    opacity: 1;
    transition: opacity 0s 0s, opacity .25s;
}

.modal__inner {
    width: 100%;
    height: 100%;
    position: relative;
}

.modal__image img {
    width: 100%;
    height: 360rem;
}

.modal__inner-wrap {
    padding: 40rem 60rem;
    background-color: #fff;
}

.modal__close {
    position: absolute;
    top: 10rem;
    right: 10rem;
    font-size: 60rem;
    color: #fff;
    z-index: 2;
    cursor: pointer;
    transition: color .4s ease;
}

.modal-heading {
    width: 80%;
    margin: 0 auto;
}

.modal__text {
    margin-bottom: var(--indentbig);
}

/* form */
.form-wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20rem;
}

.form-wrap>* {
    width: 100%;
}

.form-wrap .btn {
    padding: 15rem;
    max-width: 100%;
}

.form-agree {
    font-size: var(--bodyS);
    margin-top: 40rem;
}

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

.form-block {
    background-color: #fff;
    padding: 30rem;
    color: var(--black);
    width: 480rem;
    margin-left: auto;
}

.form-block .btn {
    max-width: max-content;
    min-width: 215rem;
    margin-left: auto;
    margin-right: auto;
}

.form-search {
    display: flex;
    gap: 10rem;
}

.form-search .btn {
    padding: 10rem;
    max-width: 60rem;
    height: 60rem;
}

.form-search img {
    width: 20rem;
    height: 20rem;
}

.form-search input {
    width: 420rem;
}

/* footer */
.footer {
    background-color: var(--black);
    padding: 70rem 0;
    color: #fff;
}

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

.footer__logo img {
    width: 273rem;
    margin-bottom: var(--indent);
}

.footer__block {
    display: flex;
    flex-direction: column;
    gap: var(--indent);
}

.footer__address,
.footer__hours {
    color: var(--gray);
    line-height: 1.3;
}

.footer__block b,
.footer__block strong {
    color: #fff;
}

.footer__menu {
    list-style: none;
    padding: 0;
    grid-column: span 2;
    height: max-content;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    column-count: 2;
}

.footer__menu li {
    margin-bottom: var(--indentmin);
    break-inside: avoid;
}

.footer__menu a {
    color: #fff;
    text-decoration: none;
    font-size: 20rem;
    font-family: 'tilda-semibold', sans-serif;
}

.footer__contacts {
    display: flex;
    flex-direction: column;
    align-items: end;
}

.footer__contacts .btn {
    margin-top: var(--indent);
}

.footer__phone,
.footer__email {
    display: block;
    margin-bottom: 10px;
    color: #fff;
    text-decoration: none;
    font-size: 20rem;
    font-family: 'tilda-semibold', sans-serif;
}

.footer__map img {
    width: 100%;
    height: 250rem;
    margin: var(--indent) 0;
}

.footer__rate img {
    width: 100%;
    height: 45rem;
}

.idea {
    display: flex;
    align-items: center;
    gap: 22rem;
    margin-bottom: 36rem;
    background-color: #212121;
    padding: 30rem;
    width: 820rem;
}

.idea-img {
    width: 68rem;
    height: 68rem;
    flex: 0 0 auto;
    background-color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.idea-img img {
    width: 30rem;
    height: 30rem;
}

.idea-title {
    font-size: 40rem;
    margin-bottom: 10rem;
}

.block__info-grid:not(.full) {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--gap);
}

.block__info .form-search {
    margin-top: 60rem;
}

.block-info {
    display: flex;
    flex-direction: column;
    gap: var(--gap);
}

.block-info__item .bold {
    margin-top: 10rem;
    font-size: 20rem;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap) 0;
    margin-bottom: 60rem;
}

.tag {
    color: #fff;
    opacity: 0.3;
    padding: 0 var(--gap);
    border: 1rem solid #fff;
    border-top: none;
    border-bottom: none;
}

.tag.active {
    opacity: 1;
}

/* catalog */
.catalogs-wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60rem var(--gap);
}

.catalogs-wrap.swiper {
    display: flex;
    margin-top: 60rem;
}

.catalog {
    display: flex;
    flex-direction: column;
    gap: 12rem;
}

.catalog-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 380rem;
    margin-bottom: 20rem;
}

.catalog-image img {
    height: 100%;
    width: 100%;
}

.catalog-title {
    font-size: 20rem;
    color: #fff;
}

.catalog-size {
    font-size: var(--bodyM);
    color: var(--accent);
}

.catalog-color {
    font-size: var(--bodyS);
    padding: 10rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    color: var(--black);
    width: max-content;
}

.catalog-bottom {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 20rem;
}

.catalog-price {
    margin-top: 10rem;
    font-size: 20rem;
}

.catalogs-swiper {
    position: relative;
}

/* product */
.product-tempers {
    display: flex;
    flex-direction: column;
    gap: 20rem;
    padding-top: 20rem;
}

.product-temper {
    display: flex;
    gap: 10rem var(--gap);
}

.product-temper span {
    /* width: 120rem; */
}

.product-temper b {
    font-size: 20rem;
}

.product-wrap {
    display: flex;
    gap: var(--gap);
}

.product-wrap>* {
    width: 50%;
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: var(--gap);
    padding-bottom: 85rem;
}

.product-info__top {
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 50rem;
}

.product-description {
    font-size: 20rem;
    margin: 15rem 0;
}

.product-price {
    font-size: 28rem;
}

.product-info__bottom .btn {
    margin-top: 50rem;
}

.product-images img {
    width: 100%;
    height: 100%;
}

.swiper-product-big .product-image {
    height: 585rem;
}

.swiper-product-small {
    margin-top: 20rem;
}

.swiper-product-small .product-image {
    height: 66rem;
    cursor: pointer;
}

/* swiper */
.swiper-button {
    width: 40rem;
    height: 40rem;
    background-color: var(--accent);
    color: #fff;
    z-index: 1;
}

.swiper-button::after {
    font-size: 20rem;
}

.swiper-button-prev {
    left: -60rem;
}

.swiper-button-next {
    right: -60rem;
}

.swiper-product-big .swiper-button-prev {
    left: 20rem;
}

.swiper-product-big .swiper-button-next {
    right: 20rem;
}

/* pagination */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 60rem;
}

.pagination ul {
    display: flex;
    flex-wrap: wrap;
    gap: calc(var(--gap)/2);
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination li {
    width: 24rem;
    height: 24rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.pagination a {
    opacity: 0.3;
    color: #fff;
}

.pagination .page-numbers.current {
    opacity: 1;
    pointer-events: none;
    color: #fff;
}

.next.page-numbers,
.prev.page-numbers {
    background-color: var(--accent);
    align-items: start;
    opacity: 1;
    font-size: 0;
    width: 24rem;
    height: 24rem;
}

.next.page-numbers::before,
.prev.page-numbers::before {
    content: '›';
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    font-size: 20rem;
    color: #fff;
    position: relative;
    top: 10rem;
}

.prev.page-numbers::before {
    content: '‹';
}

/* contact */
.contact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--gap);
}

.contact.full {
    display: flex;
    flex-direction: column;
}

.contact.full .form-block {
    width: 100%;
}

.contact.full .form-wrap {
    display: flex;
}

.contact.full .form-block .btn {
    margin-left: auto;
    margin-right: 0;
}

.contact.full .text-center {
    text-align: left;
}

.contact.full .form-agree br {
    display: none;
}

.contact.full .form-wrap>*:has(.btn) {
    max-width: max-content;
    min-width: 215rem;
}

.contact-item .bold {
    margin-top: 20rem;
    display: flex;
    flex-direction: column;
    gap: 10rem;
}

.contact-item a {
    color: #fff;
}

.contact-wrap {
    margin-top: 60rem;
    display: flex;
    flex-direction: column;
    gap: 40rem;
}

.contact-address br {
    display: none;
}

.quiz__text {
    margin-top: 70rem;
}

/* map */
#map {
    width: 100%;
    height: 100%;
}

#map>* {
    height: 100%;
}

/* news */
.news__item-title {
    font-size: 22rem;
    color: #fff;
}

.news__item-text p {
    margin-bottom: 0;
}

.news-wrap {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: calc(var(--gap)*2) var(--gap);
}

.news__item {
    display: flex;
    flex-direction: column;
    gap: var(--gap);
}

.news__item-info {
    display: flex;
    flex-direction: column;
    gap: calc(var(--gap)/2);
}

.news__item-image {
    width: 100%;
    height: 320rem;
}

.news__item-image img {
    width: 100%;
    height: 100%;
}

.news-info img {
    width: 100%;
    height: 670rem;
}

.news-info__date {
    margin-bottom: 20rem;
}

.news-info__text {
    margin-top: 20rem;
}

.news-info__text img {
    margin-bottom: 20rem;
}

.news-swiper {
    position: relative;
    margin-top: 60rem;
}

/* faq */
.faq-wrap {
    display: flex;
    flex-direction: column;
    gap: 20rem;
}

.faq__item {
    background-color: #212121;
}

.faq__item-title {
    font-size: 20rem;
    padding: 30rem;
    border: 1rem solid transparent;
    transition: border-color .4s ease;
}

.faq__item-text .description {
    padding: 30rem;
}

.faq__item.active .faq__item-text {
    border-top: 1rem solid #3c3c3c;
}

/* table */
.wp-block-table {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.wp-block-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: var(--bodyM);
    min-width: 600rem;
}

.wp-block-table table th,
.wp-block-table table td {
    padding: 24rem 20rem;
    border: 1rem solid #3c3c3c;
    text-align: left;
}

.wp-block-table table th {
    font-size: var(--heading4);
    font-family: "tilda-semibold", sans-serif;
}

.wp-block-table thead {
    border-bottom: none;
}

/*load*/
.load {
    border: 6rem solid #EAF0F6;
    border-top: 6rem solid var(--accent);
    border-radius: 50%;
    width: 40rem;
    height: 40rem;
    animation: spinner 1s linear infinite;
    padding: 0;
    display: flex;
}

.load.center {
    margin: 0 auto;
}

.load-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.load:not(.load-lazy)>* {
    display: none;
}

.load-lazy>* {
    opacity: 0;
    visibility: hidden;
}

.load-img {
    background-color: var(--black);
}

@keyframes spinner {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.text-center {
    text-align: center;
}

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

.mb-0 {
    margin-bottom: 0;
}

.pt-0 {
    padding-top: 0;
}

.pb-0 {
    padding-bottom: 0;
}

.mt-auto {
    margin-top: auto;
}

.upper {
    text-transform: uppercase;
}

.pfdin {
    font-family: "pfdin-medium", sans-serif;
}

.-m {
    font-size: var(--bodyM);
}

.-s {
    font-size: var(--bodyS);
}

.-xs {
    font-size: var(--bodyXS);
}

.align-center {
    align-items: center;
}

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

.js-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.toggle-body {
    display: none;
}

.toggle-str {
    width: 40rem;
    height: 40rem;
    position: relative;
    background-color: var(--accent);
}

.toggle-str::before,
.toggle-str::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8rem;
    height: 2rem;
    background-color: #fff;
    transition: transform .4s ease;
}

.toggle-str::before {
    transform: translate(-80%, -50%) rotate(45deg);
}

.toggle-str::after {
    transform: translate(-20%, -50%) rotate(-45deg);
}

.toggle.active .toggle-str::before {
    transform: translate(-80%, -50%) rotate(-45deg);
}

.toggle.active .toggle-str::after {
    transform: translate(-20%, -50%) rotate(45deg);
}
.product-images .product-short-description {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 14px;
    line-height: 1.6;
}
/* Теги под кратким описанием товара слева */
.product-images .product-tags-left {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: var(--bodyS);
    line-height: 1.5;
}

.product-images .product-tags-title {
    font-size: var(--bodyS);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
    color: rgba(255, 255, 255, 0.7);
}

.product-images .product-tags-line {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4rem 10rem;            /* вертикальный / горизонтальный отступы между тегами */
    font-size: var(--bodyXS);   /* помельче, чтобы не спорило с описанием */
}

.product-images .product-tag {
    color: var(--accent);       /* тот же жёлтый, что и на сайте */
    text-decoration: none;
    white-space: nowrap;        /* тег не разваливается посередине */
}

.product-images .product-tag span {
    margin-right: 2rem;         /* отступ между # и словом */
}

.product-images .product-tags-sep {
    margin: 0 4rem;
    color: rgba(255, 255, 255, 0.4);  /* разделитель более спокойный */
}
/* хлебные крошки на карточке товара */
.gm-breadcrumb {
    font-size: var(--bodyS);
    margin-bottom: 24rem;
    color: rgba(255, 255, 255, 0.7);
}

.gm-breadcrumb a {
    color: var(--accent);  /* ссылки — фирменный жёлтый */
    text-decoration: none;
    transition: color .3s ease;
    font-weight: 500;
}

.gm-breadcrumb a:hover {
    color: #fff; /* на ховере — белый */
}

.gm-breadcrumb .sep {
    margin: 0 6rem;
    color: rgba(255, 255, 255, 0.45);
}

.gm-breadcrumb .current {
    color: #fff;     /* текущая категория — белая */
    font-weight: 600;
}
/* Карточка товара в списке: иерархия и спокойный вид */
.catalog-title {
    font-size: 22rem;
    line-height: 1.4;
    margin-bottom: 4rem;
}

/* размеры */
.catalog-size {
    font-size: var(--bodyS);
    margin-bottom: 4rem;
}

/* "Размеры не указаны" — приглушённо, не орёт */
.catalog-size.catalog-size--empty {
    color: rgba(255, 255, 255, 0.45);
}

/* плашка "Доступны другие цвета!" — уже не белый кирпич */
.catalog-color {
    font-size: var(--bodyXS);
    padding: 6rem 12rem;
    border-radius: 2rem;
    border: 1rem solid rgba(255, 255, 255, 0.4);
    background-color: transparent;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6rem;
}

/* текст карточки */
.catalog-text {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

/* низ карточки: цена + кнопка */
.catalog-bottom {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 12rem;
}
/* Теги на карточке товара: цвет и расстояние */
.product-images .product-tags-line {
    gap: 0; /* убираем доп.отступы между элементами (#тег, /, #тег) */
}

.product-images .product-tags-sep {
    color: var(--accent);  /* "/" того же цвета, что и хештеги */
    margin: 0;             /* убираем пробелы вокруг "/" */
}
/* ==== GenerateBlocks под тему GarderobeMaster ==== */

/* Общий ритм блоков внутри контента */
.section.dark .description .gbp-section,
.section.dark .description .gb-accordion,
.section.dark .description .gbp-overlay-panel {
    margin: 0 0 40px;
}

/* Двухколоночные секции */
.section.dark .description .gbp-section__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
}

@media (max-width: 1024px) {
    .section.dark .description .gbp-section__inner {
        grid-template-columns: minmax(0, 1fr);
    }
}
/* =========================
   DARK SECTION (GB контент)
   ========================= */
.section.dark .description .gb-text{
  color:#f5f5f5;
  font-size:16px;
  line-height:1.6;
}

.section.dark .description h1.gb-text,
.section.dark .description h2.gb-text{
  font-size:24px;
  text-transform:uppercase;
  letter-spacing:.08em;
  margin:0 0 16px;
}

.section.dark .description img[class*="gb-media-"]{
  display:block;
  max-width:100%;
  height:auto;
}

/* Accordion */
.section.dark .description .gb-accordion__toggle{
  background:#1a1a1a;
  color:#f5f5f5;
  border:1px solid #333;
  padding:14px 18px;
}

.section.dark .description .gb-accordion__content{
  background:#111;
  border:1px solid #333;
  border-top:0;
  padding:16px 18px 18px;
}

/* Overlay Panel (карточки/попапы) */
.section.dark .description .gbp-overlay-panel{
  background:#111;
  border:1px solid #333;
}

/* Ограничение ширины блока портфолио */
.section.dark .description .gbp-section__inner{
  max-width:1100px;
  margin:0 auto;
}


/* =========================
   PORTFOLIO GRID (2 колонки)
   ========================= */

/* Важно: ограничиваем только ваш портфолио-контент, чтобы не ломать другие gbp-section__inner */
.section.dark .description .gbp-section__inner{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  column-gap:2.25rem;
  row-gap:3rem;
}

/* Карточка: фикс ширины и центрирование */
.section.dark .description .gbp-section__inner .gbp-overlay-panel{
  width:100%;
  max-width:450px;
  margin:0 auto;
  box-sizing:border-box;
}

/* Контент карточки: обычная высота (без "столбов") */
.section.dark .description .gbp-section__inner .gm-portfolio-card{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  box-sizing:border-box;
}

/* Превью: стабильный кадр 4:5 */
.section.dark .description .gbp-section__inner .gm-portfolio-img{
  width:333px;
  height:416px;               /* 4:5 */
  object-fit:cover;
  object-position:50% 35%;
  display:block;
  margin:0 auto;
}

/* Кнопка: нормальный отступ (не прибиваем вниз) */
.section.dark .description .gbp-section__inner .gm-portfolio-card a.gbp-button--primary{
  margin-top:18px;
}


/* =========================
   SAFETY: если gm-portfolio-card попал на <a>
   ========================= */
.section.dark .description a.gm-portfolio-card{
  display:inline-flex;
  width:auto;
  height:auto;
  min-height:0;
  margin:18px 0 0;
  padding:10px 14px;
}


/* =========================
   Footer idea text
   ========================= */
.footer .idea-text{
  color:#a47d46;
  font-size:18px;
  line-height:1.55;
  text-shadow:0 0 12px rgba(164,125,70,.25);
}
/* PORTFOLIO GRID: фиксируем 2 колонки именно для этого блока */
.gb-element-1cb88f39{
  display:grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  column-gap: 2.25rem !important;
  row-gap: 3rem !important;
  align-items: start !important;
}

/* каждая карточка центрируется в своей ячейке и не "плавает" */
.gb-element-1cb88f39 > .gbp-overlay-panel{
  width: 100% !important;
  max-width: 450px !important;
  justify-self: center !important;
  box-sizing: border-box !important;
}

/* превью ровное и одинаковое */
.gb-element-1cb88f39 .gm-portfolio-img{
  width: 333px !important;
  height: 416px !important;
  object-fit: cover !important;
  object-position: 50% 35% !important;
  display: block !important;
  margin: 0 auto !important;
}
/* 0) Сетка 2 колонки (на всякий) */
.gbp-section__inner{
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
}

/* 1) Карточка: одинаковая "плиточная" высота без гигантских столбов */
.gbp-section__inner .gbp-overlay-panel{
  max-width:450px !important;
  margin:0 auto !important;
}

.gbp-section__inner .gm-portfolio-card{
  height: 680px !important;       /* ключ: одинаковая высота плитки */
  padding-bottom: 24px;           /* чтобы кнопка не липла к низу */
  box-sizing: border-box !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
}

/* 2) Изображение: фиксированная зона */
.gbp-section__inner .gm-portfolio-img{
  width:333px !important;
  height:416px !important;        /* 4:5 */
  object-fit:cover !important;
  object-position:50% 35% !important;
  display:block !important;
  margin:0 auto !important;
}

/* 3) Текст: ограничиваем, чтобы не разъезжалось */
.gbp-section__inner .gm-portfolio-card h2{
  line-height:1.1 !important;
  max-width: 360px;
  margin:18px 0 0 !important;
  text-align:center !important;
  min-height: 2.4em !important;   /* под 2 строки */
}

.gbp-section__inner .gm-portfolio-card p{
  max-width: 360px;
  margin:10px 0 0 !important;
  text-align:center !important;
  min-height: 3.2em !important;   /* под 2 строки */
}

/* 4) Кнопка: внизу плитки, но без "столба" */
.gbp-section__inner .gm-portfolio-card a.gbp-button--primary{
  margin-top:auto !important;
}
/* STOP: если gm-portfolio-card висит на <a>, не даём кнопке превращаться в блок */
a.gm-portfolio-card{
  display:inline-flex !important;
  width:auto !important;
  height:auto !important;
  min-height:0 !important;
  padding:10px 14px !important;
  margin:18px 0 0 !important;
  align-items:center !important;
  justify-content:center !important;
}
/* FINAL OVERRIDE: кнопка портфолио всегда нормальная */
.gbp-section__inner a.gbp-button--primary{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:auto !important;
  height:auto !important;
  min-height:0 !important;
  padding:10px 16px !important;
  margin:18px 0 0 !important;
  background:transparent !important;
  box-sizing:border-box !important;
}

/* если вдруг на кнопке висит gm-portfolio-card — тоже не даём ей растягиваться */
.gbp-section__inner a.gm-portfolio-card{
  display:inline-flex !important;
  width:auto !important;
  height:auto !important;
  min-height:0 !important;
  padding:10px 16px !important;
  margin:18px 0 0 !important;
}
.gbp-section__inner a.gbp-button--primary{
  align-self:center !important;
  justify-self:center !important;
}
/* УБИРАЕМ ПУСТОТУ: карточка растёт по контенту */
.gbp-section__inner .gm-portfolio-card{
  height:auto !important;
  min-height:0 !important;
  padding-bottom:32px !important; /* просто аккуратный низ */
}

/* если где-то ранее прибивали кнопку вниз — отменяем */
.gbp-section__inner .gm-portfolio-card a.gbp-button--primary{
  margin-top:18px !important; /* не auto */
}
/* FIX: вернуть нормальную GRID-сетку (без секции) */
.section.dark .description .gbp-section__inner.gb-element-f226a9f9{
  column-count: initial !important;
  column-width: initial !important;
  columns: initial !important;

  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  column-gap: 2.25rem !important;
  row-gap: 3rem !important;
  align-items: stretch !important;
}

.section.dark .description .gbp-section__inner.gb-element-f226a9f9 > .gbp-overlay-panel{
  height: 100% !important;
}

/* страховка: если кнопке случайно снова прилетит gm-portfolio-card */
.gbp-section__inner.gb-element-f226a9f9 a.gm-portfolio-card{
  display: inline-block !important;
  height: auto !important;
  padding: 12px 18px !important;
}
/* =========================
   1) КОНТАКТЫ/АДРЕС — без скруглений + подложка
   ========================= */

/* Текстовый блок слева */
.section.dark .contact-left{
  border-radius: 0 !important;
  background: rgba(255,255,255,.04);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
  padding: 48px 48px 40px;
}

/* Если у .contact был общий фон/скругления — убираем */
.section.dark .contact{
  border-radius: 0 !important;
  background: transparent !important;
  padding: 0; /* чтобы не было «рамки вокруг всего» */
}

/* Карта — тоже без скруглений */
.section.dark .contact-right iframe{
  border-radius: 0 !important;
}

/* Мелкий текст чуть контрастнее (по желанию) */
.section.dark .contact-left .-m{
  color: rgba(255,255,255,.68);
}


/* =========================
   2) ОСНОВНЫЕ РЕКВИЗИТЫ — выделить блок выше
   ========================= */

/* Общая подложка вокруг списка реквизитов */
.section.dark .block-info{
  background: rgba(255,255,255,.03);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05);
  border-radius: 0 !important;
  padding: 28px 32px;
}

/* Чуть воздуха между пунктами (если нужно) */
.section.dark .block-info .block-info__item{
  padding: 14px 0;
}

/* Разделители — тонко и строго */
.section.dark .block-info .block-info__item + .block-info__item{
  border-top: 1px solid rgba(255,255,255,.06);
}
/* === PORTFOLIO TOC (REPLACE OLD) === */

.pf-toc{
  position:relative;
  padding:64px 0 72px;
}

/* заголовок */
.pf-toc-title{
  margin:0 0 36px;
  font-size:clamp(30px,4vw,46px);
  text-transform:uppercase;
  letter-spacing:.1em;
}

/* grid */
.pf-toc-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:32px;
}

@media (max-width:1024px){
  .pf-toc-grid{
    grid-template-columns:1fr;
    gap:28px;
  }
}

/* card */
.pf-card{
  display:flex;
  flex-direction:column;
  background:rgba(0,0,0,.28);
  border:1px solid rgba(164,125,70,.45);
  box-shadow:0 22px 48px rgba(0,0,0,.45);
  transition:border-color .3s ease;
}

.pf-card:hover{
  border-color:rgba(164,125,70,.85);
}

/* image */
.pf-card-media{
  display:block;
  aspect-ratio:16 / 10;
  overflow:hidden;
  background:#000;
}

.pf-card-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transform:scale(1.02);
  transition:transform .7s ease, filter .7s ease;
  filter:saturate(.92) contrast(1.02);
}

.pf-card:hover .pf-card-media img{
  transform:scale(1.07);
  filter:saturate(1) contrast(1.08);
}

/* body (убираем “пустоту” над кнопкой) */
.pf-card-body{
  padding:22px 22px 20px; /* чуть меньше снизу */
  background:linear-gradient(
    180deg,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,.55) 30%,
    rgba(0,0,0,.92) 100%
  );
  display:flex;
  flex-direction:column;
  height:auto;            /* важно: не растягиваем блок на “весь остаток” */
}

/* title */
.pf-card-body h2{
  margin:0 0 14px;
  font-size:19px;
  line-height:1.25;
  text-transform:uppercase;
  letter-spacing:.1em;
}

/* text */
.pf-card-body p{
  margin:0 0 14px;        /* меньше отступ до кнопки */
  font-size:15px;
  line-height:1.6;
  color:rgba(255,255,255,.88);

  display:-webkit-box;
  -webkit-line-clamp:4;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

/* button */
.pf-btn{
  margin-top:0;           /* убираем “прилипание” к низу и лишнюю пустоту */
  align-self:flex-start;
  padding:9px 16px;
  text-transform:uppercase;
  letter-spacing:.12em;
  font-size:11px;
  color:#fff;
  text-decoration:none;
  border:1px solid rgba(164,125,70,.7);
  background:rgba(0,0,0,.25);
  transition:background .25s ease, transform .25s ease, border-color .25s ease;
}

.pf-btn:hover{
  background:rgba(164,125,70,.12);
  border-color:rgba(164,125,70,1);
  transform:translateY(-1px);
}
/* ===== FIX footer map/rate: ровный клик + нормальные отступы ===== */

/* ссылка должна быть блочной, чтобы зона клика = зона картинки */
.footer__map a,
.footer__rate a{
  display: block;
  line-height: 0;
}

/* возвращаем клики по img (у вас глобально pointer-events:none) */
.footer__map img,
.footer__rate img{
  display: block;
  pointer-events: auto;
  margin: 0;            /* важно: убираем margin именно у img */
}

/* ОТСТУПЫ делаем на блоках, чтобы ничего не “слипалось” */
.footer__map{
  margin: var(--indent) 0;
}

.footer__rate{
  margin-top: 0;         /* можно не трогать, но пусть будет явно */
}
/* убирает базовые зазоры и «подпрыгивание» вокруг iframe */
.gm-rqchat-embed, .gm-rqchat-embed iframe{
  display:block;
  width:100%;
  border:0;
}
.gm-rqchat-embed{ margin:0; padding:0; }

/* ===== RQCHAT BLACK CORRIDOR ===== */
.rqchat-corridor{
  width: 100%;
  background: #111;
  padding: 22rem 0;          /* убрали лишнюю пустоту */
}

.rqchat-corridor__wrap{
  width: 80vw;               /* 80% ширины */
  max-width: 1400rem;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 16rem;
}

/* высотой управляет JS из iframe */
.rqchat-corridor__iframe{
  width: 100%;
  height: 260px;             /* стартовая, дальше будет меняться */
  border: 0;
  display: block;
  background: transparent;
}

/* мобилки */
@media (max-width: 980px){
  .rqchat-corridor__wrap{
    width: 100%;
    padding: 0 20rem;
  }
}

