/*
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 ПЕРЕМЕННЫЕ ========== */
:root {
  --bg: #ffffff;
  --text: #1a1a1a;
  --primary: #4a90e2;
  --secondary: #98c5e4;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  --radius: 8px;
  --transition: 0.2s ease;
  --margin-x: 1.5rem;
  --margin-y: 1.5rem;
}

/* ========== СБРОС СТИЛЕЙ ========== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
  padding: 0;
}

body {
  font-family: "Jost", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  width: 100%;
  object-fit: cover;
}

h1,
h2 {
  text-transform: uppercase;
}

h3 {
  font-size: 1.7rem;
}

h4 {
  font-size: 1.4rem;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

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

p {
  margin: 10px 0;
}

/* ========== КОНТЕЙНЕР ========== */
.block {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  margin: auto;
}

@media (min-width: 576px) {
  .block {
    max-width: 540px;
  }
}
@media (min-width: 768px) {
  .block {
    max-width: 720px;
  }
}
@media (min-width: 992px) {
  .block {
    max-width: 960px;
  }
}
@media (min-width: 1200px) {
  .block {
    max-width: 1140px;
  }
}
@media (min-width: 1400px) {
  .block {
    max-width: 1320px;
  }
}

blockquote {
  background: linear-gradient(to right, rgba(74, 144, 226, 0.05), transparent);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1rem 2rem;
  margin: 1rem 0;
  font-size: 1.4rem;
  line-height: 1.6;
  color: var(--text);
  position: relative;
  transition: all var(--transition);
}

blockquote p {
  margin: 0;
}

blockquote:hover {
  border-left-width: 6px;
  background: linear-gradient(to right, rgba(74, 144, 226, 0.08), transparent);
}

.breadcrumbs {
  margin-top: 40px;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.box-content {
  background: var(--primary);
  padding: 20px;
  color: var(--bg);
}

.box-content i {
  float: left;
  padding: 15px;
  font-size: 3rem;
}

.box-content button {
  background: var(--bg) !important;
  margin-top: 20px;
  color: var(--primary);
  border: none !important;
  font-size: 1.4rem;
  border-radius: var(--radius);
  padding: 12px 24px;
  display: block;
}

/* ========== ЗАГОЛОВКИ ========== */
.block-title {
  text-transform: uppercase;
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  width: 100%;
  padding: 30px 0 10px;
  letter-spacing: 2px;
  position: relative;
}

.block-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: var(--primary);
  margin: 5px auto 0;
  border-radius: 2px;
  transition: width var(--transition);
}

.block-title:hover::after {
  width: 120px;
}

.block-text {
  width: 100%;
  text-align: center;
  font-size: 1.1rem;
  padding: 10px 0;
}

.title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  text-align: center;
  text-transform: uppercase;
}

/* ========== HEADER ========== */
header {
  height: 140px;
}

.header-top {
  display: grid;
  grid-template-columns: 2fr 3fr 2fr;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
}

.site-title {
  display: flex;
  justify-content: center;
  align-items: center;
}

.site-title p {
  line-height: normal;
  text-transform: uppercase;
  margin: 0;
  font-size: 0.9rem;
}

.site-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.site-logo img {
  width: 60px;
}

.booking-button {
  text-align: right;
  display: flex;
  flex-wrap: wrap;
  justify-content: right;
  font-size: 0.9rem;
  gap: 10px;
}

.booking-form {
  position: absolute;
  width: 100%;
  bottom: 30px;
  text-align: center;
}

.btn,
.single-content button.col-6 {
  background: var(--primary);
  color: var(--bg);
  padding: 8px 12px;
  border-radius: var(--radius);
  text-transform: uppercase;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  padding: 0.8rem 1.5rem;
  font-size: 0.9rem;
  transition: all var(--transition);
  box-shadow: var(--shadow);
}

.btn span,
.single-content button.col-6 span {
  transition: transform var(--transition);
}

.btn:hover,
.single-content button.col-6:hover {
  background: #3a7bc8;
  box-shadow: 0 8px 20px rgba(74, 144, 226, 0.3);
  transform: translateY(-2px);
  color: white;
}

