/* =============================================
   ПРЕМИАЛЬНЫЙ СВЕТЛЫЙ ДИЗАЙН — Аренда Неба
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --bg-light: #f8f9fc;
  --bg-white: #ffffff;
  --bg-card: #ffffff;
  --accent: #ff6b35;
  --accent-hover: #ff8c5a;
  --accent-soft: rgba(255, 107, 53, 0.1);
  --text-dark: #1a1f36;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border: #e2e8f0;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --radius: 16px;
}

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

html {
  /* scroll-behavior: smooth; - отключено, используется Lenis для плавной прокрутки */
  /* Оптимизация рендеринга для предотвращения микрозависаний */
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--bg-light);
  -webkit-font-smoothing: antialiased;
  /* Оптимизация для плавного скролла */
  -webkit-overflow-scrolling: touch;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

/* =============================================
   SCROLL PROGRESS BAR
   ============================================= */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255, 107, 53, 0.1);
  z-index: 1000;
}

.scroll-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent) 0%, #ff8c5a 100%);
  width: 0%;
  transition: width 0.1s ease;
}

/* =============================================
   HEADER
   ============================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  padding: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.site-header.scrolled .main-nav a {
  color: var(--text-muted);
}

.site-header.scrolled .main-nav a:hover {
  color: var(--text-dark);
}

.site-header.scrolled .logo {
  color: var(--accent);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  transition: height 0.3s ease;
}

.site-header.scrolled .header-inner {
  height: 70px;
}

.logo,
a.logo {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--accent);
  text-transform: uppercase;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

a.logo:hover {
  opacity: 0.8;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 0;
  position: relative;
  transition: color 0.2s ease;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-nav a:hover {
  color: var(--text-dark);
}

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

/* Выпадающее меню для автопарка */
.nav-dropdown {
  position: relative;
}

.dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  position: relative;
}

/* Убираем стрелку, но оставляем оранжевую линию при наведении */
.dropdown-trigger::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-dropdown:hover .dropdown-trigger::after {
  width: 100%;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 8px;
  background: #ffffff !important;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.08);
  min-width: 160px;
  max-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  padding: 6px;
  border: 1px solid var(--border);
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu-item {
  display: block;
  padding: 8px 12px;
  color: #1a1f36 !important;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
  transition: all 0.2s ease;
  position: relative;
  white-space: nowrap;
}

.dropdown-menu-item:hover {
  background: rgba(0, 0, 0, 0.04);
  color: var(--text-dark) !important;
}

.dropdown-menu-item-title {
  font-weight: 600;
  display: block;
  color: inherit !important;
}

.dropdown-menu-item-price {
  display: none;
}

/* Мобильное меню */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  position: relative;
  width: 40px;
  height: 40px;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
  display: block;
  position: relative;
  transform-origin: center;
}

.site-header.scrolled .mobile-menu-btn span {
  background: var(--text-dark);
}

.site-header:not(.scrolled) .mobile-menu-btn span {
  background: rgba(255, 255, 255, 0.9);
}

.mobile-menu-btn.active {
  gap: 0;
}

.mobile-menu-btn.active span:nth-child(1) {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -1px;
  margin-left: -12px;
  transform: rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-menu-btn.active span:nth-child(3) {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -1px;
  margin-left: -12px;
  transform: rotate(-45deg);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  background: var(--bg-white);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  z-index: 998;
  padding: 24px;
  transform: translateY(-100%);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav.active {
  display: block;
  transform: translateY(0);
  opacity: 1;
}

.mobile-nav a {
  display: block;
  padding: 16px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border);
  transition: color 0.2s ease;
}

.mobile-nav a:last-child {
  border-bottom: none;
}

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

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Мобильная версия выпадающего меню */
@media (max-width: 768px) {
  .nav-dropdown {
    position: static;
  }
  
  .dropdown-menu {
    position: fixed;
    left: 16px;
    right: 16px;
    transform: translateX(0) translateY(-10px);
    max-width: none;
    width: auto;
  }
  
  .nav-dropdown:hover .dropdown-menu {
    transform: translateX(0) translateY(0);
  }
  
  .dropdown-trigger::after {
    display: none;
  }
}

/* На первом экране (до скролла) делаем текст темным для читаемости */
.site-header:not(.scrolled) .main-nav a {
  color: rgba(255, 255, 255, 0.9);
}

.site-header:not(.scrolled) .main-nav a:hover {
  color: #ffffff;
}

.site-header:not(.scrolled) .logo {
  color: #ffffff;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header-contacts-mini {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-contacts-mini > .header-messenger {
  margin-right: 0;
}

.btn-header-call {
  padding: 10px 20px;
  font-size: 14px;
}

.header-messengers-mini {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-messenger {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2), 0 2px 4px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.header-messenger.wa {
  background: linear-gradient(135deg, #25d366 0%, #059142 100%);
}

/* MAX (мессенджер VK) — в хедере; логотип из images/max-logo.svg */
.header-messenger.max {
  background: transparent;
  padding: 0;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.header-messenger.max .header-max-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
}

.header-messenger.tg {
  background: linear-gradient(135deg, #1da1ff 0%, #0088cc 100%);
}

.header-messenger.vk {
  background: linear-gradient(135deg, #5ba8ff 0%, #0077ff 100%);
}

.header-messenger.phone {
  background: linear-gradient(135deg, #ff7a3f 0%, #ff5a2b 100%);
}

.header-messenger svg {
  width: 20px;
  height: 20px;
  fill: #ffffff;
  shape-rendering: geometricPrecision;
  position: relative;
  z-index: 2;
  pointer-events: none;
}

.header-messenger:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25), 0 2px 4px rgba(0, 0, 0, 0.12);
  transform: translateY(-1px);
}

.header-messenger:active {
  transform: scale(0.95) translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.header-messenger .ripple {
  background: rgba(255, 255, 255, 0.6);
  transform: translate(-50%, -50%) scale(0);
  transform-origin: center;
  z-index: 0;
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform, opacity;
  top: 0;
  left: 0;
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1f36 0%, #0f1424 100%);
}

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

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  opacity: 1;
}

.hero::before {
  /* затемнение отключено для чистого видео-фона */
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 120px 0 80px;
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(255, 107, 53, 0.2);
  border: 1px solid rgba(255, 107, 53, 0.4);
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 20px;
  color: #fff;
}

.hero-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 40px;
  max-width: 520px;
}

.hero-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 0 40px;
}

.hero-point {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  text-shadow: none;
}

.hero-point::before {
  content: '';
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(255, 107, 53, 0.6);
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-bottom: 40px;
  padding: 0;
  background: transparent;
  backdrop-filter: none;
  border: 0;
  border-radius: 0;
}

.hero-stat {
  flex: 1 1 0;
  text-align: left;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.stat-number {
  font-size: 42px;
  font-weight: 800;
  color: #ff6b35 !important;
  line-height: 1;
  margin-bottom: 6px;
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.35);
}

.stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
}

.hero-stat--accent,
.hero-stat--accent2 {
  background: transparent;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

/* Ripple эффект для всех кнопок */
.btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  transform: translate(-50%, -50%) scale(0);
  transform-origin: center;
  pointer-events: none;
  will-change: transform, opacity;
  z-index: 1;
}

@keyframes ripple-animation {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0.7;
  }
  30% {
    opacity: 0.5;
  }
  100% {
    transform: translate(-50%, -50%) scale(2.5);
    opacity: 0;
  }
}

