/*
Theme Name: Авторская тема
Description: Тема сайта для Wordpress
Author: Dmitry Kosterin
Author URI: https://dkosterin.ru
License URI: https://dkosterin.ru
Version: 5.1
License: Dmitry Kosterin
Tags: black, white
*/

:root {
  --c: #688fc3;
--cc: #3e6ba7;
  --cl: rgba(227, 231, 235, 1);
  --cw: #ffffff;
  --cb: #080807;
  --shadow: 0 2px 5px rgba(44, 95, 138, 0.3);
  --swiper-theme-color: var(--cb);
  --swiper-navigation-size: 25px;
  --custom-main: #688fc3 !important;
  --custom-main-dark: #1a5f80 !important;
}

html {
  background: var(--cw);
  font-size: 17px;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  scroll-behavior: smooth;
  position: relative;
}

* {
  font-family: "Nunito Sans", sans-serif;
  font-weight: 300;
}

a {
  color: var(--c);
  transition: .3s all ease-in-out;
}

a:hover {
  color: var(--cb);
}

h1 {
  font-size: 3rem;
  font-weight: lighter;
  text-transform: uppercase;
  padding: 20px 0;
}

h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  width: 100%;
  text-align: center;
  font-weight: 200;
}

h2:after {
  content: "﹏﹏";
  color: var(--c);
  display: block;
  margin-top: -30px;
}

h3 {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--c);
}

h4 {
  font-size: 1.2rem;
  font-weight: 400;
}

hr {
  margin: 20px auto;
  width: 100px;
  color: var(--cl);
  height: 2px;
}

.booking-list {
  margin-bottom: 70px;
}

p strong {
  font-weight: 500;
}

.room-text p {
  margin: 10px 0;
}

/* header */

.header {
  position: absolute;
  z-index: 10;
  top: 0;
  color: var(--cb);
  align-items: center;
  justify-content: center;
  padding: 10px 0;
}

header a {
  color: var(--cb);
}

.header img {
  width: 140px;
}

.white-wave {
  width: 100%;
  height: 170px;
  position: relative;
  overflow: hidden;
  margin-top: -165px;
  z-index: 5;
  background: transparent;
}

.wave-svg {
  position: absolute;
  width: 100%;
  height: 100%;
  bottom: 0;
  left: 0;
}

.wave-bottom {
  fill: white;
  opacity: 0.95;
  transform: translateY(0);
}

.wave-mid1 {
  fill: white;
  opacity: 0.8;
  transform: translateY(-15px);
}

.wave-mid2 {
  fill: white;
  opacity: 0.7;
  transform: translateY(-30px);
}

.wave-mid3 {
  fill: white;
  opacity: 0.6;
  transform: translateY(-45px);
}

.wave-top1 {
  fill: white;
  opacity: 0.5;
  transform: translateY(-60px);
}

.wave-top2 {
  fill: white;
  opacity: 0.3;
  transform: translateY(-75px);
}

.wave-spray {
  fill: white;
  opacity: 0.15;
  transform: translateY(-90px);
}

/* booking */

.booking-form {
  width: 100%;
  margin-top: -60px;
  z-index: 10;
}

#hidden-fields {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
}

/* Само модальное окно */
#hidden-fields .form-group:first-of-type {
  background: white;
  max-width: 300px;
  margin: 150px auto;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  animation: slideDown 0.3s ease;
}

#hidden-fields p {
  margin-bottom: 15px;
}

#hidden-fields input {
  width: 100% !important;
}

#hidden-fields input[type="checkbox"] {
  max-width: 15px !important;
}

span.wpcf7-list-item {
  margin: 0 !important;
}

span.wpcf7-list-item label {
  display: flex;
  align-items: center;
  border: none !important;
}

/* Стили для полей формы */
.cf7-room {
  max-width: 800px;
  gap: 20px;
  display: flex;
  height: 120px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  padding: 20px;
  background: var(--cw);
  border-radius: 4px;
}

