/* Цветовая система */
:root {
  --color-primary: #1a365d;
  --color-accent: #c5a880;
  --color-background: #ffffff;
  --color-surface: #f7fafc;
  --color-surface-alt: #e2e8f0;
  --color-text: #333333;
  --color-text-secondary: #718096;
  --color-text-muted: #a0aec0;
  --color-text-light: #cbd5e0;
  --color-text-inverse: #ffffff;
  --color-border: #e2e8f0;
  --color-border-strong: #2d3748;
  --radius-main: 12px;
}

/* Базовые сбросы и типографика */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--color-text);
  background-color: var(--color-background);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: "Nunito Sans", sans-serif;
  color: var(--color-primary);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 80px 0;
}

.text-center { text-align: center; }
.rounded-img { border-radius: var(--radius-main); }

/* Кнопки */
.btn {
  display: inline-block;
  padding: 12px 28px;
  font-weight: 600;
  border-radius: var(--radius-main);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  text-align: center;
}

.btn--primary {
  background-color: var(--color-primary);
  color: var(--color-text-inverse);
}

.btn--primary:hover {
  background-color: #11243f;
}

.btn--accent {
  background-color: var(--color-accent);
  color: #1a202c;
}

.btn--accent:hover {
  background-color: #b3946b;
}

/* Сетки */
.grid {
  display: grid;
  gap: 30px;
}

.grid--2col {
  grid-template-columns: repeat(2, 1fr);
}

/* Шапка */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  z-index: 1000;
  transition: all 0.3s ease;
}

.header--static {
  position: static;
  background-color: var(--color-background);
}

.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
}

.header__logo {
  display: flex;
  flex-direction: column;
}

.logo__title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}

.logo__stars {
  font-size: 0.8rem;
  color: var(--color-accent);
  margin-top: 2px;
}

.nav__list {
  display: flex;
  list-style: none;
  gap: 20px;
}

.nav__link {
  font-weight: 500;
  color: var(--color-text);
}

.nav__link:hover {
  color: var(--color-accent);
}

.header__contacts {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header__email {
  font-weight: 500;
  font-size: 0.95rem;
}

.burger-menu {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.burger-menu span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--color-primary);
  transition: all 0.3s ease;
}

/* Герой-блок */
.hero {
  padding: 180px 0 120px 0;
  background-size: cover;
  background-position: center;
  color: var(--color-text-inverse);
  text-align: center;
}

.hero__container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero__content h1 {
  color: var(--color-text-inverse);
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.hero__subtitle {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 3rem auto;
  color: var(--color-text-light);
}

/* Формы бронирования */
.booking-form {
  background-color: var(--color-background);
  padding: 24px;
  border-radius: var(--radius-main);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  color: var(--color-text);
}

.horizontal-form {
  display: flex;
  gap: 15px;
  align-items: flex-end;
  justify-content: center;
}

.form__group {
  flex: 1;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form__group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  text-transform: uppercase;
}

.form__field {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  background-color: var(--color-surface);
}

.form__field:focus {
  border-color: var(--color-primary);
}

.form__group.btn-group {
  flex: 0 0 auto;
}

.cta-submit-btn {
  width: 100%;
  height: 48px;
  white-space: nowrap;
}

/* Об отеле */
.section-tag {
  display: inline-block;
  color: var(--color-accent);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 50px;
}

.adv-card {
  background-color: var(--color-surface);
  padding: 30px;
  border-radius: var(--radius-main);
  border: 1px solid var(--color-border);
}

.adv-card__icon {
  font-size: 2rem;
  margin-bottom: 15px;
}

.adv-card h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.adv-card p {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
}

/* Номера */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px auto;
}

.section-header p {
  color: var(--color-text-secondary);
}

.rooms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.room-card {
  background-color: var(--color-background);
  border-radius: var(--radius-main);
  border: 1px solid var(--color-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.room-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.room-card__image {
  height: 220px;
  overflow: hidden;
}

.room-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.room-card:hover .room-card__image img {
  transform: scale(1.05);
}

.room-card__content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.room-card__meta {
  display: flex;
  gap: 15px;
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  margin-bottom: 10px;
  font-weight: 500;
}

.room-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  min-height: 50px;
}

.room-card p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  margin-bottom: 20px;
  flex: 1;
}

.room-btn {
  width: 100%;
}

/* Лид-магнит */
.lead-magnet {
  margin: 40px auto;
}

.lead-magnet__wrapper {
  background-size: cover;
  background-position: center;
  padding: 60px;
  border-radius: var(--radius-main);
  color: var(--color-text-inverse);
}

.lead-magnet__content {
  max-width: 600px;
}

.lead-magnet__content h2 {
  color: var(--color-text-inverse);
  margin-bottom: 15px;
}

.lead-magnet__content p {
  font-size: 1.1rem;
  margin-bottom: 25px;
  color: var(--color-text-light);
}

/* Услуги */
.services {
  background-color: var(--color-surface);
}

