:root {
  --bg-main: #0b1324;
  --bg-header: rgba(10, 18, 32, 0.85);
  --bg-card: rgba(15, 23, 42, 0.85);
  --bg-alt: #0f1c30;
  --color-primary: #3b82f6;
  --color-primary-hover: #2563eb;
  --color-accent: #22d3ee;
  --text-main: #f8fafc;
  --text-muted: #b6c7e3;
  --border: rgba(148, 163, 184, 0.25);
  --shadow-lg: 0 32px 80px rgba(2, 8, 23, 0.7), 0 0 60px rgba(59, 130, 246, 0.15);
  --shadow-md: 0 24px 60px rgba(2, 8, 23, 0.6), 0 0 40px rgba(59, 130, 246, 0.1);
  --shadow-sm: 0 16px 40px rgba(2, 8, 23, 0.5), 0 0 25px rgba(59, 130, 246, 0.08);
  --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.6), 0 0 80px rgba(59, 130, 246, 0.3);
  --shadow-glow-accent: 0 0 50px rgba(34, 211, 238, 0.7), 0 0 100px rgba(34, 211, 238, 0.4);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-pill: 999px;
}

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

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

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

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

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4), 0 0 40px rgba(59, 130, 246, 0.2);
  }
  50% {
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.6), 0 0 60px rgba(59, 130, 246, 0.3);
  }
}

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

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

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Arial, sans-serif;
  background: 
    radial-gradient(1400px circle at 10% 10%, rgba(59, 130, 246, 0.3), transparent 55%),
    radial-gradient(1100px circle at 90% 0%, rgba(34, 211, 238, 0.28), transparent 50%),
    radial-gradient(1000px circle at 50% 100%, rgba(59, 130, 246, 0.2), transparent 60%),
    radial-gradient(600px circle at 30% 50%, rgba(139, 92, 246, 0.15), transparent 50%),
    var(--bg-main);
  background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%;
  animation: gradientShift 20s ease infinite;
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(34, 211, 238, 0.1) 0%, transparent 50%);
  animation: float 20s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.logo,
.logo:link,
.logo:visited,
.logo:hover,
.logo:active {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
textarea {
  font-family: inherit;
  color: inherit;
}

h2,
h3 {
  line-height: 1.2;
  margin: 0 0 10px;
}

section {
  scroll-margin-top: 20px;
}

.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 16px;
  margin: 0 auto;
}

.header {
  position: relative;
  z-index: 20;
  background: var(--bg-header);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  animation: fadeIn 0.6s ease-out;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 40px rgba(59, 130, 246, 0.1);
}

.header .logo,
.header .logo__img {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 10px 0;
}

.header__cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.2px;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  border-width: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}

.logo__img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  border-width: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: block;
  border-radius: 0 !important;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  mix-blend-mode: normal;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 20px rgba(59, 130, 246, 0.3));
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), filter 0.4s ease;
  animation: pulse 3s ease-in-out infinite, glow 3s ease-in-out infinite;
}

.logo__img::before,
.logo__img::after {
  display: none !important;
  content: none !important;
  background: transparent !important;
}

.logo:hover .logo__img {
  transform: scale(1.15) rotate(8deg);
  filter: drop-shadow(0 12px 30px rgba(59, 130, 246, 0.6)) drop-shadow(0 0 40px rgba(34, 211, 238, 0.5));
  animation: pulse 1.5s ease-in-out infinite, glow 1.5s ease-in-out infinite;
}

.logo__text {
  font-size: 18px;
  font-weight: 700;
  background: linear-gradient(135deg, #ffffff 0%, #b6c7e3 50%, #22d3ee 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 5s ease infinite;
  transition: all 0.3s ease;
}

.logo:hover .logo__text {
  filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.5));
}

.nav {
  display: flex;
  gap: 6px;
  padding: 6px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}

.nav a {
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 500;
  opacity: 0.85;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.nav a::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-pill);
  background: rgba(59, 130, 246, 0.16);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav a:hover {
  opacity: 1;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3), 0 0 30px rgba(59, 130, 246, 0.15);
  background: rgba(59, 130, 246, 0.2);
}

