/* ============================================================
   ELITE AUTOWERKS — лендинг
   Палитра и стили перенесены 1:1 из исходного React/Tailwind
   ============================================================ */

:root {
  --bg: #070708;
  --panel: rgba(18, 19, 22, 0.86);
  --panel-strong: rgba(25, 26, 30, 0.94);
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(205, 171, 96, 0.48);
  --gold: #cdaa60;
  --gold-light: #e8cb86;
  --text: #f5f5f4;
  --muted: #a1a1aa;

  --ease-reveal: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --maxw: 1152px; /* max-w-6xl = 72rem */
  --nav-h: 76px;
}

/* ---------- Сброс ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  /* компенсируем фиксированную шапку при якорной прокрутке */
  scroll-padding-top: var(--nav-h);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.5;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Кастомный скроллбар */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #0a0a0b;
}
::-webkit-scrollbar-thumb {
  background: rgba(205, 171, 96, 0.35);
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(205, 171, 96, 0.55);
}
::selection {
  background: rgba(205, 171, 96, 0.3);
  color: var(--text);
}

/* ---------- Иконки ---------- */
.icon {
  width: 24px;
  height: 24px;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

/* ---------- Контейнер ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

/* ---------- Утилиты сетки ---------- */
.grid {
  display: grid;
  gap: 16px;
}
.grid-services {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.grid-approach {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.grid-adv-list {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.grid-equip {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.grid-process {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.grid-prices {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.grid-cases {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.grid-contacts {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: stretch;
}
.grid-request-tags {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.025em;
  border-radius: 2px;
  transition: transform 0.42s var(--ease-smooth),
    box-shadow 0.55s var(--ease-smooth), border-color 0.55s var(--ease-smooth),
    filter 0.55s var(--ease-smooth), background 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Primary (золотая) — с бликом */
.btn-primary {
  color: #18181b;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 18px 46px rgba(205, 171, 96, 0.18);
}
.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  opacity: 0.35;
  transform: translateX(-100%);
  transition: transform 0.7s var(--ease-smooth);
}
.btn-primary:hover {
  transform: translateY(-4px) scale(1.018);
  filter: saturate(1.08);
  box-shadow: 0 0 0 1px rgba(232, 203, 134, 0.42),
    0 0 28px rgba(232, 203, 134, 0.32), 0 18px 54px rgba(205, 171, 96, 0.22);
}
.btn-primary:hover::before {
  transform: translateX(100%);
}
.btn-primary:active {
  transform: scale(0.985);
}

/* Outline (тёмная) */
.btn-outline {
  color: #fafafa;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}
.btn-outline::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  transform: scaleX(0);
  background: linear-gradient(
    90deg,
    transparent,
    var(--gold-light),
    transparent
  );
  transition: transform 0.5s var(--ease-smooth);
}
.btn-outline:hover {
  transform: translateY(-4px) scale(1.016);
  background: linear-gradient(
    135deg,
    rgba(205, 171, 96, 0.22),
    rgba(255, 255, 255, 0.06)
  );
  box-shadow: 0 0 0 1px rgba(232, 203, 134, 0.42),
    0 0 28px rgba(232, 203, 134, 0.32), 0 18px 54px rgba(205, 171, 96, 0.22);
}
.btn-outline:hover::after {
  transform: scaleX(1);
}
.btn-outline:active {
  transform: scale(0.985);
}

.btn-block {
  width: 100%;
}

/* ============================================================
   НАВИГАЦИЯ
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 7, 8, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: background 0.3s ease;
}
.navbar.scrolled {
  background: rgba(7, 7, 8, 0.92);
}
.nav-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  padding-bottom: 16px;
}

/* Логотип */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-mark {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 2px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(145deg, #202126, #09090b);
  flex-shrink: 0;
}
.logo-diamond {
  position: absolute;
  width: 28px;
  height: 28px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}
.logo-icon {
  position: relative;
  width: 20px;
  height: 20px;
  color: var(--gold-light);
}
.logo-text {
  display: block;
  line-height: 1;
}
.logo-name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #fafafa;
}
.logo-sub {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  letter-spacing: 0.025em;
  color: #71717a;
}

/* Ссылки навигации */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  color: #a1a1aa;
  border-radius: 2px;
  transition: color 0.3s ease;
  position: relative;
}
.nav-link:hover {
  color: var(--gold-light);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-cta .icon {
  width: 16px;
  height: 16px;
  margin-right: 4px;
}

/* Бургер */
.burger {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  border: 1px solid #27272a;
  color: #e4e4e7;
  transition: background 0.3s ease;
}
.burger:hover {
  background: rgba(255, 255, 255, 0.05);
}
.burger .icon-menu-close {
  display: none;
}
.burger.open .icon-menu-open {
  display: none;
}
.burger.open .icon-menu-close {
  display: inline-block;
}

/* Мобильное меню */
.mobile-menu {
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: rgba(7, 7, 8, 0.96);
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px;
  animation: slideDown 0.3s var(--ease-smooth);
}
.mobile-menu[hidden] {
  display: none;
}
.mobile-link {
  padding: 12px;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  color: #d4d4d8;
  border-radius: 2px;
  transition: background 0.3s ease, color 0.3s ease;
}
.mobile-link:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fafafa;
}
.mobile-cta {
  margin-top: 8px;
}
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: #09090b;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-overlay-y {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.2) 38%,
    rgba(0, 0, 0, 0.82) 72%,
    #070708 100%
  );
}
.hero-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 288px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 0, 0, 0.72) 35%,
    #070708 100%
  );
  pointer-events: none;
}
.hero-overlay-x {
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.7) 42%,
    rgba(0, 0, 0, 0.44) 100%
  );
}
.hero-pulse {
  position: absolute;
  right: 40px;
  top: 80px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  filter: blur(48px);
  background: rgba(205, 171, 96, 0.18);
  animation: softPulse 5s ease-in-out infinite;
}
@keyframes softPulse {
  0%,
  100% {
    opacity: 0.65;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.02);
  }
}

