/* =============== RESET & BASE =============== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: #020617;
  color: #f9fafb;
  line-height: 1.6;

  /* ВАЖНО: сначала без “дорогих” эффектов */
  animation: none;
}

/* После загрузки страницы включаем твою красоту */
body.fx-ready {
  animation: neon-flow 30s linear infinite;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =============== HEADER =============== */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(2, 6, 23, 0.96);
  border-bottom: 1px solid rgba(15, 23, 42, 0.9);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  position: relative;
}

/* ЛОГО */

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header__logo-img {
  display: block;
  height: 56px;
  max-width: 260px;
  width: auto;
  object-fit: contain;
}

/* по умолчанию показываем десктопный логотип */
.header__logo-img--desktop {
  display: block;
}

.header__logo-img--mobile {
  display: none;
}

/* НАВИГАЦИЯ */

.header__nav {
  display: flex;
  gap: 20px;
  font-size: 14px;
  justify-content: center;
  flex: 1 1 auto;
}

.header__nav-link {
  color: #9ca3af;
  position: relative;
  padding-bottom: 3px;
  white-space: nowrap;
}

.header__nav-link:hover {
  color: #e5e7eb;
}

.header__nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #22c55e, #4ade80);
  transition: width 0.18s ease-out;
}

.header__nav-link:hover::after {
  width: 100%;
}

/* КНОПКИ В ШАПКЕ */

.header__actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-shrink: 0;
}

/* БУРГЕР */

.burger {
  display: none;
  /* на десктопе скрыт */
  width: 32px;
  height: 32px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  border: none;
  background: transparent;
}

.burger span {
  height: 3px;
  width: 100%;
  border-radius: 999px;
  background: #f9fafb;
  transition: 0.3s;
}

/* анимация крестика */

.burger.is-active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.burger.is-active span:nth-child(2) {
  opacity: 0;
}

.burger.is-active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* =============== BUTTONS =============== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  background: none;
  white-space: nowrap;
  transition: background 0.18s ease-out, color 0.18s ease-out,
    border-color 0.18s ease-out, transform 0.18s ease-out,
    box-shadow 0.18s ease-out;
}

/* зелёная основная кнопка */
.btn--primary {
  background: radial-gradient(
    circle at 0 0,
    #4ade80,
    #22c55e 40%,
    #16a34a 100%
  );
  color: #022c22;
  font-weight: 600;
  box-shadow: 0 14px 32px rgba(34, 197, 94, 0.5);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 42px rgba(34, 197, 94, 0.7);
}

/* контурная кнопка */
.btn--outline {
  border-color: rgba(148, 163, 184, 0.6);
  color: #9ca3af;
  background: radial-gradient(
    circle at 0 0,
    rgba(148, 163, 184, 0.2),
    rgba(15, 23, 42, 0.98)
  );
}

.btn--outline:hover {
  border-color: rgba(148, 163, 184, 0.9);
  color: #e5e7eb;
  background: rgba(15, 23, 42, 1);
}

/* =============== HERO =============== */

