/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-bg: #0f1419;
  --color-surface: #1a2332;
  --color-surface-2: #243044;
  --color-primary: #2dd4a8;
  --color-primary-dark: #1fa88a;
  --color-accent: #f0c14b;
  --color-text: #e8edf2;
  --color-text-muted: #9aa8b8;
  --color-border: rgba(255,255,255,0.08);
  --font-main: 'Montserrat', system-ui, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --radius: 12px;
  --shadow: 0 8px 32px rgba(0,0,0,0.35);
  --header-h: 72px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

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

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 20, 25, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  height: var(--header-h);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text);
  font-weight: 600;
  font-size: 1.15rem;
}

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

.logo-icon {
  font-size: 1.5rem;
}

.nav-desktop {
  display: none;
  gap: 28px;
}

.nav-desktop a {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-desktop a:hover {
  color: var(--color-primary);
}

.burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: 0.3s;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(0,0,0,0.7);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-content {
  position: absolute;
  top: 0;
  right: 0;
  width: min(320px, 85vw);
  height: 100%;
  background: var(--color-surface);
  padding: 80px 30px 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -8px 0 40px rgba(0,0,0,0.4);
}

.mobile-menu.open .mobile-menu-content {
  transform: translateX(0);
}

.close-menu {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--color-text);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

.mobile-link {
  display: block;
  padding: 14px 0;
  color: var(--color-text);
  font-size: 1.1rem;
  font-weight: 500;
  border-bottom: 1px solid var(--color-border);
}

.mobile-link:hover {
  color: var(--color-primary);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(15,20,25,0.75) 0%, rgba(15,20,25,0.55) 50%, rgba(15,20,25,0.85) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 60px 20px;
  max-width: 720px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 16px;
  color: #fff;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.25s;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--color-primary);
  color: #0f1419;
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  color: #0f1419;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(45, 212, 168, 0.35);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.4);
  color: #fff;
}

.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: rgba(45, 212, 168, 0.1);
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 12px;
  color: #fff;
}

.section-desc {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto;
}

/* About */
.about {
  background: var(--color-surface);
}

.about-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

.about-text p {
  margin-bottom: 16px;
  color: var(--color-text-muted);
}

.about-text p:first-child {
  color: var(--color-text);
  font-size: 1.1rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}

.feature {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--color-surface-2);
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 0.9rem;
}

.feature-icon {
  font-size: 1.3rem;
}

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

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

/* Amenities */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.amenity-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.25s, box-shadow 0.25s;
}

.amenity-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(45, 212, 168, 0.3);
}

.amenity-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.amenity-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: #fff;
}

.amenity-card ul {
  list-style: none;
}

.amenity-card li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  color: var(--color-text-muted);
  font-size: 0.92rem;
}

.amenity-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}

/* Gallery */
.gallery {
  background: var(--color-surface);
}

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

.gallery-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

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

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  font-size: 0.85rem;
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
}

/* Prices */
.prices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 800px;
  margin: 0 auto 32px;
}

.price-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  position: relative;
  transition: transform 0.25s;
}

.price-card:hover {
  transform: translateY(-4px);
}

.price-card.highlight {
  border-color: var(--color-primary);
  background: linear-gradient(160deg, rgba(45,212,168,0.12), var(--color-surface));
  box-shadow: 0 0 40px rgba(45, 212, 168, 0.15);
}

.price-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: #0f1419;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
}

