/**
 * AET Home — Step 1 styles
 */

.page-home .container {
  width: min(var(--container-max), 100% - var(--container-padding) * 2);
}

/* ── Header (home) ── */
.page-home .header {
  height: var(--header-height);
  background: transparent;
  border-bottom-color: transparent;
}

.page-home .header.scrolled {
  background: var(--color-bg-glass);
  backdrop-filter: var(--blur-glass);
  border-bottom-color: var(--color-border);
}

.page-home .nav__link {
  font-size: var(--text-sm);
  font-weight: 500;
}

.page-home .btn--primary {
  background: var(--gradient-accent);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  padding: 11px 22px;
}

/* Header over dark hero */
.page-home .header:not(.scrolled) .logo__text {
  color: #fff;
}

.page-home .header:not(.scrolled) .logo__text span {
  color: #ff8a8a;
}

.page-home .header:not(.scrolled) .nav__link {
  color: rgba(255, 255, 255, 0.88);
}

.page-home .header:not(.scrolled) .nav__link:hover,
.page-home .header:not(.scrolled) .nav__link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.page-home .header:not(.scrolled) .lang-switch {
  color: rgba(255, 255, 255, 0.7);
  border-color: rgba(255, 255, 255, 0.25);
}

.page-home .header:not(.scrolled) .lang-switch a {
  color: rgba(255, 255, 255, 0.82);
}

.page-home .header:not(.scrolled) .lang-switch a:hover,
.page-home .header:not(.scrolled) .lang-switch a.active {
  color: #fff;
}

.page-home .header:not(.scrolled) .site-search-btn {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.page-home .header:not(.scrolled) .nav__trigger {
  color: rgba(255, 255, 255, 0.88);
}

.page-home .header:not(.scrolled) .nav__chevron {
  color: rgba(255, 255, 255, 0.7);
}

.page-home .header:not(.scrolled) .burger span {
  background: #fff;
}

/* ── Hero slider ── */
.hero-slider {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-height) + var(--space-10)) 0 var(--space-16);
  overflow: hidden;
  color: #fff;
}

.hero-slider__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #0a0807;
}

.hero-slider__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  pointer-events: none;
}

.hero-slider__slide.is-active {
  opacity: 1;
  z-index: 1;
}

.hero-slider__slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  display: block;
  transform: scale(1.08);
  transition: transform 10s ease;
}

.hero-slider__slide.is-active .hero-slider__slide-img {
  transform: scale(1);
}

.hero-slider__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(100deg, rgba(10, 8, 7, 0.9) 0%, rgba(10, 8, 7, 0.78) 38%, rgba(10, 8, 7, 0.35) 58%, rgba(10, 8, 7, 0.2) 100%),
    linear-gradient(to top, rgba(10, 8, 7, 0.75) 0%, transparent 38%);
  pointer-events: none;
}

/* Слайд 1 — сильнее затемняем левую часть под текст */
.hero-slider[data-active-slide="0"] .hero-slider__shade {
  background:
    linear-gradient(100deg, rgba(8, 6, 5, 0.96) 0%, rgba(8, 6, 5, 0.9) 32%, rgba(8, 6, 5, 0.62) 52%, rgba(8, 6, 5, 0.28) 72%, rgba(8, 6, 5, 0.15) 100%),
    linear-gradient(to top, rgba(8, 6, 5, 0.82) 0%, transparent 40%);
}

.hero-slider[data-active-slide="0"] .hero-slider__shade::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(5, 4, 3, 0.45) 0%,
    rgba(5, 4, 3, 0.22) 38%,
    transparent 62%
  );
  pointer-events: none;
}

.hero-slider__grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(255, 21, 21, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 21, 21, 0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black 50%, transparent);
  pointer-events: none;
}

.hero-slider__layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  min-width: 0;
}

.hero-slider__main {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.hero-slider__panels {
  display: grid;
  grid-template: 1fr / 1fr;
  width: 100%;
}

.hero-slider__panel {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease, visibility 0.55s;
}

.hero-slider__panel.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  z-index: 1;
}

.hero-slider__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--space-6);
  font-size: var(--text-sm);
  font-weight: 600;
  color: rgba(255, 200, 200, 0.95);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-slider__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff1515;
  box-shadow: 0 0 14px #ff1515;
  animation: homePulse 2.5s ease infinite;
}

