:root {
  --bg-main: #070b14;
  --bg-alt: #0b111e;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.065);
  --border-glass: rgba(255, 255, 255, 0.1);
  --border-accent: rgba(0, 212, 255, 0.38);

  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --accent-cyan: #00d4ff;
  --accent-teal: #00e5c3;
  --accent-blue: #2563eb;
  --accent-grad: linear-gradient(135deg, #00d4ff 0%, #00e5c3 100%);
  --shadow-glow: 0 0 28px rgba(0, 212, 255, 0.25);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --container-max: 1160px;
  --header-height: 70px;
  --transition: 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
}

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

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

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

button,
input,
select {
  font-family: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent-cyan);
  outline-offset: 2px;
}

/* Фоновые свечения */
.bg-glow {
  position: fixed;
  pointer-events: none;
  z-index: -1;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
}

.bg-glow--top {
  width: 460px;
  height: 460px;
  top: -140px;
  right: -120px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.45), transparent 70%);
}

.bg-glow--mid {
  width: 420px;
  height: 420px;
  bottom: 10%;
  left: -160px;
  background: radial-gradient(circle, rgba(0, 229, 195, 0.3), transparent 70%);
}

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

/* Кнопки */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  padding: 12px 20px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
  text-align: center;
}

.btn:active {
  transform: translateY(1px);
}

.btn--sm {
  padding: 9px 15px;
  font-size: 0.875rem;
}

.btn--lg {
  padding: 15px 24px;
  font-size: 1rem;
  border-radius: 12px;
}

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

.btn--primary {
  background: var(--accent-grad);
  color: #04101c;
  box-shadow: var(--shadow-glow);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 32px rgba(0, 212, 255, 0.42);
}

.btn--glass {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  border-color: var(--border-glass);
  backdrop-filter: blur(10px);
}

.btn--glass:hover {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(0, 212, 255, 0.45);
  transform: translateY(-2px);
}

/* Стеклянная карточка */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}

/* Шапка */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(7, 11, 20, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1 1 auto;
}

.logo__mark {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(0, 212, 255, 0.12);
  border: 1px solid rgba(0, 212, 255, 0.35);
  color: var(--text-primary);
}

