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

/* Плавная прокрутка */
html {
  scroll-behavior: smooth;
}

/* Улучшенная плавная прокрутка с учетом фиксированного хедера */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* Модальное окно */
.modal-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background-color: rgba(0, 0, 0, 0.5) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 9999 !important;
  opacity: 1 !important;
  visibility: visible !important;
  transition: opacity 0.3s ease;
}

.modal-overlay.hidden {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

.modal-content {
  background-color: white;
  border-radius: 0.5rem;
  padding: 2rem;
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.9);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.modal-open {
  transform: scale(1);
  opacity: 1;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.modal-close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
}

/* Анимация для сообщения об успешной отправке */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.success-message {
  animation: fadeIn 0.5s ease forwards;
}

/* Стили для кнопок */
button {
  transition: all 0.3s ease;
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

button:active {
  transform: translateY(0);
  box-shadow: none;
}

/* Новые стили для динамичного дизайна */
.yellow-accent {
  background-color: #ffe500;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.yellow-accent:hover {
  background-color: #ffd000;
}

.yellow-accent:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.yellow-accent:hover:before {
  width: 300px;
  height: 300px;
}

/* Анимации для элементов при прокрутке */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Стили для карточек с эффектом при наведении */
.hover-card {
  transition: all 0.3s ease;
  border-radius: 12px;
  border: 1px solid transparent;
}

.hover-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-color: #cbd5e1;
}

/* Анимация пульсации для кнопок */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 229, 0, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 229, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 229, 0, 0);
  }
}

.btn-pulse {
  animation: pulse 1.5s infinite;
}

/* Стили для счетчиков */
.counter-container {
  text-align: center;
  margin-bottom: 2rem;
}

.counter {
  font-size: 3rem;
  font-weight: bold;
  color: #333;
}

.counter-label {
  font-size: 1.2rem;
  color: #666;
}

/* Градиентные фоны */
.gradient-bg {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.gradient-yellow {
  background: linear-gradient(135deg, #ffe500 0%, #ffc700 100%);
}

/* Стилизация форм */
input,
select {
  transition: all 0.3s ease;
}

input:focus,
select:focus {
  border-color: #ffe500 !important;
  box-shadow: 0 0 0 3px rgba(255, 229, 0, 0.2) !important;
  outline: none;
}

/* Стили для навигации */
nav a {
  position: relative;
  transition: all 0.3s ease;
}

nav a:after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #ffe500;
  transition: width 0.3s ease;
}

nav a:hover:after {
  width: 100%;
}

/* Стили для hero баннера */
.hero-banner {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
}

.hero-banner:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);
  z-index: 1;
}

.hero-banner img {
  transition: transform 0.5s ease;
}

.hero-banner:hover img {
  transform: scale(1.05);
}

.hero-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  text-align: center;
  color: white;
  z-index: 2;
}

/* Стили для карточек */
.card-hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Стили для FAQ аккордеона */
.faq-answer {
  max-height: 1000px;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.faq-answer.hidden {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
}

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

.faq-question:hover {
  background-color: #f9f9f9;
}

.card-bg-image {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 20.5rem; /* w-50 в Tailwind = 200px = 12.5rem */
  opacity: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.card-bg-corporate {
  background: #e6e8fa;
}
.card-bg-shop {
  background: #fffbe6;
}
.card-bg-app {
  background: #e6f7f6;
}
.card-bg-grey {
  background: #f6f7f8;
}
.card-bg-yellow {
  background: #f1ebd6;
}
.card-bg-purple {
  background: #ede8f6;
}


:root {
    --primary-color: #FFE500;
    --secondary-color: #2A2A2A;
    --accent-color: #FF4D4D;
    --text-color: #333333;
    --light-bg: #F9F9F9;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    overflow-x: hidden;
}

.yellow-accent {
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

.yellow-text {
    color: var(--primary-color);
}

/* Градиентные кнопки */
.btn-gradient {
    background: linear-gradient(90deg, var(--primary-color) 0%, #FFC107 100%);
    color: var(--secondary-color);
    font-weight: 600;
    border-radius: 8px;
    padding: 12px 24px;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 10px rgba(255, 229, 0, 0.3);
}

.btn-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 229, 0, 0.4);
}

.btn-gradient:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(255, 229, 0, 0.3);
}

/* Анимации */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animated {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }

/* Дополнительные стили для карточек */
.card-hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Hero баннер */
.hero-banner {
    position: relative;
    background-color: #000;
    overflow: hidden;
    border-radius: 16px;
    height: 400px;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
}

.hero-banner img {
    opacity: 0.8;
    object-fit: cover;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
}

.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    text-align: center;
    color: white;
    z-index: 2;
    transition: transform 0.3s ease;
}

/* Стилизованный хедер */
.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    transform: translateY(-100%);
    /* Показываем только на десктопе */
    display: none;
}

@media (min-width: 768px) {
    .sticky-header {
        display: block;
    }
}

.sticky-header.visible {
    transform: translateY(0);
}

/* Выпадающее меню услуг */
.dropdown-menu-container {
    position: relative;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0.5rem;
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 10px 15px rgba(0, 0, 0, 0.1);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 1000;
    padding: 0.5rem 0;
}

.dropdown-menu-right {
    left: auto;
    right: 0;
}

.dropdown-menu-container:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1.25rem;
    color: #1f2937;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.dropdown-item:hover {
    background-color: #fef3c7;
    color: #92400e;
}

/* Стили для меню только с иконками */
.dropdown-menu-icons {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    padding: 0.75rem;
    min-width: auto;
}

.dropdown-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.375rem;
    color: #1f2937;
    transition: all 0.2s ease;
}

.dropdown-item-icon:hover {
    background-color: #fef3c7;
    color: #92400e;
    transform: scale(1.1);
}

.dropdown-item-text {
    display: block;
}

/* Исключаем подчеркивание для выпадающего меню */
.dropdown-menu-container .dropdown-trigger:after {
    display: none;
}

/* Анимация стрелки при наведении */
.dropdown-menu-container:hover .dropdown-trigger svg {
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}

.dropdown-trigger svg {
    transition: transform 0.3s ease;
}

/* Декоративные элементы */
.circle-decoration {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, #FFC107 100%);
    opacity: 0.1;
    z-index: -1;
}

/* Стилизация для страницы услуг */
.service-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

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

.feature-card {
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.process-step {
    position: relative;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 40px;
    left: 24px;
    bottom: -40px;
    width: 2px;
    background-color: var(--primary-color);
    z-index: -1;
}

.process-step:last-child::after {
    display: none;
}

.step-number {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.25rem;
    margin-right: 1rem;
    flex-shrink: 0;
}


.yellow-accent {
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

.yellow-text {
    color: var(--primary-color);
}

/* Градиентные кнопки */
.btn-gradient {
    background: linear-gradient(90deg, var(--primary-color) 0%, #FFC107 100%);
    color: var(--secondary-color);
    font-weight: 600;
    border-radius: 8px;
    padding: 12px 24px;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 10px rgba(255, 229, 0, 0.3);
}

.btn-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 229, 0, 0.4);
}

.btn-gradient:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(255, 229, 0, 0.3);
}

/* Анимации */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animated {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }

/* Дополнительные стили для карточек */
.card-hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Hero баннер */
.hero-banner {
    position: relative;
    background-color: #000;
    overflow: hidden;
    border-radius: 16px;
    height: 600px;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
}

.hero-banner img {
    opacity: 0.8;
    object-fit: cover;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
}

.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    text-align: center;
    color: white;
    z-index: 2;
    transition: transform 0.3s ease;
}

/* Стилизованные счетчики */
.stats-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.counter {
    font-size: 3rem;
    font-weight: 800;
    color: var(--secondary-color);
    line-height: 1;
}

/* Пульсирующая анимация для кнопок */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 229, 0, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 229, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 229, 0, 0);
    }
}

.btn-pulse {
    animation: pulse 1.5s infinite;
}

/* Стилизованные секции */
.section-shaped {
    position: relative;
    overflow: hidden;
}

.section-shaped::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 0;
    right: 0;
    height: 200px;
    background-color: inherit;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.section-shaped::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: 0;
    right: 0;
    height: 200px;
    background-color: inherit;
    border-radius: 0 0 50% 50% / 0 0 100% 100%;
}

/* Модальные окна */
.modal-overlay {
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    transition: opacity 0.3s ease;
}

.modal-content {
    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
    border-radius: 16px;
    overflow: hidden;
}

.modal-open {
    transform: translateY(0);
    opacity: 1;
}

/* Декоративные элементы */
.circle-decoration {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, #FFC107 100%);
    opacity: 0.1;
    z-index: -1;
}

/* FAQ Styles */
.faq-question {
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(255, 229, 0, 0.1);
}

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

/* Мягкие градиенты для секций */
.section-hero {
    background: linear-gradient(135deg, #FFF9E6 0%, #FFF5D6 100%);
}

.section-types {
    background: linear-gradient(135deg, #F0F7FF 0%, #E6F0FF 100%);
}

/* Modern Hero Section Styles */
.hero-gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #f5576c 75%, #4facfe 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.3) 100%);
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Floating Elements */
.hero-floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

.floating-circle, .floating-square {
    position: absolute;
    opacity: 0.1;
    animation: float 20s linear infinite;
}

.floating-circle {
    border-radius: 50%;
    background: linear-gradient(45deg, #fff, #f0f0f0);
}

.floating-square {
    background: linear-gradient(45deg, #ffe500, #ffed4e);
    transform: rotate(45deg);
}

.circle-1 {
    width: 120px;
    height: 120px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 25s;
}

.circle-2 {
    width: 80px;
    height: 80px;
    top: 60%;
    right: 15%;
    animation-delay: -5s;
    animation-duration: 30s;
}

.circle-3 {
    width: 200px;
    height: 200px;
    bottom: 10%;
    left: 5%;
    animation-delay: -10s;
    animation-duration: 35s;
}

.square-1 {
    width: 60px;
    height: 60px;
    top: 30%;
    right: 25%;
    animation-delay: -7s;
    animation-duration: 28s;
}

.square-2 {
    width: 40px;
    height: 40px;
    bottom: 40%;
    right: 5%;
    animation-delay: -12s;
    animation-duration: 22s;
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-30px) rotate(120deg); }
    66% { transform: translateY(20px) rotate(240deg); }
    100% { transform: translateY(0px) rotate(360deg); }
}

/* Hero Badge */
.hero-badge {
    display: inline-block;
    margin-bottom: 2rem;
}

.hero-badge-text {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.hero-badge-text:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Hero Title */
.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-align: center;
}

.hero-title-gradient {
    background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-title-secondary {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
}

/* Hero Subtitle */
.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
}

/* Hero CTA Buttons */
.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.hero-btn-primary, .hero-btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-btn-primary {
    background: linear-gradient(135deg, #ffe500 0%, #ffed4e 100%);
    color: #000;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(255, 229, 0, 0.3);
}

.hero-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 229, 0, 0.4);
}

.hero-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.1);
}

@media (max-width: 640px) {
    .hero-cta {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .hero-btn-primary, .hero-btn-secondary {
        width: 100%;
        justify-content: center;
        max-width: 280px;
    }
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2rem;
}

.hero-stat {
    text-align: center;
    color: white;
}

.hero-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .hero-stats {
        gap: 2rem;
    }
    
    .hero-stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        gap: 1.5rem;
    }
    
    .hero-stat-number {
        font-size: 1.5rem;
    }
    
    .hero-stat-label {
        font-size: 0.75rem;
    }
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    animation: bounce 2s infinite;
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    position: relative;
    margin-bottom: 0.5rem;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite;
}

.scroll-text {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes scrollWheel {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0.5; transform: translateX(-50%) translateY(8px); }
    100% { opacity: 1; transform: translateX(-50%) translateY(0); }
}

@media (max-width: 768px) {
    .hero-scroll-indicator {
        display: none;
    }
}

/* ============================================================
   Cases Hero v2 (ch2) — Editorial Dark with Aurora
   ============================================================ */
.ch2 {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: #06060f;
    overflow: hidden;
}

/* --- Aurora blobs --- */
.ch2__aurora {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}
.ch2__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.45;
    will-change: transform;
}
.ch2__blob--1 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, #3b82f6 0%, transparent 70%);
    top: -10%; left: -8%;
    animation: ch2Float1 18s ease-in-out infinite;
}
.ch2__blob--2 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, #a855f7 0%, transparent 70%);
    bottom: -5%; right: -5%;
    animation: ch2Float2 22s ease-in-out infinite;
}
.ch2__blob--3 {
    width: 350px; height: 350px;
    background: radial-gradient(circle, #06b6d4 0%, transparent 70%);
    top: 40%; left: 50%;
    animation: ch2Float3 16s ease-in-out infinite;
}

@keyframes ch2Float1 {
    0%,100% { transform: translate(0,0) scale(1); }
    33% { transform: translate(60px,40px) scale(1.1); }
    66% { transform: translate(-30px,70px) scale(0.95); }
}
@keyframes ch2Float2 {
    0%,100% { transform: translate(0,0) scale(1); }
    33% { transform: translate(-50px,-30px) scale(1.08); }
    66% { transform: translate(40px,-60px) scale(0.92); }
}
@keyframes ch2Float3 {
    0%,100% { transform: translate(0,0) scale(1); }
    50% { transform: translate(-80px,30px) scale(1.15); }
}

/* --- Dot grid --- */
.ch2__grid {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 100%);
}

/* --- Decorative lines --- */
.ch2__line {
    position: absolute;
    z-index: 1;
    pointer-events: none;
}
.ch2__line--1 {
    top: 22%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(59,130,246,0.2) 30%, rgba(168,85,247,0.15) 70%, transparent 100%);
}
.ch2__line--2 {
    bottom: 18%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(6,182,212,0.15) 40%, rgba(59,130,246,0.2) 80%, transparent 100%);
}

/* --- Inner layout --- */
.ch2__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 7rem 2rem 5rem;
    width: 100%;
}

/* --- Badge --- */
.ch2__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
    color: rgba(255,255,255,0.6);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    backdrop-filter: blur(8px);
}
.ch2__badge-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #3b82f6;
    box-shadow: 0 0 8px #3b82f6;
    animation: ch2Pulse 2s ease-in-out infinite;
}
@keyframes ch2Pulse {
    0%,100% { opacity: 1; box-shadow: 0 0 8px #3b82f6; }
    50% { opacity: 0.5; box-shadow: 0 0 16px #3b82f6, 0 0 32px rgba(59,130,246,0.3); }
}

/* --- Title --- */
.ch2__title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.08;
    margin: 0 0 1.5rem;
    letter-spacing: -0.03em;
}
.ch2__title-line {
    display: block;
    color: #fff;
}
.ch2__title-accent {
    display: block;
    background: linear-gradient(135deg, #3b82f6 0%, #a855f7 40%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Description --- */
.ch2__desc {
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.55);
    max-width: 520px;
    margin-bottom: 2.5rem;
}

/* --- Actions --- */
.ch2__actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.ch2__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
    color: #fff;
    box-shadow: 0 4px 24px rgba(59,130,246,0.35), inset 0 1px 0 rgba(255,255,255,0.1);
    transition: transform 0.25s, box-shadow 0.25s;
    position: relative;
    overflow: hidden;
}
.ch2__cta::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
}
.ch2__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(59,130,246,0.5), inset 0 1px 0 rgba(255,255,255,0.15);
}
.ch2__cta:hover::before { opacity: 1; }

.ch2__link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255,255,255,0.5);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.25s;
}
.ch2__link:hover { color: rgba(255,255,255,0.85); }

/* --- Stats grid --- */
.ch2__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}
.ch2__stat {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    padding: 1.75rem 1.5rem;
    backdrop-filter: blur(12px);
    transition: transform 0.35s cubic-bezier(.22,1,.36,1), border-color 0.35s, box-shadow 0.35s;
    position: relative;
    overflow: hidden;
}
.ch2__stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(59,130,246,0.4), transparent);
    opacity: 0;
    transition: opacity 0.35s;
}
.ch2__stat:hover {
    transform: translateY(-4px);
    border-color: rgba(59,130,246,0.15);
    box-shadow: 0 12px 40px rgba(59,130,246,0.08);
}
.ch2__stat:hover::before { opacity: 1; }

.ch2__stat-num {
    font-size: 2.75rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 0.4rem;
    letter-spacing: -0.03em;
}
.ch2__stat-plus,
.ch2__stat-pct,
.ch2__stat-x {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #3b82f6, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-left: 2px;
}
.ch2__stat-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 500;
    margin-bottom: 1rem;
}
.ch2__stat-bar {
    height: 3px;
    background: rgba(255,255,255,0.06);
    border-radius: 3px;
    overflow: hidden;
}
.ch2__stat-bar span {
    display: block;
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, #3b82f6, #a855f7);
    transform-origin: left;
    animation: ch2BarGrow 1.8s cubic-bezier(.22,1,.36,1) forwards;
    transform: scaleX(0);
}
@keyframes ch2BarGrow {
    to { transform: scaleX(1); }
}

/* --- Scroll indicator --- */
.ch2__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 3;
    animation: ch2Bounce 2.5s ease-in-out infinite;
}
.ch2__scroll-mouse {
    width: 22px;
    height: 36px;
    border: 2px solid rgba(255,255,255,0.15);
    border-radius: 11px;
    position: relative;
}
.ch2__scroll-wheel {
    position: absolute;
    top: 7px;
    left: 50%;
    width: 3px;
    height: 6px;
    margin-left: -1.5px;
    background: rgba(255,255,255,0.35);
    border-radius: 3px;
    animation: ch2Wheel 1.8s ease-in-out infinite;
}
.ch2__scroll-label {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.25);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 500;
}
@keyframes ch2Bounce {
    0%,100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}
@keyframes ch2Wheel {
    0%,100% { opacity: 1; transform: translateY(0); }
    50% { opacity: 0.3; transform: translateY(6px); }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .ch2__inner {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
        padding-top: 8rem;
    }
    .ch2__desc { margin-left: auto; margin-right: auto; }
    .ch2__actions { justify-content: center; }
    .ch2__stats { max-width: 480px; margin: 0 auto; }
    .ch2__blob--1 { width: 400px; height: 400px; }
    .ch2__blob--2 { width: 350px; height: 350px; }
    .ch2__blob--3 { width: 250px; height: 250px; }
}
@media (max-width: 640px) {
    .ch2__title { font-size: 2rem; }
    .ch2__desc { font-size: 1rem; }
    .ch2__stats { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
    .ch2__stat { padding: 1.25rem 1rem; }
    .ch2__stat-num { font-size: 2rem; }
    .ch2__cta { width: 100%; justify-content: center; }
    .ch2__scroll { display: none; }
    .ch2__blob--1 { width: 280px; height: 280px; }
    .ch2__blob--2 { width: 240px; height: 240px; }
    .ch2__blob--3 { display: none; }
}

/* Service Hero - цветовые варианты фона */
.service-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: 400% 400%;
    animation: gradientShift 20s ease infinite;
}
.service-hero-bg--web {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 25%, #ea580c 50%, #f97316 75%, #eab308 100%);
}
.service-hero-bg--mobile {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 25%, #a855f7 50%, #7c3aed 75%, #4f46e5 100%);
}
.service-hero-bg--complex {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 25%, #06b6d4 50%, #10b981 75%, #059669 100%);
}
.service-hero-bg--automation {
    background: linear-gradient(135deg, #047857 0%, #059669 25%, #10b981 50%, #14b8a6 75%, #06b6d4 100%);
}
.service-hero-bg--clients {
    background: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 25%, #a855f7 50%, #d946ef 75%, #ec4899 100%);
}
.service-hero-bg--sales {
    background: linear-gradient(135deg, #b45309 0%, #d97706 25%, #f59e0b 50%, #eab308 75%, #84cc16 100%);
}
.service-hero-bg--ai {
    background: linear-gradient(135deg, #4c1d95 0%, #6d28d9 25%, #7c3aed 50%, #8b5cf6 75%, #a78bfa 100%);
}

/* (Old cases-hero styles removed — replaced by ch2 block above) */

/* ============================================================
   Case Detail Hero (CDH) — Immersive Split Layout
   ============================================================ */
.cdh {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: #050510;
    overflow: hidden;
}

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

.cdh__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(0.7) brightness(0.9);
}

.cdh__bg-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(5,5,16,0.92) 0%, rgba(5,5,16,0.55) 50%, rgba(5,5,16,0.75) 100%),
        linear-gradient(to bottom, transparent 50%, rgba(5,5,16,0.95) 100%);
}

.cdh__bg--fallback {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 40%, #0c1222 100%);
}

.cdh__bg-overlay--fallback {
    background:
        radial-gradient(ellipse at 20% 50%, rgba(59,130,246,0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 30%, rgba(168,85,247,0.06) 0%, transparent 50%);
}

/* Decorative Orbs */
.cdh__decor {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.cdh__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    will-change: transform;
}

.cdh__orb--1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59,130,246,0.25) 0%, transparent 70%);
    top: -15%;
    right: -10%;
    animation: cdhOrb 22s ease-in-out infinite;
}

.cdh__orb--2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(168,85,247,0.2) 0%, transparent 70%);
    bottom: 5%;
    left: -8%;
    animation: cdhOrb 26s ease-in-out infinite;
    animation-delay: -9s;
}