.hero-content {
  position: relative;
  display: flex;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 64px;
}
.hero-stack {
  max-width: 768px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 8px 12px;
  border-radius: 2px;
  border: 1px solid var(--line-strong);
  background: rgba(0, 0, 0, 0.34);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #e4e4e7;
}
.hero-badge .icon {
  width: 16px;
  height: 16px;
  color: var(--gold-light);
}
.hero-headings {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.hero-title {
  font-size: clamp(2.25rem, 5vw, 3rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fafafa;
}
.hero-text {
  max-width: 672px;
  font-size: 18px;
  line-height: 2;
  color: #d4d4d8;
}
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-features {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
.hero-feature {
  display: block;
  padding: 16px;
  border-radius: 2px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.34);
  font-size: 14px;
  color: #e4e4e7;
}
.hero-feature .icon {
  width: 20px;
  height: 20px;
  color: var(--gold-light);
  margin-bottom: 12px;
  display: block;
}

/* ============================================================
   СЕКЦИИ (общее)
   ============================================================ */
.section {
  padding-top: 56px;
  padding-bottom: 56px;
  position: relative;
}
.section-tight {
  padding-top: 32px;
  padding-bottom: 32px;
}
.section-head {
  max-width: 768px;
  margin-bottom: 32px;
}
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-light);
  margin-bottom: 8px;
}
.section-title {
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fafafa;
  line-height: 1.2;
}
.section-lead {
  margin-top: 12px;
  line-height: 1.75;
  color: #a1a1aa;
}