.hero {
  padding: 42px 0 40px;
  background: radial-gradient(
      circle at top left,
      rgba(34, 197, 94, 0.18),
      transparent 55%
    ),
    radial-gradient(circle at right, rgba(56, 189, 248, 0.17), transparent 55%),
    radial-gradient(circle at bottom, #020617, #020617);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: #22c55e;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.4);
}

.hero-title {
  font-size: clamp(28px, 3.4vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.hero-subtitle {
  color: #9ca3af;
  font-size: 15px;
  max-width: 520px;
  margin-bottom: 22px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: #9ca3af;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(55, 65, 81, 0.9);
}

.badge-icon {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid rgba(34, 197, 94, 0.7);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #22c55e;
}

/* hero картинка */

.hero-media {
  position: relative;
}

.hero-screen {
  border-radius: 22px;
  padding: 12px;
  border: 1px solid rgba(30, 64, 175, 0.6);
  background: radial-gradient(
    circle at 10% 0,
    rgba(56, 189, 248, 0.2),
    #020617
  );
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
}

.hero-screen-inner {
  position: relative;
  border-radius: 18px;
  min-height: 220px;
  overflow: hidden;
  background: radial-gradient(circle at top, rgba(56, 189, 248, 0.25), #020617);
}

/* новая картинка внутри экрана */
.hero-screen-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* красиво заполняет прямоугольник */
  object-position: center;
  display: block;
}

.hero-screen-glow {
  position: absolute;
  inset: 40% -40%;
  background: radial-gradient(
    circle at 50% 0,
    rgba(34, 197, 94, 0.65),
    transparent 60%
  );
  opacity: 0.8;
  filter: blur(8px);
}

.hero-overlay {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.97);
  border: 1px solid rgba(148, 163, 184, 0.5);
  font-size: 11px;
  color: #9ca3af;
  max-width: 70%;
}

.hero-overlay strong {
  display: block;
  font-size: 12px;
  color: #f9fafb;
  margin-bottom: 2px;
}

.hero-stat {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(34, 197, 94, 0.7);
  font-size: 11px;
  color: #22c55e;
  display: inline-flex;
  gap: 6px;
  align-items: baseline;
}

.hero-stat span {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9ca3af;
}


/* ================= PERFORMANCE: FX AFTER LCP ================= */

/* Пока НЕ fx-ready — отключаем анимации, чтобы ускорить LCP */
body:not(.fx-ready) .eyebrow-dot,
body:not(.fx-ready) .btn--primary,
body:not(.fx-ready) .hero-screen,
body:not(.fx-ready) .hero-screen-glow {
  animation: none !important;
}

/* Можно чуть уменьшить нагрузку на первый экран (без потери дизайна) */
body:not(.fx-ready) .eyebrow-dot {
  box-shadow: none; /* вернётся вместе с эффектами */
}

/* После включения FX — всё как было/задумано */
body.fx-ready .eyebrow-dot {
  /* если у тебя pulseDot уже задан где-то — можно не добавлять,
     но это правило безопасно: */
  animation: pulseDot 1.8s ease-in-out infinite;
}

/* fade-up оптимизация (композитинг) */
.fade-up {
  will-change: transform, opacity;
}

/* На устройствах с prefers-reduced-motion: reduce — отключаем анимации */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}


/* =============== SECTIONS BASE =============== */

.section {
  padding: 40px 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-end;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.section-title {
  font-size: 22px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 14px;
  color: #9ca3af;
  max-width: 460px;
}

/* =============== SERVICES =============== */

.section-services {
  background: #020617;
}

.section-services .services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  padding: 24px 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.service-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 22px;
  background: radial-gradient(
    circle at 30% 0,
    rgba(255, 255, 255, 0.45),
    rgba(255, 255, 255, 0.08)
  );
}

.service-card__title {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 6px;
}

.service-card__subtitle {
  font-size: 14px;
  opacity: 0.8;
  margin: 0 0 12px;
}

.service-card__list {
  margin: 0 0 12px;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.5;
}

.service-card__list li {
  margin-bottom: 4px;
}

.service-card__text {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.9;
}

/* =============== CAROUSEL SECTIONS WRAPPER =============== */

.section-gallery {
  background: radial-gradient(
    circle at top,
    rgba(34, 197, 94, 0.06),
    transparent
  );
}

/* =============== CONTACTS =============== */

.section-contacts {
  background: #020617;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 20px;
}

.contact-form {
  display: grid;
  gap: 10px;
  padding: 15px;
  border-radius: 9px;
}

/* Карточка блока заявки */

.contact-card {
  border-radius: 24px;
  padding: 22px 22px 20px;
  background: radial-gradient(
    circle at 0 0,
    rgba(34, 197, 94, 0.16),
    rgba(15, 23, 42, 0.98)
  );
  border: 1px solid rgba(15, 23, 42, 0.95);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
}

/* немного уплотним шапку внутри карточки */
.contact-card .section-header {
  margin-bottom: 16px;
}

.btn-submit {
  margin-top: 4px;
  width: 100%;
}

/* контактные детали справа чуть компактнее */
.contact-details {
  font-size: 13px;
  color: #9ca3af;
  display: grid;
  gap: 10px;
  padding: 15px;
  border-radius: 9px;
}

/* Иконки внутри полей */
.field--icon {
  position: relative;
}

.field-icon {
  position: absolute;
  left: 12px;
  top: 34px;
  font-size: 16px;
  opacity: 0.6;
  pointer-events: none;
}

.field-check {
  position: absolute;
  right: 12px;
  top: 34px;
  font-size: 18px;
  color: #22c55e;
  opacity: 0;
  transition: 0.2s;
  pointer-events: none;
}

/* смещение текста, чтобы не налезало на иконку */
.field--icon input,
.field--icon textarea {
  padding-left: 36px !important;
  padding-right: 36px !important;
}

/* корректировка для textarea */
.field-icon--textarea {
  top: 38px;
}

.field-check--textarea {
  top: 38px;
}

/* КРАСИВЫЙ ФОКУС */
.field--icon input:focus,
.field--icon textarea:focus {
  border-color: #22c55e;
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.4);
}

