/* ============================================
   Современный лендинг 2026 - Ремонт Вікон
   ============================================ */

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

:root {
  /* Цветовая палитра 2026 */
  --primary: #0964FC;
  --primary-dark: #034ED0;
  --primary-light: #E8F2FF;
  --secondary: #FF6600;
  --accent: #00D4FF;
  --text-dark: #1A1A1A;
  --text-gray: #666666;
  --text-light: #999999;
  --bg-white: #FFFFFF;
  --bg-light: #F8FAFC;
  --bg-dark: #0A0E27;
  --border: #E5E7EB;
  --success: #10B981;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--bg-white);
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'kern' 1, 'liga' 1;
  position: relative;
}

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

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
    width: 100%;
    max-width: 100%;
  }
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.8);
  z-index: 1000;
  transition: var(--transition);
}

.header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.99);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: var(--transition);
}

.logo:hover {
  opacity: 0.8;
}

.logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.footer-logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

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

.nav-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

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

.nav-phone-text {
  border-bottom: 1px dashed currentColor;
  padding-bottom: 2px;
}

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

.messenger-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-light);
  transition: var(--transition);
}

.messenger-link:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

.messenger-link img {
  width: 20px;
  height: 20px;
}

/* Language Switcher */
.lang-switcher {
  position: relative;
  display: inline-block;
}

.lang-btn-current {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  background: var(--bg-white);
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  white-space: nowrap;
}

.lang-btn-current:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.lang-btn-current svg {
  transition: transform 0.3s ease;
}

.lang-switcher.active .lang-btn-current svg {
  transform: rotate(180deg);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  min-width: 80px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1001;
  overflow: hidden;
}

.lang-switcher.active .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-dropdown-item {
  display: block;
  width: 100%;
  padding: 10px 14px;
  border: none;
  background: transparent;
  color: var(--text-gray);
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.lang-dropdown-item:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.lang-dropdown-item.active {
  background: var(--primary);
  color: var(--bg-white);
}

.lang-btn {
  padding: 6px 14px;
  border: none;
  background: transparent;
  color: var(--text-gray);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.lang-btn:hover {
  color: var(--primary);
  background: var(--primary-light);
}

.lang-btn.active {
  background: var(--primary);
  color: var(--bg-white);
}

.mobile-menu-lang {
  margin: 16px 20px;
  justify-content: center;
}

.lang-switcher.mobile-only {
  position: relative;
  display: inline-block;
}

.mobile-lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  min-width: 80px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1001;
  overflow: hidden;
}

.lang-switcher.mobile-only.active .mobile-lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-switcher.mobile-only .lang-btn-current {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  background: var(--bg-white);
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  white-space: nowrap;
}

.lang-switcher.mobile-only .lang-btn-current:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.lang-switcher.mobile-only .lang-btn-current svg {
  transition: transform 0.3s ease;
}

.lang-switcher.mobile-only.active .lang-btn-current svg {
  transform: rotate(180deg);
}

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

.burger span {
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  padding: 24px 20px;
  box-shadow: var(--shadow-md);
  z-index: 999;
}

.mobile-menu.active {
  display: block;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-menu-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.mobile-menu-link:last-child {
  border-bottom: none;
}

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

.mobile-messengers {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--bg-white);
  box-shadow: 0 4px 16px rgba(9, 100, 252, 0.35);
  position: relative;
  overflow: hidden;
  border: 2px dashed var(--bg-white);
}

.btn-primary.btn-no-border {
  border: none;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(9, 100, 252, 0.5);
}

.btn-large {
  padding: 18px 36px;
  font-size: 18px;
}

.btn-block {
  width: 100%;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #0A0E27 0%, #034ED0 40%, #0964FC 100%);
  z-index: -3;
}

.hero-image-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  z-index: -2;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.3;
  filter: brightness(0.7) contrast(1.1);
}

.hero-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.5;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(10, 14, 39, 0.95) 0%, rgba(10, 14, 39, 0.7) 50%, transparent 100%);
  z-index: -1;
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 70% 30%, rgba(9, 100, 252, 0.2) 0%, transparent 50%);
  z-index: -1;
  animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.1); }
}

.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0;
  padding: 0;
}

.hero-text {
  color: var(--bg-white);
}

.hero-title {
  font-size: 72px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 32px;
  animation: fadeInUp 0.8s ease;
  letter-spacing: -0.02em;
}

.title-line {
  display: block;
}

.title-line.highlight {
  background: linear-gradient(135deg, var(--accent) 0%, #FFFFFF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
}

.title-line.highlight::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0.5;
}

.hero-subtitle {
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 40px;
  opacity: 0.95;
  line-height: 1.6;
  max-width: 600px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-features {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 32px;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 18px;
  font-weight: 500;
}

.hero-feature svg {
  color: var(--accent);
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(0, 212, 255, 0.3));
}