.btn-primary {
  background: linear-gradient(135deg, #ff7a3f 0%, #ff5a2b 50%, #ff9b5f 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(255, 107, 53, 0.35), 0 2px 4px rgba(255, 107, 53, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-sizing: border-box; /* Учитываем padding в размерах */
  touch-action: manipulation; /* Предотвращаем двойной тап */
  -webkit-touch-callout: none; /* Отключаем контекстное меню на iOS */
  width: auto; /* Автоматическая ширина */
  max-width: 100%; /* Ограничиваем максимальную ширину */
}

.btn-primary:hover {
  box-shadow: 0 8px 24px rgba(255, 107, 53, 0.45), 0 4px 8px rgba(255, 107, 53, 0.25);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0) scale(0.95) !important; /* Уменьшаем, а не увеличиваем */
  box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3) !important;
  transition: transform 0.1s ease, box-shadow 0.1s ease !important;
  width: auto !important; /* Сохраняем автоматическую ширину */
  max-width: 100% !important; /* Ограничиваем максимальную ширину */
}

.btn-primary .ripple {
  background: rgba(255, 255, 255, 0.5);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-1px);
}

.btn-ghost:active {
  transform: scale(0.98) translateY(0);
  background: rgba(255, 255, 255, 0.15);
}

.btn-ghost .ripple {
  background: rgba(255, 255, 255, 0.3);
}

.btn-block {
  width: 100%;
}

/* Кнопка калькулятора — компактнее и со своим стилем */
.btn-calc {
  padding: 0 24px;
  font-size: 14px;
  border-radius: 12px;
  margin-top: 0;
  align-self: flex-start;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* =============================================
   SECTIONS
   ============================================= */
.section {
  padding: 100px 0;
  position: relative;
  /* Убеждаемся, что секции не обрезают контент (особенно важно для stacking cards) */
  overflow: visible;
}

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

.section-header h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  margin: 0 0 16px;
  color: var(--text-dark);
}

.section-header p {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* =============================================
   CALCULATOR
   ============================================= */
.calculator-section {
  background: var(--bg-white);
}

.calculator-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
}

.calculator-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  box-shadow: var(--shadow-sm);
  align-items: start;
  align-content: start;
  height: 100%;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}

.field-equipment {
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: top;
  position: relative;
  z-index: 1;
}

.field-equipment.is-open {
  /* При открытом списке поднимаем z-index чтобы список был над кнопкой */
  z-index: 1000;
  transform: none;
  box-shadow: none;
}

.field-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.calculator-form select,
.calculator-form input {
  padding: 14px 16px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text-dark);
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: all 0.2s ease;
}

/* Убираем стандартные стрелки у input[type=number] */
input[type='number']::-webkit-inner-spin-button,
input[type='number']::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type='number'] {
  -moz-appearance: textfield;
  appearance: textfield; /* compatibility */
}

.calculator-form select:focus,
.calculator-form input:focus,
.calculator-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.calculator-form textarea {
  padding: 14px 16px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text-dark);
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: all 0.2s ease;
  resize: vertical;
  min-height: 80px;
  width: 100%;
  box-sizing: border-box;
}

.quick-order-divider {
  grid-column: 1 / -1;
  height: 1px;
  background: var(--border);
  margin: 8px 0 16px;
}

/* Чекбокс согласия на обработку ПД */
/* Кнопка прикрепления файла */
.file-upload-wrapper {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.file-upload-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border: 1.5px dashed var(--accent, #f97316);
  border-radius: 8px;
  color: var(--accent, #f97316);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  user-select: none;
}
.file-upload-btn:hover {
  background: rgba(249, 115, 22, 0.07);
}
.file-name-display {
  font-size: 13px;
  color: var(--text-muted, #666);
  word-break: break-all;
}

.privacy-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  grid-column: 1 / -1;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
  cursor: pointer;
  margin-top: 4px;
}

.privacy-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 1px;
  accent-color: var(--accent);
  cursor: pointer;
}

.privacy-checkbox a {
  color: var(--accent);
  text-decoration: underline;
}

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

.calculator-form .btn-submit {
  grid-column: 1 / -1;
  width: 100%;
  padding: 16px;
  font-size: 16px;
  font-weight: 600;
  margin-top: 0;
  box-sizing: border-box;
  touch-action: manipulation;
}

.calculator-form .btn-submit:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.calculator-form .form-message {
  grid-column: 1 / -1;
}

/* Красивый контрол расстояния с большими стрелками */
.field-distance .number-input {
  display: flex;
  align-items: center;
  gap: 8px;
}

.field-distance .number-input input {
  flex: 1;
  text-align: center;
}

.field-km-price {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  margin-left: 4px;
  height: 44px;
  display: flex;
  align-items: center;
  line-height: 1;
}

/* Кнопка отправки заявки в калькуляторе — стили выше в .calculator-form .btn-submit */

.number-btn {
  width: 44px;
  min-width: 44px;
  height: 44px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, #ff7a3f 0%, #ff5a2b 100%);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(255, 107, 53, 0.4), 0 2px 4px rgba(255, 107, 53, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.number-btn:hover {
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.5), 0 4px 8px rgba(255, 107, 53, 0.25);
  transform: translateY(-1px);
}

/* Анимация применяется только через класс, добавленный JavaScript */
.number-btn.number-btn--active {
  transform: scale(0.95) translateY(0) !important;
  box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3) !important;
}

/* Отключаем стандартный :active, чтобы избежать конфликтов */
.number-btn:active {
  transform: scale(0.95) translateY(0);
  box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

/* Ripple эффект отключен для кнопок калькулятора - используется своя анимация */
.number-btn .ripple {
  display: none !important;
}

.calculator-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
}

