/**
 * Публичный неон-тема: главная v3 и форма /neworder/
 * WCAG: основной текст светлый на тёмном; #54ff9f — акцент.
 */
:root {
  --neon: #54ff9f;
  --neon-soft: rgba(84, 255, 159, 0.22);
  --neon-glow: rgba(84, 255, 159, 0.55);
  --purple: #9f54ff;
  --orange: #ff9f54;
  --pink: #ff54b4;
  --cyan: #54b4ff;
  --bg-deep: #030806;
  --bg-panel: #07120f;
  --bg-card: #0a1512;
  --text: #f4fff8;
  --text-muted: #b5d4c4;
  --border-neon: 1px solid rgba(84, 255, 159, 0.45);
  --font-mono: Consolas, "Courier New", Courier, monospace;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, Arial, Helvetica, sans-serif;
  --radius: 12px;
  --shadow-neon: 0 0 12px var(--neon-glow), 0 0 28px rgba(84, 255, 159, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  min-height: 100%;
  /* Запасной тон под body, чтобы не было «рваного» чёрного по краям */
  background-color: #061510;
}

body.neon-public {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  color: var(--text);
  /* Заметно зеленоватый «плата + туман», не чистый #000 */
  background-color: #071612;
  background-image:
    /* косая штриховка — имитация слоёв/дорожек */
    repeating-linear-gradient(
      -22deg,
      transparent 0 11px,
      rgba(84, 255, 159, 0.04) 11px 12px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(84, 255, 159, 0.11) 0 1px,
      transparent 1px 36px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(84, 255, 159, 0.13) 0 1px,
      transparent 1px 24px
    ),
    radial-gradient(ellipse 110% 75% at 50% -5%, rgba(84, 255, 159, 0.32), transparent 58%),
    radial-gradient(ellipse 55% 45% at 92% 35%, rgba(84, 180, 255, 0.09), transparent 52%),
    radial-gradient(ellipse 50% 40% at 8% 75%, rgba(159, 84, 255, 0.07), transparent 50%),
    linear-gradient(168deg, #0e281c 0%, #071812 38%, #04120e 72%, #020a08 100%);
  line-height: 1.55;
}

/* Лёгкие цветные блики поверх сетки (без затемнения низа) */
body.neon-public::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
  background:
    radial-gradient(ellipse 70% 45% at 50% 0%, rgba(84, 255, 159, 0.12), transparent 50%),
    radial-gradient(ellipse 45% 35% at 0% 50%, rgba(84, 255, 159, 0.06), transparent 45%);
}

body.neon-public > * {
  position: relative;
  z-index: 1;
}

a {
  color: var(--cyan);
  text-decoration: none;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

a:hover {
  color: var(--neon);
  text-shadow: 0 0 8px var(--neon-glow);
}

a:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 3px;
}

/* --- Typography --- */
.neon-h1,
.neon-h2,
.neon-h3 {
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  text-shadow:
    0 0 1px var(--bg-deep),
    0 0 12px var(--neon-glow),
    0 0 24px rgba(84, 255, 159, 0.35);
}

.neon-h1 {
  font-size: clamp(1.15rem, 3.5vw, 1.75rem);
  margin: 0 0 0.5rem;
}

.neon-h2 {
  font-size: clamp(1.05rem, 2.8vw, 1.45rem);
  margin: 0 0 1rem;
}

.neon-h3 {
  font-size: 1rem;
  margin: 0 0 0.5rem;
}

.neon-lead {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 52ch;
}

.neon-kw-remont {
  color: var(--orange);
}
.neon-kw-sborka {
  color: var(--purple);
}
.neon-kw-3d {
  color: var(--pink);
}

/* --- Layout --- */
.neon-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px 48px;
}

.neon-skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100000;
  padding: 8px 14px;
  background: var(--bg-panel);
  border: var(--border-neon);
  color: var(--text);
  font-weight: 600;
}

.neon-skip-link:focus {
  left: 12px;
}

/* --- Header --- */
.neon-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  background: rgba(3, 8, 6, 0.92);
  border-bottom: var(--border-neon);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
}

.neon-header__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.neon-header__titles {
  min-width: 0;
}

.neon-header__title {
  margin: 0;
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.15;
  color: var(--text);
  text-shadow:
    0 0 1px var(--bg-deep),
    0 0 12px var(--neon-glow),
    0 0 22px rgba(84, 255, 159, 0.3);
  font-size: clamp(1.05rem, 2.4vw + 0.35rem, 1.65rem);
}