.logo__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.logo__title {
  font-weight: 800;
  font-size: clamp(0.82rem, 2.2vw, 0.96rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.logo__subtitle {
  font-size: 0.72rem;
  color: var(--text-secondary);
}

/* Навигация (Mobile-First) */
.nav {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: rgba(9, 14, 26, 0.98);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-glass);
  padding: 18px 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transform: translateY(-120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.nav__link {
  padding: 10px 4px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: color var(--transition);
}

.nav__link:hover {
  color: var(--accent-cyan);
}

.nav__cta {
  margin-top: 6px;
}

.burger {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.burger span {
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.burger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.is-active span:nth-child(2) {
  opacity: 0;
}

.burger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Блок 1: Hero */
.hero {
  padding: 44px 0 52px;
}

.hero__content {
  max-width: 820px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.28);
  color: var(--accent-cyan);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-teal);
  box-shadow: 0 0 10px var(--accent-teal);
  animation: pulse 2s infinite;
}

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

.hero__title {
  margin: 0 0 16px;
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.hero__subtitle {
  margin: 0 0 26px;
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 700px;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.hero__badges {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
}

/* Общие стили секций */
.section {
  padding: 56px 0;
}

.section--alt {
  background: linear-gradient(180deg, rgba(11, 17, 30, 0.6) 0%, rgba(11, 17, 30, 0.95) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.section__head {
  margin-bottom: 30px;
  max-width: 720px;
}

.section__tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-teal);
  margin-bottom: 8px;
}

.section__title {
  margin: 0 0 10px;
  font-size: clamp(1.45rem, 3.5vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section__desc {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.98rem;
}

/* Сетки */
.grid {
  display: grid;
  gap: 16px;
}

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

/* Блок 2: Марки */
.brand-card {
  padding: 20px;
}

.brand-card:hover {
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.brand-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.brand-card__badge {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 212, 255, 0.14);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 212, 255, 0.3);
}

.brand-card__sys {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 600;
}

.brand-card__title {
  margin: 0 0 8px;
  font-size: 1.15rem;
  font-weight: 700;
}

.brand-card__models {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

/* Блок 3: Приложения */
.apps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.app-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
}

.app-item:hover {
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
}

.app-item__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}

.app-item__icon--cyan {
  background: rgba(0, 212, 255, 0.13);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 212, 255, 0.25);
}

.app-item__icon--teal {
  background: rgba(0, 229, 195, 0.13);
  color: var(--accent-teal);
  border: 1px solid rgba(0, 229, 195, 0.25);
}

.app-item__icon--blue {
  background: rgba(37, 99, 235, 0.2);
  color: #60a5fa;
  border: 1px solid rgba(96, 165, 250, 0.3);
}

.app-item__title {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 700;
}

.app-item__desc {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Блок 4: Прайс */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.price-card {
  position: relative;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
}

.price-card--featured {
  border-color: rgba(0, 212, 255, 0.48);
  background: linear-gradient(180deg, rgba(0, 212, 255, 0.08) 0%, rgba(255, 255, 255, 0.035) 100%);
  box-shadow: 0 12px 40px rgba(0, 212, 255, 0.12);
}

.price-card__ribbon {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--accent-grad);
  color: #04101c;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.price-card__header {
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.price-card__name {
  margin: 0 0 10px;
  font-size: 1.2rem;
  font-weight: 700;
  padding-right: 110px;
}

.price-card__amount {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--accent-cyan);
}

.price-card__amount span {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.price-card__note {
  margin: 6px 0 0;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.price-card__list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

.price-card__list li {
  position: relative;
  padding-left: 24px;
  font-size: 0.94rem;
  color: var(--text-primary);
}

.price-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-teal);
  box-shadow: 0 0 8px rgba(0, 229, 195, 0.65);
}

.info-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  border-color: rgba(0, 212, 255, 0.25);
  background: rgba(0, 212, 255, 0.05);
}

.info-banner + .info-banner {
  margin-top: 12px;
}

.info-banner--warning {
  border-color: rgba(0, 229, 195, 0.3);
  background: rgba(0, 229, 195, 0.06);
}

.info-banner__icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.info-banner p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--text-secondary);
}

.info-banner strong {
  color: var(--text-primary);
}

/* Блок 5: Шаги и безопасность */
.step-card {
  padding: 20px;
}

.step-card__num {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--accent-cyan);
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.25);
  padding: 4px 10px;
  border-radius: 8px;
  margin-bottom: 12px;
}

.step-card__title {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
}

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

/* Блок 6: Галерея */
.gallery-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 84%;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 212, 255, 0.35) transparent;
}

.gallery-card {
  margin: 0;
  overflow: hidden;
  cursor: pointer;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
}

.gallery-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
}

.gallery-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #0c1424;
  overflow: hidden;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-card:hover .gallery-img {
  transform: scale(1.03);
}

.gallery-card__zoom {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(7, 11, 20, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--text-primary);
  display: grid;
  place-items: center;
  backdrop-filter: blur(6px);
}

.gallery-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px;
  text-align: center;
  background: linear-gradient(135deg, #0d1629 0%, #09101d 100%);
}

.gallery-placeholder[hidden] {
  display: none;
}

.gallery-placeholder__badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-cyan);
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 212, 255, 0.12);
}

.gallery-placeholder__title {
  font-size: 1.05rem;
  font-weight: 700;
}

.gallery-placeholder__hint {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.gallery-card__caption {
  padding: 14px 16px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.gallery-card__caption strong {
  color: var(--text-primary);
}

/* Блок 6.5: FAQ Аккордеон */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 860px;
}

.faq-item {
  overflow: hidden;
}

.faq-item.is-open {
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
}

.faq-trigger {
  width: 100%;
  padding: 18px 20px;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
}

.faq-trigger__icon {
  flex-shrink: 0;
  color: var(--accent-cyan);
  transition: transform var(--transition);
}

.faq-item.is-open .faq-trigger__icon {
  transform: rotate(180deg);
}

.faq-panel {
  padding: 0 20px 18px;
}

.faq-panel[hidden] {
  display: none;
}

.faq-panel p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Блок 7: Конструктор заявки */
.order-wrapper {
  padding: 24px 18px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  border-color: rgba(0, 212, 255, 0.28);
}

.order-info__desc {
  margin: 0 0 20px;
  color: var(--text-secondary);
  font-size: 0.96rem;
}

.message-preview {
  background: rgba(4, 8, 15, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 14px;
}

.message-preview__label {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--accent-teal);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.message-preview__box {
  margin: 0;
  font-family: inherit;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--text-primary);
  white-space: pre-wrap;
  word-break: break-word;
}

.order-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
}