.nav a:hover::before {
  opacity: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  background-size: 200% 200%;
  color: #fff;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-sm), 0 0 20px rgba(59, 130, 246, 0.3);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
              box-shadow 0.3s ease, 
              filter 0.3s ease,
              background-position 0.5s ease;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: var(--shadow-md), var(--shadow-glow), 0 0 40px rgba(34, 211, 238, 0.4);
  background-position: right center;
  filter: brightness(1.15);
  letter-spacing: 1px;
}

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

.btn:active {
  transform: translateY(0) scale(0.98);
  box-shadow: var(--shadow-sm);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border);
  box-shadow: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn--ghost:hover {
  background: rgba(59, 130, 246, 0.3);
  border-color: rgba(59, 130, 246, 0.7);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3), 0 0 40px rgba(59, 130, 246, 0.15);
}

.btn--wide {
  width: 100%;
}

.btn:focus-visible {
  outline: 3px solid rgba(59, 130, 246, 0.45);
  outline-offset: 2px;
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.wa-buttons {
  display: flex;
  gap: 10px;
  align-items: center;
}

.wa-btn {
  white-space: nowrap;
  padding: 10px 16px;
}

.wa-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  flex: 0 0 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='%2325D366' d='M16 3C9.4 3 4 8.1 4 14.4c0 2.5.8 4.8 2.2 6.8L4 29l7.9-2.1c1.9 1 4.1 1.6 6.4 1.6 6.6 0 12-5.1 12-11.4S22.6 3 16 3zm6.9 15.9c-.3.8-1.5 1.4-2.1 1.5-.6.1-1.3.1-2.1-.1-.5-.1-1.2-.4-2-.7-3.5-1.4-5.8-4.8-6-5-.2-.2-1.4-1.8-1.4-3.5 0-1.6.8-2.4 1.2-2.8.3-.3.8-.4 1.1-.4h.8c.3 0 .6 0 .9.6.3.7 1.1 2.6 1.2 2.8.1.2.1.5 0 .7-.1.2-.2.4-.4.6-.2.2-.4.4-.6.6-.2.2-.4.4-.2.7.1.3.6 1.2 1.3 1.9.9.9 1.6 1.2 1.9 1.3.3.1.5.1.7-.1.2-.2.8-.9 1-1.2.2-.3.4-.2.7-.1.3.1 2 .9 2.3 1 .3.1.5.2.6.3.1.1.1.7-.2 1.5z'/%3E%3C/svg%3E") no-repeat center / contain;
}

.icon-phone,
.icon-telegram {
  width: 18px;
  height: 18px;
  display: inline-block;
  flex: 0 0 18px;
  background: no-repeat center / contain;
}

.icon-phone {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M6.6 10.8c1.4 2.7 3.9 5.2 6.6 6.6l2.2-2.2c.3-.3.8-.4 1.2-.2 1 .4 2.1.7 3.2.7.6 0 1 .4 1 1V21c0 .6-.4 1-1 1C10.3 22 2 13.7 2 3c0-.6.4-1 1-1h3.9c.6 0 1 .4 1 1 0 1.1.2 2.2.7 3.2.1.4 0 .9-.2 1.2l-2.2 2.2z'/%3E%3C/svg%3E");
}

.icon-telegram {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9.04 15.47l-.39 5.54c.56 0 .8-.24 1.1-.52l2.64-2.52 5.48 4.01c1 .55 1.71.26 1.96-.92l3.55-16.6c.32-1.5-.54-2.09-1.51-1.72L1.13 9.37c-1.48.58-1.46 1.4-.25 1.77l5.6 1.75L18.94 5.4c.59-.39 1.12-.18.68.21L9.04 15.47z'/%3E%3C/svg%3E");
}

.hero {
  position: relative;
  padding: 96px 0 72px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -160px;
  background: radial-gradient(600px circle at 20% 20%, rgba(59, 130, 246, 0.35), transparent 60%),
    radial-gradient(500px circle at 80% 10%, rgba(34, 211, 238, 0.25), transparent 60%);
  opacity: 0.8;
  pointer-events: none;
  animation: float 15s ease-in-out infinite;
}

