:root {
  --primary: #FF5100;
  --primary-dark: #E04500;
  --primary-light: #FFF0E8;
  --primary-ultra-light: #FFF8F4;
  --accent: #FF8C42;
  --accent-2: #FF6B2C;
  --bg-main: #FFFFFF;
  --bg-soft: #FAFAFA;
  --bg-warm: #FDF9F6;
  --bg-section: #F5F3F0;
  --bg-card: #FFFFFF;
  --bg-dark: #1A1A2E;
  --bg-dark-2: #16162A;
  --text-dark: #1A1A2E;
  --text-body: #4A4A5A;
  --text-muted: #8E8E9A;
  --text-light: #B5B5C0;
  --border: #EBEBEF;
  --border-hover: #D5D5DD;
  --border-primary: rgba(255, 81, 0, 0.2);
  --gradient-primary: linear-gradient(135deg, #FF5100 0%, #FF8C42 100%);
  --gradient-warm: linear-gradient(135deg, #FFF0E8 0%, #FDF5F0 100%);
  --gradient-hero: linear-gradient(160deg, #FFFFFF 0%, #FDF9F6 40%, #FFF0E8 100%);
  --gradient-dark: linear-gradient(135deg, #1A1A2E 0%, #2D2D44 100%);
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  --shadow-xs: 0 1px 3px rgba(0,0,0,0.04);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.1);
  --shadow-xl: 0 30px 80px rgba(0,0,0,0.12);
  --shadow-glow: 0 8px 40px rgba(255, 81, 0, 0.15);
  --shadow-glow-lg: 0 20px 60px rgba(255, 81, 0, 0.2);
  --transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: all 0.2s ease;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-main);
  color: var(--text-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  line-height: 1.65;
  font-size: 16px;
}

/* Mobile bottom nav spacing */
@media (max-width: 768px) {
  body { padding-bottom: calc(72px + var(--safe-bottom)); }
}

.bg-dots {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image: radial-gradient(circle, #E0E0E5 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.3;
  pointer-events: none;
  z-index: 0;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--text-dark);
  line-height: 1.1;
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary);
  margin-bottom: 20px;
  padding: 6px 16px 6px 12px;
  background: var(--primary-light);
  border-radius: var(--radius-full);
}

.section-label i { font-size: 11px; }

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 700;text-align:center;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-primary-glow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--gradient-primary);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-glow);
}

.btn-primary-glow::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transition: left 0.5s ease;
}

.btn-primary-glow:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-lg);
  color: #fff;
  text-decoration: none;
}

.btn-primary-glow:hover::before { left: 100%; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 34px;
  background: transparent;
  color: var(--text-dark);
  font-size: 15px;
  font-weight: 600;
  border: 2px solid var(--border);
  border-radius: var(--radius-full);
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* ============================================
   HEADER
   ============================================ */
/* Убираем fixed по умолчанию */
.top-header {
    position: relative; /* ? меняем с fixed на relative */
    /* остальные стили (фон, backdrop-filter) остаются */
    background: rgba(255,255,255,0.98); /* чуть плотнее для читаемости */
    transition: all 0.3s ease;
}

/* Класс, который добавляется при скролле через JS */
.top-header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(12px);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Компенсация отступа, чтобы контент не прыгал */
body.has-sticky-header {
    padding-top: 80px; /* подберите под высоту вашей шапки */
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.logo-mobile { height: 36px; width: auto; }

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-desktop .nav-link {
  color: var(--text-body);
  font-size: 18px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-xs);
  text-decoration: none;
  transition: var(--transition-fast);
}

.nav-desktop .nav-link:hover {
  color: var(--text-dark);
  background: var(--bg-soft);
}

.nav-desktop .nav-link.active {
  color: var(--primary);
  font-weight: 600;
}

.nav-item-dropdown { position: relative; }

.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: -12px;
  min-width: 260px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
  box-shadow: var(--shadow-lg);
  z-index: 100;
}

.nav-item-dropdown:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: 10px 14px;
  color: var(--text-body);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius-xs);
  transition: var(--transition-fast);
}