.price-period {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.price-value {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.price-unit {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin: 6px 0 16px;
}

.price-note {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.price-info {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  background: var(--color-surface-2);
  padding: 20px 24px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.price-info strong {
  color: var(--color-accent);
}

/* Rules */
.rules {
  background: var(--color-surface);
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.rule-item {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
}

.rule-num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  opacity: 0.7;
  margin-bottom: 8px;
}

.rule-item h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #fff;
}

.rule-item p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

/* Contacts */
.contacts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.contact-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
}

.contact-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.contact-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: #fff;
}

.contact-card p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.contact-card a {
  color: var(--color-primary);
  font-weight: 500;
}

.map-note {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* Requisites */
.requisites {
  background: var(--color-surface);
}

.requisites-grid {
  display: grid;
  gap: 40px;
  align-items: start;
}

.qr-block {
  text-align: center;
}

.qr-image {
  width: 220px;
  height: 220px;
  margin: 0 auto 16px;
  border-radius: 12px;
  background: #fff;
  padding: 12px;
  box-shadow: var(--shadow);
}

.qr-block p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.req-details {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 8px 0;
}

.req-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--color-border);
}

.req-row:last-child {
  border-bottom: none;
}

.req-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
}

.req-value {
  font-size: 0.95rem;
  color: var(--color-text);
  word-break: break-all;
  font-family: ui-monospace, monospace;
}

/* Footer */
.footer {
  background: #0a0e13;
  padding: 48px 0 32px;
  border-top: 1px solid var(--color-border);
}

.footer-inner {
  text-align: center;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.footer-text {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.footer-phones {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.footer-phones a {
  color: var(--color-primary);
  font-weight: 500;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  opacity: 0.7;
}

/* Floating Chat */
.chat-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.chat-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.9);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.chat-widget.open .chat-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.chat-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}

.chat-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.chat-btn svg {
  width: 26px;
  height: 26px;
}

.chat-btn.whatsapp {
  background: #25D366;
}

.chat-btn.telegram {
  background: #0088cc;
}

.chat-btn.max {
  background: transparent;
  padding: 0;
  overflow: hidden;
  width: 52px;
  height: 52px;
}

.chat-btn.max .max-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.chat-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #0f1419;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(45, 212, 168, 0.45);
  transition: transform 0.25s, background 0.25s;
}

.chat-toggle:hover {
  transform: scale(1.08);
  background: var(--color-primary-dark);
}

.chat-toggle svg {
  width: 28px;
  height: 28px;
}

.chat-toggle .icon-close {
  display: none;
}

.chat-widget.open .chat-toggle .icon-chat {
  display: none;
}

.chat-widget.open .chat-toggle .icon-close {
  display: block;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  padding: 20px;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 95vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
}

/* Services */
.services {
  background: var(--color-surface);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.service-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}

.service-icon {
  font-size: 2.4rem;
  margin-bottom: 14px;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: #fff;
}

.service-lead {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.service-list {
  list-style: none;
  margin-bottom: 18px;
  flex-grow: 1;
}

.service-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
  color: var(--color-text-muted);
  font-size: 0.92rem;
}

.service-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}

.service-note {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 20px;
  opacity: 0.85;
}

.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 2px solid rgba(255,255,255,0.25);
  color: var(--color-text);
  background: transparent;
  transition: all 0.25s;
  align-self: flex-start;
}

.btn-outline-dark:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: rgba(45, 212, 168, 0.1);
}

/* Reviews (Yandex style) */
.reviews {
  background: var(--color-bg);
}

.reviews-summary {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.rating-big {
  text-align: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 24px 40px;
}

.rating-score {
  display: block;
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.rating-stars {
  color: #f5c518;
  font-size: 1.4rem;
  letter-spacing: 2px;
  margin: 6px 0;
}

.rating-count {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.review-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 20px 22px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.review-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), #1a9e7a);
  color: #0f1419;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.review-meta {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.review-author {
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
}

.review-date {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.review-stars {
  color: #f5c518;
  font-size: 0.95rem;
  letter-spacing: 1px;
}

.review-text {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

/* Responsive */
@media (min-width: 768px) {
  .burger {
    display: none;
  }

  .nav-desktop {
    display: flex;
  }

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

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

  .requisites-grid {
    grid-template-columns: auto 1fr;
  }

  .req-row {
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
    gap: 20px;
  }

  .req-value {
    text-align: right;
  }
}

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

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .price-value {
    font-size: 2.2rem;
  }
}
