        *{margin:0;padding:0;box-sizing:border-box}
        :root{
          --background:#fafafa;
          --foreground:#0a0a0a;
          --card:#ffffff;
          --card-foreground:#0a0a0a;
          --primary:#0f0f0f;
          --primary-foreground:#ffffff;
          --secondary:#f5f5f5;
          --muted:#f0f0f0;
          --muted-foreground:#6b6b6b;
          --border:#e0e0e0;
          --accent-red:#ef4444;
          --accent-red-dark:#dc2626;
          --accent-blue:#ef4444;
          --accent-purple:#8b5cf6;
          --radius:14px;
          --radius-sm:10px;
          --radius-md:18px;
          --radius-lg:28px;
          --shadow-sm:0 1px 3px rgba(0,0,0,0.04),0 1px 2px rgba(0,0,0,0.06);
          --shadow-md:0 4px 12px rgba(0,0,0,0.08),0 2px 4px rgba(0,0,0,0.04);
          --shadow-lg:0 12px 28px rgba(0,0,0,0.12),0 4px 8px rgba(0,0,0,0.06);
          --shadow-xl:0 24px 48px rgba(0,0,0,0.15),0 8px 16px rgba(0,0,0,0.08);
          --shadow-glow:0 0 60px rgba(239,68,68,0.15);
          --ease-out-back:cubic-bezier(0.34,1.56,0.64,1);
          --lift-btn:-2px;
          --lift-card:-4px;
          --section-tint:#f6fbf8;
          --dark-bg:#0a0a0a;
          --dark-bg-light:#141414
        }
        html{scroll-behavior:smooth;scroll-padding-top:80px}
        body{font-family:'Inter',-apple-system,BlinkMacSystemFont,sans-serif;color:var(--foreground);background:var(--background);line-height:1.6;overflow-x:hidden;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
        .container{max-width:1280px;margin:0 auto;padding:0 1.25rem}
        @media(min-width:640px){.container{padding:0 1.5rem}}
        @media(min-width:768px){.container{padding:0 2rem}}
        .scrollable-container{overflow:visible}
        .scrollable-container .container{overflow:visible}
        
        @keyframes fadeInUp{from{opacity:0;transform:translateY(40px)}to{opacity:1;transform:translateY(0)}}
        @keyframes fadeInLeft{from{opacity:0;transform:translateX(-40px)}to{opacity:1;transform:translateX(0)}}
        @keyframes fadeInRight{from{opacity:0;transform:translateX(40px)}to{opacity:1;transform:translateX(0)}}
        @keyframes scaleIn{from{opacity:0;transform:scale(0.8)}to{opacity:1;transform:scale(1)}}
        @keyframes pulse{0%,100%{transform:scale(1)}50%{transform:scale(1.05)}}
        @keyframes float{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}
        @keyframes slideDown{from{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}
        @keyframes shake{0%,100%{transform:translateX(0)}25%{transform:translateX(-10px)}75%{transform:translateX(10px)}}
        @keyframes glow{0%,100%{box-shadow:0 0 20px rgba(239,68,68,0.3),0 0 40px rgba(239,68,68,0.2)}50%{box-shadow:0 0 30px rgba(239,68,68,0.5),0 0 60px rgba(239,68,68,0.3)}}
        @keyframes shimmer{0%{background-position:-200% 0}100%{background-position:200% 0}}
        @keyframes slideInUp{from{opacity:0;transform:translateY(60px)}to{opacity:1;transform:translateY(0)}}
        @keyframes rotateIn{from{opacity:0;transform:rotate(-10deg) scale(0.9)}to{opacity:1;transform:rotate(0) scale(1)}}
        @keyframes bounceIn{0%{opacity:0;transform:scale(0.3) translateY(-100px)}50%{opacity:1;transform:scale(1.05)}70%{transform:scale(0.9)}100%{transform:scale(1)}}
        @keyframes gradientShift{0%{background-position:0% 50%}50%{background-position:100% 50%}100%{background-position:0% 50%}}
        @keyframes borderGlow{0%,100%{border-color:rgba(255,255,255,0.2);box-shadow:0 0 20px rgba(255,255,255,0.1)}50%{border-color:rgba(255,255,255,0.4);box-shadow:0 0 30px rgba(255,255,255,0.2)}}
        
        .animate-on-scroll{opacity:0;transform:translateY(40px);transition:all 0.8s cubic-bezier(0.4,0,0.2,1)}
        .animate-on-scroll.visible{opacity:1;transform:translateY(0)}
        .animate-left{opacity:0;transform:translateX(-40px);transition:all 0.8s cubic-bezier(0.4,0,0.2,1)}
        .animate-left.visible{opacity:1;transform:translateX(0)}
        .animate-right{opacity:0;transform:translateX(40px);transition:all 0.8s cubic-bezier(0.4,0,0.2,1)}
        .animate-right.visible{opacity:1;transform:translateX(0)}
        .animate-scale{opacity:0;transform:scale(0.8);transition:all 0.6s cubic-bezier(0.4,0,0.2,1)}
        .animate-scale.visible{opacity:1;transform:scale(1)}
        .stagger-1{transition-delay:.1s}.stagger-2{transition-delay:.2s}.stagger-3{transition-delay:.3s}.stagger-4{transition-delay:.4s}.stagger-5{transition-delay:.5s}.stagger-6{transition-delay:.6s}
        
        .header{
          position:sticky;top:0;z-index:100;
          padding:12px 20px 0;
          background:transparent;
          transition:transform 0.3s ease, box-shadow 0.3s ease;
        }
        .header.header-hidden{
          transform:translateY(-100%);
        }
        .header.header-scrolled .container{
          box-shadow:0 4px 20px rgba(0,0,0,0.08);
        }
        .header .container{
          display:flex;
          height:68px;
          align-items:center;
          justify-content:space-between;
          background:#fff;
          border-radius:100px;
          padding:0 8px 0 22px;
          box-shadow:0 2px 16px rgba(0,0,0,0.05);
          max-width:1200px;
          margin:0 auto;
          transition:box-shadow 0.3s ease;
        }
        
        .logo-group{display:flex;align-items:center;gap:12px}
        .logo-wrapper{display:flex;flex-direction:column;gap:2px}
        .logo{font-size:1.375rem;font-weight:700;color:#1a1a1a;text-decoration:none;display:block;letter-spacing:-0.01em;line-height:1.1}
        .logo-img{width:44px;height:44px;object-fit:contain;border-radius:10px;flex-shrink:0}
        .logo-tagline{font-size:0.75rem;font-weight:400;color:#aaa;letter-spacing:0.01em}
        
        .nav{display:none;align-items:center;justify-content:center;gap:2.5rem;flex:1;margin:0 1.5rem}
        @media(min-width:1024px){.nav{display:flex}}
        .nav a{font-size:0.9375rem;font-weight:500;color:#555;text-decoration:none;transition:color 0.2s ease}
        .nav a:hover{color:#1a1a1a}
        
        .header-right{display:flex;align-items:center}
        .btn-header{
          padding:12px 26px;
          font-size:0.9375rem;
          font-weight:600;
          background:#ef4444;
          color:#fff;
          border:none;
          border-radius:100px;
          cursor:pointer;
          transition:background 0.2s ease;
          text-decoration:none;
        }
        .btn-header:hover{background:#dc2626}
        
        .burger{display:flex;flex-direction:column;gap:4px;background:none;border:none;cursor:pointer;padding:10px;z-index:101}
        .burger span{display:block;width:18px;height:2px;background:#333;border-radius:2px;transition:all 0.3s ease}
        .burger.active span:nth-child(1){transform:rotate(45deg) translate(4px,4px)}
        .burger.active span:nth-child(2){opacity:0}
        .burger.active span:nth-child(3){transform:rotate(-45deg) translate(4px,-4px)}
        @media(min-width:1024px){.burger{display:none}}
        
        .btn{display:inline-flex;align-items:center;justify-content:center;padding:0.875rem 1.75rem;font-size:1.0625rem;font-weight:600;border-radius:var(--radius);cursor:pointer;transition:all 0.35s var(--ease-out-back);text-decoration:none;border:none;position:relative;overflow:hidden;white-space:nowrap}
        .btn::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:hover::before{left:100%}
        .btn-primary{background:#dc2626;color:var(--primary-foreground);box-shadow:0 4px 14px rgba(220,38,38,0.3)}
        .btn-primary:hover{transform:translateY(var(--lift-btn)) scale(1.01);box-shadow:0 8px 25px rgba(220,38,38,0.4)}
        .btn-primary:active{transform:translateY(-1px) scale(1);box-shadow:var(--shadow-md)}
        .btn-outline{background:transparent;border:2px solid var(--border);color:var(--foreground);font-weight:500}
        .btn-outline:hover{background:var(--muted);border-color:var(--primary);transform:translateY(var(--lift-btn));box-shadow:var(--shadow-md)}
        .btn-outline:active{transform:translateY(0)}
        .btn-lg{padding:1rem 2.5rem;font-size:1.125rem;font-weight:600}
        @media(max-width:480px){.btn-lg{padding:0.875rem 2rem;font-size:1rem}}
        .btn-full{width:100%}
        
        .hero{background:#fafafa !important;padding:4rem 0 5rem;position:relative;overflow:hidden}
        @media(min-width:768px){.hero{padding:5rem 0 6rem}}
        @media(min-width:1024px){.hero{padding:6rem 0 7rem}}
        .hero-container{display:grid;grid-template-columns:1fr;gap:2.5rem;align-items:center;max-width:1200px;margin:0 auto;position:relative;z-index:1}
        @media(min-width:1024px){.hero-container{grid-template-columns:1fr 1fr;gap:3rem}}
        .hero-content{text-align:center}
        @media(min-width:1024px){.hero-content{text-align:left}}
        .hero-image{display:flex;justify-content:center;align-items:center}
        .hero-image-placeholder{width:100%;max-width:480px;aspect-ratio:4/3;background:#f0f0f0;border-radius:var(--radius-lg);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1rem;border:2px dashed #d0d0d0;transition:all 0.3s ease}
        .hero-image-placeholder:hover{border-color:#a0a0a0;background:#e8e8e8}
        .hero-image-placeholder svg{width:64px;height:64px;color:rgba(239,68,68,0.5)}
        .hero-image-placeholder span{font-size:1rem;color:var(--accent-red);font-weight:500;opacity:0.7}
        @media(max-width:1023px){.hero-image-placeholder{max-width:400px;aspect-ratio:16/10}}
        .hero h1{font-size:1.875rem;font-weight:700;margin-bottom:1rem;line-height:1.2;animation:fadeInUp 0.8s ease-out;letter-spacing:-0.01em;color:#0a0a0a}
        @media(min-width:768px){.hero h1{font-size:2.5rem;margin-bottom:1.25rem}}
        @media(min-width:1024px){.hero h1{font-size:2.75rem}}
        .hero .lead{font-size:1rem;color:var(--muted-foreground);margin-bottom:1.75rem;animation:fadeInUp 0.8s ease-out 0.2s backwards;font-weight:400;line-height:1.6;max-width:480px}
        @media(min-width:768px){.hero .lead{font-size:1.125rem;margin-bottom:2rem}}
        @media(max-width:1023px){.hero .lead{margin-left:auto;margin-right:auto}}
        .hero-actions{display:flex;flex-direction:column;gap:1rem;animation:fadeInUp 0.8s ease-out 0.4s backwards}
        @media(min-width:640px){.hero-actions{flex-direction:row}}
        @media(min-width:1024px){.hero-actions{justify-content:flex-start}}
        @media(max-width:1023px){.hero-actions{justify-content:center}}
        .hero-meta{display:flex;flex-wrap:wrap;gap:1.25rem;margin-top:1.5rem;animation:fadeInUp 0.8s ease-out 0.5s backwards}
        @media(min-width:1024px){.hero-meta{justify-content:flex-start}}
        @media(max-width:1023px){.hero-meta{justify-content:center}}
        .hero-stat{margin-top:4rem;padding:2.5rem 2rem;background:linear-gradient(135deg,rgba(23,23,23,0.08) 0%,rgba(23,23,23,0.12) 100%);border-radius:calc(var(--radius) + 0.25rem);animation:scaleIn 0.8s ease-out 0.6s backwards;transition:all 0.4s cubic-bezier(0.4,0,0.2,1);border:1px solid var(--border);box-shadow:var(--shadow-md)}
        .hero-stat:hover{transform:translateY(var(--lift-card)) scale(1.02);box-shadow:var(--shadow-xl);border-color:var(--primary)}
        .hero-stat .number{font-size:3.5rem;font-weight:800;color:var(--primary);margin-bottom:0.75rem;line-height:1;letter-spacing:-0.02em}
        @media(min-width:768px){.hero-stat .number{font-size:4rem}}
        .hero-stat p{font-size:1.125rem;color:var(--muted-foreground);font-weight:500}
        @media(min-width:768px){.hero-stat p{font-size:1.25rem}}
        
        .section{padding:4rem 0;scroll-margin-top:80px;background:#ffffff}
        @media(min-width:768px){.section{padding:6rem 0}}
        @media(min-width:1024px){.section{padding:8rem 0}}
        .section-muted{background:linear-gradient(180deg,#ffffff 0%, var(--section-tint) 100%);position:relative}
.section-header{text-align:center;margin-bottom:clamp(3rem,5vw,5rem);position:relative;z-index:1;overflow:visible}
@media(max-width:480px){.section-header{margin-bottom:clamp(2.5rem,4vw,3rem)}}
@media(min-width:768px){.section-header{margin-bottom:clamp(4rem,6vw,6rem)}}
.section-header h2{
  position: relative;
  z-index: 2;
  font-size:clamp(1.75rem,3vw,2.75rem);
  font-weight:800;
  margin-bottom:1.5rem;
  line-height:1.15;
  letter-spacing:-0.03em;
  color:#0a0a0a;
  animation:fadeInUp 0.8s ease-out;
}
@media(max-width:480px){.section-header h2{font-size:clamp(1.5rem,4vw,1.875rem);margin-bottom:1.25rem}}
@media(min-width:768px){.section-header h2{font-size:clamp(2.25rem,4vw,3rem);margin-bottom:2rem}}
.section-header p{animation:fadeInUp 0.8s ease-out 0.2s backwards}
        .section-header p{font-size:1.125rem;color:var(--muted-foreground);max-width:48rem;margin:0 auto;line-height:1.7;position:relative;z-index:2}
        @media(min-width:768px){.section-header p{font-size:1.25rem}}
        .section-header strong{color:var(--foreground);font-weight:700}

/* Декоративные мерцающие звёзды */
.decor-stars-twinkle {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
  overflow: visible;
}

.decor-stars-twinkle .stars-left {
  position: absolute;
  left: -60px;
  top: -10px;
  width: 100px;
  height: 100px;
}

.decor-stars-twinkle .stars-right {
  position: absolute;
  right: -60px;
  top: -10px;
  width: 100px;
  height: 100px;
}

.star-twinkle {
  fill: var(--accent-red);
  animation: starTwinkle 3s ease-in-out infinite;
  transform-origin: center;
}

.star-twinkle--1 { animation-delay: 0s; opacity: 0.8; }
.star-twinkle--2 { animation-delay: 0.6s; opacity: 0.5; }
.star-twinkle--3 { animation-delay: 1.2s; opacity: 0.4; }
.star-twinkle--4 { animation-delay: 0.3s; opacity: 0.8; }
.star-twinkle--5 { animation-delay: 0.9s; opacity: 0.5; }
.star-twinkle--6 { animation-delay: 1.5s; opacity: 0.4; }

@keyframes starTwinkle {
  0%, 100% { 
    transform: scale(1); 
    opacity: var(--star-opacity, 0.5);
  }
  50% { 
    transform: scale(1.4); 
    opacity: 1;
    filter: drop-shadow(0 0 6px rgba(239, 68, 68, 0.7));
  }
}

/* Планшет */
@media (max-width: 1024px) {
  .decor-stars-twinkle .stars-left {
    left: -30px;
    width: 80px;
    height: 80px;
  }
  
  .decor-stars-twinkle .stars-right {
    right: -30px;
    width: 80px;
    height: 80px;
  }
}

/* Мобильная версия */
@media (max-width: 768px) {
  .decor-stars-twinkle .stars-left {
    left: 5px;
    top: -25px;
    width: 60px;
    height: 60px;
  }
  
  .decor-stars-twinkle .stars-right {
    right: 5px;
    top: -25px;
    width: 60px;
    height: 60px;
  }
  
  .star-twinkle {
    opacity: 0.6;
  }
}

/* Маленькие экраны */
@media (max-width: 480px) {
  .decor-stars-twinkle .stars-left {
    left: 0;
    top: -20px;
    width: 50px;
    height: 50px;
  }
  
  .decor-stars-twinkle .stars-right {
    right: 0;
    top: -20px;
    width: 50px;
    height: 50px;
  }
  
  .star-twinkle--2,
  .star-twinkle--3,
  .star-twinkle--5,
  .star-twinkle--6 {
    display: none;
  }
}

/* Желтые звёзды для тарифов */
.decor-stars-gold {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
  overflow: visible;
}

.decor-stars-gold .stars-gold-left {
  position: absolute;
  left: -80px;
  top: -20px;
  width: 140px;
  height: 140px;
}

.decor-stars-gold .stars-gold-right {
  position: absolute;
  right: -80px;
  top: -20px;
  width: 140px;
  height: 140px;
}

.star-gold {
  fill: #fbbf24;
  animation: starGoldTwinkle 2.5s ease-in-out infinite;
  transform-origin: center;
  filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.5));
}

.star-gold--1 { animation-delay: 0s; opacity: 0.9; }
.star-gold--2 { animation-delay: 0.5s; opacity: 0.7; }
.star-gold--3 { animation-delay: 1s; opacity: 0.5; }
.star-gold--4 { animation-delay: 0.25s; opacity: 0.9; }
.star-gold--5 { animation-delay: 0.75s; opacity: 0.7; }
.star-gold--6 { animation-delay: 1.25s; opacity: 0.5; }

@keyframes starGoldTwinkle {
  0%, 100% { 
    transform: scale(1); 
    opacity: var(--star-opacity, 0.6);
    filter: drop-shadow(0 0 6px rgba(251, 191, 36, 0.4));
  }
  50% { 
    transform: scale(1.3); 
    opacity: 1;
    filter: drop-shadow(0 0 12px rgba(251, 191, 36, 0.8));
  }
}

/* Планшет */
@media (max-width: 1024px) {
  .decor-stars-gold .stars-gold-left {
    left: -40px;
    width: 110px;
    height: 110px;
  }
  
  .decor-stars-gold .stars-gold-right {
    right: -40px;
    width: 110px;
    height: 110px;
  }
}

/* Мобильные */
@media (max-width: 768px) {
  .decor-stars-gold .stars-gold-left {
    left: -20px;
    top: -15px;
    width: 90px;
    height: 90px;
  }
  
  .decor-stars-gold .stars-gold-right {
    right: -20px;
    top: -15px;
    width: 90px;
    height: 90px;
  }
  
  .star-gold {
    filter: drop-shadow(0 0 5px rgba(251, 191, 36, 0.5));
  }
}

/* Маленькие мобильные */
@media (max-width: 480px) {
  .decor-stars-gold .stars-gold-left {
    left: -10px;
    top: -10px;
    width: 70px;
    height: 70px;
  }
  
  .decor-stars-gold .stars-gold-right {
    right: -10px;
    top: -10px;
    width: 70px;
    height: 70px;
  }
  
  .star-gold--2,
  .star-gold--3,
  .star-gold--5,
  .star-gold--6 {
    opacity: 0.4;
  }
}

/* Мерцающие вопросы для FAQ */
.decor-questions-twinkle {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
  overflow: visible;
}

.decor-questions-twinkle .questions-left {
  position: absolute;
  left: -70px;
  top: -15px;
  width: 120px;
  height: 120px;
}

.decor-questions-twinkle .questions-right {
  position: absolute;
  right: -70px;
  top: -15px;
  width: 120px;
  height: 120px;
}

.question-twinkle {
  fill: var(--accent-red, #ef4444);
  animation: questionTwinkle 3s ease-in-out infinite;
  transform-origin: center;
}

.question-twinkle--1 { animation-delay: 0s; opacity: 0.8; }
.question-twinkle--2 { animation-delay: 0.5s; opacity: 0.5; }
.question-twinkle--3 { animation-delay: 1s; opacity: 0.4; }
.question-twinkle--4 { animation-delay: 0.25s; opacity: 0.8; }
.question-twinkle--5 { animation-delay: 0.75s; opacity: 0.5; }
.question-twinkle--6 { animation-delay: 1.25s; opacity: 0.4; }

@keyframes questionTwinkle {
  0%, 100% { 
    transform: scale(1); 
    opacity: var(--q-opacity, 0.5);
  }
  50% { 
    transform: scale(1.25); 
    opacity: 1;
    filter: drop-shadow(0 0 8px rgba(239, 68, 68, 0.6));
  }
}

/* Планшет */
@media (max-width: 1024px) {
  .decor-questions-twinkle .questions-left {
    left: -40px;
    width: 100px;
    height: 100px;
  }
  
  .decor-questions-twinkle .questions-right {
    right: -40px;
    width: 100px;
    height: 100px;
  }
}

/* Мобильные */
@media (max-width: 768px) {
  .decor-questions-twinkle .questions-left {
    left: -15px;
    top: -10px;
    width: 80px;
    height: 80px;
  }
  
  .decor-questions-twinkle .questions-right {
    right: -15px;
    top: -10px;
    width: 80px;
    height: 80px;
  }
}

/* Маленькие мобильные */
@media (max-width: 480px) {
  .decor-questions-twinkle .questions-left {
    left: -5px;
    top: -5px;
    width: 60px;
    height: 60px;
  }
  
  .decor-questions-twinkle .questions-right {
    right: -5px;
    top: -5px;
    width: 60px;
    height: 60px;
  }
  
  .question-twinkle--2,
  .question-twinkle--3,
  .question-twinkle--5,
  .question-twinkle--6 {
    opacity: 0.3;
  }
}
        
        .cards-grid{display:grid;gap:1.5rem}
        @media(min-width:640px){.cards-grid{gap:2rem}}
        @media(min-width:768px){.cards-grid{grid-template-columns:repeat(2,1fr);gap:2rem}}
        @media(min-width:1024px){.cards-grid{grid-template-columns:repeat(3,1fr);gap:2rem}}
        .card{
          background:var(--card);
          border:1px solid var(--border);
          border-radius:var(--radius-md);
          padding:2.25rem;
          transition:all 0.35s var(--ease-out-back);
          box-shadow:var(--shadow-sm);
          position:relative;
        }
        .card::before{
          content:'';position:absolute;inset:-1px;
          border-radius:inherit;
          background:linear-gradient(135deg,#ef4444,#f87171,#fca5a5);
          opacity:0;transition:opacity 0.4s ease;z-index:-1;
          padding:1px;
          -webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
          mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);
          -webkit-mask-composite:xor;mask-composite:exclude;
        }
        .card:hover{
          box-shadow:var(--shadow-xl),var(--shadow-glow);
          transform:translateY(var(--lift-card));
          border-color:transparent;
        }
        .card:hover::before{opacity:1}
        .card-icon{
          width:56px;height:56px;
          background:linear-gradient(135deg,rgba(239,68,68,0.1) 0%,rgba(248,113,113,0.1) 100%);
          border-radius:var(--radius);
          display:flex;align-items:center;justify-content:center;
          margin-bottom:1.25rem;
          transition:all 0.35s var(--ease-out-back);
        }
        .card:hover .card-icon{
          background:linear-gradient(135deg,var(--accent-red) 0%,var(--accent-red-dark) 100%);
          transform:scale(1.1) rotate(-5deg);
          box-shadow:0 8px 20px rgba(239,68,68,0.3);
        }
        .card:hover .card-icon svg{color:white;transform:scale(1.1)}
        .card-icon svg{width:28px;height:28px;color:var(--accent-red);transition:all 0.4s cubic-bezier(0.34,1.56,0.64,1)}
        .card h3{font-weight:700;margin-bottom:0.75rem;font-size:1.125rem;line-height:1.3}
        .card p{font-size:1.0625rem;color:var(--muted-foreground);line-height:1.6}
        .card-horizontal{display:flex;align-items:flex-start;gap:1rem}
        .card-horizontal .card-icon{margin-bottom:0;flex-shrink:0}
        
        .stats-box{display:inline-block;padding:1.5rem;background:rgba(23,23,23,0.1);border-radius:var(--radius);margin-top:3rem}
        .stats-box p{margin-bottom:0.5rem}
        .stats-box .note{color:var(--muted-foreground)}
        
        .quiz-card{max-width:42rem;margin:0 auto;padding:2.5rem}
        @media(max-width:480px){.quiz-card{padding:1.5rem}}
        @media(min-width:768px){.quiz-card{padding:3rem}}
        .quiz-card h3{font-size:1.5rem;font-weight:800;text-align:center;margin-bottom:2rem;line-height:1.3}
        @media(max-width:480px){.quiz-card h3{font-size:1.25rem;margin-bottom:1.5rem}}
        @media(min-width:768px){.quiz-card h3{font-size:1.75rem}}
        .quiz-label{font-size:1.125rem;font-weight:600;margin-bottom:1.5rem;display:block;color:var(--foreground)}
        @media(max-width:480px){.quiz-label{font-size:1rem;margin-bottom:1.25rem}}
        .checkbox-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem;margin-bottom:1.5rem}
        .checkbox-item{display:flex;align-items:center;gap:0.75rem;padding:1rem;background:var(--muted);border-radius:var(--radius);border:2px solid transparent;transition:all 0.3s cubic-bezier(0.4,0,0.2,1);cursor:pointer}
        .checkbox-item:hover{border-color:var(--primary);background:rgba(23,23,23,0.05);transform:translateY(var(--lift-btn));box-shadow:var(--shadow-sm)}
        .checkbox-item:has(input:checked){border-color:var(--primary);background:rgba(23,23,23,0.08);box-shadow:var(--shadow-sm)}
        .checkbox-item input{width:20px;height:20px;accent-color:var(--primary);cursor:pointer;flex-shrink:0}
        .checkbox-item label{font-size:1.0625rem;font-weight:500;cursor:pointer;flex:1}
        
        .pricing-grid{display:grid;gap:1.5rem;max-width:72rem;margin:0 auto}
        @media(min-width:640px){.pricing-grid{gap:2rem}}
        @media(min-width:768px){.pricing-grid{grid-template-columns:repeat(2,1fr);gap:2rem}}
        @media(min-width:1024px){.pricing-grid{grid-template-columns:repeat(3,1fr);gap:2rem}}
        .pricing-card{
          text-align:center;position:relative;overflow:hidden;padding:2.75rem 2rem;
          background:linear-gradient(180deg,#ffffff 0%,#fafafa 100%);
          border-radius:var(--radius-lg);
        }
        .pricing-card::before{
          content:'';position:absolute;top:0;left:0;right:0;height:4px;
          background:linear-gradient(90deg,#ef4444,#f87171,#fca5a5);
          transform:scaleX(0);transition:transform 0.5s cubic-bezier(0.34,1.56,0.64,1);transform-origin:left;
        }
        .pricing-card:hover::before{transform:scaleX(1)}
        .pricing-card:hover{transform:translateY(-10px);box-shadow:var(--shadow-xl),var(--shadow-glow)}
        .pricing-card .tier{font-size:1rem;color:var(--muted-foreground);margin-bottom:1rem;font-weight:600;text-transform:uppercase;letter-spacing:0.08em}
        .pricing-card .price{
          font-size:2.5rem;font-weight:800;margin-bottom:0.75rem;line-height:1;
          background:linear-gradient(135deg,#0f0f0f 0%,#3b3b3b 100%);
          -webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;
        }
        @media(min-width:768px){.pricing-card .price{font-size:2.75rem}}
        .pricing-card .per{font-size:1.0625rem;color:var(--muted-foreground);margin-bottom:2rem}
        
        .guide-section{
          background:
            radial-gradient(ellipse 60% 40% at 20% 80%, rgba(239,68,68,0.08) 0%, transparent 50%),
            radial-gradient(ellipse 50% 50% at 80% 20%, rgba(248,113,113,0.06) 0%, transparent 50%),
            linear-gradient(180deg,#f8f8f8 0%,#f0f0f0 100%);
          border-radius:var(--radius-lg);padding:3.5rem 2rem;text-align:center;max-width:56rem;margin:0 auto;
          position:relative;overflow:hidden;border:1px solid var(--border);
          box-shadow:var(--shadow-lg),inset 0 1px 0 rgba(255,255,255,0.8);
        }
        @media(min-width:768px){.guide-section{padding:4.5rem 3.5rem}}
        .guide-icon{width:80px;height:80px;margin:0 auto 2rem;color:var(--accent-red);animation:float 3s ease-in-out infinite;position:relative;z-index:1}
        .guide-section h2{font-size:1.875rem;font-weight:800;margin-bottom:1.25rem;position:relative;z-index:1;line-height:1.2}
        @media(min-width:768px){.guide-section h2{font-size:2.5rem;margin-bottom:1.5rem}}
        .guide-section h2 span{
          background:linear-gradient(135deg,#ef4444 0%,#dc2626 100%);
          -webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;
        }
        .guide-section .subtitle{font-size:1.25rem;color:var(--muted-foreground);margin-bottom:2rem;position:relative;z-index:1;font-weight:500}
        @media(min-width:768px){.guide-section .subtitle{font-size:1.5rem;margin-bottom:2.5rem}}
        .guide-section .note{margin-bottom:2.5rem;max-width:32rem;margin-left:auto;margin-right:auto;position:relative;z-index:1;line-height:1.7}
        
        
        .cta-box{
          max-width:48rem;margin:0 auto;
          background:#fafafa;
          border-radius:var(--radius-lg);padding:3.5rem 2rem;text-align:center;
          transition:all 0.5s cubic-bezier(0.34,1.56,0.64,1);
          border:1px solid var(--border);
          box-shadow:var(--shadow-lg),inset 0 1px 0 rgba(255,255,255,0.8);
        }
        .cta-box:hover{
          transform:translateY(-6px) scale(1.01);
          box-shadow:var(--shadow-xl),var(--shadow-glow),inset 0 1px 0 rgba(255,255,255,0.9);
          border-color:rgba(239,68,68,0.2);
        }
        @media(min-width:768px){.cta-box{padding:4.5rem 3.5rem}}
        .cta-box h2{font-size:1.875rem;font-weight:800;margin-bottom:1.5rem;line-height:1.2}
        @media(min-width:768px){.cta-box h2{font-size:2.5rem;margin-bottom:2rem}}
        .cta-box p{font-size:1.125rem;color:var(--muted-foreground);margin-bottom:2.5rem;line-height:1.7}
        @media(min-width:768px){.cta-box p{font-size:1.25rem}}
        
        .guarantees-list{display:grid;gap:1rem;max-width:48rem;margin:0 auto 2rem}
        @media(min-width:768px){.guarantees-list{grid-template-columns:repeat(2,1fr)}}
        .guarantee-item{
          display:flex;align-items:flex-start;gap:1rem;padding:1.5rem;
          background:linear-gradient(135deg,#ffffff 0%,#fafafa 100%);
          border-radius:var(--radius-md);border:1px solid var(--border);
          transition:all 0.35s var(--ease-out-back);
          box-shadow:var(--shadow-sm);
        }
        .guarantee-item:hover{
          transform:translateX(10px);
          border-color:var(--accent-red);
          box-shadow:var(--shadow-lg),0 0 30px rgba(239,68,68,0.1);
          background:linear-gradient(135deg,#ffffff 0%,#fef2f2 100%);
        }
        .guarantee-item svg{width:28px;height:28px;color:var(--accent-red);flex-shrink:0;margin-top:2px;transition:transform 0.3s ease}
        .guarantee-item:hover svg{transform:scale(1.15) rotate(5deg)}
        .guarantee-item p{font-size:1.0625rem;font-weight:500;line-height:1.5}
        
        .steps-grid{display:grid;gap:1.5rem;margin-bottom:3rem}
        @media(min-width:768px){.steps-grid{grid-template-columns:repeat(2,1fr)}}
        @media(min-width:1024px){.steps-grid{grid-template-columns:repeat(4,1fr)}}
        .step-card{
          position:relative;padding:2.25rem;
          background:linear-gradient(180deg,#ffffff 0%,#fafafa 100%);
          border-radius:var(--radius-md);border:1px solid var(--border);
          transition:all 0.35s var(--ease-out-back);
          box-shadow:var(--shadow-sm);overflow:hidden;
        }
        .step-card::before{
          content:'';position:absolute;bottom:0;left:0;right:0;height:3px;
          background:linear-gradient(90deg,#ef4444,#f87171);
          transform:scaleX(0);transition:transform 0.4s ease;transform-origin:left;
        }
        .step-card:hover::before{transform:scaleX(1)}
        .step-card:hover{transform:translateY(-10px);box-shadow:var(--shadow-xl),var(--shadow-glow);border-color:transparent}
        .step-number{
          font-size:4rem;font-weight:800;margin-bottom:1.25rem;line-height:1;letter-spacing:-0.02em;
          background:linear-gradient(135deg,rgba(239,68,68,0.2) 0%,rgba(248,113,113,0.15) 100%);
          -webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;
          transition:all 0.4s ease;
        }
        .step-card:hover .step-number{
          background:linear-gradient(135deg,#ef4444 0%,#f87171 100%);
          -webkit-background-clip:text;background-clip:text;
          transform:scale(1.05);
        }
        .step-card h3{font-size:1.375rem;font-weight:700;margin-bottom:1rem;line-height:1.3}
        .step-card p{font-size:1.0625rem;color:var(--muted-foreground);line-height:1.7}
        
        .cases-wrapper{position:relative;margin:0 -1.5rem;padding:0 1.5rem}
        @media(min-width:768px){.cases-wrapper{margin:0;padding:0}}
        
        /* New Cases Slider */
        .cases-section-header{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:2.5rem}
        .cases-section-header .section-title{margin:0}
        .cases-section-header .section-title span{font-size:1rem;color:var(--muted-foreground);font-weight:500;display:block;margin-bottom:0.5rem;text-transform:uppercase;letter-spacing:0.05em}
        .cases-section-header .section-title h2{font-size:2rem;font-weight:800;margin:0;line-height:1.2}
        @media(min-width:768px){.cases-section-header .section-title h2{font-size:2.5rem}}
        .cases-section-header .section-title h2 strong{color:var(--primary)}
        .cases-nav{display:flex;gap:0;background:rgba(50,50,50,0.9);border-radius:14px;padding:4px}
        .cases-nav-btn{width:48px;height:48px;border-radius:10px;background:transparent;color:#fff;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all 0.3s ease}
        .cases-nav-btn:hover{background:rgba(255,255,255,0.1)}
        .cases-nav-btn:disabled{opacity:0.4;cursor:not-allowed;transform:none}
        .cases-nav-btn svg{width:20px;height:20px}
        .cases-nav-bottom{display:none;justify-content:center;gap:10px;margin-top:1.5rem}
        .cases-nav-bottom .cases-nav-btn{width:52px;height:52px;background:rgba(60,70,80,0.95);border-radius:12px}
        
        .cases-slider{
          position:relative;overflow:hidden;border-radius:24px;
          background:linear-gradient(180deg,#ffffff 0%,#fafafa 100%);
          border:1px solid var(--border);
          box-shadow:var(--shadow-xl),inset 0 1px 0 rgba(255,255,255,0.8);
        }
        .cases-slide{display:none;animation:fadeIn 0.4s ease}
        .cases-slide.active{display:grid;grid-template-columns:1fr;gap:0}
        @media(min-width:768px){.cases-slide.active{grid-template-columns:1fr 1fr}}
        @keyframes fadeIn{from{opacity:0}to{opacity:1}}
        
        .case-slide-image{position:relative;height:280px;overflow:hidden}
        @media(min-width:768px){.case-slide-image{height:auto;min-height:400px}}
        .case-slide-image img{width:100%;height:100%;object-fit:cover}
        .case-slide-image-placeholder{width:100%;height:100%;background:linear-gradient(135deg,#e5e5e5 0%,#f5f5f5 50%,#e5e5e5 100%);display:flex;align-items:center;justify-content:center}
        .case-slide-image-placeholder svg{width:80px;height:80px;color:var(--muted-foreground);opacity:0.3}
        
        .case-slide-content{padding:2rem}
        @media(min-width:768px){.case-slide-content{padding:2.5rem 3rem}}
        .case-slide-title{font-size:1.5rem;font-weight:700;margin-bottom:1.5rem}
        @media(min-width:768px){.case-slide-title{font-size:1.75rem}}
        
        .case-slide-row{margin-bottom:1.25rem}
        .case-slide-label{font-size:1rem;color:var(--muted-foreground);margin-bottom:0.25rem}
        .case-slide-value{font-size:1rem;font-weight:500}
        .case-slide-value.highlight{color:#ef4444;line-height:1.5}
        
        .case-slide-meta{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-bottom:1.5rem}
        .case-slide-rating{display:flex;align-items:center;gap:2rem;margin-bottom:2rem;padding:1rem;background:var(--muted);border-radius:var(--radius)}
        .case-rating-item{display:flex;align-items:center;gap:0.5rem}
        .case-rating-item .label{font-size:1rem;color:var(--muted-foreground)}
        .case-rating-item .star{color:#FFD700}
        .case-rating-item .value{font-size:1.25rem;font-weight:700}
        .case-rating-item.before .value{color:var(--muted-foreground)}
        .case-rating-item.after .value{color:var(--primary)}
        
        .case-slide-buttons{display:flex;gap:1rem;flex-wrap:wrap}
        .case-slide-buttons .btn{flex:1;min-width:140px}
        .btn-green{
          background:linear-gradient(135deg,#ef4444 0%,#dc2626 100%);
          color:#fff;border:none;
          box-shadow:0 6px 20px rgba(239,68,68,0.35);
        }
        .btn-green:hover{
          background:linear-gradient(135deg,#f87171 0%,#ef4444 100%);
          transform:translateY(-3px);
          box-shadow:0 10px 30px rgba(239,68,68,0.45);
        }
        
        .services-wrapper{position:relative;margin:0 -1.5rem;padding:0 1.5rem}
        @media(min-width:768px){.services-wrapper{margin:0;padding:0}}
        
        /* Dark Services Section */
        .section-dark{
          background:
            radial-gradient(ellipse 100% 80% at 0% 0%, rgba(239,68,68,0.08) 0%, transparent 50%),
            radial-gradient(ellipse 80% 60% at 100% 100%, rgba(248,113,113,0.06) 0%, transparent 50%),
            linear-gradient(180deg,#0a0a0a 0%,#0f0f0f 50%,#0a0a0a 100%);
          color:#fff;
          position:relative;
        }
        .section-dark::before{
          content:'';position:absolute;inset:0;
          background:url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
          opacity:0.02;pointer-events:none;
        }
        .section-dark .section-header h2{color:#fff}
        .section-dark .section-header h2 strong{
          background:linear-gradient(135deg,#ef4444 0%,#f87171 100%);
          -webkit-background-clip:text;
          -webkit-text-fill-color:transparent;
          background-clip:text;
        }
        
        /* Тёмно-синий фон для секции услуг */
        #services.section-dark {
          background:
            radial-gradient(ellipse 100% 80% at 0% 0%, rgba(239,68,68,0.06) 0%, transparent 50%),
            radial-gradient(ellipse 80% 60% at 100% 100%, rgba(248,113,113,0.08) 0%, transparent 50%),
            linear-gradient(180deg,#0a0a0a 0%,#0f0f0f 50%,#0a0a0a 100%);
        }
        
        .services-header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:1rem;margin-bottom:2.5rem}
        .services-header h2{font-size:2rem;font-weight:800;margin:0}
        @media(min-width:768px){.services-header h2{font-size:2.5rem}}
        .services-header h2 strong{color:#ef4444}
        .services-header-right{display:flex;align-items:center;gap:0.75rem}
        .btn-green-outline{background:#ef4444;color:#fff;border:none;padding:0.875rem 1.5rem}
        .btn-green-outline:hover{background:#dc2626}
        .services-nav{display:flex;gap:0;background:rgba(50,50,50,0.9);border-radius:14px;padding:4px}
        .services-nav-btn{width:44px;height:44px;border-radius:10px;background:transparent;color:#fff;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all 0.3s ease}
        .services-nav-btn:hover{background:rgba(255,255,255,0.1)}
        .services-nav-btn:disabled{opacity:0.4;cursor:not-allowed}
        .services-nav-btn svg{width:18px;height:18px}
        .services-mobile-nav{display:none}
        
        .services-slider{display:flex;gap:1.25rem;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;-webkit-overflow-scrolling:touch;padding-bottom:1rem;scrollbar-width:none;-ms-overflow-style:none}
        .services-slider::-webkit-scrollbar{display:none}
        
        .service-card-new{
          flex:0 0 calc(100% - 1rem);min-width:260px;max-width:280px;scroll-snap-align:start;
          background:linear-gradient(180deg,#ffffff 0%,#fafafa 100%);
          border-radius:20px;padding:2rem 1.5rem;text-align:center;
          transition:all 0.35s var(--ease-out-back);
          border:1px solid rgba(255,255,255,0.1);
          position:relative;overflow:hidden;
        }
        .service-card-new::before{
          content:'';position:absolute;top:0;left:0;right:0;height:3px;
          background:linear-gradient(90deg,#ef4444,#f87171);
          transform:scaleX(0);transition:transform 0.4s ease;transform-origin:left;
        }
        .service-card-new:hover::before{transform:scaleX(1)}
        @media(min-width:640px){.service-card-new{flex:0 0 calc(50% - 0.75rem)}}
        @media(min-width:1024px){.service-card-new{flex:0 0 calc(25% - 1rem)}}
        .service-card-new:hover{transform:translateY(var(--lift-card));box-shadow:0 24px 48px rgba(0,0,0,0.25),0 0 40px rgba(239,68,68,0.1)}
        
        .service-icon{width:80px;height:80px;margin:0 auto 1.25rem;border-radius:20px;display:flex;align-items:center;justify-content:center;font-size:2.5rem;transition:all 0.4s cubic-bezier(0.34,1.56,0.64,1)}
        .service-card-new:hover .service-icon{transform:scale(1.1) rotate(-5deg)}
        .service-icon-2gis{background:linear-gradient(135deg,#ef4444 0%,#dc2626 100%);box-shadow:0 8px 20px rgba(239,68,68,0.3)}
        .service-icon-yandex{background:linear-gradient(135deg,#fff 0%,#f5f5f5 100%);border:1px solid #e5e5e5}
        .service-icon-google{background:linear-gradient(135deg,#fff 0%,#f5f5f5 100%);border:1px solid #e5e5e5}
        .service-icon-flamp{background:linear-gradient(135deg,#1a1a1a 0%,#0a0a0a 100%)}
        .service-icon-yell{background:linear-gradient(135deg,#ff6b35 0%,#f54a00 100%);box-shadow:0 8px 20px rgba(255,107,53,0.3)}
        .service-icon-zoon{background:linear-gradient(135deg,#8b5cf6 0%,#7c3aed 100%);box-shadow:0 8px 20px rgba(139,92,246,0.3)}
        .service-icon-olx{background:linear-gradient(135deg,#002f34 0%,#001f22 100%)}
        .service-icon-kaspi{background:linear-gradient(135deg,#f14635 0%,#dc2626 100%);box-shadow:0 8px 20px rgba(241,70,53,0.3)}
        .service-icon img,.service-icon svg{width:48px;height:48px;object-fit:contain}
        
        .service-card-new .service-name{font-size:1rem;font-weight:700;color:#1a1a1a;margin-bottom:0.5rem;text-transform:uppercase;letter-spacing:0.02em}
        .service-card-new .service-desc{font-size:1rem;color:#6b6b6b;margin-bottom:0.75rem;min-height:40px}
        .service-card-new .service-price{
          font-size:1.0625rem;
          background:linear-gradient(135deg,#ef4444 0%,#dc2626 100%);
          -webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;
          font-weight:700;font-style:italic;margin-bottom:1.25rem;
        }
        .service-card-new .btn{
          background:linear-gradient(135deg,#ef4444 0%,#dc2626 100%);
          color:#fff;border:none;padding:0.875rem 2rem;font-size:1.0625rem;
          box-shadow:0 6px 16px rgba(239,68,68,0.3);
        }
        .service-card-new .btn:hover{
          background:linear-gradient(135deg,#f87171 0%,#ef4444 100%);
          box-shadow:0 10px 24px rgba(239,68,68,0.4);
        }
        
        .faq-list{max-width:800px;margin:0 auto;display:flex;flex-direction:column;gap:12px;padding:0}
        .faq-item{background:#fff;border:1px solid #e5e7eb;border-radius:16px;overflow:hidden;transition:all 0.3s ease}
        .faq-item:hover{border-color:#d1d5db;box-shadow:0 4px 12px rgba(0,0,0,0.05)}
        .faq-item.active{border-color:#ef4444;box-shadow:0 4px 20px rgba(239,68,68,0.12)}
        .faq-question{width:100%;display:flex;align-items:center;gap:16px;padding:22px 28px;background:none;border:none;cursor:pointer;text-align:left;font-size:1rem;font-weight:600;color:#1a1a1a;transition:all 0.3s ease}
        .faq-question:hover{color:#ef4444}
        .faq-number{color:#fff;font-weight:700;width:36px;height:36px;min-width:36px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#ef4444,#dc2626);border-radius:10px;font-size:0.9rem;flex-shrink:0}
        .faq-question > span:nth-child(2){flex:1;line-height:1.5}
        .faq-toggle{margin-left:auto;font-size:1.25rem;color:#9ca3af;transition:all 0.4s cubic-bezier(0.4,0,0.2,1);width:40px;height:40px;min-width:40px;display:flex;align-items:center;justify-content:center;background:#f3f4f6;border-radius:50%;flex-shrink:0}
        .faq-answer{max-height:0;overflow:hidden;transition:all 0.4s cubic-bezier(0.4,0,0.2,1);color:#6b7280;font-size:1rem;line-height:1.7;padding:0 28px 0 80px}
        .faq-item.active .faq-answer{max-height:500px;padding-bottom:22px}
        .faq-item.active .faq-toggle{transform:rotate(45deg);background:#ef4444;color:white}
        
        /* FAQ планшет */
        @media (max-width: 1024px) {
          .faq-list {
            max-width: 100%;
            gap: 10px;
          }
          .faq-question {
            padding: 18px 22px;
            gap: 14px;
          }
          .faq-number {
            width: 32px;
            height: 32px;
            min-width: 32px;
            font-size: 0.85rem;
          }
          .faq-toggle {
            width: 36px;
            height: 36px;
            min-width: 36px;
          }
          .faq-answer {
            padding: 0 22px 0 68px;
            font-size: 0.95rem;
          }
          .faq-item.active .faq-answer {
            padding-bottom: 18px;
          }
        }
        
        /* FAQ мобильные */
        @media (max-width: 768px) {
          .faq-list {
            gap: 10px;
          }
          .faq-item {
            border-radius: 14px;
          }
          .faq-question {
            padding: 16px 16px;
            gap: 12px;
            align-items: flex-start;
          }
          .faq-number {
            width: 30px;
            height: 30px;
            min-width: 30px;
            font-size: 0.8rem;
            border-radius: 8px;
            margin-top: 2px;
          }
          .faq-question > span:nth-child(2) {
            font-size: 0.9rem;
            line-height: 1.45;
          }
          .faq-toggle {
            width: 30px;
            height: 30px;
            min-width: 30px;
            font-size: 1.125rem;
            margin-top: 2px;
          }
          .faq-answer {
            padding: 0 16px 0 58px;
            font-size: 0.875rem;
            line-height: 1.6;
          }
          .faq-item.active .faq-answer {
            max-height: 400px;
            padding-bottom: 16px;
          }
        }
        
        /* FAQ маленькие мобильные */
        @media (max-width: 480px) {
          .faq-list {
            gap: 8px;
          }
          .faq-item {
            border-radius: 12px;
          }
          .faq-question {
            padding: 14px 14px;
            gap: 10px;
          }
          .faq-number {
            width: 28px;
            height: 28px;
            min-width: 28px;
            font-size: 0.75rem;
            border-radius: 7px;
          }
          .faq-question > span:nth-child(2) {
            font-size: 0.85rem;
          }
          .faq-toggle {
            width: 28px;
            height: 28px;
            min-width: 28px;
            font-size: 1rem;
          }
          .faq-answer {
            padding: 0 14px 0 52px;
            font-size: 0.8rem;
          }
          .faq-item.active .faq-answer {
            padding-bottom: 14px;
          }
        }
        
        /* FAQ очень маленькие */
        @media (max-width: 360px) {
          .faq-question {
            padding: 12px 12px;
            gap: 8px;
          }
          .faq-number {
            width: 26px;
            height: 26px;
            min-width: 26px;
            font-size: 0.7rem;
          }
          .faq-question > span:nth-child(2) {
            font-size: 0.8rem;
          }
          .faq-toggle {
            width: 26px;
            height: 26px;
            min-width: 26px;
          }
          .faq-answer {
            padding: 0 12px 0 46px;
            font-size: 0.75rem;
          }
        }
        
        .contact-card{max-width:42rem;margin:0 auto}
        .contact-card h2{font-size:1.875rem;font-weight:700;text-align:center;margin-bottom:0.5rem}
        .contact-card>p{text-align:center;color:var(--muted-foreground);margin-bottom:2rem}
        .form-group{margin-bottom:1.5rem}
        .form-label{display:block;font-weight:500;margin-bottom:0.5rem}
        .form-input{width:100%;padding:1rem 1.25rem;border:2px solid var(--border);border-radius:var(--radius);font-size:1rem;font-family:inherit;transition:all 0.3s cubic-bezier(0.4,0,0.2,1);background:var(--card);color:var(--foreground)}
        .form-input:focus{outline:none;border-color:var(--primary);box-shadow:0 0 0 4px rgba(23,23,23,0.08);transform:translateY(-1px)}
        .form-input::placeholder{color:var(--muted-foreground);opacity:0.7}
        .form-input:hover:not(:focus){border-color:rgba(23,23,23,0.3)}
        
        .footer{
          background:#fafafa;
          padding:4rem 0 2rem;
          border-top:1px solid var(--border);
          position:relative;
        }
        .footer::before{
          display:none;
        }
        .footer-grid{display:grid;gap:2rem;margin-bottom:2rem}
        @media(min-width:768px){.footer-grid{grid-template-columns:repeat(4,1fr)}}
        .footer-card{background:transparent}
        .footer-logo{display:flex;align-items:center;gap:0.75rem;margin-bottom:0.75rem;justify-content:center}
        .footer-logo span{font-size:1.25rem;font-weight:700;color:var(--foreground)}
        .footer-logo-img{width:40px;height:40px;object-fit:contain}
        .footer h3{font-size:1.125rem;font-weight:700;margin-bottom:1rem}
        .footer h4{font-weight:600;margin-bottom:1rem;font-size:1rem;color:var(--foreground)}
        .footer p{font-size:1rem;color:var(--muted-foreground);line-height:1.6}
        .footer ul{list-style:none}
        .footer li{margin-bottom:0.625rem;font-size:1.0625rem;color:var(--muted-foreground)}
        .footer a{font-size:1.0625rem;color:var(--muted-foreground);text-decoration:none;transition:all 0.3s ease}
        .footer a:hover{color:var(--accent-red)}
        .footer-bottom{padding-top:2rem;border-top:1px solid var(--border);text-align:center}
        .footer-bottom p{font-size:1rem;color:var(--muted-foreground)}
        
        /* Mobile footer cards */
        @media(max-width:767px){
          .footer{padding:1.5rem 0 1rem;background:#fafafa}
          .footer-grid{gap:0.75rem}
          .footer-card{
            background:#ffffff;
            border-radius:16px;
            padding:1.25rem 1.5rem;
            text-align:center;
            box-shadow:0 1px 3px rgba(0,0,0,0.04);
          }
          .footer-brand{padding:1.5rem}
          .footer-logo{justify-content:center}
          .footer h4{margin-bottom:0.75rem;text-align:center}
          .footer ul{text-align:center}
          .footer li{margin-bottom:0.5rem;text-align:center}
          .footer a{display:block;padding:0.25rem 0}
          .footer-bottom{display:none}
          .footer-legal{padding:1rem 1.5rem}
          .footer-legal h4{margin-bottom:0.5rem}
          .footer-legal .muted{font-size:1.0625rem;color:var(--muted-foreground);margin:0}
        }
        
        /* Desktop footer legal */
        @media(min-width:768px){
          .footer-legal .muted{margin-top:0.5rem;font-size:1rem;color:var(--muted-foreground)}
        }
        
        .text-center{text-align:center}
        .mt-8{margin-top:2rem}
        .buttons-center{display:flex;flex-direction:column;gap:1rem;justify-content:center;align-items:center;position:relative;z-index:1}
        .buttons-center .btn{width:100%;max-width:300px}
        @media(min-width:480px){.buttons-center .btn{width:auto}}
        @media(min-width:640px){.buttons-center{flex-direction:row}}
        .scroll-progress{
          position:fixed;top:0;left:0;height:3px;
          background:linear-gradient(90deg,#ef4444,#f87171,#fca5a5);
          z-index:100;transition:width 0.15s cubic-bezier(0.4,0,0.2,1);
          box-shadow:0 0 10px rgba(239,68,68,0.5);
        }
        .back-to-top{
          position:fixed;bottom:2rem;right:2rem;width:56px;height:56px;
          background:linear-gradient(135deg,#0f0f0f 0%,#1a1a1a 100%);
          color:white;border:none;border-radius:50%;cursor:pointer;
          opacity:0;visibility:hidden;
          transition:all 0.35s var(--ease-out-back);
          display:flex;align-items:center;justify-content:center;
          box-shadow:0 8px 24px rgba(0,0,0,0.25);z-index:50;
        }
        .back-to-top.visible{opacity:1;visibility:visible}
        .back-to-top:hover{
          transform:translateY(-6px) scale(1.1);
          box-shadow:0 14px 36px rgba(0,0,0,0.3),var(--shadow-glow);
          background:linear-gradient(135deg,#1a1a1a 0%,#2a2a2a 100%);
        }
        .back-to-top:active{transform:translateY(-4px) scale(1.05)}
        @media(max-width:768px){.back-to-top{bottom:1.5rem;right:1.5rem;width:48px;height:48px}}
        
        /* Mobile Menu */
        .mobile-menu{
          position:fixed !important;
          top:80px !important;
          left:12px !important;
          right:12px !important;
          bottom:auto !important;
          width:auto !important;
          height:auto !important;
          background:#ffffff !important;
          z-index:99;
          display:flex;flex-direction:column;
          padding:24px 28px !important;
          transform:translateY(-20px);
          opacity:0;
          visibility:hidden;
          transition:transform 0.25s ease, opacity 0.25s ease, visibility 0.25s ease;
          box-shadow:0 4px 24px rgba(0,0,0,0.08) !important;
          border-radius:24px !important;
          max-height:none !important;
          gap:0 !important;
        }
        .mobile-menu.active{transform:translateY(0);opacity:1;visibility:visible}
        .mobile-menu-overlay{
          position:fixed;top:0;left:0;width:100%;height:100%;
          background:rgba(0,0,0,0.15);
          z-index:98;
          opacity:0;visibility:hidden;
          transition:all 0.25s ease;
        }
        .mobile-menu-overlay.active{opacity:1;visibility:visible}
        .mobile-menu-header{
          display:none;
        }
        .mobile-menu-title{
          font-size:18px;
          font-weight:600;
          color:#1a1a1a;
        }
        .mobile-menu-close{
          width:40px;height:40px;
          border-radius:10px;
          border:1px solid #e5e7eb;
          background:#fff;
          display:flex;align-items:center;justify-content:center;
          cursor:pointer;
          transition:all 0.2s ease;
        }
        .mobile-menu-close:hover{background:#f5f5f5}
        .mobile-menu-close svg{color:#6b7280}
        .mobile-menu-links{
          display:flex !important;
          flex-direction:column !important;
          gap:0 !important;
          padding:0 !important;
          margin:0 !important;
        }
        .mobile-nav-link{
          display:block !important;
          padding:18px 0 !important;
          font-size:17px !important;
          font-weight:600 !important;
          color:#1a1a1a !important;
          text-decoration:none !important;
          background:transparent !important;
          border:none !important;
          border-bottom:1px solid #f0f0f0 !important;
          transition:color 0.2s ease;
          margin:0 !important;
        }
        .mobile-nav-link:last-child{
          border-bottom:none !important;
          padding-bottom:0 !important;
        }
        .mobile-nav-link:first-child{
          padding-top:0 !important;
        }
        .mobile-nav-link:active{
          color:#ef4444 !important;
        }
        .mobile-menu-btn{
          display:none;
        }
        .mobile-menu-copy{
          display:none;
        }
        
        /* WhatsApp Widget */
        .whatsapp-widget{position:fixed;bottom:100px;right:2rem;z-index:50;display:flex;flex-direction:column;align-items:flex-end;gap:10px}
        .whatsapp-tooltip{background:white;padding:12px 16px;border-radius:10px;box-shadow:0 4px 20px rgba(0,0,0,0.15);font-size:1rem;opacity:0;transform:translateX(20px);transition:all 0.3s ease;pointer-events:none;white-space:nowrap}
        .whatsapp-widget:hover .whatsapp-tooltip{opacity:1;transform:translateX(0)}
        .whatsapp-btn{width:60px;height:60px;background:#171717;border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 20px rgba(23,23,23,0.3);transition:all 0.3s ease;animation:pulse 2s infinite}
        .whatsapp-btn:hover{transform:scale(1.1);box-shadow:0 6px 30px rgba(23,23,23,0.4);background:#2a2a2a}
        .whatsapp-btn svg{width:32px;height:32px;fill:white}
        
        /* Exit Popup */
        .popup-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,0.6);z-index:200;display:flex;align-items:center;justify-content:center;opacity:0;visibility:hidden;transition:all 0.3s ease;padding:1rem}
        .popup-overlay.active{opacity:1;visibility:visible}
        .popup-content{background:white;border-radius:1rem;padding:2rem;max-width:420px;width:100%;text-align:center;transform:scale(0.8);transition:all 0.3s ease;position:relative}
        .popup-overlay.active .popup-content{transform:scale(1)}
        .popup-close{position:absolute;top:1rem;right:1rem;background:none;border:none;font-size:1.5rem;cursor:pointer;color:var(--muted-foreground);transition:color 0.3s ease}
        .popup-close:hover{color:var(--foreground)}
        .popup-icon{font-size:3rem;margin-bottom:1rem;display:flex;align-items:center;justify-content:center;line-height:1;color:var(--primary)}
        .popup-icon-svg{width:1em;height:1em;display:block}
        .popup-content h3{font-size:1.5rem;font-weight:700;margin-bottom:0.5rem}
        .popup-content p{color:var(--muted-foreground);margin-bottom:1.5rem}
        .popup-content .form-input{margin-bottom:1rem}
        
        /* Quiz Steps */
        .quiz-step{display:none}
        .quiz-step.active{display:block}
        .quiz-progress{display:flex;gap:0.5rem;margin-bottom:1.5rem;justify-content:center}
        .quiz-progress-dot{width:10px;height:10px;border-radius:50%;background:var(--border);transition:all 0.3s ease}
        .quiz-progress-dot.active{background:var(--primary);transform:scale(1.2)}
        .quiz-progress-dot.completed{background:var(--primary)}
        
        /* Messenger Buttons */
        .btn-whatsapp{background:#25D366;color:#fff;border:none}
        .btn-whatsapp:hover{background:#1ebe5d;transform:translateY(var(--lift-btn));box-shadow:0 8px 25px rgba(37,211,102,0.35)}
        .btn-telegram{background:#0088cc;color:#fff;border:none}
        .btn-telegram:hover{background:#0077b5;transform:translateY(var(--lift-btn));box-shadow:0 8px 25px rgba(0,136,204,0.35)}
        
        /* Case Modal */
        .case-modal{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,0.8);z-index:200;display:flex;align-items:center;justify-content:center;opacity:0;visibility:hidden;transition:all 0.3s ease;padding:1rem}
        .case-modal.active{opacity:1;visibility:visible}
        .case-modal-content{background:#fff;border-radius:20px;padding:2rem;max-width:600px;width:100%;transform:scale(0.9);transition:all 0.3s ease;position:relative;max-height:90vh;overflow-y:auto}
        .case-modal.active .case-modal-content{transform:scale(1)}
        .case-modal-close{position:absolute;top:1rem;right:1rem;background:var(--muted);border:none;width:36px;height:36px;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:1.25rem;color:var(--muted-foreground);transition:all 0.3s ease}
        .case-modal-close:hover{background:var(--primary);color:#fff}
        .case-modal-title{font-size:1.5rem;font-weight:700;margin-bottom:1rem}
        .case-modal-comparison{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-bottom:1.5rem}
        .case-modal-item{background:var(--muted);border-radius:12px;padding:1.25rem;text-align:center}
        .case-modal-item.before{border:2px solid var(--destructive)}
        .case-modal-item.after{border:2px solid #ef4444}
        .case-modal-label{font-size:1rem;color:var(--muted-foreground);margin-bottom:0.5rem}
        .case-modal-rating{font-size:2.5rem;font-weight:800}
        .case-modal-item.before .case-modal-rating{color:var(--destructive)}
        .case-modal-item.after .case-modal-rating{color:#ef4444}
        .case-modal-details{background:var(--muted);border-radius:12px;padding:1.25rem}
        .case-modal-details p{margin-bottom:0.75rem;font-size:1.0625rem}
        .case-modal-details p:last-child{margin-bottom:0}
        
        /* Loading states */
        .btn-loading{position:relative;color:transparent!important;pointer-events:none}
        .btn-loading::after{content:'';position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:20px;height:20px;border:2px solid rgba(255,255,255,0.3);border-top-color:#fff;border-radius:50%;animation:spin 0.8s linear infinite}
        @keyframes spin{to{transform:translate(-50%,-50%) rotate(360deg)}}
        .btn-success{background:#ef4444!important;color:#fff!important}
        .btn-error{background:var(--destructive)!important;color:#fff!important}
        
        /* Ripple effect */
        .btn{position:relative;overflow:hidden}
        .ripple{position:absolute;border-radius:50%;background:rgba(255,255,255,0.4);transform:scale(0);animation:ripple-anim 0.6s linear;pointer-events:none}
        @keyframes ripple-anim{to{transform:scale(4);opacity:0}}
    

        /* HERO - 1:1 как на скриншоте */
        .hero{
          padding:clamp(4rem,6vw,6rem) 0 clamp(5rem,8vw,8rem);
          background:linear-gradient(180deg, #f8fafc 0%, #ffffff 20%, #ffffff 80%, #f0f9ff 100%);
          position:relative;
          overflow:hidden;
        }
        .hero-stars{
          display:none !important;
          visibility:hidden !important;
          opacity:0 !important;
        }
        .hero-stars.left{
          display:none !important;
        }
        .hero-stars.right{
          display:none !important;
        }
        @media(min-width:768px){
          .hero-stars.left{display:none !important}
          .hero-stars.right{display:none !important}
        }
        .hero-grid{
          max-width:900px;
          margin:0 auto;
          padding:0 1.5rem;
          position:relative;
          z-index:1;
        }
        @media(min-width:768px){.hero-grid{padding:0 2rem}}
        .hero .badge{
          display:inline-flex;
          align-items:center;
          gap:8px;
          padding:8px 16px;
          background:rgba(239,68,68,0.08);
          border:1px solid rgba(239,68,68,0.15);
          border-radius:50px;
          color:#0a0a0a;
          font-size:1.0625rem;
          font-weight:500;
          margin-bottom:1.25rem;
        }
        @media(min-width:768px){.hero .badge{font-size:1rem;padding:10px 20px;margin-bottom:1.5rem}}
        @media(max-width:480px){.hero .badge{font-size:0.8125rem;padding:6px 12px;margin-bottom:1rem}}
        .hero h1{
          color:#0a0a0a;
          font-size:clamp(1.75rem,4vw,2.75rem);
          line-height:1.15;
          margin:0 0 1rem;
          font-weight:700;
          letter-spacing:-0.02em;
        }
        .hero h1 .accent-text{
          color:#ef4444;
          background:none;
          -webkit-background-clip:unset;
          -webkit-text-fill-color:#ef4444;
          background-clip:unset;
        }
        @media(min-width:768px){.hero h1{margin-bottom:1.25rem;font-size:clamp(2rem,4.5vw,3rem)}}
        .hero .lead{
          font-size:1rem;
          color:rgba(10,10,10,0.6);
          line-height:1.6;
          margin:0 0 1.75rem;
          max-width:500px;
        }
        @media(min-width:768px){.hero .lead{font-size:1.0625rem;margin-bottom:2rem}}
        @media(max-width:1023px){.hero .lead{margin-left:auto;margin-right:auto}}
        .hero-actions{
          margin-bottom:1.5rem;
        }
        @media(min-width:768px){.hero-actions{margin-bottom:1.75rem}}
        .hero .btn-primary{
          display:inline-flex;
          align-items:center;
          justify-content:center;
          padding:14px 28px;
          background:#dc2626;
          color:#fff;
          font-size:1.0625rem;
          font-weight:600;
          border-radius:10px;
          border:none;
          text-decoration:none;
          transition:all 0.3s cubic-bezier(0.4,0,0.2,1);
          box-shadow:0 4px 14px rgba(220,38,38,0.25);
        }
        .hero .btn-primary:hover{
          transform:translateY(var(--lift-btn));
          box-shadow:0 6px 20px rgba(220,38,38,0.35);
          background:#ef4444;
        }
        @media(min-width:768px){.hero .btn-primary{padding:16px 32px;font-size:1rem}}
        .hero-meta{
          display:flex;
          gap:1.5rem;
          flex-wrap:wrap;
          background:transparent !important;
        }
        .hm-item{
          display:inline-flex;
          align-items:center;
          gap:6px;
          color:rgba(10,10,10,0.6);
          font-size:1.0625rem;
          font-weight:500;
          background:transparent !important;
        }
        .hm-item .ic{
          width:16px;
          height:16px;
          color:#ef4444;
          flex-shrink:0;
          stroke:currentColor;
          filter:none !important;
        }
        .hm-item .ic-bolt{
          color:#ef4444;
          filter:none !important;
        }
        .hm-item .ic-shield{
          color:#ef4444;
          filter:none !important;
        }
        @media(min-width:768px){.hm-item{font-size:1rem;gap:8px}.hm-item .ic{width:18px;height:18px}}
        @media(max-width:480px){.hm-item{font-size:0.8125rem;gap:5px}.hm-item .ic{width:14px;height:14px}}

        .hero-visual{
          position:relative;
          width:100%;
          height:480px;
          margin:0 auto;
          max-width:520px;
        }
        @media(min-width:980px){
          .hero-visual{
            width:520px;
            height:520px;
            margin-left:auto;
          }
        }
        @media(max-width:980px){
          .hero-visual{
            height:420px;
            margin-top:1rem;
          }
        }
        
        .phone-mockup{
          position:relative;
          width:100%;
          height:100%;
          display:flex;
          align-items:center;
          justify-content:center;
        }
        .phone-frame{
          position:absolute;
          right:20px;
          top:50%;
          transform:translateY(-50%) rotate(6deg);
          width:260px;
          height:500px;
          background:linear-gradient(145deg, #2d3748 0%, #1a202c 100%);
          border-radius:36px;
          box-shadow:0 32px 64px rgba(0,0,0,0.5), 0 0 0 2px rgba(255,255,255,0.1);
          overflow:hidden;
          will-change:transform;
          animation:phoneFloat 6s ease-in-out infinite;
        }
        @media(min-width:980px){
          .phone-frame{
            width:280px;
            height:540px;
            right:30px;
          }
        }
        @media(max-width:640px){
          .phone-frame{
            width:220px;
            height:420px;
            border-radius:28px;
            right:10px;
          }
        }
        @keyframes phoneFloat{
          0%,100%{transform:translateY(-50%) rotate(6deg) translateY(0)}
          50%{transform:translateY(-50%) rotate(6deg) translateY(-8px)}
        }
        .phone-screen{
          position:absolute;
          top:8px;
          left:8px;
          right:8px;
          bottom:8px;
          background:#e8efe8;
          border-radius:28px;
          overflow:hidden;
          z-index:1;
        }
        @media(min-width:980px){.phone-screen{border-radius:32px}}
        @media(max-width:640px){.phone-screen{top:6px;left:6px;right:6px;bottom:6px;border-radius:22px}}
        
        .map-container{
          position:absolute;
          inset:0;
          background:#e8efe8;
          z-index:1;
        }
        .map-streets{
          position:absolute;
          inset:0;
          font-size:0.5625rem;
          color:rgba(80,80,80,0.5);
          font-weight:500;
          z-index:1;
        }
        .street{
          position:absolute;
          white-space:nowrap;
        }
        .street:nth-child(1){top:8%;right:15%;font-size:0.5rem;color:rgba(80,80,80,0.4)}
        .street:nth-child(2){top:18%;right:8%}
        .street:nth-child(3){top:28%;right:20%}
        .street:nth-child(4){top:38%;left:15%}
        .street:nth-child(5){bottom:38%;left:8%}
        .street:nth-child(6){bottom:28%;left:20%}
        .street:nth-child(7){bottom:18%;right:15%}
        
        .map-markers{
          position:absolute;
          inset:0;
          z-index:2;
        }
        .map-marker{
          position:absolute;
          width:28px;
          height:28px;
          background:#fff;
          border-radius:8px;
          display:flex;
          align-items:center;
          justify-content:center;
          font-size:1rem;
          box-shadow:0 2px 8px rgba(0,0,0,0.15);
          z-index:3;
        }
        .marker-1{top:12%;left:20%;background:#fff}
        .marker-2{top:22%;right:12%}
        .marker-3{top:45%;left:12%}
        .marker-4{bottom:35%;right:18%}
        .marker-center{
          top:42%;
          right:35%;
          width:44px;
          height:44px;
          background:linear-gradient(135deg, #ef4444 0%, #1d4ed8 100%);
          border-radius:50%;
          box-shadow:0 4px 16px rgba(59,130,246,0.5);
          z-index:2;
          border:3px solid #fff;
        }
        .marker-center::after{
          content:"";
          position:absolute;
          top:50%;
          left:50%;
          transform:translate(-50%,-50%);
          width:16px;
          height:16px;
          background:#fff;
          border-radius:50%;
        }
        
        .phone-brand{
          display:none;
        }
        
        .rating-card-phone{
          position:absolute;
          bottom:12px;
          left:10px;
          right:10px;
          background:#fff;
          border-radius:12px;
          padding:12px;
          box-shadow:0 4px 16px rgba(0,0,0,0.12);
          z-index:10;
        }
        @media(min-width:980px){
          .rating-card-phone{
            bottom:14px;
            left:12px;
            right:12px;
            padding:14px;
            border-radius:14px;
          }
        }
        @media(max-width:640px){
          .rating-card-phone{
            bottom:8px;
            left:8px;
            right:8px;
            padding:10px;
            border-radius:10px;
          }
        }
        .rating-card-header{
          display:flex;
          align-items:center;
          gap:6px;
          margin-bottom:2px;
        }
        .rating-title{
          font-size:1.0625rem;
          font-weight:700;
          color:#2563eb;
        }
        @media(min-width:980px){.rating-title{font-size:1rem}}
        @media(max-width:640px){.rating-title{font-size:1rem}}
        .rating-verified-icon{
          width:16px;
          height:16px;
          background:#f87171;
          color:#fff;
          border-radius:50%;
          display:flex;
          align-items:center;
          justify-content:center;
          font-size:0.625rem;
          font-weight:700;
        }
        @media(min-width:980px){.rating-verified-icon{width:18px;height:18px}}
        .rating-subtitle{
          font-size:0.625rem;
          color:rgba(0,0,0,0.5);
          margin-bottom:6px;
        }
        @media(min-width:980px){.rating-subtitle{font-size:0.6875rem}}
        .rating-info{
          display:flex;
          align-items:center;
          gap:4px;
          margin-bottom:6px;
          flex-wrap:wrap;
        }
        .rating-stars{
          font-size:10px;
          color:#fbbf24;
          letter-spacing:0;
        }
        @media(min-width:980px){.rating-stars{font-size:11px}}
        .rating-score{
          font-size:1rem;
          font-weight:700;
          color:#0a0a0a;
        }
        @media(min-width:980px){.rating-score{font-size:1.0625rem}}
        .rating-count{
          font-size:0.5625rem;
          color:rgba(0,0,0,0.5);
        }
        @media(min-width:980px){.rating-count{font-size:0.625rem}}
        .rating-meta{
          font-size:0.5625rem;
          color:rgba(0,0,0,0.5);
          margin-bottom:6px;
        }
        @media(min-width:980px){.rating-meta{font-size:0.625rem}}
        .rating-text{
          font-size:0.625rem;
          color:rgba(0,0,0,0.65);
          line-height:1.4;
          margin-bottom:6px;
        }
        @media(min-width:980px){.rating-text{font-size:0.6875rem}}
        .rating-time{
          display:flex;
          align-items:center;
          gap:4px;
          font-size:0.5625rem;
          color:rgba(0,0,0,0.5);
        }
        @media(min-width:980px){.rating-time{font-size:0.625rem}}
        .rating-time svg{
          width:10px;
          height:10px;
        }
        @media(min-width:980px){.rating-time svg{width:12px;height:12px}}
        
        .floating-badge{
          position:absolute;
          border-radius:14px;
          padding:12px 14px;
          box-shadow:0 8px 24px rgba(0,0,0,0.2);
          backdrop-filter:blur(12px);
          will-change:transform;
          z-index:10;
        }
        @media(max-width:640px){
          .floating-badge{
            padding:10px 12px;
            border-radius:12px;
          }
        }
        .badge-top-right{
          right:160px;
          top:20px;
          background:rgba(255,255,255,0.95);
          animation:floatB 5s ease-in-out infinite;
        }
        @media(min-width:980px){.badge-top-right{right:180px;top:10px}}
        @media(max-width:640px){.badge-top-right{right:120px;top:10px}}
        .badge-price{
          right:-10px;
          top:35%;
          background:rgba(45,55,72,0.95);
          color:#fff;
          padding:10px 14px;
          border-radius:12px;
          flex-direction:column;
          align-items:flex-start;
          animation:floatF 5.5s ease-in-out infinite;
        }
        @media(min-width:980px){.badge-price{right:-20px;top:32%}}
        @media(max-width:640px){.badge-price{right:-5px;top:30%;padding:8px 10px}}
        .badge-bottom-left{
          left:-20px;
          bottom:100px;
          background:rgba(74,222,128,0.15);
          border:1px solid rgba(74,222,128,0.25);
          animation:floatD 6s ease-in-out infinite;
        }
        @media(min-width:980px){.badge-bottom-left{left:-30px;bottom:110px}}
        @media(max-width:640px){.badge-bottom-left{left:-10px;bottom:80px}}
        .badge-bottom-left .badge-value{
          color:#fff;
        }
        .badge-bottom-left .badge-text{
          color:rgba(255,255,255,0.7);
        }
        .badge-bottom-right{
          right:80px;
          bottom:50px;
          background:rgba(255,255,255,0.95);
          animation:floatC 5.8s ease-in-out infinite;
        }
        @media(min-width:980px){.badge-bottom-right{right:90px;bottom:40px}}
        @media(max-width:640px){.badge-bottom-right{right:60px;bottom:35px}}
        @keyframes floatB{
          0%,100%{transform:translateY(0)}
          50%{transform:translateY(-8px)}
        }
        @keyframes floatC{
          0%,100%{transform:translateY(0)}
          50%{transform:translateY(8px)}
        }
        @keyframes floatD{
          0%,100%{transform:translateY(0)}
          50%{transform:translateY(-6px)}
        }
        @keyframes floatF{
          0%,100%{transform:translateY(0)}
          50%{transform:translateY(-6px)}
        }
        .badge-value{
          display:block;
          font-weight:800;
          font-size:1.25rem;
          line-height:1;
        }
        @media(max-width:640px){.badge-value{font-size:1rem}}
        .badge-top-right .badge-value,
        .badge-bottom-right .badge-value{
          color:#0f0f0f;
        }
        .badge-value sup{
          font-size:0.6em;
          font-weight:600;
        }
        .badge-text{
          display:block;
          margin-top:4px;
          font-size:0.6875rem;
          line-height:1.3;
          font-weight:500;
        }
        @media(max-width:640px){.badge-text{font-size:0.625rem}}
        .badge-top-right .badge-text,
        .badge-bottom-right .badge-text{
          color:rgba(0,0,0,0.6);
        }
        .badge-price-top{
          font-size:1.0625rem;
          color:#fff;
          margin-bottom:2px;
          white-space:nowrap;
        }
        @media(max-width:640px){.badge-price-top{font-size:1rem}}
        .badge-price-top strong{
          font-weight:800;
          color:#f87171;
        }
        .badge-price-bottom{
          font-size:0.625rem;
          color:rgba(255,255,255,0.6);
        }
        @media(max-width:640px){.badge-price-bottom{font-size:0.5625rem}}
        
        .rating-time-inline{
          font-size:0.5625rem;
          color:rgba(0,0,0,0.5);
          margin-left:auto;
        }
        @media(min-width:980px){.rating-time-inline{font-size:0.625rem}}

        /* Новые стили для обновленной hero секции */
        .hero-badge{
          display:inline-flex;
          align-items:center;
          gap:8px;
          padding:10px 20px;
          background:linear-gradient(135deg,rgba(239,68,68,0.15) 0%,rgba(239,68,68,0.08) 100%);
          border:1px solid rgba(239,68,68,0.25);
          border-radius:50px;
          color:#ef4444;
          font-size:1rem;
          font-weight:700;
          margin-bottom:1.5rem;
          animation:fadeInUp 0.8s ease-out 0.1s backwards;
          box-shadow:0 4px 12px rgba(239,68,68,0.15);
        }
        @media(min-width:768px){.hero-badge{font-size:1.0625rem;padding:12px 24px;margin-bottom:2rem}}
        
        .hero-subtitle{
          color:rgba(255,255,255,0.75);
          font-size:1.125rem;
          margin-bottom:2.5rem;
          line-height:1.6;
          animation:fadeInUp 0.8s ease-out 0.2s backwards;
        }
        @media(min-width:768px){.hero-subtitle{font-size:1.25rem;margin-bottom:3rem}}
        
        .hero-stats{
          display:flex;
          gap:1.5rem;
          margin-bottom:2.5rem;
          flex-wrap:wrap;
          animation:fadeInUp 0.8s ease-out 0.3s backwards;
        }
        @media(min-width:768px){.hero-stats{gap:2rem;margin-bottom:3rem}}
        
        .hero-stat-item{
          flex:1;
          min-width:120px;
          text-align:center;
        }
        
        .stat-number{
          font-size:2rem;
          font-weight:900;
          color:#ef4444;
          line-height:1;
          margin-bottom:0.5rem;
          letter-spacing:-0.02em;
        }
        @media(min-width:768px){.stat-number{font-size:2.5rem}}
        
        .stat-label{
          font-size:1rem;
          color:rgba(255,255,255,0.7);
          font-weight:500;
        }
        @media(min-width:768px){.stat-label{font-size:1.0625rem}}
        
        .hero-trust{
          display:flex;
          gap:1.5rem;
          flex-wrap:wrap;
          margin-top:2rem;
          padding-top:2rem;
          border-top:1px solid rgba(255,255,255,0.1);
          animation:fadeInUp 0.8s ease-out 0.6s backwards;
        }
        @media(min-width:768px){.hero-trust{gap:2rem;margin-top:2.5rem}}
        
        .trust-item{
          display:flex;
          align-items:center;
          gap:8px;
          color:rgba(255,255,255,0.7);
          font-size:1rem;
          font-weight:500;
        }
        .trust-item svg{
          color:#ef4444;
          flex-shrink:0;
        }
        
        .phone-content{
          position:absolute;
          inset:20px;
          display:flex;
          flex-direction:column;
          gap:12px;
          z-index:3;
        }
        
        .phone-header{
          font-size:1.125rem;
          font-weight:800;
          color:#0a0a0a;
          margin-bottom:4px;
        }
        
        .phone-company{
          display:flex;
          align-items:center;
          justify-content:space-between;
          margin-bottom:8px;
        }
        
        .company-name{
          font-size:1rem;
          font-weight:700;
          color:#0a0a0a;
        }
        
        .company-verified{
          display:inline-flex;
          align-items:center;
          justify-content:center;
          width:20px;
          height:20px;
          border-radius:50%;
          background:#ef4444;
          color:#fff;
          font-size:12px;
          font-weight:700;
        }
        
        .phone-rating{
          display:flex;
          align-items:center;
          gap:8px;
          margin-bottom:12px;
        }
        
        .phone-rating .stars{
          font-size:14px;
          color:#fbbf24;
        }
        
        .phone-rating .score{
          font-size:1rem;
          font-weight:800;
          color:#0a0a0a;
        }
        
        .phone-rating .reviews{
          font-size:1rem;
          color:rgba(10,10,10,0.6);
        }
        
        .phone-stats{
          display:flex;
          flex-direction:column;
          gap:8px;
          margin-top:auto;
        }
        
        .stat-bubble{
          display:flex;
          align-items:center;
          gap:8px;
          padding:8px 12px;
          background:rgba(239,68,68,0.1);
          border-radius:12px;
          font-size:1rem;
          font-weight:600;
          color:#dc2626;
        }
        
        .stat-icon{
          font-size:1rem;
        }
        
        .hero-buttons .btn{
          display:inline-flex;
          align-items:center;
          justify-content:center;
        }



/* Offer/Quiz block - черно-серо-белый дизайн */
.offer-section{padding:clamp(3rem,5vw,5rem) 0;background:var(--background);position:relative}
@media(min-width:768px){.offer-section{padding:clamp(4rem,6vw,6rem) 0}}
@media(max-width:480px){.offer-section{padding:clamp(2rem,4vw,2.5rem) 0}}
.offer-shell{
  border-radius:28px;
  overflow:hidden;
  box-shadow:0 32px 80px rgba(0,0,0,.2),0 0 0 1px rgba(255,255,255,0.05);
  transition:all 0.4s cubic-bezier(0.4,0,0.2,1);
  animation:scaleIn 0.8s ease-out;
}
.offer-shell:hover{box-shadow:0 40px 100px rgba(0,0,0,.25),0 0 0 1px rgba(255,255,255,0.08)}
@media(max-width:480px){.offer-shell{border-radius:20px}}
.offer-top{
  position:relative;
  background:#ef4444;
  padding:clamp(24px,3vw,32px) clamp(20px,3vw,40px);
  text-align:center;
  overflow:hidden;
}
@media(max-width:480px){.offer-top{padding:clamp(20px,4vw,24px) clamp(16px,3vw,20px)}}
.offer-top::before{
  content:"";
  position:absolute;inset:-50%;
  background:
    radial-gradient(circle at 20% 30%,rgba(255,255,255,0.10),transparent 55%),
    radial-gradient(circle at 80% 70%,rgba(255,255,255,0.08),transparent 60%),
    repeating-radial-gradient(circle at 50% 50%, rgba(255,255,255,.06) 0 1px, transparent 1px 28px);
  opacity:.5;
  transform:rotate(-8deg);
  pointer-events:none;
  animation:patternShift 20s ease-in-out infinite;
}
.offer-top::after{
  content:"";
  position:absolute;
  top:0;left:0;right:0;bottom:0;
  background:linear-gradient(135deg,transparent 0%,rgba(255,255,255,0.03) 50%,transparent 100%);
  pointer-events:none;
}
.offer-stars{display:flex;justify-content:center;gap:8px;margin:0.5rem 0 1rem;position:relative;z-index:1;animation:float 3s ease-in-out infinite}
.offer-stars span{font-size:24px;line-height:1;color:#fbbf24;filter:drop-shadow(0 2px 6px rgba(251,191,36,0.4));transition:transform 0.3s ease}
.offer-stars span:nth-child(odd){animation:float 3s ease-in-out infinite 0.5s}
.offer-stars span:nth-child(even){animation:float 3s ease-in-out infinite 1s}
.offer-top h2{
  position:relative;z-index:1;
  margin:0 auto 0.5rem;
  max-width:800px;
  color:#fff;
  font-weight:800;
  letter-spacing:-.02em;
  font-size:clamp(20px,3vw,32px);
  line-height:1.2;
  text-shadow:0 2px 12px rgba(0,0,0,0.2);
  animation:fadeInUp 0.8s ease-out;
}
.offer-top p{
  position:relative;z-index:1;
  margin:0;
  color:rgba(255,255,255,.8);
  font-size:clamp(13px,1.5vw,16px);
  font-style:italic;
  animation:fadeInUp 0.8s ease-out 0.2s backwards;
}
.offer-bottom{
  position:relative;
  background:#ffffff;
  padding:clamp(20px,3vw,28px) clamp(16px,3vw,32px);
  display:flex;
  justify-content:center;
  overflow:hidden;
}
.offer-bottom::after{display:none}
@media(max-width:480px){.offer-bottom{padding:16px 12px}}
.offer-bottom .quiz-card{
  width:min(700px,100%);
  margin:0 auto;
  background:transparent;
  border:none;
  border-radius:12px;
  padding:0;
  box-shadow:none;
  position:relative;
  z-index:1;
}
.offer-bottom .quiz-card:hover{border:none;box-shadow:none;transform:none}
.offer-bottom .quiz-card::before{display:none}
@media(max-width:480px){.offer-bottom .quiz-card{padding:0;border-radius:8px}}
.offer-bottom .quiz-card h3{
  color:#0a0a0a !important;
  font-size:1.25rem;
  margin-bottom:0.75rem;
  font-weight:700;
  text-align:center;
}
@media(max-width:480px){.offer-bottom .quiz-card h3{font-size:1.125rem;margin-bottom:0.5rem}}
.offer-bottom .quiz-label{
  color:#6b6b6b;
  text-align:center;
  display:block;
  margin-bottom:0.625rem;
  font-size:0.9375rem;
}
@media(max-width:480px){.offer-bottom .quiz-label{font-size:0.875rem;margin-bottom:0.5rem}}
.offer-bottom .quiz-progress{display:none}
.offer-bottom .checkbox-grid{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:0.75rem 1.25rem;
  margin-bottom:0.875rem;
}
@media(max-width:480px){.offer-bottom .checkbox-grid{gap:0.5rem 1rem;margin-bottom:0.625rem}}
.offer-bottom .checkbox-item{
  background:transparent;
  border:none;
  padding:0;
  display:flex;
  align-items:center;
  gap:0.375rem;
  cursor:pointer;
}
.offer-bottom .checkbox-item:hover{background:transparent;border:none;transform:none;box-shadow:none}
.offer-bottom .checkbox-item input[type="checkbox"],
.offer-bottom .checkbox-item input[type="radio"]{
  width:18px;
  height:18px;
  accent-color:#ef4444;
  cursor:pointer;
}
@media(max-width:480px){
  .offer-bottom .checkbox-item input[type="checkbox"],
  .offer-bottom .checkbox-item input[type="radio"]{width:16px;height:16px}
}
.offer-bottom .checkbox-item label{
  color:#0a0a0a;
  font-size:0.9375rem;
  cursor:pointer;
  font-weight:500;
}
@media(max-width:480px){.offer-bottom .checkbox-item label{font-size:0.875rem}}
.offer-bottom .btn-primary{
  background:#ef4444;
  color:#ffffff;
  border:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0.75rem 2rem;
  font-size:0.9375rem;
  font-weight:600;
  border-radius:10px;
  box-shadow:0 4px 12px rgba(239,68,68,0.25);
  transition:all 0.3s ease;
  white-space:nowrap;
}
.offer-bottom .btn-primary:hover{
  background:#dc2626;
  color:#ffffff;
  transform:translateY(var(--lift-btn));
  box-shadow:0 6px 16px rgba(239,68,68,0.3);
}
.offer-bottom .btn-primary:active{
  background:#ef4444;
  color:#ffffff;
  transform:translateY(0);
}
.offer-bottom .btn-primary:disabled{
  background:#d1d5db;
  color:#9ca3af;
  cursor:not-allowed;
  transform:none;
  box-shadow:none;
}
.offer-bottom .btn-outline{
  background:transparent;
  border:2px solid #e5e7eb;
  color:#374151;
  border-radius:10px;
  padding:0.75rem 1.5rem;
  font-size:0.9375rem;
  font-weight:500;
}
.offer-bottom .btn-outline:hover{
  background:#f9fafb;
  border-color:#d1d5db;
  transform:none;
}
.offer-bottom .quiz-buttons{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:0.75rem;
  margin-top:0.875rem;
}
.offer-bottom .quiz-buttons .btn{
  min-width:120px;
  padding:0.75rem 1.5rem;
}
.offer-bottom .quiz-buttons .btn-primary{
  min-width:140px;
}
@media(max-width:480px){
  .offer-bottom .quiz-buttons{gap:0.5rem;margin-top:0.625rem}
  .offer-bottom .quiz-buttons .btn{
    min-width:100px;
    padding:0.625rem 1.25rem;
    font-size:0.875rem;
  }
}
.offer-bottom .quiz-form-row{
  display:flex;
  flex-wrap:wrap;
  gap:0.625rem;
  justify-content:center;
  margin-bottom:0.75rem;
}
.offer-bottom .quiz-form-row .form-group{
  flex:1;
  min-width:160px;
  max-width:220px;
  margin-bottom:0;
}
@media(max-width:480px){
  .offer-bottom .quiz-form-row{flex-direction:column;gap:0.5rem}
  .offer-bottom .quiz-form-row .form-group{max-width:none;min-width:auto}
}
.offer-bottom .form-input{
  background:#f9fafb;
  border:1px solid #e5e7eb;
  color:#0a0a0a;
  padding:0.625rem 0.875rem;
  font-size:0.9375rem;
  border-radius:8px;
  width:100%;
}
.offer-bottom .form-input::placeholder{color:#9ca3af}
.offer-bottom .form-input:focus{
  border-color:#ef4444;
  box-shadow:0 0 0 3px rgba(239,68,68,0.1);
  outline:none;
}
.offer-bottom .quiz-progress-dot{
  background:rgba(255,255,255,0.2);
}
.offer-bottom .quiz-progress-dot.active{
  background:#ffffff;
}
.offer-bottom .quiz-progress-dot.completed{
  background:#ffffff;
  opacity:0.6;
}
.offer-bottom::after{
  content:"";
  position:absolute;right:-20px;bottom:-20px;
  width:180px;height:180px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.10) 0 2px, transparent 3px),
    radial-gradient(circle at 60% 50%, rgba(255,255,255,.10) 0 2px, transparent 3px),
    radial-gradient(circle at 40% 70%, rgba(255,255,255,.10) 0 2px, transparent 3px);
  opacity:.22;
  filter:blur(.2px);
  pointer-events:none;
  transform:rotate(12deg);
}
.offer-question{
  text-align:center;
  color:rgba(255,255,255,.55);
  font-weight:600;
  margin-bottom:18px;
}
.offer-checks{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:22px;
  margin-bottom:30px;
}
.offer-check{
  display:flex;
  align-items:center;
  gap:10px;
  color:rgba(255,255,255,.78);
  user-select:none;
  font-weight:600;
}
.offer-check input{
  width:18px;height:18px;
  accent-color:#9ca3af; /* монохром */
}
.offer-btn{transition:transform 0.35s var(--ease-out-back), background 0.25s ease, border-color 0.25s ease;}
@media(max-width:480px){.offer-btn{width:100%;font-size:16px;padding:14px 20px}}
.offer-btn:hover{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.22);transform:translateY(var(--lift-btn))}



/* === TARIFFS - GLASS CARDS === */
.tariffs-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.tariffs-header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.tariffs-tag {
  display: inline-block;
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.tariffs-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: #111;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}

.tariffs-header h2 span {
  color: #ef4444;
}

.tariffs-header p {
  font-size: 1rem;
  color: #6b7280;
  max-width: 500px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.tariffs-header p span {
  color: #ef4444;
  font-weight: 700;
}

.tariffs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.tariff-card {
  background: linear-gradient(145deg, #ffffff, #f8fafc);
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  padding: 32px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.35s var(--ease-out-back);
}

.tariff-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ef4444, #f87171);
  transform: scaleX(0);
  transition: transform 0.35s ease;
}

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

.tariff-card:hover {
  border-color: #ef4444;
  box-shadow: 0 20px 40px rgba(239, 68, 68, 0.12);
  transform: translateY(var(--lift-card));
}

/* Best / Popular card */
.tariff-card.tariff-best {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  border-color: transparent;
  color: white;
  z-index: 2;
  box-shadow: 0 20px 50px rgba(239, 68, 68, 0.25);
  padding: 32px 24px;
}

.tariff-card.tariff-best::before {
  display: none;
}

.tariff-card.tariff-best:hover {
  box-shadow: 0 28px 60px rgba(239, 68, 68, 0.4);
  transform: translateY(-4px);
}

.tariff-best .tariff-price {
  font-size: 52px;
}

.tariff-best .tariff-price span {
  font-size: 24px;
}

.tariff-badge {
  position: absolute;
  top: 16px;
  right: -32px;
  background: #fbbf24;
  color: #78350f;
  padding: 6px 44px;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  transform: rotate(45deg);
}

.tariff-qty {
  background: #fef2f2;
  color: #dc2626;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 20px;
}

.tariff-best .tariff-qty {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.tariff-price {
  font-size: 52px;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
  color: #111;
}

.tariff-price span {
  font-size: 24px;
  font-weight: 600;
}

.tariff-best .tariff-price {
  color: white;
}

.tariff-note {
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 20px;
}

.tariff-best .tariff-note {
  color: rgba(255, 255, 255, 0.8);
}

.tariff-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 20px;
  background: #fef2f2;
  color: #dc2626;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.35s var(--ease-out-back);
  border: 1px solid rgba(239,68,68,0.18);
}

.tariff-btn:hover {
  background: #ef4444;
  color: white;
  transform: translateY(var(--lift-btn));
  box-shadow: var(--shadow-md);
}

.tariff-best .tariff-btn {
  background: white;
  color: #dc2626;
}

.tariff-best .tariff-btn:hover {
  background: #fef2f2;
}

/* Responsive */
@media (max-width: 900px) {
  .tariffs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 600px) {
  .tariffs-section {
    padding: 3.5rem 0;
  }
  
  .tariffs-header {
    margin-bottom: 2rem;
  }
  
  .tariffs-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .tariff-card {
    padding: 24px 16px;
    border-radius: 18px;
  }
  
  .tariff-badge {
    font-size: 0.55rem;
    padding: 4px 36px;
    top: 12px;
    right: -36px;
  }
  
  .tariff-qty {
    font-size: 0.7rem;
    padding: 6px 12px;
    margin-bottom: 14px;
  }
  
  .tariff-price {
    font-size: 40px;
  }
  
  .tariff-price span {
    font-size: 18px;
  }
  
  .tariff-note {
    font-size: 0.75rem;
    margin-bottom: 14px;
  }
  
  .tariff-btn {
    padding: 10px 16px;
    font-size: 0.8rem;
    border-radius: 10px;
  }
}

@media (max-width: 400px) {
  .tariffs-grid {
    gap: 10px;
  }
  
  .tariff-card {
    padding: 20px 12px;
    border-radius: 14px;
  }
  
  .tariff-price {
    font-size: 32px;
  }
  
  .tariff-price span {
    font-size: 16px;
  }
}


/* Guide CTA block */
/* ===== GREEN CTA BLOCKS - UNIFIED STYLES ===== */

/* Общие стили для зелёных карточек */
.green-card{
  position:relative;
  overflow:hidden;
  border-radius:20px;
  background:#ef4444;
  box-shadow:0 16px 48px rgba(239,68,68,0.2);
  padding:32px 28px;
}
.green-card::before{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(circle at 15% 30%, rgba(255,255,255,0.12), transparent 50%);
  pointer-events:none;
}

/* === GUIDE CTA === */
.guide-cta-section{padding:0 0 3rem;position:relative}
.guide-cta{
  position:relative;
  overflow:hidden;
  border-radius:20px;
  background:#ef4444;
  box-shadow:0 16px 48px rgba(239,68,68,0.2);
  padding:32px 28px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:32px;
}
.guide-cta::before{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(circle at 15% 30%, rgba(255,255,255,0.12), transparent 50%);
  pointer-events:none;
}
.guide-cta-left{position:relative;z-index:1;flex:1;max-width:500px}
.guide-cta-left h2{
  margin:0 0 8px;
  color:#fff;
  font-weight:700;
  font-size:clamp(18px,2.2vw,26px);
  line-height:1.25;
}
.guide-accent{color:#fff;font-weight:800}
.guide-cta-subtitle{
  margin:0 0 8px;
  color:rgba(255,255,255,0.95);
  font-weight:600;
  font-size:clamp(13px,1.1vw,15px);
}
.guide-cta-note{
  margin:0 0 16px;
  color:rgba(255,255,255,0.75);
  font-size:13px;
  line-height:1.5;
}
.guide-cta-buttons{display:flex;gap:10px;flex-wrap:wrap}
.guide-cta-buttons .btn{
  padding:10px 20px;
  font-size:13px;
  font-weight:600;
  border-radius:10px;
  transition:all 0.2s ease;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.guide-cta-buttons .btn-accent{
  background:#fff;
  color:#dc2626;
  border:none;
}
.guide-cta-buttons .btn-accent:hover{
  background:#fef2f2;
  transform:translateY(-1px);
  box-shadow:0 4px 12px rgba(0,0,0,0.1);
}
.guide-cta-buttons .btn-outline-light{
  background:transparent;
  color:#fff;
  border:1.5px solid rgba(255,255,255,0.4);
}
.guide-cta-buttons .btn-outline-light:hover{
  background:rgba(255,255,255,0.1);
  border-color:rgba(255,255,255,0.6);
}
.guide-cta-right{position:relative;z-index:1;flex-shrink:0;display:flex;align-items:center;justify-content:center}
.guide-illus{width:400px;height:auto;filter:drop-shadow(0 12px 24px rgba(0,0,0,0.15));border-radius:16px}

/* Guide CTA Tablet */
@media(max-width:900px){
  .guide-cta{
    flex-direction:column;
    text-align:center;
    padding:28px 24px;
    gap:20px;
  }
  .guide-cta-left{max-width:100%;text-align:center}
  .guide-cta-buttons{justify-content:center}
  .guide-cta-right{order:1}
  .guide-illus{width:320px}
}

/* Guide CTA Mobile */
@media(max-width:480px){
  .guide-cta-section{padding:0 0 2rem}
  .guide-cta{
    padding:20px 16px;
    border-radius:16px;
    gap:16px;
  }
  .guide-cta-left h2{font-size:17px}
  .guide-cta-subtitle{font-size:13px}
  .guide-cta-note{font-size:12px;margin-bottom:12px}
  .guide-cta-buttons{
    flex-direction:column;
    gap:8px;
    width:100%;
  }
  .guide-cta-buttons .btn{
    width:100%;
    padding:11px 16px;
  }
  .guide-illus{width:300px;max-height:220px;height:auto;object-fit:contain}
}

/* === CTA CARD (with form) === */
.cta-section{padding:3rem 0}
.cta-card{
  position:relative;
  overflow:hidden;
  border-radius:20px;
  background:#ef4444;
  box-shadow:0 16px 48px rgba(239,68,68,0.2);
  padding:32px 28px;
  display:grid;
  grid-template-columns:400px 1fr;
  gap:28px;
  align-items:center;
}
.cta-card::before{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(circle at 15% 30%, rgba(255,255,255,0.12), transparent 50%);
  pointer-events:none;
}
.cta-left,.cta-right{position:relative;z-index:1}
.cta-left{display:flex;align-items:center;justify-content:center}

/* CTA иллюстрация */
.cta-illus{
  position:relative;
  width:180px;
  height:180px;
  margin:0 auto;
}
.cta-illus-img{
  width:400px;
  height:auto;
  border-radius:16px;
  filter:drop-shadow(0 12px 24px rgba(0,0,0,0.2));
}
.bubble{position:absolute;border-radius:999px}
.bubble.gray{
  width:140px;height:140px;left:20px;top:20px;
  background:rgba(255,255,255,.18);
}
.bubble.green{
  width:90px;height:90px;right:0;top:0;
  background:rgba(255,255,255,.22);
}
.user-icon{
  position:absolute;left:50%;top:50%;
  transform:translate(-50%,-50%);
  width:70px;height:70px;border-radius:999px;
  background:rgba(255,255,255,.12);
  display:flex;align-items:center;justify-content:center;
}
.user-icon svg{width:42px;height:42px;fill:#fff;opacity:.9}

/* CTA текст */
.cta-title{
  margin:0 0 8px;
  color:#fff;
  font-weight:700;
  font-size:clamp(18px,2.2vw,26px);
  line-height:1.25;
}
.cta-title .hl{color:#fff;font-weight:800}
.cta-sub{
  margin:0 0 16px;
  color:rgba(255,255,255,.85);
  font-size:clamp(13px,1.1vw,15px);
  line-height:1.5;
  max-width:480px;
}

/* CTA форма */
.cta-form{display:grid;gap:10px;max-width:420px}
.cta-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.cta-input{
  width:100%;
  height:42px;
  border-radius:10px;
  border:1.5px solid rgba(255,255,255,.3);
  background:rgba(255,255,255,.08);
  color:#fff;
  padding:0 14px;
  font-size:14px;
  outline:none;
  transition:all 0.2s ease;
}
.cta-input::placeholder{color:rgba(255,255,255,.45)}
.cta-input:focus{border-color:#fff;background:rgba(255,255,255,.12)}
.cta-btn{
  width:100%;
  max-width:180px;
  height:42px;
  border:none;
  border-radius:10px;
  background:#fff;
  color:#dc2626;
  font-size:13px;
  font-weight:600;
  cursor:pointer;
  transition:all 0.2s ease;
}
.cta-btn:hover{background:#fef2f2;transform:translateY(-1px);box-shadow:0 4px 12px rgba(0,0,0,0.1)}
.cta-btn:disabled{opacity:0.7;cursor:not-allowed;transform:none}

/* CTA Tablet */
@media(max-width:900px){
  .cta-card{
    grid-template-columns:1fr;
    text-align:center;
    padding:28px 24px;
    gap:20px;
  }
  .cta-left{order:-1}
  .cta-illus{width:140px;height:140px}
  .cta-illus-img{width:320px}
  .bubble.gray{width:110px;height:110px;left:15px;top:15px}
  .bubble.green{width:70px;height:70px}
  .user-icon{width:55px;height:55px}
  .user-icon svg{width:32px;height:32px}
  .cta-title{text-align:center}
  .cta-sub{text-align:center;margin-left:auto;margin-right:auto}
  .cta-form{margin:0 auto}
  .cta-row{grid-template-columns:1fr}
  .cta-btn{width:100%;max-width:100%}
}

/* CTA Mobile */
@media(max-width:480px){
  .cta-section{padding:2rem 0}
  .cta-card{
    padding:20px 16px;
    border-radius:16px;
    gap:16px;
  }
  .cta-title{font-size:17px}
  .cta-sub{font-size:13px;margin-bottom:12px}
  .cta-illus{width:120px;height:120px}
  .cta-illus-img{width:300px;max-height:220px;height:auto;object-fit:contain}
  .bubble.gray{width:90px;height:90px;left:12px;top:15px}
  .bubble.green{width:60px;height:60px}
  .user-icon{width:45px;height:45px}
  .user-icon svg{width:26px;height:26px}
  .cta-input{height:40px;font-size:13px}
  .cta-btn{height:40px}
}

/* === LEAD CARD (with form + illustration) === */
.lead-section{padding:3rem 0;background:#fff}
.lead-card{
  position:relative;
  overflow:hidden;
  border-radius:20px;
  background:#ef4444;
  box-shadow:0 16px 48px rgba(239,68,68,0.2);
  padding:32px 28px;
  display:grid;
  grid-template-columns:1fr 400px;
  gap:28px;
  align-items:center;
}
.lead-card::before{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(circle at 15% 30%, rgba(255,255,255,0.12), transparent 50%);
  pointer-events:none;
}
.lead-left,.lead-right{position:relative;z-index:1}
.lead-right{display:flex;align-items:center;justify-content:center}
.lead-title{
  margin:0 0 8px;
  color:#fff;
  font-weight:700;
  font-size:clamp(20px,2.5vw,28px);
  line-height:1.2;
}
.lead-sub{
  margin:0 0 16px;
  color:rgba(255,255,255,.85);
  font-size:clamp(13px,1.1vw,15px);
  line-height:1.5;
  max-width:480px;
}
.lead-form{display:grid;gap:10px;max-width:420px}
.lead-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.lead-form .form-group{margin:0}
.lead-form .form-label{display:none}
.lead-form .form-input{
  width:100%;
  height:42px;
  border-radius:10px;
  border:1.5px solid rgba(255,255,255,.3);
  background:rgba(255,255,255,.08);
  color:#fff;
  padding:0 14px;
  font-size:14px;
  outline:none;
  transition:all 0.2s ease;
}
.lead-form .form-input::placeholder{color:rgba(255,255,255,.45)}
.lead-form .form-input:focus{border-color:#fff;background:rgba(255,255,255,.12)}
.lead-form .form-select{
  width:100%;
  height:42px;
  border-radius:10px;
  border:1.5px solid rgba(255,255,255,.3);
  background:rgba(255,255,255,.08);
  color:#fff;
  padding:0 14px;
  font-size:14px;
  outline:none;
  cursor:pointer;
  appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='white' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 14px center;
}
.lead-form .form-select option{background:#dc2626;color:#fff}
.lead-form #submitBtn{
  width:100%;
  max-width:180px;
  height:42px;
  border:none;
  border-radius:10px;
  background:#fff;
  color:#dc2626;
  font-size:13px;
  font-weight:600;
  cursor:pointer;
  transition:all 0.2s ease;
}
.lead-form #submitBtn:hover{background:#fef2f2;transform:translateY(-1px);box-shadow:0 4px 12px rgba(0,0,0,0.1)}
.lead-form #submitBtn:disabled{opacity:0.7;cursor:not-allowed;transform:none}
.lead-illustration{width:100%;max-width:280px}
.lead-illustration svg{width:100%;height:auto;display:block;filter:drop-shadow(0 16px 32px rgba(0,0,0,0.12))}
.lead-illustration-img{
  width:400px;
  max-width:400px;
  height:auto;
  border-radius:16px;
  filter:drop-shadow(0 16px 32px rgba(0,0,0,0.15));
}

/* Lead Tablet */
@media(max-width:900px){
  .lead-card{
    grid-template-columns:1fr;
    text-align:center;
    padding:28px 24px;
    gap:20px;
  }
  .lead-left{text-align:center}
  .lead-title{text-align:center}
  .lead-sub{text-align:center;margin-left:auto;margin-right:auto}
  .lead-form{margin:0 auto}
  .lead-row{grid-template-columns:1fr}
  .lead-form #submitBtn{width:100%;max-width:100%}
  .lead-right{order:-1;width:100%;display:flex;justify-content:center}
  .lead-illustration{max-width:240px}
  .lead-illustration-img{max-width:320px}
}

/* Lead Mobile */
@media(max-width:480px){
  .lead-section{padding:2rem 0}
  .lead-card{
    padding:20px 16px;
    border-radius:16px;
    gap:16px;
  }
  .lead-title{font-size:18px}
  .lead-sub{font-size:13px;margin-bottom:12px}
  .lead-form .form-input,
  .lead-form .form-select{height:40px;font-size:13px}
  .lead-form #submitBtn{height:40px}
  .lead-right{order:-1;display:flex;justify-content:center}
  .lead-illustration-img{width:300px;max-height:220px;height:auto;object-fit:contain}
}

/* === FIXES & IMPROVEMENTS === */

/* 2. Одинаковые карточки "Зачем отзывы" */
.section-muted .cards-grid .card-horizontal {
  min-height: 140px;
  display: flex;
  align-items: flex-start;
}
.section-muted .cards-grid .card-horizontal > div:last-child {
  flex: 1;
}
.section-muted .cards-grid .card-horizontal h3 {
  min-height: 2.6em;
  display: flex;
  align-items: center;
}
@media (max-width: 768px) {
  .section-muted .cards-grid .card-horizontal {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .section-muted .cards-grid .card-horizontal h3 {
    justify-content: center;
    text-align: center;
  }
  .section-muted .cards-grid .card-horizontal > div:last-child {
    text-align: center;
  }
}

/* 3. Меньшие тарифы */
.tariff-card {
  padding: clamp(20px, 3vw, 28px) clamp(16px, 2.5vw, 24px) !important;
}
.tariff-price span {
  font-size: 42px !important;
}
.tariff-price small {
  font-size: 22px !important;
}
@media(max-width: 420px) {
  .tariff-price span { font-size: 36px !important; }
  .tariff-price small { font-size: 18px !important; }
}
.tariff-pill {
  padding: 6px 10px;
  font-size: 12px;
  margin-bottom: 14px;
}
.tariff-note {
  font-size: 13px;
}

/* 4. Анимация Guide иллюстрации */
.guide-illus {
  animation: floatGuide 4s ease-in-out infinite;
}
@keyframes floatGuide {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-8px) rotate(1deg); }
  50% { transform: translateY(-4px) rotate(0deg); }
  75% { transform: translateY(-10px) rotate(-1deg); }
}
.guide-illus rect:nth-child(1) { animation: paperStack1 3s ease-in-out infinite; }
.guide-illus rect:nth-child(2) { animation: paperStack2 3s ease-in-out infinite 0.2s; }
.guide-illus rect:nth-child(3) { animation: paperStack3 3s ease-in-out infinite 0.4s; }
@keyframes paperStack1 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-3px, -3px); }
}
@keyframes paperStack2 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-2px, -2px); }
}
@keyframes paperStack3 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(0, 0); }
}

/* 5. Анимация CTA иллюстрации */
.bubble.gray {
  animation: bubbleFloat1 4s ease-in-out infinite;
}
.bubble.green {
  animation: bubbleFloat2 4.5s ease-in-out infinite 0.5s;
}
@keyframes bubbleFloat1 {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.9; }
}
@keyframes bubbleFloat2 {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; }
}
.user-icon {
  animation: userPulse 3s ease-in-out infinite;
}
@keyframes userPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.2); }
  50% { box-shadow: 0 0 20px 5px rgba(255,255,255,0.15); }
}

/* 6. Одинаковые карточки "Преимущества" */
#about .cards-grid .card-horizontal {
  min-height: 160px;
  display: flex;
  align-items: flex-start;
}
#about .cards-grid .card-horizontal > div:last-child {
  flex: 1;
  display: flex;
  flex-direction: column;
}
#about .cards-grid .card-horizontal h3 {
  min-height: 2.6em;
  display: flex;
  align-items: center;
  line-height: 1.3;
}
#about .cards-grid .card-horizontal p {
  flex: 1;
}
@media (max-width: 768px) {
  #about .cards-grid .card-horizontal {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  #about .cards-grid .card-horizontal h3 {
    justify-content: center;
    text-align: center;
  }
  #about .cards-grid .card-horizontal > div:last-child {
    text-align: center;
    align-items: center;
  }
  #about .cards-grid .card-horizontal p {
    text-align: center;
  }
}

/* 7. Select стили для формы */
.form-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.6)' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.form-select:hover {
  border-color: rgba(255,255,255,0.3);
}
.form-select:focus {
  border-color: #fff;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.15);
}
.form-select option {
  background: #1a1a1a;
  color: #fff;
  padding: 12px;
}

/* ============================================
   MOBILE RESPONSIVE STYLES - ПОЛНАЯ ОПТИМИЗАЦИЯ
   ============================================ */

/* === GLOBAL MOBILE === */
@media (max-width: 768px) {
  html {
    scroll-padding-top: 70px;
  }
  
  .container {
    padding: 0 16px;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .section-header {
    margin-bottom: 2rem;
  }
  
  .section-header h2 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    line-height: 1.2;
  }
  
  .section-header p {
    font-size: 0.9375rem;
    line-height: 1.5;
  }
}

/* === HEADER MOBILE === */
@media (max-width: 1023px) {
  .header {
    padding: 8px 12px 0;
  }
  
  .header .container {
    height: 56px;
    padding: 0 4px 0 16px;
  }
  
  .logo-group {
    gap: 10px;
  }
  
  .logo {
    font-size: 1.125rem;
  }
  
  .logo-img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
  }
  
  .logo-tagline {
    font-size: 0.6875rem;
  }
  
  .btn-header {
    padding: 10px 18px;
    font-size: 0.8125rem;
  }
}

@media (max-width: 768px) {
  .header {
    padding: 8px 12px 0;
  }
  
  .header .container {
    height: 52px;
    padding: 0 4px 0 14px;
  }
  
  .logo-group {
    gap: 8px;
  }
  
  .logo {
    font-size: 1rem;
  }
  
  .logo-img {
    width: 32px;
    height: 32px;
    border-radius: 7px;
  }
  
  .logo-tagline {
    display: none;
  }
  
  .btn-header {
    padding: 8px 14px;
    font-size: 0.75rem;
  }
}

@media (max-width: 640px) {
  .header {
    padding: 6px 10px 0;
  }
  
  .header .container {
    height: 48px;
    padding: 0 4px 0 12px;
  }
  
  .logo-img {
    width: 28px;
    height: 28px;
  }
  
  .logo {
    font-size: 0.9375rem;
  }
  
  .btn-header {
    display: none;
  }
}

/* === HERO MOBILE === */
@media (max-width: 768px) {
  .hero {
    padding: 2.5rem 0 3.5rem;
  }
  
  .hero-grid {
    padding: 0 16px;
    text-align: center;
  }
  
  .badge {
    font-size: 0.75rem;
    padding: 8px 14px;
    margin-bottom: 1rem;
  }
  
  .hero h1 {
    font-size: 1.625rem;
    line-height: 1.2;
    margin-bottom: 1rem;
  }
  
  .hero .lead {
    font-size: 0.9375rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
  }
  
  .hero-actions {
    margin-bottom: 1.5rem;
  }
  
  .hero .btn-primary {
    width: 100%;
    max-width: 280px;
    padding: 14px 24px;
    font-size: 0.9375rem;
  }
  
  .hero-meta {
    gap: 1.25rem;
    flex-direction: column;
    align-items: center;
  }
  
  .hm-item {
    font-size: 0.875rem;
  }
  
  .hero-stars {
    display: none;
  }
}

/* === CARDS MOBILE === */
@media (max-width: 768px) {
  .cards-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .card {
    padding: 1.25rem;
    border-radius: 16px;
  }
  
  .card-horizontal {
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
    min-height: auto !important;
  }
  
  .card-horizontal .card-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
  }
  
  .card-horizontal .card-icon svg {
    width: 24px;
    height: 24px;
  }
  
  .card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    min-height: auto !important;
  }
  
  .card p {
    font-size: 0.875rem;
    line-height: 1.5;
  }
}

/* === QUIZ/OFFER SECTION MOBILE === */
@media (max-width: 768px) {
  .offer-section {
    padding: 2rem 0;
  }
  
  .offer-shell {
    border-radius: 20px;
  }
  
  .offer-top {
    padding: 24px 20px;
  }
  
  .offer-top h2 {
    font-size: 1.25rem;
    line-height: 1.25;
    margin-bottom: 0.75rem;
  }
  
  .offer-top p {
    font-size: 0.875rem;
  }
  
  .offer-stars {
    margin-bottom: 1rem;
  }
  
  .offer-stars span {
    font-size: 20px;
  }
  
  .offer-bottom {
    padding: 24px 20px;
  }
  
  .offer-bottom .quiz-card {
    padding: 20px 16px;
    border-radius: 16px;
  }
  
  .offer-bottom .quiz-card h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  
  .quiz-label {
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
  }
  
  .checkbox-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }
  
  .checkbox-item {
    padding: 10px 12px;
    border-radius: 10px;
  }
  
  .checkbox-item label {
    font-size: 0.8125rem;
  }
  
  .checkbox-item input {
    width: 18px;
    height: 18px;
  }
  
  .quiz-buttons {
    flex-direction: row;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .quiz-buttons .btn {
    flex: 1 1 140px;
    max-width: 180px;
    min-width: 140px;
    padding: 0.875rem 1.5rem;
    font-size: 0.9375rem;
  }
  
  .quiz-form-row {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .quiz-form-row .form-group {
    max-width: none;
    min-width: auto;
  }
}

/* === TARIFFS MOBILE === */
@media (max-width: 768px) {
  .tariffs-section {
    padding: 2.5rem 0 2rem;
  }
  
  .tariffs-surface {
    padding: 24px 16px;
    border-radius: 20px;
  }
  
  .tariffs-header {
    margin-bottom: 1.5rem;
  }
  
  .tariffs-header h2 {
    font-size: 1.375rem;
  }
  
  .tariffs-header p {
    font-size: 0.8125rem;
  }
  
  .tariffs-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  
  .tariff-card {
    padding: 16px 12px !important;
    border-radius: 14px;
  }
  
  .tariff-pill {
    font-size: 10px;
    padding: 4px 8px;
    margin-bottom: 10px;
    border-radius: 6px;
  }
  
  .tariff-price span {
    font-size: 28px !important;
  }
  
  .tariff-price small {
    font-size: 16px !important;
    margin-left: 4px;
  }
  
  .tariff-note {
    font-size: 11px;
  }
  
  .tariffs-actions {
    margin-top: 20px;
  }
  
  .tariffs-actions .btn {
    width: 100%;
    padding: 14px 24px;
  }
}

/* === GUIDE CTA MOBILE === */
@media (max-width: 768px) {
  .guide-cta-section {
    padding: 0 0 2.5rem;
  }
  
  .guide-cta {
    padding: 24px 20px;
    border-radius: 20px;
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .guide-cta-left h2 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
  }
  
  .guide-cta-subtitle {
    font-size: 0.875rem;
    margin-bottom: 1rem;
  }
  
  .guide-cta-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .guide-cta-buttons .btn {
    width: 100%;
    padding: 14px 20px;
    font-size: 0.9375rem;
  }
  
  .guide-cta-right {
    order: -1;
  }
  
  .guide-illus {
    width: 300px;
    max-height: 220px;
    margin: 0 auto;
  }
}

/* === GUARANTEES MOBILE === */
@media (max-width: 768px) {
  .guarantees-list {
    gap: 0.75rem;
  }
  
  .guarantee-item {
    padding: 1rem;
    font-size: 0.875rem;
    border-radius: 12px;
  }
  
  .guarantee-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
  }
  
  .guarantee-item p {
    font-size: 0.875rem;
  }
  
  .buttons-center {
    gap: 0.75rem;
    margin-top: 1.5rem;
  }
  
  .buttons-center .btn {
    width: 100%;
    max-width: none;
    padding: 14px 20px;
  }
}

/* === STEPS MOBILE === */
@media (max-width: 768px) {
  .steps-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
  
  .step-card {
    padding: 1.25rem 1rem;
    border-radius: 14px;
  }
  
  .step-number {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }
  
  .step-card h3 {
    font-size: 0.9375rem;
    margin-bottom: 0.5rem;
  }
  
  .step-card p {
    font-size: 0.8125rem;
    line-height: 1.4;
  }
}

/* === CASES SLIDER MOBILE === */
@media (max-width: 768px) {
  .cases-section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .section-title span {
    font-size: 0.75rem;
  }
  
  .section-title h2 {
    font-size: 1.375rem;
  }
  
  .cases-nav {
    display: none;
  }
  
  .cases-nav-bottom {
    display: flex;
  }
  
  .cases-nav-btn {
    width: 40px;
    height: 40px;
  }
  
  .cases-slide {
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.25rem;
    border-radius: 16px;
  }
  
  .case-slide-image {
    height: 220px;
    border-radius: 12px;
  }
  
  .case-slide-content {
    padding: 0;
  }
  
  .case-slide-title {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
  }
  
  .case-slide-row {
    margin-bottom: 0.5rem;
  }
  
  .case-slide-label {
    font-size: 0.75rem;
  }
  
  .case-slide-value {
    font-size: 0.8125rem;
  }
  
  .case-slide-rating {
    gap: 1rem;
    margin: 1rem 0;
  }
  
  .case-rating-item .value {
    font-size: 1.5rem;
  }
  
  .case-slide-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .case-slide-buttons .btn {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.875rem;
  }
}

/* === SERVICES SECTION MOBILE === */
@media (max-width: 768px) {
  .section-dark {
    padding: 3rem 0;
  }
  
  .services-header {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
  }
  
  .services-header h2 {
    font-size: 1.375rem;
  }
  
  .services-header-right {
    display: none;
  }
  
  .btn-green-outline {
    padding: 10px 16px;
    font-size: 0.8125rem;
  }
  
  .services-nav-btn {
    width: 40px;
    height: 40px;
  }
  
  /* Mobile services bottom navigation */
  .section-dark .container {
    position: relative;
  }
  
  .services-mobile-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 1.5rem;
  }
  
  .services-mobile-nav .services-nav-btn {
    width: 48px;
    height: 48px;
    background: rgba(60,60,60,0.95);
    border-radius: 12px;
  }
  
  .services-mobile-nav .btn-green-outline {
    flex: 1;
    max-width: 200px;
    background: #ef4444;
    color: #fff;
    border-color: #ef4444;
    border-radius: 50px;
    padding: 14px 24px;
    font-size: 14px;
  }
  
  .services-mobile-nav {
    display: flex;
  }
  
  .services-slider {
    gap: 0.75rem;
    padding-bottom: 0.5rem;
  }
  
  .service-card-new {
  flex: 0 0 78%;
  min-width: 260px;
  max-width: 340px;
  padding: 1.5rem 1.25rem;
  border-radius: 18px;
}

.service-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 1rem;
    border-radius: 14px;
  }
  
  .service-icon img,
  .service-icon svg {
    width: 32px;
    height: 32px;
  }
  
  .service-card-new .service-name {
    font-size: 0.875rem;
  }
  
  .service-card-new .service-desc {
    font-size: 0.75rem;
    min-height: 32px;
    margin-bottom: 0.5rem;
  }
  
  .service-card-new .service-price {
    font-size: 0.8125rem;
    margin-bottom: 1rem;
  }
  
  .service-card-new .btn {
    padding: 10px 16px;
    font-size: 0.8125rem;
  }
}

/* === FAQ MOBILE - see COMPREHENSIVE MOBILE FIX === */

/* === FOOTER MOBILE === */
@media (max-width: 768px) {
  .footer {
    padding: 2.5rem 0 1.5rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  
  .footer h3 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }
  
  .footer h4 {
    font-size: 0.875rem;
    margin-bottom: 0.625rem;
  }
  
  .footer p,
  .footer a {
    font-size: 0.8125rem;
  }
  
  .footer li {
    margin-bottom: 0.375rem;
  }
  
  .footer-bottom {
    padding-top: 1.5rem;
  }
  
  .footer-bottom p {
    font-size: 0.75rem;
  }
}

/* === MODALS MOBILE === */
@media (max-width: 768px) {
  .popup-overlay,
  .case-modal {
    padding: 16px;
  }
  
  .popup-content,
  .case-modal-content {
    padding: 24px 20px;
    border-radius: 20px;
  }
  
  .popup-icon {
    font-size: 2.5rem;
  }
  
  .popup-content h3 {
    font-size: 1.25rem;
  }
  
  .popup-content p {
    font-size: 0.875rem;
  }
  
  .popup-content .form-input {
    height: 48px;
    font-size: 0.9375rem;
  }
  
  .case-modal-title {
    font-size: 1.25rem;
  }
  
  .case-modal-comparison {
    gap: 0.75rem;
  }
  
  .case-modal-item {
    padding: 1rem;
    border-radius: 10px;
  }
  
  .case-modal-rating {
    font-size: 2rem;
  }
  
  .case-modal-details {
    padding: 1rem;
    border-radius: 10px;
  }
  
  .case-modal-details p {
    font-size: 0.8125rem;
  }
}

/* === BACK TO TOP MOBILE === */
@media (max-width: 768px) {
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
  }
  
  .back-to-top svg {
    width: 20px;
    height: 20px;
  }
}

/* === EXTRA SMALL SCREENS === */
@media (max-width: 380px) {
  .container {
    padding: 0 12px;
  }
  
  .hero h1 {
    font-size: 1.375rem;
  }
  
  .tariffs-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .tariff-card {
    padding: 14px 16px !important;
  }
  
  .tariff-price span {
    font-size: 32px !important;
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .checkbox-grid {
    grid-template-columns: 1fr;
  }
}

/* === COMPREHENSIVE MOBILE FIX === */
@media (max-width: 768px) {
  /* Global centering */
  .container {
    padding: 0 16px;
  }
  
  /* All h3 centered */
  h3 {
    text-align: center;
  }
  
  /* Hero section mobile */
  .hero {
    padding: 3rem 0 4rem;
  }
  
  .hero-container {
    gap: 2rem;
    text-align: center;
  }
  
  .hero-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero h1 {
    font-size: 1.75rem;
    text-align: center;
    margin-bottom: 1rem;
  }
  
  .hero .lead {
    font-size: 1rem;
    text-align: center;
    margin-bottom: 1.5rem;
  }
  
  .hero .badge {
    text-align: center;
    margin: 0 auto 1rem;
  }
  
  .hero-actions {
    width: 100%;
    justify-content: center;
    align-items: center;
  }
  
  .hero-actions .btn {
    width: 100%;
    max-width: 300px;
    text-align: center;
    justify-content: center;
  }
  
  .hero-meta {
    width: 100%;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
  }
  
  .hm-item {
    justify-content: center;
  }
  
  .hero-image {
    order: -1;
    justify-content: center;
  }
  
  .hero-image-placeholder {
    max-width: 100%;
    aspect-ratio: 16/9;
    margin: 0 auto;
  }
  
  /* Section headers */
  .section-header {
    text-align: center;
    padding: 0 8px;
  }
  
  .section-header h2 {
    text-align: center;
  }
  
  .section-header p {
    text-align: center;
  }
  
  /* Cards */
  .cards-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .card {
    text-align: center;
  }
  
  .card h3 {
    text-align: center !important;
  }
  
  .card-horizontal {
    flex-direction: column;
    text-align: center !important;
    align-items: center !important;
  }
  
  .card-horizontal > div {
    text-align: center !important;
  }
  
  .card-icon {
    margin: 0 auto 1rem !important;
  }
  
  /* Steps */
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .step-card {
    text-align: center;
  }
  
  .step-card h3 {
    text-align: center;
  }
  
  /* Pricing */
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .pricing-card {
    text-align: center;
  }
  
  .pricing-card h3 {
    text-align: center;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  
  .footer-grid > div {
    text-align: center;
  }
  
  .footer-grid h3,
  .footer-grid h4 {
    text-align: center;
  }
  
  .footer-grid ul {
    text-align: center;
  }
  
  .footer-bottom {
    text-align: center;
  }
  
  /* Buttons centering */
  .buttons-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
  }
  
  .buttons-center .btn {
    width: 100%;
    max-width: 300px;
    text-align: center;
    justify-content: center;
  }
  
  /* CTA box */
  .cta-box {
    text-align: center;
  }
  
  .cta-box h2,
  .cta-box h3,
  .cta-box p {
    text-align: center;
  }
  
  /* Guarantees */
  .guarantees-list {
    grid-template-columns: 1fr;
  }
  
  .guarantee-item {
    justify-content: center;
    text-align: center;
  }
  
  /* Services slider */
  .services-header {
    text-align: center;
    align-items: center;
  }
  
  .services-header h2 {
    text-align: center;
  }
  
  .service-card-new h3 {
    text-align: center;
  }
  
  /* Cases section */
  .cases-section-header {
    text-align: center;
    align-items: center;
  }
  
  .section-title {
    text-align: center;
  }
  
  .case-slide-title {
    text-align: center;
  }
  
  /* Quiz */
  .quiz-card {
    text-align: center;
  }
  
  .quiz-card h3 {
    text-align: center;
  }
  
  .checkbox-grid {
    justify-items: center;
  }
  
  /* Contact form */
  #contact .section-header {
    text-align: center;
  }
  
  /* Guide section */
  .guide-section {
    text-align: center;
  }
  
  .guide-section h2,
  .guide-section h3,
  .guide-section p {
    text-align: center;
  }
  
  /* About section */
  .about-content h3 {
    text-align: center;
  }
  
  /* Tariff cards */
  .tariff-card h3 {
    text-align: center;
  }
}

/* === SMALL MOBILE (480px and below) === */
@media (max-width: 480px) {
  .hero {
    padding: 2.5rem 0 3rem;
  }
  
  .hero h1 {
    font-size: 1.5rem;
    line-height: 1.2;
  }
  
  .hero .lead {
    font-size: 0.9375rem;
  }
  
  .hero-actions .btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.9375rem;
  }
  
  .hero-meta {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .section {
    padding: 2.5rem 0;
  }
  
  .section-header h2 {
    font-size: 1.375rem;
  }
  
  .section-header p {
    font-size: 0.9375rem;
  }
  
  .card {
    padding: 1.25rem;
  }
  
  .btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
  }
}

/* === TOUCH OPTIMIZATIONS === */
@media (max-width: 768px) {
  .btn,
  .checkbox-item,
  .faq-question,
  .service-card-new,
  .tariff-card {
    -webkit-tap-highlight-color: transparent;
  }
  
  .btn:active {
    transform: scale(0.98);
  }
  
  /* Disable hover effects on touch */
  @media (hover: none) {
    .card:hover,
    .tariff-card:hover,
    .service-card-new:hover {
      transform: none;
      box-shadow: inherit;
    }
  }
}

/* === SAFE AREAS FOR NOTCHED PHONES === */
@supports (padding: max(0px)) {
  .header {
    padding-left: max(12px, env(safe-area-inset-left));
    padding-right: max(12px, env(safe-area-inset-right));
  }
  
  .footer {
    padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
  }
  
  .back-to-top {
    bottom: max(20px, env(safe-area-inset-bottom));
    right: max(20px, env(safe-area-inset-right));
  }
}





/* Hero Image */
.hero-image{position:relative}
.hero-img{width:100%;max-width:480px;height:auto;border-radius:var(--radius-lg);object-fit:cover;animation:fadeInRight 0.8s ease-out 0.3s backwards;filter:drop-shadow(0 16px 32px rgba(0,0,0,0.12))}
@media(max-width:1023px){.hero-img{max-width:380px}}

/* Hero Floating Badges */
.hero-badge{
  position:absolute;
  background:rgba(255,255,255,0.97);
  backdrop-filter:blur(10px);
  border-radius:10px;
  padding:8px 12px;
  box-shadow:0 4px 16px rgba(0,0,0,0.1);
  display:flex;
  flex-direction:column;
  gap:2px;
  z-index:10;
  animation:float 3s ease-in-out infinite;
}
.hero-badge-num{
  font-size:1.1rem;
  font-weight:700;
  line-height:1;
}
.hero-badge-num small{font-size:0.7rem}
.hero-badge-num.orange{color:#f97316}
.hero-badge-num.green{color:#ef4444}
.hero-badge-text{
  font-size:0.55rem;
  color:#525252;
  line-height:1.2;
  font-weight:500;
}
.hero-badge-price{
  font-size:0.9rem;
  font-weight:700;
  color:#0a0a0a;
}
.hero-badge-sub{
  font-size:0.55rem;
  color:#737373;
}

/* Badge positions */
.hero-badge-1{top:5%;left:15%;animation-delay:0s}
.hero-badge-2{top:20%;right:-10%;animation-delay:0.5s}
.hero-badge-3{top:50%;left:-6%;animation-delay:1s}
.hero-badge-4{bottom:12%;right:2%;animation-delay:1.5s}

@media(max-width:1200px){
  .hero-badge-1{top:3%;left:10%}
  .hero-badge-2{top:15%;right:-5%}
  .hero-badge-3{top:55%;left:-3%}
  .hero-badge-4{bottom:8%;right:5%}
}
@media(max-width:1023px){
  .hero-badge-1{top:0;left:15%}
  .hero-badge-2{top:5%;right:0}
  .hero-badge-3{bottom:30%;left:0}
  .hero-badge-4{bottom:5%;right:10%}
}
@media(max-width:640px){
  .hero-image{margin-bottom:0.5rem}
  .hero-badge{padding:6px 8px;border-radius:8px}
  .hero-badge-num{font-size:0.9rem}
  .hero-badge-num small{font-size:0.6rem}
  .hero-badge-text{font-size:0.5rem}
  .hero-badge-price{font-size:1rem}
  .hero-badge-sub{font-size:0.5rem}
  .hero-badge-1{top:-2%;left:10%}
  .hero-badge-2{top:3%;right:2%}
  .hero-badge-3{bottom:22%;left:2%}
  .hero-badge-4{bottom:2%;right:8%}
}
@media(max-width:480px){
  .hero-badge{padding:5px 7px;border-radius:6px}
  .hero-badge-num{font-size:0.8rem}
  .hero-badge-num small{font-size:0.5rem}
  .hero-badge-text{font-size:0.45rem}
  .hero-badge-price{font-size:0.7rem}
  .hero-badge-1{top:0;left:8%}
  .hero-badge-2{top:5%;right:3%}
  .hero-badge-3{bottom:18%;left:3%}
  .hero-badge-4{bottom:3%;right:5%}
}

/* ========================================
   DIAMOND HERO SLIDER
======================================== */
.hero-slider-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.diamond-slider {
  position: relative;
  width: 100%;
  max-width: 400px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Орбиты */
.diamond-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 200px;
  height: 200px;
  border: 2px solid rgba(239,68,68,0.15);
  border-radius: 24px;
  animation: diamond-orbit-spin 12s linear infinite;
  pointer-events: none;
}
.diamond-orbit-2 {
  width: 260px;
  height: 260px;
  border-color: rgba(239,68,68,0.08);
  animation-direction: reverse;
  animation-duration: 18s;
}
@keyframes diamond-orbit-spin {
  from { transform: translate(-50%, -50%) rotate(45deg); }
  to { transform: translate(-50%, -50%) rotate(405deg); }
}

/* Летающие частицы */
.diamond-particle {
  position: absolute;
  width: 12px;
  height: 12px;
  background: linear-gradient(135deg, #ef4444, #f87171);
  transform: rotate(45deg);
  border-radius: 4px;
  opacity: 0.6;
  animation: diamond-float 4s ease-in-out infinite;
  pointer-events: none;
}
.diamond-particle-1 { top: 10%; left: 20%; animation-delay: 0s; }
.diamond-particle-2 { top: 20%; right: 15%; animation-delay: 1s; }
.diamond-particle-3 { bottom: 25%; left: 15%; animation-delay: 2s; }
.diamond-particle-4 { bottom: 15%; right: 20%; animation-delay: 3s; }
@keyframes diamond-float {
  0%, 100% { transform: rotate(45deg) translateY(0) scale(1); opacity: 0.6; }
  50% { transform: rotate(45deg) translateY(-15px) scale(1.2); opacity: 0.9; }
}

/* Слайды */
.diamond-slides {
  position: relative;
  z-index: 5;
}
.diamond-slide {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}
.diamond-slide.active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
}

/* Diamond форма */
.diamond-shape {
  width: 140px;
  height: 140px;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  transform: rotate(45deg);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: diamond-pulse 3s ease-in-out infinite;
  box-shadow: 
    0 20px 50px rgba(239,68,68,0.35),
    0 0 0 6px rgba(239,68,68,0.1),
    inset 0 -5px 20px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: all 0.3s ease;
}
.diamond-shape:hover {
  box-shadow: 
    0 25px 60px rgba(239,68,68,0.45),
    0 0 0 10px rgba(239,68,68,0.15),
    inset 0 -5px 20px rgba(0,0,0,0.1);
}
@keyframes diamond-pulse {
  0%, 100% { transform: rotate(45deg) scale(1); }
  50% { transform: rotate(45deg) scale(1.05); }
}

.diamond-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
  transform: rotate(-45deg);
  filter: brightness(0) invert(1);
}
.diamond-emoji {
  font-size: 2.5rem;
  transform: rotate(-45deg);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Навигация */
.diamond-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
}
.diamond-nav-item {
  width: 48px;
  height: 48px;
  background: #fff;
  border: 2px solid #e5e7eb;
  transform: rotate(45deg);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  position: relative;
  overflow: hidden;
}
.diamond-nav-item span:first-child {
  font-size: 1.1rem;
  transform: rotate(-45deg);
  transition: transform 0.3s ease;
}
.diamond-nav-item .nav-label {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%) rotate(-45deg);
  font-size: 0.6rem;
  font-weight: 600;
  color: #6b7280;
  white-space: nowrap;
  opacity: 0;
  transition: all 0.3s ease;
}
.diamond-nav-item:hover .nav-label {
  bottom: -22px;
  opacity: 1;
}
.diamond-nav-item.active {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  border-color: #ef4444;
  transform: rotate(45deg) scale(1.15);
  box-shadow: 0 8px 24px rgba(239,68,68,0.35);
}
.diamond-nav-item.active .nav-label {
  color: #ef4444;
}
.diamond-nav-item:hover:not(.active) {
  border-color: #ef4444;
  transform: rotate(45deg) translateY(-4px);
}

/* Badges позиционирование для diamond */
.diamond-slider .hero-badge {
  z-index: 10;
}
.diamond-slider .hero-badge-1 {
  top: 5%;
  left: 5%;
  animation-delay: 0s;
}
.diamond-slider .hero-badge-2 {
  top: 10%;
  right: 0;
  animation-delay: 0.5s;
}
.diamond-slider .hero-badge-3 {
  bottom: 15%;
  left: 0;
  animation-delay: 1s;
}

/* Responsive */
@media (max-width: 1023px) {
  .hero-slider-container {
    order: -1;
  }
  .diamond-slider {
    height: 240px;
    max-width: 350px;
  }
  .diamond-shape {
    width: 120px;
    height: 120px;
  }
  .diamond-orbit {
    width: 170px;
    height: 170px;
  }
  .diamond-orbit-2 {
    width: 220px;
    height: 220px;
  }
  .diamond-slider .hero-badge-1 {
    top: 0;
    left: 10%;
  }
  .diamond-slider .hero-badge-2 {
    top: 5%;
    right: 5%;
  }
  .diamond-slider .hero-badge-3 {
    bottom: 10%;
    left: 5%;
  }
}

@media (max-width: 640px) {
  .diamond-slider {
    height: 220px;
    max-width: 300px;
  }
  .diamond-shape {
    width: 100px;
    height: 100px;
    border-radius: 18px;
  }
  .diamond-icon {
    width: 45px;
    height: 45px;
  }
  .diamond-emoji {
    font-size: 2rem;
  }
  .diamond-orbit {
    width: 140px;
    height: 140px;
  }
  .diamond-orbit-2 {
    width: 180px;
    height: 180px;
  }
  .diamond-particle {
    width: 8px;
    height: 8px;
  }
  .diamond-nav-item {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }
  .diamond-nav-item span:first-child {
    font-size: 0.95rem;
  }
  .diamond-slider .hero-badge {
    padding: 5px 8px;
  }
  .diamond-slider .hero-badge-num {
    font-size: 0.85rem;
  }
  .diamond-slider .hero-badge-text {
    font-size: 0.45rem;
  }
}

@media (max-width: 480px) {
  .diamond-slider {
    height: 200px;
  }
  .diamond-shape {
    width: 90px;
    height: 90px;
    border-radius: 16px;
  }
  .diamond-nav {
    gap: 10px;
  }
  .diamond-nav-item {
    width: 36px;
    height: 36px;
    border-radius: 8px;
  }
  .diamond-nav-item span:first-child {
    font-size: 0.85rem;
  }
}
/* Tech Slider Styles */
.tech-hero-container {
  position: relative;
  width: 100%;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
}

.tech-scene {
  position: relative;
  width: 100%;
  max-width: 450px;
  height: 450px;
  perspective: 2000px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Радар */
.radar-system {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(239, 68, 68, 0.15);
  border-radius: 50%;
  pointer-events: none;
}

.radar-beam {
  position: absolute;
  width: 50%;
  height: 50%;
  background: conic-gradient(from 0deg, var(--accent-red) 0%, transparent 30%);
  top: 0; left: 0;
  transform-origin: 100% 100%;
  border-radius: 100% 0 0 0;
  animation: rotateRadar 5s linear infinite;
  opacity: 0.2;
}

@keyframes rotateRadar {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Карточки */
.card-stack {
  position: relative;
  width: 280px;
  height: 350px;
  transform-style: preserve-3d;
  transition: transform 0.1s ease-out;
}

.tech-card {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 24px;
  padding: 25px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tech-card.active {
  opacity: 1;
  pointer-events: all;
  transform: translateZ(100px);
  border-color: var(--accent-red);
  box-shadow: 0 0 40px rgba(239, 68, 68, 0.15);
}

.tech-card.next {
  opacity: 0.3;
  transform: translateZ(-100px) translateY(-30px) scale(0.9);
}

.tech-card.prev {
  opacity: 0.05;
  transform: translateZ(-250px) translateY(-60px) scale(0.8);
}

/* Контент внутри */
.platform-logo { font-size: 2.5rem; }
.status-dot {
  width: 10px; height: 10px;
  background: var(--accent-red);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-red);
  animation: tech-blink 1.5s infinite;
}

@keyframes tech-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.big-rating {
  font-size: 3.5rem;
  font-weight: 800;
  margin: 5px 0;
  color: white;
}

.label { font-size: 0.7rem; color: #888; text-transform: uppercase; letter-spacing: 1px; }

.data-visual { display: flex; align-items: flex-end; gap: 4px; height: 40px; }
.bar {
  flex: 1; background: var(--accent-red); opacity: 0.4;
  border-radius: 2px; animation: barMove 2s infinite alternate;
}

@keyframes barMove { from { height: 20%; } to { height: 100%; } }

/* Навигация */
.tech-nav {
  position: absolute;
  bottom: -40px;
  display: flex;
  gap: 12px;
}

.tech-nav-dot {
  width: 10px; height: 10px;
  border: 1px solid var(--accent-red);
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
}

.tech-nav-dot.active {
  background: var(--accent-red);
  box-shadow: 0 0 10px var(--accent-red);
  transform: scale(1.2);
}

.quiz-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0;
}

.text-gradient {
  background: linear-gradient(90deg, var(--accent-red), #dc2626);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.glass-terminal {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 32px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.03);
}

.glass-progress-bar {
  width: 100%; height: 6px;
  background: #e2e8f0; border-radius: 10px; margin: 10px 0 30px;
}

.progress-fill {
  width: 33.3%; height: 100%;
  background: var(--accent-red);
  border-radius: 10px;
  transition: 0.5s ease;
}

.step-content { display: none; }
.step-content.active { display: block; animation: fadeInRight 0.4s ease; }

.platforms-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 25px; }
.platform-option input { display: none; }
.opt-card {
  background: #fff; border: 1px solid #e2e8f0;
  padding: 15px; border-radius: 16px; text-align: center; cursor: pointer; transition: 0.2s;
}

.platform-option input:checked + .opt-card {
  border-color: var(--accent-red); background: #fef2f2; color: var(--accent-red);
}

.next-btn, .finish-btn {
  width: 100%; padding: 18px; border-radius: 16px; border: none;
  background: #1e293b; color: white; font-weight: 700; cursor: pointer;
}

.finish-btn { background: var(--accent-red); }

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(15px); }
  to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 992px) {
  .quiz-layout { grid-template-columns: 1fr; text-align: center; }
}
/* ========================================
   HERO TECH SCENE - 3D RADAR SLIDER
======================================== */
.hero-tech-scene {
  position: relative;
  width: 100%;
  max-width: 420px;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 2000px;
}

/* Радар */
.radar-system {
  position: absolute;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(239, 68, 68, 0.15);
  border-radius: 50%;
  pointer-events: none;
}
.radar-system::before {
  content: '';
  position: absolute;
  inset: 25px;
  border: 1px dashed rgba(239, 68, 68, 0.1);
  border-radius: 50%;
}
.radar-system::after {
  content: '';
  position: absolute;
  inset: 55px;
  border: 1px dashed rgba(239, 68, 68, 0.08);
  border-radius: 50%;
}
.radar-beam {
  position: absolute;
  width: 50%;
  height: 50%;
  background: conic-gradient(from 0deg, #ef4444 0%, transparent 30%);
  top: 0;
  left: 50%;
  transform-origin: 0% 100%;
  border-radius: 100% 0 0 0;
  animation: rotateRadar 4s linear infinite;
  opacity: 0.25;
}
@keyframes rotateRadar {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Стек карточек */
.card-stack {
  position: relative;
  width: 240px;
  height: 300px;
  transform-style: preserve-3d;
  transition: transform 0.1s ease-out;
  z-index: 5;
}

.tech-card {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 24px;
  padding: 24px;
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.3);
}

.tech-card.active {
  opacity: 1;
  transform: translateZ(100px) translateY(0);
  border-color: #ef4444;
  box-shadow: 0 0 50px rgba(239, 68, 68, 0.25), 0 25px 50px rgba(0, 0, 0, 0.3);
}
.tech-card.next {
  opacity: 0.4;
  transform: translateZ(0px) translateY(-35px) scale(0.92);
}
.tech-card.prev {
  opacity: 0.1;
  transform: translateZ(-100px) translateY(-70px) scale(0.84);
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.platform-logo {
  font-size: 2rem;
  filter: drop-shadow(0 0 10px rgba(239, 68, 68, 0.5));
}
.status-dot {
  width: 8px;
  height: 8px;
  background: #ef4444;
  border-radius: 50%;
  box-shadow: 0 0 10px #ef4444;
  animation: statusBlink 1.5s infinite;
}
@keyframes statusBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.card-middle {
  text-align: left;
}
.card-label {
  font-size: 0.7rem;
  opacity: 0.5;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.big-rating {
  font-size: 3.5rem;
  font-weight: 800;
  margin: 0;
  line-height: 1;
  background: linear-gradient(180deg, #fff 0%, #ef4444 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.data-visual {
  height: 50px;
  display: flex;
  align-items: flex-end;
  gap: 4px;
}
.data-visual .bar {
  flex: 1;
  background: linear-gradient(180deg, #ef4444, #dc2626);
  opacity: 0.4;
  border-radius: 3px;
  animation: barGrow 2s ease-in-out infinite alternate;
}
@keyframes barGrow {
  from { height: 20%; }
  to { height: 100%; }
}

/* Навигация */
.stack-nav {
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 10;
}
.stack-nav-item {
  width: 10px;
  height: 10px;
  border: 2px solid #ef4444;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  background: transparent;
}
.stack-nav-item.active {
  background: #ef4444;
  box-shadow: 0 0 12px #ef4444;
  transform: scale(1.3);
}
.stack-nav-item:hover:not(.active) {
  background: rgba(239, 68, 68, 0.3);
}

/* Badges позиционирование */
.hero-tech-scene .hero-badge {
  z-index: 15;
}
.hero-tech-scene .hero-badge-1 {
  top: 0;
  left: -10px;
}
.hero-tech-scene .hero-badge-2 {
  top: 15%;
  right: -20px;
}
.hero-tech-scene .hero-badge-3 {
  bottom: 10%;
  left: -20px;
}

/* Responsive */
@media (max-width: 1023px) {
  .hero-tech-scene {
    order: -1;
    max-width: 360px;
    height: 340px;
    margin: 0 auto;
  }
  .radar-system {
    width: 300px;
    height: 300px;
  }
  .card-stack {
    width: 210px;
    height: 270px;
  }
  .tech-card {
    padding: 20px;
    border-radius: 20px;
  }
  .big-rating {
    font-size: 3rem;
  }
  .stack-nav {
    right: 0;
  }
  .hero-tech-scene .hero-badge-1 {
    top: -5%;
    left: 5%;
  }
  .hero-tech-scene .hero-badge-2 {
    top: 10%;
    right: 0;
  }
  .hero-tech-scene .hero-badge-3 {
    bottom: 5%;
    left: 0;
  }
}

@media (max-width: 640px) {
  .hero-tech-scene {
    max-width: 320px;
    height: 300px;
  }
  .radar-system {
    width: 260px;
    height: 260px;
  }
  .card-stack {
    width: 180px;
    height: 230px;
  }
  .tech-card {
    padding: 16px;
    border-radius: 18px;
  }
  .platform-logo {
    font-size: 1.5rem;
  }
  .big-rating {
    font-size: 2.5rem;
  }
  .data-visual {
    height: 40px;
  }
  .stack-nav {
    flex-direction: row;
    right: 50%;
    top: auto;
    bottom: -30px;
    transform: translateX(50%);
  }
}

@media (max-width: 480px) {
  .hero-tech-scene {
    max-width: 280px;
    height: 260px;
  }
  .radar-system {
    width: 220px;
    height: 220px;
  }
  .card-stack {
    width: 160px;
    height: 200px;
  }
  .tech-card {
    padding: 14px;
  }
  .big-rating {
    font-size: 2rem;
  }
  .hero-tech-scene .hero-badge {
    transform: scale(0.85);
  }
}


/* ========================================
   GLASS QUIZ SECTION - CLEAN VERSION
======================================== */
.quiz-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, #fff 0%, #fef2f2 50%, #fff 100%);
  position: relative;
}

.quiz-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;

  /* Soft tinted card (slightly greener on the left side) */
  background: linear-gradient(
    90deg,
    rgba(239, 68, 68, 0.09) 0%,
    rgba(255, 255, 255, 0.96) 58%,
    rgba(255, 255, 255, 0.96) 100%
  );
  border: 1px solid rgba(239, 68, 68, 0.12);
  border-radius: 36px;
  padding: 56px;
  box-shadow: 0 30px 70px rgba(17, 24, 39, 0.08);
}

/* Left side - Info */
.quiz-info {
  padding-right: 1rem;
  position: relative;
}

/* Декоративные шестерёнки */
.quiz-info .decor-gears {
  position: absolute;
  top: -10px;
  right: 20px;
  width: 100px;
  height: 90px;
  pointer-events: none;
  z-index: 0;
}

.quiz-info .gear {
  position: absolute;
}

.quiz-info .gear--1 {
  width: 60px;
  height: 60px;
  top: 0;
  left: 0;
  animation: gearSpin 10s linear infinite;
  opacity: 0.5;
}

.quiz-info .gear--2 {
  width: 40px;
  height: 40px;
  top: 35px;
  left: 45px;
  animation: gearSpin 7s linear infinite reverse;
  opacity: 0.4;
}

@keyframes gearSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Адаптив для шестерёнок */
@media (max-width: 1024px) {
  .quiz-info .decor-gears {
    width: 90px;
    height: 80px;
    top: -5px;
    right: 10px;
  }
  
  .quiz-info .gear--1 {
    width: 55px;
    height: 55px;
    opacity: 0.4;
  }
  
  .quiz-info .gear--2 {
    width: 35px;
    height: 35px;
    top: 32px;
    left: 40px;
    opacity: 0.35;
  }
}

@media (max-width: 768px) {
  .quiz-info .decor-gears {
    width: 70px;
    height: 65px;
    top: 0;
    right: 0;
  }
  
  .quiz-info .gear--1 {
    width: 45px;
    height: 45px;
    opacity: 0.35;
  }
  
  .quiz-info .gear--2 {
    width: 30px;
    height: 30px;
    top: 25px;
    left: 32px;
    opacity: 0.3;
  }
}

@media (max-width: 480px) {
  .quiz-info .decor-gears {
    width: 55px;
    height: 50px;
    top: 5px;
    right: 5px;
  }
  
  .quiz-info .gear--1 {
    width: 35px;
    height: 35px;
    opacity: 0.3;
  }
  
  .quiz-info .gear--2 {
    width: 22px;
    height: 22px;
    top: 20px;
    left: 25px;
    opacity: 0.25;
  }
}

.quiz-tag {
  display: inline-block;
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1.25rem;
}

.quiz-info h2 {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #111;
}

.quiz-info h2 span {
  color: #ef4444;
}

.quiz-info > p {
  font-size: 1rem;
  color: #6b7280;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.quiz-stats {
  display: flex;
  gap: 2.5rem;
}

.quiz-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.quiz-stat-num {
  font-size: 1.75rem;
  font-weight: 800;
  color: #ef4444;
}

.quiz-stat-text {
  font-size: 0.8rem;
  color: #6b7280;
  line-height: 1.4;
}

/* Right side - Glass Panel */
.glass-quiz-panel {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 
    0 25px 50px rgba(239, 68, 68, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.9) inset;
  position: relative;
  overflow: visible;
}

/* Декоративная летящая ракета */
.decor-rocket-fly {
  position: absolute;
  top: -35px;
  right: -25px;
  width: 70px;
  height: 100px;
  pointer-events: none;
  z-index: 10;
  transform: rotate(-35deg);
  animation: rocketFlyAnim 4s ease-in-out infinite;
}

.decor-rocket-fly svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 5px 15px rgba(239, 68, 68, 0.3));
}

.decor-rocket-fly .rocket-body {
  fill: #ef4444;
}

.decor-rocket-fly .rocket-fin {
  fill: #dc2626;
}

.decor-rocket-fly .rocket-window {
  fill: #fff;
}

.decor-rocket-fly .rocket-window-inner {
  fill: #fecaca;
}

.decor-rocket-fly .rocket-flame {
  fill: #f59e0b;
  animation: flameFlicker 0.25s ease-in-out infinite;
  transform-origin: center top;
}

.decor-rocket-fly .rocket-flame-inner {
  fill: #fbbf24;
  animation: flameFlicker 0.2s ease-in-out infinite 0.1s;
  transform-origin: center top;
}

@keyframes rocketFlyAnim {
  0%, 100% {
    transform: rotate(-35deg) translate(0, 0);
  }
  25% {
    transform: rotate(-38deg) translate(-3px, -8px);
  }
  50% {
    transform: rotate(-32deg) translate(2px, -12px);
  }
  75% {
    transform: rotate(-36deg) translate(-2px, -6px);
  }
}

@keyframes flameFlicker {
  0%, 100% { 
    transform: scaleY(1) scaleX(1); 
    opacity: 1;
  }
  50% { 
    transform: scaleY(1.2) scaleX(0.85); 
    opacity: 0.9;
  }
}

/* Адаптив для ракеты */
@media (max-width: 1024px) {
  .decor-rocket-fly {
    width: 60px;
    height: 85px;
    top: -30px;
    right: -20px;
  }
}

@media (max-width: 768px) {
  .decor-rocket-fly {
    width: 50px;
    height: 70px;
    top: -25px;
    right: -15px;
    opacity: 0.8;
  }
}

@media (max-width: 480px) {
  .decor-rocket-fly {
    width: 40px;
    height: 55px;
    top: -18px;
    right: -10px;
    opacity: 0.7;
  }
}

/* Progress */
.glass-progress {
  height: 4px;
  background: #e5e7eb;
  border-radius: 4px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.glass-progress-bar {
  height: 100%;
  width: 33%;
  background: linear-gradient(90deg, #ef4444, #f87171);
  border-radius: 4px;
  transition: width 0.4s ease;
}

.glass-progress-steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding: 0 4px;
}

.glass-step-num {
  font-size: 0.8rem;
  font-weight: 700;
  color: #d1d5db;
  transition: color 0.3s ease;
}

.glass-step-num.active {
  color: #ef4444;
}

/* Steps */
.glass-step {
  display: none;
}

.glass-step.active {
  display: block;
  animation: stepFadeIn 0.35s ease;
}

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

.glass-step h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 1.25rem;
}

/* Choice Grid - Equal Squares */
.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 1.5rem;
}

.choice-item {
  display: block;
}

.choice-item input {
  display: none;
}

.choice-box {
  aspect-ratio: 1 / 1;
  max-height: 100px;
  background: #fff;
  border: 2px solid #e5e7eb;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  font-weight: 600;
  font-size: 0.9rem;
  color: #374151;
}

.choice-box:hover {
  border-color: #ef4444;
  background: #fef2f2;
}

.choice-icon {
  font-size: 1.75rem;
  line-height: 1;
}

.choice-item input:checked + .choice-box {
  border-color: #ef4444;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.08), rgba(239, 68, 68, 0.15));
  color: #dc2626;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.15);
}

/* Volume choice - no square */
.glass-step[data-step="2"] .choice-box {
  aspect-ratio: auto;
  max-height: none;
  padding: 16px 12px;
}

/* Buttons */
.glass-btn {
  width: 100%;
  padding: 16px 24px;
  border-radius: var(--radius);
  border: none;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.35s var(--ease-out-back);
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.glass-btn:hover {
  transform: translateY(var(--lift-btn));
  box-shadow: 0 10px 26px rgba(239, 68, 68, 0.32);
}

.glass-btn-outline {
  background: #fff;
  border: 2px solid #e5e7eb;
  color: #374151;
}

.glass-btn-outline:hover {
  border-color: #ef4444;
  color: #dc2626;
  background: #fef2f2;
  box-shadow: none;
  transform: none;
}

.glass-btn-group {
  display: flex;
  gap: 12px;
}

.glass-btn-group .glass-btn {
  flex: 1;
}

.glass-btn-group .glass-btn-outline {
  flex: 0 0 120px;
}

/* Form */
.glass-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 1.5rem;
}

.glass-input {
  width: 100%;
  padding: 16px;
  background: #fff;
  border: 2px solid #e5e7eb;
  border-radius: var(--radius);
  font-size: 1rem;
  color: #111;
  transition: all 0.35s var(--ease-out-back);
}

.glass-input:focus {
  outline: none;
  border-color: #ef4444;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

.glass-input::placeholder {
  color: #9ca3af;
}

/* ========================================
   QUIZ RESPONSIVE
======================================== */
@media (max-width: 1024px) {
  .quiz-grid {
    gap: 3rem;
  }
  
  .quiz-info h2 {
    font-size: 1.875rem;
  }
}

@media (max-width: 768px) {
  .quiz-section {
    padding: 3.5rem 0;
  }
  
  .quiz-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 28px;
    border-radius: 28px;
    background: linear-gradient(
      180deg,
      rgba(239, 68, 68, 0.08) 0%,
      rgba(255, 255, 255, 0.96) 70%,
      rgba(255, 255, 255, 0.96) 100%
    );
  }
  
  .quiz-info {
    text-align: center;
    padding-right: 0;
  }
  
  .quiz-stats {
    justify-content: center;
  }
  
  .glass-quiz-panel {
    padding: 24px;
    border-radius: 20px;
  }
  
  .choice-grid {
    gap: 10px;
  }
  
  .choice-box {
    max-height: 90px;
    border-radius: 14px;
  }
  
  .choice-icon {
    font-size: 1.5rem;
  }
  
  .choice-box span:last-child {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .quiz-section {
    padding: 2.5rem 0;
  }
  
  .quiz-tag {
    font-size: 0.7rem;
    padding: 6px 12px;
  }
  
  .quiz-info h2 {
    font-size: 1.5rem;
  }
  
  .quiz-info > p {
    font-size: 0.9rem;
  }
  
  .quiz-stats {
    gap: 1.5rem;
  }
  
  .quiz-stat-num {
    font-size: 1.5rem;
  }
  
  .quiz-stat-text {
    font-size: 0.75rem;
  }
  
  .glass-quiz-panel {
    padding: 20px;
    border-radius: 16px;
    margin: 0 -8px;
  }
  
  .glass-progress-steps {
    margin-bottom: 1.25rem;
  }
  
  .glass-step h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  
  .choice-grid {
    gap: 8px;
  }
  
  .choice-box {
    max-height: 80px;
    border-radius: 12px;
    gap: 4px;
  }
  
  .choice-icon {
    font-size: 1.25rem;
  }
  
  .choice-box span:last-child {
    font-size: 0.8rem;
  }
  
  .glass-step[data-step="2"] .choice-box {
    padding: 14px 10px;
  }
  
  .glass-btn {
    padding: 14px 20px;
    font-size: 0.9rem;
    border-radius: 10px;
  }
  
  .glass-btn-group {
    flex-direction: column-reverse;
    gap: 10px;
  }
  
  .glass-btn-group .glass-btn-outline {
    flex: 1;
  }
  
  .glass-input {
    padding: 14px;
    font-size: 0.95rem;
    border-radius: 10px;
  }
}

@media (max-width: 360px) {
  .quiz-info h2 {
    font-size: 1.35rem;
  }
  
  .glass-quiz-panel {
    padding: 16px;
  }
  
  .choice-box {
    max-height: 70px;
  }
  
  .choice-icon {
    font-size: 1.1rem;
  }
  
  .choice-box span:last-child {
    font-size: 0.75rem;
  }
}

/* ========================================
   GUARANTEES SECTION - ICON CARDS
======================================== */
.guarantees-section {
  padding: 5rem 0;
  background: #fff;
}

.guarantees-header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.guarantees-tag {
  display: inline-block;
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.guarantees-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: #111;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.guarantees-header h2 span {
  color: #ef4444;
}

.guarantees-header p {
  font-size: 1rem;
  color: #6b7280;
  position: relative;
  z-index: 1;
}

.guarantees-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto 3rem;
}

.guarantee-card {
  background: white;
  border-radius: 20px;
  padding: 28px 24px;
  text-align: center;
  border: 1px solid #e5e7eb;
  transition: all 0.35s ease;
}

.guarantee-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(239, 68, 68, 0.12);
  border-color: #ef4444;
}

.guarantee-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #ef4444, #f87171);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.guarantee-icon svg {
  width: 28px;
  height: 28px;
  color: white;
}

.guarantee-text {
  font-weight: 600;
  color: #374151;
  font-size: 0.95rem;
  line-height: 1.4;
}

.guarantees-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 768px) {
  .guarantees-section {
    padding: 3.5rem 0;
  }
  
  .guarantees-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 2rem;
  }
  
  .guarantee-card {
    padding: 24px 16px;
    border-radius: 16px;
  }
  
  .guarantee-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    margin-bottom: 12px;
  }
  
  .guarantee-icon svg {
    width: 24px;
    height: 24px;
  }
  
  .guarantee-text {
    font-size: 0.85rem;
  }
  
  .guarantees-buttons {
    flex-direction: column;
    gap: 12px;
  }
  
  .guarantees-buttons .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .guarantees-section {
    padding: 2.5rem 0;
  }
  
  .guarantees-header {
    margin-bottom: 2rem;
  }
  
  .guarantees-grid {
    gap: 12px;
  }
  
  .guarantee-card {
    padding: 20px 12px;
    border-radius: 14px;
  }
  
  .guarantee-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
  }
  
  .guarantee-icon svg {
    width: 22px;
    height: 22px;
  }
  
  .guarantee-text {
    font-size: 0.8rem;
  }
}

/* ========================================
   GUIDE CTA - CLASSIC BANNER
======================================== */
.guide-cta-section {
  padding: 0 0 5rem;
}

.guide-banner {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  border-radius: 24px;
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 40px;
  position: relative;
  overflow: hidden;
}

.guide-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  pointer-events: none;
}

.guide-banner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: 10%;
  width: 200px;
  height: 200px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
  pointer-events: none;
}

.guide-banner-left {
  position: relative;
  z-index: 1;
  flex: 1;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.guide-tag {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  color: white;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.guide-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  color: white;
  margin-bottom: 8px;
  line-height: 1.2;
}

.guide-title span {
  color: #fbbf24;
}

.guide-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.95);
  margin-bottom: 8px;
}

.guide-note {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 24px;
}

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

  justify-content: center;}

.guide-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.35s var(--ease-out-back);
}

.guide-btn-white {
  background: white;
  color: #dc2626;
}

.guide-btn-white:hover {
  background: #fef2f2;
  transform: translateY(var(--lift-btn));
  box-shadow: 0 10px 24px rgba(0,0,0,0.16);
}

.guide-btn-outline {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.4);
  color: white;
}

.guide-btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
  transform: translateY(var(--lift-btn));
}

.guide-banner-right {
  position: relative;
  z-index: 1;
  flex: 0 0 200px;
}

.guide-doc {
  width: 180px;
  height: 220px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: rotate(3deg);
  transition: transform 0.3s ease;
}

.guide-banner:hover .guide-doc {
  transform: rotate(0deg) scale(1.02);
}

.guide-doc-icon {
  font-size: 3.5rem;
  margin-bottom: 16px;
}

.guide-doc-text {
  font-size: 0.85rem;
  color: #6b7280;
  text-align: center;
  padding: 0 20px;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 900px) {
  .guide-banner {
    flex-direction: column;
    text-align: center;
    padding: 40px 32px;
  }
  
  .guide-banner-right {
    display: none;
  }
  
  .guide-buttons {
    justify-content: center;
  
  justify-content: center;}
}

@media (max-width: 600px) {
  .guide-cta-section {
    padding: 0 0 3rem;
  }
  
  .guide-banner {
    padding: 32px 24px;
    border-radius: 20px;
  }
  
  .guide-tag {
    padding: 6px 12px;
    font-size: 0.7rem;
  }
  
  .guide-subtitle {
    font-size: 1rem;
  }
  
  .guide-note {
    font-size: 0.85rem;
    margin-bottom: 20px;
  }
  
  .guide-buttons {
    flex-direction: column;
    gap: 10px;
  
  justify-content: center;}
  
  .guide-btn {
    width: 100%;
    padding: 14px 20px;
    font-size: 0.9rem;
  }
}

/* ========================================
   CYBER / TECH PANEL - Document Block
======================================== */
.cyber-panel {
  width: 220px;
  height: 280px;
  background: #0a0a0f;
  border: 1px solid #ef4444;
  position: relative;
  clip-path: polygon(
    0 20px, 20px 0, calc(100% - 20px) 0, 100% 20px,
    100% calc(100% - 20px), calc(100% - 20px) 100%, 20px 100%, 0 calc(100% - 20px)
  );
  overflow: hidden;
  flex-shrink: 0;
}

.cyber-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(90deg, transparent 50%, rgba(239,68,68,0.03) 50%),
    linear-gradient(0deg, transparent 50%, rgba(239,68,68,0.03) 50%);
  background-size: 4px 4px;
  pointer-events: none;
}

.cyber-scan {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #ef4444, transparent);
  animation: cyber-scan 2s linear infinite;
  z-index: 5;
}

@keyframes cyber-scan {
  0% { top: 0; opacity: 1; }
  100% { top: 100%; opacity: 0.3; }
}

.cyber-corners {
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(239,68,68,0.3);
  pointer-events: none;
}

.cyber-corners::before,
.cyber-corners::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid #ef4444;
}

.cyber-corners::before {
  top: -1px;
  left: -1px;
  border-right: none;
  border-bottom: none;
}

.cyber-corners::after {
  bottom: -1px;
  right: -1px;
  border-left: none;
  border-top: none;
}

.cyber-content {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.cyber-hex {
  width: 80px;
  height: 90px;
  background: linear-gradient(135deg, rgba(239,68,68,0.2), rgba(239,68,68,0.1));
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
}

.cyber-hex::before {
  content: '';
  position: absolute;
  inset: 2px;
  background: #0a0a0f;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.cyber-hex span {
  font-size: 2rem;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 10px rgba(239,68,68,0.5));
}

.cyber-title {
  color: #ef4444;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 0 20px rgba(239,68,68,0.5);
}

.cyber-sub {
  color: #4a5568;
  font-size: 0.75rem;
}

.cyber-stats {
  display: flex;
  gap: 24px;
  margin-top: 20px;
}

.cyber-stat {
  text-align: center;
}

.cyber-stat-num {
  color: #ef4444;
  font-size: 1.5rem;
  font-weight: 800;
  text-shadow: 0 0 15px rgba(239,68,68,0.5);
}

.cyber-stat-label {
  color: #4a5568;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Responsive - hide on mobile */
@media (max-width: 900px) {
  .guide-banner-right {
    display: none;
  }
}

/* ========================================
   CTA 3D CARD PERSPECTIVE
======================================== */
.cta-3d-section {
  padding: 5rem 0;
}

.cta-3d-wrapper {
  perspective: 1500px;
}

.cta-3d-card {
  /* a bit more "paint" like in the quiz card (soft green on the left) */
  background: linear-gradient(
    90deg,
    rgba(239, 68, 68, 0.08) 0%,
    rgba(255, 255, 255, 0.98) 55%,
    #f8fafc 100%
  );
  border: 1px solid rgba(239, 68, 68, 0.10);
  border-radius: 32px;
  padding: 56px;
  box-shadow: 
    0 50px 100px rgba(0,0,0,0.12),
    0 20px 40px rgba(0,0,0,0.08);
  transform: rotateX(2deg) rotateY(-2deg);
  transition: transform 0.5s ease;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: visible;
}

.cta-3d-card:hover {
  transform: rotateX(0deg) rotateY(0deg);
}

/* Декоративное облачко с вопросом */
.cta-3d-card .decor-question-bubble {
  position: absolute;
  top: -45px;
  right: -30px;
  width: 180px;
  height: 165px;
  pointer-events: none;
  z-index: 10;
}

.cta-3d-card .decor-question-bubble svg {
  width: 100%;
  height: 100%;
}

.cta-3d-card .bubble-cloud {
  fill: #fef2f2;
  stroke: #ef4444;
  stroke-width: 2;
  animation: ctaBubbleFloat 3s ease-in-out infinite;
  filter: drop-shadow(0 4px 12px rgba(239, 68, 68, 0.2));
}

.cta-3d-card .bubble-question {
  fill: #ef4444;
  animation: ctaBubbleQuestion 3s ease-in-out infinite;
}

@keyframes ctaBubbleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes ctaBubbleQuestion {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

/* Планшет */
@media (max-width: 1024px) {
  .cta-3d-card .decor-question-bubble {
    width: 150px;
    height: 135px;
    top: -35px;
    right: -15px;
  }
}

/* Мобильные */
@media (max-width: 768px) {
  .cta-3d-card .decor-question-bubble {
    width: 120px;
    height: 110px;
    top: -30px;
    right: 10px;
  }
}

/* Маленькие мобильные */
@media (max-width: 480px) {
  .cta-3d-card .decor-question-bubble {
    width: 95px;
    height: 90px;
    top: -22px;
    right: 5px;
  }
  
  .cta-3d-card .bubble-cloud {
    stroke-width: 1.5;
  }
}

.cta-3d-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #92400e;
  padding: 10px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.cta-3d-title {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  color: #111;
}

.cta-3d-title span {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-3d-sub {
  color: #6b7280;
  font-size: 1.05rem;
  line-height: 1.6;
}

.cta-3d-right {
  background: white;
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.cta-3d-form-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #111;
}

.cta-3d-inputs {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.cta-3d-inputs input {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #e5e7eb;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: all 0.3s;
}

.cta-3d-inputs input:focus {
  border-color: #ef4444;
  box-shadow: 0 0 0 4px rgba(239,68,68,0.1);
}

.cta-3d-inputs input::placeholder {
  color: #9ca3af;
}

.cta-3d-btn {
  width: 100%;
  padding: 18px;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
  border: none;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 10px 30px rgba(239,68,68,0.3);
}

.cta-3d-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(239,68,68,0.4);
}

/* Responsive */
@media (max-width: 900px) {
  .cta-3d-card {
    grid-template-columns: 1fr;
    padding: 40px;
    transform: none;
  }
  
  .cta-3d-card:hover {
    transform: none;
  }
  
  .cta-3d-title {
    font-size: 1.75rem;
  }
}

@media (max-width: 600px) {
  .cta-3d-section {
    padding: 3rem 0;
  }
  
  .cta-3d-card {
    padding: 28px;
    border-radius: 24px;
  }
  
  .cta-3d-badge {
    font-size: 0.7rem;
    padding: 8px 14px;
  }
  
  .cta-3d-title {
    font-size: 1.5rem;
  }
  
  .cta-3d-sub {
    font-size: 0.95rem;
  }
  
  .cta-3d-right {
    padding: 24px;
    border-radius: 18px;
  }
  
  .cta-3d-inputs input {
    padding: 12px 16px;
  }
  
  .cta-3d-btn {
    padding: 16px;
  }
}

/* ========================================
   CONTACT 3D CARD SECTION
======================================== */
.contact-3d-section {
  padding: 5rem 0;
  background: #f8fafc;
  perspective: 1000px;
}

.contact-3d-card {
  background: white;
  border-radius: 32px;
  padding: 56px;
  box-shadow: 
    0 50px 100px -20px rgba(0,0,0,0.12),
    0 30px 60px -30px rgba(0,0,0,0.15);
  transform: rotateX(2deg);
  transition: transform 0.5s ease;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  position: relative;
  overflow: hidden;
}

.contact-3d-card:hover {
  transform: rotateX(0deg);
}

.contact-3d-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 50%;
  bottom: 0;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.05) 0%, transparent 100%);
  pointer-events: none;
}

.contact-3d-left {
  position: relative;
  z-index: 1;
}

.contact-3d-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #92400e;
  padding: 10px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.contact-3d-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: #111;
  margin-bottom: 12px;
  line-height: 1.2;
}

.contact-3d-title span {
  color: #ef4444;
}

.contact-3d-sub {
  color: #6b7280;
  font-size: 1.1rem;
  margin-bottom: 36px;
  line-height: 1.6;
}

.contact-3d-stats {
  display: flex;
  gap: 20px;
}

.contact-3d-stat {
  background: #f9fafb;
  padding: 20px 24px;
  border-radius: 16px;
  text-align: center;
  min-width: 90px;
  transition: all 0.3s ease;
}

.contact-3d-stat:hover {
  background: #fef2f2;
  transform: translateY(-2px);
}

.contact-3d-stat-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: #111;
}

.contact-3d-stat-label {
  font-size: 0.8rem;
  color: #6b7280;
  margin-top: 4px;
}

.contact-3d-form {
  background: #f9fafb;
  border-radius: 24px;
  padding: 32px;
  position: relative;
  z-index: 1;
}

.contact-3d-form-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: #111;
}

.contact-3d-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.contact-3d-field {
  margin-bottom: 16px;
}

.contact-3d-field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: #374151;
}

.contact-3d-field input,
.contact-3d-field select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  background: white;
  transition: all 0.2s;
}

.contact-3d-field input:focus,
.contact-3d-field select:focus {
  outline: none;
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.contact-3d-field input::placeholder {
  color: #9ca3af;
}

.contact-3d-btn {
  width: 100%;
  padding: 16px;
  background: #ef4444;
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.contact-3d-btn:hover {
  background: #dc2626;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(239, 68, 68, 0.3);
}

.contact-3d-btn:active {
  transform: translateY(0);
}

/* Планшет */
@media (max-width: 1024px) {
  .contact-3d-card {
    padding: 40px;
    gap: 32px;
  }
  
  .contact-3d-title {
    font-size: 1.875rem;
  }
  
  .contact-3d-stats {
    gap: 12px;
  }
  
  .contact-3d-stat {
    padding: 16px 18px;
    min-width: 80px;
  }
  
  .contact-3d-stat-num {
    font-size: 1.25rem;
  }
}

/* Мобильные */
@media (max-width: 768px) {
  .contact-3d-section {
    padding: 2.5rem 0;
  }
  
  .contact-3d-card {
    grid-template-columns: 1fr;
    padding: 28px 20px;
    gap: 28px;
    transform: none;
    border-radius: 24px;
    box-shadow: 0 20px 50px -15px rgba(0,0,0,0.1);
  }
  
  .contact-3d-card::before {
    display: none;
  }
  
  .contact-3d-card:hover {
    transform: none;
  }
  
  .contact-3d-left {
    text-align: center;
  }
  
  .contact-3d-badge {
    font-size: 0.75rem;
    padding: 8px 16px;
  }
  
  .contact-3d-title {
    font-size: 1.5rem;
    line-height: 1.3;
  }
  
  .contact-3d-sub {
    font-size: 0.95rem;
    margin-bottom: 24px;
  }
  
  .contact-3d-stats {
    justify-content: center;
    gap: 12px;
  }
  
  .contact-3d-stat {
    padding: 14px 16px;
    min-width: 85px;
    border-radius: 14px;
  }
  
  .contact-3d-stat-num {
    font-size: 1.25rem;
  }
  
  .contact-3d-stat-label {
    font-size: 0.75rem;
  }
  
  .contact-3d-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .contact-3d-form {
    padding: 24px 20px;
    border-radius: 20px;
  }
  
  .contact-3d-form-title {
    text-align: center;
    font-size: 1.125rem;
    margin-bottom: 20px;
  }
  
  .contact-3d-field {
    margin-bottom: 14px;
  }
  
  .contact-3d-field label {
    font-size: 0.8rem;
  }
  
  .contact-3d-field input,
  .contact-3d-field select {
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 1rem;
  }
  
  .contact-3d-btn {
    padding: 16px;
    border-radius: 10px;
    font-size: 1rem;
    margin-top: 4px;
  }
}

/* Маленькие мобильные */
@media (max-width: 480px) {
  .contact-3d-section {
    padding: 2rem 0;
  }
  
  .contact-3d-card {
    padding: 24px 16px;
    gap: 24px;
    border-radius: 20px;
  }
  
  .contact-3d-badge {
    font-size: 0.7rem;
    padding: 7px 12px;
    margin-bottom: 16px;
  }
  
  .contact-3d-title {
    font-size: 1.25rem;
  }
  
  .contact-3d-sub {
    font-size: 0.875rem;
    margin-bottom: 20px;
  }
  
  .contact-3d-stats {
    gap: 8px;
  }
  
  .contact-3d-stat {
    flex: 1;
    min-width: 0;
    padding: 12px 10px;
    border-radius: 12px;
  }
  
  .contact-3d-stat-num {
    font-size: 1.125rem;
  }
  
  .contact-3d-stat-label {
    font-size: 0.65rem;
    margin-top: 2px;
  }
  
  .contact-3d-form {
    padding: 20px 16px;
    border-radius: 16px;
  }
  
  .contact-3d-form-title {
    font-size: 1rem;
    margin-bottom: 16px;
  }
  
  .contact-3d-field {
    margin-bottom: 12px;
  }
  
  .contact-3d-field label {
    font-size: 0.75rem;
    margin-bottom: 4px;
  }
  
  .contact-3d-field input,
  .contact-3d-field select {
    padding: 12px 14px;
    font-size: 0.95rem;
  }
  
  .contact-3d-btn {
    padding: 14px;
    font-size: 0.95rem;
  }
}

/* Очень маленькие экраны */
@media (max-width: 360px) {
  .contact-3d-section {
    padding: 1.5rem 0;
  }
  
  .contact-3d-section .container {
    padding: 0 12px;
  }
  
  .contact-3d-card {
    padding: 20px 14px;
    gap: 20px;
    border-radius: 18px;
  }
  
  .contact-3d-badge {
    font-size: 0.65rem;
    padding: 6px 10px;
  }
  
  .contact-3d-title {
    font-size: 1.125rem;
  }
  
  .contact-3d-sub {
    font-size: 0.8rem;
  }
  
  .contact-3d-stats {
    gap: 6px;
  }
  
  .contact-3d-stat {
    padding: 10px 8px;
    border-radius: 10px;
  }
  
  .contact-3d-stat-num {
    font-size: 1rem;
  }
  
  .contact-3d-stat-label {
    font-size: 0.6rem;
  }
  
  .contact-3d-form {
    padding: 16px 14px;
    border-radius: 14px;
  }
  
  .contact-3d-form-title {
    font-size: 0.95rem;
  }
  
  .contact-3d-field input,
  .contact-3d-field select {
    padding: 11px 12px;
    font-size: 0.9rem;
    border-radius: 8px;
  }
  
  .contact-3d-btn {
    padding: 13px;
    font-size: 0.9rem;
    border-radius: 8px;
  }
}

/* ========================================
   V9 GRADIENT + STATS LEAD SECTION
======================================== */
.v9-section {
  padding: 5rem 0;
  background: #fafafa;
}

.v9-gradient {
  background: linear-gradient(135deg, #dc2626 0%, #ef4444 50%, #f87171 100%);
  border-radius: 32px;
  padding: 56px;
  position: relative;
  overflow: hidden;
}

.v9-gradient::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
  pointer-events: none;
}

.v9-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.v9-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.v9-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
  line-height: 1.6;
}

.v9-stats {
  display: flex;
  gap: 32px;
}

.v9-stat {
  text-align: center;
}

.v9-stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
}

.v9-stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
}

.v9-form {
  background: #fff;
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.v9-form-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 24px;
  text-align: center;
}

.v9-inputs {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

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

.v9-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 8px;
}

.v9-field input,
.v9-field select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 0.95rem;
  font-family: inherit;
  background: #fff;
  color: #111;
  outline: none;
  transition: all 0.35s var(--ease-out-back);
}

.v9-field input:focus,
.v9-field select:focus {
  border-color: #ef4444;
  box-shadow: 0 0 0 4px rgba(239,68,68,0.15);
}

.v9-field input::placeholder {
  color: #9ca3af;
}

.v9-btn {
  width: 100%;
  padding: 18px;
  background: linear-gradient(135deg, #dc2626, #ef4444);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 1.05rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.35s var(--ease-out-back);
  box-shadow: 0 10px 28px rgba(239,68,68,0.32);
}

.v9-btn:hover {
  transform: translateY(var(--lift-btn));
  box-shadow: 0 16px 40px rgba(239,68,68,0.42);
}

.v9-btn:active {
  transform: translateY(-1px);
}

/* V9 Responsive */
@media (max-width: 900px) {
  .v9-content {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  
  .v9-gradient {
    padding: 40px;
  }
  
  .v9-title {
    font-size: 2rem;
  }
  
  .v9-left {
    text-align: center;
  }
  
  .v9-stats {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .v9-section {
    padding: 3rem 0;
  }
  
  .v9-gradient {
    padding: 28px;
    border-radius: 24px;
  }
  
  .v9-title {
    font-size: 1.625rem;
  }
  
  .v9-sub {
    font-size: 1rem;
    margin-bottom: 24px;
  }
  
  .v9-stats {
    gap: 20px;
  }
  
  .v9-stat-num {
    font-size: 1.5rem;
  }
  
  .v9-stat-label {
    font-size: 0.75rem;
  }
  
  .v9-form {
    padding: 24px;
    border-radius: 18px;
  }
  
  .v9-form-title {
    font-size: 1.1rem;
    margin-bottom: 20px;
  }
  
  .v9-row {
    grid-template-columns: 1fr;
  }
  
  .v9-field input,
  .v9-field select {
    padding: 12px 16px;
  }
  
  .v9-btn {
    padding: 16px;
    font-size: 1rem;
  }
}

/* V9 Mobile Polish (comfortable + premium look) */
@media (max-width: 600px) {
  .v9-content {
    gap: 18px;
  }

  .v9-gradient {
    padding: 22px 16px;
    border-radius: 22px;
  }

  .v9-gradient::before {
    top: -40%;
    right: -35%;
    width: 95%;
    background: radial-gradient(circle, rgba(255,255,255,0.09) 0%, transparent 62%);
  }

  .v9-title {
    font-size: 1.55rem;
  }

  .v9-sub {
    margin-bottom: 18px;
  }

  .v9-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .v9-stat {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    padding: 12px 10px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .v9-stat:nth-child(3) {
    grid-column: 1 / -1;
  }

  .v9-stat-num {
    font-size: 1.4rem;
  }

  .v9-stat-label {
    font-size: 0.8rem;
  }

  .v9-form {
    padding: 20px 18px;
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    border: 1px solid rgba(0,0,0,0.06);
  }

  .v9-form-title {
    margin-bottom: 16px;
  }

  .v9-field label {
    font-size: 0.8rem;
    margin-bottom: 6px;
  }

  .v9-field input,
  .v9-field select {
    border-width: 1.5px;
    border-radius: 14px;
    padding: 13px 14px;
  }

  .v9-btn {
    border-radius: 16px;
  }
}

@media (max-width: 420px) {
  .v9-gradient {
    padding: 18px 14px;
  }
}

/* ========================================
   CHOICE GRID V5 - MONOCHROME SVG ICONS
======================================== */
.choice-grid-v5 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.choice-grid-v5 .choice-item input {
  display: none;
}

.choice-grid-v5 .v5-card {
  position: relative;
  padding: 18px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
}

.choice-grid-v5 .v5-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  opacity: 0;
  transition: opacity 0.3s;
}

.choice-grid-v5 .v5-card:hover {
  transform: scale(1.02);
  border-color: rgba(239,68,68,0.4);
}

.choice-grid-v5 .choice-item input:checked + .v5-card::before {
  opacity: 1;
}

.choice-grid-v5 .choice-item input:checked + .v5-card {
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(239,68,68,0.35);
}

.choice-grid-v5 .v5-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
}

.choice-grid-v5 .v5-icon {
  width: 42px;
  height: 42px;
  background: rgba(255,255,255,0.95);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.choice-grid-v5 .v5-icon svg {
  width: 22px;
  height: 22px;
}

.choice-grid-v5 .v5-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.95);
  transition: color 0.3s;
}

.choice-grid-v5 .choice-item input:checked + .v5-card .v5-name {
  color: #fff;
}

.choice-grid-v5 .v5-check {
  margin-left: auto;
  width: 22px;
  height: 22px;
  background: rgba(255,255,255,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.3s ease;
}

.choice-grid-v5 .choice-item input:checked + .v5-card .v5-check {
  opacity: 1;
  transform: scale(1);
}

.choice-grid-v5 .v5-check svg {
  width: 12px;
  height: 12px;
  stroke: #fff;
}

/* Choice Grid V5 Responsive */
@media (max-width: 480px) {
  .choice-grid-v5 {
    gap: 10px;
  }
  
  .choice-grid-v5 .v5-card {
    padding: 14px;
  }
  
  .choice-grid-v5 .v5-icon {
    width: 36px;
    height: 36px;
  }
  
  .choice-grid-v5 .v5-icon svg {
    width: 18px;
    height: 18px;
  }
  
  .choice-grid-v5 .v5-name {
    font-size: 0.85rem;
  }
  
  .choice-grid-v5 .v5-check {
    width: 20px;
    height: 20px;
  }
}


/* Accessibility: reduce motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ========================================
   FIX: Guide CTA — remove right panel + center content
======================================== */
.guide-banner-right { display: none !important; }
.guide-banner {
  justify-content: center;
  text-align: center;
}
.guide-banner-left {
  flex: 0 1 820px;
}
.guide-buttons { justify-content: center; 
  justify-content: center;}

/* ========================================
   FIX: Quiz step 1 platforms — make cards visible + centered
======================================== */
.glass-step[data-step="1"] h3 { text-align: center; }

.choice-grid-v5 {
  max-width: 560px;
  margin: 0 auto 24px;
}

.choice-grid-v5 .v5-card {
  background: #ffffff;
  border: 2px solid #e5e7eb;
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.06);
}

.choice-grid-v5 .v5-card:hover {
  transform: translateY(var(--lift-card));
  box-shadow: 0 14px 30px rgba(17, 24, 39, 0.10);
}

.choice-grid-v5 .v5-name {
  color: #111827;
}

.choice-grid-v5 .v5-check {
  background: rgba(239,68,68,0.14);
}


/* === MOBILE MICRO FIXES === */
@media (max-width: 360px) {
  .choice-grid-v5 {
    grid-template-columns: 1fr;
  }
}


/* === iOS / SAFE VH FIXES === */
@supports (height: 100svh) {
  .popup-overlay,
  .case-modal,
  .mobile-menu-overlay {
    min-height: 100svh;
  }
  .mobile-menu {
    max-height: calc(100svh - 72px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* ========================================
   MOBILE FIX PACK v2 (Quiz / Guide / V9)
   - Makes these blocks truly mobile-first
   - Centers content + prevents overflow
======================================== */

@media (max-width: 768px) {
  /* QUIZ: stack + center + calmer spacing */
  .quiz-grid {
    padding: 22px 16px;
    gap: 22px;
    border-radius: 26px;
  }

  .quiz-info {
    text-align: center;
    padding-right: 0;
  }

  .quiz-stats {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 18px;
  }

  .glass-quiz-panel {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
  }

  .glass-progress-steps {
    justify-content: center;
    gap: 18px;
  }

  /* Step 1 platform cards: true grid on mobile */
  .choice-grid-v5 {
    width: 100%;
    max-width: 560px;
    margin: 0 auto 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .choice-grid-v5 .v5-card {
    padding: 14px 12px;
    border-radius: 14px;
  }

  .choice-grid-v5 .v5-inner {
    gap: 10px;
  }

  .choice-grid-v5 .v5-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .choice-grid-v5 .v5-name {
    font-size: 0.9rem;
  }

  .glass-btn,
  .glass-btn-outline {
    width: 100%;
  }

  .glass-btn-group {
    width: 100%;
  }

  /* GUIDE BANNER: center + buttons full width */
  .guide-banner {
    padding: 30px 18px;
    border-radius: 22px;
  }

  .guide-banner-left {
    max-width: 560px;
  }

  .guide-buttons {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .guide-btn {
    width: 100%;
  }

  /* V9: stack + keep stats readable */
  .v9-gradient {
    padding: 30px 18px;
    border-radius: 26px;
  }

  .v9-left {
    text-align: center;
  }

  .v9-stats {
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px 18px;
  }

  .v9-stat {
    min-width: 92px;
  }

  .v9-form {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    padding: 22px 18px;
    border-radius: 18px;
  }
}

@media (max-width: 420px) {
  /* Tight screens: reduce headline + keep quiz cards 2x2 */
  .quiz-info h2 { font-size: 1.45rem; }
  .guide-title { font-size: 1.45rem; }
  .v9-title { font-size: 1.55rem; }

  .choice-grid-v5 {
    gap: 10px;
  }
  .choice-grid-v5 .v5-card {
    padding: 12px 10px;
  }
}

@media (max-width: 360px) {
  /* Very small: switch quiz platforms to 1 column */
  .choice-grid-v5 {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   HOTFIX: Guide CTA mobile — remove extra empty space
   (compact banner + smaller section padding)
========================================= */
@media (max-width: 768px) {
  .guide-cta-section {
    padding: 0 0 2rem !important;
  }
  .guide-banner {
    padding: 22px 16px !important;
    gap: 16px !important;
    min-height: auto !important;
  }
  .guide-title { margin-bottom: 6px !important; }
  .guide-subtitle { margin-bottom: 6px !important; }
  .guide-note { margin-bottom: 14px !important; }
}

@media (max-width: 420px) {
  .guide-cta-section { padding: 0 0 1.6rem !important; }
  .guide-banner { padding: 18px 14px !important; }
}

/* ========================================
   HOTFIX v2: Guide banner "пустота" на мобилке
   На некоторых моб. браузерах flex-блок может растягиваться
   по высоте. Принудительно даём shrink-to-content.
========================================= */
@media (max-width: 600px) {
  .guide-banner {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
  }
  .guide-banner-left {
    width: 100%;
  }
  /* фоновые круги не должны выглядеть как "пустое место" */
  .guide-banner::before,
  .guide-banner::after {
    display: none !important;
  }
}

/* ========================================
   ALT HERO ANIMATIONS
   Более "взрослая" анимация вместо tilt/жёсткого радара.
   - Стек карточек: мягкое покачивание (CSS)
   - Радар: пульсирующие кольца (без вращающегося луча)
   - Бейджи: плавный вход + лёгкий дрейф
========================================= */

/* Стек карточек — мягкая "живая" анимация */
.card-stack.stack-ambient {
  animation: stackFloat 6.8s ease-in-out infinite;
  transform-style: preserve-3d;
  will-change: transform;
}

@keyframes stackFloat {
  0%, 100% { transform: translateY(0) rotate(-0.6deg); }
  50%      { transform: translateY(-10px) rotate(0.6deg); }
}

/* Перерисуем уровни стека чуть мягче (меньше "3D") */
.hero-tech-scene .tech-card {
  overflow: hidden;
  will-change: transform, opacity;
}

.hero-tech-scene .tech-card.active {
  transform: translateY(0) scale(1);
}

.hero-tech-scene .tech-card.next {
  transform: translateY(14px) scale(0.965);
  opacity: 0.18;
}

.hero-tech-scene .tech-card.prev {
  transform: translateY(24px) scale(0.94);
  opacity: 0;
}

/* Лёгкий "shine" на карточке */
.hero-tech-scene .tech-card::before {
  content: "";
  position: absolute;
  inset: -60% -80%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.18) 35%, transparent 70%);
  transform: translateX(-55%) rotate(18deg);
  opacity: 0;
  pointer-events: none;
  animation: cardShine 7.5s ease-in-out infinite;
}

@keyframes cardShine {
  0%   { transform: translateX(-55%) rotate(18deg); opacity: 0; }
  18%  { opacity: 0.16; }
  35%  { transform: translateX(35%) rotate(18deg); opacity: 0; }
  100% { transform: translateX(35%) rotate(18deg); opacity: 0; }
}

/* Радар: вместо вращения — пульсирующие кольца */
.hero-tech-scene .radar-beam { display: none !important; }

.hero-tech-scene .radar-system {
  border: 1px solid rgba(239, 68, 68, 0.12);
  background: radial-gradient(circle at center, rgba(239,68,68,0.06) 0%, rgba(239,68,68,0.03) 35%, transparent 70%);
}

.hero-tech-scene .radar-system::before,
.hero-tech-scene .radar-system::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(239, 68, 68, 0.18);
  transform: scale(0.78);
  opacity: 0;
  animation: radarPulse 4.8s ease-out infinite;
}

.hero-tech-scene .radar-system::after {
  border-style: solid;
  border-color: rgba(239, 68, 68, 0.10);
  animation-delay: 2.4s;
}

@keyframes radarPulse {
  0%   { transform: scale(0.78); opacity: 0; }
  18%  { opacity: 0.22; }
  70%  { opacity: 0.08; }
  100% { transform: scale(1.18); opacity: 0; }
}

/* Бейджи: вход + мягкий дрейф (вместо бесконечного "float" у всех одинакового) */
.hero-tech-scene .hero-badge {
  animation: badgeIn 0.55s cubic-bezier(0.16, 1, 0.3, 1) both,
             badgeDrift 8s ease-in-out infinite;
}

.hero-tech-scene .hero-badge-1 { animation-delay: 0.08s, 0s; }
.hero-tech-scene .hero-badge-2 { animation-delay: 0.16s, 0.2s; }
.hero-tech-scene .hero-badge-3 { animation-delay: 0.24s, 0.4s; }

@keyframes badgeIn {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes badgeDrift {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(0, -8px); }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .card-stack.stack-ambient,
  .hero-tech-scene .tech-card::before,
  .hero-tech-scene .radar-system::before,
  .hero-tech-scene .radar-system::after,
  .hero-tech-scene .hero-badge {
    animation: none !important;
  }
}

/* =========================================================
   DEPTH THEME PATCH v2 (safe)
   - removes "too white" feeling without breaking existing section themes
   - NO background-attachment: fixed (mobile-safe)
   Added: 2026-01-17
========================================================= */
:root{
  --page-bg:#F6FAF8;
  --page-fg:#0B1220;
  --page-muted:#475569;
}

/* Subtle non-white page background (keeps hero/section-dark backgrounds intact) */
body{
  background: var(--page-bg) !important;
  background-image:
    radial-gradient(1200px 600px at 12% 0%, rgba(239,68,68,0.10), transparent 60%),
    radial-gradient(900px 520px at 95% 12%, rgba(239,68,68,0.05), transparent 55%);
  background-repeat: no-repeat, no-repeat;
  background-attachment: scroll;
}

@media (max-width: 768px){
  body{ background-attachment: scroll; }
}

/* Softer card borders for a more premium look */
.card,
.service-card,
.service-card-new,
.case-card,
.tariff-card,
.glass-quiz-panel,
.case-modal-content,
.v9-form,
.guarantee-card,
.faq-item{
  border-color: rgba(2,6,23,0.10);
}

/* Typography: softer contrast (dark sections override these) */
.hero .lead,
.section-header p,
.tariffs-header p,
.quiz-info > p{
  color: var(--page-muted);
}


/* =========================================================
   DECOR PATCH v1 ("less white", more "premium")
   - makes sections slightly translucent so page gradient shows through
   - adds subtle grain + dot pattern
   - adds hero decorative blobs + section header accent line
   - glassy header container
   Safe: does not touch .section-dark
   Added: 2026-01-17
========================================================= */
:root{
  --surface: rgba(255,255,255,0.80);
  --surface-strong: rgba(255,255,255,0.92);
  --surface-tint: rgba(239,68,68,0.06);
  --border-soft: rgba(2,6,23,0.10);
  --border-softer: rgba(2,6,23,0.08);
  --shadow-soft: 0 10px 30px rgba(2,6,23,0.06);
  --shadow-soft-2: 0 18px 46px rgba(2,6,23,0.08);
}

/* Global grain (very subtle). Fixed overlay is OK; no background-attachment: fixed. */
body{ position: relative; }
body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:0;
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity:0.022;
  mix-blend-mode:multiply;
}

/* Ensure main content sits above grain overlay */
main, footer, .mobile-menu, .modal, .overlay{ position:relative; z-index:1; }

/* Glass header capsule */
.header .container{
  background: rgba(255,255,255,0.72) !important;
  border: 1px solid rgba(2,6,23,0.08);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 10px 30px rgba(2,6,23,0.06);
}

/* Hero: remove flat white and add decorative blobs */
.hero{ background: transparent !important; }
.hero::before,
.hero::after{
  content:"";
  position:absolute;
  width:min(720px, 90vw);
  height:min(720px, 90vw);
  border-radius: 999px;
  filter: blur(26px);
  opacity: 0.55;
  pointer-events:none;
}
.hero::before{
  left:-260px;
  top:-320px;
  background: radial-gradient(circle at 30% 30%, rgba(239,68,68,0.22), transparent 62%),
              radial-gradient(circle at 70% 70%, rgba(139,92,246,0.10), transparent 64%);
}
.hero::after{
  right:-280px;
  bottom:-360px;
  background: radial-gradient(circle at 35% 35%, rgba(239,68,68,0.14), transparent 60%),
              radial-gradient(circle at 70% 30%, rgba(14,165,233,0.08), transparent 62%);
}

/* Sections: slightly translucent + soft dot pattern so it feels "decorated" */
.section{ background:#fff; }
.section:not(.section-dark){
  background:
    linear-gradient(180deg, var(--surface-strong) 0%, var(--surface) 100%) !important;
  position:relative;
  overflow:hidden;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.65),
    inset 0 -1px 0 rgba(2,6,23,0.05);
}
.section:not(.section-dark)::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(2,6,23,0.06) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity:0.06;
}

/* Muted section becomes more "premium" without turning white */
.section-muted:not(.section-dark){
  background:
    radial-gradient(900px 500px at 10% 10%, rgba(239,68,68,0.08), transparent 60%),
    linear-gradient(180deg, var(--surface-strong) 0%, rgba(246,251,248,0.86) 100%) !important;
}

/* Section header: subtle accent line under title */
.section-header h2{
  position:relative;
}
.section-header h2::after{
  content:"";
  display:block;
  width: clamp(92px, 10vw, 140px);
  height: 5px;
  margin: 14px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(239,68,68,0.0), rgba(239,68,68,0.70), rgba(239,68,68,0.0));
  opacity:0.85;
}
@media(min-width:1024px){
  .hero .section-header h2::after{ margin-left:0; }
}

/* Cards: gentle tint + glass feel */
.card,
.tariff-card,
.case-card,
.guarantee-card,
.faq-item,
.glass-quiz-panel,
.v9-form,
.case-modal-content{
  background:
    linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.78) 100%);
  border-color: var(--border-softer);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* A bit more character for outline buttons */
.btn-outline{
  background: rgba(255,255,255,0.55);
  border-color: rgba(2,6,23,0.14);
}
.btn-outline:hover{
  background: rgba(255,255,255,0.72);
}

/* Keep dark section cards untouched (readability) */
.section-dark .card,
.section-dark .service-card-new,
.section-dark .service-card,
.section-dark .faq-item{
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* Mobile: reduce blob size a bit for performance */
@media (max-width: 768px){
  .hero::before, .hero::after{ filter: blur(22px); opacity:0.45; }
  .section:not(.section-dark)::before{ opacity:0.05; background-size: 34px 34px; }
}

/* =====================================================
   MOBILE FIX 2026 - Тарифы, FAQ, V9
   ===================================================== */

/* === ТАРИФЫ MOBILE - 2 колонки === */
@media (max-width: 600px) {
  .tariffs-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  
  .tariff-card {
    padding: 16px 12px !important;
    border-radius: 14px !important;
  }
  
  .tariff-badge {
    font-size: 0.45rem !important;
    padding: 3px 24px !important;
    top: 8px !important;
    right: -28px !important;
  }
  
  .tariff-qty {
    font-size: 0.65rem !important;
    padding: 4px 10px !important;
    margin-bottom: 10px !important;
  }
  
  .tariff-price {
    font-size: 28px !important;
  }
  
  .tariff-price span {
    font-size: 14px !important;
  }
  
  .tariff-note {
    font-size: 0.7rem !important;
    margin-bottom: 10px !important;
  }
  
  .tariff-btn {
    padding: 8px 12px !important;
    font-size: 0.75rem !important;
    border-radius: 8px !important;
  }
}

@media (max-width: 380px) {
  .tariffs-grid {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  
  .tariff-card {
    padding: 18px 16px !important;
  }
  
  .tariff-price {
    font-size: 36px !important;
  }
  
  .tariff-price span {
    font-size: 18px !important;
  }
}

/* === FAQ SECTION MOBILE FIX === */
@media (max-width: 768px) {
  .section:has(.faq-list) {
    padding: 2.5rem 0 !important;
  }
  
  .section:has(.faq-list) .section-header {
    margin-bottom: 1.5rem !important;
  }
  
  .section:has(.faq-list) .section-header h2 {
    font-size: 1.5rem !important;
  }
}

@media (max-width: 480px) {
  .section:has(.faq-list) {
    padding: 2rem 0 !important;
  }
  
  .section:has(.faq-list) .section-header h2 {
    font-size: 1.25rem !important;
  }
}

/* === V9 SECTION MOBILE FIX === */
@media (max-width: 600px) {
  .v9-section {
    padding: 2.5rem 0 !important;
  }
  
  .v9-gradient {
    padding: 20px 16px !important;
    border-radius: 18px !important;
  }
  
  .v9-content {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
  }
  
  .v9-left {
    text-align: center !important;
  }
  
  .v9-title {
    font-size: 1.375rem !important;
    margin-bottom: 6px !important;
    line-height: 1.3 !important;
  }
  
  .v9-sub {
    font-size: 0.875rem !important;
    margin-bottom: 16px !important;
    line-height: 1.5 !important;
  }
  
  .v9-stats {
    display: flex !important;
    justify-content: center !important;
    gap: 20px !important;
  }
  
  .v9-stat {
    text-align: center !important;
  }
  
  .v9-stat-num {
    font-size: 1.375rem !important;
    margin-bottom: 2px !important;
  }
  
  .v9-stat-label {
    font-size: 0.7rem !important;
  }
  
  .v9-form {
    padding: 18px 14px !important;
    border-radius: 14px !important;
  }
  
  .v9-form-title {
    font-size: 1rem !important;
    margin-bottom: 14px !important;
  }
  
  .v9-inputs {
    gap: 10px !important;
    margin-bottom: 14px !important;
  }
  
  .v9-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
  }
  
  .v9-field label {
    font-size: 0.75rem !important;
    margin-bottom: 4px !important;
  }
  
  .v9-field input,
  .v9-field select {
    padding: 11px 12px !important;
    font-size: 0.875rem !important;
    border-radius: 10px !important;
    border-width: 1.5px !important;
  }
  
  .v9-btn {
    padding: 13px 16px !important;
    font-size: 0.9375rem !important;
    border-radius: 10px !important;
  }
}

/* === MOBILE MENU FIX - ПРОСТОЕ ВЫПАДАЮЩЕЕ === */
@media (max-width: 1023px) {
  .mobile-menu {
    position: fixed !important;
    top: 72px !important;
    left: 12px !important;
    right: 12px !important;
    bottom: auto !important;
    background: #fff !important;
    border-radius: 16px !important;
    padding: 8px !important;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12) !important;
    z-index: 99;
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
  }
  
  .mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  /* Скрываем header, кнопку, копирайт */
  .mobile-menu-header,
  .mobile-menu-btn,
  .mobile-menu-copy {
    display: none !important;
  }
  
  .mobile-menu-links {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
  }
  
  .mobile-nav-link {
    display: block !important;
    padding: 14px 16px !important;
    font-size: 0.9375rem !important;
    font-weight: 500 !important;
    color: #1a1a1a !important;
    text-decoration: none !important;
    border-radius: 10px !important;
    transition: background 0.15s ease;
    border: none !important;
  }
  
  .mobile-nav-link:active {
    background: #fef2f2 !important;
    color: #dc2626 !important;
  }
  
  /* Overlay - прозрачный, только для закрытия по клику */
  .mobile-menu-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: transparent !important;
    z-index: 98;
    opacity: 0;
    visibility: hidden;
  }
  
  .mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
  }
}

/* =====================================================
   DECORATIVE ELEMENTS - Анимированные украшения
   ===================================================== */

/* === ОБЩИЕ СТИЛИ ДЛЯ ДЕКОРА === */
.decor-stars,
.decor-circles,
.decor-dots,
.decor-shapes {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* === HERO STARS - Звёзды в Hero === */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-decor-stars {
  position: absolute;
  left: 2%;
  top: 15%;
  width: 180px;
  height: 160px;
  opacity: 0.6;
  animation: floatSlow 8s ease-in-out infinite;
  filter: drop-shadow(0 8px 20px rgba(239,68,68,0.1));
}

.hero-decor-stars svg {
  width: 100%;
  height: 100%;
}

.decor-star {
  fill: none;
  stroke: rgba(239,68,68,0.5);
  stroke-width: 2.5;
  stroke-linejoin: round;
  transform-origin: center;
  animation: twinkleStar 3s ease-in-out infinite;
}

.decor-star--1 { animation-delay: 0s; }
.decor-star--2 { animation-delay: 0.5s; opacity: 0.7; }
.decor-star--3 { animation-delay: 1s; opacity: 0.5; }

/* Hero правые круги */
.hero-decor-circles {
  position: absolute;
  right: 5%;
  bottom: 10%;
  width: 120px;
  height: 120px;
  opacity: 0.4;
  animation: floatSlow 10s ease-in-out infinite reverse;
}

.decor-circle {
  fill: none;
  stroke: rgba(239,68,68,0.4);
  stroke-width: 2;
  animation: pulseSoft 4s ease-in-out infinite;
}

.decor-circle--1 { animation-delay: 0s; }
.decor-circle--2 { animation-delay: 0.7s; }
.decor-circle--3 { animation-delay: 1.4s; }

/* === QUIZ SECTION - Геометрия === */
.quiz-section {
  position: relative;
  overflow: hidden;
}

.quiz-decor-left {
  position: absolute;
  left: -30px;
  top: 20%;
  width: 100px;
  height: 200px;
  opacity: 0.3;
  animation: floatSlow 12s ease-in-out infinite;
}

.quiz-decor-right {
  position: absolute;
  right: -20px;
  bottom: 15%;
  width: 80px;
  height: 160px;
  opacity: 0.25;
  animation: floatSlow 10s ease-in-out infinite reverse;
}

.decor-diamond {
  fill: none;
  stroke: rgba(239,68,68,0.5);
  stroke-width: 2;
  animation: rotateSlow 20s linear infinite;
  transform-origin: center;
}

.decor-plus {
  fill: none;
  stroke: rgba(239,68,68,0.4);
  stroke-width: 2.5;
  stroke-linecap: round;
  animation: twinkleStar 4s ease-in-out infinite;
}

/* === TARIFFS - Точки и линии === */
.tariffs-section {
  position: relative;
  overflow: hidden;
}

.tariffs-decor {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  overflow: hidden;
}

.tariffs-decor::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 5%;
  width: 8px;
  height: 8px;
  background: rgba(239,68,68,0.3);
  border-radius: 50%;
  animation: pulseDot 3s ease-in-out infinite;
}

.tariffs-decor::after {
  content: '';
  position: absolute;
  bottom: 15%;
  right: 8%;
  width: 12px;
  height: 12px;
  background: rgba(239,68,68,0.25);
  border-radius: 50%;
  animation: pulseDot 3s ease-in-out infinite 1s;
}

/* === V9 SECTION - Волны и блобы === */
.v9-gradient {
  position: relative;
  overflow: hidden;
}

.v9-decor-blob {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: blobFloat 8s ease-in-out infinite;
}

.v9-decor-blob-2 {
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: blobFloat 10s ease-in-out infinite reverse;
}

/* === FAQ SECTION === */
.section:has(.faq-list) {
  position: relative;
}

.faq-decor {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 120px;
  opacity: 0.2;
}

/* === FOOTER - Мелкие детали === */
.footer {
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 10%;
  width: 6px;
  height: 6px;
  background: rgba(239,68,68,0.3);
  border-radius: 50%;
  animation: pulseDot 4s ease-in-out infinite;
}

.footer::after {
  content: '';
  position: absolute;
  bottom: 30px;
  right: 15%;
  width: 10px;
  height: 10px;
  background: rgba(239,68,68,0.2);
  border-radius: 50%;
  animation: pulseDot 4s ease-in-out infinite 2s;
}

/* === ANIMATIONS === */
@keyframes floatSlow {
  0%, 100% { 
    transform: translateY(0) rotate(-2deg); 
  }
  50% { 
    transform: translateY(15px) rotate(2deg); 
  }
}

@keyframes twinkleStar {
  0%, 100% { 
    transform: scale(1); 
    opacity: 0.6; 
  }
  50% { 
    transform: scale(1.15); 
    opacity: 1; 
  }
}

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

@keyframes pulseDot {
  0%, 100% { 
    transform: scale(1); 
    opacity: 0.3; 
  }
  50% { 
    transform: scale(1.5); 
    opacity: 0.6; 
  }
}

@keyframes rotateSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes blobFloat {
  0%, 100% { 
    transform: translate(0, 0) scale(1); 
  }
  33% { 
    transform: translate(10px, -10px) scale(1.05); 
  }
  66% { 
    transform: translate(-5px, 5px) scale(0.95); 
  }
}

/* === MOBILE - Скрываем часть декора === */
@media (max-width: 768px) {
  .hero-decor-stars {
    left: -20px;
    top: 5%;
    width: 100px;
    height: 90px;
    opacity: 0.35;
  }
  
  .hero-decor-circles {
    display: none;
  }
  
  .quiz-decor-left,
  .quiz-decor-right {
    display: none;
  }
  
  .tariffs-decor::before,
  .tariffs-decor::after {
    width: 6px;
    height: 6px;
  }
  
  .v9-decor-blob,
  .v9-decor-blob-2 {
    width: 100px;
    height: 100px;
  }
  
  .faq-decor {
    display: none;
  }
  
  .footer::before,
  .footer::after {
    width: 4px;
    height: 4px;
  }
}

/* =====================================================
   3D iPHONE - Apple Maps Style
   ===================================================== */

.hero-phone-scene {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: 540px;
  perspective: 1500px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* iPhone устройство */
.iphone-device {
  position: relative;
  width: 280px;
  height: 570px;
  background: linear-gradient(145deg, #e8e8e8 0%, #d1d1d1 50%, #b8b8b8 100%);
  border-radius: 52px;
  transform-style: preserve-3d;
  transform: rotateY(-12deg) rotateX(5deg);
  box-shadow:
    30px 30px 60px rgba(0,0,0,0.25),
    -8px -8px 25px rgba(255,255,255,0.9),
    inset 0 2px 0 rgba(255,255,255,1),
    inset 0 -2px 0 rgba(0,0,0,0.08);
  animation: iphoneFloat 8s ease-in-out infinite;
}

/* Металлическая рамка */
.iphone-frame {
  position: absolute;
  inset: 4px;
  border-radius: 48px;
  background: linear-gradient(145deg, #f5f5f5, #e5e5e5);
  border: 1px solid rgba(0,0,0,0.06);
}

/* Кнопки слева */
.iphone-btn-left {
  position: absolute;
  left: -3px;
  top: 120px;
  width: 3px;
  height: 65px;
  background: linear-gradient(to bottom, #c0c0c0, #a0a0a0, #c0c0c0);
  border-radius: 2px 0 0 2px;
  box-shadow: -1px 0 3px rgba(0,0,0,0.2);
}

.iphone-btn-left::before {
  content: '';
  position: absolute;
  top: 85px;
  width: 100%;
  height: 45px;
  background: inherit;
  border-radius: inherit;
}

/* Кнопка справа */
.iphone-btn-right {
  position: absolute;
  right: -3px;
  top: 140px;
  width: 3px;
  height: 70px;
  background: linear-gradient(to bottom, #c0c0c0, #a0a0a0, #c0c0c0);
  border-radius: 0 2px 2px 0;
  box-shadow: 1px 0 3px rgba(0,0,0,0.2);
}

/* Экран */
.iphone-screen {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  background: #fff;
  border-radius: 42px;
  overflow: hidden;
  box-shadow: inset 0 0 15px rgba(0,0,0,0.03);
}

/* Dynamic Island */
.iphone-island {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 95px;
  height: 28px;
  background: #000;
  border-radius: 16px;
  z-index: 50;
}

.iphone-island::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background: radial-gradient(circle at 30% 30%, #1a3050, #0a1520);
  border-radius: 50%;
}

/* Apple Maps карта */
.apple-map {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #fafaf9 0%, #f5f5f4 50%, #e7e5e4 100%);
  overflow: hidden;
}

/* Дороги */
.apple-map::before {
  content: '';
  position: absolute;
  inset: -60%;
  background:
    linear-gradient(90deg, transparent 46%, #fff 46%, #fff 54%, transparent 54%),
    linear-gradient(0deg, transparent 46%, #fff 46%, #fff 54%, transparent 54%);
  background-size: 85px 85px;
  transform: rotate(12deg);
  animation: mapScroll 50s linear infinite;
}

/* 3D Здания */
.map-building {
  position: absolute;
  background: linear-gradient(145deg, #f5f5f4 0%, #e7e5e4 100%);
  border-radius: 5px;
  box-shadow: 
    3px 3px 0 #d6d3d1,
    6px 6px 0 #a8a29e;
}

/* Парки */
.map-park {
  position: absolute;
  background: linear-gradient(135deg, #fecaca 0%, #f87171 100%);
  border-radius: 50%;
  opacity: 0.65;
}

/* Маркер */
.map-pin {
  position: absolute;
  top: 28%;
  left: 38%;
  z-index: 15;
  animation: pinBounce 2.5s ease-in-out infinite;
}

.map-pin-shadow {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 8px;
  background: rgba(0,0,0,0.18);
  border-radius: 50%;
  filter: blur(2px);
}

.map-pin-body {
  width: 38px;
  height: 48px;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  border-radius: 50% 50% 50% 50% / 55% 55% 45% 45%;
  position: relative;
  box-shadow: 0 6px 20px rgba(239,68,68,0.45);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 8px;
}

.map-pin-dot {
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 50%;
}

/* Компактная карточка */
.map-card {
  position: absolute;
  bottom: 12%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(15px);
  padding: 12px 16px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
  z-index: 20;
}

.map-card-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.map-card-content h4 {
  font-size: 14px;
  font-weight: 700;
  color: #111;
  margin: 0 0 4px 0;
}

.map-card-rating {
  display: flex;
  align-items: center;
  gap: 5px;
}

.map-card-rating .stars {
  color: #fbbf24;
  font-size: 11px;
  letter-spacing: -1px;
}

.map-card-rating .score {
  font-weight: 800;
  font-size: 13px;
  color: #111;
}

.map-card-rating .count {
  font-size: 11px;
  color: #9ca3af;
}

/* Блик на экране */
.iphone-glare {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    transparent 0%,
    transparent 42%,
    rgba(255,255,255,0.15) 45%,
    rgba(255,255,255,0.25) 50%,
    rgba(255,255,255,0.15) 55%,
    transparent 58%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 30;
}

/* Статистика справа */
.hero-stats {
  position: absolute;
  top: 50%;
  right: -20px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 10;
}

.hero-stat {
  background: #fff;
  padding: 14px 18px;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  text-align: center;
  animation: statFloat 5s ease-in-out infinite;
}

.hero-stat:nth-child(2) { animation-delay: 0.5s; }
.hero-stat:nth-child(3) { animation-delay: 1s; }

.hero-stat b {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: #ef4444;
  line-height: 1.1;
}

.hero-stat span {
  font-size: 9px;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  font-weight: 600;
}

.hero-stat.dark {
  background: #1e293b;
}

.hero-stat.dark b { color: #f87171; }
.hero-stat.dark span { color: #94a3b8; }

/* Мобильные блоки статистики - скрыты на десктопе */
.hero-stat-left,
.hero-stats-right {
  display: none;
}

/* Десктопный блок показан по умолчанию */
.hero-stats {
  display: flex;
}

/* Анимации */
@keyframes iphoneFloat {
  0%, 100% { transform: rotateY(-12deg) rotateX(5deg) translateY(0); }
  50% { transform: rotateY(-8deg) rotateX(8deg) translateY(-10px); }
}

@keyframes mapScroll {
  from { transform: rotate(12deg) translate(0, 0); }
  to { transform: rotate(12deg) translate(-50px, -50px); }
}

@keyframes pinBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes statFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* Responsive */
@media (max-width: 1024px) {
  /* Телефон сверху, контент снизу на планшетах и мобильных */
  .hero-phone-scene {
    order: 1;
    max-width: 420px;
    height: 500px;
    margin: 0 auto;
  }
  
  .hero-content {
    order: 2;
  }
  
  .iphone-device {
    width: 250px;
    height: 510px;
    border-radius: 48px;
    transform: rotateY(-8deg) rotateX(3deg);
  }
  
  .iphone-frame { border-radius: 44px; }
  .iphone-screen { border-radius: 40px; }
  .iphone-island { width: 85px; height: 25px; }
  
  .map-card {
    padding: 11px 14px;
    gap: 10px;
    border-radius: 14px;
  }
  
  .map-card-icon {
    width: 40px;
    height: 40px;
    font-size: 19px;
  }
  
  .map-card-content h4 { font-size: 13px; }
  .map-card-rating .stars { font-size: 10px; }
  .map-card-rating .score { font-size: 12px; }
  .map-card-rating .count { font-size: 10px; }
  
  .hero-stats { right: -10px; gap: 10px; }
  .hero-stat { padding: 12px 16px; border-radius: 14px; }
  .hero-stat b { font-size: 18px; }
  .hero-stat span { font-size: 8px; }
}

@media (max-width: 768px) {
  /* Показываем новые блоки, скрываем старый */
  .hero-stats {
    display: none !important;
  }
  
  .hero-stat-left,
  .hero-stats-right {
    display: flex;
  }
  
  /* Телефон сверху, контент снизу */
  .hero-phone-scene {
    order: 1;
    position: relative;
    max-width: 100%;
    height: auto;
    min-height: 340px;
    margin: 0 auto;
    padding: 15px 20px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
  }
  
  .hero-content {
    order: 2;
  }
  
  .iphone-device {
    width: 165px;
    height: 340px;
    border-radius: 34px;
    transform: none;
    box-shadow:
      0 20px 40px rgba(0,0,0,0.15),
      0 8px 16px rgba(0,0,0,0.08),
      inset 0 2px 0 rgba(255,255,255,1),
      inset 0 -2px 0 rgba(0,0,0,0.05);
    animation: iphoneFloatMobile 6s ease-in-out infinite;
    flex-shrink: 0;
  }
  
  .iphone-frame { border-radius: 30px; inset: 3px; }
  .iphone-screen { 
    border-radius: 27px; 
    top: 5px; left: 5px; right: 5px; bottom: 5px;
  }
  .iphone-island { width: 55px; height: 16px; top: 7px; }
  
  .iphone-btn-left, .iphone-btn-right { display: none; }
  
  .map-building {
    box-shadow: 2px 2px 0 #d6d3d1, 3px 3px 0 #a8a29e;
  }
  
  .map-pin { top: 25%; left: 35%; }
  .map-pin-body { width: 24px; height: 30px; padding-top: 5px; }
  .map-pin-dot { width: 9px; height: 9px; }
  .map-pin-shadow { width: 18px; height: 5px; }
  
  .map-card {
    padding: 6px 9px;
    gap: 6px;
    border-radius: 9px;
    bottom: 7%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }
  
  .map-card-icon {
    width: 26px;
    height: 26px;
    font-size: 12px;
    border-radius: 6px;
  }
  
  .map-card-content h4 { font-size: 9px; margin-bottom: 1px; font-weight: 700; }
  .map-card-rating .stars { font-size: 7px; }
  .map-card-rating .score { font-size: 9px; }
  .map-card-rating .count { font-size: 6px; }
  
  /* Статистика слева - одна карточка по центру */
  .hero-stat-left {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
  }
  
  /* Статистика справа - две карточки колонкой */
  .hero-stats-right {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    flex-direction: column;
    gap: 14px;
    z-index: 5;
  }
  
  /* Все карточки одинаковые */
  .hero-stat-left .hero-stat,
  .hero-stats-right .hero-stat,
  .hero-stats-right .hero-stat.dark {
    width: 88px;
    height: 52px;
    padding: 8px 10px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    background: #fff;
    border: 1px solid rgba(0,0,0,0.04);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .hero-stat-left .hero-stat b,
  .hero-stats-right .hero-stat b {
    font-size: 16px;
    line-height: 1.2;
    display: block;
    color: #ef4444;
  }
  
  .hero-stat-left .hero-stat span,
  .hero-stats-right .hero-stat span {
    font-size: 7px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    display: block;
    margin-top: 2px;
    color: #6b7280;
  }
  
  .hero-stats-right .hero-stat.dark {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid rgba(248,113,113,0.15);
  }
  
  .hero-stats-right .hero-stat.dark b { color: #f87171; }
  .hero-stats-right .hero-stat.dark span { color: #94a3b8; }
  
  .hero-stat b { 
    font-size: 16px; 
    line-height: 1.2;
    display: block;
    color: #ef4444;
  }
  
  .hero-stat span { 
    font-size: 7px; 
    letter-spacing: 0.3px;
    text-transform: uppercase;
    display: block;
    margin-top: 2px;
    color: #6b7280;
  }
  
  /* Тёмная карточка - только цвет меняется */
  .hero-stat.dark {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid rgba(248,113,113,0.15);
  }
  
  .hero-stat.dark b { color: #f87171; }
  .hero-stat.dark span { color: #94a3b8; }
  
  @keyframes iphoneFloatMobile {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 1.5rem 0 2rem;
  }
  
  .hero-container {
    gap: 1rem;
  }
  
  .hero h1 {
    font-size: 1.5rem;
    line-height: 1.25;
  }
  
  .hero .lead {
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
  }
  
  .hero-actions .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
  }
  
  .hero-meta {
    gap: 0.75rem;
    margin-top: 0.875rem;
  }
  
  .hm-item {
    font-size: 0.75rem;
  }
  
  .hero-phone-scene {
    min-height: 300px;
    padding: 10px 15px 15px;
    gap: 16px;
  }
  
  .iphone-device {
    width: 145px;
    height: 300px;
    border-radius: 30px;
  }
  
  .iphone-frame { border-radius: 26px; inset: 3px; }
  .iphone-screen { 
    border-radius: 23px; 
    top: 5px; left: 5px; right: 5px; bottom: 5px;
  }
  .iphone-island { width: 48px; height: 14px; top: 6px; }
  
  .map-pin { top: 24%; left: 34%; }
  .map-pin-body { width: 22px; height: 28px; padding-top: 4px; }
  .map-pin-dot { width: 8px; height: 8px; }
  .map-pin-shadow { width: 16px; height: 4px; }
  
  .map-card {
    padding: 5px 7px;
    gap: 5px;
    border-radius: 7px;
    bottom: 6%;
  }
  
  .map-card-icon {
    width: 22px;
    height: 22px;
    font-size: 10px;
    border-radius: 5px;
  }
  
  .map-card-content h4 { font-size: 8px; margin-bottom: 1px; }
  .map-card-rating .stars { font-size: 6px; letter-spacing: -0.5px; }
  .map-card-rating .score { font-size: 8px; font-weight: 700; }
  .map-card-rating .count { font-size: 5px; }
  
  /* Статистика - позиции для мобильных */
  .hero-stat-left {
    left: 10px;
  }
  
  .hero-stats-right { 
    gap: 12px;
    right: 10px;
  }
  
  .hero-stat-left .hero-stat,
  .hero-stats-right .hero-stat,
  .hero-stats-right .hero-stat.dark { 
    width: 72px;
    height: 46px;
    padding: 6px 8px; 
    border-radius: 10px;
  }
  
  .hero-stat-left .hero-stat b,
  .hero-stats-right .hero-stat b { font-size: 14px; }
  
  .hero-stat-left .hero-stat span,
  .hero-stats-right .hero-stat span { font-size: 5.5px; }
  
  /* Скрываем некоторые здания */
  .map-building:nth-child(3),
  .map-building:nth-child(4) {
    opacity: 0.4;
    transform: scale(0.75);
  }
  
  .map-park {
    opacity: 0.5;
  }
}

/* Очень маленькие экраны */
@media (max-width: 360px) {
  .hero h1 {
    font-size: 1.375rem;
  }
  
  .hero .lead {
    font-size: 0.8125rem;
  }
  
  .hero-phone-scene {
    min-height: 260px;
    padding: 8px 10px 12px;
    gap: 12px;
  }
  
  .iphone-device {
    width: 125px;
    height: 260px;
    border-radius: 26px;
  }
  
  .iphone-frame { border-radius: 22px; }
  .iphone-screen { border-radius: 20px; top: 4px; left: 4px; right: 4px; bottom: 4px; }
  .iphone-island { width: 40px; height: 12px; top: 5px; }
  
  .map-pin { top: 22%; left: 32%; }
  .map-pin-body { width: 18px; height: 23px; padding-top: 3px; }
  .map-pin-dot { width: 6px; height: 6px; }
  
  .map-card {
    padding: 4px 5px;
    gap: 4px;
    border-radius: 5px;
    bottom: 5%;
  }
  
  .map-card-icon {
    width: 18px;
    height: 18px;
    font-size: 8px;
  }
  
  .map-card-content h4 { font-size: 7px; }
  .map-card-rating .stars { font-size: 5px; }
  .map-card-rating .score { font-size: 7px; }
  .map-card-rating .count { display: none; }
  
  /* Статистика для маленьких экранов */
  .hero-stat-left { left: 5px; }
  .hero-stats-right { gap: 10px; right: 5px; }
  
  .hero-stat-left .hero-stat,
  .hero-stats-right .hero-stat,
  .hero-stats-right .hero-stat.dark { 
    width: 60px;
    height: 40px;
    padding: 5px 6px; 
    border-radius: 8px; 
  }
  
  .hero-stat-left .hero-stat b,
  .hero-stats-right .hero-stat b { font-size: 12px; }
  
  .hero-stat-left .hero-stat span,
  .hero-stats-right .hero-stat span { font-size: 5px; }
}