.cdh__orb--3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255,229,0,0.12) 0%, transparent 70%);
    top: 35%;
    right: 25%;
    animation: cdhOrb 30s ease-in-out infinite;
    animation-delay: -16s;
}

@keyframes cdhOrb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25%      { transform: translate(35px, -25px) scale(1.06); }
    50%      { transform: translate(-25px, 20px) scale(0.94); }
    75%      { transform: translate(20px, 30px) scale(1.03); }
}

/* Wrapper & Grid */
.cdh__wrapper {
    padding-top: 8rem;
    padding-bottom: 8rem;
}

.cdh__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .cdh__grid {
        grid-template-columns: 1.4fr 1fr;
        gap: 4rem;
    }
}

/* Content */
.cdh__content {
    text-align: left;
}

/* Tags */
.cdh__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.cdh__tag {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.25rem;
    background: rgba(255,229,0,0.08);
    border: 1px solid rgba(255,229,0,0.22);
    color: #ffe500;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: all 0.35s ease;
}

.cdh__tag:hover {
    background: rgba(255,229,0,0.18);
    box-shadow: 0 0 24px rgba(255,229,0,0.12);
    transform: translateY(-1px);
}

/* Title */
.cdh__title {
    font-size: clamp(2.25rem, 5vw, 4.25rem);
    font-weight: 800;
    line-height: 1.08;
    color: #fff;
    margin-bottom: 1.25rem;
    letter-spacing: -0.025em;
}

/* Animated divider */
.cdh__divider {
    width: 72px;
    height: 4px;
    background: linear-gradient(90deg, #ffe500, #f59e0b);
    border-radius: 2px;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.cdh__divider::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
    animation: cdhShimmer 3s ease-in-out infinite;
}

@keyframes cdhShimmer {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(200%); }
}

/* Subtitle */
.cdh__subtitle {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.75;
    margin-bottom: 2.5rem;
    max-width: 580px;
}

@media (max-width: 768px) {
    .cdh__subtitle {
        font-size: 1.05rem;
    }
}

/* Actions */
.cdh__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.cdh__cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #ffe500 0%, #f59e0b 100%);
    color: #000;
    border: none;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.35s ease;
    box-shadow: 0 8px 30px rgba(255,229,0,0.2);
    position: relative;
    overflow: hidden;
}

.cdh__cta-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255,255,255,0.25), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.cdh__cta-primary:hover::before {
    transform: translateX(100%);
}

.cdh__cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 44px rgba(255,229,0,0.32);
}

.cdh__cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.18);
    color: #fff;
    border-radius: 14px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.35s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.cdh__cta-secondary:hover {
    background: rgba(255,255,255,0.14);
    border-color: rgba(255,255,255,0.3);
    transform: translateY(-3px);
    color: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

@media (max-width: 480px) {
    .cdh__actions {
        flex-direction: column;
        align-items: stretch;
    }
    .cdh__cta-primary,
    .cdh__cta-secondary {
        justify-content: center;
        text-align: center;
    }
}

/* ---- Side panel: glassmorphism card ---- */
.cdh__card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: border-color 0.5s ease, box-shadow 0.5s ease;
}

.cdh__card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255,229,0,0.35), transparent 40%, rgba(59,130,246,0.3));
    -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;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.cdh__card:hover::before {
    opacity: 1;
}

.cdh__card:hover {
    border-color: rgba(255,255,255,0.18);
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}

.cdh__card-glow {
    position: absolute;
    top: -60%;
    right: -40%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 40%, rgba(255,229,0,0.04), transparent 55%);
    pointer-events: none;
}

.cdh__card-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: rgba(255,255,255,0.85);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.cdh__card-title svg {
    color: #ffe500;
    flex-shrink: 0;
}

/* Metrics grid */
.cdh__metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.cdh__metric {
    text-align: center;
    padding: 1.1rem 0.75rem;
    background: rgba(255,255,255,0.04);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.07);
    transition: all 0.35s ease;
}

.cdh__metric:hover {
    background: rgba(255,255,255,0.09);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.2);
}

.cdh__metric-value {
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffe500, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    margin-bottom: 0.3rem;
}

.cdh__metric-label {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.35;
}

.cdh__card-btn {
    width: 100%;
    padding: 0.9rem;
    background: rgba(255,229,0,0.1);
    border: 1px solid rgba(255,229,0,0.25);
    color: #ffe500;
    border-radius: 14px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.35s ease;
}

.cdh__card-btn:hover {
    background: rgba(255,229,0,0.22);
    box-shadow: 0 0 36px rgba(255,229,0,0.12);
    transform: translateY(-2px);
}

/* Preview fallback (image instead of metrics) */
.cdh__preview {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.cdh__preview:hover {
    transform: scale(1.02) translateY(-4px);
    box-shadow: 0 40px 80px rgba(0,0,0,0.5);
}

.cdh__preview-img {
    width: 100%;
    height: auto;
    display: block;
}

/* ---- Bottom stages bar ---- */
.cdh__stages {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 1.25rem 2rem;
    background: rgba(5,5,16,0.5);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-top: 1px solid rgba(255,255,255,0.06);
    z-index: 20;
}

.cdh__stage {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.1rem;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 0.82rem;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.cdh__stage:hover {
    color: #ffe500;
    background: rgba(255,229,0,0.06);
}

.cdh__stage-num {
    font-weight: 800;
    font-size: 0.72rem;
    color: rgba(255,229,0,0.45);
    font-variant-numeric: tabular-nums;
}

.cdh__stage:hover .cdh__stage-num {
    color: #ffe500;
}

.cdh__stage-name {
    font-weight: 500;
}

.cdh__stage-connector {
    width: 28px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
}

@media (max-width: 768px) {
    .cdh__stages {
        display: none;
    }
}

/* Scroll indicator */
.cdh__scroll {
    position: absolute;
    bottom: 5.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 21;
    color: rgba(255,255,255,0.4);
    animation: cdhBounce 2.5s ease-in-out infinite;
}

.cdh__scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    position: relative;
}

.cdh__scroll-wheel {
    width: 3px;
    height: 7px;
    background: rgba(255,255,255,0.45);
    border-radius: 2px;
    position: absolute;
    top: 7px;
    left: 50%;
    transform: translateX(-50%);
    animation: cdhWheel 2s ease-in-out infinite;
}

@keyframes cdhBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(10px); }
}

@keyframes cdhWheel {
    0%   { opacity: 1; top: 7px; }
    100% { opacity: 0; top: 22px; }
}

@media (max-width: 768px) {
    .cdh__scroll {
        display: none;
    }
    .cdh__wrapper {
        padding-top: 6rem;
        padding-bottom: 4rem;
    }
}

/* Contact Hero Section Styles */
.contact-hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 2rem 0;
}

.contact-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 25%, #ea580c 50%, #dc2626 75%, #b91c1c 100%);
    background-size: 400% 400%;
    animation: gradientShift 18s ease infinite;
}

.contact-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.35) 100%);
}

/* Floating Contact Icons */
.contact-floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

.contact-icon {
    position: absolute;
    color: rgba(255, 255, 255, 0.12);
    animation: floatContact 22s linear infinite;
}

.contact-icon.icon-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 26s;
}

.contact-icon.icon-2 {
    top: 30%;
    right: 15%;
    animation-delay: -6s;
    animation-duration: 30s;
}

.contact-icon.icon-3 {
    bottom: 25%;
    left: 12%;
    animation-delay: -12s;
    animation-duration: 24s;
}

.contact-icon.icon-4 {
    bottom: 35%;
    right: 10%;
    animation-delay: -18s;
    animation-duration: 28s;
}

@keyframes floatContact {
    0% { transform: translateY(0px) rotate(0deg) scale(1); opacity: 0.12; }
    25% { transform: translateY(-25px) rotate(90deg) scale(1.15); opacity: 0.18; }
    50% { transform: translateY(15px) rotate(180deg) scale(0.95); opacity: 0.15; }
    75% { transform: translateY(-18px) rotate(270deg) scale(1.08); opacity: 0.20; }
    100% { transform: translateY(0px) rotate(360deg) scale(1); opacity: 0.12; }
}

/* Contact Hero Badge */
.contact-hero-badge {
    display: inline-block;
    margin-bottom: 2rem;
}

.contact-badge-text {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.contact-badge-text:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Contact Hero Title */
.contact-hero-title {
    font-size: 3.75rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Compact Title */
.contact-hero-title-compact {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-align: center;
}

.contact-title-primary {
    background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.contact-title-secondary {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

@media (max-width: 768px) {
    .contact-hero-title {
        font-size: 2.5rem;
    }
    
    .contact-hero-title-compact {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .contact-hero-title {
        font-size: 2rem;
    }
    
    .contact-hero-title-compact {
        font-size: 1.75rem;
    }
}

/* Contact Hero Subtitle */
.contact-hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 3rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

/* Compact Subtitle */
.contact-hero-subtitle-compact {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .contact-hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2.5rem;
    }
    
    .contact-hero-subtitle-compact {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
}

/* Contact Cards Grid */
.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.contact-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.contact-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-card-icon {
    transform: scale(1.1);
}

.contact-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.contact-card-description {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.contact-card-link {
    display: inline-flex;
    align-items: center;
    color: #ffe500;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    background: rgba(255, 229, 0, 0.1);
    border: 1px solid rgba(255, 229, 0, 0.3);
}

.contact-card-link:hover {
    background: rgba(255, 229, 0, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 229, 0, 0.3);
}

.contact-card-address {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    line-height: 1.5;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-card-schedule {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.schedule-item {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 0.5rem;
}

.schedule-item:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .contact-cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .contact-card {
        padding: 1.5rem;
    }
    
    .contact-card-icon {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .contact-cards-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-card {
        padding: 1.25rem;
    }
}

/* Contact CTA Section */
.contact-cta-section {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 3rem 2rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.contact-cta-title {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.contact-cta-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-cta-btn {
    display: inline-flex;
    align-items: center;
    padding: 1.25rem 2.5rem;
    background: linear-gradient(135deg, #ffe500 0%, #ffed4e 100%);
    color: #000;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(255, 229, 0, 0.3);
}

.contact-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 229, 0, 0.4);
}

@media (max-width: 768px) {
    .contact-cta-section {
        padding: 2rem 1.5rem;
    }
    
    .contact-cta-title {
        font-size: 1.75rem;
    }
    
    .contact-cta-description {
        font-size: 1rem;
    }
}

@media (max-width: 640px) {
    .contact-cta-btn {
        width: 100%;
        justify-content: center;
        max-width: 300px;
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

/* Contact Scroll Indicator */
.contact-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    animation: bounce 2s infinite;
}

@media (max-width: 768px) {
    .contact-scroll-indicator {
        display: none;
    }
}

/* Contact Info Block */
.contact-info-block {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.contact-info-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: rgba(255, 229, 0, 0.2);
    border: 1px solid rgba(255, 229, 0, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffe500;
}

.contact-info-content {
    flex: 1;
}

.contact-info-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-info-value {
    font-size: 1.1rem;
    color: white;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    line-height: 1.4;
}

.contact-info-value:hover {
    color: #ffe500;
}

@media (max-width: 768px) {
    .contact-info-block {
        padding: 1.5rem;
        max-width: 100%;
    }
    
    .contact-info-grid {
        gap: 1rem;
    }
    
    .contact-info-item {
        padding: 0.75rem;
        gap: 0.75rem;
    }
    
    .contact-info-icon {
        width: 40px;
        height: 40px;
    }
    
    .contact-info-value {
        font-size: 1rem;
    }
}

/* Compact CTA */
.contact-cta-compact {
    text-align: center;
    margin-bottom: 1rem;
}

.contact-cta-btn-compact {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #ffe500 0%, #ffed4e 100%);
    color: #000;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(255, 229, 0, 0.3);
}

.contact-cta-btn-compact:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 229, 0, 0.4);
}

@media (max-width: 640px) {
    .contact-cta-btn-compact {
        width: 100%;
        justify-content: center;
        max-width: 280px;
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
}

.section-tech {
    background: linear-gradient(135deg, #F5F0FF 0%, #EBE6FF 100%);
}

.section-benefits {
    background: linear-gradient(135deg, #F0FFF4 0%, #E6FFEB 100%);
}

.section-process {
    background: linear-gradient(135deg, #FFF5F5 0%, #FFEBEB 100%);
}

.section-faq {
    background: linear-gradient(135deg, #F9FAFB 0%, #F3F4F6 100%);
}

.section-contact {
    background: linear-gradient(135deg, #F0F9FF 0%, #E6F4FF 100%);
}

/* Стили для логотипа ADN */
.logo-container {
  display: flex;
  align-items: center;
}

.logo-container img {
  transition: transform 0.3s ease;
}

.logo-container:hover img {
  transform: scale(1.05);
}

/* Стили для текста логотипа */
.logo-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 100px;
}

.logo-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 30px;
}

.logo-yellow {
  fill: #FFC700;
}

/* ===== HACK ITS Logo ===== */
.hack-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
  cursor: pointer;
}

.hack-logo__badge {
  position: relative;
  display: flex;
  align-items: center;
  gap: 3px;
  background: linear-gradient(135deg, #FCD34D 0%, #F59E0B 50%, #D97706 100%);
  padding: 5px 14px 5px 12px;
  border-radius: 6px;
  transform: skewX(-6deg);
  box-shadow:
    0 2px 10px rgba(245, 158, 11, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  z-index: 1;
}

.hack-logo__badge::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 8px;
  background: linear-gradient(135deg, #FCD34D, #F59E0B, #D97706);
  filter: blur(10px);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.35s ease;
}

.hack-logo:hover .hack-logo__badge::after {
  opacity: 0.6;
}

.hack-logo__shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.4) 50%,
    transparent 100%
  );
  transition: left 0.6s ease;
  pointer-events: none;
}

.hack-logo:hover .hack-logo__shine {
  left: 100%;
}

.hack-logo:hover .hack-logo__badge {
  box-shadow:
    0 4px 24px rgba(245, 158, 11, 0.55),
    0 0 40px rgba(245, 158, 11, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transform: skewX(-6deg) scale(1.06);
}

.hack-logo__name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 19px;
  color: #000;
  letter-spacing: 3px;
  transform: skewX(6deg);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.15);
  line-height: 1;
}

.hack-logo__blink {
  display: inline-block;
  width: 2px;
  height: 17px;
  background-color: #1a1a1a;
  transform: skewX(6deg);
  animation: logoCursorBlink 1.2s step-end infinite;
  opacity: 0.7;
  border-radius: 1px;
}

@keyframes logoCursorBlink {
  0%, 100% { opacity: 0.75; }
  50% { opacity: 0; }
}

.hack-logo__its {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 19px;
  color: #1F2937;
  letter-spacing: 2px;
  transition: all 0.35s ease;
  position: relative;
}

.hack-logo__its::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #F59E0B, #FBBF24);
  border-radius: 1px;
  transition: width 0.35s ease;
}

.hack-logo:hover .hack-logo__its {
  color: #D97706;
}

.hack-logo:hover .hack-logo__its::after {
  width: 100%;
}

/* Footer variant (dark background) */
.hack-logo--footer .hack-logo__its {
  color: #F3F4F6;
}

.hack-logo--footer:hover .hack-logo__its {
  color: #FBBF24;
}

/* Анимация blob */
@keyframes blob {
    0% {
        transform: translate(0px, 0px) scale(1);
    }
    33% {
        transform: translate(30px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
    100% {
        transform: translate(0px, 0px) scale(1);
    }
}

.animate-blob {
    animation: blob 7s infinite;
}

.animation-delay-2000 {
    animation-delay: 2s;
}

.animation-delay-4000 {
    animation-delay: 4s;
}

/* Анимация для графиков */
.graph-line {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: draw 2s ease-out forwards;
}

@keyframes draw {
    to {
        stroke-dashoffset: 0;
    }
}

/* Стили для метрик продаж */
.sales-metric {
    background: linear-gradient(135deg, #FFFFFF 0%, #F8F9FA 100%);
    border: 1px solid #E9ECEF;
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.sales-metric:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.sales-metric .metric-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    display: block;
}

.sales-metric .metric-label {
    color: var(--text-color);
    font-weight: 600;
    margin-top: 0.5rem;
    display: inline-block;
}

/* Стили для сервисных иконок */
.service-icon {
    background: #F8F9FA;
    border-radius: var(--border-radius);
    padding: 16px;
    transition: all 0.3s ease;
}

.service-icon:hover {
    background: var(--primary-color);
    transform: scale(1.05);
}

.service-icon svg {
    transition: all 0.3s ease;
}

.service-icon:hover svg {
    color: var(--secondary-color);
}

/* Стили для FAQ */
.faq-answer {
    max-height: 1000px;
    overflow: hidden;
    transition: all 0.5s ease;
    opacity: 1;
}

.faq-answer.hidden {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
    margin: 0;
}

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

.faq-question {
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f9f9f9;
}

.faq-item {
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #fbbf24;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Мобильное бургер-меню */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:focus {
    outline: none;
}

.burger-line {
    width: 100%;
    height: 3px;
    background-color: var(--text-color);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Анимация бургер-меню при открытии */
.mobile-menu-toggle.active .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .burger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Мобильное меню */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--secondary-color);
    z-index: 1000;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
    padding: 2rem;
}

.mobile-menu-link {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-menu-link:hover,
.mobile-menu-link.active {
    color: var(--primary-color);
    background-color: rgba(255, 229, 0, 0.15);
}

.mobile-cta-button {
    margin-top: 1rem;
    font-size: 1.1rem;
    padding: 0.75rem 2rem;
}

/* Скрываем мобильное меню на десктопе */
@media (min-width: 768px) {
    .mobile-menu {
        display: none;
    }
}

/* Карточки кейсов: аккуратные изображения без растягивания */
.cases-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cases-card-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(145deg, #f8fafc 0%, #eef2ff 100%);
}

.cases-card-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
    padding: 0.75rem;
    transition: transform 0.45s ease;
}

.cases-card-image-contain {
    object-fit: contain;
}

.cases-card:hover .cases-card-image {
    transform: scale(1.03);
}

@media (max-width: 767px) {
    .cases-card-media {
        aspect-ratio: 4 / 3;
    }
}

/* ── Case Navigation (prev/next split-screen) ── */

.case-nav-section {
    overflow: hidden;
}

.case-nav-container {
    display: flex;
    min-height: 340px;
}

.case-nav-half {
    position: relative;
    flex: 1 1 50%;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
    overflow: hidden;
    transition: flex 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.case-nav-container:hover .case-nav-half {
    flex: 0.85;
}

.case-nav-container .case-nav-half:hover {
    flex: 1.15;
}

.case-nav-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.case-nav-half:hover .case-nav-bg {
    transform: scale(1.08);
}

.case-nav-overlay {
    position: absolute;
    inset: 0;
    transition: background 0.5s ease;
}

.case-nav-prev .case-nav-overlay {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.88) 0%, rgba(30, 58, 138, 0.75) 100%);
}

.case-nav-next .case-nav-overlay {
    background: linear-gradient(225deg, rgba(15, 23, 42, 0.88) 0%, rgba(88, 28, 135, 0.75) 100%);
}

.case-nav-prev:hover .case-nav-overlay {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.78) 0%, rgba(30, 58, 138, 0.6) 100%);
}

.case-nav-next:hover .case-nav-overlay {
    background: linear-gradient(225deg, rgba(15, 23, 42, 0.78) 0%, rgba(88, 28, 135, 0.6) 100%);
}

.case-nav-content {
    position: relative;
    z-index: 2;
    padding: 3rem;
    max-width: 480px;
}

.case-nav-prev .case-nav-content {
    margin-right: auto;
    padding-left: 6rem;
}

.case-nav-next .case-nav-content {
    margin-left: auto;
    text-align: right;
    padding-right: 6rem;
}

.case-nav-direction {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.case-nav-half:hover .case-nav-direction {
    color: rgba(255, 255, 255, 0.9);
}

.case-nav-title {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.case-nav-prev:hover .case-nav-title {
    transform: translateX(8px);
}

.case-nav-next:hover .case-nav-title {
    transform: translateX(-8px);
}

.case-nav-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.case-nav-next .case-nav-categories {
    justify-content: flex-end;
}

.case-nav-cat {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(4px);
}

.case-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(8px);
}

.case-nav-arrow-left {
    left: 1.5rem;
}

.case-nav-arrow-right {
    right: 1.5rem;
}

.case-nav-half:hover .case-nav-arrow {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.case-nav-prev:hover .case-nav-arrow-left {
    transform: translateY(-50%) translateX(-4px);
}

.case-nav-next:hover .case-nav-arrow-right {
    transform: translateY(-50%) translateX(4px);
}

/* Разделитель между половинами */
.case-nav-container::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 10%;
    bottom: 10%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.2), transparent);
    z-index: 3;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.case-nav-section {
    position: relative;
}

.case-nav-container {
    position: relative;
}

/* Мобильная адаптация */
@media (max-width: 767px) {
    .case-nav-container {
        flex-direction: column;
        min-height: auto;
    }

    .case-nav-half {
        min-height: 200px;
    }

    .case-nav-container:hover .case-nav-half {
        flex: 1;
    }

    .case-nav-container .case-nav-half:hover {
        flex: 1;
    }

    .case-nav-content {
        padding: 2rem 1.5rem;
    }

    .case-nav-next .case-nav-content {
        margin-left: 0;
        text-align: left;
    }

    .case-nav-next .case-nav-categories {
        justify-content: flex-start;
    }

    .case-nav-title {
        font-size: 1.35rem;
    }

    .case-nav-arrow {
        display: none;
    }

    .case-nav-container::after {
        left: 10%;
        right: 10%;
        top: 50%;
        bottom: auto;
        width: auto;
        height: 1px;
        background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
    }
}

/* ── Cases Carousel ── */

.cases-carousel-section {
    position: relative;
    overflow: hidden;
}

.cases-carousel-header {
    text-align: center;
    padding: 4rem 1rem 2.5rem;
}

.cases-carousel {
    position: relative;
    height: 600px;
}

.cases-carousel-track {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.cases-carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s;
}

.cases-carousel-slide.is-active {
    opacity: 1;
    visibility: visible;
}

.cases-carousel-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    transition: transform 6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.cases-carousel-slide.is-active .cases-carousel-bg {
    transform: scale(1.05);
}

.cases-carousel-bg--fallback {
    background: linear-gradient(135deg, #1e3a8a 0%, #581c87 100%);
}

.cases-carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(30, 58, 138, 0.7) 50%, rgba(88, 28, 135, 0.6) 100%);
    transition: transform 6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.cases-carousel-slide.is-active .cases-carousel-overlay {
    transform: scale(1.05);
}

.cases-carousel-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 4rem 6rem;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.2s, opacity 0.6s ease 0.2s;
}

.cases-carousel-slide.is-active .cases-carousel-content {
    transform: translateY(0);
    opacity: 1;
}

.cases-carousel-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.cases-carousel-cat {
    display: inline-block;
    padding: 0.3rem 0.9rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
}

.cases-carousel-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.cases-carousel-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 1.75rem;
}

.cases-carousel-metrics {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.cases-carousel-metric {
    display: flex;
    flex-direction: column;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1rem;
    backdrop-filter: blur(4px);
}

.cases-carousel-metric-val {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffe500;
}

.cases-carousel-metric-desc {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.15rem;
}

.cases-carousel-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 2rem;
    background: #ffe500;
    color: #0f172a;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 0.75rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cases-carousel-btn:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 229, 0, 0.3);
}

/* Стрелки */
.cases-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(8px);
}

.cases-carousel-arrow:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.cases-carousel-arrow--prev {
    left: 2rem;
}

.cases-carousel-arrow--prev:hover {
    transform: translateY(-50%) translateX(-3px);
}

.cases-carousel-arrow--next {
    right: 2rem;
}

.cases-carousel-arrow--next:hover {
    transform: translateY(-50%) translateX(3px);
}

/* Футер карусели: счётчик + точки + ссылка */
.cases-carousel-footer {
    position: absolute;
    bottom: 2rem;
    left: 6rem;
    right: 6rem;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.cases-carousel-counter {
    font-family: monospace;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.cases-carousel-current {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
}

.cases-carousel-sep {
    margin: 0 0.15rem;
}

.cases-carousel-dots {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

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

.cases-carousel-dot:hover {
    background: rgba(255, 255, 255, 0.5);
}

.cases-carousel-dot.is-active {
    background: #ffe500;
    width: 28px;
    border-radius: 5px;
}

.cases-carousel-all-link {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: color 0.3s ease;
}

.cases-carousel-all-link:hover {
    color: #ffe500;
}

/* Прогресс-бар */
.cases-carousel-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 10;
}

.cases-carousel-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #ffe500, #f59e0b);
    width: 0%;
    transition: width 0.1s linear;
}

/* Мобильная адаптация */
@media (max-width: 1024px) {
    .cases-carousel {
        height: 550px;
    }

    .cases-carousel-content {
        padding: 3rem 4rem;
    }

    .cases-carousel-title {
        font-size: 2.25rem;
    }

    .cases-carousel-footer {
        left: 4rem;
        right: 4rem;
    }
}

@media (max-width: 767px) {
    .cases-carousel {
        height: auto;
        min-height: 520px;
    }

    .cases-carousel-content {
        padding: 2rem 1.5rem 5rem;
        max-width: 100%;
    }

    .cases-carousel-title {
        font-size: 1.75rem;
    }

    .cases-carousel-subtitle {
        font-size: 1rem;
    }

    .cases-carousel-metrics {
        gap: 1rem;
        flex-wrap: wrap;
    }

    .cases-carousel-metric {
        padding: 0.5rem 0.75rem;
    }

    .cases-carousel-metric-val {
        font-size: 1.2rem;
    }

    .cases-carousel-arrow {
        width: 44px;
        height: 44px;
    }

    .cases-carousel-arrow--prev {
        left: 0.75rem;
    }

    .cases-carousel-arrow--next {
        right: 0.75rem;
    }

    .cases-carousel-footer {
        left: 1.5rem;
        right: 1.5rem;
        bottom: 1.25rem;
    }

    .cases-carousel-all-link {
        display: none;
    }
}

/* ══════════════════════════════════════════════════════════════
   Magazine Cases Layout
   ══════════════════════════════════════════════════════════════ */

.case-magazine-section {
    padding: 4rem 0 2rem;
}

/* ── Category Filter Bar ── */

.case-filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.case-filter-pill {
    padding: 0.55rem 1.4rem;
    border-radius: 0.65rem;
    border: 1px solid transparent;
    background: transparent;
    color: #64748b;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.case-filter-pill:hover {
    color: #1e3a8a;
    background: rgba(30, 58, 138, 0.06);
}

.case-filter-pill.is-active {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.25);
}

/* ── Featured Case (Hero-style first card) ── */

.case-featured {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    height: 460px;
    margin-bottom: 2.5rem;
    text-decoration: none;
    color: #fff;
}

.case-featured__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    animation: caseFeaturedKenBurns 20s ease-in-out infinite alternate;
}

.case-featured__bg--fallback {
    background: linear-gradient(135deg, #1e3a8a 0%, #581c87 100%);
}

@keyframes caseFeaturedKenBurns {
    0%   { transform: scale(1)    translate(0, 0); }
    100% { transform: scale(1.08) translate(-1%, -1%); }
}

.case-featured__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(15, 23, 42, 0.88) 0%,
        rgba(30, 58, 138, 0.65) 50%,
        rgba(88, 28, 135, 0.55) 100%
    );
    transition: opacity 0.5s ease;
}

.case-featured:hover .case-featured__overlay {
    opacity: 0.92;
}

.case-featured__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    padding: 3rem 4rem;
    transform: translateY(8px);
    opacity: 0;
    animation: caseFeaturedContentIn 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards;
}

@keyframes caseFeaturedContentIn {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.case-featured__cats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.case-featured__cat {
    display: inline-block;
    padding: 0.3rem 0.9rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
}

.case-featured__title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 0.75rem;
    color: #fff;
}

.case-featured__subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 600px;
}

.case-featured__metrics {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
}

.case-featured__metric {
    display: flex;
    flex-direction: column;
    padding: 0.65rem 1.15rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.85rem;
    backdrop-filter: blur(4px);
}

.case-featured__metric-val {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffe500;
}

.case-featured__metric-desc {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.1rem;
}

.case-featured__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 2rem;
    background: #ffe500;
    color: #0f172a;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 0.75rem;
    text-decoration: none;
    width: fit-content;
    transition: all 0.3s ease;
}

