/* ==========================================================================
   Паллет_Юг — Товары маркетплейсов для перепродажи
   Стили официального сайта-визитки
   ========================================================================== */

:root {
  --bg-primary: #0d0f14;
  --bg-secondary: #151821;
  --bg-card: #1c202c;
  --bg-card-hover: #232838;
  --border-color: #2b3245;
  --border-focus: #ff7a00;
  
  --text-main: #f3f4f6;
  --text-muted: #94a3b8;
  --text-dark: #64748b;
  
  --accent-orange: #ff7a00;
  --accent-orange-hover: #e06900;
  --accent-amber: #f59e0b;
  --accent-green: #10b981;
  --accent-green-dark: #059669;
  --accent-blue: #2563eb;
  --accent-max: #7c3aed;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 25px rgba(255, 122, 0, 0.25);
  
  --transition: all 0.25s ease-in-out;
  --font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.5;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  position: relative;
  min-height: 100vh;
  padding-bottom: 74px; /* отступ для мобильной плавающей панели */
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  transition: var(--transition);
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

@media (min-width: 640px) {
  .container {
    padding: 0 20px;
  }
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(13, 15, 20, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 10px 0;
  width: 100%;
  max-width: 100vw;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex-shrink: 1;
}

.logo-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent-orange), var(--accent-amber));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 14px rgba(255, 122, 0, 0.35);
}

.logo-text {
  min-width: 0;
}

.logo-text h1 {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.1;
  white-space: nowrap;
}

.logo-text span {
  font-size: 0.7rem;
  color: var(--accent-orange);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: block;
  white-space: nowrap;
}

.header-status {
  display: none;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  color: #34d399;
  font-weight: 500;
  white-space: nowrap;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-green);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.header-nav {
  display: none;
  gap: 20px;
}

.header-nav a {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
}

.header-nav a:hover {
  color: #fff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header-phone {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-decoration: none;
}

.phone-number {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}

.phone-sub {
  font-size: 0.7rem;
  color: var(--accent-green);
  white-space: nowrap;
}

.btn-header-max {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #7c3aed, #6366f1);
  color: #fff;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
  white-space: nowrap;
}

.btn-header-max:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .btn-header-max {
    display: none; /* Уже есть в мобильной нижней панели */
  }
  .header-phone .phone-sub {
    display: none;
  }
}

@media (max-width: 400px) {
  .logo-text span {
    display: none;
  }
  .phone-number {
    font-size: 0.85rem;
  }
}

@media (min-width: 992px) {
  .logo-icon { width: 44px; height: 44px; font-size: 24px; }
  .logo-text h1 { font-size: 1.25rem; }
  .logo-text span { font-size: 0.75rem; }
  .header-status { display: flex; }
  .header-nav { display: flex; }
  .phone-number { font-size: 1.05rem; }
  .site-header { padding: 14px 0; }
}

/* ==========================================================================
   Alert Banner (Live Status)
   ========================================================================== */
.alert-banner {
  background: linear-gradient(90deg, rgba(255, 122, 0, 0.15), rgba(16, 185, 129, 0.15));
  border-bottom: 1px solid var(--border-color);
  padding: 10px 0;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
}

.alert-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.alert-msg {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  line-height: 1.4;
  flex: 1 1 280px;
}

.alert-tag {
  background: var(--accent-orange);
  color: #000;
  font-weight: 800;
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  flex-shrink: 0;
}

.alert-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-orange);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.alert-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 36px 0 48px;
  background: radial-gradient(circle at 50% 20%, rgba(255, 122, 0, 0.12) 0%, rgba(13, 15, 20, 0) 70%);
  border-bottom: 1px solid var(--border-color);
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .hero-section {
    padding: 48px 0 60px;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 122, 0, 0.14);
  border: 1px solid rgba(255, 122, 0, 0.35);
  color: var(--accent-orange);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  width: fit-content;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-title {
  font-size: clamp(1.55rem, 5vw, 2.25rem);
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  letter-spacing: -0.02em;
  word-break: break-word;
}