.btn:hover span,
.single-content button.col-6:hover span {
  transform: translateX(5px);
}

.single-content button.col-6 a {
  color: var(--bg);
}

.single-content button.col-6 {
  margin: 2rem auto;
  border: none;
  font-size: 1.2rem;
  display: block;
}

.single-content h2 {
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
  margin: 2rem 0 1rem;
  letter-spacing: -0.01em;
  display: inline-block;
  position: relative;
}

.single-content h2::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), transparent);
  border-radius: 2px;
}

.booking-button .btn {
  margin-top: 0;
}

.booking-icon {
  display: flex;
  gap: 10px;
}

.booking-icon a {
  display: flex;
  align-items: center;
  gap: 10px;
}

.booking-icon i {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.3rem;
  background: var(--primary);
  color: var(--bg);
  border-radius: var(--radius);
  width: 40px;
  height: 40px;
}

#block-search {
  max-width: 1200px;
  transform: scale(0.8);
  margin: auto;
  padding: 10px 30px 0;
  background: #4a90e2b8;
  border-radius: var(--radius);
}

/* ========== VIDEO HEADER ========== */
.video-header {
  position: relative;
  z-index: 1;
}

.video-header img {
  width: 100%;
  height: calc(100vh - 140px);
}

.video-header video {
  width: 100%;
  height: calc(100vh - 140px);
  object-fit: cover;
}

.wp-video {
  width: 100% !important;
}

.mobile-phone-sticky {
  padding: 15px 0;
}

.mobile-phone-sticky a {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* ========== ABOUT ========== */
.about {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  font-size: 1.1rem;
}

.about-content h1 {
  text-transform: uppercase;
  padding: 10px 0;
}

.about-content p {
  font-size: 1.2rem;
}

/* ========== ОБЩИЕ КАРТОЧКИ ========== */
.card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  height: 100%;
  text-decoration: none;
  color: inherit;
  border: 1px solid #eef0f4;
  position: relative;
}

.card h2 {
  padding: 25px 1.5rem 15px 1.5rem;
  line-height: 1.3;
  font-size: 1.3rem;
}

.services .card p {
  padding: 0 1.5rem;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(74, 144, 226, 0.15);
  border-color: rgba(74, 144, 226, 0.3);
}

.card-image {
  width: 100%;
  height: auto;
  overflow: hidden;
  aspect-ratio: 14 / 9;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  align-items: flex-start;
  text-align: left;
}

.card-title {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.75rem;
  color: var(--text);
  transition: color var(--transition);
  text-transform: uppercase;
}

.card:hover .card-title {
  color: var(--primary);
}

.card-text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
}

.card-text:hover {
  color: var(--text);
}

.card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ff6b6b;
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: 30px;
  align-self: flex-start;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-badge--discount {
  background: #e74c3c;
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
}

.card-date {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  color: var(--primary);
  font-weight: 500;
  text-transform: uppercase;
}

.card-date::before {
  content: "📅";
  font-size: 1rem;
}

.card-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: var(--primary);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 30px;
  position: absolute;
  top: 20px;
  left: 10px;
}

.card-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition:
    gap 0.2s ease,
    color 0.2s;
  border-top: 1px solid #eef2f6;
  padding-top: 1rem;
  margin: 1rem 1.5rem;
}

.card-link:hover {
  gap: 10px;
  color: var(--primary);
}