.cf7-room input {
  width: 150px !important;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  font-weight: 500;
  color: var(--cl);
  background: var(--cw);
  padding: 7px 10px;
  width: fit-content;
  border-radius: 5px;
  margin-left: 5px;
  margin-bottom: -30px;
  font-size: 0.85rem;
  border: 1px solid #ddd;
  position: relative;
  z-index: 5;
}

.form-group input[type="date"],
.form-group input[type="number"],
.form-group input[type="text"],
.form-group input[type="tel"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
  box-sizing: border-box;
}

.form-group input:focus {
  border-color: var(--c);
  outline: none;
}

.calculate-btn {
  background: var(--c);
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  width: 100%;
}

.calculate-btn:hover {
  background: var(--c);
}

/* Кнопка отправки в модальном окне */
.wpcf7-submit {
  background: var(--c);
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  width: 100%;
  margin-top: 10px;
}

.wpcf7-submit:hover {
  background: var(--cb);
}

span.wpcf7-spinner {
  display: none;
}

/* Анимация */
@keyframes slideDown {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Чекбокс согласия */
.form-group input[type="checkbox"] {
  width: auto;
  margin-right: 10px;
}

/* main */

main {
  margin-top: 30px;
}

.about {
  margin-bottom: 60px;
  align-items: center;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-content: center;
  z-index: 10;
  padding: 0 40px !important;
}

.about h3 {
  font-size: 1.7rem;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.about-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
  border-bottom: 2px solid var(--c);
}

.about-grid strong {
  font-size: 4rem;
  margin-right: 10px;
  font-weight: 600;
  color: var(--c);
}

.about-grid>div {
  display: flex;
  align-items: end;
  padding: 20px;
}

.about-grid span {
  text-transform: uppercase;
	    text-align: center;
  margin-bottom: 20px;
}

.about-content p {
  background: var(--cw);
  margin: 10px 0;
}

.about_gallery {
  border-radius: 5px;
  padding: 0 !important;
}

.about_gallery img {
  width: 100% !important;
  height: 500px !important;
  border-radius: 10px 10px 25% 10px;
}

.modern-button {
  margin-top: 20px;
}


/* post */

.post img {
  height: auto;
}

.post strong {
  font-size: 1.3rem;
}

.post-list-image img {
    border-radius: 10px 10px 15% 10px;
}

.post-list-title {
    font-size: 1.4rem;
    text-transform: uppercase;
    margin-top: 15px;
    display: block;
}

.post-list > div {
     margin-bottom: 30px;
}

.location {
  color: var(--c);
  padding: 10px 0;
}

.location i {
  margin-right: 7px;
}

.single-content {
  margin: 20px 0;
}

.single-content strong {
  font-weight: bold;
}

.single-content p {
  padding: 10px 0;
}

.single-content button {
  margin: 20px 0;
}

.single-content ol li {
  list-style: inherit;
  margin-left: 20px;
}

.single-content ol {
  margin-top: 15px;
}

.single-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin: 20px 0;
}

.single-gallery > div {
display: flex;
    justify-content: center;
}

.single-gallery img {
    height: auto;
}

.single-venue {
    display: grid;
	gap: 35px;
    grid-template-columns: 1fr 1fr;
}

.house-single-content p {
    font-size: 1.1rem;
}

.single-venue .feature-item {
    margin-bottom: 5px;
}

.single-venue .feature-item strong {
    text-transform: uppercase;
    font-size: 0.9rem;
    color: var(--c);
}

.single-venue .feature-item span {
    font-weight: 500;
    font-size: 1.3rem;
    margin-left: 5px;
}


.single-venue .venue-price {
    background: var(--c);
    color: var(--cw);
    padding: 5px 20px;
    width: max-content;
	    margin-top: 20px;
}

.single-venue .bed-section {
    margin-bottom: 20px;
}

.single-venue .venue-services {
	    margin: 0 0 20px 0;
	gap: 10px 20px;
	justify-content: right;
}