.hero-title span {
  background: linear-gradient(135deg, var(--accent-orange), #ffb020);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 6px;
}

@media (min-width: 576px) {
  .hero-stats-row {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }
}

.stat-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 12px 10px;
  border-radius: var(--radius-md);
  text-align: center;
}

.stat-val {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent-amber);
}

.stat-val.green {
  color: var(--accent-green);
}

.stat-label {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
  width: 100%;
}

@media (min-width: 576px) {
  .hero-cta-group {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
  }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--accent-orange), #ea580c);
  color: #fff;
  padding: 13px 20px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 6px 18px rgba(255, 122, 0, 0.35);
  text-align: center;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ff8c1a, #f97316);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(255, 122, 0, 0.45);
}

.btn-max-channel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #6d28d9, #4f46e5);
  color: #fff;
  padding: 13px 20px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 6px 18px rgba(109, 40, 217, 0.35);
  text-align: center;
}

.btn-max-channel:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(109, 40, 217, 0.45);
}

.btn-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: #fff;
  padding: 13px 20px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.92rem;
  text-align: center;
}

.btn-phone:hover {
  border-color: var(--accent-orange);
  color: var(--accent-orange);
}

/* Hero Media Card */
.hero-visual {
  position: relative;
  width: 100%;
}

.hero-video-card {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  width: 100%;
}

.hero-video-card video {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

@media (min-width: 768px) {
  .hero-video-card video {
    height: 400px;
  }
}

.hero-video-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(13, 15, 20, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 5px 10px;
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  font-weight: 600;
  color: #fff;
}

.hero-video-footer {
  padding: 14px 16px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-video-footer p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-video-footer strong {
  color: #fff;
  font-size: 0.85rem;
}

/* ==========================================================================
   Catalog & Price Section
   ========================================================================== */
.section-pad {
  padding: 50px 0;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .section-pad {
    padding: 70px 0;
  }
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 32px;
}

.section-subtitle {
  color: var(--accent-orange);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.section-title {
  font-size: clamp(1.4rem, 4.5vw, 2rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  word-break: break-word;
}

.section-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Filter Buttons */
.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-bottom: 26px;
}

.filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 7px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
}

.filter-btn:hover {
  background: var(--bg-card-hover);
  color: #fff;
}

.filter-btn.active {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  color: #000;
  font-weight: 700;
}

/* Cards Grid */
.catalog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

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

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  width: 100%;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-orange);
  box-shadow: var(--shadow-md);
}

.product-card.featured {
  border-color: rgba(255, 122, 0, 0.6);
  background: linear-gradient(180deg, rgba(255, 122, 0, 0.08) 0%, var(--bg-card) 25%);
}

.card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(13, 15, 20, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 4px 9px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  z-index: 2;
}

.card-badge.fire {
  background: linear-gradient(135deg, #ef4444, #f97316);
  border: none;
}

.card-image-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
  background-color: #0b0d12;
}

@media (min-width: 576px) {
  .card-image-wrap {
    height: 220px;
  }
}

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

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

.card-body {
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-category {
  font-size: 0.72rem;
  color: var(--accent-orange);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 5px;
}

.card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.3;
}

.card-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
  flex-grow: 1;
}

.card-specs {
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  gap: 8px;
}

.spec-name {
  color: var(--text-dark);
  flex-shrink: 0;
}

.spec-val {
  color: var(--text-main);
  font-weight: 600;
  text-align: right;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
  gap: 10px;
}

.card-price-wrap {
  display: flex;
  flex-direction: column;
}

.card-price-label {
  font-size: 0.68rem;
  color: var(--text-dark);
  text-transform: uppercase;
}

.card-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent-green);
  line-height: 1.1;
  white-space: nowrap;
}