.card--featured {
  background: linear-gradient(145deg, #ffffff 0%, #f9fcff 100%);
  border-left: 6px solid var(--primary);
  box-shadow: 0 12px 28px rgba(74, 144, 226, 0.12);
}

.card--featured h2 {
  font-size: 1.8rem;
  color: #0a2a44;
}

.card--icon {
  padding: 2rem 1.5rem;
  align-items: center;
  text-align: center;
}

.card--icon .card-content {
  align-items: center;
  text-align: center;
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* ========== СЕТКИ ========== */
.services .cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  width: 100%;
}

.grid {
  display: grid;
  gap: 1.5rem;
  width: 100%;
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

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

/* ========== АНИМАЦИЯ КАРТОЧЕК ========== */
.card {
  animation: cardFadeIn 0.6s ease both;
}

.card:nth-child(1) {
  animation-delay: 0.05s;
}
.card:nth-child(2) {
  animation-delay: 0.15s;
}
.card:nth-child(3) {
  animation-delay: 0.25s;
}
.card:nth-child(4) {
  animation-delay: 0.35s;
}

@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== SPLIDE ========== */
.splide {
  width: 100%;
}

.splide__pagination {
  bottom: auto !important;
  padding: 0.5em 1em !important;
}

.splide__pagination__page {
  background: var(--secondary) !important;
}

.splide__pagination__page.is-active {
  background: var(--primary) !important;
}

.afisha .splide__arrow {
  top: 30% !important;
}

.photo img {
  height: 400px;
  border-radius: var(--radius);
}

/* ========== КОНТЕНТ-БЛОКИ ========== */
.about,
.services,
.afisha,
.content-block {
  width: 100%;
  padding: 60px 0;
  background: var(--bg);
}

.content-block-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--margin-x);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.content-block-container--stacked {
  grid-template-columns: 1fr;
  gap: 3rem;
  text-align: center;
}

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

.content-block-content--center {
  align-items: center;
  text-align: center;
  width: 100%;
}

.content-block h2 {
  text-align: center;
  width: 100%;
}

.df-bg {
  background-color: var(--bg) !important;
}

/* Бейдж */
.badge {
  display: inline-block;
  background: rgba(74, 144, 226, 0.1);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 0.5rem 1.2rem;
  border-radius: 30px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(74, 144, 226, 0.2);
  transition: all var(--transition);
}

.badge:hover {
  background: var(--primary);
  color: white;
  box-shadow: var(--shadow);
}

/* Текст */
.text {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.text--center {
  max-width: 800px;
  margin: 0 auto 1rem;
  text-align: center;
}

/* Выделенный текст */
.highlight {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 1rem;
  padding-left: 1rem;
  border-left: 3px solid var(--primary);
  font-weight: 500;
}

.highlight em {
  color: var(--primary);
  font-style: italic;
  font-weight: 600;
}

.highlight--center {
  border-left: none;
  padding-left: 0;
  border-top: 3px solid var(--primary);
  padding-top: 1rem;
  max-width: 500px;
  margin: 0 auto;
  font-size: 1.2rem;
}

/* Видео */
.video {
  position: relative;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--text);
}

/* ========== HOTEL SLIDER ========== */
.hotel-slider {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tablinks {
  padding: 12px 28px;
  background: var(--bg);
  border: 2px solid #e0e0e0;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  color: #555;
  transition: all var(--transition);
}

.tablinks.open,
.tablinks:hover {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

.wrapper-tabcontent .tabcontent {
  display: none;
}

.wrapper-tabcontent .tabcontent.open {
  display: block;
}

.hotel-slider li {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
}

.room-card {
  display: block;
  text-decoration: none;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
}

.room-card-image-wrapper {
  overflow: hidden;
}

.room-card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.room-card:hover .room-card-image {
  transform: scale(1.05);
}

.hotel-image img {
  border-radius: 0 50px 0 0;
  height: 350px;
}

.hotel-text__divider {
  border: none;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    var(--secondary),
    transparent
  );
  margin: 16px 0;
  opacity: 0.5;
}

.hotel-text__tag {
  display: flex;
  justify-content: center;
  gap: 25px;
}

.hotel-text__tag span {
  gap: 7px;
  display: flex;
  align-items: center;
}

.hotel-text__button {
  display: inline-block;
  padding: 12px 28px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  transition: all var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 4px 6px;
}

.hotel-text__button:hover {
  background: #3a7bc8;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(74, 144, 226, 0.4);
  color: #fff;
}

.price-card {
  padding: 5px 15px;
  background: var(--primary);
  font-size: 1rem;
  width: max-content;
  text-transform: uppercase;
  color: var(--bg);
  font-weight: bold;
  border-radius: var(--radius);
  margin: auto;
}

.price-data-card {
  color: var(--primary);
  margin-top: 5px;
  font-size: 0.9rem;
  text-transform: uppercase;
  text-align: center;
}

.hotel-text__price {
  margin: 10px 0;
  display: block;
}

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

.hotel-text__title {
  font-size: 1.6rem;
  text-transform: uppercase;
}

/* ========== FOOTER ========== */
.site-footer {
  text-align: center;
  padding: 24px;
  color: #94a3b8;
  font-size: 0.9rem;
  border-top: 1px solid #e2e8f0;
}

/* ========== БЛОК 10: ЕДА ========== */
.food-block {
  background: var(--bg);
}

.title--left {
  text-align: left;
  text-transform: none;
}

.food-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.food-gallery-main {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.food-gallery-main img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.food-gallery-main:hover img {
  transform: scale(1.05);
}

.food-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.food-gallery-grid img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform 0.3s ease;
}

.food-gallery-grid img:hover {
  transform: scale(1.1);
}

/* ========== БЛОК 11: СЮДА ВОЗВРАЩАЮТСЯ ========== */
.return-block {
  background: #f9fafb;
}

.stories-grid {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  width: 100%;
}

.story-card {
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  cursor: pointer;
  position: relative;
}

.story-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.story-card-video {
  position: relative;
  width: 100%;
  max-width: 350px;
  height: 100%;
  overflow: hidden;
  background: var(--secondary);
}

.story-card-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.front-video {
  max-width: none;
}

.story-card-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  pointer-events: none;
}

.story-card-play i {
  font-size: 1.5rem;
  color: var(--primary);
  margin-left: 5px;
}

.story-card:hover .story-card-play {
  background: var(--primary);
  transform: translate(-50%, -50%) scale(1.1);
}

.video .story-card:hover {
  transform: none;
}

.story-card:hover .story-card-play i {
  color: white;
}

.story-card-content {
  padding: 1.5rem;
  text-align: center;
}

.story-card-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.story-card-years {
  display: inline-block;
  background: rgba(74, 144, 226, 0.1);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: 30px;
  margin-bottom: 1rem;
}

.story-card-text {
  font-size: 0.9rem;
  font-style: italic;
  line-height: 1.5;
}

/* ========== МОДАЛЬНОЕ ОКНО ДЛЯ ВИДЕО ========== */
.video-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.video-modal.open {
  display: flex;
}

.video-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
}