.nav-dropdown a:hover {
  color: var(--primary);
  background: var(--primary-light);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-contacts { text-align: right; }

.header-phone {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  text-decoration: none;
  transition: var(--transition-fast);
}

.header-phone:hover { color: var(--primary); text-decoration: none; }

.header-email {
  font-size: 17px;
  color: var(--text-muted);
  text-decoration: none;
}

.header-email:hover { color: var(--primary); text-decoration: none; }

.btn-header {
  padding: 10px 24px;
  background: var(--gradient-primary);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
  box-shadow: 0 2px 12px rgba(255, 81, 0, 0.2);
}

.btn-header:hover {
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
  color: #fff;
  text-decoration: none;
}

/* ============================================
   MOBILE HAMBURGER BUTTON (MW STYLE)
   ============================================ */
.hamburger-btn {
  display: none;
  width: 44px;
  height: 44px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  position: relative;
  z-index: 1001;
  align-items: center;
  justify-content: center;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  transition: all 0.3s ease;
}

.hamburger-btn:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
}

.hamburger-btn .ham-line {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all 0.3s ease;
  position: absolute;
  left: 12px;
}

.hamburger-btn .ham-line:nth-child(1) { top: 15px; }
.hamburger-btn .ham-line:nth-child(2) { top: 21px; width: 14px; }
.hamburger-btn .ham-line:nth-child(3) { top: 27px; }

.hamburger-btn.active .ham-line:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}

.hamburger-btn.active .ham-line:nth-child(2) {
  opacity: 0;
  width: 0;
  left: 50%;
}

.hamburger-btn.active .ham-line:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}

/* ============================================
   MOBILE PHONE BUTTON (CENTER)
   ============================================ */
.mobile-phone-btn {
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 18px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.mobile-phone-btn:hover {
  transform: scale(1.05);
}

/* Mobile header layout */
@media (max-width: 992px) {
  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .hamburger-btn { display: flex; }
  .mobile-phone-btn { display: flex; }
  .nav-desktop { display: none; }
  .header-right { display: none; }
}

/* ============================================
   MOBILE FULLSCREEN MENU (MW STYLE)
   ============================================ */
.mobile-menu-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(4px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-panel {
  position: fixed;
  top: 0; right: -100%;
  width: 100%;
  max-width: 380px;
  height: 100vh;
  background: var(--bg-main);
  z-index: 9999;
  transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
  box-shadow: -5px 0 30px rgba(0,0,0,0.1);
}

.mobile-menu-panel.active { right: 0; }

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
  background: var(--bg-main);
}

.mobile-menu-header img { height: 28px; }

.mobile-menu-close {
  width: 40px; height: 40px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 18px;
  transition: all 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}

.mobile-menu-close:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.mobile-menu-body {
  flex: 1;
  padding: 16px 24px;
  overflow-y: auto;
}

.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav-list > li { border-bottom: 1px solid var(--border); }

.mobile-nav-list > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  color: var(--text-dark);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-fast);
}

.mobile-nav-list > li > a:hover { color: var(--primary); }

.mobile-nav-list > li > a .nav-icon {
  width: 36px; height: 36px;
  background: var(--primary-light);
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 14px;
  flex-shrink: 0;
}

.mobile-nav-list > li > a .nav-icon svg {
  width: 18px; height: 18px;
  fill: var(--primary);
}

.mobile-nav-list > li > a .nav-text { flex: 1; }

.mobile-nav-list > li > a .nav-arrow {
  color: var(--text-light);
  font-size: 12px;
  transition: transform 0.3s ease;
}

/* Submenu */
.mobile-submenu {
  list-style: none;
  padding: 0 0 12px 50px;
  margin: 0;
  display: none;
}

.mobile-submenu.open { display: block; }

.mobile-submenu li a {
  display: block;
  padding: 10px 0;
  color: var(--text-body);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition-fast);
}

.mobile-submenu li a:hover { color: var(--primary); }

.mobile-menu-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
  background: var(--bg-main);
}