.calculator-preview {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.calculator-preview-image {
  border-radius: 0;
  overflow: hidden;
  margin-bottom: 0;
  background: var(--bg-light);
  width: 100%;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.calculator-preview-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
  opacity: 1 !important;
  filter: none !important;
}

.calculator-preview-info {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.calculator-preview-title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: var(--text-dark);
  text-align: left;
  line-height: 1.25;
}

.calculator-preview-price {
  font-size: 15px;
  color: var(--accent);
  font-weight: 600;
  margin: 2px 0 6px;
}

.calculator-preview-price strong {
  font-size: 20px;
  font-weight: 800;
}

.calculator-specs {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.calculator-specs li {
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.35;
}

.calculator-specs .spec-icon {
  font-size: 16px;
  flex-shrink: 0;
  width: 20px;
  text-align: center;
}

.calculator-preview-desc {
  margin: 8px 0 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-muted);
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

.calculator-sum-inline {
  grid-column: 1 / -1;
  margin: 8px 0 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.calculator-time {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 4px;
  display: block;
}

.calculator-km-info {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 6px;
  display: block;
  line-height: 1.5;
}

.calculator-note-inline {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* =============================================
   AUTOPARK
   ============================================= */
.autopark-section {
  background: var(--bg-light);
}

.services-carousel {
  display: flex;
  align-items: center;
  gap: 20px;
}

.services-viewport {
  flex: 1;
  overflow-x: auto;
  overflow-y: hidden;
  padding-top: 16px;
  margin-top: -16px;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  /* Оптимизация производительности прокрутки */
  will-change: scroll-position;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

.services-viewport::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.services-grid {
  display: flex;
  gap: 20px;
  padding-top: 0;
  padding-right: 20px;
  min-width: fit-content;
  /* Оптимизация производительности */
  will-change: transform;
  transform: translateZ(0);
}

.service-card-link {
  flex: 0 0 300px;
  text-decoration: none;
  color: inherit;
  height: 100%;
  display: flex;
  /* Оптимизация производительности */
  will-change: transform, opacity;
  transform: translateZ(0);
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 480px;
  /* Фиксированный размер для всех карточек */
  max-height: 480px;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.service-card-image {
  height: 180px;
  min-height: 180px;
  max-height: 180px;
  overflow: hidden;
  background: var(--bg-light);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  /* Улучшение качества изображения - предотвращение размытия */
  image-rendering: -webkit-optimize-contrast;
  image-rendering: auto;
  -ms-interpolation-mode: bicubic;
  /* Предотвращение размытия при масштабировании и анимации */
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  /* Принудительное использование GPU для лучшего качества */
  will-change: transform;
  /* Минимальная высота для предотвращения скачков */
  min-height: 180px;
}

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

.service-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  /* Фиксированная высота для единообразия карточек */
  height: 300px;
  overflow: hidden;
}

.service-card-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--text-dark);
  line-height: 1.3;
  flex-shrink: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.service-card-meta {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 12px;
  line-height: 1.5;
  flex: 1;
  min-height: 60px;
}

.service-card-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
  margin-top: auto;
  flex-shrink: 0;
}

.price-vat {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
  margin-left: 4px;
}

.carousel-btn {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  border: 2px solid var(--border);
  background: linear-gradient(135deg, #ffffff 0%, #f6f7fb 100%);
  color: var(--text-dark);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  /* Убираем все CSS transitions - используем GSAP */
  transition: none;
  /* Оптимизация для GSAP анимаций */
  will-change: transform;
  transform: translateY(0) scale(1);
}

.carousel-btn span,
.carousel-btn svg {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  /* Убираем CSS transitions - используем GSAP */
  transition: none;
  will-change: transform;
  line-height: 1;
  font-size: inherit;
  text-align: center;
}

.carousel-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.carousel-btn-hover {
  border-color: #ff6b35 !important;
  box-shadow: 0 8px 24px rgba(255, 107, 53, 0.3), 0 4px 8px rgba(255, 107, 53, 0.2) !important;
}

.carousel-btn-active {
  border-color: #ff6b35 !important;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.25), 0 2px 4px rgba(255, 107, 53, 0.15) !important;
}

/* Ripple эффект отключен для кнопок карусели - используется GSAP анимация */
.carousel-btn .ripple {
  display: none !important;
}

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

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: var(--border);
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot.active {
  width: 32px;
  border-radius: 5px;
  background: var(--accent);
}

/* =============================================
   OUR CAPABILITIES SLIDER (Scroll-driven)
   ============================================= */
.our-capabilities-section {
  position: relative;
  height: 300vh; /* Увеличена высота для большего пространства прокрутки */
  width: 100%;
  margin: 0;
  padding: 0;
}

/* =============================================
   POPULAR EQUIPMENT (Stacking Cards)
   Based on CodyHouse tutorial: https://codyhouse.co/tutorials/how-stacking-cards
   ============================================= */
.popular-cards-section {
  padding: 80px 0;
}

/* Two Column Grid Layout */
.popular-cards-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 60px;
  align-items: start;
}

/* LEFT SIDEBAR */
.popular-cards-sidebar {
  position: relative;
  /* Sidebar должен иметь высоту контента справа, чтобы sticky работал до конца */
  min-height: 100%;
}

.popular-cards-sidebar-sticky {
  position: sticky;
  top: 110px;
  /* Высота sticky блока должна помещаться в viewport */
  max-height: calc(100vh - 130px);
  overflow-y: auto;
  padding: 40px;
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  /* Скрываем scrollbar для чистого вида */
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.popular-cards-sidebar-sticky::-webkit-scrollbar {
  width: 4px;
}

.popular-cards-sidebar-sticky::-webkit-scrollbar-track {
  background: transparent;
}

.popular-cards-sidebar-sticky::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 2px;
}

.popular-cards-sidebar-sticky::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

.sidebar-title {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 800;
  margin: 0 0 16px 0;
  color: var(--text-dark);
}

.sidebar-description {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 32px 0;
}

.sidebar-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.sidebar-feature-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
}

.sidebar-feature-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-feature-text strong {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.4;
}

.sidebar-feature-text span {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* RIGHT CONTENT */
.popular-cards-content {
  position: relative;
}

/* Button Section */
.popular-equipment-button-section {
  padding: 40px 0;
  background: var(--bg-light);
}

.popular-equipment-button--always-visible {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  pointer-events: auto !important;
  margin: 0;
  text-align: center;
}

/* Stacking Cards Container */
.stack-cards {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Individual Card Item */
.stack-cards__item {
  position: sticky;
  top: 90px;
  margin-bottom: 24px;
  transform-origin: center top;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.stack-cards__item:last-child {
  margin-bottom: 0;
}

/* Card Content */
.card__content {
  --bg: #111;
  --fg: #fff;
  
  padding: 2em;
  border-radius: 1em;
  background-color: var(--bg);
  color: var(--fg);
  box-shadow: 0 0.25em 0.5em rgba(0, 0, 0, 0.25);
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  transform-origin: 50% 0%;
  overflow: hidden;
  position: relative;
}

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

.card__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.22) 55%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
  z-index: 1;
}

/* На мобильной градиент не используется — фото и текст разделены (см. @media 768px) */

.card__counter {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  font-variant-numeric: tabular-nums;
  background: rgba(0, 0, 0, 0.35);
  padding: 8px 14px;
  border-radius: 999px;
  backdrop-filter: blur(10px);
  pointer-events: none;
  z-index: 5;
}

.card__body {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.card__title {
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  margin: 0 0 14px 0;
}

.card__text {
  display: none; /* Скрываем описательный текст, оставляем только bullets */
}

.card__bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card__bullets li {
  font-size: clamp(13px, 1.6vw, 14px);
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.90);
  padding-left: 20px;
  position: relative;
  font-weight: 400;
}

.card__bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(255, 107, 53, 0.5);
}

/* Footer карточки с ценой и кнопкой */
.card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-right: 140px; /* место под кнопку «Подробнее», чтобы «без НДС» не прилипало */
}

.card__price {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 700;
  color: var(--accent);
  margin: 0;
  flex-shrink: 0;
}

.card__link {
  position: absolute;
  bottom: 2em;
  right: 2em;
  display: inline-block;
  font-size: clamp(15px, 1.8vw, 16px);
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  padding: 14px 28px;
  background: rgba(255, 255, 255, 0.18);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  z-index: 3;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  letter-spacing: 0.3px;
}

.card__link:hover {
  background: rgba(255, 255, 255, 0.28);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  padding: 15px 30px;
}

@media (max-width: 768px) {
  .popular-cards-section {
    padding: 40px 0;
  }
  
  /* Stack layout on mobile */
  .popular-cards-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .popular-cards-sidebar-sticky {
    position: static;
    padding: 24px;
  }
  
  .sidebar-title {
    font-size: 28px;
    margin-bottom: 12px;
  }
  
  .sidebar-description {
    font-size: 15px;
    margin-bottom: 24px;
  }
  
  .sidebar-features {
    display: none !important; /* Скрываем список преимуществ на мобильных */
  }
  
  .sidebar-feature-icon {
    width: 28px;
    height: 28px;
    font-size: 16px;
  }
  
  .sidebar-feature-text strong {
    font-size: 14px;
  }
  
  .sidebar-feature-text span {
    font-size: 13px;
  }
  
  .stack-cards__item {
    top: 80px;
    margin-bottom: 16px;
  }
  
  .card__content {
    padding: 0;
    min-height: auto;
    max-height: none;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.10), 0 1.5px 6px rgba(0, 0, 0, 0.06);
  }

  .card__bg {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 70%;
    min-height: 240px;
    flex-shrink: 0;
    overflow: hidden;
  }

  .card__bg img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px 20px 0 0;
  }

  .card__gradient {
    display: none;
  }

  .card__counter {
    top: 14px;
    right: 14px;
    z-index: 2;
    border-radius: 999px;
    padding: 8px 14px;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    color: #fff;
    font-size: 13px;
  }

  .card__body {
    background: #fff;
    color: var(--text-dark);
    padding: 20px 20px 6px;
    margin-top: 0;
    max-width: 100%;
    text-align: left;
    text-shadow: none;
    border-radius: 0;
  }

  .card__title {
    font-size: clamp(20px, 5.5vw, 26px);
    font-weight: 800;
    color: var(--text-dark);
    text-shadow: none;
    margin-bottom: 12px;
    line-height: 1.2;
  }

  .card__bullets {
    margin-bottom: 8px;
    gap: 5px;
  }

  .card__bullets li {
    font-size: 14px;
    text-shadow: none;
    line-height: 1.45;
    color: var(--text-muted);
    padding-left: 18px;
  }

  .card__bullets li::before {
    width: 7px;
    height: 7px;
    top: 7px;
    box-shadow: none;
    background: var(--accent);
  }

  .card__footer {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    padding: 0 20px 0 0;
    margin-top: 6px;
  }

  .card__price {
    font-size: clamp(18px, 4.5vw, 22px);
    font-weight: 800;
    color: var(--accent);
    text-shadow: none;
    filter: none;
  }

  .card__price .price-vat {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
  }

  .card__link {
    position: static;
    display: block;
    margin: 12px 20px 20px;
    text-align: center;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 700;
    padding: 14px 20px;
    color: #fff;
    background: var(--accent);
    border: none;
    box-shadow: 0 4px 14px rgba(255, 107, 53, 0.30);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    letter-spacing: 0.2px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .card__link:hover {
    background: var(--accent);
    border-color: transparent;
    transform: none;
    box-shadow: 0 4px 14px rgba(255, 107, 53, 0.30);
    padding: 14px 20px;
  }

  .card__link:active {
    transform: scale(0.97);
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.25);
  }
  
  .our-capabilities-description {
    margin-top: 8px;
  }
  
  .our-capabilities-description p {
    font-size: 15px;
    margin-bottom: 24px;
  }
  
  .popular-equipment-button-section {
    padding: 30px 0;
  }
}