.video-modal-content {
  position: relative;
  z-index: 1;
  width: 90%;
  max-width: 1000px;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.video-modal-content video {
  width: 100%;
  height: auto;
  max-height: 80vh;
  display: block;
}

.video-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  padding: 10px !important;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  font-size: 1.7rem;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: normal;
}

.video-modal-close:hover {
  background: var(--secondary);
}

/* ========== БЛОК 12: КЛУБ ДРУЗЕЙ ========== */
.club-block,
.animation {
  background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
}

.club-benefits {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0;
}

.club-benefit {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
  color: var(--text);
}

.club-benefit-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(74, 144, 226, 0.1);
  border-radius: 50%;
  font-size: 1.2rem;
}

.club-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.club-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

/* ========== БЛОК 13: ОТЗЫВЫ ========== */
.reviews-block {
  background: #f9fafb;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  width: 100%;
}

.review-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  text-align: center;
  transition: all var(--transition);
}

.review-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.review-card-stars {
  color: #fbbf24;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.review-card-text {
  font-size: 0.95rem;
  color: var(--text);
  font-style: italic;
  margin-bottom: 1rem;
}

.review-card-author {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
}

/* ========== БЛОК 14: ГДЕ МЫ ========== */
.location-block {
  background: var(--bg);
}

.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 400px;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  background: #e5e7eb;
}

.map-placeholder iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ========== БЛОК 15: ФИНАЛЬНЫЙ ========== */
.final-block {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}

.final-block-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary);
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
}

.final-block .content-block-container {
  position: relative;
  z-index: 1;
}

.title--light {
  color: var(--bg);
}

.text--light {
  color: var(--bg);
}

.help-link {
  display: inline-block;
  margin-top: 1rem;
  color: white;
  text-decoration: underline;
  font-size: 0.9rem;
}

