/* ==========================================================================
   SITE STYLES & RESPONSIVE LAYOUT
   Project: бурениескважин50.рф - Станислав Грошков
   Full Device Support: Mobile (320px, 360px Samsung), Tablet, Desktop, 4K
   ========================================================================== */


:root {
  /* Color Tokens */
  --bg-abyss: #060c18;
  --bg-deep: #0a1426;
  --bg-surface: #0e1b33;
  --bg-card: rgba(16, 30, 56, 0.72);
  --bg-card-hover: rgba(22, 42, 78, 0.88);
  --bg-glass-input: rgba(5, 12, 24, 0.65);

  --primary-cyan: #00f2ff;
  --primary-glow: rgba(0, 242, 255, 0.35);
  --primary-dark: #008b94;
  --aqua-bright: #00d2e0;
  --ice-blue: #74f5ff;
  --water-accent: #1976d2;

  --accent-gold: #ffb800;
  --accent-green: #00e676;
  --accent-red: #ff5252;

  --text-main: #f0f6ff;
  --text-muted: #8ea3c7;
  --text-dim: #5a7299;
  --text-highlight: #ffffff;

  --border-glass: rgba(255, 255, 255, 0.08);
  --border-neon: rgba(0, 242, 255, 0.3);
  --border-active: #00f2ff;

  /* Typography */
  --font-heading: 'Montserrat', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-mono: 'Geist Mono', monospace;

  /* Elevations & Effects */
  --shadow-glass: 0 12px 40px 0 rgba(0, 4, 16, 0.55);
  --shadow-glow: 0 0 25px rgba(0, 242, 255, 0.25);
  --shadow-glow-strong: 0 0 35px rgba(0, 242, 255, 0.45);
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);

  --container-max: 1320px;
}

/* Global Reset & Strict Mobile Bounds */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  max-width: 100%;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-abyss);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100% !important;
  background: radial-gradient(circle at 50% 0%, #102447 0%, var(--bg-abyss) 65%),
              radial-gradient(circle at 10% 40%, rgba(0, 242, 255, 0.05) 0%, transparent 40%),
              radial-gradient(circle at 90% 70%, rgba(25, 118, 210, 0.08) 0%, transparent 50%),
              var(--bg-abyss);
  min-height: 100vh;
  position: relative;
}

/* Background Cyber Grid */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

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

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--primary-cyan);
  outline-offset: 2px;
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  outline: none;
  box-sizing: border-box;
}

button {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
}

/* Typography Classes */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-highlight);
  line-height: 1.25;
  word-break: normal;
  overflow-wrap: break-word;
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #ffffff 10%, #74f5ff 60%, #00f2ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #fff2c6 0%, #ffc107 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mono-tag {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary-cyan);
}

/* Section Header Styles */
.section-header {
  text-align: center;
  margin-bottom: 45px;
  position: relative;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(0, 242, 255, 0.08);
  border: 1px solid rgba(0, 242, 255, 0.25);
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--primary-cyan);
  box-shadow: 0 0 15px rgba(0, 242, 255, 0.1);
  max-width: 100%;
}

.section-badge .dot {
  width: 7px;
  height: 7px;
  background: var(--primary-cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--primary-cyan);
  animation: pulse-dot 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.section-title {
  font-size: clamp(1.75rem, 3.2vw, 2.65rem);
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
  word-break: break-word;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Glassmorphism Panels */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glass);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
  max-width: 100%;
  box-sizing: border-box;
}

.glass-panel:hover {
  border-color: rgba(0, 242, 255, 0.35);
  box-shadow: 0 16px 45px rgba(0, 4, 16, 0.7), 0 0 20px rgba(0, 242, 255, 0.12);
}

.glass-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  pointer-events: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.02em;
  text-align: center;
  user-select: none;
  max-width: 100%;
  box-sizing: border-box;
}