.hero::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
  animation: pulse 8s ease-in-out infinite;
  pointer-events: none;
}

.car-decoration {
  position: absolute;
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
  filter: blur(1px);
}

.car-decoration--1 {
  top: 10%;
  right: 5%;
  width: 200px;
  height: 100px;
  animation: float 12s ease-in-out infinite, fadeIn 2s ease-out;
}

.car-decoration--2 {
  bottom: 15%;
  left: 3%;
  width: 180px;
  height: 90px;
  animation: float 15s ease-in-out infinite reverse, fadeIn 2.5s ease-out;
  transform: scaleX(-1);
}

.car-decoration svg {
  width: 100%;
  height: 100%;
}

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

/* Колесо, вращающееся при скролле */
.scroll-wheel {
  position: fixed;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  width: 120px;
  height: 120px;
  z-index: 10;
  opacity: 0.6;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.scroll-wheel svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.4));
  transition: transform 0.1s linear;
}

.scroll-wheel svg text {
  filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.6)) drop-shadow(0 0 12px rgba(34, 211, 238, 0.4));
  pointer-events: none;
}

.scroll-wheel:hover {
  opacity: 0.9;
}

@media (max-width: 1100px) {
  .scroll-wheel {
    right: 20px;
    width: 80px;
    height: 80px;
  }
}

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

/* Машина с дымом */
.car-with-smoke {
  position: absolute;
  left: 5%;
  top: 20%;
  width: 200px;
  height: 120px;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
  filter: blur(0.5px);
}

.car-with-smoke svg {
  width: 100%;
  height: 100%;
}

.smoke {
  animation: smokeRise 3s ease-in-out infinite;
  filter: blur(2px);
}

.smoke-1 {
  animation-delay: 0s;
}

.smoke-2 {
  animation-delay: 0.2s;
}

.smoke-3 {
  animation-delay: 0.4s;
}

.smoke-4 {
  animation-delay: 0.6s;
}

.smoke-5 {
  animation-delay: 0.8s;
}

.smoke-6 {
  animation-delay: 1s;
}

.smoke-7 {
  animation-delay: 1.2s;
}

@keyframes smokeRise {
  0% {
    transform: translateY(0) translateX(0) scale(0.6);
    opacity: 0.4;
  }
  30% {
    transform: translateY(-15px) translateX(3px) scale(1);
    opacity: 0.5;
  }
  60% {
    transform: translateY(-30px) translateX(8px) scale(1.3);
    opacity: 0.3;
  }
  100% {
    transform: translateY(-50px) translateX(15px) scale(1.8);
    opacity: 0;
  }
}

@media (max-width: 900px) {
  .car-with-smoke {
    width: 150px;
    height: 90px;
    left: 2%;
    top: 15%;
  }
}

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

/* Декоративные колеса по всей странице */
.decorative-wheel {
  position: absolute;
  width: 120px;
  height: 120px;
  opacity: 0.6;
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.3s ease;
}

.decorative-wheel svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.6)) drop-shadow(0 0 30px rgba(182, 199, 227, 0.4));
  transition: transform 0.1s linear;
}

.decorative-wheel:hover {
  opacity: 0.7;
}

.decorative-wheel--1 {
  left: 2%;
  top: 15%;
}

.decorative-wheel--2 {
  right: 3%;
  top: 25%;
}

.decorative-wheel--3 {
  left: 2%;
  top: 20%;
}

.decorative-wheel--4 {
  right: 2%;
  top: 15%;
}

/* Большие колеса */
.decorative-wheel--large {
  width: 180px;
  height: 180px;
  opacity: 0.7;
}