.required {
  color: var(--accent-cyan);
}

.optional {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 0.82rem;
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: rgba(6, 10, 19, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.13);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-control::placeholder {
  color: var(--text-muted);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.16);
}

.form-control.is-invalid {
  border-color: #f87171;
}

.form-error {
  font-size: 0.8rem;
  color: #fca5a5;
  min-height: 1em;
}

.city-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.city-option {
  position: relative;
  cursor: pointer;
}

.city-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.city-option span {
  display: block;
  text-align: center;
  padding: 11px 12px;
  border-radius: var(--radius-sm);
  background: rgba(6, 10, 19, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.city-option input:checked + span {
  background: rgba(0, 212, 255, 0.14);
  border-color: var(--accent-cyan);
  color: var(--text-primary);
  font-weight: 600;
}

/* Блок 8: Футер */
.footer {
  padding: 28px 0 92px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #050810;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.footer__cities {
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.footer__copy {
  margin: 0;
  font-size: 0.84rem;
  color: var(--text-muted);
}

/* Плавающая кнопка Telegram */
.fab-telegram {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 95;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0088cc 0%, #00b4ff 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: 0 10px 28px rgba(0, 136, 204, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition: transform var(--transition), box-shadow var(--transition);
}

.fab-telegram:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(0, 162, 255, 0.58);
}

.fab-telegram__icon {
  display: grid;
  place-items: center;
}

/* Лайтбокс */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 6, 12, 0.88);
  backdrop-filter: blur(8px);
}

.lightbox__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 920px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__content {
  width: 100%;
  background: #0b1220;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
}

.lightbox__img {
  width: 100%;
  max-height: 74vh;
  object-fit: contain;
  background: #060a12;
}

.lightbox__caption {
  margin: 0;
  padding: 14px 18px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(10, 16, 29, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
}

.lightbox__close:hover,
.lightbox__nav:hover {
  background: rgba(0, 212, 255, 0.22);
  border-color: var(--accent-cyan);
}

.lightbox__close {
  top: -14px;
  right: -6px;
}

.lightbox__nav--prev {
  left: 8px;
}

.lightbox__nav--next {
  right: 8px;
}

/* Планшеты и небольшие экраны (>= 640px) */
@media (min-width: 640px) {
  .container {
    padding: 0 24px;
  }

  .hero__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .apps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .app-item--wide {
    grid-column: span 2;
  }

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

  .city-options {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-grid {
    grid-auto-flow: row;
    grid-auto-columns: unset;
    grid-template-columns: repeat(2, 1fr);
    overflow-x: visible;
    padding-bottom: 0;
  }

  .footer__inner {
    flex-direction: row;
    align-items: center;
  }
}

/* Десктоп (>= 960px) */
@media (min-width: 960px) {
  .burger {
    display: none;
  }

  .nav {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    background: transparent;
    backdrop-filter: none;
    border-bottom: none;
    padding: 0;
    flex-direction: row;
    align-items: center;
    gap: 22px;
  }

  .nav__link {
    padding: 4px 0;
    border-bottom: none;
    font-size: 0.92rem;
  }

  .nav__cta {
    margin-top: 0;
  }

  .hero {
    padding: 76px 0 80px;
  }

  .section {
    padding: 76px 0;
  }

  .grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .apps-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .app-item--wide {
    grid-column: span 3;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .order-wrapper {
    grid-template-columns: 1fr 1.15fr;
    padding: 36px;
    gap: 36px;
    align-items: start;
  }

  .footer {
    padding: 32px 0;
  }

  .fab-telegram {
    right: 24px;
    bottom: 24px;
  }
}