.btn-primary {
  background: linear-gradient(135deg, #00f2ff 0%, #00b4d8 100%);
  color: #031525;
  box-shadow: 0 0 25px rgba(0, 242, 255, 0.35);
  font-weight: 800;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(0, 242, 255, 0.6);
  background: linear-gradient(135deg, #53f6ff 0%, #00c6eb 100%);
}

.btn-outline {
  background: rgba(14, 27, 51, 0.65);
  border: 1px solid rgba(0, 242, 255, 0.4);
  color: var(--primary-cyan);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(0, 242, 255, 0.12);
  border-color: var(--primary-cyan);
  box-shadow: 0 0 20px rgba(0, 242, 255, 0.25);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.35);
  border: none !important;
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, #2bf074 0%, #15a090 100%) !important;
  box-shadow: 0 0 30px rgba(37, 211, 102, 0.55);
  transform: translateY(-2px);
  color: #ffffff !important;
}

.btn-telegram {
  background: linear-gradient(135deg, #229ED9 0%, #0088cc 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 0 20px rgba(34, 158, 217, 0.35);
  border: none !important;
}

.btn-telegram:hover {
  background: linear-gradient(135deg, #37b5f0 0%, #009be6 100%) !important;
  box-shadow: 0 0 30px rgba(34, 158, 217, 0.55);
  transform: translateY(-2px);
  color: #ffffff !important;
}

.btn-max {
  background: linear-gradient(135deg, #7B2CBF 0%, #0077B6 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 0 20px rgba(123, 44, 191, 0.4);
  border: none !important;
}

.btn-max:hover {
  background: linear-gradient(135deg, #9d4edd 0%, #0096c7 100%) !important;
  box-shadow: 0 0 30px rgba(123, 44, 191, 0.6);
  transform: translateY(-2px);
  color: #ffffff !important;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 14px 24px;
  font-size: 1rem;
}

/* Shimmer Animation for Buttons */
.shimmer::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent 20%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 80%
  );
  transform: rotate(30deg);
  animation: btn-shimmer 4s infinite ease-in-out;
  pointer-events: none;
}

@keyframes btn-shimmer {
  0% { transform: translateX(-100%) rotate(30deg); }
  30%, 100% { transform: translateX(100%) rotate(30deg); }
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100vw;
  z-index: 100;
  padding: 12px 0;
  transition: all var(--transition-normal);
  background: rgba(6, 12, 24, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header.scrolled {
  background: rgba(6, 12, 24, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 242, 255, 0.2);
  padding: 10px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  white-space: nowrap;
}

.logo-img {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 242, 255, 0.4);
  box-shadow: 0 0 15px rgba(0, 242, 255, 0.2);
  object-fit: cover;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-brand {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
  color: var(--text-highlight);
  white-space: nowrap;
  line-height: 1.2;
}

.logo-brand span {
  color: var(--primary-cyan);
}

.logo-sub {
  font-size: 0.65rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* Nav Menu */
.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.2vw, 20px);
  flex-shrink: 1;
}

.nav-link {
  font-size: clamp(0.82rem, 0.88vw, 0.9rem);
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-cyan);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--primary-cyan);
  box-shadow: 0 0 8px var(--primary-cyan);
  transition: width var(--transition-normal);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header-phone {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  flex-shrink: 0;
  white-space: nowrap;
}

.phone-link {
  font-family: var(--font-mono);
  font-size: clamp(0.9rem, 0.95vw, 1rem);
  font-weight: 700;
  color: var(--text-highlight);
  letter-spacing: 0.02em;
  white-space: nowrap !important;
  display: block;
}

.phone-link:hover {
  color: var(--primary-cyan);
  text-shadow: 0 0 10px var(--primary-cyan);
}

.phone-sub {
  font-size: 0.68rem;
  color: var(--accent-green);
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap !important;
}

.phone-sub::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--accent-green);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--accent-green);
  flex-shrink: 0;
}

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

.messenger-icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.messenger-icon-btn img {
  width: 18px;
  height: 18px;
}

.messenger-icon-btn.wa:hover {
  background: rgba(37, 211, 102, 0.2);
  border-color: #25D366;
  box-shadow: 0 0 15px rgba(37, 211, 102, 0.4);
}

.messenger-icon-btn.tg:hover {
  background: rgba(34, 158, 217, 0.2);
  border-color: #229ED9;
  box-shadow: 0 0 15px rgba(34, 158, 217, 0.4);
}

.messenger-icon-btn.max:hover {
  background: rgba(123, 44, 191, 0.25);
  border-color: #7B2CBF;
  box-shadow: 0 0 15px rgba(123, 44, 191, 0.5);
}

.mobile-menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  color: var(--text-highlight);
  font-size: 1.4rem;
  padding: 6px 8px;
  flex-shrink: 0;
}

/* ==========================================================================
   HERO SECTION WITH 3D SIMULATOR
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: 110px;
  padding-bottom: 50px;
  display: flex;
  align-items: center;
  overflow: hidden;
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-content {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.hero-badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  flex-wrap: wrap;
  max-width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(0, 242, 255, 0.08);
  border: 1px solid rgba(0, 242, 255, 0.25);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--primary-cyan);
  max-width: 100%;
}

.hero-title {
  font-size: clamp(1.6rem, 3.8vw, 3.4rem);
  font-weight: 900;
  line-height: 1.18;
  margin-bottom: 18px;
  letter-spacing: -0.03em;
  word-break: normal;
  overflow-wrap: break-word;
}

.hero-description {
  font-size: 1.08rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 36px;
  flex-wrap: wrap;
  width: 100%;
}

/* Hero Key Stats */
.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
}