.hero-slider__title {
  font-size: var(--text-5xl);
  font-weight: 800;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-6);
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.hero-slider__title span {
  display: block;
  font-size: clamp(0.6875rem, 2.5vw, 1.1rem);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: var(--space-4);
}

.hero-slider__title em {
  font-style: normal;
  color: #ff6b6b;
}

.hero-slider__desc {
  font-size: var(--text-lg);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  max-width: 540px;
  margin-bottom: var(--space-8);
}

.hero-slider__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.hero-slider__btn-outline {
  border-color: rgba(255, 255, 255, 0.45) !important;
  color: #fff !important;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(6px);
}

.hero-slider__btn-outline:hover {
  background: rgba(255, 255, 255, 0.14) !important;
  border-color: #fff !important;
}

.hero-slider__nav {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: var(--space-8);
  padding-top: var(--space-4);
}

.hero-slider__bullet {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.hero-slider__bullet.is-active {
  background: #ff1515;
  box-shadow: 0 0 12px rgba(255, 21, 21, 0.7);
  transform: scale(1.2);
}

.hero-slider__progress {
  flex: 1;
  max-width: 120px;
  height: 3px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  overflow: hidden;
  margin-left: 8px;
}

.hero-slider__progress-bar {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #ff1515, #ff8a8a);
  border-radius: 4px;
  animation: heroSlideProgress 7s linear infinite;
}

@keyframes heroSlideProgress {
  from { width: 0; }
  to { width: 100%; }
}

/* Floating perks */
.hero-slider__perks {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
}

.hero-perks-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 340px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.hero-perk {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.35s ease;
  animation: heroPerkFloat 6s ease-in-out infinite;
}

.hero-perk--1 { animation-delay: 0s; }
.hero-perk--2 { animation-delay: -1s; margin-left: 12px; }
.hero-perk--3 { animation-delay: -2s; }
.hero-perk--4 { animation-delay: -0.5s; margin-left: 12px; }
.hero-perk--5 { animation-delay: -1.5s; }

.hero-perk:hover {
  animation: none;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 21, 21, 0.45);
  transform: translateX(4px) translateY(-2px);
}

.hero-perk strong {
  display: block;
  font-size: 0.9rem;
  color: #fff;
  margin-bottom: 2px;
}

.hero-perk span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.4;
}

.hero-perk__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #ff1515, #cc0000);
  box-shadow: 0 4px 16px rgba(255, 21, 21, 0.4);
}

.hero-perk__icon--iso {
  font-size: 0.65rem;
  letter-spacing: 0.04em;
}

@keyframes heroPerkFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@media (max-width: 1024px) {
  .hero-slider__layout {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .hero-slider__perks {
    justify-content: stretch;
    margin-top: var(--space-4);
  }

  .hero-perks-stack {
    max-width: none;
    margin-left: 0;
  }

  .hero-perk--2,
  .hero-perk--4 {
    margin-left: 0;
  }
}

@media (max-width: 640px) {
  .hero-perks-stack {
    padding: 12px;
    gap: 8px;
  }

  .hero-perk {
    animation: none;
  }

  .hero-slider__title {
    font-size: clamp(1.75rem, 7vw, 2.25rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slider__slide-img,
  .hero-slider__panel,
  .hero-perk,
  .hero-slider__progress-bar {
    animation: none !important;
    transition: none !important;
  }
}

/* ── Hero (legacy) ── */
.hero-v2 {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-height) + var(--space-12)) 0 var(--space-20);
  overflow: hidden;
  background: var(--gradient-hero);
}

.hero-v2__noise {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-v2__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(45, 140, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 140, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black, transparent);
}

.hero-v2__glow {
  position: absolute;
  width: 70%;
  height: 60%;
  top: 10%;
  right: -10%;
  background: radial-gradient(ellipse, rgba(45, 140, 255, 0.18) 0%, transparent 65%);
  pointer-events: none;
}

.hero-v2__layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
  min-width: 0;
}

.hero-v2__content {
  min-width: 0;
  max-width: 100%;
}

.hero-v2__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
  font-size: var(--text-sm);
  color: var(--color-accent-light);
  animation: homeFadeUp 0.9s ease both;
  max-width: 100%;
  flex-wrap: wrap;
}

.hero-v2__eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent-light);
  box-shadow: 0 0 12px var(--color-accent-light);
  animation: homePulse 2.5s ease infinite;
}