.hero-contact-info {
  animation: fadeInUp 0.8s ease 0.6s both;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-phone-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-phone {
  font-size: 24px;
  font-weight: 700;
  color: var(--bg-white);
  text-decoration: none;
  transition: var(--transition);
}

.hero-phone:hover {
  color: var(--accent);
  transform: translateX(4px);
}

.hero-phone-group svg {
  color: var(--accent);
  flex-shrink: 0;
}

.hero-form-wrapper {
  animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-form {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 48px;
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  scroll-margin-top: 100px;
}

#form {
  scroll-margin-top: 100px;
  scroll-padding-top: 100px;
}

.hero-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
}

.form-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-subtitle {
  font-size: 16px;
  color: var(--text-gray);
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 20px;
}

.form-input {
  width: 100%;
  padding: 16px 20px;
  font-size: 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
  font-family: inherit;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(9, 100, 252, 0.1);
}

.form-input-highlight {
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 4px rgba(9, 100, 252, 0.2) !important;
  animation: inputPulse 1.5s ease-in-out;
}

@keyframes inputPulse {
  0%, 100% {
    box-shadow: 0 0 0 4px rgba(9, 100, 252, 0.2);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(9, 100, 252, 0.1);
  }
}

/* Анимация shake удалена - вызывала дергание формы */

.form-trust {
  font-size: 13px;
  color: var(--primary);
  text-align: center;
  margin-top: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.form-trust::before,
.form-trust::after {
  content: '✓';
  color: var(--success);
  font-weight: 700;
}

.form-note {
  font-size: 12px;
  color: var(--text-light);
  text-align: center;
  margin-top: 8px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Section Styles */
section {
  padding: 100px 0;
}

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

.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
  padding: 8px 16px;
  background: var(--primary-light);
  border-radius: 20px;
}

.section-title {
  font-size: 52px;
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

/* Features Section */
.features {
  background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 100%);
  position: relative;
}

.features::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(9, 100, 252, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}

.feature-card {
  background: var(--bg-white);
  padding: 48px 36px;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.feature-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.feature-card:hover::after {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.feature-icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-light) 0%, rgba(9, 100, 252, 0.1) 100%);
  border-radius: 50%;
  color: var(--primary);
  position: relative;
}

.feature-icon::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.feature-card:hover .feature-icon::before {
  opacity: 0.1;
}

.feature-title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text-dark);
  letter-spacing: -0.01em;
}

.feature-text {
  font-size: 16px;
  color: var(--text-gray);
  line-height: 1.6;
}

/* Services Section */
.services {
  background: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.services::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(180deg, transparent, rgba(9, 100, 252, 0.03));
  pointer-events: none;
}

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

.service-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

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

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

.service-image {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: var(--primary-light);
}

.service-card-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  opacity: 0;
  transform: scale(0.8);
  transition: var(--transition);
}

.service-card:hover .service-card-icon {
  opacity: 1;
  transform: scale(1);
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(9, 100, 252, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover .service-overlay {
  opacity: 1;
}

.service-content {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card {
  cursor: pointer;
}

.service-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-dark);
  line-height: 1.3;
  border-bottom: 2px dashed var(--border);
  padding-bottom: 8px;
  transition: var(--transition);
}

.service-card:hover .service-title {
  border-bottom-color: var(--primary);
}

.service-description {
  font-size: 15px;
  color: var(--text-gray);
  line-height: 1.7;
  flex: 1;
}

/* Reviews Section */
.reviews {
  background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg-white) 100%);
  position: relative;
  overflow: hidden;
  min-height: 600px;
}

.reviews-parallax {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-image: url('img/window-install.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  opacity: 0.25;
  z-index: 0;
  pointer-events: none;
}

.reviews .container {
  position: relative;
  z-index: 1;
}

.reviews-subtitle {
  text-align: center;
  font-size: 16px;
  color: var(--text-gray);
  margin-top: 12px;
  margin-bottom: 40px;
}

.reviews-layout {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

/* Left: Rating Summary Block */
.reviews-rating-block {
  flex: 0 0 25%;
  background: var(--bg-white);
  padding: 40px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  min-height: 400px;
  justify-content: space-between;
}

.rating-excellent {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.rating-stars-large {
  display: flex;
  gap: 4px;
  justify-content: center;
}

.rating-count {
  font-size: 16px;
  color: var(--text-gray);
}

.rating-count strong {
  color: var(--text-dark);
  font-weight: 700;
}

.rating-google-logo {
  margin-top: auto;
  padding-top: 20px;
}

.google-logo-img {
  width: 92px;
  height: auto;
  display: block;
}

/* Right: Reviews Slider */
.reviews-slider-wrapper {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
}

.reviews-slider-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-white);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-dark);
  flex-shrink: 0;
  z-index: 2;
}

.reviews-slider-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--bg-white);
  transform: scale(1.1);
}

.reviews-slider-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.reviews-slider {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.reviews-slider-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.review-card {
  flex-shrink: 0;
  width: calc((100% - 48px) / 3);
  background: var(--bg-white);
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-sizing: border-box;
}

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

.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 20px;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--primary-light);
}

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

.review-google-logo-small {
  width: 24px;
  height: 24px;
  display: block;
}

.review-user-info {
  flex: 1;
  min-width: 0;
}