.stat-box {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.stat-value {
  font-family: var(--font-mono);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--primary-cyan);
  line-height: 1.2;
  white-space: nowrap;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.3;
}

/* ==========================================================================
   HERO REAL ON-SITE VIDEO CARD
   ========================================================================== */
.hero-video-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(0, 242, 255, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 242, 255, 0.15);
  display: flex;
  flex-direction: column;
  background: rgba(10, 20, 38, 0.8);
  width: 100%;
}

.video-playlist-tabs {
  display: flex;
  background: #060e1d !important;
  border-bottom: 1px solid rgba(0, 242, 255, 0.2);
  padding: 8px;
  gap: 8px;
  position: relative;
  z-index: 10;
}

.video-tab-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 12px;
  background: #0a182e !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: var(--radius-sm);
  color: #94a3b8 !important;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
  position: relative;
  overflow: hidden;
  outline: none;
}

.video-tab-btn:hover {
  background: #112646 !important;
  color: #ffffff !important;
  border-color: rgba(0, 242, 255, 0.4) !important;
}

.video-tab-btn.active {
  background: rgba(0, 242, 255, 0.18) !important;
  border-color: var(--primary-cyan) !important;
  color: #00f2ff !important;
  box-shadow: 0 0 15px rgba(0, 242, 255, 0.35);
}

.video-tab-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--primary-cyan);
  width: 0%;
  transition: width 0.1s linear;
}

.video-header-bar {
  padding: 12px 18px;
  background: rgba(6, 12, 24, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.video-status-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-highlight);
  letter-spacing: 0.04em;
}

.video-status-badge .dot {
  width: 8px;
  height: 8px;
  background: #ff3b30;
  border-radius: 50%;
  box-shadow: 0 0 10px #ff3b30;
  animation: pulse-dot 1.5s infinite;
  flex-shrink: 0;
}

.video-player-wrap {
  position: relative;
  width: 100%;
  height: 340px;
  background: #000;
  overflow: hidden;
}

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

.video-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 12, 24, 0.85) 0%, transparent 40%, rgba(6, 12, 24, 0.3) 100%);
  pointer-events: none;
}

.video-controls-overlay {
  position: absolute;
  bottom: 12px;
  left: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 5;
}

.video-ctrl-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(6, 14, 28, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 242, 255, 0.35);
  color: var(--primary-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.video-ctrl-btn:hover {
  background: var(--primary-cyan);
  color: #031525;
  box-shadow: 0 0 15px var(--primary-cyan);
  transform: scale(1.08);
}

.video-location-tag {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  background: rgba(6, 14, 28, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-highlight);
  white-space: nowrap;
}

.video-card-footer {
  padding: 14px 18px;
  background: rgba(6, 12, 24, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.video-feat-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.video-feat-item .feat-icon {
  color: var(--primary-cyan);
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.video-feat-item .feat-title {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-highlight);
  line-height: 1.2;
  white-space: nowrap;
}

.video-feat-item .feat-sub {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.3;
  margin-top: 2px;
  white-space: nowrap;
}

/* ==========================================================================
   SERVICES & TARIFF PACKAGES SECTION
   ========================================================================== */
.packages-section {
  padding: 80px 0;
  position: relative;
  width: 100%;
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  width: 100%;
}

.package-card {
  display: flex;
  flex-direction: column;
  padding: 32px 26px;
  border-radius: var(--radius-xl);
  position: relative;
  width: 100%;
}

.package-card.featured {
  border-color: rgba(0, 242, 255, 0.6);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 35px rgba(0, 242, 255, 0.25);
  transform: translateY(-6px);
}

.featured-ribbon {
  position: absolute;
  top: 16px;
  right: 16px;
  background: linear-gradient(135deg, #00f2ff, #0088cc);
  color: #04101e;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.package-header {
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.package-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(0, 242, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border: 1px solid rgba(0, 242, 255, 0.25);
}

.package-icon img {
  width: 24px;
  height: 24px;
}

.package-name {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 6px;
}

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

.package-pricing {
  margin-bottom: 20px;
}

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

.price-amount {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-highlight);
  white-space: nowrap;
}

.price-currency {
  font-size: 1.3rem;
  color: var(--primary-cyan);
  white-space: nowrap;
}

.package-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 26px;
  flex: 1;
}

.package-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-main);
  line-height: 1.45;
}

.feature-check {
  color: var(--accent-green);
  font-size: 1rem;
  line-height: 1;
  flex-shrink: 0;
}

.gift-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: rgba(255, 184, 0, 0.1);
  border: 1px solid rgba(255, 184, 0, 0.3);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: var(--accent-gold);
  margin-top: 2px;
}

/* Technical Specification Callout */
.tech-spec-bar {
  margin-top: 36px;
  padding: 22px 28px;
  background: rgba(0, 242, 255, 0.05);
  border: 1px solid rgba(0, 242, 255, 0.2);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
}