.decorative-wheel--5 {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.decorative-wheel--6 {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.decorative-wheel--7 {
  right: 5%;
  bottom: 10%;
}

@media (max-width: 1100px) {
  .decorative-wheel {
    width: 80px;
    height: 80px;
  }
  
  .decorative-wheel--large {
    width: 140px;
    height: 140px;
  }
  
  .decorative-wheel--1 {
    left: 1%;
  }
  
  .decorative-wheel--2 {
    right: 2%;
  }
  
  .decorative-wheel--3 {
    left: 1%;
  }
  
  .decorative-wheel--4 {
    right: 1%;
  }
  
  .decorative-wheel--5 {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
  
  .decorative-wheel--6 {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
  
  .decorative-wheel--7 {
    right: 2%;
    bottom: 5%;
  }
}

@media (max-width: 768px) {
  .decorative-wheel {
    width: 70px;
    height: 70px;
    opacity: 0.8;
  }
  
  .decorative-wheel--1 {
    left: 2%;
    top: 10%;
  }
  
  .decorative-wheel--2 {
    right: 2%;
    top: 25%;
  }
  
  .decorative-wheel--3 {
    left: 2%;
    top: 50%;
  }
  
  .decorative-wheel--4 {
    right: 2%;
    top: 70%;
  }
  
  .decorative-wheel--large {
    width: 90px;
    height: 90px;
    opacity: 0.7;
  }
  
  .decorative-wheel--5 {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
  
  .decorative-wheel--6 {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
  
  .decorative-wheel--7 {
    right: 3%;
    bottom: 5%;
  }
  
  .decorative-wheel svg {
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.6)) drop-shadow(0 0 25px rgba(182, 199, 227, 0.4));
  }
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__content {
  animation: fadeInUp 0.8s ease-out;
}

.hero__content > *:nth-child(1) {
  animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero__content > *:nth-child(2) {
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero__content > *:nth-child(3) {
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero__content > *:nth-child(4) {
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero__content > *:nth-child(5) {
  animation: fadeInUp 0.8s ease-out 0.5s both;
}

.hero__card {
  animation: slideInRight 0.8s ease-out 0.3s both;
}

.badge {
  display: inline-block;
  background: rgba(59, 130, 246, 0.22);
  color: var(--text-muted);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
  border: 1px solid rgba(59, 130, 246, 0.45);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3), 0 0 30px rgba(59, 130, 246, 0.15);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge:hover {
  background: rgba(59, 130, 246, 0.35);
  border-color: rgba(59, 130, 246, 0.7);
  box-shadow: 0 6px 30px rgba(59, 130, 246, 0.5), 0 0 50px rgba(59, 130, 246, 0.3);
  transform: translateY(-3px) scale(1.05);
}

h1 {
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.05;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff 0%, #b6c7e3 40%, #22d3ee 70%, #3b82f6 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease infinite;
  filter: drop-shadow(0 4px 20px rgba(59, 130, 246, 0.4)) drop-shadow(0 0 30px rgba(34, 211, 238, 0.3));
  text-shadow: 0 0 40px rgba(59, 130, 246, 0.3);
}

.hero__subtitle {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 560px;
}

.hero__actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 32px;
}

.stat {
  background: rgba(15, 23, 42, 0.8);
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm), 0 0 20px rgba(59, 130, 246, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
}

.stat::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
  transition: left 0.5s ease;
}

.stat:hover {
  transform: translateY(-6px) scale(1.04) rotateX(2deg);
  box-shadow: var(--shadow-md), 0 0 35px rgba(59, 130, 246, 0.4), 0 0 70px rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.6);
  background: rgba(15, 23, 42, 0.95);
}

.stat:hover::before {
  left: 100%;
}

.stat:nth-child(1) {
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.stat:nth-child(2) {
  animation: fadeInUp 0.8s ease-out 0.7s both;
}

.stat:nth-child(3) {
  animation: fadeInUp 0.8s ease-out 0.8s both;
}

.stat__num {
  color: var(--text-muted);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.stat__text {
  font-size: 14px;
}

.hero__card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg), 0 0 50px rgba(59, 130, 246, 0.2);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  transform-style: preserve-3d;
}

.hero__card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(34, 211, 238, 0.3));
  -webkit-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.3s ease;
}

.hero__card:hover {
  transform: translateY(-8px) rotateX(2deg);
  box-shadow: var(--shadow-lg), var(--shadow-glow), 0 0 60px rgba(34, 211, 238, 0.3);
  border-color: rgba(59, 130, 246, 0.6);
}

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

.hero__card-title {
  margin: 0 0 12px;
  font-size: 20px;
}

.contact-card {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.contact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
  transition: left 0.5s ease;
}

.contact-card:hover {
  transform: translateX(8px) translateY(-2px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(59, 130, 246, 0.6);
  box-shadow: 0 8px 30px rgba(59, 130, 246, 0.3), 0 0 50px rgba(59, 130, 246, 0.15);
}

.contact-card:hover::before {
  left: 100%;
}

.contact-card__role {
  color: var(--text-muted);
  font-size: 13px;
}

.contact-card__link {
  font-size: 18px;
  font-weight: 600;
}

.divider {
  height: 1px;
  background: rgba(148, 163, 184, 0.2);
  margin: 16px 0;
}

.muted {
  color: var(--text-muted);
  font-size: 14px;
}

.fineprint {
  font-size: 12px;
  color: rgba(182, 199, 227, 0.8);
}

.section {
  padding: 80px 0;
  position: relative;
  animation: fadeIn 0.6s ease-out;
  transform-style: preserve-3d;
  overflow: hidden;
}

.section > .container > * {
  animation: fadeInUp 0.6s ease-out both;
}

.section > .container > *:nth-child(1) {
  animation-delay: 0.1s;
}

.section > .container > *:nth-child(2) {
  animation-delay: 0.2s;
}

.section > .container > *:nth-child(3) {
  animation-delay: 0.3s;
}

.section--alt {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.65));
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  box-shadow: inset 0 1px 0 rgba(59, 130, 246, 0.05), inset 0 -1px 0 rgba(59, 130, 246, 0.05);
  position: relative;
}

.section--alt::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at top, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
              radial-gradient(ellipse at bottom, rgba(34, 211, 238, 0.06) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

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

.section__title {
  font-size: clamp(28px, 3.5vw, 40px);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, #ffffff 0%, #b6c7e3 50%, #22d3ee 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 6s ease infinite;
  filter: drop-shadow(0 2px 10px rgba(59, 130, 246, 0.3));
}

.section__subtitle {
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 720px;
}

.grid3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.card {
  background: var(--bg-card);
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(34, 211, 238, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.card:hover {
  transform: translateY(-10px) scale(1.03) rotateX(2deg);
  box-shadow: var(--shadow-md), 0 0 40px rgba(59, 130, 246, 0.4), 0 0 80px rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.6);
  background: rgba(15, 23, 42, 0.95);
}

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

.card__icon {
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(34, 211, 238, 0.2));
  border-radius: var(--radius-md);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: var(--color-accent);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
}

.card__icon svg {
  width: 28px;
  height: 28px;
  transition: transform 0.4s ease;
}

.card:hover .card__icon {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.35), rgba(34, 211, 238, 0.35));
  border-color: rgba(59, 130, 246, 0.6);
  transform: translateY(-4px) rotate(5deg);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3), 0 0 40px rgba(34, 211, 238, 0.2);
}

.card:hover .card__icon svg {
  transform: scale(1.1);
}

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

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

.steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.step {
  display: flex;
  gap: 16px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  align-items: flex-start;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
}

.step::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
  transition: left 0.6s ease;
}