.case-featured:hover .case-featured__btn {
    background: #fff;
    transform: translateX(4px);
    box-shadow: 0 8px 25px rgba(255, 229, 0, 0.3);
}

/* ── Magazine Grid ── */

.case-magazine-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

/* ── Grid Card (full-bg style) ── */

.case-mag-card {
    position: relative;
    border-radius: 1.25rem;
    overflow: hidden;
    height: 340px;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.case-mag-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 2px;
    background: conic-gradient(
        from var(--border-angle, 0deg),
        transparent 40%,
        #3b82f6 50%,
        #8b5cf6 60%,
        transparent 70%
    );
    -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;
    opacity: 0;
    transition: opacity 0.45s ease;
    z-index: 3;
    pointer-events: none;
}

.case-mag-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(30, 58, 138, 0.18), 0 8px 20px rgba(0, 0, 0, 0.08);
}

.case-mag-card:hover::before {
    opacity: 1;
    animation: borderRotate 3s linear infinite;
}

@keyframes borderRotate {
    to { --border-angle: 360deg; }
}

@property --border-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

.case-mag-card__link {
    display: block;
    position: relative;
    height: 100%;
    text-decoration: none;
    color: #fff;
}

/* Background image */

.case-mag-card__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 1.2s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.case-mag-card__bg--fallback {
    background: linear-gradient(135deg, #1e3a8a 0%, #581c87 100%);
}

.case-mag-card:hover .case-mag-card__bg {
    transform: scale(1.06);
}

/* Dark overlay */

.case-mag-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(15, 23, 42, 0.85) 0%,
        rgba(15, 23, 42, 0.4) 50%,
        rgba(15, 23, 42, 0.2) 100%
    );
    z-index: 1;
    transition: opacity 0.4s ease;
}

.case-mag-card:hover .case-mag-card__overlay {
    opacity: 0.6;
}

/* Content on top of image */

.case-mag-card__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    padding: 1.75rem;
}

.case-mag-card__cats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
}

.case-mag-card__cat {
    display: inline-block;
    padding: 0.25rem 0.8rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
}

.case-mag-card__title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.4rem;
    line-height: 1.3;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.case-mag-card__subtitle {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Hover Reveal Overlay */

.case-mag-card__reveal {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.75rem;
    background: linear-gradient(
        135deg,
        rgba(15, 23, 42, 0.92) 0%,
        rgba(30, 58, 138, 0.8) 50%,
        rgba(88, 28, 135, 0.7) 100%
    );
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.4s ease;
    z-index: 2;
}

.case-mag-card:hover .case-mag-card__reveal {
    transform: translateY(0);
    opacity: 1;
}

.case-mag-card__reveal-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.case-mag-card__reveal-metric {
    display: flex;
    flex-direction: column;
    padding: 0.5rem 0.9rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.75rem;
    backdrop-filter: blur(4px);
}

.case-mag-card__reveal-val {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffe500;
}

.case-mag-card__reveal-desc {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.1rem;
}

.case-mag-card__reveal-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.6rem;
    background: #ffe500;
    color: #0f172a;
    font-weight: 700;
    font-size: 0.875rem;
    border-radius: 0.65rem;
    width: fit-content;
    transition: all 0.3s ease;
}

.case-mag-card__reveal-btn:hover {
    background: #fff;
}

/* ── Wide Card Rhythm (every 5th card in grid) ── */

.case-magazine-grid > .case-mag-card:nth-child(5n) {
    grid-column: 1 / -1;
    height: 400px;
}

.case-magazine-grid > .case-mag-card:nth-child(5n) .case-mag-card__title {
    font-size: 1.7rem;
}

.case-magazine-grid > .case-mag-card:nth-child(5n) .case-mag-card__subtitle {
    font-size: 1rem;
}

/* ── Responsive ── */

@media (max-width: 1024px) {
    .case-featured {
        height: 400px;
    }

    .case-featured__content {
        padding: 2.5rem 3rem;
    }

    .case-featured__title {
        font-size: 2rem;
    }

    .case-mag-card {
        height: 300px;
    }

    .case-magazine-grid > .case-mag-card:nth-child(5n) {
        height: 340px;
    }
}

@media (max-width: 767px) {
    .case-magazine-section {
        padding: 2rem 0 1rem;
    }

    .case-filter-bar {
        gap: 0.35rem;
        padding: 0.5rem;
        overflow-x: auto;
        flex-wrap: nowrap;
        justify-content: flex-start;
        max-width: 100%;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .case-filter-bar::-webkit-scrollbar {
        display: none;
    }

    .case-filter-pill {
        font-size: 0.8rem;
        padding: 0.45rem 1rem;
    }

    .case-featured {
        height: auto;
        min-height: 380px;
        border-radius: 1rem;
    }

    .case-featured__content {
        padding: 2rem 1.5rem;
    }

    .case-featured__title {
        font-size: 1.6rem;
    }

    .case-featured__subtitle {
        font-size: 0.95rem;
    }

    .case-featured__metrics {
        gap: 0.75rem;
        flex-wrap: wrap;
    }

    .case-featured__metric {
        padding: 0.5rem 0.75rem;
    }

    .case-featured__metric-val {
        font-size: 1.15rem;
    }

    .case-magazine-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .case-mag-card {
        height: 280px;
    }

    .case-magazine-grid > .case-mag-card:nth-child(5n) {
        grid-column: auto;
        height: 280px;
    }

    .case-mag-card__content {
        padding: 1.25rem;
    }

    .case-mag-card__title {
        font-size: 1.1rem;
    }

    .case-mag-card__reveal {
        transform: translateY(0);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .case-mag-card:hover .case-mag-card__reveal,
    .case-mag-card:active .case-mag-card__reveal {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ── Category filter JS transitions ── */

.case-mag-card.is-hidden,
.case-featured.is-hidden {
    display: none;
}

.case-mag-card.is-showing {
    animation: caseCardFadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

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

/* ══════════════════════════════════════════════════════════════
   Footer Contact — Interactive Split-Screen
   ══════════════════════════════════════════════════════════════ */

.fc-section {
    overflow: hidden;
}

.fc-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 700px;
}

/* ── Left Panel (Dark) ── */

.fc-left {
    position: relative;
    background: #0f0f1a;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 3rem;
}

.fc-left::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(255,229,0,0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(59,130,246,0.05) 0%, transparent 50%);
    pointer-events: none;
}

.fc-spotlight {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    transition: background 0.3s ease;
}

.fc-left-content {
    position: relative;
    z-index: 2;
    max-width: 480px;
}

/* Badge */
.fc-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255,229,0,0.08);
    border: 1px solid rgba(255,229,0,0.2);
    color: #ffe500;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.5rem;
}

/* Title */
.fc-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 1.25rem;
}

.fc-title-accent {
    background: linear-gradient(135deg, #ffe500 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.fc-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

/* ── Orbiting Icons ── */

.fc-orbit-container {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.fc-orbit-ring {
    position: relative;
    width: 220px;
    height: 220px;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 50%;
    animation: fcOrbitSpin 30s linear infinite;
}

.fc-orbit-icon {
    position: absolute;
    width: 52px;
    height: 52px;
    animation: fcOrbitCounterSpin 30s linear infinite;
}

.fc-orbit-icon--1 { top: -26px; left: calc(50% - 26px); }
.fc-orbit-icon--2 { top: calc(50% - 26px); right: -26px; }
.fc-orbit-icon--3 { bottom: -26px; left: calc(50% - 26px); }
.fc-orbit-icon--4 { top: calc(50% - 26px); left: -26px; }

.fc-orbit-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    font-size: 1.3rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
}

.fc-orbit-link--wa {
    background: rgba(37,211,102,0.15);
    color: #25d366;
}
.fc-orbit-link--wa:hover { background: rgba(37,211,102,0.3); transform: scale(1.15); box-shadow: 0 0 20px rgba(37,211,102,0.3); }

.fc-orbit-link--tg {
    background: rgba(0,136,204,0.15);
    color: #0088cc;
}
.fc-orbit-link--tg:hover { background: rgba(0,136,204,0.3); transform: scale(1.15); box-shadow: 0 0 20px rgba(0,136,204,0.3); }

.fc-orbit-link--phone {
    background: rgba(255,229,0,0.12);
    color: #ffe500;
}
.fc-orbit-link--phone:hover { background: rgba(255,229,0,0.25); transform: scale(1.15); box-shadow: 0 0 20px rgba(255,229,0,0.3); }

.fc-orbit-link--email {
    background: rgba(239,68,68,0.12);
    color: #ef4444;
}
.fc-orbit-link--email:hover { background: rgba(239,68,68,0.25); transform: scale(1.15); box-shadow: 0 0 20px rgba(239,68,68,0.3); }

.fc-orbit-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,229,0,0.08);
    border: 1px solid rgba(255,229,0,0.2);
    border-radius: 50%;
    animation: fcPulseCenter 3s ease-in-out infinite;
}

@keyframes fcOrbitSpin {
    to { transform: rotate(360deg); }
}

@keyframes fcOrbitCounterSpin {
    to { transform: rotate(-360deg); }
}

@keyframes fcPulseCenter {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,229,0,0.15); }
    50% { box-shadow: 0 0 0 18px rgba(255,229,0,0); }
}

/* ── Counters ── */

.fc-counters {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.fc-counter {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fc-counter-num {
    font-size: 2.25rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.fc-counter-plus {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffe500;
}

.fc-counter-label {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.45);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 0.35rem;
    font-weight: 600;
}

.fc-counter-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.15), transparent);
}

/* ── Right Panel (Form — full Yang) ── */

.fc-right {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 3.5rem;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.fc-right::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,229,0,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.fc-right::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -15%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59,130,246,0.04) 0%, transparent 70%);
    pointer-events: none;
}

.fc-right-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    transition: background 0.3s ease;
}

.fc-right-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 520px;
}

/* Декоративная вертикальная полоска-разделитель между панелями */
.fc-split::after {
    content: '';
    position: absolute;
    top: 10%;
    bottom: 10%;
    left: 50%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(255,229,0,0.3), rgba(255,229,0,0.5), rgba(255,229,0,0.3), transparent);
    z-index: 5;
    pointer-events: none;
}

.fc-split {
    position: relative;
}

.fc-form-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 0.5rem;
}

.fc-form-desc {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 1.75rem;
    line-height: 1.5;
}

.fc-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.fc-form-field {
    margin-bottom: 1rem;
}

.fc-form-field label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.fc-form-field input,
.fc-form-field select,
.fc-form-field textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    font-size: 0.9rem;
    font-family: 'Montserrat', sans-serif;
    background: #fafafa;
    color: #1f2937;
    transition: all 0.3s ease;
    outline: none;
}

.fc-form-field input:focus,
.fc-form-field select:focus,
.fc-form-field textarea:focus {
    border-color: #ffe500;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(255,229,0,0.12), 0 4px 12px rgba(255,229,0,0.08);
}

.fc-form-field input::placeholder,
.fc-form-field textarea::placeholder {
    color: #9ca3af;
}

.fc-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #ffe500 0%, #f59e0b 100%);
    color: #0f172a;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(255,229,0,0.25);
}

.fc-submit-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.3) 50%, transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.fc-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,229,0,0.35);
}

.fc-submit-btn:hover::after {
    transform: translateX(100%);
}

.fc-form-privacy {
    text-align: center;
    font-size: 0.72rem;
    color: #9ca3af;
    margin-top: 1rem;
}

.fc-form-privacy a {
    color: #f59e0b;
    text-decoration: none;
    transition: color 0.2s;
}

.fc-form-privacy a:hover {
    color: #d97706;
    text-decoration: underline;
}

/* ── Responsive ── */

@media (max-width: 1024px) {
    .fc-split {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .fc-split::after {
        top: auto;
        bottom: auto;
        left: 10%;
        right: 10%;
        width: auto;
        height: 1px;
        top: 50%;
        background: linear-gradient(to right, transparent, rgba(255,229,0,0.3), rgba(255,229,0,0.5), rgba(255,229,0,0.3), transparent);
    }

    .fc-left {
        padding: 3rem 2rem;
    }

    .fc-left-content {
        max-width: 100%;
        text-align: center;
    }

    .fc-title {
        font-size: 2.75rem;
    }

    .fc-counters {
        justify-content: center;
    }

    .fc-right {
        padding: 3rem 2rem;
    }

    .fc-right-content {
        max-width: 520px;
    }
}

@media (max-width: 640px) {
    .fc-left {
        padding: 2.5rem 1.5rem;
    }

    .fc-title {
        font-size: 2.25rem;
    }

    .fc-subtitle {
        font-size: 1rem;
    }

    .fc-orbit-ring {
        width: 180px;
        height: 180px;
    }

    .fc-orbit-icon {
        width: 44px;
        height: 44px;
    }

    .fc-orbit-icon--1 { top: -22px; left: calc(50% - 22px); }
    .fc-orbit-icon--2 { top: calc(50% - 22px); right: -22px; }
    .fc-orbit-icon--3 { bottom: -22px; left: calc(50% - 22px); }
    .fc-orbit-icon--4 { top: calc(50% - 22px); left: -22px; }

    .fc-orbit-link {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }

    .fc-orbit-center {
        width: 52px;
        height: 52px;
    }

    .fc-counters {
        gap: 1rem;
    }

    .fc-counter-num {
        font-size: 1.75rem;
    }

    .fc-right {
        padding: 2.5rem 1.5rem;
    }

    .fc-form-row {
        grid-template-columns: 1fr;
    }

    .fc-form-title {
        font-size: 1.5rem;
    }
}

/* ══════════════════════════════════════════════════════════════
   FAQ Split — Dark Glassmorphism + Apple-style Split Layout
   ══════════════════════════════════════════════════════════════ */

.faq-split-section {
    position: relative;
    background: #0f0f1a;
    padding: 5rem 0;
    overflow: hidden;
}

.faq-split-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 15% 30%, rgba(255,229,0,0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 85% 70%, rgba(59,130,246,0.04) 0%, transparent 50%);
    pointer-events: none;
}

.faq-split-spotlight {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    transition: background 0.35s ease;
}