.tech-spec-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.tech-spec-icon {
  font-size: 1.8rem;
  color: var(--primary-cyan);
  flex-shrink: 0;
}

.tech-spec-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-highlight);
  margin-bottom: 2px;
}

.tech-spec-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   INTERACTIVE MOSCOW OBLAST CALCULATOR
   ========================================================================== */
.calc-section {
  padding: 80px 0;
  position: relative;
  width: 100%;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: start;
  width: 100%;
}

.calc-form-card {
  padding: 34px 30px;
  width: 100%;
}

.calc-form-group {
  margin-bottom: 24px;
}

.calc-label {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-highlight);
  margin-bottom: 10px;
}

.calc-select, .calc-input {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-glass-input);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  color: var(--text-highlight);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.calc-select:focus, .calc-input:focus {
  border-color: var(--primary-cyan);
  box-shadow: 0 0 15px rgba(0, 242, 255, 0.25);
  background: rgba(8, 20, 40, 0.85);
}

.calc-select option {
  background: var(--bg-deep);
  color: var(--text-highlight);
}

/* District Quick Badges */
.district-quick-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.d-tag {
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
  user-select: none;
  white-space: nowrap;
}

.d-tag:hover, .d-tag.active {
  background: rgba(0, 242, 255, 0.15);
  border-color: var(--primary-cyan);
  color: var(--primary-cyan);
}

/* Radio Cards Grid */
.radio-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  width: 100%;
}

/* Outfitting Cards Grid */
.outfit-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  width: 100%;
}

.radio-card-label {
  display: block;
  position: relative;
  cursor: pointer;
  width: 100%;
}

.radio-card-label input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-card-body {
  padding: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
  gap: 4px;
  height: 100%;
  width: 100%;
}

.radio-card-label input[type="radio"]:checked + .radio-card-body {
  background: rgba(0, 242, 255, 0.1);
  border-color: var(--primary-cyan);
  box-shadow: 0 0 15px rgba(0, 242, 255, 0.2);
}

.radio-card-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-highlight);
}

.radio-card-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Range Slider with Live Counter */
.range-counter-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.range-counter-val {
  font-family: var(--font-mono);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-cyan);
  white-space: nowrap;
}

/* Custom Depth Slider */
input[type="range"].sim-depth-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.12);
  outline: none;
  cursor: pointer;
  margin: 12px 0 8px;
  transition: all var(--transition-fast);
}

input[type="range"].sim-depth-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #00f2ff;
  box-shadow: 0 0 15px rgba(0, 242, 255, 0.8), 0 2px 6px rgba(0,0,0,0.5);
  cursor: grab;
  border: 2px solid #ffffff;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

input[type="range"].sim-depth-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 0 25px rgba(0, 242, 255, 1), 0 2px 8px rgba(0,0,0,0.6);
}

input[type="range"].sim-depth-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #00f2ff;
  box-shadow: 0 0 15px rgba(0, 242, 255, 0.8);
  cursor: grab;
  border: 2px solid #ffffff;
}

.slider-scale-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  padding: 0 2px;
}

.slider-scale-row span {
  cursor: pointer;
  transition: color var(--transition-fast);
}

.slider-scale-row span:hover {
  color: var(--primary-cyan);
}

/* Live Estimate Sidebar Card */
.calc-summary-card {
  padding: 30px 24px;
  position: sticky;
  top: 90px;
  border-color: rgba(0, 242, 255, 0.3);
  width: 100%;
}

.calc-summary-header {
  font-size: 1.2rem;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.calc-summary-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  color: var(--text-muted);
  gap: 10px;
}

.summary-row span:last-child {
  color: var(--text-highlight);
  font-weight: 600;
  text-align: right;
}

.summary-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 6px 0;
}

.summary-total-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 8px;
  margin-bottom: 20px;
  gap: 10px;
}

.total-label {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-highlight);
}

.total-amount {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-cyan);
  line-height: 1;
  white-space: nowrap;
}

/* ==========================================================================
   PHOTO WORKS & FLEET GALLERY
   ========================================================================== */
.gallery-section {
  padding: 80px 0;
  position: relative;
  width: 100%;
}

.gallery-filter-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 7px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
  user-select: none;
  white-space: nowrap;
}

.filter-tab:hover, .filter-tab.active {
  background: var(--primary-cyan);
  color: #04101e;
  border-color: var(--primary-cyan);
  box-shadow: 0 0 15px rgba(0, 242, 255, 0.35);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
  width: 100%;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 220px;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-bounce);
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 12, 24, 0.9) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

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

.gallery-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--primary-cyan);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

/* ==========================================================================
   TRANSPARENCY & DRILLING PROCESS EXPLAINED
   ========================================================================== */