.hero-v2__title {
  font-size: var(--text-5xl);
  font-weight: 800;
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-6);
  animation: homeFadeUp 0.9s 0.08s ease both;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.hero-v2__title span {
  display: block;
  color: var(--color-text-secondary);
  font-weight: 600;
  font-size: clamp(0.6875rem, 2.8vw, 1.25rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.35;
}

.hero-v2__title em {
  font-style: normal;
  color: var(--color-accent-light);
}

.hero-v2__desc {
  font-size: var(--text-lg);
  color: var(--color-text-secondary);
  max-width: 520px;
  margin-bottom: var(--space-10);
  animation: homeFadeUp 0.9s 0.16s ease both;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.hero-v2__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  animation: homeFadeUp 0.9s 0.24s ease both;
  max-width: 100%;
}

.btn--video {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--color-text-primary);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: 11px 0;
  transition: color var(--transition);
  max-width: 100%;
  text-align: left;
  line-height: 1.35;
}

.btn--video:hover { color: var(--color-accent-light); }

.btn--video-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-border-accent);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  transition: all var(--transition);
}

.btn--video:hover .btn--video-icon {
  background: var(--color-accent-subtle);
  border-color: var(--color-accent);
  box-shadow: var(--shadow-glow);
}

/* Orbital visual */
.hero-v2__visual {
  position: relative;
  animation: homeFadeIn 1.2s 0.3s ease both;
}

.orbit-scene {
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
  aspect-ratio: 1;
  position: relative;
}

.orbit-scene svg {
  width: 100%;
  height: 100%;
}

.orbit-scene__label {
  position: absolute;
  bottom: 8%;
  left: 50%;
  transform: translateX(-50%);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  color: var(--color-text-muted);
}

/* ── Company intro ── */
.intro-block {
  padding: var(--space-20) 0;
  background: linear-gradient(180deg, #ffffff 0%, #faf7f6 45%, #ffffff 100%);
  border-bottom: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

.intro-block::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 21, 21, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.intro-block__inner {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  position: relative;
  z-index: 1;
}

.intro-block__visual {
  position: relative;
}

.intro-block__photo {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow:
    0 28px 64px rgba(61, 23, 0, 0.14),
    0 0 0 1px rgba(0, 0, 0, 0.05);
}

.intro-block__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.intro-block__photo:hover img {
  transform: scale(1.04);
}

.intro-block__photo-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 12, 8, 0.35) 0%, transparent 55%);
  pointer-events: none;
}

.intro-block__badge {
  position: absolute;
  right: -10px;
  bottom: -14px;
  padding: 14px 18px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--color-border);
  box-shadow: 0 16px 40px rgba(61, 23, 0, 0.12);
  border-left: 3px solid var(--color-accent);
}

.intro-block__badge-kicker {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 2px;
}

.intro-block__badge-title {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-text-primary);
  letter-spacing: -0.02em;
}

.intro-block__content {
  min-width: 0;
}

.intro-block__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: var(--space-4);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.intro-block__label-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 10px var(--color-accent-glow);
}

.intro-block__title {
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  font-weight: 800;
  line-height: var(--leading-snug);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-5);
}

.intro-block__title em {
  color: var(--color-accent);
  font-style: normal;
}

.intro-block__text {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: 1.75;
  max-width: 640px;
  margin-bottom: var(--space-8);
}

.intro-block__sub {
  display: flex;
  align-items: flex-start;
  gap: var(--space-5);
  padding: var(--space-6);
  background: linear-gradient(135deg, #ffffff 0%, #fdf9f8 100%);
  border: 1px solid var(--color-border);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.intro-block__sub::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 3px;
  border-radius: 3px;
  background: var(--gradient-accent);
}

.intro-block__sub-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--color-accent-subtle);
  color: var(--color-accent);
  border: 1px solid rgba(255, 21, 21, 0.15);
}

.intro-block__sub-title {
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-2);
}

.intro-block__sub-text {
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
  line-height: 1.65;
}