.mobile-menu-phone {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  text-decoration: none;
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

.mobile-menu-phone:hover {
  background: var(--gradient-primary);
}

.mobile-menu-phone svg {
  width: 20px; height: 20px;
  fill: var(--primary);
  flex-shrink: 0;
  transition: fill 0.3s ease;
}

.mobile-menu-phone:hover svg {
  fill: #fff;
}

.mobile-menu-phone span {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  transition: color 0.3s ease;
}

.mobile-menu-phone:hover span {
  color: #fff;
}

.mobile-menu-cta {
  display: block;
  width: 100%;
  padding: 14px;
  background: var(--gradient-primary);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.mobile-menu-cta:hover { 
  color: #fff; 
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

/* ============================================
   MOBILE BOTTOM TAB BAR (APP-LIKE)
   ============================================ */
.mobile-tab-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0;
  width: 100%;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  z-index: 9990;
  padding-bottom: var(--safe-bottom);
}

@media (max-width: 768px) {
  .mobile-tab-bar { display: block; }
}

.tab-bar-inner {
  display: flex;
  align-items: stretch;
  justify-content: space-around;
  height: 64px;
  max-width: 500px;
  margin: 0 auto;
}

.tab-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 1;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
  position: relative;
  padding: 8px 0;
}

.tab-bar-item svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--text-muted);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: var(--transition-fast);
}

.tab-bar-item.active {
  color: var(--primary);
}

.tab-bar-item.active svg {
  stroke: var(--primary);
}

.tab-bar-item.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 0 0 3px 3px;
}

/* Center CTA tab */
.tab-bar-item.tab-cta {
  position: relative;
}

.tab-bar-item.tab-cta .tab-cta-circle {
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -20px;
  box-shadow: var(--shadow-glow);
  transition: var(--transition);
}

.tab-bar-item.tab-cta .tab-cta-circle svg {
  stroke: #fff;
  width: 22px;
  height: 22px;
}

.tab-bar-item.tab-cta:active .tab-cta-circle {
  transform: scale(0.92);
}

/* ============================================
   HERO SECTION
   ============================================ */
.section-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
  background: var(--gradient-hero);
}

.hero-shape-1 {
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255, 81, 0, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-shape-2 {
  position: absolute;
  bottom: -100px; left: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255, 140, 66, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-body);
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}

.hero-badge .pulse-dot {
  width: 8px; height: 8px;
  background: #22C55E;
  border-radius: 50%;
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  color: var(--text-dark);
}