.process-section {
  padding: 80px 0;
  position: relative;
  width: 100%;
}

.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
}

.step-card {
  padding: 26px 20px;
  position: relative;
}

.step-number {
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 800;
  color: rgba(0, 242, 255, 0.2);
  margin-bottom: 10px;
  line-height: 1;
}

.step-title {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.step-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Winter Drilling Banner */
.winter-banner {
  margin-top: 45px;
  padding: 30px 34px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(16, 42, 86, 0.7) 0%, rgba(6, 18, 40, 0.85) 100%);
  border: 1px solid rgba(116, 245, 255, 0.35);
  box-shadow: 0 0 35px rgba(0, 242, 255, 0.15);
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 24px;
  align-items: center;
  width: 100%;
}

.winter-title {
  font-size: 1.45rem;
  margin-bottom: 10px;
}

.winter-benefits-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  list-style: none;
}

.winter-benefits-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
}

/* ==========================================================================
   TEAM SECTION (WITHOUT IGOR KYTENKOV)
   ========================================================================== */
.team-section {
  padding: 80px 0;
  position: relative;
  width: 100%;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  width: 100%;
}

.team-card {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.team-avatar-wrap {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(0, 242, 255, 0.35);
  box-shadow: 0 0 25px rgba(0, 242, 255, 0.2);
  margin-bottom: 18px;
  position: relative;
}

.team-avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-role {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--primary-cyan);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  white-space: nowrap;
}

.team-name {
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.team-bio {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   DOCUMENTS & LICENSES SECTION
   ========================================================================== */
.docs-section {
  padding: 80px 0;
  position: relative;
  width: 100%;
}

.docs-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  width: 100%;
}

.doc-item-card {
  padding: 10px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: transform var(--transition-normal);
}

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

.doc-item-card img {
  border-radius: var(--radius-sm);
  width: 100%;
  height: 170px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.doc-name {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 8px;
  line-height: 1.3;
}

/* ==========================================================================
   REVIEWS & SOCIAL PROOF
   ========================================================================== */
.reviews-section {
  padding: 80px 0;
  position: relative;
  width: 100%;
}

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

.review-card {
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-stars {
  color: var(--accent-gold);
  font-size: 1.05rem;
  margin-bottom: 14px;
  display: flex;
  gap: 4px;
}

.review-text {
  font-size: 0.9rem;
  color: var(--text-main);
  line-height: 1.65;
  margin-bottom: 20px;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.author-avatar-stub {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00f2ff, #1976d2);
  color: #04101e;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
}

.author-loc {
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.avito-badge-box {
  margin-top: 40px;
  text-align: center;
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq-section {
  padding: 80px 0;
  position: relative;
  width: 100%;
}

.faq-container {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.faq-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-question-btn {
  width: 100%;
  padding: 18px 22px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-highlight);
  cursor: pointer;
  user-select: none;
}

.faq-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(0, 242, 255, 0.1);
  color: var(--primary-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: transform var(--transition-normal);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: var(--primary-cyan);
  color: #04101e;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out, padding 0.35s ease-out;
  padding: 0 22px;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 22px 20px 22px;
}

/* ==========================================================================
   FOOTER & LEGAL
   ========================================================================== */
.site-footer {
  background: #030813;
  padding: 70px 0 35px 0;
  border-top: 1px solid rgba(0, 242, 255, 0.15);
  position: relative;
  z-index: 10;
  width: 100%;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 50px;
  width: 100%;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-col-title {
  font-size: 1.05rem;
  margin-bottom: 16px;
  color: var(--text-highlight);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.88rem;
  white-space: nowrap;
}

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

.footer-legal-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--text-dim);
  width: 100%;
}

/* ==========================================================================
   FLOATING ACTION BUTTONS & MODALS
   ========================================================================== */
.floating-widgets {
  position: fixed;
  bottom: 26px;
  right: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 99;
}

.float-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  transition: all var(--transition-bounce);
}

.float-btn img {
  width: 26px;
  height: 26px;
}

.float-btn:hover {
  transform: scale(1.12);
}

.float-btn.wa {
  background: #25D366;
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.5);
}

.float-btn.tg {
  background: #229ED9;
  box-shadow: 0 0 20px rgba(34, 158, 217, 0.5);
}

.float-btn.max {
  background: linear-gradient(135deg, #7B2CBF, #0077B6);
  box-shadow: 0 0 20px rgba(123, 44, 191, 0.6);
}

.float-btn.phone {
  background: var(--primary-cyan);
  box-shadow: 0 0 25px rgba(0, 242, 255, 0.6);
}

/* Modal Popup */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 8, 19, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  width: 100%;
  max-width: 500px;
  padding: 34px 28px;
  position: relative;
  transform: scale(0.92);
  transition: transform var(--transition-bounce);
}

.modal-overlay.active .modal-card {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  color: var(--text-muted);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.modal-close-btn:hover {
  color: var(--primary-cyan);
}

/* Messenger Selector Modal */
.messenger-modal-card {
  width: 100%;
  max-width: 440px;
  padding: 34px 26px;
  border-radius: var(--radius-xl);
  background: rgba(8, 16, 32, 0.96);
  border: 1px solid rgba(0, 242, 255, 0.35);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 242, 255, 0.2);
  text-align: center;
  position: relative;
  transform: scale(0.92);
  transition: transform var(--transition-bounce);
}

.modal-overlay.active .messenger-modal-card {
  transform: scale(1);
}

.messenger-choice-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 22px 0 10px;
}

.messenger-choice-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff !important;
  text-decoration: none;
  transition: all var(--transition-fast);
  cursor: pointer;
  border: none;
}

.messenger-choice-btn img {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.messenger-choice-btn.wa {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%) !important;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
}

.messenger-choice-btn.wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.55);
}