.review-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.review-date {
  font-size: 14px;
  color: var(--text-gray);
}

.review-google-icon {
  position: absolute;
  top: 0;
  right: 0;
  flex-shrink: 0;
}

.review-rating {
  display: flex;
  align-items: center;
  gap: 8px;
}

.review-stars {
  display: flex;
  gap: 2px;
}

.review-verified {
  flex-shrink: 0;
}

.review-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-dark);
  flex: 1;
}

.review-read-more {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  margin-left: 4px;
}

.review-read-more:hover {
  text-decoration: underline;
}

.reviews-trustindex {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 8px 16px;
  background: #10B981;
  color: white;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  float: right;
  position: relative;
  cursor: help;
}

.reviews-trustindex svg {
  width: 16px;
  height: 16px;
}

.reviews-trustindex::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: white;
  color: var(--text-dark);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  white-space: normal;
  width: 280px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  transform: translateX(-50%) translateY(-8px);
  z-index: 1000;
  pointer-events: none;
}

.reviews-trustindex::after {
  content: '';
  position: absolute;
  bottom: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: white;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1001;
  pointer-events: none;
}

.reviews-trustindex:hover::before,
.reviews-trustindex:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 1024px) {
  .reviews-layout {
    flex-direction: column;
  }
  
  .reviews-rating-block {
    flex: 1;
    width: 100%;
    min-height: auto;
    padding: 32px;
  }
  
  .review-card {
    width: calc((100% - 24px) / 2);
  }
}

@media (max-width: 768px) {
  .review-card {
    width: 100%;
  }
  
  .reviews-slider-btn {
    width: 40px;
    height: 40px;
  }
  
  .reviews-trustindex {
    float: none;
    margin: 24px auto 0;
    display: flex;
  }
  
  .reviews-rating-block {
    padding: 24px;
  }
  
  .rating-excellent {
    font-size: 24px;
  }
  
  .rating-stars-large svg {
    width: 24px;
    height: 24px;
  }
}

/* FAQ Section */
.faq {
  background: var(--bg-white);
  position: relative;
}

.faq::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.faq-list {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: none;
  background: none;
}

.faq-item {
  background: none;
  border: none;
  border-radius: 0;
  margin-bottom: 0;
  overflow: visible;
  transition: none;
  box-shadow: none;
  padding: 0;
}

.faq-item:hover {
  box-shadow: none;
  background: none;
}

.faq-item.active {
  background: none;
  box-shadow: none;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 12px;
  padding: 20px 0;
  font-size: 20px;
  font-weight: 600;
  background: none;
  border: none;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.faq-question-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  background: var(--primary-light);
  border-radius: 50%;
}

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


.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.15s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 16px 0 20px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-gray);
  margin: 0;
}

.faq-answer p:first-child {
  padding-top: 0;
}

.faq-answer p:last-child {
  padding-bottom: 0;
}

.faq-answer ul {
  margin: 12px 0 20px;
  padding-left: 24px;
  color: var(--text-gray);
  line-height: 1.8;
}

.faq-answer li {
  margin-bottom: 8px;
  font-size: 16px;
}

.faq-answer li:last-child {
  margin-bottom: 0;
}

/* Мобильная версия FAQ - таблица в 3 столбца */
@media (max-width: 768px) {
  .faq-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 1px solid var(--border);
    border-radius: 0;
  }
  
  .faq-item {
    border: none;
    border-bottom: 1px solid var(--border);
    border-right: 1px solid var(--border);
    padding: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--bg-white);
  }
  
  /* Убираем правую границу у последнего элемента в ряду */
  .faq-item:nth-child(3n) {
    border-right: none;
  }
  
  .faq-question {
    padding: 16px 12px;
    font-size: 14px;
    text-align: left;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 8px;
    border-bottom: none;
    width: 100%;
    min-height: 60px;
    display: flex;
    flex-direction: row;
    cursor: pointer;
  }
  
  .faq-question-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-bottom: 0;
  }
  
  .faq-question span {
    text-align: left;
    line-height: 1.4;
    flex: 1;
    display: block;
  }
  
  .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: var(--bg-white);
    width: 100%;
    order: 2;
  }
  
  .faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0 12px 16px;
    border-top: 1px solid var(--border);
    margin-top: 0;
  }
  
  .faq-answer p {
    padding: 12px 0 0;
    font-size: 14px;
    text-align: left;
    margin: 0;
  }
  
  .faq-answer p:first-child {
    padding-top: 12px;
  }
  
  .faq-answer ul {
    margin: 8px 0 12px;
    padding-left: 20px;
    text-align: left;
  }
  
  .faq-answer li {
    font-size: 14px;
    margin-bottom: 6px;
    text-align: left;
  }
  
  /* Кнопка в ответе выравнивается по левому краю */
  .faq-answer .btn {
    margin-top: 12px;
    text-align: left;
    display: inline-block;
  }
}

/* Steps Section */
.steps {
  background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 50%, var(--bg-white) 100%);
  position: relative;
  overflow: visible;
}