/* Badge */
.faq-split-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255,229,0,0.08);
    border: 1px solid rgba(255,229,0,0.2);
    color: #ffe500;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

/* Title */
.faq-split-title {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.75rem;
}

.faq-split-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.45);
    max-width: 500px;
    margin: 0 auto;
}

/* ── Split Grid (desktop) ── */

.faq-split-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2.5rem;
    align-items: start;
    min-height: 400px;
}

/* Questions list (left) */
.faq-split-questions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.faq-split-q {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    text-align: left;
    padding: 1.1rem 1.25rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    color: rgba(255,255,255,0.6);
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
}

.faq-split-q::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(255,229,0,0.08), transparent 70%);
    transition: opacity 0.35s ease;
}

.faq-split-q:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,229,0,0.15);
    color: rgba(255,255,255,0.85);
    transform: translateX(4px);
}

.faq-split-q:hover::before {
    opacity: 1;
}

.faq-split-q.is-active {
    background: rgba(255,229,0,0.06);
    border-color: rgba(255,229,0,0.3);
    color: #fff;
    box-shadow: 0 0 25px rgba(255,229,0,0.08), inset 0 0 20px rgba(255,229,0,0.03);
}

.faq-split-q.is-active::before {
    opacity: 1;
}

.faq-split-q-num {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    transition: all 0.35s ease;
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.4);
    font-variant-numeric: tabular-nums;
}

.faq-split-q.is-active .faq-split-q-num {
    background: linear-gradient(135deg, #ffe500, #f59e0b);
    color: #0f0f1a;
}

.faq-split-q-text {
    flex: 1;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    position: relative;
    z-index: 1;
}

.faq-split-q-arrow {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    opacity: 0;
    transform: translateX(-6px);
    transition: all 0.35s ease;
    color: #ffe500;
}

.faq-split-q.is-active .faq-split-q-arrow,
.faq-split-q:hover .faq-split-q-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Answer panel (right) */
.faq-split-answer-panel {
    position: relative;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 2.5rem;
    min-height: 350px;
    backdrop-filter: blur(12px);
    overflow: hidden;
}

.faq-split-answer-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ffe500, transparent);
    opacity: 0.4;
}

.faq-split-answer {
    display: none;
    animation: faqAnswerIn 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-split-answer.is-active {
    display: block;
}

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

.faq-split-answer-num {
    display: inline-block;
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, rgba(255,229,0,0.2), rgba(255,229,0,0.05));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 1rem;
    font-variant-numeric: tabular-nums;
}

.faq-split-answer-q {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.25rem;
    line-height: 1.35;
}

.faq-split-answer-text {
    font-size: 1rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.75;
}

.faq-split-answer-text p {
    margin-bottom: 0.75rem;
}

.faq-split-answer-text p:last-child {
    margin-bottom: 0;
}

/* ── Mobile Accordion (hidden on desktop) ── */

.faq-mobile-accordion {
    display: none;
}

.faq-mob-item {
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    margin-bottom: 0.5rem;
    overflow: hidden;
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(8px);
    transition: all 0.35s ease;
}

.faq-mob-item.is-open {
    border-color: rgba(255,229,0,0.25);
    box-shadow: 0 0 20px rgba(255,229,0,0.06);
}

.faq-mob-q {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    width: 100%;
    text-align: left;
    padding: 1rem 1.15rem;
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.65);
    cursor: pointer;
    transition: color 0.3s ease;
}

.faq-mob-item.is-open .faq-mob-q {
    color: #fff;
}

.faq-mob-num {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.4);
    transition: all 0.3s ease;
    font-variant-numeric: tabular-nums;
}

.faq-mob-item.is-open .faq-mob-num {
    background: linear-gradient(135deg, #ffe500, #f59e0b);
    color: #0f0f1a;
}

.faq-mob-text {
    flex: 1;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.35;
}

.faq-mob-icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: rgba(255,255,255,0.3);
    transition: transform 0.35s ease, color 0.35s ease;
}

.faq-mob-item.is-open .faq-mob-icon {
    transform: rotate(180deg);
    color: #ffe500;
}

.faq-mob-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-mob-item.is-open .faq-mob-answer {
    max-height: 600px;
}

.faq-mob-answer-inner {
    padding: 0 1.15rem 1.15rem 3.85rem;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.7;
}

.faq-mob-answer-inner p {
    margin-bottom: 0.5rem;
}

.faq-mob-answer-inner p:last-child {
    margin-bottom: 0;
}

/* ── Responsive ── */

@media (max-width: 900px) {
    .faq-split-grid {
        display: none;
    }

    .faq-mobile-accordion {
        display: block;
    }

    .faq-split-title {
        font-size: 2.25rem;
    }

    .faq-split-subtitle {
        font-size: 1rem;
    }

    .faq-split-section {
        padding: 3.5rem 0;
    }
}

@media (max-width: 480px) {
    .faq-split-title {
        font-size: 1.85rem;
    }

    .faq-split-section {
        padding: 2.5rem 0;
    }
}

/* ══════════════════════════════════════════════════════════════
   0. Trust Bar — Social Proof Strip
   ══════════════════════════════════════════════════════════════ */

.trust-bar {
    position: relative;
    background: #fff;
    padding: 3.5rem 0 3rem;
    overflow: hidden;
}

.trust-bar::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
}

.trust-bar__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.75rem;
}

.trust-bar__metrics {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.trust-bar__metric {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 140px;
}

.trust-bar__num {
    font-size: 2.75rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}

.trust-bar__plus {
    font-size: 1.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.trust-bar__label {
    font-size: 0.82rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 0.4rem;
    font-weight: 600;
}

.trust-bar__divider {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, transparent, #cbd5e1, transparent);
    flex-shrink: 0;
}

.trust-bar__tagline {
    font-size: 0.9rem;
    color: #94a3b8;
    letter-spacing: 0.04em;
    font-weight: 500;
    text-align: center;
}

@media (max-width: 768px) {
    .trust-bar {
        padding: 2.5rem 0 2rem;
    }
    .trust-bar__metrics {
        gap: 1.5rem;
    }
    .trust-bar__num {
        font-size: 2.25rem;
    }
    .trust-bar__divider {
        display: none;
    }
    .trust-bar__metric {
        min-width: 120px;
    }
}

@media (max-width: 480px) {
    .trust-bar__metrics {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem 1rem;
    }
    .trust-bar__num {
        font-size: 2rem;
    }
    .trust-bar__divider {
        display: none;
    }
}

/* ══════════════════════════════════════════════════════════════
   1. Ваши ситуации — Interactive Tabs (Dark)
   ══════════════════════════════════════════════════════════════ */

.sit-section {
    position: relative;
    background: #0f0f1a;
    padding: 5rem 0;
    overflow: hidden;
}

.sit-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(239,68,68,0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(168,85,247,0.04) 0%, transparent 50%);
    pointer-events: none;
}

.sit-spotlight {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    transition: background 0.35s ease;
}

.sit-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(239,68,68,0.08);
    border: 1px solid rgba(239,68,68,0.2);
    color: #ef4444;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.5rem;
}

.sit-title {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.75rem;
}

.sit-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.45);
    max-width: 550px;
    margin: 0 auto;
}

.sit-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 2.5rem;
    align-items: start;
    min-height: 400px;
}

.sit-tabs {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sit-tab {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    text-align: left;
    padding: 1.1rem 1.25rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    color: rgba(255,255,255,0.6);
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
}

.sit-tab::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(239,68,68,0.08), transparent 70%);
    transition: opacity 0.35s ease;
}

.sit-tab:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(239,68,68,0.15);
    color: rgba(255,255,255,0.85);
    transform: translateX(4px);
}

.sit-tab:hover::before { opacity: 1; }

.sit-tab.is-active {
    background: rgba(239,68,68,0.06);
    border-color: rgba(239,68,68,0.3);
    color: #fff;
    box-shadow: 0 0 25px rgba(239,68,68,0.08), inset 0 0 20px rgba(239,68,68,0.03);
}

.sit-tab.is-active::before { opacity: 1; }

.sit-tab-num {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.4);
    transition: all 0.35s ease;
    font-variant-numeric: tabular-nums;
}

.sit-tab.is-active .sit-tab-num {
    background: linear-gradient(135deg, #ef4444, #f97316);
    color: #fff;
}

.sit-tab-text {
    flex: 1;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    position: relative;
    z-index: 1;
}

.sit-tab-arrow {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    opacity: 0;
    transform: translateX(-6px);
    transition: all 0.35s ease;
    color: #ef4444;
}

.sit-tab.is-active .sit-tab-arrow,
.sit-tab:hover .sit-tab-arrow {
    opacity: 1;
    transform: translateX(0);
}

.sit-panels {
    position: relative;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 2.5rem;
    min-height: 350px;
    backdrop-filter: blur(12px);
    overflow: hidden;
}

.sit-panels::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ef4444, transparent);
    opacity: 0.4;
}

.sit-panel {
    display: none;
    animation: sitPanelIn 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.sit-panel.is-active { display: block; }

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

.sit-panel-num {
    display: inline-block;
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, rgba(239,68,68,0.3), rgba(239,68,68,0.05));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 1rem;
}

.sit-panel-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.25rem;
    line-height: 1.35;
}

.sit-panel-problems {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.sit-problem {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.5;
}

.sit-problem-dot {
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ef4444;
    margin-top: 0.5rem;
}

.sit-solution {
    background: rgba(239,68,68,0.06);
    border: 1px solid rgba(239,68,68,0.15);
    border-radius: 12px;
    padding: 1.25rem;
}

.sit-solution-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #ef4444;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.5rem;
}

.sit-solution p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
}

.sit-stack {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.45);
}

.sit-stack-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #ef4444;
    flex-shrink: 0;
}

.sit-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.75rem;
}

.sit-tags span {
    padding: 0.3rem 0.8rem;
    background: rgba(239,68,68,0.08);
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(239,68,68,0.7);
}

.sit-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2.25rem;
    background: linear-gradient(135deg, #ffe500, #f59e0b);
    color: #0f172a;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255,229,0,0.25);
}

.sit-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255,229,0,0.35);
}

@media (max-width: 900px) {
    .sit-grid {
        grid-template-columns: 1fr;
    }
    .sit-title { font-size: 2.25rem; }
    .sit-section { padding: 3.5rem 0; }
}

@media (max-width: 480px) {
    .sit-title { font-size: 1.85rem; }
    .sit-section { padding: 2.5rem 0; }
}

/* ══════════════════════════════════════════════════════════════
   2. Bento Grid — Компетенции
   ══════════════════════════════════════════════════════════════ */

.bento-section {
    padding: 5rem 0;
    background: #fff;
}

.bento-badge {
    display: inline-block;
    background: rgba(59,130,246,0.08);
    color: #3b82f6;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.5rem;
}

.bento-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.bento-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

.bento-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 1.5rem;
}

.bento-card {
    position: relative;
    border-radius: 1.5rem;
    padding: 2.25rem;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), box-shadow 0.4s ease;
    border: 1px solid rgba(0,0,0,0.06);
}

.bento-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.bento-card-glow {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 0;
}

.bento-card:hover .bento-card-glow { opacity: 1; }

.bento-card--large {
    grid-row: span 2;
}

.bento-card--blue {
    background: linear-gradient(145deg, #eff6ff, #dbeafe);
}
.bento-card--blue .bento-card-glow {
    background: radial-gradient(ellipse at 30% 30%, rgba(59,130,246,0.12), transparent 70%);
}
.bento-card--blue .bento-card-icon { color: #3b82f6; }

.bento-card--green {
    background: linear-gradient(145deg, #ecfdf5, #d1fae5);
}
.bento-card--green .bento-card-glow {
    background: radial-gradient(ellipse at 30% 30%, rgba(16,185,129,0.12), transparent 70%);
}
.bento-card--green .bento-card-icon { color: #10b981; }

.bento-card--purple {
    background: linear-gradient(145deg, #faf5ff, #ede9fe);
}
.bento-card--purple .bento-card-glow {
    background: radial-gradient(ellipse at 30% 30%, rgba(139,92,246,0.12), transparent 70%);
}
.bento-card--purple .bento-card-icon { color: #8b5cf6; }

.bento-card--orange {
    background: linear-gradient(145deg, #fff7ed, #ffedd5);
}
.bento-card--orange .bento-card-glow {
    background: radial-gradient(ellipse at 30% 30%, rgba(249,115,22,0.12), transparent 70%);
}
.bento-card--orange .bento-card-icon { color: #f97316; }

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

.bento-card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.7);
    border-radius: 16px;
    margin-bottom: 1.25rem;
    transition: transform 0.3s ease;
}

.bento-card:hover .bento-card-icon { transform: scale(1.1); }

.bento-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.bento-card-desc {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.65;
    margin-bottom: 1rem;
}

.bento-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.bento-card-tags span {
    padding: 0.3rem 0.8rem;
    background: rgba(0,0,0,0.04);
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #475569;
}

.bento-card-tech {
    font-size: 0.8rem;
    color: #94a3b8;
    font-weight: 500;
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .bento-card--large {
        grid-row: span 1;
    }
    .bento-title { font-size: 2rem; }
}

/* ══════════════════════════════════════════════════════════════
   3. Почему мы? — Dark + Number Cards
   ══════════════════════════════════════════════════════════════ */

.why-section {
    position: relative;
    background: #0f0f1a;
    padding: 5rem 0;
    overflow: hidden;
}

.why-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 10% 80%, rgba(59,130,246,0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 90% 20%, rgba(168,85,247,0.04) 0%, transparent 50%);
    pointer-events: none;
}

.why-spotlight {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    transition: background 0.35s ease;
}

.why-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(59,130,246,0.08);
    border: 1px solid rgba(59,130,246,0.2);
    color: #60a5fa;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.5rem;
}

.why-title {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.75rem;
}

.why-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.45);
    max-width: 600px;
    margin: 0 auto;
}

.why-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.why-card {
    position: relative;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 20px;
    padding: 2rem 1.75rem;
    backdrop-filter: blur(8px);
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(255,229,0,0.06), transparent 70%);
    transition: opacity 0.4s ease;
}

.why-card:hover {
    border-color: rgba(255,229,0,0.2);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.why-card:hover::before { opacity: 1; }

.why-card-num {
    display: block;
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, rgba(255,229,0,0.4), rgba(255,229,0,0.1));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.why-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
    line-height: 1.3;
    position: relative;
    z-index: 1;
}

.why-card-desc {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.65;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.why-card-tag {
    display: inline-block;
    padding: 0.3rem 0.85rem;
    background: rgba(255,229,0,0.06);
    border: 1px solid rgba(255,229,0,0.15);
    border-radius: 8px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #ffe500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    z-index: 1;
}

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

@media (max-width: 640px) {
    .why-cards { grid-template-columns: 1fr; }
    .why-title { font-size: 2.25rem; }
    .why-section { padding: 3.5rem 0; }
}

/* ══════════════════════════════════════════════════════════════
   5. Как мы работаем — Vertical Timeline
   ══════════════════════════════════════════════════════════════ */

.tl-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, #f8fafc, #fff);
}

.tl-badge {
    display: inline-block;
    background: rgba(59,130,246,0.08);
    color: #3b82f6;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.5rem;
}

.tl-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.tl-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 550px;
    margin: 0 auto;
}

.tl-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.tl-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #e2e8f0;
    transform: translateX(-50%);
    border-radius: 2px;
    overflow: hidden;
}

.tl-line-fill {
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg, #ffe500, #f59e0b);
    border-radius: 2px;
    transition: height 0.1s linear;
}

.tl-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    margin-bottom: 3rem;
}

.tl-item:last-child { margin-bottom: 0; }

.tl-item--right {
    justify-content: flex-start;
    padding-left: calc(50% + 2rem);
}

.tl-item--left {
    justify-content: flex-end;
    padding-right: calc(50% + 2rem);
}

.tl-dot {
    position: absolute;
    left: 50%;
    top: 0.5rem;
    transform: translateX(-50%);
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #ffe500, #f59e0b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(255,229,0,0.3);
}

.tl-dot span {
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
}

.tl-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.75rem;
    max-width: 320px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}

.tl-card:hover {
    border-color: #fbbf24;
    box-shadow: 0 10px 30px rgba(255,229,0,0.1);
    transform: translateY(-4px);
}

.tl-duration {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(255,229,0,0.1);
    color: #d97706;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.tl-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.tl-card-desc {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .tl-line { left: 1.5rem; }
    .tl-dot { left: 1.5rem; width: 36px; height: 36px; }
    .tl-dot span { font-size: 0.85rem; }
    .tl-item--right,
    .tl-item--left {
        justify-content: flex-start;
        padding-left: 4rem;
        padding-right: 0;
    }
    .tl-card { max-width: 100%; }
    .tl-title { font-size: 2rem; }
}

/* ══════════════════════════════════════════════════════════════
   6. Технологический стек — Marquee
   ══════════════════════════════════════════════════════════════ */

.mq-section {
    padding: 4rem 0 5rem;
    background: #f8fafc;
    overflow: hidden;
}

.mq-badge {
    display: inline-block;
    background: rgba(100,116,139,0.08);
    color: #64748b;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.5rem;
}

.mq-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.mq-wrapper {
    overflow: hidden;
    padding: 0.75rem 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.mq-track {
    display: flex;
    gap: 1.25rem;
    width: max-content;
}

.mq-track--left {
    animation: mqScrollLeft 30s linear infinite;
}

.mq-track--right {
    animation: mqScrollRight 35s linear infinite;
}

@keyframes mqScrollLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes mqScrollRight {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.mq-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.5rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    white-space: nowrap;
    font-size: 0.9rem;
    font-weight: 600;
    color: #334155;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.mq-item:hover {
    border-color: #fbbf24;
    box-shadow: 0 4px 15px rgba(255,229,0,0.15);
    transform: translateY(-2px);
}

.mq-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 800;
    color: #475569;
}

/* ══════════════════════════════════════════════════════════════
   7. Statement CTA — Dark
   ══════════════════════════════════════════════════════════════ */

.stmt-section {
    position: relative;
    background: #0f0f1a;
    padding: 6rem 0;
    overflow: hidden;
}

.stmt-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 50% 50%, rgba(255,229,0,0.04) 0%, transparent 50%);
    pointer-events: none;
}

.stmt-spotlight {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    transition: background 0.35s ease;
}

.stmt-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 2;
}

.stmt-accent {
    background: linear-gradient(135deg, #ffe500 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stmt-subtitle {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.5);
    max-width: 550px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.stmt-actions {
    position: relative;
    z-index: 2;
}

.stmt-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1.15rem 2.5rem;
    background: linear-gradient(135deg, #ffe500, #f59e0b);
    color: #0f172a;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 25px rgba(255,229,0,0.25);
}

.stmt-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(255,229,0,0.35);
}

.stmt-note {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.35);
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .stmt-title { font-size: 2.5rem; }
    .stmt-section { padding: 4rem 0; }
}

@media (max-width: 480px) {
    .stmt-title { font-size: 2rem; }
}

/* ══════════════════════════════════════════════════════════════
   9. Отзывы — Marquee
   ══════════════════════════════════════════════════════════════ */

.rev-section {
    padding: 5rem 0;
    background: #fff;
    overflow: hidden;
}

.rev-badge {
    display: inline-block;
    background: rgba(234,179,8,0.08);
    color: #d97706;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.5rem;
}

.rev-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.rev-wrapper {
    overflow: hidden;
    padding: 1rem 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.rev-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    animation: revScroll 40s linear infinite;
}

@keyframes revScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.rev-card {
    flex-shrink: 0;
    width: 380px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.rev-card:hover {
    border-color: #fbbf24;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transform: translateY(-4px);
}

.rev-card-stars {
    display: flex;
    gap: 0.2rem;
    margin-bottom: 1rem;
    color: #fbbf24;
    font-size: 0.9rem;
}

.rev-card-text {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 1.25rem;
}

.rev-card-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.rev-card-avatar {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #ffe500, #f59e0b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 800;
    color: #0f172a;
    flex-shrink: 0;
}

.rev-card-author strong {
    font-size: 0.9rem;
    color: #0f172a;
    display: block;
}

.rev-card-author span {
    font-size: 0.78rem;
    color: #94a3b8;
}

/* ══════════════════════════════════════════════════════════════
   10. Блог — Magazine Layout
   ══════════════════════════════════════════════════════════════ */

.blog-mag-section {
    padding: 5rem 0;
    background: #f8fafc;
}

.blog-mag-badge {
    display: inline-block;
    background: rgba(234,179,8,0.08);
    color: #d97706;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.5rem;
}

.blog-mag-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.blog-mag-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 500px;
    margin: 0 auto;
}

.blog-mag-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 1.5rem;
    min-height: 460px;
}

.blog-mag-featured {
    position: relative;
    display: block;
    border-radius: 1.25rem;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    min-height: 460px;
}

.blog-mag-featured-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.blog-mag-featured:hover .blog-mag-featured-bg {
    transform: scale(1.05);
}

.blog-mag-featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,23,42,0.9) 0%, rgba(15,23,42,0.3) 50%, rgba(15,23,42,0.1) 100%);
}

.blog-mag-featured-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    padding: 2.5rem;
}

.blog-mag-cat {
    display: inline-block;
    padding: 0.3rem 0.85rem;
    background: rgba(255,229,0,0.15);
    color: #ffe500;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    width: fit-content;
    margin-bottom: 0.75rem;
}