.intro-block__cta {
  margin-top: var(--space-8);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.intro-block__cta:hover {
  gap: 12px;
}

/* ── Stats strip ── */
.stats-v2 {
  padding: var(--space-16) 0 var(--space-20);
  margin-top: calc(var(--space-12) * -1);
  position: relative;
  z-index: 3;
}

.stats-v2__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.stats-v2__item {
  padding: var(--space-10) var(--space-6);
  text-align: center;
  border-right: 1px solid var(--color-border);
  transition: background var(--transition);
}

.stats-v2__item:last-child { border-right: none; }

.stats-v2__item:hover {
  background: var(--color-bg-elevated);
}

.stats-v2__value {
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1;
  color: var(--color-text-primary);
  margin-bottom: var(--space-3);
}

.stats-v2__value--accent {
  color: var(--color-accent-light);
}

.stats-v2__label {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.4;
}

.stats-v2__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: var(--color-accent-subtle);
  border: 1px solid var(--color-border-accent);
  font-size: var(--text-sm);
  font-weight: 800;
  color: var(--color-accent-light);
  letter-spacing: 0.05em;
}

/* ── Solutions cards ── */
.solutions {
  padding: var(--space-24) 0;
}

.solution-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 360px;
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: all var(--transition-slow);
}

.solution-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--card-gradient, linear-gradient(160deg, #0c1828, #142040));
  transition: transform var(--transition-slow);
}

.solution-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 6, 12, 0.92) 0%, rgba(4, 6, 12, 0.2) 55%, transparent 100%);
}

.solution-card:hover::before { transform: scale(1.06); }
.solution-card:hover { border-color: var(--color-border-accent); transform: translateY(-6px); box-shadow: var(--shadow-md); }

.solution-card__body {
  position: relative;
  z-index: 1;
  padding: var(--space-8);
}

.solution-card__num {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-accent-light);
  letter-spacing: var(--tracking-wider);
  margin-bottom: var(--space-4);
}

.solution-card__title {
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: var(--space-3);
}

.solution-card__text {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-6);
  max-width: 320px;
}

.solution-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-accent-light);
}

.solution-card__link svg {
  transition: transform var(--transition);
}

.solution-card:hover .solution-card__link svg { transform: translateX(4px); }

/* Каталог на главной — фото + светлый текстовый блок */
.solution-card--catalog {
  min-height: 0;
  background: #fff;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  justify-content: flex-start;
}

.solution-card--catalog::before,
.solution-card--catalog::after {
  display: none;
}

.solution-card--catalog:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(61, 23, 0, 0.12);
  border-color: rgba(255, 21, 21, 0.25);
}

.solution-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #1a1a1a;
}

.solution-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.solution-card--catalog:hover .solution-card__media img {
  transform: scale(1.06);
}

.solution-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 8, 7, 0.45) 0%, transparent 55%);
  pointer-events: none;
}

.solution-card__tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 1;
  padding: 6px 12px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(8, 6, 5, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  backdrop-filter: blur(8px);
}

.solution-card--catalog .solution-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: var(--space-6) var(--space-6) var(--space-7);
  background: #fff;
}

.solution-card--catalog .solution-card__title {
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-text-primary);
  margin-bottom: var(--space-3);
  letter-spacing: -0.02em;
}

.solution-card--catalog .solution-card__text {
  flex: 1;
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.65;
  max-width: none;
  margin-bottom: var(--space-5);
}

.solution-card--catalog .solution-card__link {
  margin-top: auto;
  color: var(--color-accent);
  font-weight: 700;
  transition: gap 0.2s ease, color 0.2s ease;
}

.solution-card--catalog .solution-card__link:hover {
  color: var(--color-accent-dark);
  gap: 10px;
}

.cards-grid--catalog {
  gap: var(--space-6);
}

/* ── uSpace feature ── */
.uspace-block {
  padding: var(--space-24) 0;
  background: var(--color-bg-secondary);
  position: relative;
  overflow: hidden;
}

.uspace-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 70% at 0% 50%, rgba(45, 140, 255, 0.08), transparent);
}

.uspace-block__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  position: relative;
}