.steps::before,
.steps::after {
  content: '';
  position: absolute;
  width: 180px;
  height: 120px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 0;
  pointer-events: none;
  opacity: 0.7;
}

.steps::before {
  background-image: url('img/l1.png');
  top: 60%;
  left: calc(33.33% + 16px);
  transform: translate(-50%, -50%);
}

.steps::after {
  background-image: url('img/l2.png');
  top: 60%;
  right: calc(33.33% + 16px);
  transform: translate(50%, -50%);
}

.steps-content {
  margin-top: 60px;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .steps::before,
  .steps::after {
    display: none;
  }
}

.steps-slider {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
}

.steps-list-wrapper {
  flex: 1;
  overflow: hidden;
  position: relative;
}

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

.step-item {
  position: relative;
  z-index: 1;
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: 32px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  min-width: 0;
}

.step-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.step-image-wrapper {
  position: relative;
  width: 100%;
  height: 200px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 24px;
  background: var(--primary-light);
}

.step-number {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--bg-white);
  font-size: 24px;
  font-weight: 800;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(9, 100, 252, 0.3);
  z-index: 2;
}

.step-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.step-item:hover .step-image {
  transform: scale(1.05);
}

.step-content {
  text-align: left;
}

.step-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.step-description {
  font-size: 16px;
  color: var(--text-gray);
  line-height: 1.7;
}

.steps-prev,
.steps-next {
  width: 56px;
  height: 56px;
  background: var(--primary);
  color: var(--bg-white);
  border: none;
  border-radius: 50%;
  font-size: 28px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  display: none;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.steps-prev {
  left: -28px;
}

.steps-next {
  right: -28px;
}

.steps-prev:hover,
.steps-next:hover {
  background: var(--primary-dark);
  transform: translateY(-50%) scale(1.1);
  box-shadow: var(--shadow-lg);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--bg-white);
  text-align: center;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.2) 40%, transparent 80%);
  border-radius: 50%;
  filter: blur(60px);
  animation: float 20s ease-in-out infinite;
  z-index: 0;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.45) 0%, rgba(0, 212, 255, 0.25) 40%, transparent 80%);
  border-radius: 50%;
  filter: blur(50px);
  animation: float 15s ease-in-out infinite reverse;
  z-index: 0;
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-section .container::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
  border-radius: 50%;
  filter: blur(80px);
  animation: pulse 15s ease-in-out infinite;
  z-index: 0;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -30px) scale(1.1); }
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-content::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.15) 50%, transparent 100%);
  border-radius: 50%;
  filter: blur(50px);
  animation: pulse 8s ease-in-out infinite;
  z-index: -1;
}

.cta-content::after {
  content: '';
  position: absolute;
  top: 30%;
  right: 15%;
  width: 400px;
  height: 400px;
  background: rgba(0, 212, 255, 0.25);
  border-radius: 50%;
  filter: blur(40px);
  animation: float 12s ease-in-out infinite;
  z-index: -1;
}

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

.cta-title {
  font-size: 52px;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.cta-text {
  font-size: 22px;
  margin-bottom: 40px;
  opacity: 0.95;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
/* SEO Text Section */
.seo-text-section {
  background: var(--bg-light);
  padding: 80px 0;
  position: relative;
}

.seo-text-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.seo-text-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 32px;
  text-align: center;
  line-height: 1.3;
}

.seo-text-content {
  background: var(--bg-white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.seo-text-image-wrapper {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 32px;
}

.seo-text-image {
  width: 300px;
  height: auto;
  border-radius: var(--radius-md);
  flex-shrink: 0;
  object-fit: cover;
}

.seo-text-advantages {
  flex: 1;
}

.seo-text-advantages h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.seo-text-advantages ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.seo-text-advantages li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border);
}

.seo-text-advantages li:last-child {
  border-bottom: none;
}

.seo-text-advantages li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

@media (max-width: 768px) {
  .seo-text-image-wrapper {
    flex-direction: column;
    gap: 24px;
  }
  
  .seo-text-image {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }
}

.seo-text-visible {
  display: block;
  visibility: visible;
  opacity: 1;
  width: 100%;
  position: relative;
  max-height: 150px;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.seo-text-content.expanded .seo-text-visible {
  max-height: 5000px;
}

.seo-text-visible::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.seo-text-content.expanded .seo-text-visible::after {
  opacity: 0;
}

.seo-text-visible p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-gray);
  margin-bottom: 20px;
  display: block;
  visibility: visible;
  opacity: 1;
  width: 100%;
}

.seo-text-hidden p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-gray);
  margin-bottom: 20px;
  display: block;
}

.seo-text-visible p:last-child {
  margin-bottom: 0;
}

.seo-text-visible h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-top: 32px;
  margin-bottom: 16px;
  line-height: 1.4;
}

.seo-text-visible h3:first-child {
  margin-top: 0;
}

.seo-text-visible ul,
.seo-text-visible ol {
  margin: 16px 0 24px;
  padding-left: 24px;
  color: var(--text-gray);
  line-height: 1.8;
}

.seo-text-visible ul {
  list-style-type: disc;
}