.single-venue .venue-services i {
	    color: var(--c);
    margin-right: 5px;
}

.services-grid {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

.services-grid>div {
  width: 100%;
  max-width: 300px;
  padding: 20px;
  text-align: center;
}

.services-grid i {
  height: 70px;
  width: 70px;
  font-size: 1.3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--c);
  color: var(--cw);
  border-radius: 25% 10px 25% 10px;
  margin: auto auto 10px auto;
}

.nearby,
.services {
  margin-bottom: 60px;
}

.nearby-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

.nearby-grid>div {
  width: 330px;
  text-align: center;
  display: flex;
  align-items: center;
  padding: 15px;
}

.nearby-grid i {
  height: 50px;
  width: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--c);
  color: var(--cw);
  border-radius: 10%;
  margin: auto 15px;
}

/* slider */

.slider-header {
  position: relative;
  width: 100vw;
  height: 95vh;
  padding: 0;
  margin: 0;
}

.slider-header img {
  height: 85vh !important;
  object-fit: cover;
}

.slider-header-text {
  position: absolute;
  display: flex;
  flex-wrap: wrap;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--cw);
  font-size: 2rem;
  font-weight: bold;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
  text-align: center;
}

.slider-header-text>div {
  text-align: center;
  width: 100%;
  margin: -20px 0 10px 0;
  padding: 0;
}

.slider-header strong {
  font-size: 2.3rem;
  font-weight: 700;
  width: 100%;
}

.slider-header span {
  font-size: 1.5rem;
  font-weight: 400;
  width: 100%;
}

.swiper-button-prev,
.swiper-button-next {
  color: var(--cw) !important;
  opacity: 0.8;
}

.swiper-button-prev {
  margin-left: 20px;
}

.swiper-button-next {
  margin-right: 20px;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  opacity: 1;
}

.swiper-pagination {
  top: -250px !important;
  position: relative !important;
}

.swiper-pagination-bullet {
  width: 15px !important;
  height: 15px !important;
  border: 1px solid var(--c);
  background: var(--cw) !important;
  transition: .4s all ease;
  opacity: 0.6 !important;
}

.swiper-pagination-bullet-active {
  opacity: 1 !important;
}

.slider_footer img {
  padding: 3px !important;
}

.category-description {
  font-size: 1.1rem;
  text-align: center;
}

.category h1 {
    text-align: center;
}

/* chess-post */

.chess {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr 1fr;
  gap: 0px;
  margin-bottom: 30px;
  background: linear-gradient(135deg, rgb(255 255 255), #f1f7fe);
  border: none;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}

.chess-img {
  position: relative;
  border-radius: 0 50px 0 0;
  overflow: hidden;
  height: 100%;
}

.chess-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  transform-origin: center bottom;
  transition: all 0.3s ease;
}

.chess-img img:hover {
  transform: scale(1.05);
}

.chess-meta {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.chess-meta i {
  margin-right: 5px;
}

.chess-meta>div {
  font-size: 0.85rem;
  background: var(--c);
  color: var(--cw);
  padding: 8px 15px;
  border-radius: 15px;
}

.chess-text {
  padding: 30px;
  position: relative;
}

.chess-text h3 {
  font-size: 2.5rem;
  line-height: 1.2;
  color: var(--c);
  display: inline-block;
  font-weight: 600;
  position: relative;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.chess-text h3 a {
  color: var(--cb);
}

.price {
  text-transform: uppercase;
}

.chess-text h3 a:hover {
  transform: translateX(5px);
}

.chess-text>a {
  margin-top: 25px;
}

.chess:nth-child(odd) .chess-text {
  order: 0;
}

.chess:nth-child(odd) .chess-img {
  order: 1;
}

.chess:nth-child(odd) .chess-img {
  border-radius: 50px 0 0 0;
}

@media (max-width: 768px) {
  .chess {
    border-radius: 10px 50px 10px 10px;
  }

  .chess:nth-child(odd) .chess-text {
    order: 1;
  }

  .chess:nth-child(odd) {
    border-radius: 50px 10px 10px 10px;
  }

  .chess:nth-child(odd) .chess-img {
    order: 0;
  }
}

/* button-glow */

.button-glow {
  position: relative;
  display: inline-block;
  padding: 12px 30px;
  background: var(--c);
  color: white;
  font-weight: 500;
  text-decoration: none;
  border: none;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  z-index: 1;
  border: 1px solid transparent;
  box-shadow: var(--shadow);
}

.button-glow::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.4),
      transparent);
  transition: left 0.5s ease;
  z-index: 1;
}