.step:hover {
  transform: translateX(12px) translateY(-4px) rotateY(2deg);
  box-shadow: var(--shadow-md), 0 0 35px rgba(59, 130, 246, 0.35), 0 0 70px rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.6);
  background: rgba(15, 23, 42, 0.95);
}

.step:hover::before {
  left: 100%;
}

.step__num {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  background-size: 200% 200%;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  box-shadow: var(--shadow-sm), 0 0 20px rgba(59, 130, 246, 0.5), 0 0 40px rgba(59, 130, 246, 0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
  animation: gradientShift 3s ease infinite, glow 2s ease-in-out infinite;
  flex-shrink: 0;
}

.step:hover .step__num {
  transform: scale(1.2) rotate(10deg);
  box-shadow: var(--shadow-md), var(--shadow-glow), 0 0 50px rgba(34, 211, 238, 0.5);
  animation: gradientShift 1s ease infinite, glow 1s ease-in-out infinite;
}

.step__icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  opacity: 0.6;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.step__icon svg {
  width: 20px;
  height: 20px;
  transition: transform 0.4s ease;
}

.step:hover .step__icon {
  opacity: 1;
  color: var(--color-primary);
  transform: translateY(-50%) scale(1.2) rotate(10deg);
}

.step:hover .step__icon svg {
  filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.5));
}