.hero-description {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 32px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.trust-icon {
  width: 40px; height: 40px;
  background: var(--primary-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 16px;
}

.trust-text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.3;
}

.trust-text strong {
  display: block;
  color: var(--text-dark);
  font-size: 15px;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.svg-logo-wrap {
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
  opacity: 0;
  transition: all 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  filter: drop-shadow(0 30px 60px rgba(255, 81, 0, 0.15));
}

.svg-logo-wrap.init { opacity: 1; }
.svg-logo-area { position: relative; }
#svg-logo { width: 100%; height: auto; }

.hero-float-card {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-md);
  animation: floatCard 6s ease-in-out infinite;
  z-index: 5;
}

.hero-float-card .hfc-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.hero-float-card .hfc-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ============================================
   MARQUEE
   ============================================ */
.marquee-line {
  overflow: hidden;
  padding: 32px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.marquee-track {
  display: flex;
  gap: 40px;
  animation: marquee 25s linear infinite;
  white-space: nowrap;
}

.marquee-item {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 700;
  color: var(--border);
  flex-shrink: 0;
  letter-spacing: -0.02em;
}

.marquee-item .dot {
  display: inline-block;
  width: 10px; height: 10px;
  background: var(--primary);
  border-radius: 50%;
  margin: 0 20px;
  vertical-align: middle;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   SECTION SPACING
   ============================================ */
.section { padding: 100px 0; position: relative; }
.section-alt { background: var(--bg-soft); }
.section-warm { background: var(--bg-warm); }

/* ============================================
   WHY US / UTP
   ============================================ */
.section-why { padding: 100px 0; background: var(--bg-main); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.why-card:hover {
  border-color: var(--border-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.why-card:hover::before { opacity: 1; }

.why-card-icon {
  width: 56px; height: 56px;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
  color: var(--primary);
  transition: var(--transition);
}

.why-card:hover .why-card-icon {
  background: var(--gradient-primary);
  color: #fff;
}

.why-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.why-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

.why-card-big {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: var(--gradient-dark);
  border-color: transparent;
  padding: 56px 48px;
}

.why-card-big:hover { border-color: transparent; box-shadow: var(--shadow-xl); }
.why-card-big::before { display: none; }
.why-card-big h3 { font-size: 32px; color: #fff; margin-bottom: 16px; }
.why-card-big p { color: rgba(255,255,255,0.6); font-size: 16px; }

.why-big-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.why-stat {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
}

.why-stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.why-stat-label { font-size: 13px; color: rgba(255,255,255,0.5); margin-top: 6px; }

/* ============================================
   PROCESS
   ============================================ */
.section-process { padding: 100px 0; background: var(--bg-soft); }

.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 12.5%;
  width: 75%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.process-step2 {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 16px;
}

.process-step-dot {
  width: 80px; height: 80px;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
  color: var(--primary);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.process-step2:hover .process-step-dot {
  background: var(--gradient-primary);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--shadow-glow);
  transform: scale(1.1);
}

.process-step-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.process-step2 h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.process-step2 p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ============================================
   TECH STACK
   ============================================ */
.section-tech { padding: 80px 0; background: var(--bg-main); }

.tech-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.tech-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-body);
  transition: var(--transition);
}

.tech-item:hover {
  border-color: var(--border-primary);
  background: var(--primary-light);
  color: var(--primary);
  transform: translateY(-2px);
}

.tech-item i { font-size: 20px; color: var(--primary); }

/* ============================================
   TESTIMONIALS
   ============================================ */
.section-testimonials { padding: 100px 0; background: var(--bg-warm); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
}

.testimonial-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }

.testimonial-stars { display: flex; gap: 3px; margin-bottom: 16px; }
.testimonial-stars i { color: #FBBF24; font-size: 14px; }

.testimonial-text {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author { display: flex; align-items: center; gap: 12px; }

.testimonial-avatar {
  width: 44px; height: 44px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
}

.testimonial-name { font-size: 14px; font-weight: 700; color: var(--text-dark); }
.testimonial-role { font-size: 12px; color: var(--text-muted); }

/* ============================================
   CTA BANNER
   ============================================ */
.section-cta { padding: 100px 0; background: var(--bg-main); }

.cta-card {
  background: var(--gradient-primary);
  border-radius: var(--radius-xl);
  padding: 72px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -50%; right: -30%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-card h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta-card p {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 36px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.cta-card .btn-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  background: #fff;
  color: var(--primary);
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.cta-card .btn-white:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
  color: var(--primary);
  text-decoration: none;
}

/* ============================================
   GUARANTEE
   ============================================ */
.section-guarantee { padding: 80px 0; background: var(--bg-soft); }

.guarantee-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.guarantee-item {
  text-align: center;
  padding: 32px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.guarantee-item:hover {
  border-color: var(--border-primary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.guarantee-icon {
  width: 64px; height: 64px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 24px;
  color: var(--primary);
}

.guarantee-item h4 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.guarantee-item p { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* ============================================
   QUIZ
   ============================================ */
.section-quiz { padding: 100px 0; background: var(--bg-warm); }
.section-quiz-s { position: relative; z-index: 1; }

/* ============================================
   SERVICES SECTION (NEW REDESIGN - NO CONFLICT)
   ============================================ */
.section-services-new {
  padding: 100px 0;
  background: var(--bg-main);
}
.templates-promo-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 56px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.promo-content {
  position: relative;
  z-index: 2;
  max-width: 550px;
  flex: 1;
}

.promo-image {
  flex-shrink: 0;
  max-width: 500px;
}

.promo-image img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .templates-promo-card {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
  }
  
  .promo-content {
    max-width: 100%;
  }
  
  .promo-features {
    justify-content: center;
  }
  
  .promo-image {
    max-width: 200px;
    margin-top: 20px;
  }
}
.services-category-new {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}

.services-category-new:last-child { border-bottom: none; }

.category-title-new {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 48px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.category-title-new i {
  font-size: 32px;
  color: var(--primary);
}

.services-grid-new {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.service-card-new {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  text-decoration: none;
  display: block;
}

.service-card-new:hover {
  transform: translateY(-6px);
  border-color: var(--border-primary);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

.service-card-icon-new {
  width: 56px;
  height: 56px;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--primary);
  margin-bottom: 24px;
}

.service-card-new h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.service-card-new p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-meta-new {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 20px;
  margin-top: 8px;
}

.service-price-new {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: var(--primary);
  font-size: 18px;
}

.service-time-new {
  font-size: 13px;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .services-grid-new { grid-template-columns: 1fr; }
  .services-category-new { padding: 48px 0; }
  .category-title-new { font-size: 24px; margin-bottom: 32px; }
}

/* ============================================
   TEMPLATES PROMO
   ============================================ */
.section-templates-promo { padding: 0 0 100px; background: var(--bg-main); }

.templates-promo-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 56px;
  position: relative;
  overflow: hidden;
}

.promo-content { position: relative; z-index: 2; max-width: 550px; }

.promo-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
}

.promo-title span { color: var(--primary); }
.promo-description { font-size: 15px; color: var(--text-muted); margin-bottom: 28px; line-height: 1.7; }

.promo-features { display: flex; gap: 24px; margin-bottom: 32px; flex-wrap: wrap; }

.feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-body);
}

.feature-item i { color: var(--primary); font-size: 14px; }

/* ============================================
   WORKS
   ============================================ */
.section-works { padding: 100px 0; background: var(--bg-soft); }

.works-grid-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.works-grid-secondary {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

.work-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
  aspect-ratio: 16/10;
}

.work-card:hover { border-color: var(--border-primary); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.work-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.work-card:hover img { transform: scale(1.06); }

.work-card-overlay {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  padding: 40px 20px 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.work-card:hover .work-card-overlay { opacity: 1; }
.work-card-overlay span { color: #fff; font-size: 15px; font-weight: 600; }

.all-works-card {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
  background: var(--bg-card);
  border: 2px dashed var(--border-primary);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-decoration: none;
  color: var(--primary);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 600;
  transition: var(--transition);
}

.all-works-card:hover {
  background: var(--primary-light);
  border-style: solid;
  transform: translateY(-4px);
  color: var(--primary);
  text-decoration: none;
}

.all-works-card .arrow-circle {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.all-works-card:hover .arrow-circle { transform: scale(1.1); }



/* ============================================
   FAQ — MODERN REDESIGN
   ============================================ */
.section-faq { padding: 100px 0; background: var(--bg-soft); }

.faq-layout-new {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover { border-color: var(--border-primary); }
.faq-item.active { border-color: var(--primary); box-shadow: var(--shadow-sm); }

.faq-trigger {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 22px 28px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  -webkit-tap-highlight-color: transparent;
}

.faq-number {
  width: 40px; height: 40px;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  flex-shrink: 0;
  transition: var(--transition);
}

.faq-item.active .faq-number {
  background: var(--gradient-primary);
  color: #fff;
}

.faq-question {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.4;
  transition: color 0.2s ease;
}

.faq-item.active .faq-question { color: var(--primary); }

.faq-toggle-icon {
  width: 36px; height: 36px;
  background: var(--bg-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
  position: relative;
}

.faq-toggle-icon::before,
.faq-toggle-icon::after {
  content: '';
  position: absolute;
  background: var(--text-muted);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.faq-toggle-icon::before { width: 14px; height: 2px; }
.faq-toggle-icon::after { width: 2px; height: 14px; }

.faq-item.active .faq-toggle-icon {
  background: var(--primary-light);
  transform: rotate(45deg);
}

.faq-item.active .faq-toggle-icon::before,
.faq-item.active .faq-toggle-icon::after { background: var(--primary); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              padding 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  padding: 0 28px;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding: 0 28px 24px;
}

.faq-answer-inner {
  padding-left: 56px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-answer-inner ul {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
}

.faq-answer-inner ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  color: var(--text-muted);
  font-size: 14px;
}

.faq-answer-inner ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
}

/* ============================================
   CONTACT FORM
   ============================================ */
.section-contact { padding: 100px 0; background: var(--bg-main); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 56px;
  position: relative;
  overflow: hidden;
}

.contact-grid::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: var(--gradient-primary);
}

.zakaz-bif {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-sm);
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.zakaz-bif:hover { background: var(--primary-light); color: var(--primary); text-decoration: none; }
.zakaz-bif img { height: 18px; width: auto; margin-right: 0; margin-top: 0; }

.contact-form-area {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ============================================
   MAP
   ============================================ */
.section-map { padding: 0 0 100px; background: var(--bg-main); }

.yandex-map {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
}

/* ============================================
   SEO LINKS
   ============================================ */
.section-about-us { padding: 40px 0; background: var(--bg-main); }

.text-container3 {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
}

.title-serv-g {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
}

.categorylinks a {
  display: inline-block;
  padding: 5px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 500;
  margin: 0 4px 8px 0;
  text-decoration: none;
  transition: var(--transition-fast);
}

.categorylinks a:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  text-decoration: none;
}


/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================
   UTILITY
   ============================================ */
.text-center { text-align: center; }
.clear { clear: both; }
.form-supject { opacity: 0; display: none; pointer-events: none; }
.disp-no-m { display: block; }
.block-text-h { display: none; }
.disp-no { display: none; }

/* Hide old mobile menu elements */
.menu-mob, .top-main-fixed2 { display: none !important; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
  .why-grid { grid-template-columns: 1fr 1fr; }
  .guarantee-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-description { margin: 0 auto 40px; }
  .hero-buttons { justify-content: center; }
  .hero-trust { justify-content: center; flex-wrap: wrap; }
  .hero-visual { display: none; }
  .contact-grid { grid-template-columns: 1fr; padding: 36px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-contacts { text-align: left; }
  .works-grid-secondary { grid-template-columns: 1fr 1fr; }
  .process-timeline { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .process-timeline::before { display: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .why-card-big { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .section-header { margin-bottom: 40px; }
  .section-header h2 { font-size: clamp(26px, 7vw, 36px); }
  .section-header p { font-size: 15px; }

  .works-grid-main,
  .works-grid-secondary,
  .why-grid,
  .guarantee-grid { grid-template-columns: 1fr; }

  .process-timeline { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .templates-promo-card { padding: 28px 20px; }
  .contact-form-area { grid-template-columns: 1fr; }
  .cta-card { padding: 40px 24px; }
  .why-card-big { padding: 32px 24px; }

  .hero-buttons { flex-direction: column; align-items: center; }
  .btn-primary-glow, .btn-outline { width: 100%; justify-content: center; }

  .section { padding: 64px 0; }
  .section-hero { padding: 100px 0 56px; min-height: auto; }
  .section-why, .section-process, .section-tech,
  .section-testimonials, .section-guarantee, .section-cta,
  .section-quiz, .section-services-new, .section-works,
  .section-clients, .section-faq, .section-contact { padding: 64px 0; }

  .section-templates-promo { padding: 0 0 64px; }
  .section-map { padding: 0 0 64px; }

  .tech-row { gap: 12px; }
  .tech-item { padding: 8px 16px; font-size: 12px; }
  .tech-item i { font-size: 16px; }

  .hero-trust { gap: 16px; }
  .trust-item { gap: 8px; }
  .trust-icon { width: 36px; height: 36px; font-size: 14px; }
  .trust-text { font-size: 12px; }
  .trust-text strong { font-size: 14px; }

  .marquee-item { font-size: 24px; }
  .marquee-item .dot { width: 8px; height: 8px; margin: 0 12px; }

  footer { padding-bottom: calc(80px + var(--safe-bottom)); }
}

@media (max-width: 480px) {
  .footer-nav { grid-template-columns: 1fr; }
  #gdpr-cookie-message {
    width: calc(100% - 32px);
    right: 16px;
  }
  .why-big-stats { grid-template-columns: 1fr; }
}