.uspace-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.uspace-metric {
  padding: var(--space-6);
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.uspace-metric__val {
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-accent-light);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.uspace-metric__lbl {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.uspace-visual {
  aspect-ratio: 1;
  max-width: 480px;
  margin-inline: auto;
  position: relative;
  border-radius: 50%;
  background:
    radial-gradient(circle at 40% 40%, rgba(45, 140, 255, 0.25) 0%, transparent 50%),
    radial-gradient(circle, var(--color-bg-elevated) 0%, var(--color-bg-deep) 100%);
  border: 1px solid var(--color-border);
  display: grid;
  place-items: center;
}

.uspace-visual__ring {
  position: absolute;
  border: 1px solid rgba(45, 140, 255, 0.15);
  border-radius: 50%;
  animation: homeSpin 40s linear infinite;
}

.uspace-visual__ring:nth-child(1) { inset: 8%; }
.uspace-visual__ring:nth-child(2) { inset: 22%; animation-direction: reverse; animation-duration: 28s; }
.uspace-visual__ring:nth-child(3) { inset: 36%; animation-duration: 18s; }

.uspace-visual__core {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: 0.15em;
  color: rgba(45, 140, 255, 0.35);
  z-index: 1;
}

/* ── Projects row ── */
.projects-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.project-tile {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.project-tile__bg {
  position: absolute;
  inset: 0;
  background: var(--tile-bg);
  transition: transform 0.7s ease;
}

.project-tile:hover .project-tile__bg { transform: scale(1.08); }

.project-tile__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(4, 6, 12, 0.95) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-8);
}

.project-tile__tag {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--tracking-wide);
  color: var(--color-accent-light);
  margin-bottom: var(--space-3);
}

.project-tile__title {
  font-size: var(--text-xl);
  font-weight: 700;
  line-height: var(--leading-snug);
}

.project-tile__arrow {
  position: absolute;
  top: var(--space-6);
  right: var(--space-6);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-bg-glass);
  backdrop-filter: var(--blur-glass);
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translate(-8px, 8px);
  transition: all var(--transition);
}

.project-tile:hover .project-tile__arrow {
  opacity: 1;
  transform: none;
}

/* ── News row ── */
.news-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.news-item {
  padding: var(--space-8);
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  display: block;
}

.news-item:hover {
  border-color: var(--color-border-accent);
  transform: translateY(-3px);
  background: var(--color-bg-elevated);
}

.news-item__date {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

.news-item__title {
  font-size: var(--text-base);
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: var(--space-4);
}

.news-item__more {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-accent-light);
}

/* ── Home advantages (light) ── */
.home-advantages {
  position: relative;
  padding: var(--space-24) 0;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #faf6f4 50%, #ffffff 100%);
}

.home-advantages__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 40% at 10% 20%, rgba(255, 21, 21, 0.05), transparent 60%),
    radial-gradient(ellipse 40% 35% at 90% 80%, rgba(61, 23, 0, 0.04), transparent 55%);
}

.home-advantages__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 21, 21, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 21, 21, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black 20%, transparent 85%);
}

.home-advantages__inner {
  position: relative;
  z-index: 1;
}

.home-advantages__head {
  max-width: 640px;
  margin-bottom: var(--space-12);
}

.home-advantages__head .section__title em {
  color: var(--color-accent);
  font-style: normal;
}

.home-advantages__lead {
  margin-top: var(--space-4);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-text-secondary);
}

.home-advantages__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.home-adv-card {
  position: relative;
  padding: var(--space-8);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(61, 23, 0, 0.05);
  overflow: hidden;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease,
    border-color 0.35s ease;
}

.home-adv-card.reveal.visible {
  animation: homeAdvIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.home-adv-card:nth-child(2).reveal.visible { animation-delay: 0.08s; }
.home-adv-card:nth-child(3).reveal.visible { animation-delay: 0.16s; }
.home-adv-card:nth-child(4).reveal.visible { animation-delay: 0.08s; }
.home-adv-card:nth-child(5).reveal.visible { animation-delay: 0.16s; }
.home-adv-card:nth-child(6).reveal.visible { animation-delay: 0.24s; }

@keyframes homeAdvIn {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.home-adv-card:hover,
.home-adv-card.is-spotlight {
  transform: translateY(-8px);
  border-color: rgba(255, 21, 21, 0.3);
  box-shadow: 0 20px 48px rgba(61, 23, 0, 0.1);
}

.home-adv-card__line {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--gradient-accent);
  border-radius: 3px 3px 0 0;
  transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-adv-card:hover .home-adv-card__line,
.home-adv-card.is-spotlight .home-adv-card__line {
  width: 100%;
}

.home-adv-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: var(--space-5);
  border-radius: 14px;
  background: var(--color-accent-subtle);
  color: var(--color-accent);
  border: 1px solid rgba(255, 21, 21, 0.15);
  transition: transform 0.4s ease, background 0.35s ease, color 0.35s ease;
}

.home-adv-card:hover .home-adv-card__icon,
.home-adv-card.is-spotlight .home-adv-card__icon {
  transform: scale(1.08) rotate(-3deg);
  background: rgba(255, 21, 21, 0.15);
}

.home-adv-card__title {
  font-size: var(--text-lg);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-3);
  color: var(--color-text-primary);
}