/* КОРРЕКТНОЕ ЗАПОЛНЕНИЕ — показываем галочку */
.field--valid .field-check {
  opacity: 1;
}

/* ОШИБКА — красная рамка */
.field--invalid input,
.field--invalid textarea {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.5);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.field label {
  font-size: 13px;
  color: #9ca3af;
}

.field input,
.field textarea {
  border-radius: 12px;
  border: 1px solid rgba(30, 64, 175, 0.75);
  background: rgba(15, 23, 42, 0.96);
  padding: 9px 11px;
  font-size: 13px;
  color: #f9fafb;
  outline: none;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(148, 163, 184, 0.75);
}

.field input:focus,
.field textarea:focus {
  border-color: #22c55e;
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.4);
}

.contact-details {
  font-size: 13px;
  color: #9ca3af;
  display: grid;
  gap: 10px;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-icon {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 1);
  border: 1px solid rgba(148, 163, 184, 0.7);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #22c55e;
  flex-shrink: 0;
}

.contact-note {
  font-size: 12px;
  color: #6b7280;
}

/* =============== FOOTER =============== */

.footer {
  border-top: 1px solid rgba(15, 23, 42, 1);
  padding: 18px 0 22px;
  font-size: 12px;
  color: #9ca3af;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-links a:hover {
  color: #e5e7eb;
}

/* =============== CAROUSEL =============== */

.carousel {
  border-radius: 18px;
  border: 1px solid #111827;
  background: radial-gradient(circle at 0 0, rgba(15, 23, 42, 0.98), #020617);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.75);
  padding: 14px 14px 12px;
}

.carousel-track {
  position: relative;
  overflow: hidden;
}

/* одна "страница" карусели */
.carousel-slide {
  display: none;
}

.carousel-slide.is-active {
  display: block;
}

/* внутри страницы — до трёх карточек */
.carousel-slide-inner {
  display: flex;
  gap: 16px;
}

/* карточка */
.carousel-item {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
}

/* контейнер под картинку фиксированной высоты */
.carousel-item img {
  width: 100%;
  max-width: 100%;
  max-height: 260px;
  height: 260px;
  border-radius: 14px;
  object-fit: contain;
  object-position: center;
  background: #020617;
}

.carousel-caption {
  margin-top: 6px;
  font-size: 12px;
  color: #e5e7eb;
  opacity: 0.9;
}

/* управление каруселью */

.carousel-controls {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.carousel-btn {
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.96);
  color: #e5e7eb;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s ease-out, border-color 0.18s ease-out,
    transform 0.18s ease-out;
}

.carousel-btn:hover {
  border-color: #22c55e;
  background: #0f172a;
  transform: translateY(-1px);
}

.carousel-dots {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}

.carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.carousel-dot.is-active {
  border-color: #22c55e;
  background: #22c55e;
}

/* =============== MOBILE CONTACT BAR =============== */

.mobile-contact-bar {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 9999;
  display: none;
  /* по умолчанию спрятана */
  gap: 12px;
  padding: 8px 10px;
  background: rgba(10, 10, 10, 0.9);
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
}

.mobile-contact-bar__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.mobile-contact-bar__btn span {
  display: inline-block;
}

.mobile-contact-bar__btn--call {
  background: #00b894;
  color: #ffffff;
}

.mobile-contact-bar__btn--wa {
  background: #25d366;
  color: #ffffff;
}

.form-alert {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #22c55e;
  color: #022c22;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: 0.4s;
  z-index: 999999;
}

.form-alert.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* =============== FLOATING CALL BUTTON =============== */

.floating-call {
  position: fixed;
  right: 24px;
  bottom: 96px;
  /* чуть выше низа, чтобы не закрывать футер/бар */
  z-index: 9998;
}

.floating-call__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid rgba(148, 163, 184, 0.5);

  background: rgba(15, 23, 42, 0.6);
  /* полупрозрачный фон */
  backdrop-filter: blur(10px);
  color: #e5e7eb;
  font-size: 14px;
  font-weight: 600;

  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
  transition: background 0.18s ease-out, border-color 0.18s ease-out,
    transform 0.18s ease-out, box-shadow 0.18s ease-out, opacity 0.18s ease-out;
}