.messenger-choice-btn.tg {
  background: linear-gradient(135deg, #229ED9 0%, #0088cc 100%) !important;
  box-shadow: 0 4px 20px rgba(34, 158, 217, 0.35);
}

.messenger-choice-btn.tg:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(34, 158, 217, 0.55);
}

.messenger-choice-btn.max {
  background: linear-gradient(135deg, #7B2CBF 0%, #0077B6 100%) !important;
  box-shadow: 0 4px 20px rgba(123, 44, 191, 0.4);
}

.messenger-choice-btn.max:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(123, 44, 191, 0.6);
}

.messenger-choice-btn.phone {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: var(--text-highlight) !important;
}

.messenger-choice-btn.phone:hover {
  background: rgba(0, 242, 255, 0.15) !important;
  border-color: var(--primary-cyan) !important;
  color: var(--primary-cyan) !important;
  transform: translateY(-2px);
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
  padding: 30px;
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-img-wrap {
  max-width: 92vw;
  max-height: 85vh;
  position: relative;
}

.lightbox-img-wrap img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 242, 255, 0.4);
  box-shadow: 0 0 40px rgba(0, 242, 255, 0.2);
}

/* Toast Notifications */
.toast-msg {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(6, 18, 38, 0.95);
  border: 1px solid var(--primary-cyan);
  box-shadow: 0 10px 30px rgba(0, 242, 255, 0.3);
  padding: 12px 24px;
  border-radius: var(--radius-full);
  color: var(--text-highlight);
  font-size: 0.9rem;
  z-index: 2000;
  opacity: 0;
  transition: all var(--transition-bounce);
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 90vw;
  text-align: center;
}

.toast-msg.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ==========================================================================
   COMPREHENSIVE RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* Header adaptation on medium laptops (<= 1260px) */
@media (max-width: 1260px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* Laptop & Small Desktop (<= 1200px) */
@media (max-width: 1200px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .sim-container-card {
    height: 500px;
  }
  .packages-grid {
    gap: 20px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .docs-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Tablets Landscape & Smaller Laptops (<= 1024px) */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-content {
    text-align: left;
  }
  .sim-container-card {
    height: 440px;
    max-width: 720px;
    margin: 0 auto;
  }
  .packages-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }
  .package-card.featured {
    transform: none;
  }
  .calc-grid {
    grid-template-columns: 1fr;
  }
  .calc-summary-card {
    position: static;
  }
  .process-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
  }
  .winter-banner {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .winter-banner > div:last-child {
    align-items: flex-start !important;
  }
}

/* Medium Tablets & Mobiles (<= 768px) */
@media (max-width: 768px) {
  .container {
    padding: 0 16px !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .site-header {
    padding: 8px 0;
  }
  .header-phone,
  .header-cta-btn,
  .header-messengers .tg {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .header-actions {
    gap: 8px;
  }
  .logo-brand {
    font-size: 0.95rem;
  }
  .logo-sub {
    font-size: 0.58rem;
  }
  .logo-img {
    width: 32px;
    height: 32px;
  }
  .hero-section {
    padding-top: 76px;
    padding-bottom: 30px;
    min-height: auto;
  }
  .hero-badge-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    width: 100%;
  }
  .hero-badge {
    font-size: 0.7rem;
    padding: 4px 8px;
    max-width: 100%;
    line-height: 1.3;
  }
  .hero-title {
    font-size: clamp(1.45rem, 5.8vw, 2.05rem);
    line-height: 1.2;
    margin-bottom: 14px;
  }
  .hero-description {
    font-size: 0.9rem;
    margin-bottom: 18px;
    line-height: 1.5;
  }
  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 10px;
    margin-bottom: 24px;
  }
  .hero-cta-group .btn {
    width: 100%;
    max-width: 100%;
    padding: 13px 16px;
    font-size: 0.92rem;
  }
  .hero-stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding-top: 16px;
    width: 100%;
  }
  .stat-box {
    min-width: 0;
  }
  .stat-value {
    font-size: 1.25rem;
  }
  .stat-label {
    font-size: 0.7rem;
    line-height: 1.25;
  }
  .hero-video-card {
    border-radius: var(--radius-lg);
    width: 100%;
  }
  .video-player-wrap {
    height: 220px;
  }
  .video-header-bar {
    padding: 10px 14px;
  }
  .video-status-badge {
    font-size: 0.7rem;
  }
  .video-card-footer {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px 14px;
  }
  .calc-form-card {
    padding: 18px 12px;
  }
  .calc-summary-card {
    padding: 18px 12px;
  }
  .radio-cards-grid {
    grid-template-columns: 1fr;
  }
  .outfit-cards-grid {
    grid-template-columns: 1fr;
  }
  .summary-row {
    font-size: 0.82rem;
  }
  .total-amount {
    font-size: 1.7rem;
  }
  .process-steps-grid {
    grid-template-columns: 1fr;
  }
  .docs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .floating-widgets {
    bottom: 14px;
    right: 10px;
    gap: 6px;
    z-index: 90;
  }
  .float-btn {
    width: 40px;
    height: 40px;
  }
  .float-btn img {
    width: 20px;
    height: 20px;
  }
  .tech-spec-bar {
    padding: 14px 12px;
    flex-direction: column;
  }
  .tech-spec-bar .btn {
    width: 100%;
  }
  .winter-benefits-list {
    grid-template-columns: 1fr;
  }
  .modal-card {
    padding: 20px 14px;
  }
}

