:root {
  --bg: #0e0f12;
  --bg-soft: #14161b;
  --card: rgba(20, 22, 27, 0.78);
  --card-solid: #171a20;
  --text: #f4efe6;
  --muted: #b8b2a7;
  --gold: #c8a46a;
  --gold-strong: #e0bb7a;
  --border: rgba(200, 164, 106, 0.18);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background:
    radial-gradient(circle at top, rgba(200,164,106,0.14), transparent 35%),
    linear-gradient(180deg, #0b0c0f 0%, #111319 100%);
  color: var(--text);
  line-height: 1.7;
  text-align: center;
  min-height: 100vh;
  transition: background 0.4s ease, color 0.4s ease;
}

.page-bg {
  position: fixed;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.03), transparent 40%),
    radial-gradient(circle at bottom right, rgba(200,164,106,0.10), transparent 30%);
  pointer-events: none;
  z-index: -1;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(18px);
  background: rgba(10, 11, 14, 0.72);
  border-bottom: 1px solid rgba(200, 164, 106, 0.16);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
}

.logo img {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(200,164,106,0.95), rgba(224,187,122,0.75));
  color: #111;
  font-weight: 800;
  letter-spacing: 1px;
  box-shadow: 0 8px 25px rgba(200, 164, 106, 0.25);
}

.logo-text h1 {
  font-size: 22px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.1;
}

.logo-text p {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
}

.nav-list li a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 13px;
  position: relative;
  padding: 8px 0;
  transition: color 0.25s ease;
}

.nav-list li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-list li a:hover {
  color: var(--gold-strong);
}

.nav-list li a:hover::after {
  width: 100%;
}

.theme-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 600;
  white-space: nowrap;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  inset: 0;
  cursor: pointer;
  background: linear-gradient(180deg, #3a3e49, #2a2d35);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  transition: 0.35s ease;
}