.blog-mag-cat--small {
    font-size: 0.7rem;
    padding: 0.2rem 0.65rem;
}

.blog-mag-featured-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.blog-mag-featured-desc {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    margin-bottom: 1rem;
    max-width: 500px;
}

.blog-mag-date {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.5);
    font-weight: 500;
}

.blog-mag-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.blog-mag-card {
    display: flex;
    gap: 1rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    flex: 1;
}

.blog-mag-card:hover {
    border-color: #fbbf24;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    transform: translateY(-3px);
}

.blog-mag-card-img {
    width: 160px;
    flex-shrink: 0;
    overflow: hidden;
}

.blog-mag-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-mag-card:hover .blog-mag-card-img img {
    transform: scale(1.08);
}

.blog-mag-card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-mag-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

.blog-mag-card-body .blog-mag-date {
    color: #94a3b8;
}

@media (max-width: 768px) {
    .blog-mag-grid {
        grid-template-columns: 1fr;
    }
    .blog-mag-featured { min-height: 340px; }
    .blog-mag-title { font-size: 2rem; }
    .blog-mag-card-img { width: 120px; }
}

/* ═══════════════════════════════════════════════════
   WHY CHOOSE US — Bento Grid Section (.wcu)
   ═══════════════════════════════════════════════════ */
.wcu {
    padding: 3.5rem 0 4rem;
    background: linear-gradient(170deg, #0f172a 0%, #1e293b 55%, #0f172a 100%);
    position: relative;
    overflow: hidden;
}

.wcu::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99,102,241,.12) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    pointer-events: none;
}

.wcu::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(245,158,11,.08) 0%, transparent 70%);
    bottom: -150px;
    left: -100px;
    pointer-events: none;
}

.wcu-badge {
    display: inline-block;
    padding: 0.35rem 1.1rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #fbbf24;
    border: 1px solid rgba(251,191,36,.3);
    border-radius: 999px;
    background: rgba(251,191,36,.08);
    margin-bottom: 1.25rem;
}

.wcu-heading {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #f8fafc;
    line-height: 1.15;
    margin-bottom: 0.75rem;
}

.wcu-subheading {
    font-size: 1rem;
    color: #94a3b8;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ── Bento Grid ── */
.wcu-bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: auto;
    gap: 1rem;
    max-width: 1100px;
    margin: 0 auto;
}

.wcu-card--lg  { grid-column: span 2; grid-row: span 2; }
.wcu-card--sm  { grid-column: span 1; }
.wcu-card--wide { grid-column: span 2; }

/* ── Card base ── */
.wcu-card {
    position: relative;
    border-radius: 1.25rem;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform .35s cubic-bezier(.22,1,.36,1), border-color .35s ease, box-shadow .35s ease;
    overflow: hidden;
}

.wcu-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255,255,255,.18);
    box-shadow: 0 20px 50px rgba(0,0,0,.25);
}

.wcu-card__glow {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .4s ease;
    pointer-events: none;
    border-radius: inherit;
}

.wcu-card:hover .wcu-card__glow { opacity: 1; }

/* Glow colour per card icon colour */
.wcu-card:nth-child(1) .wcu-card__glow { background: radial-gradient(ellipse at 30% 20%, rgba(59,130,246,.12) 0%, transparent 70%); }
.wcu-card:nth-child(2) .wcu-card__glow { background: radial-gradient(ellipse at 50% 30%, rgba(245,158,11,.10) 0%, transparent 70%); }
.wcu-card:nth-child(3) .wcu-card__glow { background: radial-gradient(ellipse at 50% 30%, rgba(139,92,246,.10) 0%, transparent 70%); }
.wcu-card:nth-child(4) .wcu-card__glow { background: radial-gradient(ellipse at 30% 50%, rgba(16,185,129,.10) 0%, transparent 70%); }
.wcu-card:nth-child(5) .wcu-card__glow { background: radial-gradient(ellipse at 50% 30%, rgba(244,63,94,.10) 0%, transparent 70%); }
.wcu-card:nth-child(6) .wcu-card__glow { background: radial-gradient(ellipse at 50% 30%, rgba(14,165,233,.10) 0%, transparent 70%); }

.wcu-card__inner {
    position: relative;
    z-index: 1;
    padding: 1.5rem 1.75rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.wcu-card__inner--row {
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
}

/* ── Icon ── */
.wcu-card__icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: transform .3s ease, box-shadow .3s ease;
}

.wcu-card:hover .wcu-card__icon {
    transform: scale(1.1) rotate(-3deg);
}

.wcu-card__icon svg {
    width: 24px;
    height: 24px;
}

.wcu-card__icon--blue    { background: rgba(59,130,246,.15);  color: #60a5fa; box-shadow: 0 0 0 0 rgba(59,130,246,0); }
.wcu-card__icon--amber   { background: rgba(245,158,11,.15); color: #fbbf24; box-shadow: 0 0 0 0 rgba(245,158,11,0); }
.wcu-card__icon--violet  { background: rgba(139,92,246,.15); color: #a78bfa; box-shadow: 0 0 0 0 rgba(139,92,246,0); }
.wcu-card__icon--emerald { background: rgba(16,185,129,.15); color: #34d399; box-shadow: 0 0 0 0 rgba(16,185,129,0); }
.wcu-card__icon--rose    { background: rgba(244,63,94,.15);  color: #fb7185; box-shadow: 0 0 0 0 rgba(244,63,94,0); }
.wcu-card__icon--sky     { background: rgba(14,165,233,.15); color: #38bdf8; box-shadow: 0 0 0 0 rgba(14,165,233,0); }

.wcu-card:hover .wcu-card__icon--blue    { box-shadow: 0 0 20px rgba(59,130,246,.25); }
.wcu-card:hover .wcu-card__icon--amber   { box-shadow: 0 0 20px rgba(245,158,11,.25); }
.wcu-card:hover .wcu-card__icon--violet  { box-shadow: 0 0 20px rgba(139,92,246,.25); }
.wcu-card:hover .wcu-card__icon--emerald { box-shadow: 0 0 20px rgba(16,185,129,.25); }
.wcu-card:hover .wcu-card__icon--rose    { box-shadow: 0 0 20px rgba(244,63,94,.25); }
.wcu-card:hover .wcu-card__icon--sky     { box-shadow: 0 0 20px rgba(14,165,233,.25); }

/* ── Typography ── */
.wcu-card__title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.wcu-card__text {
    font-size: 0.925rem;
    color: #94a3b8;
    line-height: 1.65;
    flex: 1;
}

/* ── Stats inside large card ── */
.wcu-card__stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,.08);
}

.wcu-card__stat-num {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.wcu-card__stat-suffix {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.wcu-card__stat-label {
    display: block;
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Large card title bigger */
.wcu-card--lg .wcu-card__title { font-size: 1.35rem; }
.wcu-card--lg .wcu-card__text  { font-size: 0.95rem; }
.wcu-card--lg .wcu-card__icon  { width: 52px; height: 52px; min-width: 52px; border-radius: 14px; }
.wcu-card--lg .wcu-card__icon svg { width: 26px; height: 26px; }

/* ── Responsive ── */
@media (max-width: 1024px) {
    .wcu-bento {
        grid-template-columns: repeat(2, 1fr);
    }
    .wcu-card--lg { grid-column: span 2; grid-row: span 1; }
    .wcu-card--wide { grid-column: span 2; }
}

@media (max-width: 640px) {
    .wcu { padding: 2.5rem 0 3rem; }
    .wcu-bento {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    .wcu-card--lg,
    .wcu-card--wide { grid-column: span 1; }

    .wcu-card__inner { padding: 1.25rem; }
    .wcu-card__inner--row {
        flex-direction: column;
        align-items: flex-start;
    }
    .wcu-card__stats { gap: 1.5rem; }
    .wcu-card__stat-num { font-size: 2rem; }
}

/* ═══════════════════════════════════════════════════
   SERVICES SHOWCASE — Apple-style Split View (.svc-show)
   ═══════════════════════════════════════════════════ */
.svc-show {
    padding: 5rem 0 4rem;
    background: #fafbfc;
    position: relative;
}

.svc-show__badge {
    display: inline-block;
    padding: 0.35rem 1.1rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #b45309;
    border: 1px solid rgba(245,158,11,.25);
    border-radius: 999px;
    background: rgba(245,158,11,.08);
    margin-bottom: 1.25rem;
}

.svc-show__heading {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.15;
    margin-bottom: 0.75rem;
}

.svc-show__sub {
    font-size: 1.125rem;
    color: #64748b;
    max-width: 520px;
    margin: 0 auto;
}

/* ── Wrapper: left + right ── */
.svc-show__wrap {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 0;
    max-width: 1100px;
    margin: 0 auto;
    background: #fff;
    border-radius: 1.5rem;
    box-shadow: 0 4px 40px rgba(0,0,0,.06), 0 0 0 1px rgba(0,0,0,.04);
    overflow: hidden;
    min-height: 520px;
}

/* ── LEFT NAV ── */
.svc-show__nav {
    display: flex;
    flex-direction: column;
    border-right: 1px solid #f1f5f9;
    background: #fafbfc;
    padding: 0.5rem 0;
    overflow-y: auto;
}

.svc-show__tab {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1.15rem 1.5rem;
    border: none;
    background: transparent;
    cursor: pointer;
    text-align: left;
    transition: background .25s ease, color .25s ease;
    border-left: 3px solid transparent;
    color: #64748b;
}

.svc-show__tab:hover {
    background: rgba(0,0,0,.02);
    transform: none;
    box-shadow: none;
}

.svc-show__tab.is-active {
    background: #fff;
    border-left-color: #0f172a;
    color: #0f172a;
    box-shadow: none;
    transform: none;
}

.svc-show__tab-index {
    font-size: 0.7rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    opacity: 0.35;
    min-width: 1.2rem;
    transition: opacity .25s;
}

.svc-show__tab.is-active .svc-show__tab-index { opacity: 0.6; }

.svc-show__tab-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.svc-show__tab-name {
    flex: 1;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.35;
    transition: color .25s;
}

.svc-show__tab-sub {
    font-size: 0.75rem;
    font-weight: 400;
    color: #94a3b8;
    line-height: 1.3;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.svc-show__tab.is-active .svc-show__tab-sub {
    color: #64748b;
}

.svc-show__tab-arrow {
    width: 16px;
    height: 16px;
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity .25s, transform .25s;
    flex-shrink: 0;
}

.svc-show__tab.is-active .svc-show__tab-arrow {
    opacity: 0.5;
    transform: translateX(0);
}

.svc-show__tab-bar {
    display: none;
}

/* ── RIGHT PANELS ── */
.svc-show__panels {
    position: relative;
    overflow: hidden;
}

.svc-show__panel {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity .45s cubic-bezier(.22,1,.36,1), transform .45s cubic-bezier(.22,1,.36,1), visibility 0s .5s;
}

.svc-show__panel.is-active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity .45s cubic-bezier(.22,1,.36,1) .05s, transform .45s cubic-bezier(.22,1,.36,1) .05s, visibility 0s 0s;
}

.svc-show__panel.is-leaving {
    position: absolute;
    opacity: 0;
    transform: translateY(-12px);
    visibility: hidden;
    transition: opacity .3s ease, transform .3s ease, visibility 0s .35s;
}

.svc-show__panel.is-entering {
    transform: translateY(24px);
    opacity: 0;
}

/* ── Panel: visual (скрыт в блоке «Комплексные IT-решения») ── */
.svc-show__panel-visual {
    display: none;
}

.svc-show__panel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s cubic-bezier(.22,1,.36,1);
}

.svc-show__panel.is-active .svc-show__panel-img {
    transform: scale(1);
}

.svc-show__panel.is-entering .svc-show__panel-img {
    transform: scale(1.08);
}

.svc-show__panel-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

/* ── Panel: body ── */
.svc-show__panel-body {
    padding: 2rem 2.25rem 2.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.svc-show__panel-num {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.svc-show__panel-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    margin-bottom: 0.75rem;
}

.svc-show__panel-desc {
    font-size: 0.975rem;
    color: #475569;
    line-height: 1.7;
    flex: 1;
    margin-bottom: 1.5rem;
}

.svc-show__panel-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    background: #0f172a;
    color: #fff;
    border-radius: 0.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: background .25s, transform .25s, box-shadow .25s;
    align-self: flex-start;
}

.svc-show__panel-cta:hover {
    background: #1e293b;
    transform: translateX(4px);
    box-shadow: 0 8px 24px rgba(15,23,42,.15);
}

.svc-show__panel-cta svg {
    transition: transform .25s;
}

.svc-show__panel-cta:hover svg {
    transform: translateX(3px);
}

/* ── Mobile CTA ── */
.svc-show__mobile-cta {
    margin-top: 2rem;
    text-align: center;
}

/* ── Responsive: Tablet ── */
@media (max-width: 900px) {
    .svc-show__wrap {
        grid-template-columns: 260px 1fr;
        min-height: 460px;
    }
    .svc-show__panel-visual { height: 220px; }
    .svc-show__tab { padding: 1rem 1.25rem; }
}

/* ── Responsive: Mobile — vertical tabs like .sit- section ── */
@media (max-width: 640px) {
    .svc-show { padding: 3rem 0 3rem; }

    .svc-show__wrap {
        display: flex;
        flex-direction: column;
        min-height: auto;
        border-radius: 1.25rem;
        box-shadow: none;
        background: transparent;
        gap: 0.5rem;
    }

    .svc-show__nav {
        flex-direction: column;
        border-right: none;
        background: transparent;
        padding: 0;
        gap: 0.4rem;
    }

    .svc-show__tab {
        width: 100%;
        padding: 0.9rem 1.1rem;
        background: #fff;
        border: 1px solid #e2e8f0;
        border-left: 3px solid transparent;
        border-radius: 12px;
        gap: 0.75rem;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .svc-show__tab:hover {
        border-color: #cbd5e1;
        transform: translateX(2px);
    }

    .svc-show__tab.is-active {
        background: #fff;
        border-color: #0f172a;
        border-left-color: #0f172a;
        box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    }

    .svc-show__tab-index {
        display: flex;
        width: 28px;
        height: 28px;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        font-size: 0.7rem;
        font-weight: 700;
        background: #f1f5f9;
        color: #94a3b8;
        opacity: 1;
        min-width: 28px;
        transition: all 0.3s ease;
    }

    .svc-show__tab.is-active .svc-show__tab-index {
        background: #0f172a;
        color: #fff;
        opacity: 1;
    }

    .svc-show__tab-name { font-size: 0.88rem; font-weight: 600; }
    .svc-show__tab-sub { display: none; }

    .svc-show__tab-arrow {
        display: block;
        width: 16px;
        height: 16px;
        opacity: 0;
        transform: translateX(-4px);
        transition: all 0.3s ease;
        color: #0f172a;
    }

    .svc-show__tab.is-active .svc-show__tab-arrow {
        opacity: 0.5;
        transform: translateX(0);
    }

    .svc-show__panels {
        min-height: auto;
        background: #fff;
        border-radius: 16px;
        border: 1px solid #e2e8f0;
        overflow: hidden;
        box-shadow: 0 2px 16px rgba(0,0,0,0.05);
    }

    .svc-show__panel {
        position: static;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: none;
    }

    .svc-show__panel.is-active {
        display: flex;
        flex-direction: column;
        position: static;
        animation: svcMobilePanelIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .svc-show__panel.is-leaving,
    .svc-show__panel.is-entering {
        display: none;
        opacity: 1;
        transform: none;
        visibility: visible;
        transition: none;
    }

    .svc-show__panel-visual { height: 200px; }
    .svc-show__panel-body { padding: 1.5rem; }
    .svc-show__panel-title { font-size: 1.25rem; }
}

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

/* ═══════════════════════════════════════════════════
   WEB PROJECT TYPES — Premium Showcase Cards (.wpt)
   ═══════════════════════════════════════════════════ */
.wpt {
    padding: 5rem 0 5.5rem;
    background: #fff;
}

.wpt__badge {
    display: inline-block;
    padding: 0.35rem 1.1rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #b45309;
    border: 1px solid rgba(245,158,11,.25);
    border-radius: 999px;
    background: rgba(245,158,11,.08);
    margin-bottom: 1.25rem;
}

.wpt__heading {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.15;
    margin-bottom: 0.75rem;
}

.wpt__sub {
    font-size: 1.125rem;
    color: #64748b;
    max-width: 540px;
    margin: 0 auto;
}

/* ── Cards container ── */
.wpt__cards {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    max-width: 960px;
    margin: 0 auto;
}

/* ── Card ── */
.wpt__card {
    position: relative;
    display: grid;
    grid-template-columns: 6px 1fr;
    border-radius: 1.25rem;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,.04), 0 8px 32px rgba(0,0,0,.06);
    border: 1px solid rgba(0,0,0,.06);
    overflow: hidden;
    transition: transform .4s cubic-bezier(.22,1,.36,1), box-shadow .4s ease;
}

.wpt__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 2px 6px rgba(0,0,0,.04), 0 16px 48px rgba(0,0,0,.1);
}

/* ── Accent sidebar ── */
.wpt__card-accent {
    width: 6px;
    border-radius: 1.25rem 0 0 1.25rem;
    transition: width .35s cubic-bezier(.22,1,.36,1);
}

.wpt__card:hover .wpt__card-accent {
    width: 6px;
}

.wpt__card[data-accent="slate"]  .wpt__card-accent { background: linear-gradient(180deg, #475569, #1e293b); }
.wpt__card[data-accent="amber"]  .wpt__card-accent { background: linear-gradient(180deg, #f59e0b, #d97706); }
.wpt__card[data-accent="violet"] .wpt__card-accent { background: linear-gradient(180deg, #8b5cf6, #6d28d9); }

/* ── Card body ── */
.wpt__card-body {
    padding: 2.25rem 2.5rem;
}

/* ── Header: icon + num + title ── */
.wpt__card-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.wpt__card-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .35s ease, box-shadow .35s ease;
}

.wpt__card-icon svg {
    width: 28px;
    height: 28px;
}

.wpt__card:hover .wpt__card-icon {
    transform: scale(1.1) rotate(-3deg);
}

.wpt__card[data-accent="slate"]  .wpt__card-icon { background: #f1f5f9; color: #334155; }
.wpt__card[data-accent="amber"]  .wpt__card-icon { background: #fef3c7; color: #b45309; }
.wpt__card[data-accent="violet"] .wpt__card-icon { background: #ede9fe; color: #6d28d9; }

.wpt__card:hover[data-accent="slate"]  .wpt__card-icon { box-shadow: 0 0 20px rgba(51,65,85,.15); }
.wpt__card:hover[data-accent="amber"]  .wpt__card-icon { box-shadow: 0 0 20px rgba(245,158,11,.2); }
.wpt__card:hover[data-accent="violet"] .wpt__card-icon { box-shadow: 0 0 20px rgba(139,92,246,.2); }

.wpt__card-num {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.15rem;
}

.wpt__card-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
}

/* ── Description ── */
.wpt__card-desc {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 1.25rem;
    max-width: 640px;
}

/* ── Features grid ── */
.wpt__card-features {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 0.6rem 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem;
}

.wpt__card-features li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.88rem;
    color: #334155;
    font-weight: 500;
    padding: 0.35rem 0;
}

.wpt__card-features li::before {
    content: '';
    width: 18px;
    height: 18px;
    min-width: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
    background-size: 11px;
    background-position: center;
    background-repeat: no-repeat;
}

.wpt__card[data-accent="slate"]  .wpt__card-features li::before { background-color: #475569; }
.wpt__card[data-accent="amber"]  .wpt__card-features li::before { background-color: #d97706; }
.wpt__card[data-accent="violet"] .wpt__card-features li::before { background-color: #7c3aed; }

/* ── Footer: price + CTA ── */
.wpt__card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f1f5f9;
}

.wpt__card-price-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.15rem;
}

.wpt__card-price-value {
    font-size: 1.6rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
}

.wpt__card-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.75rem;
    border-radius: 0.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform .25s, box-shadow .25s, background .25s;
    white-space: nowrap;
}

.wpt__card-cta svg {
    width: 18px;
    height: 18px;
    transition: transform .25s;
}

.wpt__card-cta:hover svg {
    transform: translateX(3px);
}

.wpt__card[data-accent="slate"]  .wpt__card-cta { background: #1e293b; color: #fff; }
.wpt__card[data-accent="amber"]  .wpt__card-cta { background: #d97706; color: #fff; }
.wpt__card[data-accent="violet"] .wpt__card-cta { background: #7c3aed; color: #fff; }

.wpt__card[data-accent="slate"]  .wpt__card-cta:hover { background: #0f172a; box-shadow: 0 8px 24px rgba(30,41,59,.2); transform: translateX(3px); }
.wpt__card[data-accent="amber"]  .wpt__card-cta:hover { background: #b45309; box-shadow: 0 8px 24px rgba(217,119,6,.2); transform: translateX(3px); }
.wpt__card[data-accent="violet"] .wpt__card-cta:hover { background: #6d28d9; box-shadow: 0 8px 24px rgba(124,58,237,.2); transform: translateX(3px); }

/* ── Responsive ── */
@media (max-width: 640px) {
    .wpt { padding: 3rem 0 3.5rem; }
    .wpt__cards { gap: 1.25rem; }
    .wpt__card-body { padding: 1.5rem 1.25rem; }
    .wpt__card-header { gap: 0.75rem; }
    .wpt__card-icon { width: 46px; height: 46px; min-width: 46px; border-radius: 12px; }
    .wpt__card-icon svg { width: 24px; height: 24px; }
    .wpt__card-title { font-size: 1.15rem; }
    .wpt__card-features { grid-template-columns: 1fr; gap: 0.4rem; }
    .wpt__card-footer { flex-direction: column; align-items: flex-start; }
    .wpt__card-price-value { font-size: 1.35rem; }
    .wpt__card-cta { width: 100%; justify-content: center; }
}

/* ═══════════════════════════════════════════════════
   SVC-SHOW extensions: features, price, footer
   (used inside .svc-show__panel-body)
   ═══════════════════════════════════════════════════ */
.svc-show__features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.45rem 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem;
}

.svc-show__features li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.88rem;
    color: #334155;
    font-weight: 500;
    padding: 0.35rem 0;
}

.svc-show__features li::before {
    content: '';
    width: 18px;
    height: 18px;
    min-width: 18px;
    border-radius: 50%;
    background-color: #0f172a;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
    background-size: 11px;
    background-position: center;
    background-repeat: no-repeat;
}

.svc-show__panel-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f1f5f9;
    margin-top: auto;
}

.svc-show__price-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.1rem;
}

.svc-show__price-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
}

@media (max-width: 640px) {
    .svc-show__features {
        grid-template-columns: 1fr;
        gap: 0.3rem;
    }
    .svc-show__panel-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    .svc-show__panel-footer .svc-show__panel-cta {
        width: 100%;
        justify-content: center;
    }
}

/* ═══════════════════════════════════════════════════
   TD — Tech-Dark: gradient-border cards
   ═══════════════════════════════════════════════════ */
.td {
    background: #07080d;
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
}

.td::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 20% 0%, rgba(99,102,241,.12) 0%, transparent 70%),
        radial-gradient(ellipse 50% 50% at 80% 100%, rgba(168,85,247,.10) 0%, transparent 70%);
    pointer-events: none;
}

.td__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

.td__badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    background: rgba(139,92,246,.15);
    color: #a78bfa;
    border: 1px solid rgba(139,92,246,.25);
    margin-bottom: 1rem;
}

.td__heading {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: #f1f5f9;
    margin-bottom: 0.75rem;
    line-height: 1.15;
}

.td__sub {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ── Grid ── */
.td__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    margin-top: 1rem;
}

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

/* ── Card wrapper (animated gradient border) ── */
.td__card {
    position: relative;
    border-radius: 1.125rem;
    padding: 2px;
    transition: transform 0.35s cubic-bezier(.4,0,.2,1);
}

.td__card:hover {
    transform: translateY(-6px);
}

.td__card-border {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: conic-gradient(
        from var(--td-angle, 0deg),
        #6366f1, #8b5cf6, #a855f7, #ec4899, #6366f1
    );
    opacity: 0.35;
    transition: opacity 0.4s;
    z-index: 0;
}

.td__card:hover .td__card-border {
    opacity: 0.8;
    animation: td-spin 3s linear infinite;
}

@property --td-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@keyframes td-spin {
    to { --td-angle: 360deg; }
}

/* glow behind the card on hover */
.td__card::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 1.5rem;
    background: conic-gradient(
        from var(--td-angle, 0deg),
        #6366f1, #8b5cf6, #a855f7, #ec4899, #6366f1
    );
    opacity: 0;
    filter: blur(28px);
    transition: opacity 0.4s;
    z-index: -1;
}

.td__card:hover::after {
    opacity: 0.25;
    animation: td-spin 3s linear infinite;
}

/* ── Card body (dark inner) ── */
.td__card-body {
    position: relative;
    z-index: 1;
    background: #0e1119;
    border-radius: calc(1.125rem - 2px);
    padding: 2rem 1.75rem;
    min-height: 260px;
    display: flex;
    flex-direction: column;
}

/* ── Card header ── */
.td__card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.td__card-icon {
    width: 48px;
    height: 48px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.td__card-icon svg {
    width: 24px;
    height: 24px;
}

.td__card-icon--blue {
    background: rgba(59,130,246,.12);
    color: #60a5fa;
    border: 1px solid rgba(59,130,246,.2);
}
.td__card-icon--green {
    background: rgba(34,197,94,.12);
    color: #4ade80;
    border: 1px solid rgba(34,197,94,.2);
}
.td__card-icon--purple {
    background: rgba(168,85,247,.12);
    color: #c084fc;
    border: 1px solid rgba(168,85,247,.2);
}

.td__card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #f1f5f9;
}

/* ── Pills ── */
.td__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.td__pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.9rem;
    border-radius: 9999px;
    font-size: 0.82rem;
    font-weight: 500;
    color: #cbd5e1;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    transition: all 0.25s;
    cursor: default;
}

.td__pill i {
    font-size: 0.95rem;
    opacity: 0.7;
    transition: opacity 0.25s;
}

.td__pill:hover {
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.16);
    color: #f1f5f9;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,.3);
}

.td__pill:hover i {
    opacity: 1;
}

/* Accent colour per card on pill hover */
[data-accent="blue"] .td__pill:hover {
    border-color: rgba(59,130,246,.35);
    box-shadow: 0 4px 20px rgba(59,130,246,.15);
}
[data-accent="green"] .td__pill:hover {
    border-color: rgba(34,197,94,.35);
    box-shadow: 0 4px 20px rgba(34,197,94,.15);
}
[data-accent="purple"] .td__pill:hover {
    border-color: rgba(168,85,247,.35);
    box-shadow: 0 4px 20px rgba(168,85,247,.15);
}

/* ═══════════════════════════════════════════════════
   AIB — AI Benefits: Dark Bento Grid
   ═══════════════════════════════════════════════════ */
.aib {
    background: #07080d;
    position: relative;
    overflow: hidden;
    padding: 6rem 0;
}

.aib::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 40% at 15% 10%, rgba(99,102,241,.10) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 85% 90%, rgba(168,85,247,.08) 0%, transparent 70%),
        radial-gradient(ellipse 30% 30% at 50% 50%, rgba(20,184,166,.05) 0%, transparent 70%);
    pointer-events: none;
}

.aib__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 1;
}

.aib__badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    background: rgba(139,92,246,.15);
    color: #a78bfa;
    border: 1px solid rgba(139,92,246,.25);
    margin-bottom: 1rem;
}

.aib__heading {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: #f1f5f9;
    margin-bottom: 0.75rem;
    line-height: 1.15;
}

.aib__sub {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ── Bento grid ── */
.aib__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.aib__card--wide {
    grid-column: span 2;
}

@media (max-width: 768px) {
    .aib__grid { grid-template-columns: 1fr; }
    .aib__card--wide { grid-column: span 1; }
}

/* ── Card ── */
.aib__card {
    position: relative;
    border-radius: 1.125rem;
    background: linear-gradient(135deg, rgba(255,255,255,.04) 0%, rgba(255,255,255,.01) 100%);
    border: 1px solid rgba(255,255,255,.06);
    padding: 2rem 1.75rem;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(.4,0,.2,1), border-color 0.35s;
}

.aib__card:hover {
    transform: translateY(-4px);
    border-color: rgba(255,255,255,.12);
}

/* glow orb behind icon */
.aib__card-glow {
    position: absolute;
    top: -30px;
    left: -30px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: var(--aib-glow, rgba(99,102,241,.12));
    filter: blur(50px);
    opacity: 0.5;
    transition: opacity 0.4s, transform 0.4s;
    pointer-events: none;
}

.aib__card:hover .aib__card-glow {
    opacity: 0.9;
    transform: scale(1.3);
}

[data-aib-accent="#6366f1"] .aib__card-glow { --aib-glow: rgba(99,102,241,.18); }
[data-aib-accent="#22c55e"] .aib__card-glow { --aib-glow: rgba(34,197,94,.18); }
[data-aib-accent="#a855f7"] .aib__card-glow { --aib-glow: rgba(168,85,247,.18); }
[data-aib-accent="#f59e0b"] .aib__card-glow { --aib-glow: rgba(245,158,11,.18); }
[data-aib-accent="#ef4444"] .aib__card-glow { --aib-glow: rgba(239,68,68,.18); }
[data-aib-accent="#14b8a6"] .aib__card-glow { --aib-glow: rgba(20,184,166,.18); }

/* ── Card content ── */
.aib__card-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.aib__card--wide .aib__card-content {
    align-items: center;
}

/* ── Icon ── */
.aib__icon-wrap {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.aib__card:hover .aib__icon-wrap {
    transform: scale(1.1);
}

.aib__icon-wrap--indigo {
    background: rgba(99,102,241,.12);
    color: #818cf8;
    border: 1px solid rgba(99,102,241,.2);
    box-shadow: 0 0 0 0 rgba(99,102,241,0);
}
.aib__card:hover .aib__icon-wrap--indigo { box-shadow: 0 0 24px rgba(99,102,241,.3); }

.aib__icon-wrap--green {
    background: rgba(34,197,94,.12);
    color: #4ade80;
    border: 1px solid rgba(34,197,94,.2);
}
.aib__card:hover .aib__icon-wrap--green { box-shadow: 0 0 24px rgba(34,197,94,.3); }

.aib__icon-wrap--purple {
    background: rgba(168,85,247,.12);
    color: #c084fc;
    border: 1px solid rgba(168,85,247,.2);
}
.aib__card:hover .aib__icon-wrap--purple { box-shadow: 0 0 24px rgba(168,85,247,.3); }

.aib__icon-wrap--amber {
    background: rgba(245,158,11,.12);
    color: #fbbf24;
    border: 1px solid rgba(245,158,11,.2);
}
.aib__card:hover .aib__icon-wrap--amber { box-shadow: 0 0 24px rgba(245,158,11,.3); }

.aib__icon-wrap--red {
    background: rgba(239,68,68,.12);
    color: #f87171;
    border: 1px solid rgba(239,68,68,.2);
}
.aib__card:hover .aib__icon-wrap--red { box-shadow: 0 0 24px rgba(239,68,68,.3); }

.aib__icon-wrap--teal {
    background: rgba(20,184,166,.12);
    color: #2dd4bf;
    border: 1px solid rgba(20,184,166,.2);
}
.aib__card:hover .aib__icon-wrap--teal { box-shadow: 0 0 24px rgba(20,184,166,.3); }

/* ── Title & desc ── */
.aib__card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 0.4rem;
    line-height: 1.3;
}

.aib__card-desc {
    font-size: 0.9rem;
    color: #94a3b8;
    line-height: 1.6;
    margin: 0;
}

/* ── Stat pill (wide cards) ── */
.aib__card-stat {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255,255,255,.06);
}

.aib__stat-value {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #818cf8, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.aib__stat-label {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
}

/* ═══════════════════════════════════════════════════
   Advantages Bento Section (mobile page)
   ═══════════════════════════════════════════════════ */

.adv-gradient-text {
    background: linear-gradient(90deg, #FFE500, #FF9500, #FFE500);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: adv-gradient-shift 3s ease-in-out infinite;
}
@keyframes adv-gradient-shift {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 200% center; }
}

/* Floating blobs */
.adv-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: adv-blob-float 20s ease-in-out infinite;
}
.adv-blob-1 {
    width: 500px; height: 500px;
    background: #FFE500;
    top: -10%; left: -5%;
}
.adv-blob-2 {
    width: 400px; height: 400px;
    background: #FF4D4D;
    bottom: -10%; right: -5%;
    animation-delay: -7s;
}
.adv-blob-3 {
    width: 300px; height: 300px;
    background: #4D79FF;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
}
@keyframes adv-blob-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* Particles */
.adv-particles {
    position: absolute;
    inset: 0;
}
.adv-particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(255, 229, 0, 0.6);
    border-radius: 50%;
    animation: adv-particle-float linear infinite;
}
@keyframes adv-particle-float {
    0% { transform: translateY(0) scale(1); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) scale(0); opacity: 0; }
}

/* Bento card */
.adv-bento-card {
    position: relative;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), border-color 0.4s ease;
}
.adv-bento-card:hover {
    border-color: rgba(255, 229, 0, 0.3);
    transform: translateY(-4px);
}