.floating-call__icon {
  font-size: 18px;
  line-height: 1;
}

.floating-call__link:hover {
  background: rgba(15, 23, 42, 0.9);
  border-color: rgba(34, 197, 94, 0.8);
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.6);
}

/* ===================== NEON EFFECTS ===================== */

.neon-glow {
  position: relative;
  box-shadow: 0 0 0 rgba(var(--neon-color), 0);
  border-color: rgba(var(--neon-color), 0.3) !important;
  transition: box-shadow 0.4s ease, transform 0.3s ease,
    border-color 0.35s ease-out;
}

.neon-glow.visible {
  box-shadow: 0 0 22px rgba(var(--neon-color), 0.45),
    0 0 45px rgba(var(--neon-color), 0.25);
  border-color: rgba(var(--neon-color), 0.9) !important;
}

.neon-glow:hover {
  box-shadow: 0 0 8px rgba(var(--neon-color), 0.6),
    0 0 16px rgba(var(--neon-color), 0.45),
    0 0 28px rgba(var(--neon-color), 0.35);
}

/* Общее свечение карточек и рамок */
.service-card,
.contact-card,
.hero-screen,
.carousel,
.contact-form,
.contact-details {
  border-color: rgba(var(--neon-color), 0.18) !important;
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.07),
    inset 0 0 6px rgba(34, 197, 94, 0.06);
}

/* Подсветка кнопок */
.btn--primary {
  animation: neon-pulse 2.8s infinite ease-in-out;
}

@keyframes neon-pulse {
  0%,
  100% {
    box-shadow: 0 0 10px rgba(var(--neon-color), 0.65);
  }

  50% {
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.85);
  }
}

/* Мини-анимация иконок формы */
.field-icon {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.field input:focus + .field-icon,
.field textarea:focus + .field-icon {
  transform: scale(1.2);
  opacity: 1;
  filter: drop-shadow(0 0 6px rgb(var(--neon-color)));
}

/* ===================== SCROLL ANIMATION ===================== */

.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Плавный hero-screen эффект (LED glow) */
.hero-screen {
  animation: led-glow 5s infinite;
}

@keyframes led-glow {
  0%,
  100% {
    box-shadow: 0 0 14px rgba(56, 189, 248, 0.5);
  }

  50% {
    box-shadow: 0 0 26px rgba(34, 197, 94, 0.5);
  }
}

/* ====== НЕОНОВАЯ ПУЛЬСАЦИЯ ТОЧКИ ЛОГО ====== */
.eyebrow-dot {
  animation: pulseDot 1.8s infinite ease-in-out;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.35);
}

/* Анимация пульсации */
@keyframes pulseDot {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 4px rgba(var(--neon-color), 0.45);
  }

  50% {
    transform: scale(1.22);
    box-shadow: 0 0 0 7px rgba(34, 197, 94, 0.18);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 4px rgba(var(--neon-color), 0.45);
  }
}

/* ===== Language menu (globe) — CLEAN (single source of truth) ===== */