.seo-text-visible ol {
  list-style-type: decimal;
}

.seo-text-visible ul ul,
.seo-text-visible ol ul {
  margin-top: 8px;
  margin-bottom: 8px;
  list-style-type: circle;
  padding-left: 20px;
}

.seo-text-visible li {
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.7;
}

.seo-text-visible li:last-child {
  margin-bottom: 0;
}

.seo-text-visible li strong {
  color: var(--text-dark);
  font-weight: 600;
}


.seo-text-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 32px auto 0;
  padding: 16px 32px;
  background: var(--primary);
  color: var(--bg-white);
  border: none;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}

.seo-text-toggle:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.toggle-icon {
  transition: transform 0.3s ease;
}

.footer {
  background: linear-gradient(180deg, var(--bg-dark) 0%, #050813 100%);
  color: var(--bg-white);
  padding: 80px 0 32px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.footer .container {
  max-width: 1200px;
  padding: 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-description {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.8;
}

.footer-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--bg-white);
  text-decoration: none;
  font-size: 16px;
  transition: var(--transition);
  width: fit-content;
}

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

.footer-contact-text {
  border-bottom: 1px dashed currentColor;
  padding-bottom: 2px;
}

.footer-messengers {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer-messenger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.footer-messenger:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

.footer-messenger img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: var(--transition);
}

.footer-messenger:hover img {
  filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
  transform: scale(1.15);
}

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

.footer-list li {
  font-size: 14px;
  opacity: 0.8;
  position: relative;
  padding-left: 20px;
}

.footer-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  opacity: 0.6;
}

/* Utility Classes */
.desktop-only {
  display: block;
}

.mobile-only {
  display: none !important;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .hero-image-wrapper {
    width: 100%;
    height: 50%;
    top: 0;
  }
  
  .hero-overlay {
    background: linear-gradient(180deg, rgba(10, 14, 39, 0.95) 0%, rgba(10, 14, 39, 0.7) 50%, transparent 100%);
  }
  
  .hero-title {
    font-size: 52px;
  }
  
  .section-title {
    font-size: 40px;
  }
  
  .steps-list {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .steps-list::before {
    display: none;
  }
}

@media (max-width: 768px) {
  html, body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    position: relative;
  }
  
  * {
    max-width: 100%;
  }
  
  .burger {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .desktop-only {
    display: none !important;
  }
  
  .mobile-only {
    display: flex !important;
  }
  
  .lang-switcher.mobile-only {
    display: none !important;
  }
  
  .messengers.mobile-only {
    display: flex !important;
  }
  
  .header {
    width: 100%;
    max-width: 100vw;
    left: 0;
    right: 0;
  }
  
  .header-content {
    width: 100%;
    max-width: 100%;
    justify-content: space-between;
  }
  
  .nav {
    width: auto;
    max-width: none;
    margin-left: auto;
    justify-content: flex-end;
    gap: 12px;
  }
  
  .logo {
    flex-shrink: 0;
  }
  
  section {
    width: 100%;
    max-width: 100vw;
  }
  
  .hero {
    padding: 100px 0 60px;
    min-height: auto;
    width: 100%;
    max-width: 100vw;
  }
  
  .hero-image-wrapper {
    height: 40%;
  }
  
  .hero-title {
    font-size: 52px;
    line-height: 1.2;
  }
  
  .title-line-mobile {
    display: block;
  }
  
  .hero-subtitle {
    font-size: 18px;
  }
  
  .hero-form {
    padding: 32px 24px;
  }
  
  .section-title {
    font-size: 32px;
  }
  
  section {
    padding: 60px 0;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .feature-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding: 20px;
    text-align: left;
    min-height: auto;
  }
  
  .feature-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    margin: 0;
  }
  
  .feature-icon svg {
    width: 32px;
    height: 32px;
  }
  
  .feature-title {
    font-size: 16px;
    margin-bottom: 4px;
  }
  
  .feature-text {
    font-size: 14px;
    margin: 0;
  }
  
  .services-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-section {
    padding: 60px 0;
  }
  
  .cta-title {
    font-size: 36px;
  }
  
  .cta-text {
    font-size: 18px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .step-item {
    padding: 24px;
  }
  
  .step-image-wrapper {
    height: 180px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  
  .hero-title {
    font-size: 28px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .btn {
    padding: 12px 24px;
    font-size: 14px;
  }
  
  .btn-large {
    padding: 16px 32px;
    font-size: 16px;
  }
}

/* Smooth Scroll */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* Service Modal */
.service-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

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

.service-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
}

.service-modal-content {
  position: relative;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  z-index: 1;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.service-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
}

.service-modal-close:hover {
  background: var(--bg-white);
  transform: rotate(90deg);
}

.service-modal-scroll {
  overflow-y: auto;
  max-height: 90vh;
}

.service-modal-scroll::-webkit-scrollbar {
  width: 8px;
}

.service-modal-scroll::-webkit-scrollbar-track {
  background: var(--bg-light);
}

.service-modal-scroll::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

.service-modal-scroll::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

.service-modal-header {
  padding: 40px 40px 20px;
  text-align: center;
}

.service-modal-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.2;
}

.service-modal-subtitle {
  font-size: 18px;
  color: var(--text-gray);
  line-height: 1.3;
}

.service-modal-image-wrapper {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  margin: 0;
}

.service-modal-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-modal-overlay-blue {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(9, 100, 252, 0.85) 0%, rgba(3, 78, 208, 0.9) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 20px;
}

.service-modal-overlay-image {
  position: absolute;
  top: 50%;
  left: 40px;
  transform: translateY(-50%);
  max-width: 60%;
  max-height: 95%;
  object-fit: contain;
  pointer-events: none;
  opacity: 1;
  z-index: 0;
}

/* Блок конверсии в первом блоке (на синем фоне) */
.service-modal-overlay-blue .service-modal-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  text-align: left;
  min-width: 0;
  width: auto;
  max-width: 45%;
  position: relative;
  z-index: 1;
  margin-right: 20px;
  margin-bottom: 10px;
}