.home-adv-card__text {
  font-size: var(--text-sm);
  line-height: 1.65;
  color: var(--color-text-secondary);
}

.home-adv-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--space-5);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-accent);
  transition: gap 0.25s ease;
}

.home-adv-card__link:hover {
  gap: 10px;
}

.home-adv-card--accent {
  background: linear-gradient(145deg, #fff 0%, #fff8f7 100%);
  border-color: rgba(255, 21, 21, 0.2);
}

.home-adv-card__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 10px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: rgba(255, 21, 21, 0.1);
  border: 1px solid rgba(255, 21, 21, 0.25);
  border-radius: 100px;
  animation: homeAdvBadge 3s ease-in-out infinite;
}

@keyframes homeAdvBadge {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 21, 21, 0.2); }
  50% { box-shadow: 0 0 0 8px rgba(255, 21, 21, 0); }
}

/* ── Home news block (RMZU) ── */
.home-news {
  position: relative;
  overflow: hidden;
  padding: var(--space-20) 0;
  background: #111;
  color: #fff;
}

.home-news__ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.home-news__glow {
  position: absolute;
  width: 50%;
  height: 80%;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(255, 21, 21, 0.14) 0%, transparent 70%);
  animation: homeNewsGlow 7s ease-in-out infinite alternate;
}

.home-news__grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.25;
  background-image:
    linear-gradient(rgba(255, 21, 21, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 21, 21, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent);
}

@keyframes homeNewsGlow {
  0% { opacity: 0.6; transform: translateX(-50%) scale(1); }
  100% { opacity: 1; transform: translateX(-48%) scale(1.06); }
}

.home-news__inner {
  position: relative;
  z-index: 1;
}

.home-news__label {
  color: #ff1515 !important;
}

.home-news__title {
  color: #fff !important;
}

.home-news__title em {
  color: #ff1515;
  font-style: normal;
}

.home-news__all {
  border-color: rgba(255, 255, 255, 0.35) !important;
  color: #fff !important;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.home-news__all:hover {
  background: rgba(255, 21, 21, 0.15) !important;
  border-color: #ff1515 !important;
  transform: translateY(-2px);
}

.home-news__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.home-news-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease,
    border-color 0.35s ease;
  color: #1a1a1a;
  text-decoration: none;
}

.home-news-card::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(90deg, #ff1515, #3d1700);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-news-card {
  position: relative;
}

.home-news-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 21, 21, 0.2);
}

.home-news-card:hover::after {
  transform: scaleX(1);
}

.home-news-card.reveal:not(.visible) {
  transition: none;
}

.home-news-card.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  animation: homeNewsCardIn 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.home-news-card:nth-child(2).reveal.visible { animation-delay: 0.12s; }
.home-news-card:nth-child(3).reveal.visible { animation-delay: 0.24s; }

@keyframes homeNewsCardIn {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.home-news-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.home-news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-news-card:hover .home-news-card__media img {
  transform: scale(1.08);
}

.home-news-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17, 17, 17, 0.55) 0%, transparent 50%);
  pointer-events: none;
}

.home-news-card__tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 1;
  padding: 6px 12px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255, 21, 21, 0.9);
  border-radius: 100px;
  box-shadow: 0 4px 12px rgba(255, 21, 21, 0.35);
}

.home-news-card__tag--career {
  background: rgba(61, 23, 0, 0.92);
  box-shadow: 0 4px 12px rgba(61, 23, 0, 0.35);
}

.home-news-card__body {
  padding: var(--space-6) var(--space-6) var(--space-7);
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: var(--space-4);
}

.home-news-card__title {
  font-size: var(--text-base);
  font-weight: 700;
  line-height: 1.45;
  color: #1a1a1a !important;
  margin: 0;
  transition: color 0.25s ease;
}

.home-news-card:hover .home-news-card__title {
  color: #3d1700 !important;
}

.home-news-card__more {
  margin-top: auto;
  font-size: var(--text-sm);
  font-weight: 700;
  color: #ff1515 !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s ease;
}

.home-news-card__more span {
  display: inline-block;
  transition: transform 0.3s ease;
}

.home-news-card:hover .home-news-card__more {
  gap: 10px;
}

.home-news-card:hover .home-news-card__more span {
  transform: translateX(4px);
}

