/*
theme name: QuestHouse
 */

html {
    scroll-behavior: smooth;
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}

*,
*::after,
*::before {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: inherit;
            box-sizing: inherit;
}

/* Rubik в woff2 с разбивкой по алфавитам: русская страница тянет 15 КБ
   вместо 191 КБ двух полных woff. font-display: swap — текст виден сразу. */
@font-face {
    font-family: 'rubik';
    src: url('fonts/rubik-cyrillic.woff2') format('woff2');
    font-style: normal;
    font-weight: 300 900;
    font-display: swap;
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: 'rubik';
    src: url('fonts/rubik-latin.woff2') format('woff2');
    font-style: normal;
    font-weight: 300 900;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

body {
    font-family: 'rubik', sans-serif;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    background-color: #000;
    color: #fff;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    min-height: 100vh;
    position: relative;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('img/bg.jpg');
    z-index: -3;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
    /* height:auto обязателен рядом с атрибутами width/height в разметке:
       без него браузер тянет картинку до значения атрибута и ломает пропорции */
    height: auto;
}

img.fancybox-image {
  border: none !important;
}

.fancybox-slide--image{
  border-radius: 20px;
}

ul {
    list-style: none;
}

section {
    overflow: hidden;
}

.container {
    max-width: 1560px;
    padding: 0 15px;
    margin: 0 auto;
}

.title {
    font-size: 44px;
    margin-bottom: 30px;
}

.btn-home {
  width: calc((100% - 30px) / 2);
  margin: 0 auto;
}

/* header */
.header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 15;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(60%, #000d), to(transparent));
    background: -o-linear-gradient(top, #000d 60%, transparent 100%);
    background: linear-gradient(180deg, #000d 60%, transparent 100%);
}

.header__inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    gap: 20px;
    padding: 30px 0;
}

.header .menu {
  padding-left: 30px;
}

.menu__btn {
    display: none;
}

.menu__list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 40px;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.menu__link {
    font-size: 24px;
    font-weight: 700;
    position: relative;
    -webkit-transition: color .3s;
    -o-transition: color .3s;
    transition: color .3s;
}

.menu__link::after {
    content: '';
    width: 0;
    height: 3px;
    background: #AA0000;
    position: absolute;
    bottom: -6px;
    left: 0;
    border-radius: 2px;
    -webkit-transition: width .3s;
    -o-transition: width .3s;
    transition: width .3s;
}

.menu__link:hover {
    color: #fff;
}

.menu__link:hover::after {
    width: 50%;
}

.header__phone {
    margin-left: auto;
    position: relative;
}

.header__phone-link {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

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

.header__social-link {
  padding: 5px;
  border-radius: 50%;
  background-color: #aa0000;
  line-height: 0;
}

.header__phone-link:hover::after {
    width: 70px;
}

.sticky {
    position: fixed;
    -webkit-animation: down .7s;
            animation: down .7s;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(50%, #000d), to(transparent));
    background: -o-linear-gradient(top, #000d 50%, transparent 100%);
    background: linear-gradient(180deg, #000d 50%, transparent 100%);
}

@-webkit-keyframes down {
    0% {
        -webkit-transform: translateY(-100%);
                transform: translateY(-100%);
    }

    100% {
        -webkit-transform: translateY(0);
                transform: translateY(0);
    }
}

@keyframes down {
    0% {
        -webkit-transform: translateY(-100%);
                transform: translateY(-100%);
    }

    100% {
        -webkit-transform: translateY(0);
                transform: translateY(0);
    }
}

.main {
    margin-top: 135px;
}

/* intro */
.intro {
    margin-top: -135px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    padding-top: 135px;
}

.intro::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -3px;
    height: 400px;
    background:-webkit-gradient(linear, left bottom, left top, color-stop(5%, #000), to(transparent));
    background:-o-linear-gradient(bottom, #000 5%, transparent 100%);
    background:linear-gradient(0deg, #000 5%, transparent 100%);
}

.intro__inner {
    position: relative;
    height: calc(100vh - 135px);
    z-index: 2;
    min-height: -webkit-max-content;
    min-height: -moz-max-content;
    min-height: max-content;
    max-height: 1000px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 30px;
}

.intro__swiper {
    border-radius: 10px;
    overflow: hidden;
    width: 800px;
    height: 450px;
    background: #000;
    opacity: .985;
}

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

.intro__swiper-pagination .swiper-pagination-bullet {
    width: 30px;
    height: 10px;
    border-radius: 30px;
    background: #fff6;
    opacity: 1;
    -webkit-box-shadow: 0 0 10px #000;
            box-shadow: 0 0 10px #000;
}

.intro__swiper-pagination .swiper-pagination-bullet-active {
    background: #fff;
    width: 40px;
}

.intro__title {
  text-align: center;
  margin: 0;
}

.intro__list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    gap: 30px;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    margin-bottom: 20px;
}

.intro__item {
    width: calc((100% - 150px) / 5);
}

.intro__link {
    display: block;
    padding: 16px;
    background: rgba(0, 0, 0, .97);
    border-radius: 10px;
    text-align: center;
    font-size: 20px;
    -webkit-box-shadow: 0 0 10px #AA0000;
            box-shadow: 0 0 10px #AA0000;
}

.intro__link-active {
  background: #AA0000;
  color: #fff;
}

.intro__bottom {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    height: 60px;
    width: 100%;
}

.intro__arrow {
    -webkit-animation: arrow-intro 2s infinite;
            animation: arrow-intro 2s infinite;
    position: relative;
    width: 40px;
    height: 40px;
    border-bottom: 3px solid #fff;
    border-right: 3px solid #fff;
    -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
            transform: rotate(45deg);
    border-radius: 0 10px 3px 10px;
}

@-webkit-keyframes arrow-intro {
    0% {
        -webkit-transform: rotate(45deg) translate(-5px, -5px);
                transform: rotate(45deg) translate(-5px, -5px);
        opacity: 0;
        border-width: 2px;
    }

    50% {
        opacity: 1;
        border-width: 4px;
    }

    100% {
        -webkit-transform: rotate(45deg) translate(5px, 5px);
                transform: rotate(45deg) translate(5px, 5px);
        opacity: 0;
        border-width: 2px;
    }
}

@keyframes arrow-intro {
    0% {
        -webkit-transform: rotate(45deg) translate(-5px, -5px);
                transform: rotate(45deg) translate(-5px, -5px);
        opacity: 0;
        border-width: 2px;
    }

    50% {
        opacity: 1;
        border-width: 4px;
    }

    100% {
        -webkit-transform: rotate(45deg) translate(5px, 5px);
                transform: rotate(45deg) translate(5px, 5px);
        opacity: 0;
        border-width: 2px;
    }
}

/* reviews */
.reviews {
    background-image: url('img/reviews-bg.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    padding-bottom: 60px;
}

.reviews::after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 500px;
    background: -webkit-gradient(linear, left bottom, left top, color-stop(50%, #000d), to(transparent));
    background: -o-linear-gradient(bottom, #000d 50%, transparent 100%);
    background: linear-gradient(0deg, #000d 50%, transparent 100%);
    z-index: -1;
}

.reviews__title {
    text-align: center;
    padding: 40px 0 20px;
}

.reviews__inner {
    /* height: 60vh; */
    /* min-height: 500px; */
    /* max-height: 1000px; */
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
            margin-bottom: 30px;
}

.reviews__wrapper {
    max-width: 100%;
}

.swiper-slide.reviews__slide {
    opacity: .3;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

.swiper-slide.reviews__slide {
    -webkit-transform: translateZ(0) scale(.6);
            transform: translateZ(0) scale(.6);
}

.rewiews__slide-content {
    background: rgba(23, 23, 23, 0.9);
    padding: 25px 30px;
    border-radius: 20px;
    font-size: 18px;
    color: #fff;
}

.reviews__wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.reviews__slide.swiper-slide-prev {
    opacity: .6;
    -webkit-transform: scale(.8) translateX(-40px);
        -ms-transform: scale(.8) translateX(-40px);
            transform: scale(.8) translateX(-40px);
}

.reviews__slide.swiper-slide-next {
    opacity: .6;
    -webkit-transform: scale(.8) translateX(40px);
        -ms-transform: scale(.8) translateX(40px);
            transform: scale(.8) translateX(40px);
}

.reviews__slide.swiper-slide-active {
    opacity: .9;
    -webkit-transform: scale(1);
        -ms-transform: scale(1);
            transform: scale(1);
    z-index: 1;
}

.reviews__slide-title span {
    color: #AA0000;
    font-size: 24px;
}

.reviews__slide-descr {
    margin-top: 15px;
    overflow-y: auto;
    overflow: scroll;
    overflow-x: hidden;
    max-height: 200px;
}

.reviews__slide-descr::-webkit-scrollbar {
    width: 8px;
}

.reviews__slide-descr::-webkit-scrollbar-thumb {
    background-color: #AA0000;
    border-radius: 4px;
}

.reviews__slide-descr::-webkit-scrollbar-track {
    background-color: #AA000044;
}

.reviews__slide-score {
    margin-top: 10px;
}

.reviews__slide-score span {
    color: #AA0000;
    font-size: 24px;
}

.reviews__slide-name {
    color: #AA0000;
    margin-top: 15px;
}

.reviews__slide-data {
    color: #AA0000;
    margin-top: 5px;
}

.reviews__button-prev::after {
  content: url('img/svg/icon-arrow.svg');
  -webkit-transform: rotate(180deg);
      -ms-transform: rotate(180deg);
          transform: rotate(180deg);
  position: absolute;
  left: 0;
}

.reviews__button-next::after {
  content: url('img/svg/icon-arrow.svg');
  position: absolute;
  right: 0;
}

.reviev__btn {
  display: flex;
  justify-content: center;
}

/* catalog */
.catalog {
    padding: 150px 0 50px;
    position: relative;
}

.catalog::before,
.catalog::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: -webkit-gradient(linear, left top, left bottom, from(#000), to(transparent));
  background: -o-linear-gradient(top, #000 0%, transparent 100%);
  background: linear-gradient(180deg, #000 0%, transparent 100%);
  height: 400px;
  z-index: -1;
}

.catalog::after {
  top: auto;
  bottom: 0;
  -webkit-transform: rotate(180deg);
      -ms-transform: rotate(180deg);
          transform: rotate(180deg);
}

.catalog__title {
    color: #fff;
    text-align: center;
    margin-bottom: 70px;
}

.catalog__list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
            flex-direction: column-reverse;
    gap: 50px;
    position: relative;
}

.catalog__list::after,
.catalog__card::after {
    content: '';
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translate(-50%, 50%);
    width: 100vw;
    height: 400px;
    z-index: -1;
    background: linear-gradient(0deg, transparent 0%, #000 40%, #000 60%, transparent 100%);
}

.catalog__card {
  position: relative;
}

.catalog__card::after {
  top: auto;
  bottom: -25px;
}

.catalog__card {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 50px;
}

.catalog__card:nth-child(2n) {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
        -ms-flex-direction: row-reverse;
            flex-direction: row-reverse;
}

.catalog__card-left {
    width: calc((100% - 50px) * 0.5);
}

.catalog__card-right {
    width: calc((100% - 50px) * 0.5);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 15px;
}

.catalog__card-title {
    font-size: 32px;
}

.catalog__card-descr {
    width: 80%;
    color: #888;
}

.catalog__card-descr .read-more {
  color: #fff
}

.catalog__card-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 20px;
    padding: 20px;
    background-color: #0008;
    width: max-content;
    border-radius: 20px;
}

.catalog__card-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 10px;
}

.catalog__card-item:nth-child(n+4) {
  display: none;
}

.single-intro .catalog__card-item:nth-child(n+4) {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.single-intro .catalog__card-item-img {
  width: 60px;
  height: 60px;
}

.catalog__card-item-text {
    font-size: 16px;
    max-width: 360px;
}

.single-intro .catalog__card-item-text {
  font-size: 20px;
}

.catalog__card-item-text:first-child {
    text-align: right;
}

.catalog__card-item-text span {
    color: #AA0000;
    font-size: 18px;
    font-weight: 700;
}

.catalog__card-links {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 30px;
}

.catalog__card-link {
    padding: 10px 18px;
    background: #AA0000;
    border-radius: 10px;
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    font-size: 16px;
    margin-top: auto;
    display: block;
}

/* contact */
.contact {
    overflow: hidden;
}

.contact__inner {
    position: relative;
    height: 80vh;
    min-height: 500px;
    max-height: 1000px;
}

.contact__map {
    width: 100vw;
    background: #000;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    -webkit-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
            transform: translateX(-50%);
}

.contact__map::after {
    content: '';
    position: absolute;
}

.contact__map iframe {
    width: 100%;
    height: 100%;
}

.contact__content {
    background: #000c;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    padding: 30px;
    text-align: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 10px;
    width: 30%;
}

.contact__text {
    margin-top: 15px;
}

/* footer */
.footer {
    padding: 0 0 30px;
}

.footer__inner {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    gap: 30px;
    padding-top: 30px;
}

.footer__bottom {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 10px;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    margin-top: 20px;
}

.footer .logo {
    width: calc((100% - 60px) * 0.25);
    text-align: left;
}

.footer__menu {
    width: calc((100% - 60px) * 0.5);
}

.footer .menu__list {
    position: static;
    height: -webkit-max-content;
    height: -moz-max-content;
    height: max-content;
    -webkit-transform: scale(1);
        -ms-transform: scale(1);
            transform: scale(1);
    opacity: 1;
    text-align: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    background: transparent;
}

.footer__phone {
    width: calc((100% - 60px) * 0.25);
    text-align: right;
}

.footer__phone .header__phone-link {
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
}

.footer__copyrite {
    color: #aaa;
}

/* single-intro */
.single-intro {
    margin-top: -135px;
    padding-top: 135px;
    position: relative;
    height: 100vh;
    max-height: -webkit-max-content;
    max-height: -moz-max-content;
    max-height: max-content;
}

.single-intro::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  background: -webkit-gradient(linear, left bottom, left top, from(#000), to(transparent));
  background: -o-linear-gradient(bottom, #000 0%, transparent 100%);
  background: linear-gradient(0deg, #000 0%, transparent 100%);
  z-index: -1;
  height: 400px;
}

.single-intro__video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  z-index: -1;
}

.single-intro__video-bg source {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}

.single-intro__inner {
    height: calc(100vh - 195px);
    padding: 40px 0 20px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 30px;
}

.single-intro__left {
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 20px;
    width: calc((100% - 30px) * 0.6);
    overflow: hidden;
}

.single-intro iframe {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
}

.single-intro__right {
    width: calc((100% - 30px) * 0.4);
    padding: 40px;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 20px;
}

.single-intro__title {
    font-size: 60px;
    line-height: 1;
    margin-bottom: 60px;
}

.single-intro__list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 40px;
}

.single-intro__item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 20px;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.single-intro__text {
    font-size: 28px;
}

/* single-descr */
.single-descr {
    padding: 80px 0 100px;
    position: relative;
}

.single-descr::before,
.single-descr::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: -webkit-gradient(linear, left bottom, left top, from(#000), to(transparent));
  background: -o-linear-gradient(bottom, #000 0%, transparent 100%);
  background: linear-gradient(0deg, #000 0%, transparent 100%);
  height: 400px;
  z-index: -1;
}

.single-descr::before {
  bottom: auto;
  top: 0;
  -webkit-transform: rotate(180deg);
      -ms-transform: rotate(180deg);
          transform: rotate(180deg);
}

.single-descr__inner {
  display: flex;
  flex-direction: column;
  grid-gap: 50px;
}

.single-descr .catalog__card-links {
  justify-content: center;
  font-size: 32px;
}

.single-descr .catalog__card-link:nth-child(2) {
  position: relative;
  padding-right: 48px;
}

.single-descr .catalog__card-link:nth-child(2)::after {
  content: url('img/svg/icon-tg.svg');
  position: absolute;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
  line-height: 0
}

.single-descr__content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.single-descr__left {
    width: calc((100% - 30px) / 2);
}

.single-descr__right {
    width: calc((100% - 30px) / 2);
    /* background-color: #555;  */
    border-radius: 20px;
}

.single-descr__title {
    font-size: 40px;
    color: #fff;
    margin-bottom: 20px;
}

.single-descr__descr {
    font-size: 24px;
    color: #d6d6d6;
}

/* было: .single-descr__item:first-child { display: none } —
   прятало первый чип категории. Категории теперь приходят из данных. */

.category-intro__inner {
    padding: 50px 0 100px;
}

.category-intro__inner .catalog__inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 40px;
}

.page-404__inner {
  padding: 100px 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  text-align: center;
}

.page-404__cod {
  font-size: 200px;
  font-weight: 700;
  line-height: .8;
  color: #aa0000;
}

.page-404__cod span {
  color: #fff;
}

.page-404__text {
  font-size: 20px;
}

.single-descr__inner {
    position: relative;
    /* width: 80%; */
    /* max-width: 1200px; */
}

.guests__accordion-link {
  display: block;
  text-align: center;
  margin: 0 auto;
}

.accordion {
  padding: 80px 0;
  position: relative;
}

.accordion::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  height: 300px;
  transform: translateX(-50%);
  background: linear-gradient(0deg, transparent 0%, #000 100%);
  z-index: -1;
}

.accordion__title {
  font-size: 44px;
  text-align: center;
}

.guests__accordion {
  background-color: #000;
  border-radius: 20px;
  padding: 0 20px;
  max-width: 990px;
  margin: 30px auto;
  overflow: hidden;
}

.guests__accordion-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  position: relative;
  z-index: 2;
  border: none;
  background-color: #000;
  cursor: pointer;
}

.guests__accordion-item svg {
  min-width: 42px;
  transition: transform .3s
}

.guests__accordion-item--active svg {
  transform: rotate(180deg);
}

.guests__accordion-item--active .guests__accordion-btn {
  z-index: 3;
}

.guests__accordion-title {
  font-weight: 500;
  font-size: 20px;
  line-height: 20px;
  color: #fff;
  text-align: left;
}

.guests__accordion-descr {
  gap: 16px 29px;
  padding: 10px 0;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.guests__accordion-descr {
  overflow: hidden;
  visibility: hidden;
}

.guests__accordion-item--active .guests__accordion-descr {
  visibility: visible;
}


/* popup */
.popup__bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    opacity: 0;
    pointer-events: none;
    transition: 0.5s all;
    z-index: 20;
}

.popup__bg.active {
    opacity: 1;
    pointer-events: all;
    transition: 0.5s all;
}

.popup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: #111111;
    box-shadow: 0 0 20px #fff6;
    max-width: 1000px;
    width: calc(100% - 30px);
    min-width: 300px;
    padding: 30px;
    padding-right: 40px;
    transition: 0.5s all;
    border-radius: 30px 20px 30px 30px;
    font-size: 20px;
    text-align: center;
    font-weight: 700;
}

.popup.active {
    transform: translate(-50%, -50%) scale(1);
    transition: 0.5s all;
}

.form__flex {
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: center;
}

.close-popup {
    width: 20px;
    height: 20px;
    position: absolute;
    top: 13px;
    right: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.close-popup::before,
.close-popup::after {
    content: '';
    position: absolute;
    background-color: #fff;
    height: 4px;
    width: 100%;
    border-radius: 2px;
    transform: rotate(45deg);
}

.close-popup::after {
    transform: rotate(-45deg);
}

.form__textarea {
  width: 100%;
  height: 350px;
  resize: none;
  border-radius: 10px;
  padding: 8px 12px;
  font-family: inherit;
  font-size: 20px;
  background-color: rgba(0, 0, 0, .1);
  border: 2px solid #aa0000;
  color: #fff;
}

.form__wrapp {
  width: calc((100% - 30px) / 2);
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.choices {
  position: relative;
  background: #111111;
  border: 2px solid #aa0000;
  border-radius: 10px;
  cursor: pointer;
  z-index: 10;
  height: 56px;
  display: flex;
  align-items: stretch;
  flex-direction: column;
}

.choices:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 2px;
}

.is-open .choices__list--single {
  border-color: #111111;
}

.choices__list--single {
  background: #111111;
  padding: 10px 38px 10px 15px;
  border-radius: 10px;
  position: relative;
  border: 1px solid transparent;
  height: 52px;
  z-index: 1;
  display: flex;
  align-items: center;
}

.choices__item--selectable {
  min-width: 122px;
}

.choices__list--single::after {
  content: '';
  position: absolute;
  right: 15px;
  top: 45%;
  transform: translateY(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  border-bottom: 3px solid #aa0000;
  border-right: 3px solid #aa0000;
}

.is-open .choices__list--single::after {
  border: none;
  border-top: 3px solid #aa0000;
  border-left: 3px solid #aa0000;
  top: 55%;
}

.choices__item--choice {
  padding: 10px 15px;
  cursor: pointer;
  background: #111111;
  color: #fff;
  border-top: 2px solid #aa0000;
}

.choices__item--choice.choices__placeholder {
  pointer-events: none;
  display: none;
}

.choices__item--choice:hover {
  background: #aa0000;
}

.choices__list--dropdown {
  position: absolute;
  top: calc(100% - 20px);
  left: -2px;
  right: -2px;
  padding-top: 20px;
  /* display: none; */
  background: #111111;
  border: 2px solid #aa0000;
  border-radius: 0 0 10px 10px;
  overflow: hidden;
  transform-origin: top;
  transform: rotateX(-90deg);
  transition: transform .3s;
}

.is-active.choices__list--dropdown {
  /* display: block; */
  transform: rotateX(0);
}

.form__input {
  width: 100%;
  border-radius: 10px;
  padding: 8px 12px;
  font-family: inherit;
  font-size: 20px;
  background-color: rgba(0, 0, 0, .1);
  border: 2px solid #aa0000;
  height: 56px;
  color: #fff;
}

.form__bottom {
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

.form__bottom p {
  display: flex;
  align-items: center;
  gap: 5px;
}

.form__bottom p span {
  margin: 0;
}

.form__range {
  -webkit-appearance: none; /* Отключает стандартный стиль */
  width: 98%;
  margin: 0 auto;
  height: 10px;
  background: #000; /* Цвет трека (линии) */
  border-radius: 10px;
  outline: none;
  opacity: 0.8;
  margin: 10px 0;
  transition: opacity 0.2s;
}

.form__range:hover {
  opacity: 1;
}

.form__range-num {
  display: flex;
  justify-content: space-between;
}

/* Ползунок (бегунок) для WebKit-браузеров */
.form__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 10px;
  background: #aa0000; /* Цвет бегунка */
  border-radius: 50%;
  cursor: pointer;
  transition: 0.2s;
  transform: scale(3);
}

.form__range::-webkit-slider-thumb:hover {
  background: #aa0000;
}

/* Трек (линия) для WebKit-браузеров */
.form__range::-webkit-slider-runnable-track {
  background: #aaa;
  height: 10px;
  border-radius: 10px;
}

/* Для Firefox */
.form__range::-moz-range-track {
  background: #aaa;
  height: 8px;
  border-radius: 4px;
}

.form__range::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: #ff5733;
  border-radius: 50%;
  cursor: pointer;
}

.form__range-text {
  font-size: 24px;
}

.form__btn {
  border: none;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  cursor: pointer;
}

/* seo-text */
.seo-text__inner {
    padding: 40px 0;
}

.seo-text__content {
  display: grid;
  height: max-content;
  overflow: hidden;
  transition: grid-template-rows 0.4s ease;
}

.seo-text__content.active-none{
  grid-template-rows: 94px; 
}

.seo-text__content.active {
  grid-template-rows: 1fr;
}

.seo-text__btn {
  background-color: transparent;
  color: white;
  border: none;
  cursor: pointer;
  position: relative;
  padding-right: 15px;
  margin-top: 15px;
  display: block;
}


.seo-text__btn::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  position: absolute;
  right: 0;
  top: 3px;
  display: block;
  transform: rotate(45deg);
  color: #fff;
  transition: transform .3s;
}

.active ~ .seo-text__btn::after {
    transform: rotate(225deg);
    top: 7px;
}

@media (max-width: 1560px) {
    .container {
        max-width: 1170px;
    }

    .single-intro .catalog__card-item-img {
      width: 40px;
      height: 40px;
    }

    .single-intro .catalog__card-item-text {
      font-size: 16px;
    }

    .single-intro__inner {
      max-height: 550px;
    }

    .single-intro__right {
      padding: 30px;
    }

    .single-intro__left {
        width: calc((100% - 30px) * 0.65);
    }

    .single-intro__right {
        width: calc((100% - 30px) * 0.35);
    }

    .single-intro__title {
        font-size: 50px;
        margin-bottom: 40px;
    }

    .single-intro__list {
        gap: 30px;
    }

    .single-intro__text {
        font-size: 24px;
    }
}

@media (max-width: 1200px) {
    .container {
        max-width: 992px;
    }

    .catalog__card-list {
      -webkit-box-orient: horizontal;
      -webkit-box-direction: normal;
          -ms-flex-direction: row;
              flex-direction: row;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
    }

    .catalog__card-item {
      width: calc((100% - 30px) / 2)
    }

    .single-descr__descr {
        font-size: 20px;
    }

    .single-intro__inner {
      max-height: 750px;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column-reverse;
                flex-direction: column-reverse;
    }

    .single-intro__left {
        height: 60%;
        margin: 0 auto;
    }

    .single-intro__right {
        width: 100%;
        padding: 20px;
    }

    .single-intro__title {
        font-size: 40px;
        margin-bottom: 20px;
    }

    .single-intro__list {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
            -ms-flex-direction: row;
                flex-direction: row;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
    }

    .single-intro__item {
        width: calc((100% - 60px) / 4);
    }

    .logo__img {
        width: 120px;
    }



    .menu {
        -webkit-box-ordinal-group: 2;
            -ms-flex-order: 1;
                order: 1;
    }

    .header .menu {
      padding-left: 0;
    }

    .menu__list {
        display: none;
    }

    .menu__btn {
        display: block;
        width: 50px;
        height: 50px;
        background: #AA0000;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
        border: none;
        border-radius: 50%;
        cursor: pointer;
        position: relative;
        z-index: 11;
    }

    .menu__btn-span {
        position: absolute;
        left: 10px;
        top: 23px;
        width: 30px;
        height: 4px;
        border-radius: 2px;
        background-color: #fff;
        -webkit-transition: background-color .2s, -webkit-transform .5s;
        transition: background-color .2s, -webkit-transform .5s;
        -o-transition: transform .5s, background-color .2s;
        transition: transform .5s, background-color .2s;
        transition: transform .5s, background-color .2s, -webkit-transform .5s;
    }

    .menu__btn::before,
    .menu__btn::after {
        content: '';
        position: absolute;
        left: 10px;
        width: 30px;
        height: 4px;
        border-radius: 2px;
        background-color: #fff;
        -webkit-transition: background-color .2s, -webkit-transform .5s;
        transition: background-color .2s, -webkit-transform .5s;
        -o-transition: transform .5s, background-color .2s;
        transition: transform .5s, background-color .2s;
        transition: transform .5s, background-color .2s, -webkit-transform .5s;
    }

    .menu__btn::before {
        top: 12px;
    }

    .menu__btn::after {
        bottom: 12px;
    }

    .menu--active .menu__btn::before {
        -webkit-transform: rotate(-45deg) translate(-8px, 8px);
            -ms-transform: rotate(-45deg) translate(-8px, 8px);
                transform: rotate(-45deg) translate(-8px, 8px);
        background-color: #fff;
    }

    .menu--active .menu__btn::after {
        -webkit-transform: rotate(-45deg) translate(8px, -8px);
            -ms-transform: rotate(-45deg) translate(8px, -8px);
                transform: rotate(-45deg) translate(8px, -8px);
        background-color: #fff;
    }

    .menu--active .menu__btn span {
        -webkit-transform: rotate(45deg);
            -ms-transform: rotate(45deg);
                transform: rotate(45deg);
        background-color: #fff;
    }


    .menu__list {
        position: absolute;
        z-index: 10;
        top: 0px;
        left: 0;
        right: 0;
        height: 100vh;
        background-color: #000d;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        gap: 20px;
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
        -webkit-transform: scale(0);
            -ms-transform: scale(0);
                transform: scale(0);
        opacity: 0;
        -webkit-transition: opacity .4s, -webkit-transform .3s;
        transition: opacity .4s, -webkit-transform .3s;
        -o-transition: transform .3s, opacity .4s;
        transition: transform .3s, opacity .4s;
        transition: transform .3s, opacity .4s, -webkit-transform .3s;
    }

    .menu__link {
        color: #fff;
    }

    .menu__link::after {
        left: 50%;
        -webkit-transform: translateX(-50%);
            -ms-transform: translateX(-50%);
                transform: translateX(-50%);
    }

    .menu--active .menu__list {
        -webkit-transform: scale(1);
            -ms-transform: scale(1);
                transform: scale(1);
        opacity: 1;
    }

    /* catalog */
    .catalog__card-left {
        width: calc((100% - 50px) * 0.55);
    }

    .catalog__card-right {
        width: calc((100% - 50px) * 0.45);
    }

    .catalog__card-descr {
        width: 100%;
    }

    .catalog__card-list {
        width: 100%;
    }

    /* contact */
    .contact__content {
        width: 40%;
    }

    .intro__item {
      width: calc((100% - 90px) / 4);
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 768px;
    }

    .single-intro__inner {
      max-height: 650px;
    }

    .single-descr {
        padding: 50px 0;
    }

    .single-descr__content {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
    }

    .single-descr__left {
        width: 100%;
    }

    .single-descr__right {
        width: 100%;
    }

    .single-intro__inner {
        padding: 20px 0;
        gap: 20px;
    }

    .single-intro__left {
        width: 90%;
        height: 100%;
    }

    .reviews__title {
        font-size: 32px;
    }

    .intro__swiper {
        max-width: 100%;
        height: 440px;
    }

    .intro__title {
      font-size: 38px;
    }

    .intro__item {
        width: calc((100% - 60px) / 3);
    }


    .header__inner {
        gap: 15px;
    }

    .logo {
        position: relative;
        z-index: 11;
    }

    .header__phone {
        position: relative;
        z-index: 11;
    }

    /* catalog */
    .catalog {
        padding: 110px 0;
    }

    .catalog__title {
        font-size: 40px;
        margin-bottom: 100px;
    }

    .catalog__list {
        gap: 150px;
    }

    .catalog__list::after {
        top: -75px;
    }

    .catalog__card::after {
        bottom: -75px;
    }

    .catalog__card,
    .catalog__card:nth-child(2n) {
        gap: 30px;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
    }

    .catalog__card {
        -webkit-box-align: start;
            -ms-flex-align: start;
                align-items: flex-start;
    }

    .catalog__card-left {
        width: 70%;
        display: block;
        margin: 0 auto;
    }

    .catalog__card-right {
        width: 100%;
        -ms-flex-wrap: wrap;
            flex-wrap: wrap;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
            -ms-flex-direction: row;
                flex-direction: row;
    }

    .catalog__card-item-text {
        font-size: 12px;
    }

    .catalog__card-item-text span {
        font-size: 16px;
    }

    .catalog__card-link {
        font-size: 18px;
    }

    /* footer */
    .footer .logo,
    .footer__phone {
        width: calc((100% - 60px)* 0.32);
    }

    .footer__menu {
        width: calc((100% - 60px)* 0.36);
    }

}

@media (max-width: 768px) {
    .container {
        max-width: 576px;
    }

    .popup {
      padding: 20px 40px 20px 20px;
    }

    .form__flex {
      flex-direction: column;
      align-items: stretch;
      gap: 20px;
    }

    .form__textarea {
      height: 150px;
      width: 100%;
    }

    .form__input,
    .choices__list--single {
      height: 44px;
    }

    .choices {
      height: 48px;
    }

    .form__wrapp {
      width: 100%;
      gap: 20px;
    }

    .form__range-num {
      font-size: 16px;
    }

    .page-404__cod {
      font-size: 150px;
    }

    .contact__inner {
      height: max-content;
      display: flex;
      flex-direction: column;
    }

    .main__home~.footer .contact__inner {
      flex-direction: column-reverse;
    }

    .contact__map {
      position: relative;
      height: 400px;
    }

    .header__social-link {
      padding: 0;
    }

    .catalog__card-list {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
    }

    .catalog__card-item {
      width: 100%;
    }

    .single-descr__title {
        font-size: 28px;
    }

    .single-descr__descr {
        font-size: 18px;
    }

    .single-intro {
        padding-top: 80px;
    }

    .single-intro__inner {
        height: calc(100vh - 140px);
    }

    .single-intro__left {
        width: 100%;
    }

    .single-intro__title {
        font-size: 30px;
    }

    .single-intro__item {
        width: calc((100% - 30px) / 2);
    }

    .single-intro__text {
        font-size: 18px;
    }

    .intro {
        padding-top: 90px;
    }

    .intro__link {
        padding: 10px 12px;
        font-size: 18px;
    }

    .intro__swiper {
        max-width: 100%;
        height: 307px;
    }

    .intro__title {
      font-size: 28px;
    }

    .header__inner {
        padding: 10px 0;
    }

    .logo__img {
        height: 50px;
        width: 100%;
    }

    .header__phone-img {
        -webkit-transform: scale(.8);
            -ms-transform: scale(.8);
                transform: scale(.8);
    }

    .menu__btn {
        -webkit-transform: scale(.8);
            -ms-transform: scale(.8);
                transform: scale(.8);
    }

    /* catalog */
    .catalog {
        padding: 100px 0;
    }

    .catalog__card-left {
        width: 80%;
    }

    .catalog__card,
    .catalog__card:last-child {
        gap: 20px;
    }

    .catalog__card-right {
        gap: 20px;
    }

    /* contact */
    .contact__inner {
        margin: 0;

    }

    .contact__content {
        border-radius: 20px 20px 0 0;
        padding-top: 10px;
        top: auto;
        bottom: 0;
        left: 10%;
        right: 10%;
        width: auto;
        gap: 10px;
        position: static;
    }

    /* footer */
    .footer__inner {
        -webkit-box-align: start;
            -ms-flex-align: start;
                align-items: flex-start;
    }

    .footer .logo__img {
        height: 40px;
        width: -webkit-max-content;
        width: -moz-max-content;
        width: max-content;
    }

    .footer .logo,
    .footer__phone {
        width: calc((100% - 60px)* 0.32);
    }

    .footer__menu {
        width: calc((100% - 60px)* 0.36);
    }

    .footer .menu__list {
        gap: 10px;
    }

    .footer__menu .menu__link {
        font-size: 14px;
    }

    .footer__phone .header__phone-link {
        font-size: 14px;
    }

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

@media (max-width: 576px) {
    .container {
        max-width: 460px;
    }

    .accordion__title {
      font-size: 40px;
    }

    .header__social {
      margin-left: auto;
    }

    .catalog__card-item {
      width: 100%;
    }

    .reviews__title {
        font-size: 24px;
    }

    .single-descr__right {
        height: 200px;
    }

    .single-descr__descr {
        font-size: 16px;
    }

    .single-intro__inner {
        padding: 40px 0 20px;
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
    }

    .single-intro__left {
        height: 280px;
    }

    .single-intro__right {
        padding: 30px;
    }

    .intro__swiper {
        height: 242px;
    }

    .intro {
        padding-top: 135px;
    }

    .intro__inner {
        gap: 10px;
    }

    .intro__list {
        gap: 15px 20px;
    }

    .intro__item {
        width: calc((100% - 30px) / 2);
    }

    .intro__link {
        padding: 6px 10px;
        font-size: 16px;
    }

    .header__phone {
        position: absolute;
        left: 50%;
        -webkit-transform: translateX(-50%);
            -ms-transform: translateX(-50%);
                transform: translateX(-50%);
        width: -webkit-max-content;
        width: -moz-max-content;
        width: max-content;
        top: 100%;
        background: rgba(0, 0, 0, 0.7);
        padding: 10px;
        border-radius: 10px;
    }

    .header__phone-img {
        display: none;
    }

    .catalog__title {
        font-size: 32px;
    }

    .catalog__card-left {
        width: 100%;
    }

    .catalog__card-right {
        /* text-align: center; */
        gap: 15px;
    }

    .catalog__card-title {
        font-size: 24px;
    }

    .catalog__card-links {
        width: 100%;
    }

    .catalog__card-link {
        margin: 0 auto;
    }

    /* footer */
    .footer__inner {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
    }

    .footer .logo,
    .footer__phone {
        width: 100%;
        text-align: center;
    }

    .footer .logo__img {
        width: 100%;
    }

    .footer__menu {
        width: 100%;
    }

    .footer__phone .header__phone-link {
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
    }
}

@media (max-width: 480px) {
    .form__textarea,
    .choices__list,
    .form__input,
    .form__range-text,
    .form__btn {
      font-size: 16px;
    }

    .accordion__title {
      font-size: 32px;
    }

    .single-intro__left {
        height: calc((100vw - 30px) / 16 * 9);
    }

    .single-intro .catalog__card-item-text {
        font-size: 14px;
    }

    .rewiews__slide-content {
        padding: 20px 40px;
        font-size: 16px;
    }

    .catalog__card-links {
      gap: 20px;
      -webkit-box-align: start;
          -ms-flex-align: start;
              align-items: flex-start;
      -ms-flex-wrap: wrap;
          flex-wrap: wrap;
    }

    .intro__swiper {
        opacity: .97;
    }

    .intro__inner {
      justify-content: center;
    }

    .intro__link {
      font-size: 14px;
    }

    .intro__title {
      font-size: 20px;
      margin-top: 30px;
    }

    .intro__bottom {
      transform: translateY(-20px);
    }

    .reviews__button-next::after {
      transform: scale(.6);
      right: -30px;
    }

    .reviews__button-prev::after {
      transform: scale(.6) rotate(180deg);
      left: -30px;
    }

    .intro__swiper {
        height: calc((100vw - 30px) / 16 * 9);
    }
}


/* ===========================================================================
   ДОБАВЛЕНО ПРИ ПЕРЕВОДЕ НА СТАТИКУ
   Ниже — только то, чего в теме не было: доступность, новые компоненты
   (хлебные крошки, статьи блога) и мелкие исправления. Палитра, шрифт и
   пропорции не менялись — см. design/direction.md.
   ======================================================================== */

/* --- Ссылка «к содержанию»: первая цель Tab на каждой странице ---------- */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 100;
    padding: 12px 20px;
    background: #aa0000;
    color: #fff;
    border-radius: 0 0 10px 0;
    font-weight: 700;
}

.skip-link:focus {
    left: 0;
}

/* --- Видимый фокус. В теме его не было ни у одного элемента ------------- */
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
    border-radius: 4px;
}

.intro__link:focus-visible,
.catalog__card-link:focus-visible,
.header__social-link:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 4px;
}

/* Стрелки слайдера — теперь <button>, снимаем оформление браузера */
.swiper-button-prev,
.swiper-button-next {
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
}

/* Полоса прокрутки в отзыве появляется только когда текст длинный */
.reviews__slide-descr {
    overflow-y: auto;
    overflow-x: hidden;
}

/* Фон страницы не тайлится на широких экранах */
body::after {
    background-size: cover;
    background-position: center;
}

/* --- Хлебные крошки ---------------------------------------------------- */
.crumbs {
    margin-bottom: 10px;
}

.crumbs__list {
    /* в теме сброшен только ul — <ol> без этого рисует нумерацию */
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
    font-size: 14px;
    color: #aaa;
}

.crumbs__item + .crumbs__item::before {
    content: '/';
    margin-right: 10px;
    color: #555;
}

.crumbs__item a {
    color: #aaa;
    border-bottom: 1px solid transparent;
    transition: color .3s, border-color .3s;
}

.crumbs__item a:hover {
    color: #fff;
    border-color: #aa0000;
}

.crumbs__item [aria-current] {
    color: #fff;
}

/* --- Лид категории ----------------------------------------------------- */
.category-intro__lead {
    font-size: 20px;
    max-width: 900px;
    margin: -20px auto 0;
    text-align: center;
    color: #d6d6d6;
}

/* --- Кадр сценария на странице квеста ---------------------------------- */
.single-descr__photo {
    width: 100%;
    height: auto;
    border-radius: 20px;
}

/* --- Блог: список статей и текст статьи -------------------------------- */
.article-main {
    padding-bottom: 60px;
}

.article-section {
    padding: 60px 0 40px;
    position: relative;
    /* В теме обрезка задана как section{overflow:hidden}, а страница статьи
       обёрнута в <article> — без своей обрезки подложка шириной 100vw
       вылезала за экран и давала горизонтальный скролл. */
    overflow: hidden;
}

.article-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 100vw;
    height: 300px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, #000 0%, transparent 100%);
    z-index: -1;
}

.article__title,
.article-section .catalog__title {
    text-align: left;
    margin-bottom: 10px;
    max-width: 900px;
}

.article__date {
    display: block;
    color: #aaa;
    font-size: 14px;
    margin-bottom: 30px;
}

.article__body {
    max-width: 900px;
}

.article__lead {
    font-size: 24px;
    line-height: 1.5;
    color: #fff;
    margin-bottom: 30px;
    padding-left: 20px;
    border-left: 4px solid #aa0000;
}

.article__h2 {
    font-size: 28px;
    margin: 40px 0 12px;
    max-width: 900px;
}

.article__p {
    font-size: 18px;
    line-height: 1.65;
    color: #d6d6d6;
    max-width: 900px;
}

.article__links {
    justify-content: flex-start;
    margin: 20px 0 40px;
}

.article__links .intro__item {
    width: auto;
}

.article__links .intro__link {
    font-size: 16px;
    padding: 10px 18px;
}

.article-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.article-list__link {
    display: block;
    padding: 24px 28px;
    background: rgba(0, 0, 0, .8);
    border-radius: 20px;
    border-left: 4px solid #aa0000;
    transition: background-color .3s, transform .3s;
}

.article-list__link:hover {
    background: #111;
    transform: translateX(6px);
}

.article-list__title {
    font-size: 24px;
    margin-bottom: 8px;
}

.article-list__lead {
    color: #d6d6d6;
    font-size: 16px;
    line-height: 1.55;
}

.article-list__date {
    display: block;
    margin-top: 12px;
    color: #aaa;
    font-size: 14px;
}

@media (max-width: 992px) {
    .article__lead {
        font-size: 20px;
    }

    .article__h2 {
        font-size: 24px;
    }

    .category-intro__lead {
        font-size: 18px;
        margin-top: 0;
    }
}

@media (max-width: 576px) {
    .article-section {
        padding: 40px 0 20px;
    }

    .article__lead {
        font-size: 18px;
        padding-left: 14px;
    }

    .article__p {
        font-size: 16px;
    }

    .article-list__link {
        padding: 18px 20px;
    }

    .article-list__title {
        font-size: 20px;
    }
}

/* --- Уважение к настройке «меньше движения» ---------------------------- */
@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }

    .intro__arrow {
        animation: none;
        opacity: 1;
    }

    .article-list__link:hover {
        transform: none;
    }
}

/* Якорные переходы: шапка при прокрутке фиксируется и накрывает заголовок
   секции, если не отступить от её верха. */
section[id],
main[id] {
    scroll-margin-top: 100px;
}

/* --- Таблица цен ------------------------------------------------------- */
.price__scroll {
    overflow-x: auto;
    margin: 30px 0 10px;
    -webkit-overflow-scrolling: touch;
}

.price {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
    text-align: left;
    font-size: 16px;
}

.price__caption {
    text-align: left;
    color: #aaa;
    font-size: 14px;
    padding-bottom: 12px;
}

.price thead th {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #aaa;
    font-weight: 400;
    padding: 0 16px 12px 0;
    border-bottom: 2px solid #aa0000;
    white-space: nowrap;
}

.price td,
.price tbody th {
    padding: 18px 16px 18px 0;
    border-bottom: 1px solid #222;
    vertical-align: top;
    font-weight: 400;
    text-align: left;
}

.price tbody tr:last-child td,
.price tbody tr:last-child th {
    border-bottom: none;
}

.price__quest a {
    font-size: 20px;
    font-weight: 700;
    border-bottom: 1px solid transparent;
    transition: border-color .3s;
}

.price__quest a:hover {
    border-color: #aa0000;
}

.price__sum {
    color: #aa0000;
    font-weight: 700;
    font-size: 18px;
    white-space: nowrap;
}

.price__muted {
    color: #aaa;
    font-size: 14px;
    font-weight: 400;
}

.price__cta {
    justify-content: flex-start;
    margin: 40px 0 20px;
}

/* Меню подвала переносится: пунктов стало пять */
.footer .menu__list {
    flex-wrap: wrap;
    gap: 20px 30px;
}

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

    .price__quest a {
        font-size: 18px;
    }
}

/* Телефон в шапке не переносится: номер, разорванный пополам, не читается */
.header__phone-link,
.footer__phone .header__phone-link {
    white-space: nowrap;
}

/* Пунктов меню стало четыре — на средних экранах сокращаем шаг */
@media (max-width: 1560px) {
    .header .menu__list {
        gap: 28px;
    }
}

/* --- Блок «Читайте также» ---------------------------------------------- */
.article-section--related {
    padding-top: 20px;
}

.article-section--related::before {
    content: none;
}

.article-list__link--compact {
    padding: 18px 22px;
}

.article-list__link--compact .article-list__title {
    display: block;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
}

.article-list__link--compact .article-list__lead {
    display: block;
}

@media (max-width: 576px) {
    .article-list__link--compact .article-list__title {
        font-size: 18px;
    }
}