/* Блок конверсии во втором блоке (в белом тексте) */
.service-modal-text .service-modal-cta {
  margin-top: 28px;
  padding: 24px 32px;
  border: 1px solid var(--primary);
  border-radius: var(--radius-md);
  background: var(--primary-light);
  text-align: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.service-modal-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--bg-white);
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
  white-space: nowrap;
  flex-shrink: 0;
}

.service-modal-phone:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.service-modal-phone svg {
  width: 24px;
  height: 24px;
}

.service-modal-text {
  padding: 40px;
}

.service-modal-text p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-gray);
  margin-bottom: 20px;
}

.service-modal-text p:last-child {
  margin-bottom: 0;
}

.service-modal-includes {
  margin-bottom: 32px;
}

.service-modal-includes h4 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.service-modal-includes ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 24px;
}

.service-modal-includes li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  font-size: 16px;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border);
}

.service-modal-includes li:last-child {
  border-bottom: 1px solid var(--border);
}

@media (max-width: 768px) {
  .service-modal-includes ul {
    grid-template-columns: 1fr;
  }
}

.service-include-icon {
  flex-shrink: 0;
}

.service-modal-main-text {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-gray);
  margin-bottom: 32px;
}

.service-modal-why-us {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: var(--primary-light);
  border-radius: var(--radius-md);
  margin-top: 32px;
}

.service-why-icon {
  flex-shrink: 0;
}

.service-modal-why-text {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-dark);
  margin: 0;
}

.service-modal-text .service-modal-cta-text {
  margin: 0 0 16px;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 18px;
}

.service-modal-text .service-modal-cta-btn {
  margin-bottom: 16px;
  width: 100%;
  justify-content: center;
}

.service-modal-text .service-modal-phone {
  margin: 0;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 16px;
}

.service-modal-text .service-modal-phone a {
  color: var(--primary-dark);
}