.lang-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.lang-menu__btn {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: radial-gradient(
    circle at 0 0,
    rgba(148, 163, 184, 0.18),
    rgba(15, 23, 42, 0.98)
  );
  color: #e5e7eb;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  transition: transform 0.18s ease-out, border-color 0.18s ease-out,
    box-shadow 0.18s ease-out;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
}

.lang-menu__btn:hover {
  transform: translateY(-1px);
  border-color: #22c55e;
  box-shadow: 0 14px 30px rgba(34, 197, 94, 0.25);
}

.lang-menu__dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  left: auto;

  min-width: 92px;
  padding: 6px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.35);

  background: rgba(2, 6, 23, 0.98);
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.65);

  display: none;
  z-index: 999;
}

.lang-menu.is-open .lang-menu__dropdown {
  display: block;
  animation: langDrop 160ms ease-out;
}

@keyframes langDrop {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.lang-menu__item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  line-height: 1;
  border-radius: 10px;
  color: #e5e7eb;
  font-size: 14px;
}

.lang-menu__item:hover {
  background: rgba(34, 197, 94, 0.12);
}

.lang-menu__dropdown > * + * {
  margin-top: 4px;
}

/* active пункт меню */
.header__nav-link.is-active {
  color: #e5e7eb;
}
.header__nav-link.is-active::after {
  width: 100%;
}

/* ================================
   SERVICES: full-width cards + mini gallery (services.html only)
   Добавлено: не трогаем существующие стили выше
================================ */

body.services-page .svc-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

body.services-page .svc-card {
  display: flex;
  align-items: stretch;
  gap: 18px;
  padding: 18px;
  border-radius: 22px;
  position: relative;
  overflow: hidden;
}

body.services-page .svc-card__content {
  flex: 1 1 56%;
  min-width: 0;
}

body.services-page .svc-card__media {
  flex: 0 0 44%;
  min-width: 280px;
  display: flex;
  align-items: stretch;
}

body.services-page .svc-card__icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  margin-bottom: 10px;
}

body.services-page .svc-card__title {
  margin: 0 0 6px;
}

body.services-page .svc-card__subtitle {
  margin: 0 0 12px;
  opacity: 0.9;
}

body.services-page .svc-card__list {
  margin: 0 0 12px;
  padding-left: 18px;
}

body.services-page .svc-card__list li {
  margin: 6px 0;
}

body.services-page .svc-card__text {
  margin: 0 0 14px;
}

body.services-page .svc-card__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Mini carousel */
body.services-page .svc-mini-carousel {
  width: 100%;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

body.services-page .svc-mini-carousel__viewport {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body.services-page .svc-mini-carousel__track {
  display: flex;
  width: 100%;
  height: 100%;
  transform: translateX(0%);
  transition: transform 0.45s ease;
}

body.services-page .svc-mini-carousel__slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
}

body.services-page .svc-mini-carousel__slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}

/* Arrows */
body.services-page .svc-mini-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

body.services-page .svc-mini-carousel__btn:hover {
  background: rgba(0, 0, 0, 0.5);
}

body.services-page .svc-mini-carousel__btn--prev {
  left: 10px;
}
body.services-page .svc-mini-carousel__btn--next {
  right: 10px;
}

/* Dots */
body.services-page .svc-mini-carousel__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  display: flex;
  gap: 8px;
  justify-content: center;
  z-index: 2;
}

body.services-page .svc-mini-carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

body.services-page .svc-mini-carousel__dot.is-active {
  background: rgba(255, 255, 255, 0.85);
}