/* Карточки */
.card {
  border-radius: 2px;
  border: 1px solid var(--line);
  background: var(--panel);
}
.card-strong {
  background: var(--panel-strong);
  padding: 24px;
}
.card-strong-title {
  font-size: 30px;
  font-weight: 600;
  line-height: 1.2;
}
.card-strong-text {
  margin-top: 16px;
  line-height: 1.75;
  color: #a1a1aa;
}
.tag-row {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.tag {
  border-radius: 2px;
  border: 1px solid var(--line);
  padding: 8px 12px;
  font-size: 14px;
  color: #d4d4d8;
}

/* ============================================================
   УСЛУГИ
   ============================================================ */
.service-card {
  position: relative;
  text-align: left;
  overflow: hidden;
  border-radius: 2px;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 20px;
  transition: transform 0.3s var(--ease-smooth), border-color 0.3s ease,
    background 0.3s ease;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 50%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(232, 203, 134, 0.13),
    transparent
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(205, 171, 96, 0.35);
}
.service-card:hover::before {
  opacity: 1;
}
.service-card.active {
  border-color: var(--line-strong);
  background: linear-gradient(
    145deg,
    rgba(205, 171, 96, 0.14),
    rgba(25, 26, 30, 0.96)
  );
}
.service-icon {
  position: relative;
  width: 28px;
  height: 28px;
  margin-bottom: 20px;
  color: var(--muted);
}
.service-card.active .service-icon {
  color: var(--gold-light);
}
.service-title {
  position: relative;
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: #fafafa;
}
.service-text {
  position: relative;
  display: block;
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: #a1a1aa;
}

/* ============================================================
   СТАТИСТИКА
   ============================================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  overflow: hidden;
  border-radius: 2px;
  border: 1px solid var(--line);
  background: var(--line);
}
.stat {
  background: var(--panel-strong);
  padding: 28px 24px;
  text-align: center;
}
.stat-value {
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--gold-light);
}
.stat-label {
  margin-top: 8px;
  font-size: 14px;
  color: #a1a1aa;
}

/* ============================================================
   ПОДХОД — список преимуществ
   ============================================================ */
.adv-item {
  display: flex;
  gap: 12px;
  border-radius: 2px;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 16px;
}
.adv-item .icon {
  margin-top: 4px;
  width: 20px;
  height: 20px;
  color: var(--gold-light);
}
.adv-item span:last-child {
  font-size: 14px;
  line-height: 1.5;
  color: #d4d4d8;
}

/* ============================================================
   ЦЕХ / ПРОЦЕСС (нумерованные карточки)
   ============================================================ */
.num-card {
  border-radius: 2px;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 20px;
}
.num-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
  border-radius: 2px;
  background: var(--gold-light);
  color: #18181b;
  font-size: 14px;
  font-weight: 600;
}
.num-title {
  font-size: 18px;
  font-weight: 600;
  color: #fafafa;
}
.num-text {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: #a1a1aa;
}

/* ============================================================
   ЦЕНЫ
   ============================================================ */
.price-card {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 24px;
}
.price-card.featured {
  border-color: var(--line-strong);
  background: linear-gradient(
    145deg,
    rgba(205, 171, 96, 0.12),
    rgba(25, 26, 30, 0.96)
  );
}
.price-hit {
  position: absolute;
  right: 16px;
  top: 16px;
  padding: 4px 8px;
  border-radius: 2px;
  background: var(--gold-light);
  color: #18181b;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.price-name {
  font-size: 20px;
  font-weight: 600;
  color: #fafafa;
}
.price-value {
  margin-top: 16px;
  font-size: 30px;
  font-weight: 600;
  color: var(--gold-light);
}
.price-list {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.price-point {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #a1a1aa;
}
.price-point .icon {
  width: 16px;
  height: 16px;
  color: var(--gold-light);
}
.price-btn {
  margin-top: 24px;
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  border: 1px solid var(--line);
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  color: #fafafa;
  cursor: pointer;
  background: transparent;
  font-family: inherit;
  transition: transform 0.42s var(--ease-smooth),
    box-shadow 0.55s var(--ease-smooth);
}
.price-btn:hover {
  transform: translateY(-4px) scale(1.01);
  background: linear-gradient(
    135deg,
    rgba(205, 171, 96, 0.22),
    rgba(255, 255, 255, 0.05)
  );
  box-shadow: 0 0 0 1px rgba(232, 203, 134, 0.42),
    0 0 28px rgba(232, 203, 134, 0.32), 0 18px 54px rgba(205, 171, 96, 0.22);
}

/* ============================================================
   ПРИМЕРЫ РАБОТ
   ============================================================ */
.case-card {
  border-radius: 2px;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 20px;
}
.case-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.case-car {
  font-weight: 600;
  color: #fafafa;
}
.case-time {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 4px 8px;
  font-size: 12px;
  color: #a1a1aa;
}
.case-time .icon {
  width: 12px;
  height: 12px;
  color: var(--gold-light);
}
.case-task {
  margin-top: 16px;
  font-size: 14px;
  color: #71717a;
}
.case-result {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: #d4d4d8;
}

/* ============================================================
   ОТЗЫВЫ
   ============================================================ */
.review-card {
  border-radius: 2px;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 20px;
}
.review-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}
.review-stars .icon {
  width: 16px;
  height: 16px;
  color: #eab308;
}
.review-text {
  font-size: 14px;
  line-height: 1.5;
  color: #d4d4d8;
}
.review-name {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: #fafafa;
}

/* ============================================================
   КОНТАКТЫ + КАРТА
   ============================================================ */