@media (max-width: 768px) {
  .service-modal-content {
    max-width: 100%;
    max-height: 100vh;
    border-radius: 0;
  }
  
  .service-modal-header {
    padding: 30px 20px 15px;
  }
  
  .service-modal-title {
    font-size: 28px;
    line-height: 1.2;
  }
  
  .service-modal-subtitle {
    font-size: 16px;
    line-height: 1.3;
  }
  
  .service-modal-overlay-image {
    display: none;
  }
  
  .service-modal-overlay-blue {
    justify-content: center;
    align-items: center;
  }
  
  .service-modal-overlay-blue .service-modal-cta {
    max-width: 100%;
    width: 100%;
    align-items: stretch;
    margin-right: 0;
  }
  
  .service-modal-overlay-blue .service-modal-cta .btn {
    width: 100%;
    justify-content: center;
  }
  
  .service-modal-overlay-blue .service-modal-phone {
    width: 100%;
    justify-content: center;
  }
  
  .service-modal-image-wrapper {
    height: 250px;
  }
  
  .service-modal-text {
    padding: 30px 20px;
  }
  
  .service-modal-text p {
    font-size: 16px;
  }
  
  .service-modal-text .service-modal-cta {
    gap: 12px;
    padding: 16px;
    width: 100%;
    box-sizing: border-box;
  }
  
  .service-modal-phone {
    font-size: 15px;
    padding: 10px 14px;
    gap: 6px;
    white-space: nowrap;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    justify-content: center;
  }
  
  .service-modal-phone svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }
  
  .steps-prev,
  .steps-next {
    width: 48px;
    height: 48px;
    font-size: 24px;
  }

  .steps-slider {
    position: relative;
    padding: 0 60px;
  }
  
  .steps-prev,
  .steps-next {
    display: flex;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    font-size: 24px;
  }
  
  .steps-prev {
    left: 0;
  }
  
  .steps-next {
    right: 0;
  }
  
  .steps-list-wrapper {
    overflow: hidden;
    position: relative;
  }
  
  .steps-list {
    display: flex;
    transition: transform 0.3s ease;
    width: 100%;
  }
  
  .step-item {
    width: 100%;
    min-width: 100%;
    flex-shrink: 0;
    margin-bottom: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: block;
  }
  
  /* Индикаторы для мобильной версии */
  .steps-indicators {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 32px;
    padding: 16px 0;
  }
  
  .step-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: var(--border);
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
    flex-shrink: 0;
  }
  
  .step-indicator.active {
    background: var(--primary);
    width: 32px;
    border-radius: 6px;
  }
  
  .step-indicator:hover {
    background: var(--primary-light);
  }
  
  .step-indicator.active:hover {
    background: var(--primary-dark);
  }
  
  /* Problems Section Mobile */
  .problems-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 16px !important;
  }
  
  .problem-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
    padding: 20px !important;
    text-align: left !important;
    min-height: auto !important;
  }
  
  .problem-icon {
    flex-shrink: 0 !important;
    width: 60px !important;
    height: 60px !important;
    margin: 0 0 12px 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
  }
  
  .problem-icon img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
  }
  
  .problem-title {
    font-size: 16px !important;
    margin-bottom: 4px !important;
    font-weight: 600 !important;
    width: 100% !important;
  }
  
  .problem-description {
    font-size: 14px !important;
    margin: 0 !important;
    width: 100% !important;
  }
  
  .problem-details {
    width: 100% !important;
    text-align: left !important;
  }
  
  .problem-card.open .problem-details {
    max-height: 500px !important;
  }
  
  /* Discounts Mobile */
  .discounts-title {
    font-size: 28px;
  }
  
  .discounts-list {
    gap: 24px;
  }
  
  .discount-item {
    font-size: 16px;
  }
  
  /* Brands Mobile */
  .brands-logos {
    margin-top: 32px;
  }
  
  .brands-list {
    gap: 16px;
  }
  
  .brands-image {
    max-width: 100%;
  }
  
  .brand-logo {
    font-size: 14px;
    padding: 8px 16px;
  }
  
  .faq-list {
    grid-template-columns: 1fr;
  }
  
  /* Floating Messengers Mobile */
  .floating-messengers {
    bottom: 16px;
    right: 16px;
  }
  
  .floating-messengers-toggle {
    width: 48px;
    height: 48px;
  }
  
  .floating-messenger-link {
    padding: 10px 12px;
    font-size: 12px;
    gap: 8px;
  }
  
  .floating-messenger-link img {
    width: 20px;
    height: 20px;
  }
  
  /* Popup Mobile */
  .popup-content {
    padding: 30px 20px;
    max-width: 100%;
  }
  
  .popup-title {
    font-size: 24px;
    line-height: 1.2;
  }
  
  .timer-display {
    font-size: 20px;
    flex-wrap: wrap;
  }
}

/* Problems Section */
.problems {
  padding: 80px 0;
  background: var(--bg-white);
}

.problems-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.problem-card {
  background: var(--bg-white);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  cursor: default;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.problem-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary);
  transform: scaleX(0);
  transition: var(--transition);
}

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

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

.problem-details {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.25s ease, margin-top 0.25s ease;
}

.problem-card.open .problem-details {
  max-height: 260px;
  opacity: 1;
  margin-top: 12px;
}

.problem-details p {
  margin-bottom: 12px;
  color: var(--text-gray);
}

.problem-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.problem-icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 20px;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.problem-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.problem-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  transition: var(--transition);
  display: inline-block;
  padding-bottom: 2px;
}

.problem-card:hover .problem-title {
  border-bottom: 1px dashed currentColor;
}

.problem-description {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 768px) {
  .problems-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0 !important;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
  }
  
  .problem-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    padding: 12px !important;
    text-align: left !important;
    min-height: auto !important;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    border-radius: 0;
  }
  
  /* Убираем правую границу у последнего в ряду */
  .problem-card:nth-child(3n) {
    border-right: none;
  }
  
  /* Убираем нижнюю границу у последних трёх */
  .problem-card:nth-last-child(-n+3) {
    border-bottom: none;
  }
  
  .problem-icon {
    flex-shrink: 0 !important;
    width: 48px !important;
    height: 48px !important;
    margin: 0 0 8px 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
  }
  
  .problem-icon img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
  }
  
  .problem-title {
    font-size: 14px !important;
    margin-bottom: 4px !important;
    font-weight: 600 !important;
    width: 100%;
    line-height: 1.3;
  }
  
  .problem-description {
    font-size: 12px !important;
    margin: 0 !important;
    width: 100%;
    line-height: 1.4;
  }
  
  .problem-details {
    width: 100% !important;
    text-align: left !important;
    order: 10;
  }
  
  .problem-details p {
    font-size: 13px !important;
    line-height: 1.5 !important;
    margin-bottom: 12px !important;
  }
  
  .problem-card.open .problem-details {
    max-height: 600px !important;
    padding-top: 12px !important;
    border-top: 1px solid var(--border);
    margin-top: 8px !important;
  }
  
  .problem-cta {
    font-size: 12px !important;
    padding: 8px 16px !important;
  }
}

/* Discounts Section */
.discounts {
  padding: 60px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  position: relative;
  overflow: hidden;
}