.btn-book {
  background: var(--accent-orange);
  color: #000;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.82rem;
  white-space: nowrap;
}

.btn-book:hover {
  background: #ff8c1a;
  transform: translateY(-1px);
}

/* ==========================================================================
   Video Warehouse & Reviews Section
   ========================================================================== */
.video-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

.video-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  width: 100%;
}

.video-wrapper {
  position: relative;
  background: #000;
  aspect-ratio: 16 / 9;
  width: 100%;
}

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

.video-info {
  padding: 16px;
}

.video-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 5px;
}

.video-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Photo Gallery Section
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
}

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

.gallery-item {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  cursor: pointer;
}

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

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 15, 20, 0.85) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 10px;
}

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

.gallery-caption {
  font-size: 0.76rem;
  color: #fff;
  font-weight: 600;
  line-height: 1.2;
}

/* ==========================================================================
   Advantages & Steps
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  width: 100%;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 22px 16px;
  border-radius: var(--radius-lg);
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

.feature-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  background: rgba(255, 122, 0, 0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.feature-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.feature-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Steps Row */
.steps-wrap {
  margin-top: 36px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 22px 16px;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .steps-wrap {
    padding: 30px;
    margin-top: 50px;
  }
}

.steps-title {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 22px;
  color: #fff;
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

.step-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.step-num {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--accent-orange);
  line-height: 1;
}

.step-heading {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
}

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

/* ==========================================================================
   Social Share Section
   ========================================================================== */
.share-section {
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.share-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 26px 16px;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .share-box {
    padding: 36px 24px;
  }
}

.share-box h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 6px;
}

.share-box p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.share-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.btn-share {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: var(--radius-md);
  font-size: 0.84rem;
  font-weight: 600;
  color: #fff;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

.btn-share.vk { background-color: #0077ff; }
.btn-share.tg { background-color: #229ed9; }
.btn-share.wa { background-color: #25d366; color: #000; }
.btn-share.ok { background-color: #ee8208; }
.btn-share.copy {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: #fff;
}

.btn-share:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.copy-toast {
  display: none;
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--accent-green);
  font-weight: 600;
}

/* ==========================================================================
   Contacts & Booking Form
   ========================================================================== */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  width: 100%;
}

@media (min-width: 992px) {
  .contacts-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.contact-card-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .contact-card-box {
    padding: 28px;
  }
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  min-width: 0;
}

.contact-icon {
  width: 42px;
  height: 42px;
  background: rgba(255, 122, 0, 0.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-label {
  font-size: 0.76rem;
  color: var(--text-dark);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.contact-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-top: 2px;
  word-break: break-all;
}

.contact-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.max-banner-card {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(99, 102, 241, 0.2));
  border: 1px solid rgba(124, 58, 237, 0.4);
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
}

.max-banner-card h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
}

.max-banner-card p {
  font-size: 0.85rem;
  color: #cbd5e1;
}

/* Booking Form */
.booking-form-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 22px 16px;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .booking-form-box {
    padding: 30px;
  }
}

.form-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 5px;
}

.form-subtitle {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.form-group {
  margin-bottom: 14px;
  width: 100%;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 5px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 11px 12px;
  color: #fff;
  font-size: 0.92rem;
  font-family: inherit;
  transition: var(--transition);
  box-sizing: border-box;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--accent-orange);
  box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.2);
}

.form-textarea {
  resize: vertical;
  min-height: 75px;
}

.btn-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--accent-orange), #ea580c);
  color: #fff;
  padding: 13px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(255, 122, 0, 0.35);
  margin-top: 6px;
  text-align: center;
}