.contact-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
  color: #d4d4d8;
}
.contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.contact-item .icon {
  width: 20px;
  height: 20px;
  color: var(--gold-light);
  flex-shrink: 0;
}
.map-wrap {
  min-height: 320px;
  overflow: hidden;
  border-radius: 2px;
  border: 1px solid var(--line);
  background: #111;
}
.map-wrap iframe {
  width: 100%;
  height: 384px;
  border: 0;
  filter: grayscale(1);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  border-radius: 2px;
  border: 1px solid var(--line);
  background: var(--panel);
  overflow: hidden;
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item:last-child {
  border-bottom: none;
}
.faq-q {
  display: block;
  width: 100%;
  text-align: left;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 16px;
  font-weight: 600;
  color: #fafafa;
}
.faq-q .icon {
  width: 20px;
  height: 20px;
  color: #a1a1aa;
  transition: transform 0.3s var(--ease-smooth);
  flex-shrink: 0;
}
.faq-item.open .faq-q .icon {
  transform: rotate(180deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-smooth);
}
.faq-a-inner {
  padding: 0 20px 20px;
  font-size: 14px;
  line-height: 1.5;
  color: #a1a1aa;
}

/* ============================================================
   ФОРМА ЗАЯВКИ
   ============================================================ */
.request-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  border-radius: 2px;
  border: 1px solid var(--line-strong);
  padding: 24px;
  background: linear-gradient(
    145deg,
    rgba(25, 26, 30, 0.98),
    rgba(7, 7, 8, 0.96)
  );
}
.request-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.request-title {
  font-size: 30px;
  font-weight: 600;
  line-height: 1.2;
}
.request-text {
  line-height: 1.75;
  color: #a1a1aa;
}
.mini-card {
  border-radius: 2px;
  border: 1px solid var(--line);
  padding: 16px;
  font-size: 14px;
  color: #d4d4d8;
}
.mini-card .icon {
  width: 20px;
  height: 20px;
  color: var(--gold-light);
  margin-bottom: 8px;
  display: block;
}

.request-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.field {
  display: block;
}
.field-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #d4d4d8;
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  border-radius: 2px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.24);
  padding: 12px 16px;
  color: #fafafa;
  outline: none;
  transition: border-color 0.3s ease;
}
.field select {
  background: #111214;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a1a1aa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #52525b;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: #ca8a04;
}
.field textarea {
  resize: vertical;
  min-height: 128px;
}
.form-success {
  border-radius: 2px;
  border: 1px solid var(--line-strong);
  background: rgba(205, 171, 96, 0.1);
  color: var(--gold-light);
  padding: 16px;
  font-size: 14px;
  animation: fadeInUp 0.4s var(--ease-smooth);
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   ФУТЕР
   ============================================================ */
.footer {
  border-top: 1px solid var(--line);
  background: #050506;
  padding-top: 56px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
}
.footer-about {
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.75;
  color: #71717a;
  max-width: 360px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-heading {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fafafa;
  margin-bottom: 4px;
}
.footer-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #a1a1aa;
  transition: color 0.3s ease;
}
.footer-link:hover {
  color: #fafafa;
}
.footer-icon {
  width: 16px;
  height: 16px;
  color: var(--gold-light);
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  padding-bottom: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: #52525b;
}

/* ============================================================
   КНОПКА «НАВЕРХ»
   ============================================================ */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  border: 1px solid var(--line-strong);
  background: var(--panel-strong);
  backdrop-filter: blur(12px);
  color: var(--gold-light);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.4s var(--ease-smooth),
    box-shadow 0.4s ease;
}
.to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.to-top:hover {
  box-shadow: 0 0 24px rgba(232, 203, 134, 0.3);
  transform: translateY(-2px);
}
.to-top .icon {
  width: 20px;
  height: 20px;
}

/* ============================================================
   SCROLL-REVEAL (замена framer-motion)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.66s var(--ease-reveal),
    transform 0.66s var(--ease-reveal);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   АДАПТИВ
   ============================================================ */
@media (min-width: 1024px) {
  .burger {
    display: none;
  }
}

@media (max-width: 1023px) {
  .nav-links {
    display: none;
  }
  .nav-cta {
    display: none;
  }
  .burger {
    display: flex;
  }
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-bottom {
    justify-content: flex-start;
  }
  .section-title,
  .card-strong-title,
  .request-title {
    font-size: 26px;
  }
  .hero-pulse {
    display: none;
  }
  .to-top {
    right: 16px;
    bottom: 16px;
  }
}

/* Уважение к настройкам пользователя */
*:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