.step__body {
  flex: 1;
  padding-right: 50px;
}

.step__body p {
  margin: 0;
  color: var(--text-muted);
}

.lead {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md), 0 0 60px rgba(59, 130, 246, 0.2), 0 0 120px rgba(59, 130, 246, 0.1);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: all 0.4s ease;
}

.lead::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
  animation: pulse 10s ease-in-out infinite;
  pointer-events: none;
}

.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.form__full {
  grid-column: 1 / -1;
}

.form label span {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  color: var(--text-muted);
}

.form input,
.form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: rgba(15, 23, 42, 0.6);
  color: var(--text-main);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form input::placeholder,
.form textarea::placeholder {
  color: rgba(182, 199, 227, 0.7);
}

.form input:focus,
.form textarea:focus {
  border-color: rgba(59, 130, 246, 0.8);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.25), 0 0 30px rgba(59, 130, 246, 0.3), 0 0 60px rgba(59, 130, 246, 0.15);
  background: rgba(15, 23, 42, 0.95);
  transform: translateY(-2px) scale(1.01);
}

.form input,
.form textarea {
  transition: all 0.3s ease;
}

.form input:hover,
.form textarea:hover {
  border-color: rgba(59, 130, 246, 0.4);
  background: rgba(15, 23, 42, 0.7);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 2px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  cursor: pointer;
}

.gallery img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(34, 211, 238, 0.2));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery img:hover {
  transform: translateY(-12px) scale(1.08) rotateY(2deg);
  box-shadow: var(--shadow-md), 0 0 50px rgba(59, 130, 246, 0.5), 0 0 100px rgba(59, 130, 246, 0.3);
  border-color: rgba(59, 130, 246, 0.7);
  filter: brightness(1.15) contrast(1.1);
  z-index: 10;
}

.gallery img:hover::after {
  opacity: 1;
}

.contacts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.contacts__block {
  background: var(--bg-card);
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm), 0 0 20px rgba(59, 130, 246, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
}

.contacts__block::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
  transition: left 0.5s ease;
}

.contacts__block:hover {
  transform: translateY(-6px) rotateX(2deg);
  box-shadow: var(--shadow-md), 0 0 40px rgba(59, 130, 246, 0.35), 0 0 80px rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.6);
  background: rgba(15, 23, 42, 0.95);
}

.contacts__block:hover::before {
  left: 100%;
}

.contacts__block a {
  color: var(--text-main);
}

.footer {
  margin-top: 32px;
  text-align: center;
}

@media (max-width: 1100px) {
  .header__inner {
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .header__cta {
    width: 100%;
    justify-content: center;
  }

  .hero__grid {
    grid-template-columns: 1fr;
  }

  .lead {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 72px 0 56px;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__stats {
    grid-template-columns: 1fr;
  }

  .grid3 {
    grid-template-columns: 1fr;
  }

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

  .gallery {
    grid-template-columns: 1fr;
  }

  .contacts {
    grid-template-columns: 1fr;
  }

  .header__cta {
    flex-direction: column;
    align-items: stretch;
  }

  .header__cta .btn {
    width: 100%;
    justify-content: center;
  }

  .wa-buttons {
    width: 100%;
    flex-direction: column;
  }

  .wa-btn {
    width: 100%;
  }
}

@media (max-width: 380px) {
  h1 {
    font-size: 30px;
  }
}