/* Ultra Small Mobiles (<= 360px Samsung) */
@media (max-width: 360px) {
  .container {
    padding: 0 10px !important;
  }
  .logo-brand {
    font-size: 0.88rem;
  }
  .logo-sub {
    font-size: 0.52rem;
  }
  .logo-img {
    width: 28px;
    height: 28px;
  }
  .hero-title {
    font-size: 1.38rem;
  }
  .stat-value {
    font-size: 1.15rem;
  }
  .stat-label {
    font-size: 0.65rem;
  }
  .video-player-wrap {
    height: 190px;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }
  .gallery-item {
    height: 115px;
  }
  .gallery-overlay {
    padding: 4px;
  }
  .gallery-tag {
    font-size: 0.6rem;
  }
  .doc-item-card img {
    height: 110px;
  }
  .total-amount {
    font-size: 1.5rem;
  }
  .price-amount {
    font-size: 1.55rem;
  }
  .package-card {
    padding: 18px 12px;
  }
  .avito-badge-box .glass-panel {
    flex-direction: column;
    padding: 12px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }
}

/* Stable player frame: contain footage without changing its proportions. */
.video-player-wrap {
  height: auto;
  aspect-ratio: 4 / 3;
  max-height: 420px;
  flex: none;
}
.hero-video-element { object-fit: contain; }
.video-controls-overlay { flex-wrap: wrap; }
.video-ctrl-btn { width: 44px; height: 44px; flex: 0 0 44px; }
.video-location-tag { min-width: 0; white-space: normal; }
.video-location-tag span:last-child { overflow-wrap: anywhere; }
.video-feat-item .feat-title, .video-feat-item .feat-sub { white-space: normal; }
.video-header-bar { flex-wrap: wrap; }
.video-tab-btn { min-width: 0; min-height: 44px; }
.video-tab-btn .material-symbols-outlined { flex-shrink: 0; }
.video-tab-btn[aria-pressed="true"] { border-color: var(--primary-cyan); }

/* Keep the desktop configuration order while grouping advanced mobile options. */
.calc-form-card { display: flex; flex-direction: column; min-width: 0; }
.calc-advanced, .calc-advanced-fields { display: contents; }
.calc-group-1 { order: 1; }
.calc-group-2 { order: 2; }
.calc-group-3 { order: 3; }
.calc-group-4 { order: 4; }
.calc-group-5 { order: 5; }
.calc-group-6 { order: 6; }
.calc-disclosure, .calc-mobile-send, .floating-toggle { display: none; }
.summary-row[hidden] { display: none; }
.radio-card-label input:focus-visible + .radio-card-body { outline: 2px solid var(--primary-cyan); outline-offset: 3px; }
section[id] { scroll-margin-top: 85px; }
.modal-overlay:not(.active), .lightbox-modal:not(.active) { visibility: hidden; }
.modal-overlay { overflow-y: auto; overscroll-behavior: contain; }
#mobile-drawer > .glass-panel { overflow-y: auto; overscroll-behavior: contain; }