.btn-submit:hover {
  background: linear-gradient(135deg, #ff8c1a, #f97316);
  transform: translateY(-2px);
}

.form-privacy {
  font-size: 0.7rem;
  color: var(--text-dark);
  text-align: center;
  margin-top: 10px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #08090d;
  border-top: 1px solid var(--border-color);
  padding: 36px 0 24px;
  font-size: 0.82rem;
  color: var(--text-muted);
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .footer-top {
    flex-direction: row;
    align-items: center;
  }
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* ==========================================================================
   Sticky Mobile Bottom Bar
   ========================================================================== */
.mobile-bottom-bar {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  z-index: 99;
  background: rgba(13, 15, 20, 0.96);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-color);
  padding: 9px 12px;
  gap: 8px;
}

@media (min-width: 768px) {
  .mobile-bottom-bar {
    display: none;
  }
}

.mobile-bar-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  border-radius: var(--radius-sm);
  font-size: 0.84rem;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
}

.mobile-bar-btn.call {
  background: var(--accent-orange);
  color: #000;
}

.mobile-bar-btn.max {
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
  color: #fff;
}

/* ==========================================================================
   Lightbox Gallery Modal (Full-Screen, Swipe & Thumbnails)
   ========================================================================== */
.lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(8, 10, 14, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  flex-direction: column;
  justify-content: space-between;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  box-sizing: border-box;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
}

.lightbox-modal.active {
  display: flex;
}

/* Верхняя панель (Header) */
.lightbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: rgba(13, 15, 20, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 25;
  flex-shrink: 0;
  width: 100%;
  box-sizing: border-box;
}

.lightbox-counter {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-amber);
  background: rgba(255, 255, 255, 0.08);
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.lightbox-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.lightbox-close:hover {
  background: #ef4444;
  border-color: #ef4444;
  transform: rotate(90deg);
}

/* Центральная зона просмотра (Stage) */
.lightbox-stage {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 0;
  padding: 6px 12px;
  box-sizing: border-box;
  overflow: hidden;
}

.lightbox-media-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 92vw;
  max-height: 100%;
  min-height: 0;
}

.lightbox-media-wrap img {
  max-width: 88vw;
  max-height: calc(100vh - 175px);
  max-height: calc(100dvh - 175px);
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.85);
  transition: opacity 0.2s ease;
}

.lightbox-caption {
  margin-top: 8px;
  color: #e2e8f0;
  font-size: 0.84rem;
  font-weight: 600;
  text-align: center;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  max-width: 88vw;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Стрелки листания */
.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(22, 25, 33, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  transition: var(--transition);
}

.lightbox-arrow:hover {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  color: #000;
  box-shadow: 0 0 20px rgba(255, 122, 0, 0.45);
}

.lightbox-prev {
  left: 12px;
}

.lightbox-next {
  right: 12px;
}

@media (max-width: 640px) {
  .lightbox-arrow {
    width: 36px;
    height: 36px;
    background: rgba(13, 15, 20, 0.7);
  }
  .lightbox-prev { left: 6px; }
  .lightbox-next { right: 6px; }
  .lightbox-media-wrap img {
    max-width: 94vw;
    max-height: calc(100dvh - 165px);
  }
}

/* Нижняя лента миниатюр (Thumbnail Strip) */
.lightbox-thumbs-bar {
  background: rgba(13, 15, 20, 0.92);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 12px;
  z-index: 25;
  flex-shrink: 0;
  width: 100%;
  box-sizing: border-box;
}

.lightbox-thumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--border-color) transparent;
  padding: 2px 2px;
}

.lightbox-thumbs::-webkit-scrollbar {
  height: 4px;
}

.lightbox-thumbs::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 4px;
}

.lightbox-thumb {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.4;
  transition: all 0.2s ease;
  background: #000;
}

@media (min-width: 768px) {
  .lightbox-thumb {
    width: 60px;
    height: 60px;
  }
}

.lightbox-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lightbox-thumb:hover {
  opacity: 0.85;
}

.lightbox-thumb.active {
  opacity: 1;
  border-color: var(--accent-orange);
  box-shadow: 0 0 12px rgba(255, 122, 0, 0.55);
  transform: scale(1.06);
}