.neon-header__tagline {
  margin: 6px 0 0;
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.35;
  color: var(--text-muted);
  font-size: clamp(0.72rem, 1.1vw + 0.45rem, 1rem);
}

.neon-header__logo {
  width: clamp(52px, 11vw, 84px);
  height: auto;
  border-radius: 8px;
  border: var(--border-neon);
  filter: drop-shadow(0 0 10px var(--neon-glow));
  object-fit: cover;
}

.neon-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}

.neon-nav a {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 8px 12px;
  border: 1px solid rgba(84, 255, 159, 0.35);
  border-radius: 8px;
  color: var(--text);
  background: rgba(10, 21, 18, 0.8);
}

.neon-nav a:hover {
  border-color: var(--neon);
  box-shadow: var(--shadow-neon);
  color: var(--neon);
}

.neon-header__cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

/* --- Buttons --- */
.neon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.75rem;
  padding: 12px 20px;
  border-radius: 10px;
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  transition:
    transform 0.15s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.neon-btn:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.neon-btn--primary {
  background: linear-gradient(145deg, rgba(84, 255, 159, 0.25), rgba(10, 21, 18, 0.95));
  border-color: var(--neon);
  color: var(--text);
  box-shadow: var(--shadow-neon);
  font-size: 0.82rem;
  padding: 14px 22px;
}

.neon-btn--primary:hover {
  transform: translateY(-1px);
  box-shadow:
    0 0 16px var(--neon-glow),
    0 0 36px rgba(84, 255, 159, 0.25);
  border-color: #7dffc0;
  color: #fff;
}

.neon-btn--secondary {
  background: rgba(10, 21, 18, 0.85);
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--text-muted);
  font-size: 0.72rem;
  padding: 9px 14px;
}

.neon-btn--secondary:hover {
  border-color: var(--cyan);
  color: var(--text);
  box-shadow: 0 0 10px rgba(84, 180, 255, 0.35);
}

/* --- Phone segments --- */
.neon-phone-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.neon-phone-bar__label {
  font-size: 0.65rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  width: 100%;
}

@media (min-width: 720px) {
  .neon-phone-bar__label {
    width: auto;
    margin-right: 4px;
  }
}

.neon-digit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.85rem;
  height: 2.25rem;
  padding: 0 4px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(0.85rem, 2.5vw, 1.05rem);
  color: var(--text);
  background: var(--bg-card);
  border: 1px solid rgba(84, 255, 159, 0.55);
  border-radius: 6px;
  box-shadow:
    inset 0 0 12px rgba(84, 255, 159, 0.08),
    0 0 10px rgba(84, 255, 159, 0.2);
}

.neon-digit--dim {
  opacity: 0.75;
  font-size: 0.75rem;
  min-width: 1.2rem;
}

/* --- Hero terminal --- */
.neon-hero {
  margin: 28px 0 32px;
  padding: 22px 20px 24px;
  background: var(--bg-panel);
  border: var(--border-neon);
  border-radius: var(--radius);
  box-shadow: var(--shadow-neon);
}

.neon-hero__meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.45;
}

.neon-terminal {
  font-family: var(--font-mono);
  font-size: clamp(0.85rem, 2.2vw, 1.05rem);
  color: var(--neon);
  text-shadow: 0 0 8px var(--neon-glow);
  line-height: 1.65;
}

.neon-terminal__line {
  display: block;
}

.neon-terminal__line::before {
  content: "> ";
  color: var(--cyan);
}

.neon-cursor {
  display: inline-block;
  width: 0.55em;
  height: 1.1em;
  margin-left: 2px;
  vertical-align: text-bottom;
  background: var(--text);
  animation: neon-cursor-blink 1.1s step-end infinite;
}

@media (prefers-reduced-motion: reduce) {
  .neon-cursor {
    animation: none;
    opacity: 1;
  }
}

@keyframes neon-cursor-blink {
  50% {
    opacity: 0;
  }
}

.neon-hero__actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* --- Trust --- */
.neon-trust {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-bottom: 36px;
}