/* Card glow on hover */
.adv-card-glow {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
    background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 229, 0, 0.06), transparent 40%);
    z-index: 1;
}
.adv-bento-card:hover .adv-card-glow {
    opacity: 1;
}

/* Card inner */
.adv-card-inner {
    position: relative;
    z-index: 2;
}

/* Icon wraps */
.adv-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.adv-bento-card:hover .adv-icon-wrap {
    transform: scale(1.1) rotate(-3deg);
}
.adv-icon-wrap--bolt {
    background: linear-gradient(135deg, rgba(255, 229, 0, 0.2), rgba(255, 149, 0, 0.2));
    color: #FFE500;
    box-shadow: 0 0 20px rgba(255, 229, 0, 0.1);
}
.adv-bento-card:hover .adv-icon-wrap--bolt {
    box-shadow: 0 0 30px rgba(255, 229, 0, 0.3);
}
.adv-icon-wrap--shield {
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.2), rgba(34, 197, 94, 0.2));
    color: #4ade80;
    box-shadow: 0 0 20px rgba(74, 222, 128, 0.1);
}
.adv-bento-card:hover .adv-icon-wrap--shield {
    box-shadow: 0 0 30px rgba(74, 222, 128, 0.3);
}
.adv-icon-wrap--users {
    background: linear-gradient(135deg, rgba(147, 130, 255, 0.2), rgba(99, 102, 241, 0.2));
    color: #a78bfa;
    box-shadow: 0 0 20px rgba(147, 130, 255, 0.1);
}
.adv-bento-card:hover .adv-icon-wrap--users {
    box-shadow: 0 0 30px rgba(147, 130, 255, 0.3);
}
.adv-icon-wrap--devices {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(14, 165, 233, 0.2));
    color: #38bdf8;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.1);
}
.adv-bento-card:hover .adv-icon-wrap--devices {
    box-shadow: 0 0 30px rgba(56, 189, 248, 0.3);
}
.adv-icon-wrap--scale {
    background: linear-gradient(135deg, rgba(251, 146, 60, 0.2), rgba(245, 101, 0, 0.2));
    color: #fb923c;
    box-shadow: 0 0 20px rgba(251, 146, 60, 0.1);
}
.adv-bento-card:hover .adv-icon-wrap--scale {
    box-shadow: 0 0 30px rgba(251, 146, 60, 0.3);
}

/* Stats */
.adv-stat {
    display: flex;
    flex-direction: column;
}
.adv-stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: #FFE500;
    line-height: 1;
}
.adv-stat-label {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Tech pills */
.adv-tech-pill {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}
.adv-bento-card:hover .adv-tech-pill {
    border-color: rgba(255, 229, 0, 0.3);
    color: #FFE500;
    background: rgba(255, 229, 0, 0.08);
}

/* Mini chart */
.adv-mini-chart {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 50px;
}
.adv-mini-bar {
    width: 6px;
    border-radius: 3px;
    background: linear-gradient(to top, rgba(251, 146, 60, 0.3), rgba(251, 146, 60, 0.7));
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    transform-origin: bottom;
}
.adv-bento-card:hover .adv-mini-bar {
    background: linear-gradient(to top, rgba(255, 229, 0, 0.5), rgba(255, 229, 0, 1));
    animation: adv-bar-bounce 0.6s ease forwards;
}
@keyframes adv-bar-bounce {
    0% { transform: scaleY(1); }
    50% { transform: scaleY(1.2); }
    100% { transform: scaleY(1); }
}
.adv-bento-card:hover .adv-mini-bar:nth-child(1) { animation-delay: 0s; }
.adv-bento-card:hover .adv-mini-bar:nth-child(2) { animation-delay: 0.05s; }
.adv-bento-card:hover .adv-mini-bar:nth-child(3) { animation-delay: 0.1s; }
.adv-bento-card:hover .adv-mini-bar:nth-child(4) { animation-delay: 0.15s; }
.adv-bento-card:hover .adv-mini-bar:nth-child(5) { animation-delay: 0.2s; }
.adv-bento-card:hover .adv-mini-bar:nth-child(6) { animation-delay: 0.25s; }
.adv-bento-card:hover .adv-mini-bar:nth-child(7) { animation-delay: 0.3s; }

@media (max-width: 767px) {
    .adv-bento-card { min-height: 160px; }
    .adv-stat-number { font-size: 1.25rem; }
}

/* ═══════════════════════════════════════════════
   Hero Orbit — Split Layout + Tech Orbit
   ═══════════════════════════════════════════════ */
.hero-orbit-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #0a0e1a;
    overflow: hidden;
    padding-bottom: 0;
}

/* Starfield layer */
.hero-orbit-stars {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}
.hero-star {
    position: absolute;
    border-radius: 50%;
    background: #fff;
    opacity: 0;
    animation: heroStarTwinkle ease-in-out infinite;
}
@keyframes heroStarTwinkle {
    0%, 100% { opacity: 0.05; transform: scale(0.8); }
    50%      { opacity: 0.8;  transform: scale(1.2); }
}

/* Grid dot background */
.hero-orbit-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
}

/* Gradient blobs */
.hero-orbit-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 2;
    opacity: 0.5;
}
.hero-orbit-blob--1 {
    width: 600px; height: 600px;
    top: -10%; left: -10%;
    background: radial-gradient(circle, rgba(99,102,241,0.35) 0%, transparent 70%);
    animation: heroOrbBlobFloat 18s ease-in-out infinite;
}
.hero-orbit-blob--2 {
    width: 500px; height: 500px;
    bottom: -5%; right: -5%;
    background: radial-gradient(circle, rgba(236,72,153,0.25) 0%, transparent 70%);
    animation: heroOrbBlobFloat 22s ease-in-out infinite reverse;
}

@keyframes heroOrbBlobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(40px, -30px) scale(1.08); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* Layout grid */
.hero-orbit-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: calc(100vh - 120px);
    padding: 6rem 0 4rem;
}

/* ── Left: text ── */
.hero-orbit-text {
    position: relative;
    z-index: 10;
}

.hero-orbit-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem 0.4rem 0.6rem;
    border-radius: 9999px;
    background: rgba(255,229,0,0.08);
    border: 1px solid rgba(255,229,0,0.2);
    color: #ffe500;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}
.hero-orbit-badge-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #ffe500;
    box-shadow: 0 0 8px rgba(255,229,0,0.6);
    animation: heroOrbDotPulse 2s ease-in-out infinite;
}
@keyframes heroOrbDotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.7); }
}

.hero-orbit-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 1.5rem;
}
.hero-orbit-title-accent {
    position: relative;
    color: #ffe500;
    display: inline-block;
}
.hero-orbit-title-accent::after {
    content: '';
    position: absolute;
    left: 0; bottom: 2px;
    width: 100%; height: 6px;
    background: rgba(255,229,0,0.2);
    border-radius: 3px;
}

.hero-orbit-subtitle {
    font-size: 1.15rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.65);
    max-width: 520px;
    margin-bottom: 2.5rem;
}

/* CTA */
.hero-orbit-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-orbit-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.95rem 2rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #ffe500 0%, #ffc107 100%);
    color: #0a0e1a;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: transform 0.25s, box-shadow 0.25s;
    box-shadow: 0 8px 30px rgba(255,229,0,0.25);
}
.hero-orbit-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(255,229,0,0.35);
}

.hero-orbit-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.95rem 2rem;
    border-radius: 12px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: transform 0.25s, background 0.25s, border-color 0.25s;
    text-decoration: none;
}
.hero-orbit-btn-ghost:hover {
    transform: translateY(-3px);
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.3);
}

/* ── Right: orbit visual ── */
.hero-orbit-visual {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    max-width: 520px;
    margin: 0 auto;
    z-index: 10;
}

/* Orbit rings */
.hero-orbit-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.06);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}
.hero-orbit-ring--1 { width: 38%; height: 38%; }
.hero-orbit-ring--2 { width: 64%; height: 64%; border-style: dashed; border-color: rgba(255,255,255,0.05); }
.hero-orbit-ring--3 { width: 92%; height: 92%; }

/* Center logo */
.hero-orbit-center {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 80px; height: 80px;
    border-radius: 20px;
    background: linear-gradient(135deg, #ffe500 0%, #ffc107 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 60px rgba(255,229,0,0.25), 0 0 120px rgba(255,229,0,0.08);
    z-index: 20;
    animation: heroOrbCenterPulse 3s ease-in-out infinite;
}
.hero-orbit-center-text {
    font-weight: 800;
    font-size: 1.1rem;
    color: #0a0e1a;
    line-height: 1;
}
.hero-orbit-center-sub {
    font-weight: 600;
    font-size: 0.65rem;
    color: rgba(10,14,26,0.6);
    letter-spacing: 0.15em;
}

@keyframes heroOrbCenterPulse {
    0%, 100% { box-shadow: 0 0 60px rgba(255,229,0,0.25), 0 0 120px rgba(255,229,0,0.08); }
    50% { box-shadow: 0 0 80px rgba(255,229,0,0.35), 0 0 160px rgba(255,229,0,0.12); }
}

/* Orbit track (rotating wrapper) */
.hero-orbit-track {
    position: absolute;
    top: 50%; left: 50%;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 15;
}
.hero-orbit-track--1 {
    width: 38%; height: 38%;
    animation: heroOrbSpin 20s linear infinite;
}
.hero-orbit-track--2 {
    width: 64%; height: 64%;
    animation: heroOrbSpin 30s linear infinite reverse;
}
.hero-orbit-track--3 {
    width: 92%; height: 92%;
    animation: heroOrbSpin 45s linear infinite;
}

@keyframes heroOrbSpin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Nodes on orbits — placed at pre-computed left/top %, centered with margin */
.hero-orbit-node {
    position: absolute;
    width: 44px; height: 44px;
    margin: -22px 0 0 -22px;
}

.hero-orbit-node-inner {
    width: 100%; height: 100%;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.15);
    transition: box-shadow 0.3s;
}
/* Counter-rotate inner content so icons stay upright while track spins */
.hero-orbit-track--1 .hero-orbit-node-inner {
    animation: heroOrbCounterSpin1 20s linear infinite;
}
.hero-orbit-track--2 .hero-orbit-node-inner {
    animation: heroOrbCounterSpin2 30s linear infinite;
}
.hero-orbit-track--3 .hero-orbit-node-inner {
    animation: heroOrbCounterSpin3 45s linear infinite;
}