.button-glow::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 20px;
  box-shadow: 0 0 20px var(--c, #688fc3);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.button-glow:hover {
  transform: translateY(-2px);
  background: var(--cc);
	color: var(--cw);
  border: 1px solid var(--cc);
}

.button-glow:hover::before {
  left: 100%;
}

/* swiper-post */

.services-swiper,
.stocks-swiper {
  padding: 20px !important;
  margin-bottom: 40px;
}

.swiper {
  height: 100%;
}

.swiper-slide {
  height: auto;
}

.slide-card {
  background: linear-gradient(135deg, rgb(255 255 255), #f1f7fe);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.slide-card:hover {
  transform: translateY(-5px);
}

.slide-img {
  width: 100%;
  height: 250px;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
}

.slide-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.slide-card:hover .slide-img img {
  transform: scale(1.05);
}

.slide-content {
  padding: 20px 25px 0 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.slide-content p {
  margin: 10px 0;
}

.slide-content h3 {
  margin: 10px 0;
  font-size: 1.4rem;
  text-transform: uppercase;
  line-height: 1.2;
}

.slide-content h3 a {
  color: var(--cc);
  text-decoration: none;
}

.slide-content h3 a:hover {
  color: var(--cb);
}

.slide-content div {
  margin-bottom: 15px;
  line-height: 1.4;
  flex: 1;
}

.services-swiper .swiper-button-prev,
.services-swiper .swiper-button-next,
.stocks-swiper .swiper-button-prev,
.stocks-swiper .swiper-button-next {
  color: var(--cb) !important;
  background: rgba(255, 255, 255, 0.8);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin: auto;
  top: 160px !important;
}

.services-swiper .swiper-button-prev:after,
.services-swiper .swiper-button-next:after,
.stocks-swiper .swiper-button-prev:after,
.stocks-swiper .swiper-button-next:after {
  font-size: 16px !important;
}

.slide-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  margin: 25px 0;
}

/* Адаптивность */
@media (max-width: 768px) {
  .slide-img {
    height: 180px;
  }

  .slide-content h3 {
    font-size: 1.3rem;
  }
}

/* house */

.house-card {
  display: flex;
  background: var(--cw);
  border-radius: 20px;
  padding: 0 !important;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  margin-bottom: 20px;
  border: 1px solid var(--c);
}

.home-slider {
  width: 40%;
  height: 100%;
  margin: 0;
  position: relative;
  z-index: 2;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  filter: brightness(0.95);
}

.house-image {
    width: 45%;
    max-height: 420px;
}

.house-image img {
    width: auto;
    height: 100%;
    display: block;
	opacity: 1;
	transition: .4s all ease;
}

.house-image img:hover {
    opacity: 0.8;
}

/* Правая часть с контентом */
.house-content {
  width: 55%;
  padding: 20px 30px;
  display: flex;
  flex-direction: column;
  background: var(--cw);
  position: relative;
}

.house-content::before {
  content: '✦';
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 24px;
  color: var(--c);
  opacity: 0.2;
  font-weight: 300;
}

.house-title {
  flex: 1;
}

.house-title h3 {
  font-size: 1.8rem;
  font-weight: 500;
  margin: 0 0 10px 0;
  color: var(--cb);
  letter-spacing: -0.02em;
  position: relative;
  display: inline-block;
}

.house-title p {
  font-size: 1rem;
  line-height: 1.4;
  color: var(--cb);
  margin: 15px 0 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  opacity: 0.9;
}

.house-description {
  display: grid;
  grid-template-columns: 1fr minmax(0, 200px);
  gap: 20px;
  border: 1px solid var(--c);
  border-radius: 20px;
  background: linear-gradient(135deg, rgb(255 255 255), #f1f7fe);
  padding: 20px;
}

.time-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: right;
  align-items: center;
}

.time-info span {
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-right: 10px;
}

.time-info strong {
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--c);
}