.services-list-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.service-group-block {
  background-color: var(--color-background);
  padding: 35px;
  border-radius: var(--radius-main);
  border: 1px solid var(--color-border);
}

.service-group-block h3 {
  margin-bottom: 20px;
  border-bottom: 2px solid var(--color-accent);
  padding-bottom: 10px;
}

.service-group-block ul {
  list-style: none;
}

.service-group-block li {
  margin-bottom: 15px;
  padding-left: 25px;
  position: relative;
}

.service-group-block li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: bold;
}

/* Галерея */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.gallery__item {
  height: 200px;
  overflow: hidden;
  border-radius: 8px;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery__item:hover img {
  transform: scale(1.05);
}

/* Отзывы */
.reviews-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.review-card-item {
  background-color: var(--color-surface);
  padding: 25px;
  border-radius: var(--radius-main);
  border: 1px solid var(--color-border);
}

.review-card__top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  font-weight: 600;
}

.review-card__name {
  color: var(--color-primary);
}

.review-card__rating {
  color: #d69e2e;
}

.review-card__text {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  font-style: italic;
}

/* Локация и карта */
.location__info h3 {
  margin: 25px 0 10px 0;
}

.address-text {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.how-to-get ul {
  list-style-type: disc;
  padding-left: 20px;
  margin-top: 10px;
}

.how-to-get li {
  margin-bottom: 8px;
}

.map-wrapper {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border-radius: var(--radius-main);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

/* FAQ Аккордеон */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  background: none;
  border: none;
  text-align: left;
  font-family: "Nunito Sans", sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-primary);
  cursor: pointer;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-content p {
  padding-bottom: 20px;
  color: var(--color-text-secondary);
}

.faq-item.active .faq-content {
  max-height: 300px;
}

/* Нижний блок CTA */
.bottom-cta {
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-border);
}

.bottom-cta__subtitle {
  margin-bottom: 35px;
  color: var(--color-text-secondary);
}

.centered-form {
  max-width: 800px;
  margin: 0 auto;
}

/* SEO Текст */
.seo-text-block {
  background-color: #ffffff;
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  border-top: 1px solid var(--color-border);
}

.seo-text-block h2 {
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.seo-text-block p {
  margin-bottom: 15px;
}

/* Подвал */
.footer {
  background-color: #1a202c;
  color: #e2e8f0;
  padding: 60px 0 30px 0;
  font-size: 0.9rem;
}

.footer a {
  color: #cbd5e0;
}

.footer a:hover {
  color: var(--color-accent);
}

.footer__top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 30px;
}

.footer__logo-text {
  font-family: "Nunito Sans", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  display: block;
  margin-bottom: 15px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__divider {
  border: 0;
  border-top: 1px solid #2d3748;
  margin-bottom: 20px;
}

.footer__disclaimer, .footer__partner-notice {
  font-size: 0.75rem;
  color: #a0aec0;
  line-height: 1.5;
  margin-bottom: 12px;
}

.footer__copyright {
  font-size: 0.8rem;
  color: #718096;
  margin-top: 15px;
}

/* Куки-баннер */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background-color: rgba(26, 32, 44, 0.98);
  color: #ffffff;
  padding: 20px;
  border-radius: var(--radius-main);
  box-shadow: 0 5px 25px rgba(0,0,0,0.3);
  z-index: 2000;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.cookie-banner.hidden {
  opacity: 0;
  transform: translateY(100px);
  pointer-events: none;
}

.cookie-banner__container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.cookie-banner p {
  font-size: 0.85rem;
  line-height: 1.5;
}

.cookie-banner a {
  color: var(--color-accent);
  text-decoration: underline;
}

/* Медиа-запросы для адаптивности */
@media (max-width: 1024px) {
  h1 { font-size: 2.2rem; }
  .rooms-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .reviews-container { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 768px) {
  .section-padding { padding: 50px 0; }
  .grid--2col { grid-template-columns: 1fr; }
  .advantages-grid { grid-template-columns: 1fr; gap: 15px; }
  .rooms-grid { grid-template-columns: 1fr; }
  .services-list-wrapper { grid-template-columns: 1fr; gap: 20px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  
  .horizontal-form {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  
  .form__group.btn-group {
    margin-top: 10px;
  }
  
  /* Мобильное меню */
  .burger-menu {
    display: flex;
  }
  
  .header__nav {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--color-background);
    transition: left 0.3s ease;
    padding: 40px 20px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.05);
  }
  
  .header__nav.active {
    left: 0;
  }
  
  .nav__list {
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }
  
  .nav__link {
    font-size: 1.25rem;
  }
  
  .header__contacts {
    display: none;
  }
  
  .burger-menu.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .burger-menu.active span:nth-child(2) {
    opacity: 0;
  }
  
  .burger-menu.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .cookie-banner__container {
    flex-direction: column;
    text-align: center;
  }
  
  .lead-magnet__wrapper {
    padding: 30px 20px;
  }
}