@media (max-width: 480px) {
  .popular-cards-section {
    padding: 30px 0;
  }
  
  .popular-cards-grid {
    gap: 24px;
  }
  
  .popular-cards-sidebar-sticky {
    padding: 20px;
  }
  
  .sidebar-title {
    font-size: 24px;
  }
  
  .sidebar-description {
    font-size: 14px;
  }
  
  .sidebar-features {
    display: none !important; /* Скрываем список преимуществ на мобильных */
  }
  
  .sidebar-feature {
    gap: 12px;
  }
  
  .stack-cards__item {
    top: 76px;
    margin-bottom: 12px;
  }
  
  .card__content {
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 1px 4px rgba(0, 0, 0, 0.05);
  }

  .card__bg {
    min-height: 190px;
    padding-bottom: 65%;
  }

  .card__bg img {
    border-radius: 16px 16px 0 0;
  }

  .card__body {
    padding: 16px 16px 4px;
  }

  .card__title {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .card__bullets li {
    font-size: 13px;
    padding-left: 16px;
  }

  .card__bullets li::before {
    width: 6px;
    height: 6px;
    top: 7px;
  }

  .card__footer {
    padding-right: 0;
  }

  .card__price {
    font-size: 18px;
  }

  .card__link {
    margin: 10px 16px 16px;
    font-size: 14px;
    padding: 12px 16px;
    border-radius: 12px;
  }

  .card__counter {
    top: 10px;
    right: 10px;
    font-size: 11px;
    padding: 6px 10px;
    border-radius: 999px;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  
  .our-capabilities-description {
    margin-top: 6px;
  }
  
  .our-capabilities-description p {
    font-size: 14px;
    margin-bottom: 20px;
  }
  
  .popular-equipment-button-section {
    padding: 24px 0;
  }
}

.our-capabilities-section .section-header {
  margin-bottom: 0;
  padding-top: 10px;
}

.our-capabilities-section .section-header h2 {
  margin-bottom: 2px;
}

.our-capabilities-description {
  text-align: center;
  margin-bottom: 0;
  padding-bottom: 0;
  margin-top: 12px;
}

.our-capabilities-description p {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 32px;
}

.popular-equipment-button {
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.6s ease, visibility 0.6s ease, transform 0.6s ease;
  pointer-events: none;
  position: relative;
  z-index: 10;
  text-align: center;
  margin-top: 20px;
  margin-bottom: 40px;
  width: 100%;
  flex-shrink: 0;
}

.popular-equipment-button.visible {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
}

.our-capabilities-sticky {
  position: sticky;
  top: 80px;
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  overflow: visible;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0;
}

.our-capabilities-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  margin: 0 auto;
  padding: 0 24px;
  max-width: 1600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.our-capabilities-slide {
  position: absolute;
  left: 50%;
  transform: translateX(-50%) translateY(calc(-50% + 100%)) scale(0.95);
  width: 100%;
  height: 80vh;
  max-height: 850px;
  min-height: 700px;
  border-radius: 32px;
  overflow: hidden;
  opacity: 0;
  transition: transform 1.4s cubic-bezier(0.4, 0, 0.2, 1), 
              opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1),
              scale 1.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  z-index: 1;
  will-change: transform, opacity;
  top: 50%;
}

.our-capabilities-slide.active {
  transform: translateX(-50%) translateY(-50%) scale(1);
  opacity: 1;
  pointer-events: auto;
  z-index: 10;
}

.our-capabilities-slide.prev {
  transform: translateX(-50%) translateY(calc(-50% - 80vh)) scale(0.85);
  opacity: 0;
  z-index: 0;
}

.our-capabilities-slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.our-capabilities-slide-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.our-capabilities-slide-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
}

.our-capabilities-slide-content {
  position: absolute;
  bottom: 40px;
  left: 40px;
  right: 40px;
  max-width: 600px;
  z-index: 2;
}

.our-capabilities-slide-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 12px;
}

.our-capabilities-slide-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 16px;
}

.our-capabilities-slide-text {
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
  max-width: 550px;
}

.our-capabilities-slide-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.our-capabilities-slide-bullets li {
  font-size: clamp(14px, 1.8vw, 16px);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  padding-left: 20px;
  position: relative;
}

.our-capabilities-slide-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.our-capabilities-slide-price {
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 700;
  color: var(--accent);
  margin-top: 20px;
  margin-bottom: 12px;
}

.our-capabilities-slide-link {
  display: inline-block;
  font-size: clamp(14px, 1.8vw, 16px);
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  transition: all 0.3s ease;
  margin-top: 8px;
}

.our-capabilities-slide-link:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.our-capabilities-slide-counter {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  font-variant-numeric: tabular-nums;
  z-index: 20;
  background: rgba(0, 0, 0, 0.3);
  padding: 8px 16px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  pointer-events: none;
}