.discounts::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.15) 40%, transparent 80%);
  border-radius: 50%;
  filter: blur(60px);
  animation: float 20s ease-in-out infinite;
  z-index: 0;
}

.discounts::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.4) 0%, rgba(0, 212, 255, 0.2) 40%, transparent 80%);
  border-radius: 50%;
  filter: blur(50px);
  animation: float 18s ease-in-out infinite reverse;
  z-index: 0;
}

.discounts-banner::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.08) 50%, transparent 100%);
  border-radius: 50%;
  filter: blur(80px);
  animation: pulse 12s ease-in-out infinite;
  z-index: 0;
}

.discounts-banner {
  position: relative;
  z-index: 2;
}

.discounts-content {
  text-align: center;
  color: white;
  position: relative;
  z-index: 1;
}

.discounts-content::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
  border-radius: 50%;
  filter: blur(50px);
  animation: pulse 10s ease-in-out infinite;
  z-index: -1;
}

.discounts-content::after {
  content: '';
  position: absolute;
  top: 20%;
  right: 10%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  filter: blur(35px);
  animation: float 14s ease-in-out infinite;
  z-index: -1;
}

.discounts-title {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 32px;
  color: white;
}

.discounts-list {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.discount-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 600;
}

.discount-item svg {
  width: 28px;
  height: 28px;
  color: var(--secondary);
}

/* Reviews - Updated */
.review-date {
  display: block;
  font-size: 12px;
  color: var(--text-light);
  margin-top: 4px;
}

/* Footer Payment */
.footer-payment-text {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer-payment-cards {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 16px;
}

.payment-card-image {
  max-width: 200px;
  height: auto;
  display: block;
}

.payment-card-logo {
  background: white;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  border: 1px solid var(--border);
}

/* Brands in Features */
.brands-logos {
  margin-top: 48px;
  text-align: center;
}

.brands-text {
  font-size: 16px;
  color: var(--text-gray);
  margin-bottom: 24px;
}

.brands-list {
  display: flex;
  justify-content: center;
  align-items: center;
}

.brands-image {
  max-width: 100%;
  height: auto;
  display: block;
}

.brand-logo {
  background: var(--bg-light);
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.brand-logo:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* Exit Intent Popup */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  backdrop-filter: blur(4px);
}

.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

.popup-content {
  background: white;
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  max-width: 500px;
  width: 90%;
  position: relative;
  transform: scale(0.9);
  transition: var(--transition);
  box-shadow: var(--shadow-lg);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.popup-content::before {
  content: '';
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 200px;
  height: 200px;
  background-image: url('img/akciya.png');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  z-index: 0;
  pointer-events: none;
}

.popup-overlay.active .popup-content {
  transform: scale(1);
}

.popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border: none;
  background: var(--bg-light);
  border-radius: 50%;
  font-size: 24px;
  color: var(--text-gray);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 10;
}

.popup-close:hover {
  background: var(--border);
  color: var(--text-dark);
}

.popup-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 16px;
  line-height: 1.2;
  position: relative;
  z-index: 1;
}

.popup-text {
  font-size: 18px;
  color: var(--text-gray);
  text-align: center;
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.popup-subtitle {
  font-size: 14px;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.timer-display {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.timer-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.timer-value {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.timer-label {
  font-size: 12px;
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Floating Messengers */
.floating-messengers {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  animation: messengerShake 40s ease-in-out infinite;
}

@keyframes messengerShake {
  0%, 98%, 100% {
    transform: translateX(0) rotate(0deg);
  }
  98.5% {
    transform: translateX(-4px) rotate(-5deg);
  }
  99% {
    transform: translateX(4px) rotate(5deg);
  }
  99.5% {
    transform: translateX(-2px) rotate(-2deg);
  }
}

.floating-messengers-toggle {
  width: 56px;
  height: 56px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  color: white;
}

.floating-messengers-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(9, 100, 252, 0.4);
}

.floating-messengers-toggle.active {
  background: var(--primary-dark);
}

.floating-messengers-list {
  position: absolute;
  bottom: 70px;
  right: 0;
  background: white;
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  min-width: 200px;
}

.floating-messengers-list.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.floating-messengers-label {
  font-size: 12px;
  color: var(--text-gray);
  text-align: center;
  margin-bottom: 8px;
  font-weight: 600;
}

.floating-messenger-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  transition: var(--transition);
  background: var(--bg-light);
  text-decoration: none;
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 500;
}

.floating-messenger-link:hover {
  background: var(--primary-light);
  transform: translateX(-4px);
}

.floating-messenger-link img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.floating-messenger-link span {
  white-space: nowrap;
}

/* Print Styles */
@media print {
  .header,
  .mobile-menu,
  .btn,
  .footer {
    display: none;
  }
  
  .hero {
    padding: 40px 0;
  }
  
  section {
    padding: 40px 0;
  }
}

/* Cursor swirl canvas overlay */
#cursor-swirl-canvas,
.cursor-swirl-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  mix-blend-mode: screen;
  opacity: 0.7;
}