.venue-features {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin: 15px 0;
}

.venue-features>div {
  display: flex;
  align-items: center;
}

.venue-features i {
  color: var(--c);
  margin-right: 7px;
}

.venue-price {
  background: var(--c);
  color: var(--cw);
  padding: 5px 10px;
  border-radius: 20px;
}

.bed-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.9rem;
}

.bed-list li {
  background: var(--cl);
  border: 1px solid var(--c);
  color: var(--cb);
  padding: 5px 10px;
  border-radius: 20px;
}

.venue-services {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.tooltip-item {
  position: relative;
  display: inline-block;
  cursor: help;
}

.tooltip-item i {
  font-size: 1.1rem;
  color: var(--c);
  transition: transform 0.3s ease;
}

.tooltip-item:hover i {
  transform: scale(1.3);
}

.tooltip-text {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 12px;
  background: var(--cb);
  color: white;
  font-size: 12px;
  white-space: nowrap;
  border-radius: 6px;
  z-index: 100;
  transition: all 0.3s ease;
  pointer-events: none;
  margin-bottom: 10px;
}

.tooltip-text::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: var(--cb) transparent transparent transparent;
}

.tooltip-item:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
  bottom: 120%;
}

.venue-price i {
  color: var(--cw);
}

.house-card:hover {
  background: var(--cw);
  border: 1px solid var(--cb);
}

video[poster] {
  object-fit: cover;
  background-color: var(--cl);
}

.house-address {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--cl);
}

.house-address i {
  color: var(--c);
  font-size: 1rem;
  background: var(--cw);
  padding: 6px;
  border-radius: 50%;
}

.house-price {
  font-size: 1.6rem;
  font-weight: 200;
  background: linear-gradient(135deg, rgb(255 255 255), #f1f7fe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

@media screen and (max-width: 992px) {
    .house-title h3 {
        font-size: 1.3rem;
    }

  .house-title p {
    font-size: 0.9rem;
  }
	
	.venue-features {
    font-size: 0.9rem;
}

  .house-price {
    font-size: 1.2rem;
  }

  .house-address {
    font-size: 0.9rem;
  }
	
	    .house-image {
        max-height: 480px;
    }
}


@media screen and (max-width: 778px) {
	.house-card {
    flex-wrap: wrap;
}
	
    .house-image {
		width: 100%;
 max-height: none !important;
    }
	
	.house-image img {
    width: 100%;
    height: auto;
}
	
	.house-content {
    width: 100%;
}
}

.art-items {
    display: flex;
	flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 30px;
    gap: 20px;
}

.art-image img {
    border-radius: 7px;
}

/* tabs */

.tabs-container {
  margin: 30px 0;
}

.tabs-nav {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
  flex-wrap: wrap;
  border-bottom: 2px solid #f0f0f0;
}

.tab-button {
  padding: 12px 25px;
  background: transparent;
  border: none;
  border-radius: 8px 8px 0 0;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  text-transform: uppercase;
}

.tab-button:hover {
  color: var(--c);
  background: #f8f9fa;
}

.tab-button.active {
  color: var(--c);
  background: #f0f7ff;
}

.tab-button.active::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--c);
  border-radius: 3px 3px 0 0;
}

.tab-count {
  font-size: 14px;
  margin-left: 5px;
  color: #999;
  font-weight: normal;
}