/* Мобильная версия */
@media (max-width: 768px) {
  .our-capabilities-section {
    height: 200vh;
  }
  
  .our-capabilities-sticky {
    top: 70px;
    height: 100vh;
    min-height: 100vh;
    padding: 0;
    overflow: visible;
  }
  
  .our-capabilities-slider {
    padding: 0 16px;
    height: 100vh;
    overflow: visible;
  }
  
  .popular-equipment-button {
    margin-top: 10px;
    margin-bottom: 20px;
  }
  
  .our-capabilities-slide {
    height: 80vh;
    max-height: 800px;
    min-height: 650px;
  }
  
  .our-capabilities-slide-content {
    bottom: 24px;
    left: 24px;
    right: 24px;
    max-width: 100%;
  }
  
  .our-capabilities-slide-title {
    font-size: 24px;
    margin-bottom: 12px;
  }
  
  .our-capabilities-slide-text {
    font-size: 15px;
    margin-bottom: 16px;
  }
  
  .our-capabilities-slide-bullets li {
    font-size: 14px;
  }
  
  .our-capabilities-slide-counter {
    top: 16px;
    right: 16px;
    font-size: 12px;
    padding: 6px 12px;
  }
}

/* =============================================
   REVIEWS
   ============================================= */
.reviews-section {
  background: var(--bg-white);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  position: relative;
  min-height: 300px;
  margin-top: 40px;
}

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

@media (max-width: 1023px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

.review-card {
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  padding: 32px 32px 24px 32px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: flex !important;
  flex-direction: column;
  height: 100%;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.06);
  border-color: var(--accent);
}

.review-card::before {
  content: '"';
  position: absolute;
  top: 24px;
  left: 24px;
  font-size: 32px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  opacity: 1;
  font-family: Georgia, serif;
}

.review-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  margin: 0 0 20px;
  font-weight: 400;
  padding-left: 0;
  flex-grow: 1;
}

.review-meta {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  margin-top: auto;
  padding-top: 16px;
  border-top: none;
}

/* Контролы карусели отзывов (скрыты, так как показываем все отзывы) */
.reviews-controls {
  display: none !important;
}

.reviews-nav-btn {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  border: 2px solid var(--border);
  background: linear-gradient(135deg, #ffffff 0%, #f6f7fb 100%);
  color: var(--text-dark);
  font-size: 28px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  /* Убираем все CSS transitions - используем GSAP */
  transition: none;
}

.reviews-nav-btn span {
  line-height: 1;
  position: relative;
  z-index: 1;
  display: inline-block;
  /* Убираем CSS transitions - используем GSAP */
  transition: none;
}

.reviews-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.reviews-nav-btn .ripple {
  background: rgba(0, 0, 0, 0.15);
  transform: translate(-50%, -50%) scale(0);
  transform-origin: center;
}

.reviews-counter {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0 20px;
  min-width: 80px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

/* =============================================
   PAYMENT METHODS
   ============================================= */
.payment-section {
  background: var(--bg-white);
}

.payment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 220px));
  justify-content: center;
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}

.payment-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 28px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.payment-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.12);
}

.payment-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.payment-card-icon svg {
  width: 26px;
  height: 26px;
}

.payment-card-icon--vat {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.payment-card-icon--vat svg { stroke: #fff; }

.payment-card-icon--no-vat {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.payment-card-icon--no-vat svg { stroke: #fff; }

.payment-card-icon--cash {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.payment-card-icon--cash svg { stroke: #fff; }

.payment-card-icon--transfer {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.payment-card-icon--transfer svg { stroke: #fff; }

.payment-card-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.35;
}

@media (max-width: 768px) {
  .payment-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .payment-card {
    padding: 20px 14px;
    gap: 10px;
    border-radius: 14px;
  }

  .payment-card-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
  }

  .payment-card-icon svg {
    width: 22px;
    height: 22px;
  }

  .payment-card-text {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .payment-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .payment-card {
    padding: 16px 10px;
    gap: 8px;
    border-radius: 12px;
  }

  .payment-card-icon {
    width: 42px;
    height: 42px;
  }

  .payment-card-text {
    font-size: 13px;
  }
}

/* Payment map under cards */
.payment-location {
  max-width: 960px;
  margin: 26px auto 0;
  padding: 0 20px;
  text-align: center;
}

.payment-location-address {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 14px;
}

.payment-map-wrap {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.payment-map-embed {
  display: block;
  width: 100%;
  height: 360px;
  border: 0;
}

.payment-location-link {
  margin: 12px 0 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}

.payment-location-link a {
  color: var(--accent);
  text-decoration: none;
}

.payment-location-link a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .payment-location {
    padding: 0 14px;
  }

  .payment-map-embed {
    height: 320px;
  }
}

@media (max-width: 480px) {
  .payment-location {
    padding: 0 10px;
  }

  .payment-location-address {
    font-size: 15px;
  }

  .payment-map-embed {
    height: 280px;
  }
}

/* =============================================
   CONTACTS
   ============================================= */
.contacts-section {
  background: var(--bg-light);
}

.contacts-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px;
  box-shadow: var(--shadow-md);
}

.contacts-header {
  text-align: center;
  margin-bottom: 40px;
}

.contacts-header h2 {
  font-size: 32px;
  font-weight: 800;
  margin: 0 0 12px;
}

.contacts-header p {
  font-size: 16px;
  color: var(--text-muted);
}

.contacts-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contacts-layout--no-form {
  grid-template-columns: 1fr;
  width: 100%;
  max-width: 100%;
}

/* На ПК — карточки контактов в ряд, без пустого места справа */
.contacts-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
  width: 100%;
}

.contacts-form-wrapper {
  width: 100%;
}

.contacts-form-wrapper h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 24px;
  color: var(--text-dark);
}

.quick-contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: var(--shadow-sm);
}

.quick-contact-form .field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}

.quick-contact-form .field-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.quick-contact-form input,
.quick-contact-form textarea {
  padding: 14px 16px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text-dark);
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: all 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}

.quick-contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

.quick-contact-form input:focus,
.quick-contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.quick-contact-form .btn-submit {
  width: 100%;
  padding: 16px;
  font-size: 16px;
  font-weight: 600;
  margin-top: 8px;
  box-sizing: border-box; /* Учитываем padding в размерах */
  touch-action: manipulation; /* Предотвращаем двойной тап */
  -webkit-touch-callout: none; /* Отключаем контекстное меню на iOS */
  max-width: 100%; /* Ограничиваем максимальную ширину */
}

.quick-contact-form .btn-submit:active {
  transform: translateY(0) scale(0.95) !important; /* Уменьшаем, а не увеличиваем */
  box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3) !important;
  transition: transform 0.1s ease, box-shadow 0.1s ease !important;
  width: 100% !important; /* Сохраняем ширину 100% */
  max-width: 100% !important; /* Ограничиваем максимальную ширину */
}

.form-message {
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
  text-align: center;
  display: none;
  margin-top: 8px;
}

.form-message.show {
  display: block;
}

.form-message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.contacts-messengers h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 20px;
  color: var(--text-dark);
}

.messenger-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.messenger-btn {
  flex: 1;
  min-width: 0;
  max-width: 100%; /* Ограничиваем максимальную ширину */
  width: auto; /* Автоматическая ширина, не растягивается */
  padding: 14px 24px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box; /* Учитываем padding в размерах */
  touch-action: manipulation; /* Предотвращаем двойной тап */
  -webkit-touch-callout: none; /* Отключаем контекстное меню на iOS */
}