@media (prefers-reduced-motion: reduce) {
  .home-news__glow,
  .home-news-card.reveal.visible {
    animation: none;
  }

  .home-news-card:hover .home-news-card__media img {
    transform: none;
  }

  .home-process__glow,
  .home-process__orb,
  .home-process__panel-scan {
    animation: none;
  }

  .home-process__panel {
    transition: none;
  }

  .home-adv-card.reveal.visible,
  .home-adv-card__badge {
    animation: none;
  }
}

@media (max-width: 960px) {
  .home-news__row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .home-news__row {
    grid-template-columns: 1fr;
  }
}

/* ── Home process (animated cycle) ── */
.home-process {
  position: relative;
  padding: var(--space-24) 0;
  background: #0c0a09;
  color: #fff;
  overflow: hidden;
}

.home-process__ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.home-process__glow {
  position: absolute;
  top: -20%;
  left: 50%;
  width: 70%;
  height: 60%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(255, 21, 21, 0.14) 0%, transparent 65%);
  animation: homeProcessGlow 8s ease-in-out infinite alternate;
}

@keyframes homeProcessGlow {
  from { opacity: 0.6; transform: translateX(-50%) scale(1); }
  to { opacity: 1; transform: translateX(-48%) scale(1.08); }
}

.home-process__grid-bg {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 21, 21, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 21, 21, 0.1) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black, transparent);
}

.home-process__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  animation: homeProcessOrb 12s ease-in-out infinite;
}

.home-process__orb--1 {
  width: 280px;
  height: 280px;
  top: 10%;
  right: 8%;
  background: rgba(255, 21, 21, 0.12);
}

.home-process__orb--2 {
  width: 200px;
  height: 200px;
  bottom: 15%;
  left: 5%;
  background: rgba(61, 23, 0, 0.35);
  animation-delay: -4s;
}

@keyframes homeProcessOrb {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -24px); }
}

.home-process__inner {
  position: relative;
  z-index: 1;
}

.home-process__label {
  color: #ff8a8a !important;
}

.home-process__title {
  color: #fff !important;
}

.home-process__title em {
  color: #ff1515;
  font-style: normal;
}

.home-process__lead {
  max-width: 640px;
  margin-top: var(--space-4);
  font-size: var(--text-base);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
}

.home-process__head {
  margin-bottom: var(--space-12);
}

.home-process__layout {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.home-process__steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}

.home-process__progress {
  position: absolute;
  left: 22px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.home-process__progress-fill {
  display: block;
  width: 100%;
  height: 0%;
  background: linear-gradient(to bottom, #ff1515, #ff6b6b);
  border-radius: 2px;
  transition: height 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 0 12px rgba(255, 21, 21, 0.6);
}

.home-process__step {
  display: grid;
  grid-template-columns: 44px 1fr;
  grid-template-rows: auto auto;
  gap: 2px 14px;
  align-items: center;
  width: 100%;
  padding: 14px 16px 14px 12px;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  font-family: inherit;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.home-process__step:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.home-process__step.is-active {
  background: rgba(255, 21, 21, 0.15);
  border-color: rgba(255, 21, 21, 0.45);
  color: #fff;
  transform: translateX(6px);
  box-shadow: 0 8px 32px rgba(255, 21, 21, 0.15);
}

.home-process__step-num {
  grid-row: 1 / 3;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.35);
  text-align: center;
}

.home-process__step.is-active .home-process__step-num {
  color: #ff1515;
}

.home-process__step-icon {
  display: flex;
  color: rgba(255, 255, 255, 0.55);
}

.home-process__step.is-active .home-process__step-icon {
  color: #ffb4b4;
}

.home-process__step-label {
  font-size: var(--text-sm);
  font-weight: 700;
}

.home-process__panels {
  position: relative;
  min-height: 380px;
}

.home-process__panel {
  display: grid;
  grid-template-columns: minmax(200px, 0.95fr) minmax(0, 1.05fr);
  gap: var(--space-8);
  padding: var(--space-6);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.98);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.45s;
  position: absolute;
  inset: 0;
}

.home-process__panel.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  z-index: 1;
}

.home-process__panel-visual {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #1a1412;
}

.home-process__panel-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-process__panel-scan {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ff1515, transparent);
  animation: homeProcessScan 3.5s ease-in-out infinite;
  opacity: 0.8;
}

@keyframes homeProcessScan {
  0% { top: 0; opacity: 0; }
  10% { opacity: 0.9; }
  90% { opacity: 0.9; }
  100% { top: 100%; opacity: 0; }
}