.tab-content {
  display: none;
  animation: fadeIn 0.5s ease;
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
  .tabs-nav {
    gap: 10px;
  }

  .tab-button {
    padding: 10px 20px;
    font-size: 16px;
  }
}

/* tags & breadcrumbs */

.tags,
.breadcrumbs {
  margin: var(--my) 0;
  text-transform: uppercase;
}

.breadcrumbs span {
  margin: 10px;
}

/* faq */

.faq {
  margin: 20px auto;
}

.tab-faq {
  margin-bottom: 5px;
  border: 1px solid gray;
  border-radius: 5px;
  overflow: hidden;
}

.tab-btn {
  width: 100%;
  max-width: 100%;
  padding: 12px 20px;
  text-align: left;
  background: var(--cw);
  border: none;
  font-weight: 400;
  outline: none;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: .4s all ease;
}

.tab-btn:hover {
  background: var(--c);
  color: var(--cw);
}

.tab-btn.active {
  background: var(--c);
  color: var(--cw);
}

.tab-btn::after {
  content: '+';
  font-size: 25px;
}

.tab-btn.active::after {
  content: '-';
}

.tab-faq>div {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background: white;
}

.tab-faq>div p {
  padding: 5px 0;
  margin: 0;
  line-height: 1.5;
}

.tab-faq>div.active {
  max-height: 500px;
}

/* footer */

footer {
  padding: 30px;
  background: var(--c);
  color: var(--cw);
}

footer a {
  color: var(--cw);
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-grid > p {
    width: 100%;
    text-align: center;
}

.footer-social img {
    height: 25px;
    width: auto;
	    transition: .3s all ease;
}

footer a:hover {
    color: var(--cw) !important;
    opacity: 0.8 !important;
}

.footer-social img:hover {
    transform: scale(1.1);
    opacity: 0.9;
}

footer hr {
    margin: 10px 0;
    width: 100%;
    color: var(--cw);
    height: 1px;
    max-width: 220px;
}

.footer-site ul strong {
  display: block;
  padding: 10px;
  color: var(--cl);
}

.footer-site ul i {
  padding: 0 10px 15px 10px;
}

.slider_footer img {
  height: 250px;
  border-radius: 7px;
}

.slider_gost img {
  height: 450px;
  padding: 3px;
}

.map {
  border-top: 5px solid var(--c);
  margin-top: 50px;
	    margin-bottom: -10px;
}

.map-text {
  position: absolute;
  width: 100%;
}

.map iframe {
  width: 100% !important;
  z-index: -1;
}

.map-text h4 {
  width: max-content;
  padding: 15px 30px;
  margin: -30px auto;
  background: var(--c);
  color: var(--cw);
  border-radius: 5px;
  text-transform: uppercase;
}

.footer-logo img {
    width: 100px;
}

footer h4 {
  margin-bottom: 10px;
  font-weight: 600;
}

.footer-social i {
  margin: 10px 10px 10px 0;
  font-size: 1.8rem;
}

.info-header {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  text-align: right;
  justify-content: right;
}

.social-header {
  margin-left: 20px;
}

/* menu */

.sticky-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0);
  transition: all 0.5s ease;
  z-index: 1000;
  padding: 10px 0;
  justify-content: center;
  display: flex;
}

.sticky-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

.menu ul {
  display: flex;
  list-style: none;
  gap: 20px;
  border-bottom: 2px solid var(--cw);
}

.menu a {
  display: block;
  color: var(--cw);
  padding: 10px 15px;
  transition: all 0.5s ease;
  font-weight: bold;
  text-shadow: 0px 1px 7px rgba(0, 0, 0, 1);
  text-transform: uppercase;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 4px 4px 0 0;
}

.title-header img {
  height: 70px;
  opacity: 1;
  width: auto;
  transition: all 0.4s ease;
}

.title-header,
.title-header a {
  display: flex;
  align-items: center;
}