.final-block .btn {
  background: var(--bg);
  color: var(--text);
}

/* ========== FOOTER ========== */
footer {
  background: #1a1a1a;
  color: #fff;
  padding: 60px 0 0;
  margin-top: 60px;
}

/* Основная сетка футера */
footer > section:first-of-type {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--margin-x);
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* Заголовки колонок */
footer span {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: var(--secondary);
  position: relative;
  padding-bottom: 10px;
}

footer span::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--primary);
}

/* Списки */
footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer ul li {
  margin-bottom: 12px;
}

footer ul li a {
  color: #fff;
  text-decoration: none;
  transition: all var(--transition);
  font-size: 0.95rem;
  display: inline-block;
}

footer ul li a:hover {
  color: var(--primary);
  transform: translateX(5px);
}

footer p {
  margin: 0;
  font-size: 0.9rem;
  color: #b0b0b0;
  line-height: 1.6;
}

footer i {
  color: var(--primary);
  margin-right: 8px;
  width: 20px;
  text-align: center;
}

/* Отзывы */

.otz {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.otz a {
  display: flex;
  border: none;
  justify-content: center;
  border: 2px solid;
  width: max-content;
  border-radius: 15px;
  color: black !important;
  margin: 10px;
}

.otz a:hover {
  background: var(--secondary);
  color: white !important;
  transition: 0.5s all;
}

.otz strong {
  text-transform: uppercase;
  font-size: 1.4rem;
  padding-top: 10px;
  display: block;
}

.otz p {
  margin-top: 0;
}

.otz > a > div {
  margin-right: 30px;
}

.otz-zn {
  margin-right: 0px !important;
  width: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.otz i {
  font-size: 2.2em;
  margin: auto;
}

/* Галерея */

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  width: 100%;
  margin: 2rem 0;
}

.gallery img {
  aspect-ratio: 1 / 1;
}

.gallery br {
  display: none;
}

/* Социальные иконки */
footer .social {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

footer .social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all var(--transition);
}

footer .social a:hover {
  background: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(74, 144, 226, 0.3);
}

footer .social i {
  font-size: 1.2rem;
  color: #fff;
  margin: 0;
  width: 30px;
}

/* Нижняя часть футера */
footer .footer-site {
  max-width: 1200px;
  margin: 40px auto 0;
  padding: 30px var(--margin-x);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
  justify-items: center;
}

footer .footer-site .row {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

footer .footer-site img {
  max-height: 80px;
  border-radius: 3px;
}

.footer-site div {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
}

footer .footer-site p {
  font-size: 0.85rem;
  color: #888;
  line-height: 1.5;
}

footer .footer-site a {
  color: var(--secondary);
  text-decoration: underline;
  transition: color var(--transition);
}

footer .footer-site a:hover {
  color: var(--primary);
}

.services-content {
  column-count: 2;
  gap: 1em;
  margin: 30px 0;
  border-bottom: 2px solid var(--primary);
  border-top: 2px solid var(--primary);
  padding: 20px 0;
}

.services-content p {
  margin: 0 0 10px 0;
  text-transform: uppercase;
}

.services-content span {
  font-weight: bold;
}

.services-content ul,
.single-content ul,
.single-content ol {
  margin-bottom: 20px;
  margin-left: 20px;
}

.notice {
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 1em;
  border: 1px solid var(--primary);
  padding: 10px 20px;
}

/* single */

.single-content {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 100px;
}

.header-content {
  border-radius: var(--radius);
  text-align: center;
  padding: 40px;
  background: var(--bg);
  width: max-content;
  max-width: 85%;
  margin: auto;
  position: relative;
  margin-top: -80px;
  border-top: 3px solid var(--secondary);
}

.header-content p {
  font-size: 1.3rem;
}

.header-title img {
  max-height: 550px;
}

.single-content h2,
.single-content h3,
.single-content h4 {
  text-transform: uppercase;
  margin: 20px 0;
  width: 100%;
}

.single-room {
  text-align: center;
  width: 100%;
}

.room .card-content {
  flex: none;
  text-align: center;
}

.room .card-title {
  margin: auto;
  margin-bottom: 10px;
}

.card:hover .hotel-text__tag {
  color: var(--text);
}

.column {
  column-count: 2;
  margin-top: 20px;
  gap: 1rem;
}

aside {
  position: sticky;
  top: 50px;
  align-self: start;
  height: fit-content;
}

aside h3 {
  margin: 0 !important;
}

.single-content p {
  width: 100%;
}

.single-content li {
  list-style: square;
}

/* category */

.category-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
}

.category-content h2 {
  padding: 0;
}

#tl-booking-form {
  background: #faebd7;
  padding: 30px;
}