.messenger-btn.whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #059142 100%);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35), 0 2px 4px rgba(37, 211, 102, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.messenger-btn.telegram {
  background: linear-gradient(135deg, #1da1ff 0%, #0088cc 100%);
  box-shadow: 0 4px 16px rgba(29, 161, 255, 0.35), 0 2px 4px rgba(29, 161, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.messenger-btn.max {
  background: linear-gradient(135deg, #a855f7 0%, #7c3aed 45%, #5b21b6 100%);
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.35), 0 2px 4px rgba(91, 33, 182, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.messenger-btn.email {
  background: linear-gradient(135deg, #ea4335 0%, #c5221f 100%);
  box-shadow: 0 4px 16px rgba(234, 67, 53, 0.35), 0 2px 4px rgba(234, 67, 53, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.messenger-btn.vk {
  background: linear-gradient(135deg, #5ba8ff 0%, #0077ff 100%);
  box-shadow: 0 4px 16px rgba(91, 168, 255, 0.35), 0 2px 4px rgba(91, 168, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.messenger-btn:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25), 0 4px 8px rgba(0, 0, 0, 0.15);
  transform: translateY(-1px);
}

.messenger-btn:active {
  transform: translateY(0) scale(0.95) !important; /* Уменьшаем, а не увеличиваем */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
  transition: transform 0.1s ease, box-shadow 0.1s ease !important;
  width: auto !important; /* Сохраняем автоматическую ширину */
  max-width: 100% !important; /* Ограничиваем максимальную ширину */
  flex: 1 !important; /* Сохраняем flex-поведение */
}

.messenger-btn .ripple {
  background: rgba(255, 255, 255, 0.5);
  transform: translate(-50%, -50%) scale(0);
  transform-origin: center;
}

.contact-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fc 100%);
  border: 1px solid rgba(255, 107, 53, 0.15);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 140px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.06);
  opacity: 1;
  transform: translateY(0);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, #ff8c5a 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-card:hover {
  background: linear-gradient(135deg, #ffffff 0%, rgba(255, 107, 53, 0.05) 100%);
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(255, 107, 53, 0.15), 0 4px 12px rgba(0, 0, 0, 0.08);
}

.contact-card:active {
  transform: translateY(-2px) scale(0.98) !important;
  transition: transform 0.1s ease, box-shadow 0.1s ease !important;
}

.contact-card:hover::before {
  transform: scaleX(1);
}

.contact-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent) 0%, #ff8c5a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.25);
}

.contact-card-icon svg {
  width: 28px;
  height: 28px;
  stroke: #ffffff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-card:hover .contact-card-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 6px 16px rgba(255, 107, 53, 0.35);
}

.contact-card h3 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin: 0 0 10px;
  line-height: 1.2;
  transition: color 0.3s ease;
}

.contact-card:hover h3 {
  color: var(--accent);
}

.contact-card p {
  margin: 0;
  font-size: 16px;
  color: var(--text-dark);
  font-weight: 600;
  line-height: 1.6;
  word-break: break-word;
}

.contact-card p br {
  line-height: 1.6;
}

/* Специфичные стили для разных типов карточек */
.contact-card-phone .contact-card-icon {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}

.contact-card-phone:hover .contact-card-icon {
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
}

.contact-card-email .contact-card-icon {
  background: linear-gradient(135deg, #1da1ff 0%, #0088cc 100%);
  box-shadow: 0 4px 12px rgba(29, 161, 255, 0.25);
}

.contact-card-email:hover .contact-card-icon {
  box-shadow: 0 6px 16px rgba(29, 161, 255, 0.35);
}

.contact-card-address .contact-card-icon {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
}

.contact-card-address:hover .contact-card-icon {
  box-shadow: 0 6px 16px rgba(99, 102, 241, 0.35);
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--text-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 64px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
  color: var(--accent);
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  margin: 0 0 20px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease;
}

.footer-col ul a:hover {
  color: var(--accent);
}

.footer-col p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 8px;
}

.footer-col p a:hover {
  color: var(--accent);
}

.footer-social-row {
  display: flex;
  gap: 12px;
}

.footer-social-row a {
  min-width: 44px;
  height: 44px;
  padding: 0 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.footer-social-row a:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-3px);
}

.footer-bottom {
  padding: 24px 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .calculator-layout {
    grid-template-columns: 1fr;
  }
  
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contacts-layout {
    grid-template-columns: 1fr;
  }
  
  .contacts-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
  
  .header-inner {
    height: 64px;
    padding: 0 16px;
  }
  
  .site-header.scrolled .header-inner {
    height: 60px;
  }
  
  .logo {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
  }
  
  .main-nav {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
    padding: 6px;
    margin-left: 8px;
    width: 38px;
    height: 38px;
  }
  
  .mobile-menu-btn span {
    width: 22px;
    height: 2px;
  }
  
  .mobile-menu-btn.active span:nth-child(1),
  .mobile-menu-btn.active span:nth-child(3) {
    margin-left: -11px;
  }
  
  .header-right {
    gap: 8px;
  }
  
  .header-contacts-mini {
    gap: 6px;
    margin-right: 4px;
  }
  
  .header-messenger {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
  }
  
  .header-messenger svg {
    width: 17px;
    height: 17px;
  }
  
  .header-messengers-mini {
    gap: 6px;
    display: flex;
  }
  
  .mobile-nav {
    top: 64px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }
  
  .site-header.scrolled .mobile-nav {
    top: 60px;
  }
  
  /* Hero секция */
  .hero-content {
    padding: 100px 0 60px;
  }
  
  .hero-title {
    font-size: 32px;
    line-height: 1.2;
  }
  
  .hero-subtitle {
    font-size: 16px;
  }
  
  .hero-points {
    gap: 10px;
    margin: 0 0 24px;
  }

  .hero-point {
    font-size: 16px;
    line-height: 1.3;
    gap: 12px;
  }

  .hero-point::before {
    width: 8px;
    height: 8px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
    padding: 0;
    background: transparent;
    border: 0;
  }
  
  .hero-stat {
    flex: none;
    width: 100%;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .stat-number {
    font-size: 32px;
  }
  
  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  /* Секции */
  .section {
    padding: 40px 0;
  }
  
  .section-header h2 {
    font-size: 28px;
  }
  
  /* Калькулятор */
  .calculator-layout {
    grid-template-columns: 1fr;
  }
  
  .calculator-form {
    grid-template-columns: 1fr;
    padding: 20px 16px;
    gap: 18px;
  }
  
  /* Превью с фото техники — показываем на мобильном, компактный блок */
  .calculator-side {
    order: 0;
  }
  
  .calculator-preview {
    display: flex;
    flex-direction: column;
    padding: 0;
    border-radius: 14px;
    margin-bottom: 4px;
    overflow: hidden;
  }

  .calculator-preview-image {
    aspect-ratio: 16 / 10;
    margin-bottom: 0;
    border-radius: 0;
  }

  .calculator-preview-info {
    padding: 16px;
    gap: 4px;
  }

  .calculator-preview-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
  }

  .calculator-preview-price {
    font-size: 14px;
    margin: 2px 0 4px;
  }

  .calculator-preview-price strong {
    font-size: 17px;
  }

  .calculator-specs {
    font-size: 13px;
    gap: 4px;
  }

  .calculator-preview-desc {
    font-size: 13px;
    margin-top: 6px;
    padding-top: 8px;
  }

  .field {
    margin-bottom: 0;
  }
  
  .field-label {
    font-size: 13px;
    margin-bottom: 6px;
    font-weight: 600;
  }
  
  /* Минимум 16px — без зума при фокусе на iOS; высота для удобного тапа */
  .calculator-form select,
  .calculator-form input,
  .calculator-form textarea {
    padding: 14px 16px;
    font-size: 16px;
    border-radius: 10px;
    min-height: 48px;
    -webkit-appearance: none;
    appearance: none;
  }
  
  .calculator-form textarea {
    min-height: 88px;
    padding: 14px 16px;
  }
  
  .calculator-form .field-equipment .calc-select-current,
  .calculator-form .field .calc-select-current {
    min-height: 48px;
    padding: 14px 40px 14px 16px;
    font-size: 16px;
  }
  
  /* Выпадающие списки на мобильном — удобный тап, на всю ширину */
  .calculator-form .calc-select-options {
    min-width: 0;
    width: 100%;
    max-height: min(70vh, 320px);
    -webkit-overflow-scrolling: touch;
  }
  
  .calculator-form .calc-select-option {
    min-height: 48px;
    padding: 14px 16px;
    font-size: 16px;
    display: flex;
    align-items: center;
  }
  
  .quick-order-divider {
    margin: 12px 0 16px;
  }
  
  .number-btn {
    width: 40px;
    min-width: 40px;
    height: 40px;
    font-size: 20px;
  }
  
  .field-km-price {
    font-size: 12px;
    height: 40px;
  }
  
  .calculator-form .btn-submit {
    margin-top: 0;
    width: 100%;
    padding: 14px;
    font-size: 15px;
  }
  
  .calculator-sum-inline {
    font-size: 16px;
    margin-top: 8px;
  }
  
  .calculator-note-inline {
    font-size: 12px;
    line-height: 1.4;
  }
  
  /* Услуги */
  .services-carousel {
    flex-direction: column;
  }
  
  .carousel-btn {
    display: none;
  }
  
  .services-viewport {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 16px;
  }
  
  .service-card-link {
    flex: 0 0 280px;
  }
  
  .service-card-body {
    min-height: auto;
    height: auto;
  }
  
  /* Отзывы */
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  /* Контакты — на мобильном центрируем «Способы связи» и кнопки */
  .contacts-panel {
    padding: 24px 16px;
  }
  
  .contacts-messengers {
    text-align: center;
  }
  
  .contacts-messengers h3 {
    text-align: center;
  }
  
  .messenger-buttons {
    justify-content: center;
  }
  
  .contacts-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .contact-card {
    padding: 20px;
  }
  
  /* Футер */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-bottom-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  
  /* Кнопки */
  .btn {
    padding: 14px 24px;
    font-size: 14px;
  }
}

/* Очень маленькие экраны (480px и меньше) */
@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }
  
  .header-inner {
    height: 60px;
    padding: 0 12px;
  }
  
  .site-header.scrolled .header-inner {
    height: 56px;
  }
  
  .logo {
    font-size: 14px;
    font-weight: 700;
  }
  
  .mobile-menu-btn {
    padding: 5px;
    margin-left: 6px;
    width: 36px;
    height: 36px;
  }
  
  .mobile-menu-btn span {
    width: 20px;
    height: 2px;
  }
  
  .mobile-menu-btn.active span:nth-child(1),
  .mobile-menu-btn.active span:nth-child(3) {
    margin-left: -10px;
  }
  
  .header-right {
    gap: 4px;
  }
  
  .header-contacts-mini {
    gap: 4px;
    margin-right: 2px;
  }
  
  .header-messenger {
    width: 36px;
    height: 36px;
  }
  
  .header-messenger svg {
    width: 16px;
    height: 16px;
  }
  
  .header-messengers-mini {
    gap: 4px;
    display: flex;
  }
  
  .mobile-nav {
    top: 60px;
    padding: 16px;
  }
  
  .site-header.scrolled .mobile-nav {
    top: 56px;
  }
  
  .mobile-nav a {
    padding: 14px 0;
    font-size: 15px;
  }
  
  /* Hero секция */
  .hero-content {
    padding: 70px 0 40px;
  }
  
  .hero-title {
    font-size: 24px;
    line-height: 1.2;
  }
  
  .hero-subtitle {
    font-size: 14px;
    margin-bottom: 24px;
  }
  
  .hero-points {
    gap: 8px;
    margin: 0 0 20px;
  }

  .hero-point {
    font-size: 15px;
    line-height: 1.25;
    gap: 10px;
  }

  .hero-point::before {
    width: 7px;
    height: 7px;
  }

  .hero-badge {
    font-size: 11px;
    padding: 8px 16px;
  }
  
  .hero-stats {
    padding: 0;
    gap: 14px;
  }

  .hero-stat {
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  
  .stat-number {
    font-size: 28px;
  }
  
  .stat-label {
    font-size: 12px;
  }
  
  .hero-actions {
    gap: 10px;
  }
  
  /* Секции */
  .section {
    padding: 32px 0;
  }
  
  .section-header {
    margin-bottom: 32px;
  }
  
  .section-header h2 {
    font-size: 24px;
  }
  
  .section-header p {
    font-size: 14px;
  }
  
  /* Калькулятор — на маленьком экране тоже удобные поля и фото */
  .calculator-section {
    overflow-x: hidden;
  }
  
  .calculator-form {
    padding: 16px 12px;
    gap: 14px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .field {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .field-label {
    font-size: 13px;
    margin-bottom: 6px;
  }
  
  /* 16px — без зума на iOS при фокусе; 44px+ — удобный тап */
  .calculator-form select,
  .calculator-form input,
  .calculator-form textarea {
    padding: 12px 14px;
    font-size: 16px;
    min-height: 44px;
    width: 100%;
    box-sizing: border-box;
  }
  
  .calculator-form textarea {
    min-height: 80px;
  }
  
  .calculator-form .calc-select-current {
    min-height: 44px;
    padding: 12px 36px 12px 14px;
    font-size: 16px;
  }
  
  .calculator-form .calc-select-option {
    min-height: 44px;
    padding: 12px 14px;
    font-size: 16px;
  }
  
  .calculator-preview {
    flex-direction: column;
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
  }

  .calculator-preview-image {
    aspect-ratio: 16 / 10;
    margin-bottom: 0;
    border-radius: 0;
  }

  .calculator-preview-info {
    padding: 14px;
    gap: 3px;
  }

  .calculator-preview-title {
    font-size: 15px;
  }

  .calculator-preview-price {
    font-size: 13px;
  }

  .calculator-preview-price strong {
    font-size: 16px;
  }

  .calculator-specs {
    font-size: 12px;
    gap: 3px;
  }

  .calculator-specs .spec-icon {
    font-size: 14px;
    width: 18px;
  }

  .calculator-preview-desc {
    font-size: 12px;
    margin-top: 5px;
    padding-top: 7px;
    line-height: 1.5;
  }

  /* Уменьшаем кнопки и gap для маленьких экранов */
  .field-distance .number-input {
    gap: 6px;
  }
  
  .number-btn {
    width: 36px;
    min-width: 36px;
    height: 36px;
    font-size: 18px;
    border-radius: 10px;
    flex-shrink: 0;
  }
  
  .field-km-price {
    font-size: 10px;
    height: 36px;
    margin-left: 2px;
    flex-shrink: 0;
  }
  
  .calculator-form .btn-submit {
    padding: 12px;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
  }
  
  .calculator-sum-inline {
    font-size: 15px;
    margin-top: 6px;
  }
  
  .calculator-time {
    font-size: 13px;
  }
  
  .calculator-km-info {
    font-size: 11px;
    line-height: 1.4;
  }
  
  .calculator-note-inline {
    font-size: 11px;
    line-height: 1.4;
  }
  
  .calculator-note-inline {
    font-size: 12px;
  }
  
  /* Услуги */
  .service-card-link {
    flex: 0 0 260px;
  }
  
  .service-card-body {
    padding: 16px;
  }
  
  .service-card-title {
    font-size: 16px;
  }
  
  .service-card-meta {
    font-size: 13px;
  }
  
  .service-card-price {
    font-size: 14px;
  }
  
  /* Отзывы */
  .reviews-grid {
    gap: 16px;
  }
  
  /* Контакты */
  .contacts-panel {
    padding: 20px 12px;
  }
  
  .contact-card {
    padding: 16px;
    font-size: 14px;
  }
  
  /* Мобильное меню */
  .mobile-nav {
    padding: 20px;
  }
  
  .mobile-nav a {
    padding: 14px 0;
    font-size: 15px;
  }
  
  /* Футер */
  .footer {
    padding: 40px 0 24px;
  }
  
  .footer-inner {
    gap: 24px;
  }
  
  .footer-col h4 {
    font-size: 14px;
  }
  
  .footer-col ul a,
  .footer-col p {
    font-size: 13px;
  }
}

/* =============================================
   CUSTOM CALC SELECT
   ============================================= */

/* Прячем нативный select техники визуально, оставляя его для формы */
#calc-equipment {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}

.calc-select {
  position: relative;
  z-index: 50;
}

.calc-select.open {
  z-index: 1000;
}

.calc-select-current {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-light);
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
  transition: border-color 0.25s ease, background-color 0.25s ease;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  pointer-events: auto !important;
  position: relative;
  z-index: 10;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.calc-select-current::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--text-dark);
  transform: translateY(0);
  transition: transform 0.25s ease, border-top-color 0.25s ease;
  flex-shrink: 0;
  margin-left: 8px;
}

.calc-select.open .calc-select-current {
  border-color: var(--accent);
  background: #fff;
}

.calc-select.open .calc-select-current::after {
  transform: rotate(180deg) translateY(0);
  border-top-color: var(--accent);
}

.calc-select-options {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 4px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.2);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(8px);
  z-index: 1000;
  transition: max-height 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.3s ease, transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
  /* Достаточная ширина для "Автовышка вездеход 30 метров" */
  min-width: 310px;
}