@keyframes heroOrbCounterSpin1 {
    to { transform: rotate(-360deg); }
}
@keyframes heroOrbCounterSpin2 {
    to { transform: rotate(360deg); }
}
@keyframes heroOrbCounterSpin3 {
    to { transform: rotate(-360deg); }
}

.hero-orbit-node--yellow  { background: rgba(255,229,0,0.15);  box-shadow: 0 4px 20px rgba(255,229,0,0.15); }
.hero-orbit-node--blue    { background: rgba(59,130,246,0.15);  box-shadow: 0 4px 20px rgba(59,130,246,0.15); }
.hero-orbit-node--green   { background: rgba(16,185,129,0.15);  box-shadow: 0 4px 20px rgba(16,185,129,0.15); }
.hero-orbit-node--purple  { background: rgba(139,92,246,0.15);  box-shadow: 0 4px 20px rgba(139,92,246,0.15); }
.hero-orbit-node--pink    { background: rgba(236,72,153,0.15);  box-shadow: 0 4px 20px rgba(236,72,153,0.15); }
.hero-orbit-node--cyan    { background: rgba(6,182,212,0.15);   box-shadow: 0 4px 20px rgba(6,182,212,0.15); }

/* Floating labels — styled per orbit ring level */
.hero-orbit-label {
    position: absolute;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    pointer-events: none;
    white-space: nowrap;
    padding: 3px 8px;
    border-radius: 4px;
}
.hero-orbit-label--inner {
    font-size: 0.6rem;
    color: rgba(255,229,0,0.55);
    background: rgba(255,229,0,0.04);
    border: 1px solid rgba(255,229,0,0.08);
}
.hero-orbit-label--mid {
    font-size: 0.7rem;
    color: rgba(139,92,246,0.6);
    background: rgba(139,92,246,0.05);
    border: 1px solid rgba(139,92,246,0.1);
}
.hero-orbit-label--outer {
    font-size: 0.75rem;
    color: rgba(59,130,246,0.55);
    background: rgba(59,130,246,0.04);
    border: 1px solid rgba(59,130,246,0.08);
}

/* ── Counter strip ── */
.hero-orbit-counters {
    position: relative;
    z-index: 10;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 2rem 0;
    margin-top: auto;
}
.hero-orbit-counters-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}
.hero-orbit-counter {
    text-align: center;
}
.hero-orbit-counter-num {
    font-size: 2.25rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}
.hero-orbit-counter-plus {
    font-size: 2.25rem;
    font-weight: 800;
    color: #ffe500;
    line-height: 1;
}
.hero-orbit-counter-label {
    display: block;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.45);
    margin-top: 0.3rem;
    font-weight: 500;
}
.hero-orbit-counter-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.08);
}

/* ── Scroll indicator ── */
.hero-orbit-scroll {
    position: absolute;
    bottom: 6.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    text-decoration: none;
    animation: heroOrbScrollBounce 2s ease-in-out infinite;
}
.hero-orbit-scroll-mouse {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 13px;
    position: relative;
}
.hero-orbit-scroll-wheel {
    position: absolute;
    top: 8px;
    left: 50%;
    width: 4px; height: 8px;
    border-radius: 2px;
    background: rgba(255,229,0,0.7);
    transform: translateX(-50%);
    animation: heroOrbScrollWheel 1.8s ease-in-out infinite;
}
@keyframes heroOrbScrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}
@keyframes heroOrbScrollWheel {
    0%   { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(14px); }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .hero-orbit-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 7rem 0 2rem;
        min-height: auto;
    }
    .hero-orbit-text {
        text-align: center;
        max-width: 600px;
        margin: 0 auto;
    }
    .hero-orbit-subtitle { margin-left: auto; margin-right: auto; }
    .hero-orbit-cta { justify-content: center; }
    .hero-orbit-visual {
        max-width: 340px;
        order: -1;
    }
    .hero-orbit-label { display: none; }
    .hero-orbit-scroll { display: none; }
}

@media (max-width: 640px) {
    .hero-orbit-title { font-size: 2rem; }
    .hero-orbit-subtitle { font-size: 1rem; }
    .hero-orbit-cta { flex-direction: column; align-items: center; }
    .hero-orbit-btn-primary, .hero-orbit-btn-ghost { width: 100%; max-width: 300px; justify-content: center; }
    .hero-orbit-visual { max-width: 260px; }
    .hero-orbit-counters-grid { gap: 1.5rem; }
    .hero-orbit-counter-num, .hero-orbit-counter-plus { font-size: 1.5rem; }
    .hero-orbit-counter-divider { height: 30px; }
    .hero-orbit-center { width: 56px; height: 56px; border-radius: 14px; }
    .hero-orbit-center-text { font-size: 0.85rem; }
    .hero-orbit-node-inner { width: 34px; height: 34px; border-radius: 10px; }
    .hero-orbit-node-inner svg { width: 16px; height: 16px; }
}

/* ═══════════════════════════════════════════════════════════════
   SERVICE HERO — Split-layout dark hero for all service pages
   ═══════════════════════════════════════════════════════════════ */

/* ── Variant accent colors via CSS custom properties ── */
.svc-hero-section { --svc-accent: #a855f7; --svc-accent-rgb: 168,85,247; }
.svc-hero-section[data-variant="web"]        { --svc-accent: #f59e0b; --svc-accent-rgb: 245,158,11; }
.svc-hero-section[data-variant="mobile"]     { --svc-accent: #a855f7; --svc-accent-rgb: 168,85,247; }
.svc-hero-section[data-variant="complex"]    { --svc-accent: #3b82f6; --svc-accent-rgb: 59,130,246; }
.svc-hero-section[data-variant="automation"] { --svc-accent: #10b981; --svc-accent-rgb: 16,185,129; }
.svc-hero-section[data-variant="clients"]    { --svc-accent: #ec4899; --svc-accent-rgb: 236,72,153; }
.svc-hero-section[data-variant="sales"]      { --svc-accent: #eab308; --svc-accent-rgb: 234,179,8; }
.svc-hero-section[data-variant="ai"]         { --svc-accent: #7c3aed; --svc-accent-rgb: 124,58,237; }
.svc-hero-section[data-variant="services"]   { --svc-accent: #6366f1; --svc-accent-rgb: 99,102,241; }

/* ── Section shell ── */
.svc-hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #0a0e1a;
    overflow: hidden;
    padding-bottom: 0;
}

/* Starfield */
.svc-hero-stars {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}
.svc-hero-star {
    position: absolute;
    border-radius: 50%;
    background: #fff;
    opacity: 0;
    animation: svcStarTwinkle ease-in-out infinite;
}
@keyframes svcStarTwinkle {
    0%, 100% { opacity: 0.05; transform: scale(0.8); }
    50%      { opacity: 0.75; transform: scale(1.2); }
}

/* Grid dots */
.svc-hero-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
}

/* Gradient blobs — use variant accent */
.svc-hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 2;
    opacity: 0.45;
}
.svc-hero-blob--1 {
    width: 550px; height: 550px;
    top: -8%; left: -8%;
    background: radial-gradient(circle, rgba(var(--svc-accent-rgb), 0.35) 0%, transparent 70%);
    animation: svcBlobFloat 18s ease-in-out infinite;
}
.svc-hero-blob--2 {
    width: 450px; height: 450px;
    bottom: -5%; right: -5%;
    background: radial-gradient(circle, rgba(var(--svc-accent-rgb), 0.2) 0%, transparent 70%);
    animation: svcBlobFloat 22s ease-in-out infinite reverse;
}
@keyframes svcBlobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(40px, -30px) scale(1.08); }
    66%      { transform: translate(-20px, 20px) scale(0.95); }
}

/* ── Split layout ── */
.svc-hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: calc(100vh - 120px);
    padding: 6rem 0 4rem;
}

/* ── Left: text ── */
.svc-hero-text {
    position: relative;
    z-index: 10;
}

.svc-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem 0.4rem 0.6rem;
    border-radius: 9999px;
    background: rgba(var(--svc-accent-rgb), 0.08);
    border: 1px solid rgba(var(--svc-accent-rgb), 0.25);
    color: var(--svc-accent);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}
.svc-hero-badge-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--svc-accent);
    box-shadow: 0 0 8px rgba(var(--svc-accent-rgb), 0.6);
    animation: svcBadgePulse 2s ease-in-out infinite;
}
@keyframes svcBadgePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.5; transform: scale(0.7); }
}

.svc-hero-title {
    font-size: clamp(2.4rem, 4.5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 1.5rem;
}
.svc-hero-title-accent {
    position: relative;
    color: var(--svc-accent);
    display: inline-block;
}
.svc-hero-title-accent::after {
    content: '';
    position: absolute;
    left: 0; bottom: 2px;
    width: 100%; height: 6px;
    background: rgba(var(--svc-accent-rgb), 0.2);
    border-radius: 3px;
}

.svc-hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.6);
    max-width: 520px;
    margin-bottom: 2.5rem;
}

/* CTA */
.svc-hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.svc-hero-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.95rem 2rem;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--svc-accent) 0%, rgba(var(--svc-accent-rgb), 0.8) 100%);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.25s, box-shadow 0.25s;
    box-shadow: 0 8px 30px rgba(var(--svc-accent-rgb), 0.3);
}
.svc-hero-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(var(--svc-accent-rgb), 0.45);
    color: #fff;
}
.svc-hero-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.95rem 2rem;
    border-radius: 12px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    backdrop-filter: blur(8px);
    text-decoration: none;
    transition: transform 0.25s, background 0.25s, border-color 0.25s;
}
.svc-hero-btn-ghost:hover {
    transform: translateY(-3px);
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.3);
    color: #fff;
}

/* ── Right: visual panel container ── */
.svc-hero-visual {
    position: relative;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    z-index: 10;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ── Scroll indicator ── */
.svc-hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    text-decoration: none;
    animation: svcScrollBounce 2s ease-in-out infinite;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}
.svc-hero-scroll-mouse {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 13px;
    position: relative;
}
.svc-hero-scroll-wheel {
    position: absolute;
    top: 8px;
    left: 50%;
    width: 4px; height: 8px;
    border-radius: 2px;
    background: rgba(var(--svc-accent-rgb), 0.7);
    transform: translateX(-50%);
    animation: svcScrollWheel 1.8s ease-in-out infinite;
}
.svc-hero-scroll-text {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.35);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
@keyframes svcScrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(8px); }
}
@keyframes svcScrollWheel {
    0%   { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(14px); }
}

/* ═══════════════════════════════════════════════════════════════
   SVC HERO — MOBILE VARIANT: Phone mockup + code-to-UI
   ═══════════════════════════════════════════════════════════════ */

/* Phone frame */
.svc-phone {
    position: relative;
    width: 280px;
    height: 560px;
    border-radius: 40px;
    background: #1a1a2e;
    border: 3px solid rgba(255,255,255,0.1);
    box-shadow:
        0 0 80px rgba(var(--svc-accent-rgb), 0.15),
        0 30px 60px rgba(0,0,0,0.5),
        inset 0 0 30px rgba(var(--svc-accent-rgb), 0.03);
    overflow: hidden;
    z-index: 5;
}
.svc-phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 28px;
    background: #0a0e1a;
    border-radius: 0 0 18px 18px;
    z-index: 10;
}
.svc-phone-notch::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(var(--svc-accent-rgb), 0.4);
    box-shadow: 0 0 6px rgba(var(--svc-accent-rgb), 0.3);
}