.home-process__panel-title {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 800;
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}

.home-process__panel-text {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: var(--space-5);
}

.home-process__panel-list {
  display: grid;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.home-process__panel-list li {
  position: relative;
  padding-left: 22px;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.85);
}

.home-process__panel-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff1515;
  box-shadow: 0 0 8px rgba(255, 21, 21, 0.6);
}

.home-process__metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-12);
  padding-top: var(--space-10);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.home-process__metric {
  text-align: center;
}

.home-process__metric-value {
  display: block;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: var(--space-2);
}

.home-process__metric-value.is-done {
  color: #ff8a8a;
}

.home-process__metric-label {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.55);
}

.home-process__metric--cta {
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-process__metric--cta .btn {
  width: 100%;
  max-width: 220px;
}

/* ── CTA home ── */
.cta-v2 {
  padding: var(--space-20) 0;
  background:
    linear-gradient(135deg, rgba(45, 140, 255, 0.06) 0%, transparent 50%),
    var(--color-bg-secondary);
  border-top: 1px solid var(--color-border);
}

.cta-v2__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-10);
  padding: var(--space-12);
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
}

/* ── Section header row ── */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--space-6);
  margin-bottom: var(--space-12);
  flex-wrap: wrap;
}

.section-head__left { max-width: 640px; }

/* ── Animations ── */
@keyframes homeFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes homeFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes homePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

@keyframes homeSpin {
  to { transform: rotate(360deg); }
}

/* ── Responsive (mobile-first overrides) ── */
@media (max-width: 1024px) {
  .hero-v2__layout { grid-template-columns: 1fr; }
  .intro-block__inner { grid-template-columns: 1fr; gap: var(--space-8); }
  .intro-block__visual { order: -1; max-width: 520px; margin-inline: auto; width: 100%; }
  .hero-v2__visual { order: -1; max-width: 360px; margin-inline: auto; }
  .stats-v2__item:nth-child(2) { border-right: none; }
  .stats-v2__item:nth-child(1),
  .stats-v2__item:nth-child(2) { border-bottom: 1px solid var(--color-border); }
  .cards-grid,
  .projects-row,
  .news-row { grid-template-columns: repeat(2, 1fr); }
  .uspace-block__grid { grid-template-columns: 1fr; }
  .cta-v2__inner { flex-direction: column; text-align: center; }
  .home-process__layout { grid-template-columns: 1fr; }
  .home-process__steps {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
  }
  .home-process__progress { display: none; }
  .home-process__step {
    flex: 1 1 calc(50% - 5px);
    min-width: 140px;
    grid-template-columns: 36px 1fr;
    transform: none !important;
  }
  .home-process__step.is-active { transform: none; }
  .home-process__panel {
    grid-template-columns: 1fr;
  }
  .home-process__metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-advantages__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .page-home .container {
    width: min(var(--container-max), 100% - 32px);
  }

  .hero-v2 {
    padding-top: calc(var(--header-height) + var(--space-8));
    padding-bottom: var(--space-12);
  }

  .hero-v2__visual {
    max-width: min(280px, 78vw);
  }

  .hero-v2__title {
    font-size: clamp(1.5rem, 7.2vw, 2rem);
    line-height: 1.15;
  }

  .hero-v2__desc {
    font-size: var(--text-base);
    margin-bottom: var(--space-8);
  }

  .hero-v2__eyebrow {
    font-size: var(--text-xs);
    margin-bottom: var(--space-6);
  }

  .btn--video-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }

  .stats-v2__grid,
  .cards-grid,
  .projects-row,
  .news-row { grid-template-columns: 1fr; }
  .stats-v2__item { border-right: none !important; border-bottom: 1px solid var(--color-border); }
  .stats-v2__item:last-child { border-bottom: none; }
  .uspace-metrics { grid-template-columns: 1fr; }
  .hero-v2__actions { flex-direction: column; align-items: stretch; }
  .hero-v2__actions .btn--primary { justify-content: center; }
  .home-process__steps { flex-direction: column; }
  .home-process__step { flex: 1 1 auto; min-width: 0; }
  .home-process__panels { min-height: 520px; }
  .home-process__metrics { grid-template-columns: 1fr; }
  .home-process__metric--cta .btn { max-width: none; }
  .home-advantages__grid { grid-template-columns: 1fr; }
}