.calc-select.open .calc-select-options {
  max-height: 300px;
  opacity: 1;
  transform: translateY(0);
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  pointer-events: auto;
  touch-action: pan-y;
  overscroll-behavior: contain;
}

.calc-select-options-list {
  list-style: none;
  margin: 0;
  padding: 4px 0;
  pointer-events: auto;
}

/* Стилизация скроллбара для списка */
.calc-select-options::-webkit-scrollbar {
  width: 10px;
}

.calc-select-options::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 5px;
  margin: 4px;
}

.calc-select-options::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 5px;
  transition: background 0.2s ease;
  border: 2px solid #f1f5f9;
}

.calc-select-options::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* Для Firefox */
.calc-select-options {
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 #f1f5f9;
}

/* =============================================
   FADE IN ON SCROLL - универсальный компонент
   ============================================= */
[data-fade-in] {
  will-change: transform, opacity;
}

.calc-select-option {
  padding: 12px 16px;
  font-size: 15px;
  color: var(--text-dark);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.calc-select-option:hover {
  background: var(--bg-light);
}

.calc-select-option.is-active {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
}

/* Убираем pointer-events с label, чтобы не блокировал клики на кнопку */
.calc-field {
  position: relative;
  pointer-events: none;
}

.calc-field .calc-field-label {
  pointer-events: auto;
}

/* Кастомный select должен быть кликабельным даже если находится рядом с label */
.calc-field + .calc-select {
  pointer-events: auto !important;
}

/* Исправление анимации кнопок на мобильных устройствах */
@media (max-width: 768px) {
  .messenger-btn {
    max-width: 100% !important;
    width: auto !important;
    box-sizing: border-box !important;
    touch-action: manipulation !important;
  }
  
  .messenger-btn:active {
    transform: translateY(0) scale(0.95) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
    transition: transform 0.1s ease, box-shadow 0.1s ease !important;
    width: auto !important; /* Сохраняем автоматическую ширину */
    max-width: 100% !important; /* Ограничиваем максимальную ширину */
    flex: 1 !important; /* Сохраняем flex-поведение */
  }
  
  .btn-primary {
    max-width: 100% !important;
    width: auto !important;
    box-sizing: border-box !important;
    touch-action: manipulation !important;
  }
  
  .btn-primary:active {
    transform: translateY(0) scale(0.95) !important;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3) !important;
    transition: transform 0.1s ease, box-shadow 0.1s ease !important;
    width: auto !important; /* Сохраняем автоматическую ширину */
    max-width: 100% !important; /* Ограничиваем максимальную ширину */
  }
  
  .quick-contact-form .btn-submit {
    max-width: 100% !important;
    box-sizing: border-box !important;
    touch-action: manipulation !important;
  }
  
  .quick-contact-form .btn-submit:active {
    transform: translateY(0) scale(0.95) !important;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3) !important;
    transition: transform 0.1s ease, box-shadow 0.1s ease !important;
    width: 100% !important; /* Сохраняем ширину 100% */
    max-width: 100% !important; /* Ограничиваем максимальную ширину */
  }
}