/* Phone screen split: code left, UI right */
.svc-phone-screen {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

/* Diagonal clip — code side */
.svc-phone-code {
    position: absolute;
    inset: 0;
    padding: 40px 10px 20px;
    background: #0d1117;
    clip-path: polygon(0 0, 60% 0, 35% 100%, 0 100%);
    z-index: 3;
    overflow: hidden;
}
.svc-phone-code-line {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 7.5px;
    line-height: 1.4;
    white-space: nowrap;
    opacity: 0;
    animation: svcCodeLineAppear 0.5s ease forwards;
}
.svc-phone-code-line .kw  { color: #ff7b72; }
.svc-phone-code-line .fn  { color: #d2a8ff; }
.svc-phone-code-line .str { color: #a5d6ff; }
.svc-phone-code-line .cm  { color: #484f58; }
.svc-phone-code-line .num { color: #79c0ff; }
.svc-phone-code-line .op  { color: #8b949e; }
.svc-phone-code-line .indent { display: inline-block; }

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

/* Diagonal clip — UI side */
.svc-phone-ui {
    position: absolute;
    inset: 0;
    padding: 40px 14px 20px;
    background: linear-gradient(180deg, #1e1e2e 0%, #151525 100%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow: hidden;
}

/* Mini UI elements inside the phone */
.svc-ui-statusbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4px;
    margin-bottom: 6px;
}
.svc-ui-statusbar-time {
    font-size: 7px;
    font-weight: 700;
    color: rgba(255,255,255,0.7);
}
.svc-ui-statusbar-icons {
    display: flex;
    gap: 3px;
}
.svc-ui-statusbar-icons span {
    width: 8px; height: 5px;
    border-radius: 1px;
    background: rgba(255,255,255,0.4);
}

.svc-ui-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: rgba(var(--svc-accent-rgb), 0.1);
    border-radius: 12px;
    border: 1px solid rgba(var(--svc-accent-rgb), 0.15);
}
.svc-ui-header-avatar {
    width: 24px; height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--svc-accent), rgba(var(--svc-accent-rgb), 0.5));
}
.svc-ui-header-lines {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.svc-ui-header-lines span {
    height: 3px;
    border-radius: 2px;
    background: rgba(255,255,255,0.2);
}
.svc-ui-header-lines span:first-child { width: 60%; }
.svc-ui-header-lines span:last-child  { width: 40%; }

.svc-ui-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    opacity: 0;
    animation: svcUiCardSlide 0.6s ease forwards;
}
.svc-ui-card-row {
    display: flex;
    gap: 8px;
    align-items: center;
}
.svc-ui-card-icon {
    width: 28px; height: 28px;
    border-radius: 8px;
    background: rgba(var(--svc-accent-rgb), 0.15);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.svc-ui-card-icon::after {
    content: '';
    width: 12px; height: 12px;
    border-radius: 3px;
    background: var(--svc-accent);
    opacity: 0.6;
}
.svc-ui-card-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.svc-ui-card-text span {
    height: 3px;
    border-radius: 2px;
    background: rgba(255,255,255,0.15);
}
.svc-ui-card-text span:first-child { width: 80%; }
.svc-ui-card-text span:last-child  { width: 55%; }

.svc-ui-btn {
    align-self: stretch;
    height: 28px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--svc-accent), rgba(var(--svc-accent-rgb), 0.7));
    display: flex;
    align-items: center;
    justify-content: center;
}
.svc-ui-btn span {
    width: 40px; height: 3px;
    border-radius: 2px;
    background: rgba(255,255,255,0.6);
}

.svc-ui-nav {
    margin-top: auto;
    display: flex;
    justify-content: space-around;
    padding: 8px 0 4px;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.svc-ui-nav-item {
    width: 20px; height: 20px;
    border-radius: 6px;
    background: rgba(255,255,255,0.06);
}
.svc-ui-nav-item.is-active {
    background: rgba(var(--svc-accent-rgb), 0.25);
    box-shadow: 0 0 8px rgba(var(--svc-accent-rgb), 0.2);
}

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

/* Diagonal divider glow */
.svc-phone-divider {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
    overflow: hidden;
}
.svc-phone-divider::after {
    content: '';
    position: absolute;
    top: -5%;
    left: 47.5%;
    width: 2px;
    height: 115%;
    background: linear-gradient(180deg, transparent 0%, var(--svc-accent) 30%, var(--svc-accent) 70%, transparent 100%);
    transform: rotate(14deg);
    transform-origin: top center;
    opacity: 0.6;
    filter: blur(1px);
    box-shadow: 0 0 12px rgba(var(--svc-accent-rgb), 0.4);
}

/* Floating tech pills around the phone */
.svc-hero-pills {
    position: absolute;
    inset: -40px;
    z-index: 4;
}
.svc-hero-pill {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(12px);
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
    white-space: nowrap;
    animation: svcPillFloat 6s ease-in-out infinite;
}
.svc-hero-pill-icon {
    width: 22px; height: 22px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 800;
    color: #fff;
}
.svc-hero-pill--flutter .svc-hero-pill-icon  { background: #027DFD; }
.svc-hero-pill--rn .svc-hero-pill-icon       { background: #61DAFB; color: #000; }
.svc-hero-pill--swift .svc-hero-pill-icon     { background: #F05138; }
.svc-hero-pill--kotlin .svc-hero-pill-icon    { background: #7F52FF; }

.svc-hero-pill:nth-child(1) { top: 8%;  left: -12%; animation-delay: 0s; }
.svc-hero-pill:nth-child(2) { top: 15%; right: -15%; animation-delay: 1.5s; }
.svc-hero-pill:nth-child(3) { bottom: 20%; left: -18%; animation-delay: 3s; }
.svc-hero-pill:nth-child(4) { bottom: 10%; right: -10%; animation-delay: 4.5s; }

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

/* Glow ring behind phone */
.svc-phone-glow {
    position: absolute;
    top: 50%; left: 50%;
    width: 320px; height: 320px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--svc-accent-rgb), 0.12) 0%, transparent 70%);
    z-index: 1;
    animation: svcPhoneGlowPulse 4s ease-in-out infinite;
}
@keyframes svcPhoneGlowPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1);   opacity: 0.8; }
    50%      { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

/* Orbit ring around phone */
.svc-phone-orbit {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(var(--svc-accent-rgb), 0.08);
    z-index: 2;
    pointer-events: none;
}
.svc-phone-orbit--1 { width: 380px; height: 380px; }
.svc-phone-orbit--2 { width: 480px; height: 480px; border-style: dashed; border-color: rgba(var(--svc-accent-rgb), 0.05); }

/* ═══════════════════════════════════════════════════════════════
   SVC HERO — FALLBACK VARIANT: Window frame + code lines
   ═══════════════════════════════════════════════════════════════ */

.svc-window {
    position: relative;
    width: 380px;
    border-radius: 16px;
    background: #12121e;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow:
        0 0 60px rgba(var(--svc-accent-rgb), 0.1),
        0 30px 60px rgba(0,0,0,0.4);
    overflow: hidden;
    z-index: 5;
}
.svc-window-chrome {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    background: rgba(255,255,255,0.03);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.svc-window-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
}
.svc-window-dot:nth-child(1) { background: #ff5f57; }
.svc-window-dot:nth-child(2) { background: #febc2e; }
.svc-window-dot:nth-child(3) { background: #28c840; }

.svc-window-title {
    margin-left: 8px;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.3);
    font-weight: 500;
}

.svc-window-body {
    padding: 20px;
    min-height: 260px;
}

.svc-window-line {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.72rem;
    line-height: 1.5;
    white-space: nowrap;
    opacity: 0;
    animation: svcCodeLineAppear 0.5s ease forwards;
}
.svc-window-line .ln {
    color: rgba(255,255,255,0.15);
    font-size: 0.65rem;
    width: 20px;
    text-align: right;
    flex-shrink: 0;
}
.svc-window-line .kw  { color: #ff7b72; }
.svc-window-line .fn  { color: #d2a8ff; }
.svc-window-line .str { color: #a5d6ff; }
.svc-window-line .cm  { color: #484f58; }
.svc-window-line .num { color: #79c0ff; }
.svc-window-line .op  { color: #8b949e; }
.svc-window-line .var { color: #ffa657; }

/* Cursor blink at end of last line */
.svc-window-cursor {
    display: inline-block;
    width: 7px; height: 14px;
    background: var(--svc-accent);
    border-radius: 1px;
    animation: svcCursorBlink 1s step-end infinite;
    vertical-align: middle;
    margin-left: 2px;
}
@keyframes svcCursorBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Fallback floating pills */
.svc-window-pills {
    position: absolute;
    inset: -30px;
    z-index: 4;
}
.svc-window-pill {
    position: absolute;
    padding: 5px 12px;
    border-radius: 16px;
    background: rgba(var(--svc-accent-rgb), 0.08);
    border: 1px solid rgba(var(--svc-accent-rgb), 0.15);
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    animation: svcPillFloat 6s ease-in-out infinite;
}
.svc-window-pill:nth-child(1) { top: 5%;   right: -8%;  animation-delay: 0s; }
.svc-window-pill:nth-child(2) { bottom: 15%; left: -10%; animation-delay: 2s; }
.svc-window-pill:nth-child(3) { top: 40%;  right: -12%; animation-delay: 4s; }
.svc-window-pill:nth-child(4) { bottom: 5%; right: -5%;  animation-delay: 1s; }

/* Fallback glow */
.svc-window-glow {
    position: absolute;
    top: 50%; left: 50%;
    width: 350px; height: 350px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--svc-accent-rgb), 0.1) 0%, transparent 70%);
    z-index: 1;
    animation: svcPhoneGlowPulse 4s ease-in-out infinite;
}

/* ═══════════════════════════════════════════════════════════════
   SVC HERO — SERVICES VARIANT: Multi-window cascade
   ═══════════════════════════════════════════════════════════════ */

.svc-multi {
    position: relative;
    width: 440px;
    height: 420px;
}
.svc-multi-glow {
    position: absolute;
    top: 50%; left: 50%;
    width: 380px; height: 380px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--svc-accent-rgb), 0.12) 0%, transparent 70%);
    z-index: 1;
    animation: svcPhoneGlowPulse 4s ease-in-out infinite;
}

.svc-multi-card {
    position: absolute;
    border-radius: 14px;
    background: #12121e;
    border: 1px solid rgba(255,255,255,0.08);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    z-index: 3;
}
.svc-multi-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.svc-multi-card-chrome {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    background: rgba(255,255,255,0.03);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.svc-multi-card-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
}
.svc-multi-card-dot:nth-child(1) { background: #ff5f57; }
.svc-multi-card-dot:nth-child(2) { background: #febc2e; }
.svc-multi-card-dot:nth-child(3) { background: #28c840; }

.svc-multi-card-title {
    margin-left: 6px;
    font-size: 0.6rem;
    color: rgba(255,255,255,0.3);
    font-weight: 500;
}

.svc-multi-card-body {
    padding: 12px;
    min-height: 80px;
}

.svc-multi-card-body .svc-window-line {
    margin-bottom: 5px;
    font-size: 0.6rem;
}
.svc-multi-card-body .svc-window-line .ln {
    font-size: 0.55rem;
    width: 14px;
}

/* Card positions — staggered cascade */
.svc-multi-card:nth-child(2) { top: 0;    left: 0;    width: 240px; z-index: 4; animation: svcMultiFloat 7s ease-in-out infinite; }
.svc-multi-card:nth-child(3) { top: 40px; right: 0;   width: 220px; z-index: 5; animation: svcMultiFloat 8s ease-in-out infinite 1s; }
.svc-multi-card:nth-child(4) { bottom: 60px; left: 30px; width: 230px; z-index: 6; animation: svcMultiFloat 6s ease-in-out infinite 2s; }
.svc-multi-card:nth-child(5) { bottom: 20px; right: 20px; width: 210px; z-index: 3; animation: svcMultiFloat 9s ease-in-out infinite 0.5s; }

/* Accent line on top of each card */
.svc-multi-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    z-index: 10;
}
.svc-multi-card:nth-child(2)::before { background: linear-gradient(90deg, #f59e0b, #ea580c); }
.svc-multi-card:nth-child(3)::before { background: linear-gradient(90deg, #a855f7, #6366f1); }
.svc-multi-card:nth-child(4)::before { background: linear-gradient(90deg, #10b981, #06b6d4); }
.svc-multi-card:nth-child(5)::before { background: linear-gradient(90deg, #7c3aed, #ec4899); }

/* Service label under each card */
.svc-multi-card-label {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-top: 1px solid rgba(255,255,255,0.04);
    font-size: 0.65rem;
    color: rgba(255,255,255,0.45);
    font-weight: 600;
}
.svc-multi-card-label-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
}
.svc-multi-card:nth-child(2) .svc-multi-card-label-dot { background: #f59e0b; }
.svc-multi-card:nth-child(3) .svc-multi-card-label-dot { background: #a855f7; }
.svc-multi-card:nth-child(4) .svc-multi-card-label-dot { background: #10b981; }
.svc-multi-card:nth-child(5) .svc-multi-card-label-dot { background: #7c3aed; }

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

/* Connecting lines between cards */
.svc-multi-lines {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}
.svc-multi-lines svg {
    width: 100%;
    height: 100%;
}
.svc-multi-line-path {
    stroke: rgba(var(--svc-accent-rgb), 0.12);
    stroke-width: 1;
    stroke-dasharray: 6 4;
    fill: none;
    animation: svcMultiDash 15s linear infinite;
}
@keyframes svcMultiDash {
    to { stroke-dashoffset: -100; }
}

/* ═══════════════════════════════════════════════════════════════
   SVC HERO — Responsive
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .svc-hero-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 7rem 0 2rem;
        min-height: auto;
    }
    .svc-hero-text {
        text-align: center;
        max-width: 600px;
        margin: 0 auto;
    }
    .svc-hero-subtitle { margin-left: auto; margin-right: auto; }
    .svc-hero-cta { justify-content: center; }
    .svc-hero-visual {
        max-width: 340px;
        aspect-ratio: auto;
    }
    .svc-phone { width: 220px; height: 440px; border-radius: 32px; }
    .svc-phone-notch { width: 96px; height: 22px; border-radius: 0 0 14px 14px; }
    .svc-phone-orbit--1 { width: 300px; height: 300px; }
    .svc-phone-orbit--2 { width: 380px; height: 380px; }
    .svc-hero-pill { font-size: 0.65rem; padding: 5px 10px; }
    .svc-hero-scroll { display: none; }
    .svc-window { width: 320px; }
    .svc-multi { width: 340px; height: 340px; }
    .svc-multi-card:nth-child(2) { width: 190px; }
    .svc-multi-card:nth-child(3) { width: 180px; }
    .svc-multi-card:nth-child(4) { width: 185px; }
    .svc-multi-card:nth-child(5) { width: 170px; }
}

@media (max-width: 640px) {
    .svc-hero-title { font-size: 2rem; }
    .svc-hero-subtitle { font-size: 1rem; }
    .svc-hero-cta { flex-direction: column; align-items: center; }
    .svc-hero-btn-primary, .svc-hero-btn-ghost { width: 100%; max-width: 300px; justify-content: center; }
    .svc-phone { width: 180px; height: 360px; border-radius: 28px; }
    .svc-phone-notch { width: 80px; height: 18px; border-radius: 0 0 10px 10px; }
    .svc-phone-code-line { font-size: 6px; }
    .svc-phone-orbit { display: none; }
    .svc-hero-pills { display: none; }
    .svc-window { width: 260px; }
    .svc-window-pills { display: none; }
    .svc-hero-blob { opacity: 0.25; }
    .svc-multi { width: 280px; height: 300px; }
    .svc-multi-card:nth-child(2) { width: 160px; }
    .svc-multi-card:nth-child(3) { width: 150px; }
    .svc-multi-card:nth-child(4) { width: 155px; }
    .svc-multi-card:nth-child(5) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .svc-hero-star,
    .svc-hero-blob,
    .svc-hero-pill,
    .svc-window-pill,
    .svc-phone-glow,
    .svc-window-glow,
    .svc-phone-orbit,
    .svc-phone-code-line,
    .svc-ui-card,
    .svc-multi-card { animation: none !important; opacity: 1 !important; }
}


/* ══════════════════════════════════════════════════════════════
   Solution Finder — 3-Step Dark Glassmorphism Calculator
   ══════════════════════════════════════════════════════════════ */

/* ── overlay + backdrop ── */
.sc-overlay {
    position: fixed; inset: 0; z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    padding: 1rem;
    opacity: 0;
    transition: opacity .35s ease;
    pointer-events: none;
}
.sc-overlay.hidden { display: none; }
.sc-overlay.is-open { opacity: 1; pointer-events: auto; }

.sc-backdrop {
    position: absolute; inset: 0;
    background: rgba(0,0,0,.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

/* ── modal card ── */
.sc-modal {
    position: relative; z-index: 1;
    width: 100%; max-width: 640px;
    background: linear-gradient(165deg, rgba(24,24,35,.96) 0%, rgba(15,15,25,.98) 100%);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 1.25rem;
    box-shadow: 0 32px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.04) inset;
    padding: 2rem 2rem 1.5rem;
    max-height: 92vh;
    overflow-y: auto;
    overflow-x: hidden;
    transform: translateY(20px) scale(.97);
    transition: transform .35s cubic-bezier(.22,1,.36,1);
}
.sc-overlay.is-open .sc-modal {
    transform: translateY(0) scale(1);
}

.sc-modal::-webkit-scrollbar { width: 4px; }
.sc-modal::-webkit-scrollbar-track { background: transparent; }
.sc-modal::-webkit-scrollbar-thumb { background: rgba(255,255,255,.12); border-radius: 4px; }

/* ── close button ── */
.sc-close {
    position: absolute; top: 1rem; right: 1rem;
    width: 2.25rem; height: 2.25rem;
    display: flex; align-items: center; justify-content: center;
    border-radius: .625rem;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    color: rgba(255,255,255,.5);
    cursor: pointer;
    transition: all .2s;
}
.sc-close:hover { background: rgba(255,255,255,.1); color: #fff; }
.sc-close svg { width: 1rem; height: 1rem; }

/* ── step dots ── */
.sc-dots {
    display: flex; align-items: center; justify-content: center;
    gap: 0; margin-bottom: 2rem;
}
.sc-dot {
    width: 2rem; height: 2rem;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: .75rem; font-weight: 700;
    color: rgba(255,255,255,.3);
    background: rgba(255,255,255,.04);
    border: 2px solid rgba(255,255,255,.08);
    cursor: default;
    transition: all .35s ease;
    flex-shrink: 0;
}
.sc-dot span { position: relative; z-index: 1; }
.sc-dot.is-active {
    color: #0f0f19;
    background: #FFE500;
    border-color: #FFE500;
    box-shadow: 0 0 20px rgba(255,229,0,.35);
}
.sc-dot.is-done {
    color: #FFE500;
    background: rgba(255,229,0,.12);
    border-color: rgba(255,229,0,.4);
}
.sc-dot-line {
    width: 3rem; height: 2px;
    background: rgba(255,255,255,.06);
    border-radius: 1px;
    overflow: hidden;
    flex-shrink: 0;
}
.sc-dot-line-fill {
    height: 100%; width: 0;
    background: linear-gradient(90deg, #FFE500, #ff9900);
    border-radius: 1px;
    transition: width .4s ease;
}

/* ── steps container ── */
.sc-steps {
    position: relative;
    min-height: 360px;
    overflow: hidden;
}

/* ── individual step ── */
.sc-step {
    position: absolute; inset: 0;
    opacity: 0;
    transform: translateX(40px);
    pointer-events: none;
    transition: opacity .4s ease, transform .4s cubic-bezier(.22,1,.36,1);
}
.sc-step.is-active {
    position: relative;
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}
.sc-step.leave-left  { opacity: 0; transform: translateX(-40px); }
.sc-step.leave-right { opacity: 0; transform: translateX(40px); }
.sc-step.enter-right { opacity: 0; transform: translateX(40px); }
.sc-step.enter-left  { opacity: 0; transform: translateX(-40px); }

/* ── step header ── */
.sc-step-header { text-align: center; margin-bottom: 1.75rem; }
.sc-step-label {
    display: inline-block;
    font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em;
    color: #FFE500;
    margin-bottom: .5rem;
}
.sc-step-title {
    font-size: 1.5rem; font-weight: 800; color: #fff;
    line-height: 1.2; margin: 0 0 .5rem;
}
.sc-step-sub {
    font-size: .9rem; color: rgba(255,255,255,.45);
    margin: 0;
}

/* ── challenge cards (Step 1) ── */
.sc-challenges {
    display: flex; flex-direction: column; gap: .625rem;
}
.sc-challenge input { position: absolute; opacity: 0; pointer-events: none; }
.sc-challenge { cursor: pointer; }
.sc-challenge-inner {
    display: flex; align-items: center; gap: 1rem;
    padding: .875rem 1rem;
    border-radius: .875rem;
    border: 1px solid rgba(255,255,255,.06);
    background: rgba(255,255,255,.03);
    transition: all .25s ease;
}
.sc-challenge:hover .sc-challenge-inner {
    background: rgba(255,255,255,.06);
    border-color: rgba(255,255,255,.12);
}
.sc-challenge input:checked ~ .sc-challenge-inner {
    background: rgba(255,229,0,.06);
    border-color: rgba(255,229,0,.35);
    box-shadow: 0 0 24px rgba(255,229,0,.08);
}

.sc-challenge-icon {
    width: 2.75rem; height: 2.75rem;
    border-radius: .75rem;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.sc-challenge-icon svg { width: 1.35rem; height: 1.35rem; }
.sc-challenge-icon--amber  { background: rgba(255,191,0,.12);  color: #ffbf00; }
.sc-challenge-icon--blue   { background: rgba(59,130,246,.12);  color: #3b82f6; }
.sc-challenge-icon--green  { background: rgba(16,185,129,.12);  color: #10b981; }
.sc-challenge-icon--purple { background: rgba(168,85,247,.12);  color: #a855f7; }
.sc-challenge-icon--pink   { background: rgba(236,72,153,.12);  color: #ec4899; }

.sc-challenge-text { flex: 1; }
.sc-challenge-text strong {
    display: block; font-size: .95rem; color: #fff; font-weight: 600;
}
.sc-challenge-text span {
    display: block; font-size: .78rem; color: rgba(255,255,255,.4); margin-top: .125rem;
}

.sc-challenge-check {
    width: 1.5rem; height: 1.5rem;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,.1);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: all .25s ease;
}
.sc-challenge-check svg { width: .85rem; height: .85rem; opacity: 0; transition: opacity .2s; }
.sc-challenge input:checked ~ .sc-challenge-inner .sc-challenge-check {
    background: #FFE500; border-color: #FFE500;
}
.sc-challenge input:checked ~ .sc-challenge-inner .sc-challenge-check svg {
    opacity: 1; color: #0f0f19;
}

/* ── scale section (Step 2) ── */
.sc-scale { display: flex; flex-direction: column; gap: 2rem; }
.sc-scale-group { position: relative; }
.sc-scale-label {
    font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em;
    color: rgba(255,255,255,.5);
    margin-bottom: .75rem;
    display: block;
}

.sc-pills {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: .625rem;
}
.sc-pill { cursor: pointer; }
.sc-pill input { position: absolute; opacity: 0; pointer-events: none; }
.sc-pill-inner {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center;
    padding: 1rem .5rem;
    border-radius: .875rem;
    border: 1px solid rgba(255,255,255,.06);
    background: rgba(255,255,255,.03);
    transition: all .25s ease;
    min-height: 4.5rem;
}
.sc-pill:hover .sc-pill-inner {
    background: rgba(255,255,255,.06);
    border-color: rgba(255,255,255,.12);
}
.sc-pill input:checked ~ .sc-pill-inner {
    background: rgba(255,229,0,.06);
    border-color: rgba(255,229,0,.35);
    box-shadow: 0 0 20px rgba(255,229,0,.08);
}
.sc-pill-inner strong {
    display: block; font-size: .95rem; color: #fff; font-weight: 600;
}
.sc-pill-inner em {
    display: block; font-size: .72rem; font-style: normal;
    color: rgba(255,255,255,.4); margin-top: .25rem;
}
.sc-pill input:checked ~ .sc-pill-inner strong { color: #FFE500; }

/* ── result card (Step 3) ── */
.sc-result { margin-bottom: 1.5rem; }
.sc-result-card {
    padding: 1.25rem 1.5rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(255,229,0,.06) 0%, rgba(255,153,0,.04) 100%);
    border: 1px solid rgba(255,229,0,.15);
}
.sc-result-head {
    display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
    margin-bottom: .75rem;
}
.sc-result-title {
    font-size: 1.2rem; font-weight: 700; color: #fff; margin: 0;
}
.sc-result-price {
    font-size: .95rem; font-weight: 700; color: #FFE500;
    white-space: nowrap;
}
.sc-result-desc {
    font-size: .88rem; color: rgba(255,255,255,.55);
    margin: 0 0 1rem; line-height: 1.5;
}
.sc-result-meta {
    display: flex; align-items: center; justify-content: space-between; gap: .75rem;
    flex-wrap: wrap;
}
.sc-result-timeline {
    display: inline-flex; align-items: center; gap: .35rem;
    font-size: .78rem; color: rgba(255,255,255,.45);
}
.sc-result-timeline svg { flex-shrink: 0; }
.sc-result-stack { display: flex; flex-wrap: wrap; gap: .35rem; }
.sc-result-stack span {
    display: inline-block;
    padding: .2rem .6rem;
    border-radius: 9999px;
    font-size: .68rem; font-weight: 600;
    background: rgba(255,255,255,.06);
    color: rgba(255,255,255,.5);
    border: 1px solid rgba(255,255,255,.06);
}

/* ── contact form (Step 3) ── */
.sc-contact { position: relative; }
.sc-contact-row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-bottom: .75rem; }
.sc-field {
    position: relative;
}
.sc-field--full { width: 100%; }
.sc-field input,
.sc-field textarea {
    width: 100%;
    padding: 1rem .875rem .5rem;
    font-size: .9rem;
    color: #fff;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: .75rem;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    font-family: inherit;
    resize: none;
}
.sc-field input:focus,
.sc-field textarea:focus {
    border-color: rgba(255,229,0,.4);
    box-shadow: 0 0 0 3px rgba(255,229,0,.08);
}
.sc-field label {
    position: absolute; left: .875rem; top: 50%;
    transform: translateY(-50%);
    font-size: .85rem; color: rgba(255,255,255,.35);
    pointer-events: none;
    transition: all .2s ease;
}
.sc-field textarea ~ label {
    top: 1rem; transform: none;
}
.sc-field input:focus ~ label,
.sc-field input:not(:placeholder-shown) ~ label {
    top: .45rem; transform: none;
    font-size: .65rem; color: rgba(255,229,0,.6);
}
.sc-field textarea:focus ~ label,
.sc-field textarea:not(:placeholder-shown) ~ label {
    top: .3rem;
    font-size: .65rem; color: rgba(255,229,0,.6);
}

/* ── navigation ── */
.sc-nav {
    display: flex; align-items: center; gap: .75rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255,255,255,.06);
}
.sc-nav-spacer { flex: 1; }

.sc-nav-back {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .625rem 1rem;
    font-size: .85rem; font-weight: 600;
    color: rgba(255,255,255,.5);
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: .625rem;
    cursor: pointer;
    transition: all .2s;
}
.sc-nav-back:hover { color: #fff; background: rgba(255,255,255,.08); }
.sc-nav-back svg { width: 1rem; height: 1rem; }
.sc-nav-back.hidden { display: none; }

.sc-nav-next {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .7rem 1.5rem;
    font-size: .9rem; font-weight: 700;
    color: #0f0f19;
    background: linear-gradient(135deg, #FFE500 0%, #ffbf00 100%);
    border: none; border-radius: .625rem;
    cursor: pointer;
    transition: all .25s;
    box-shadow: 0 4px 20px rgba(255,229,0,.25);
}
.sc-nav-next:hover:not(:disabled) {
    box-shadow: 0 6px 28px rgba(255,229,0,.35);
    transform: translateY(-1px);
}
.sc-nav-next:disabled {
    opacity: .35; cursor: not-allowed;
    box-shadow: none; transform: none;
}
.sc-nav-next svg { width: 1rem; height: 1rem; }

/* ── success screen ── */
.sc-success {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center;
    min-height: 300px;
    padding: 2rem 1rem;
}
.sc-success-icon {
    width: 4rem; height: 4rem;
    border-radius: 50%;
    background: rgba(16,185,129,.15);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.25rem;
}
.sc-success-icon svg { width: 2rem; height: 2rem; color: #10b981; }
.sc-success-title { font-size: 1.4rem; font-weight: 800; color: #fff; margin: 0 0 .5rem; }
.sc-success-sub { font-size: .9rem; color: rgba(255,255,255,.45); margin: 0; }

/* ── toast ── */
.sc-toast {
    position: fixed; top: 1.5rem; right: 1.5rem; z-index: 99999;
    padding: .875rem 1.5rem;
    border-radius: .75rem;
    font-size: .88rem; font-weight: 600;
    color: #fff;
    opacity: 0; transform: translateY(-12px);
    transition: all .3s ease;
    pointer-events: none;
}
.sc-toast.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.sc-toast--error { background: #ef4444; box-shadow: 0 8px 30px rgba(239,68,68,.3); }
.sc-toast--info  { background: #3b82f6; box-shadow: 0 8px 30px rgba(59,130,246,.3); }

/* ── responsive ── */
@media (max-width: 640px) {
    .sc-modal {
        padding: 1.5rem 1.25rem 1.25rem;
        border-radius: 1rem;
        max-height: 95vh;
    }
    .sc-step-title { font-size: 1.25rem; }
    .sc-pills { grid-template-columns: 1fr; }
    .sc-contact-row { grid-template-columns: 1fr; }
    .sc-result-head { flex-direction: column; gap: .5rem; }
    .sc-result-price { text-align: left; }
    .sc-dot-line { width: 1.5rem; }
}