.neon-trust__item {
  padding: 14px 16px;
  background: linear-gradient(160deg, rgba(10, 21, 18, 0.95), rgba(3, 8, 6, 0.98));
  border: 1px solid rgba(159, 84, 255, 0.35);
  border-radius: var(--radius);
  font-size: 0.88rem;
  color: var(--text-muted);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.neon-trust__item strong {
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 6px;
  color: var(--neon);
}

/* --- Sections --- */
.neon-section {
  margin-bottom: 44px;
  scroll-margin-top: 88px;
}

.neon-section__head {
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(84, 255, 159, 0.2);
}

/* --- Service cards --- */
.neon-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.neon-card {
  position: relative;
  padding: 20px 18px 22px;
  background:
    linear-gradient(145deg, rgba(10, 21, 18, 0.97), rgba(5, 10, 8, 0.99)),
    repeating-linear-gradient(
      -12deg,
      transparent 0 10px,
      rgba(84, 255, 159, 0.02) 10px 11px
    );
  border: 1px solid rgba(84, 255, 159, 0.28);
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.neon-card:hover {
  transform: translateY(-3px);
  border-color: rgba(84, 255, 159, 0.55);
  box-shadow:
    var(--shadow-neon),
    0 12px 36px rgba(0, 0, 0, 0.45);
}

.neon-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  color: var(--neon);
  filter: drop-shadow(0 0 6px var(--neon-glow));
}

.neon-card__icon--purple {
  color: var(--purple);
  filter: drop-shadow(0 0 6px rgba(159, 84, 255, 0.5));
}
.neon-card__icon--orange {
  color: var(--orange);
  filter: drop-shadow(0 0 6px rgba(255, 159, 84, 0.45));
}
.neon-card__icon--pink {
  color: var(--pink);
  filter: drop-shadow(0 0 6px rgba(255, 84, 180, 0.45));
}
.neon-card__icon--cyan {
  color: var(--cyan);
  filter: drop-shadow(0 0 6px rgba(84, 180, 255, 0.45));
}

.neon-card__title {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 8px;
  color: var(--text);
}

.neon-card__text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* --- CTA strip --- */
.neon-cta-strip {
  margin: 28px 0;
  padding: 20px 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: center;
  background: rgba(7, 18, 15, 0.92);
  border: 1px solid rgba(84, 255, 159, 0.4);
  border-radius: 14px;
  box-shadow: var(--shadow-neon);
}

.neon-cta-strip__secondary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

/* --- About collage --- */
.neon-collage {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.neon-ph {
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  border: 1px dashed rgba(84, 255, 159, 0.35);
  background: linear-gradient(135deg, rgba(84, 255, 159, 0.08), rgba(159, 84, 255, 0.08));
  display: flex;
  align-items: flex-end;
  padding: 10px;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

/* --- Portfolio --- */
.neon-portfolio {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.neon-portfolio__frame {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid rgba(84, 255, 159, 0.35);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5) inset;
}

.neon-portfolio__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 40px 12px rgba(3, 8, 6, 0.75);
  border-radius: 12px;
}

.neon-portfolio__ph {
  aspect-ratio: 16 / 10;
  background: repeating-linear-gradient(
      90deg,
      rgba(84, 255, 159, 0.06) 0 2px,
      transparent 2px 14px
    ),
    linear-gradient(180deg, #0a1512, #050a08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  padding: 12px;
}

/* --- Portfolio: feed (постраничная горизонтальная лента карточек) --- */
.neon-portfolio--feed {
  --neon-portfolio-gap: 16px;
  display: flex;
  align-items: stretch;
  gap: 8px;
  grid-template-columns: none;
}

.neon-portfolio--feed .neon-portfolio__viewport {
  flex: 1 1 auto;
  overflow: hidden;
  position: relative;
}

.neon-portfolio--feed .neon-portfolio__track {
  display: flex;
  gap: var(--neon-portfolio-gap);
  transition: transform 0.35s ease;
  will-change: transform;
}

.neon-portfolio--feed .neon-portfolio__card {
  display: flex;
  flex-direction: column;
  padding: 10px;
  background: linear-gradient(180deg, #0a1512, #050a08);
}

.neon-portfolio__arrow {
  flex: 0 0 auto;
  align-self: stretch;
  width: 36px;
  border: 2px solid rgba(84, 255, 159, 0.35);
  border-radius: 14px;
  background: rgba(3, 8, 6, 0.65);
  color: var(--neon, #54ff9f);
  font-family: var(--font-mono);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.neon-portfolio__arrow:hover {
  background: rgba(84, 255, 159, 0.12);
  box-shadow: 0 0 12px rgba(84, 255, 159, 0.35);
}

.neon-portfolio__arrow[hidden] {
  display: none !important;
}

/* --- Portfolio: мозаика медиа внутри карточки --- */
.neon-portfolio__mosaic {
  display: grid;
  gap: 4px;
  width: 100%;
}

.neon-portfolio__mosaic--1 { grid-template-columns: 1fr; grid-template-rows: 1fr; aspect-ratio: 16 / 10; }
.neon-portfolio__mosaic--2 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; aspect-ratio: 16 / 10; }
.neon-portfolio__mosaic--3 {
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  aspect-ratio: 16 / 10;
}
.neon-portfolio__mosaic--3 .neon-portfolio__tile:nth-child(1) { grid-row: 1 / 3; }
.neon-portfolio__mosaic--4 {
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  aspect-ratio: 16 / 10;
}
.neon-portfolio__mosaic--4 .neon-portfolio__tile:nth-child(1) { grid-row: 1 / 3; }
.neon-portfolio__mosaic--4 .neon-portfolio__tile:nth-child(2) { grid-column: 2; grid-row: 1; }
.neon-portfolio__mosaic--4 .neon-portfolio__tile:nth-child(3) { grid-column: 3; grid-row: 1; }
.neon-portfolio__mosaic--4 .neon-portfolio__tile:nth-child(4) { grid-column: 2 / span 2; grid-row: 2; }

.neon-portfolio__tile {
  position: relative;
  border: 0;
  padding: 0;
  margin: 0;
  background: #0a1512;
  cursor: zoom-in;
  overflow: hidden;
  border-radius: 6px;
}

.neon-portfolio__tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.neon-portfolio__more-badge {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(3, 8, 6, 0.55);
  color: var(--neon, #54ff9f);
  font-family: var(--font-mono);
  font-size: 1.4rem;
  pointer-events: none;
}

.neon-portfolio__desc {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted, #a8c2ad);
}

.neon-portfolio__desc-text {
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: pre-line;
}

.neon-portfolio__more {
  margin-top: 6px;
  background: transparent;
  border: none;
  color: var(--neon, #54ff9f);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  cursor: pointer;
  padding: 0;
}

.neon-portfolio__more[hidden] { display: none; }

/* --- Lightbox --- */
.neon-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 4, 0.92);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.neon-lightbox[hidden] { display: none; }

.neon-lightbox__stage {
  max-width: min(95vw, 1200px);
  max-height: 95vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.neon-lightbox__img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border: 2px solid rgba(84, 255, 159, 0.35);
  border-radius: 12px;
  background: #0a1512;
}

.neon-lightbox__caption {
  max-width: 880px;
  max-height: 20vh;
  overflow-y: auto;
  color: var(--text, #d9ffe6);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  white-space: pre-line;
  text-align: left;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(10, 21, 18, 0.7);
  border: 1px solid rgba(84, 255, 159, 0.2);
}

.neon-lightbox__nav,
.neon-lightbox__close {
  position: absolute;
  border: 2px solid rgba(84, 255, 159, 0.35);
  border-radius: 50%;
  background: rgba(3, 8, 6, 0.75);
  color: var(--neon, #54ff9f);
  cursor: pointer;
  font-family: var(--font-mono);
  width: 48px;
  height: 48px;
  font-size: 1.6rem;
  line-height: 1;
}

.neon-lightbox__nav--prev { left: 16px; top: 50%; transform: translateY(-50%); }
.neon-lightbox__nav--next { right: 16px; top: 50%; transform: translateY(-50%); }
.neon-lightbox__close { right: 16px; top: 16px; width: 40px; height: 40px; font-size: 1.4rem; }

.neon-lightbox__nav[hidden],
.neon-lightbox__close[hidden] { display: none; }

@media (max-width: 1024px) {
  .neon-portfolio__arrow { width: 32px; font-size: 1.4rem; }
}

@media (max-width: 640px) {
  .neon-portfolio--feed { gap: 4px; }
  .neon-portfolio__arrow { width: 28px; font-size: 1.2rem; border-radius: 10px; }
  .neon-lightbox { padding: 10px; }
  .neon-lightbox__nav { width: 40px; height: 40px; font-size: 1.4rem; }
  .neon-lightbox__nav--prev { left: 6px; }
  .neon-lightbox__nav--next { right: 6px; }
}

/* --- Contacts --- */
.neon-contact-grid {
  display: grid;
  gap: 14px;
  max-width: 720px;
}

.neon-contact-box {
  padding: 16px 18px;
  background: var(--bg-card);
  border: var(--border-neon);
  border-radius: var(--radius);
  font-size: 0.92rem;
  color: var(--text-muted);
}

.neon-contact-box strong {
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}

/* --- Footer --- */
.neon-footer {
  margin-top: 36px;
  padding: 28px 18px 36px;
  border-top: 1px solid rgba(84, 255, 159, 0.2);
  background: rgba(2, 6, 5, 0.9);
}

.neon-footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 22px;
  max-width: 1120px;
  margin: 0 auto;
}

.neon-footer__title {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--neon);
  margin: 0 0 10px;
}

.neon-footer a {
  color: var(--text);
  display: inline-block;
  margin: 4px 0;
}

.neon-footer a:hover {
  color: var(--neon);
}

.neon-social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.neon-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(84, 255, 159, 0.35);
  color: var(--neon);
  transition:
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.neon-social a:hover {
  box-shadow: var(--shadow-neon);
  border-color: var(--neon);
  color: #fff;
}

.neon-social svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.neon-copy {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 24px;
}

/* --- Page transition overlay --- */
.neon-transition-overlay {
  position: fixed;
  inset: 0;
  z-index: 99998;
  background: rgba(2, 6, 4, 0.96);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.4;
  color: var(--neon);
  text-shadow: 0 0 6px var(--neon-glow);
  pointer-events: all;
  opacity: 0;
  animation: neon-overlay-in 0.2s ease forwards;
}

@keyframes neon-overlay-in {
  to {
    opacity: 1;
  }
}

.neon-transition-overlay__line {
  opacity: 0.85;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* --- Form page (/neworder/) --- */
body.neon-public.neon-form-page {
  padding-bottom: 32px;
}

.neon-form-page .neon-wrap {
  max-width: 520px;
  padding-top: 20px;
}

.neon-form-page h1 {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 8px;
  color: var(--text);
  text-shadow: 0 0 10px var(--neon-glow);
}

.neon-form-page .sub {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.neon-form-page label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin: 14px 0 6px;
  color: var(--text);
}

.neon-form-page .hint {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-top: 2px;
}

.neon-form-page input[type="text"],
.neon-form-page input[type="tel"],
.neon-form-page select,
.neon-form-page textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(84, 255, 159, 0.35);
  font-size: 1rem;
  background: var(--bg-card);
  color: var(--text);
}

.neon-form-page input:focus-visible,
.neon-form-page select:focus-visible,
.neon-form-page textarea:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 2px;
  border-color: var(--neon);
}

.neon-form-page textarea {
  min-height: 120px;
  resize: vertical;
}

.neon-form-page .ok {
  background: rgba(84, 255, 159, 0.12);
  border: 1px solid rgba(84, 255, 159, 0.45);
  color: var(--text);
  padding: 14px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.neon-form-page .err {
  background: rgba(255, 84, 180, 0.12);
  border: 1px solid rgba(255, 84, 180, 0.45);
  color: #ffd0e8;
  padding: 12px 14px;
  border-radius: 10px;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.neon-form-page .field-err {
  color: var(--orange);
  font-size: 0.85rem;
  margin-top: 4px;
}

.neon-form-page .row-hidden {
  display: none;
}

.neon-form-page .blk {
  background: var(--bg-panel);
  border: 1px solid rgba(84, 255, 159, 0.22);
  border-radius: 12px;
  padding: 14px 14px 6px;
  margin-bottom: 14px;
}

.neon-form-page .blk h2 {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  margin: 0 0 10px;
  font-weight: 600;
  color: var(--neon);
}

.neon-form-page button.submit {
  width: 100%;
  margin-top: 20px;
  padding: 14px;
  font-size: 1.05rem;
  font-weight: 700;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 2px solid var(--neon);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(84, 255, 159, 0.28), rgba(10, 21, 18, 0.95));
  color: var(--text);
  cursor: pointer;
  box-shadow: var(--shadow-neon);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.neon-form-page button.submit:hover {
  border-color: #7dffc0;
}

.neon-form-page button.submit:active {
  opacity: 0.92;
}

.neon-form-page button.submit[disabled] {
  opacity: 0.65;
  cursor: progress;
}

.neon-form-page .spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: var(--neon);
  border-radius: 50%;
  animation: neon-spin 0.8s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .neon-form-page .spinner {
    animation: none;
    border-color: var(--neon);
  }
}

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

.neon-form-page .top-nav {
  margin-bottom: 18px;
  font-size: 0.9rem;
}

.neon-form-page .top-nav a {
  color: var(--cyan);
}

@media (max-width: 719px) {
  .neon-header {
    flex-direction: column;
    align-items: stretch;
  }

  .neon-nav {
    justify-content: flex-start;
  }

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

  .neon-phone-bar {
    justify-content: flex-start;
  }
}