.calc-select {
  pointer-events: auto !important;
}

/* =============================================
   Cookie consent banner
   ============================================= */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 16px;
  z-index: 100000;
  display: flex;
  justify-content: center;
  padding: 0 16px;
  pointer-events: none;
}

.cookie-consent-card {
  pointer-events: auto;
  width: 100%;
  max-width: 980px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(16px);
  padding: 14px 16px 14px;
}

.cookie-consent-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.cookie-consent-text {
  flex: 1;
  min-width: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.45;
}

.cookie-consent-text strong {
  color: var(--text-dark);
  font-size: 16px;
  display: block;
  margin-bottom: 6px;
}

.cookie-consent-policy {
  display: inline-block;
  margin-top: 8px;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.cookie-consent-policy-body {
  margin-top: 10px;
}

.cookie-consent-policy-body p {
  margin: 0;
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

.cookie-consent-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.cookie-consent-btn {
  border: none;
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.cookie-consent-btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 24px rgba(255, 107, 53, 0.35);
}

.cookie-consent-btn-primary:hover {
  box-shadow: 0 12px 28px rgba(255, 107, 53, 0.45);
}

.cookie-consent-btn-secondary {
  background: var(--bg-light);
  color: var(--text-dark);
  border: 1px solid var(--border);
}

.cookie-consent-close {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
  padding: 4px 10px;
  margin-top: -4px;
}

.cookie-consent-close:hover {
  color: var(--text-dark);
}

@media (max-width: 768px) {
  .cookie-consent-banner {
    bottom: 10px;
  }

  .cookie-consent-card {
    padding: 12px 12px 12px;
  }

  .cookie-consent-row {
    flex-direction: column;
    gap: 10px;
  }

  .cookie-consent-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .cookie-consent-btn {
    flex: 1;
    min-width: 160px;
  }

  .cookie-consent-close {
    position: absolute;
    right: 10px;
    top: 8px;
  }
}