@media (max-width: 768px) {
  html { -webkit-text-size-adjust: 100%; }
  .video-player-wrap { height: auto; max-height: 340px; }
  .video-header-bar { padding: 10px 12px; gap: 4px 10px; }
  .video-status-badge { font-size: 0.65rem; }
  .video-controls-overlay { left: 10px; right: 10px; bottom: 10px; gap: 8px; }
  .video-location-tag { flex-basis: 100%; margin-left: 0; width: fit-content; font-size: 0.65rem; padding: 5px 8px; }
  .video-playlist-tabs { gap: 6px; padding: 6px; }
  .video-tab-btn { padding: 8px 6px; font-size: 0.75rem; line-height: 1.35; }
  .video-card-footer { padding: 12px; }
  .video-feat-item .feat-sub { font-size: 0.75rem; }

  .calc-section { padding: 28px 0; }
  .calc-section .section-header { margin-bottom: 16px; }
  .calc-section .section-badge { display: none; }
  .calc-section .section-title { font-size: 1.4rem; line-height: 1.25; margin-bottom: 6px; }
  .calc-section .section-subtitle { font-size: 0.82rem; line-height: 1.4; }
  .calc-grid { gap: 10px; }
  .calc-form-card, .calc-summary-card { padding: 14px; }
  .calc-form-group { margin-bottom: 12px; }
  .calc-label { font-size: 0.83rem; margin-bottom: 6px; line-height: 1.4; }
  .calc-select { font-size: 16px; min-height: 44px; padding: 8px 10px; }
  .district-quick-tags { display: none; }
  #calc-district-note { font-size: 0.72rem !important; margin-top: 6px !important; line-height: 1.4; }
  .range-counter-row { margin-bottom: 0; gap: 8px; }
  .range-counter-val { font-size: 1.15rem; }
  input[type="range"].sim-depth-slider { height: 28px; margin: 0; background-clip: content-box !important; padding: 10px 0; touch-action: pan-y; }
  .slider-scale-row { font-size: 0.72rem; }
  .slider-scale-row span { min-width: 44px; min-height: 24px; }
  .radio-cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .outfit-cards-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .radio-card-body { padding: 10px; }
  .outfit-cards-grid .radio-card-body { padding: 8px 4px !important; text-align: center; min-height: 58px; justify-content: center; }
  .outfit-cards-grid .radio-card-title { font-size: 0.8rem !important; }
  .outfit-cards-grid .radio-card-desc { font-size: 0.7rem !important; }
  .calc-advanced { display: block; order: 6; }
  .calc-advanced-fields { display: none; padding-top: 12px; }
  .calc-advanced-fields.is-open { display: block; }
  .calc-disclosure { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 44px; padding: 8px 0; background: transparent; color: var(--primary-cyan); font: inherit; font-size: 0.83rem; text-align: left; cursor: pointer; border: 0; }
  .calc-disclosure span { font-size: 1.2rem; }
  .calc-advanced .calc-disclosure { border-top: 1px solid var(--border-glass); }
  .calc-advanced-fields input[type="checkbox"] { width: 22px; height: 22px; flex-shrink: 0; accent-color: var(--primary-cyan); }
  .calc-advanced-fields .calc-group-6 label { min-height: 44px; }
  .calc-summary-card { display: flex; flex-direction: column; }
  .calc-summary-header, .calc-guarantees, .calc-contact-actions { display: none !important; }
  .summary-total-row { order: -2; margin: 0 0 10px; align-items: center; }
  .total-label { font-size: 0.85rem; }
  .total-amount { font-size: clamp(1.25rem, 6vw, 1.7rem); }
  .calc-mobile-send { display: flex; order: -1; width: 100%; min-height: 44px; }
  #calc-breakdown { display: none; margin: 6px 0 0; gap: 8px; }
  #calc-breakdown.is-open { display: flex; }
  .summary-row { align-items: flex-start; }
  .summary-row span { min-width: 0; overflow-wrap: anywhere; }
  .summary-row span:last-child { max-width: 60%; }

  .floating-widgets { bottom: max(12px, env(safe-area-inset-bottom)); right: max(10px, env(safe-area-inset-right)); }
  .floating-widgets .float-btn { display: none; width: 44px; height: 44px; }
  .floating-widgets.is-open .float-btn { display: flex; }
  .floating-toggle { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--primary-cyan); color: var(--bg-abyss); border: 1px solid var(--primary-dark); cursor: pointer; }
  .floating-widgets.over-interactive-content:not(.is-open) { visibility: hidden; }
  .modal-overlay { padding: 12px; padding-bottom: max(12px, env(safe-area-inset-bottom)); }
  #mobile-drawer > .glass-panel { padding-bottom: max(20px, env(safe-area-inset-bottom)) !important; }
  .mobile-menu-toggle { min-width: 44px; min-height: 44px; }
}
@media (max-width: 360px) {
  .header-messengers .max { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