.slider::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  left: 3px;
  top: 2px;
  background: linear-gradient(135deg, #fff, #d9d9d9);
  border-radius: 50%;
  transition: 0.35s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

input:checked + .slider {
  background: linear-gradient(135deg, #7b5a2f, #c8a46a);
}

input:checked + .slider::before {
  transform: translateX(24px);
}

.hero {
  padding: 110px 0 90px;
}

.hero-content {
  max-width: 900px;
}

.hero-kicker {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 12px;
  margin-bottom: 16px;
}

.hero h2 {
  font-size: clamp(38px, 6vw, 70px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.hero-text {
  max-width: 760px;
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: 18px;
}

.hero-btn,
.booking-btn {
  display: inline-block;
  text-decoration: none;
  border: none;
  cursor: pointer;
  padding: 14px 30px;
  border-radius: 999px;
  background: linear-gradient(135deg, #c8a46a, #e0bb7a);
  color: #111;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
  box-shadow: 0 16px 36px rgba(200, 164, 106, 0.22);
}

.hero-btn:hover,
.booking-btn:hover {
  transform: translateY(-2px);
  opacity: 0.96;
}

.section {
  padding: 90px 0;
  border-top: 1px solid rgba(200, 164, 106, 0.12);
}

.section-alt {
  background: rgba(255,255,255,0.02);
}

.section-heading span {
  display: inline-block;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 12px;
  margin-bottom: 12px;
}

.section-heading h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.section-lead {
  max-width: 820px;
  margin: 0 auto 34px;
  color: var(--muted);
  font-size: 17px;
}

.carousel {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 34px auto 14px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(200, 164, 106, 0.12);
}

.carousel-track {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 300px;
  background: #0a0b0e;
}

.carousel-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  transform: scale(1);
  transition: opacity 0.7s ease, transform 0.7s ease;
  filter: saturate(0.95) contrast(1.05);
  background: #0a0b0e;
}

.carousel-image.active {
  opacity: 1;
  transform: scale(1);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(10, 11, 14, 0.55);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: transform 0.25s ease, background 0.25s ease;
}

.carousel-btn:hover {
  background: rgba(10, 11, 14, 0.78);
  transform: translateY(-50%) scale(1.06);
}

.carousel-btn.prev {
  left: 16px;
}

.carousel-btn.next {
  right: 16px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  border: none;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  transition: 0.3s ease;
}

.dot.active {
  background: var(--gold);
  width: 28px;
}

.price-table-wrap {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.price-table {
  width: 100%;
  max-width: 760px;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(20, 22, 27, 0.72);
  border: 1px solid rgba(200, 164, 106, 0.12);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.price-table th,
.price-table td {
  padding: 18px 20px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.price-table th {
  background: rgba(200, 164, 106, 0.14);
  color: var(--gold-strong);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
}

.price-table td {
  color: var(--text);
}

.price-table tr:hover td {
  background: rgba(255,255,255,0.03);
}

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.contact-card {
  padding: 26px 22px;
  border-radius: 20px;
  background: rgba(20, 22, 27, 0.72);
  border: 1px solid rgba(200, 164, 106, 0.12);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.contact-card h3 {
  color: var(--gold-strong);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 14px;
}

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

.iframe-container {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.72);
  z-index: 2000;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.iframe-wrapper {
  position: relative;
  width: min(920px, 96%);
  height: min(82vh, 820px);
  background: #111318;
  border: 1px solid rgba(200, 164, 106, 0.18);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.iframe-wrapper i {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 30px;
  color: var(--gold-strong);
  cursor: pointer;
  z-index: 2;
  transition: transform 0.2s ease, color 0.2s ease;
}

.iframe-wrapper i:hover {
  transform: scale(1.08);
  color: #fff;
}

.iframe-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Светлая тема */
body:not(.dark-theme) {
  background:
    radial-gradient(circle at top, rgba(200,164,106,0.10), transparent 34%),
    linear-gradient(180deg, #f6f1e8 0%, #efe8db 100%);
  color: #1a1a1a;
}

body:not(.dark-theme) .header {
  background: rgba(247, 242, 233, 0.82);
  border-bottom: 1px solid rgba(120, 90, 45, 0.12);
}

body:not(.dark-theme) .logo-text h1,
body:not(.dark-theme) .nav-list li a,
body:not(.dark-theme) .theme-switch {
  color: #1f1a14;
}

body:not(.dark-theme) .logo-text p {
  color: #6d6253;
}

body:not(.dark-theme) .section-alt {
  background: rgba(255,255,255,0.35);
}

body:not(.dark-theme) .price-table,
body:not(.dark-theme) .contact-card {
  background: rgba(255,255,255,0.72);
}

body:not(.dark-theme) .price-table td,
body:not(.dark-theme) .contact-card p,
body:not(.dark-theme) .section-lead,
body:not(.dark-theme) .hero-text {
  color: #3b3328;
}

body:not(.dark-theme) .carousel {
  border-color: rgba(120, 90, 45, 0.14);
}

body:not(.dark-theme) .carousel-btn {
  background: rgba(255,255,255,0.6);
  color: #1a1a1a;
}

body:not(.dark-theme) .dot {
  background: rgba(0,0,0,0.18);
}

body:not(.dark-theme) .iframe-wrapper {
  background: #fff;
}

/* Тёмная тема */
.dark-theme {
  background:
    radial-gradient(circle at top, rgba(200,164,106,0.14), transparent 35%),
    linear-gradient(180deg, #0b0c0f 0%, #111319 100%);
  color: var(--text);
}

.dark-theme .header {
  background: rgba(10, 11, 14, 0.72);
}

.dark-theme .logo-text h1,
.dark-theme .nav-list li a,
.dark-theme .theme-switch {
  color: #fff;
}

.dark-theme .logo-text p,
.dark-theme .section-lead,
.dark-theme .hero-text {
  color: var(--muted);
}

.dark-theme .price-table,
.dark-theme .contact-card {
  background: rgba(20, 22, 27, 0.72);
}

.dark-theme .iframe-wrapper {
  background: #111318;
}

/* Адаптивность */
@media (max-width: 900px) {
  .header-content {
    flex-direction: column;
    padding: 14px 0;
  }

  .nav {
    order: 3;
  }

  .theme-switch {
    order: 2;
  }

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

@media (max-width: 600px) {
  .hero {
    padding: 78px 0 68px;
  }

  .section {
    padding: 70px 0;
  }

  .nav-list {
    gap: 14px 18px;
    justify-content: center;
  }

  .nav-list li a {
    font-size: 12px;
  }

  .carousel-track {
    min-height: 220px;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
  }

  .price-table th,
  .price-table td {
    padding: 13px 10px;
    font-size: 14px;
  }

  .iframe-wrapper {
    width: 98%;
    height: 76vh;
    border-radius: 18px;
  }
}