.title-header h1,
.title-header span {
  font-size: 1.1rem;
  color: var(--cw);
  font-weight: 400;
  text-shadow: 0px 0px 5px #5F4B30;
  margin-left: 15px;
  line-height: 105%;
  transition: all 0.4s ease;
  text-transform: uppercase;
}

.sticky-header.scrolled .title-header img {
  height: 60px;
  opacity: 0.7;
  filter: invert(0) drop-shadow(0px 0px 10px white);
}

.info-header i {
  font-size: 1.5rem;
  color: var(--cw);
  text-shadow: 0px 0px 8px rgba(0, 0, 0, 0.7);
  margin-right: 10px;
  top: 2px;
  position: relative;
}

.info-header a,
.info-header span {
  font-size: 0.95rem;
  color: var(--cw);
  text-shadow: 2px 1px 5px rgba(0, 0, 0, 1);
  text-decoration: none;
}

.sticky-header.scrolled .info-header i,
.sticky-header.scrolled .info-header a,
.sticky-header.scrolled .info-header span {
  color: var(--cb);
  text-shadow: none;
}

.sticky-header.scrolled .title-header h1,
.sticky-header.scrolled .title-header span {
  font-size: 0.9rem;
  color: var(--cb);
  text-shadow: 0px 0px 0px #5F4B30;
}


.sticky-header.scrolled .menu a {
  color: var(--cb);
  text-shadow: none;
}

.sticky-header .menu {
  display: flex;
  justify-content: center;
}

.sticky-header .menu ul {
  display: flex;
  list-style: none;
  gap: 10px;
  width: fit-content;
}

.sticky-header .menu li {
  border-top: 3px solid transparent;
  transition: .3s all ease;
}

.sticky-header .menu li:hover {
  border-top: 3px solid var(--cw);
}

.sticky-header.scrolled .menu li {
  border-bottom: 0px solid var(--cw);
}

.burger-menu {
  display: none;
  cursor: pointer;
  z-index: 1001;
  width: 30px;
  height: 20px;
  position: relative;
}

.burger-menu span {
  display: block;
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: var(--cw);
  transition: all 0.3s ease;
}

.burger-menu span:nth-child(1) {
  top: 0;
}

.burger-menu span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.burger-menu span:nth-child(3) {
  bottom: 0;
}

.sticky-header.scrolled .burger-menu span {
  background-color: #333;
}

.burger-menu.active span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

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

.burger-menu.active span:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: var(--cb);
  transition: right 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  z-index: 999 !important;
  padding: 100px 30px 30px;
  overflow-y: auto;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
}

.slider-header-image {
  --slide-overlay-opacity: 0.2;
}

header .slider-header-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  opacity: var(--slide-overlay-opacity);
  mix-blend-mode: multiply;
  transition: opacity 0.4s ease;
}

.mobile-menu-overlay.active {
  right: 0;
}

.mobile-menu {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  list-style: none;
  gap: 10px;
  padding-top: 40px;
  border: none !important;
}

.mobile-menu a {
  display: block;
  color: var(--cw);
  font-size: 1.2rem;
  padding: 5px 0;
  text-decoration: none;
  transition: all 0.3s ease;
  text-shadow: none;
}

.mobile-menu .info-header {
  margin-top: auto;
  padding-bottom: 40px;
  border: none !important;
  color: var(--cw);
}


.mobile-menu .info-header li {
  text-align: right;
  justify-content: right;
  display: flex;
}

.mobile-menu .info-header a {
  display: flex;
  align-items: center;
  color: var(--cw);
  font-size: 1rem;
}

.mobile-menu .info-header i {
  margin-right: 10px;
  font-size: 1.2rem;
  width: 30px;
  color: var(--cw);
  text-shadow: none;
  text-align: center;
}

.room-booking iframe {
  height: 100px !important;
}

.booking-header {
  display: none;
}