.splide-services .splide__arrow,
.splide-room .splide__arrow {
  top: 35%;
}

/* Адаптивность */
@media (max-width: 768px) {
  footer > section:first-of-type {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  footer {
    padding: 40px 0 0;
  }

  footer .social {
    justify-content: flex-start;
  }
}

/* ========== MEDIA QUERIES ========== */
@media (max-width: 1024px) {
  .splide-arrow--prev {
    left: 5px;
  }
  .splide-arrow--next {
    right: 5px;
  }
}

@media (max-width: 992px) {
  .about {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 16px;
  }
  h1,
  h2 {
    text-align: center;
  }
  header {
    height: 90px;
  }
  .header-top {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .site-title p {
    display: none;
  }
  .booking-button {
    order: -1;
    justify-content: left;
  }
  .booking-button a {
    font-size: 0.8rem;
    padding: 0.7rem;
  }
  .booking-button a:last-child {
    display: none;
  }
  .booking-icon {
    display: none;
  }
  .category-grid {
    grid-template-columns: 1fr;
  }
  .single-content {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .hotel-slider {
    padding: 40px 15px;
    max-width: 100%;
  }
  .tabs {
    gap: 8px;
  }
  .tablinks {
    padding: 10px 20px;
    font-size: 14px;
  }
  .room-card-image {
    height: 200px;
  }
  .hotel-text {
    padding: 16px 18px 20px;
  }
  .hotel-text-title {
    font-size: 16px;
  }
  .hotel-text-price {
    font-size: 20px;
  }
  .hotel-text-button {
    padding: 10px 20px;
    font-size: 13px;
  }
  .splide-arrow {
    width: 40px;
    height: 40px;
  }
  .block {
    padding: 40px 15px;
  }
  .title {
    font-size: 28px;
  }
  .about-content h1 {
    text-align: center;
    font-size: 1.8rem;
  }
  .services .cards-grid {
    grid-template-columns: 1fr !important;
    grid-template-rows: 1fr !important;
  }
  .services .cards-grid > *:first-child {
    grid-column: auto;
    grid-row: auto;
  }

  .services .cards-grid > *:nth-child(2) {
    grid-column: auto;
    grid-row: auto;
  }

  .services .cards-grid > *:nth-child(3) {
    grid-column: auto;
    grid-row: auto;
  }

  .services .cards-grid > *:nth-child(4) {
    grid-column: auto;
    grid-row: auto;
  }

  .services .card:nth-child(1) img {
    height: auto;
  }

  .content-block-container {
    grid-template-columns: 1fr;
  }

  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .hotel-slider li {
    grid-template-columns: repeat(1, 1fr);
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .club-image img {
    height: auto;
  }

  .box-content i {
    font-size: 2rem;
  }

  .header-content {
    padding: 40px 40px 0 40px;
  }
}

@media (max-width: 576px) {
  .grid--4 {
    grid-template-columns: repeat(1, 1fr);
  }

  .grid--3 {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media (max-width: 480px) {
  .tabs {
    gap: 6px;
  }
  .tablinks {
    padding: 8px 16px;
    font-size: 13px;
  }
  .room-card-image {
    height: 180px;
  }
  .hotel-text-button {
    display: block;
    margin: 6px 0;
  }
  .splide-arrow {
    width: 36px;
    height: 36px;
  }
  .card-badge {
    top: 8px;
    right: 8px;
    padding: 4px 12px;
    font-size: 12px;
  }
}