.service-title {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.service-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%; /* длина линии */
  height: 4px; /* толщина */
  background: linear-gradient(90deg, #b6c400, #8fff00);
  border-radius: 4px;
}

/* =====================================
   NEON COLOR FLOW (GREEN → YELLOW → RED → BLUE)
===================================== */

:root {
  --neon-color: 34, 197, 94; /* старт — зелёный */
}

/* плавная смена цвета */
@keyframes neon-flow {
  0% {
    --neon-color: 59, 130, 246;
  } /* blue */
  /*25%  { --neon-color: 234, 179, 8; }    /* yellow */
  /*50%  { --neon-color: 239, 68, 68; }    /* red */
  /*75%  { --neon-color: 59, 130, 246; }   /* blue */
  /*100% { --neon-color: 34, 197, 94; }    /* green */
  100% {
    --neon-color: 34, 197, 94;
  } /* green */
}

@media (max-width: 900px) {
  /* адаптив карточки заявки */
  .contact-card {
    padding: 18px 16px 18px;
    border-radius: 20px;
  }

  .contact-card .section-header {
    margin-bottom: 12px;
  }

  /* карусели: высота поменьше */
  .carousel-slide-inner {
    gap: 12px;
  }

  .carousel-item img {
    height: 220px;
    max-height: 220px;
  }

  /* HERO */
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-media {
    order: -1;
  }

  /* логотипы: на мобиле квадратный */
  .header__logo-img--desktop {
    display: none;
  }

  .header__logo-img--mobile {
    display: block;
    height: 40px;
    max-width: 40px;
  }

  /* скрываем правые кнопки, показываем бургер */
  .header__actions {
    display: none;
  }

  .burger {
    display: flex;
    margin-left: 10px; /* было отдельным блоком — перенесли сюда */
  }

  /* ВАЖНО: justify-content на 900px */
  .header__inner {
    justify-content: flex-start;
  }

  .lang-menu {
    margin-left: auto;
    margin-right: 2px;
  }

  /* меню по умолчанию спрятано, при .header.is-open показываем */
  .header__nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 10px 20px 14px;
    background: rgba(2, 6, 23, 0.98);
    border-bottom: 1px solid rgba(15, 23, 42, 0.9);
    flex-direction: column;
    gap: 10px;
  }

  .header.is-open .header__nav {
    display: flex;
  }

  /* GRID / SECTIONS */
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .section {
    padding: 30px 0;
  }

  /* services page mini carousel */
  body.services-page .svc-card {
    flex-direction: column;
  }

  body.services-page .svc-card__media {
    flex: 0 0 auto;
    min-width: 0;
  }

  body.services-page .svc-mini-carousel__slide img {
    aspect-ratio: 16 / 11;
  }

  body.services-page .svc-mini-carousel__btn {
    width: 40px;
    height: 40px;
    border-radius: 14px;
  }
}

@media (max-width: 768px) {
  /* SERVICES */
  .section-services .services-grid {
    gap: 18px;
  }

  .service-card {
    padding: 20px 18px;
  }

  /* MOBILE CONTACT BAR */
  .mobile-contact-bar {
    display: flex;
  }

  /* FLOATING CALL */
  .floating-call {
    right: 16px;
    bottom: 80px;
  }

  .floating-call__link {
    padding: 10px;
    border-radius: 999px;
  }

  .floating-call__text {
    display: none; /* скрываем номер, остаётся только иконка */
  }

  .floating-call__icon {
    font-size: 20px;
  }

  /* HEADER / LANG / BURGER */
  .header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .header__actions {
    gap: 10px;
    order: 2;
  }

  /* Скрываем кнопки действий, но глобус оставляем */
  .header__actions .btn {
    display: none;
  }

  .lang-menu {
    display: inline-flex;
  }

  .lang-menu__btn {
    width: 40px;
    height: 40px;
    font-size: 17px;
  }

  .lang-menu__dropdown {
    min-width: 92px;
  }

  .burger {
    order: 3;
  }
}

@media (max-width: 520px) {
  /* contact card */
  .contact-card {
    padding: 16px 14px 16px;
  }

  .btn-submit {
    margin-top: 6px;
  }

  /* hero actions */
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  /* carousel */
  .carousel {
    padding: 10px;
  }

  /* header spacing */
  .header .container {
    padding-left: 24px;
    padding-right: 24px;
  }

  .header__inner {
    padding: 6px 0;
  }

  /* hero + sections */
  .hero {
    padding: 30px 0 28px;
  }

  .section {
    padding: 22px 0;
  }

  .section-header {
    margin-bottom: 12px;
  }

  /* lang menu */
  .lang-menu {
    margin-right: 0;
  }

  .lang-menu__btn {
    width: 38px;
    height: 38px;
  }
}