.booking-header a {
  font-size: 0.8rem;
  text-transform: uppercase;
  filter: drop-shadow(0 0 7px #000);
  font-weight: bold;
}

.scrolled .booking-header a {
  color: var(--cb);
  filter: none;
}


/* booking-iframe */

.booking {
  z-index: 15;
  max-width: 1280px;
  margin: 0 auto -130px auto;
  width: 80%;
  position: relative;
  top: -160px;
}

#block-search,
#block-search * {
  box-sizing: border-box;
}

#block-search {
  background: rgba(227, 231, 235, 1);
  border-radius: 20px;
}

#tl-search-form {
  padding: 0 30px;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.x-tl-booking-widget {
  height: 3em;
  max-width: 3em;
}

.x-tl-booking-widget__svg_doorkey {
  width: 1.8em;
}

/* mobile */


@media (max-width: 1200px) {
.house-image {
    max-height: 440px;
}
	 }

@media (max-width: 992px) {
  .about-content {
    padding: 30px 0 0 !important;
  }
	
	h1 {
    font-size: 2.4rem;
}

  .about-grid {
    justify-content: center;
  }

  .footer-grid div {
    margin-bottom: 20px;
  }

  .burger-menu {
    display: block;
    margin: auto !important;
  }

  .sticky-header .menu ul {
    display: none;
  }

  .mobile-menu .info-header span {
    font-size: 1.2rem;
    text-transform: uppercase;
  }

  .chess-text h3 {
    font-size: 1.7rem;
  }

  .chess-meta>div {
    font-size: 0.8rem;
    padding: 5px 10px;
  }

  .booking {
    margin: 0 auto -220px auto;
    top: -270px;
  }

  .swiper-pagination {
    top: -330px !important;
  }

  .house-description {
    grid-template-columns: 1fr;
  }

  .room-text {
    order: 2;
  }
	
	.single-venue {
    grid-template-columns: 1fr;
}
	
	.single-venue .venue-services {
    justify-content: left;
}

  .time-info {
    justify-content: space-between;
  }
	
	.info-header div:nth-child(1) {
   display: none;
}
}

@media (max-width: 768px) {

  html {
    font-size: 16px;
  }

  .slider-header strong {
    font-size: 1.8rem;
  }

  .slider-header span {
    font-size: 1.2rem;
  }

  .room-booking iframe {
    height: 270px !important;
  }
	
	  .title-header h1 {
    display: none;
  }

  .slider-header-text {
    width: 80%;
  }

		h1 {
    font-size: 2rem;
}
	
  .about {
    margin-top: 80px;
  }

  .cf7-room .calculate-btn {
    width: 100vh !important;
    top: -25px;
    position: relative;
  }

  .room-image {
    padding-left: 0;
  }

  .title-header h1 {
    font-size: 1.2rem;
  }

  .sticky-header.scrolled .title-header h1,
  .sticky-header.scrolled .title-header span {
    font-size: 1rem;
  }

  .slider-header-text {
    transform: translate(-50%, -50%);
  }
	
	.swiper-button-prev, .swiper-button-next {
    top: 120px !important;
}

  .chess {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {

  .about {
    margin-top: 40px;
  }
	
	h1 {
    font-size: 1.5rem;
}

  .about-content {
    padding: 20px !important;
  }

  .about_gallery {
    border: 0;
  }

  .about-grid {
    justify-content: center;
  }

  .house-card:hover {
    transform: none;
  }
	
		  .title-header h1 {
    display: block;
  }

  .cf7-room {
    max-width: 250px;
    border: 1px solid var(--c);
    height: auto !important;
  }

  nav {
    justify-content: right;
    display: flex;
  }

  .about_gallery img {
    border-radius: 0 0 15% 0;
  }

  .about-grid {
    border-bottom: none;
  }

  .header-container .info-header {
    display: none;
  }

  .burger-menu {
    margin: 10px !important;
    display: block;
  }

  .cf7-room .form-group {
    width: 100%;
    text-align: center;
    display: block;
  }

  .cf7-room .calculate-btn {
    width: auto !important;
    position: relative;
    top: 0;
  }
}