/* Трансформация 64 — premium automotive landing */

:root,
[data-theme="dark"] {
  --bg: #070707;
  --bg-elevated: #101010;
  --surface: #161616;
  --surface-2: #1c1c1c;
  --graphite: #242424;
  --line: rgba(200, 255, 0, 0.14);
  --line-soft: rgba(255, 255, 255, 0.08);
  --text: #f3f3f3;
  --text-soft: #e8e8e8;
  --text-lead: #d5d5d5;
  --muted: #9b9b9b;
  --accent: #c8ff00;
  --accent-strong: #b4f000;
  --accent-dim: rgba(200, 255, 0, 0.12);
  --accent-glow: rgba(200, 255, 0, 0.35);
  --accent-on: #0a0a0a;
  --header-bg: rgba(7, 7, 7, 0.92);
  --header-bg-solid: rgba(5, 5, 5, 0.98);
  --nav-mobile-bg: rgba(8, 8, 8, 0.98);
  --header-h: 80px;
  --hero-overlay: linear-gradient(180deg, rgba(7, 7, 7, 0.48) 0%, rgba(7, 7, 7, 0.62) 42%, rgba(7, 7, 7, 0.78) 78%, rgba(7, 7, 7, 0.92) 100%),
    radial-gradient(ellipse 70% 50% at 80% 20%, rgba(200, 255, 0, 0.12), transparent 55%);
  --hero-to-next: linear-gradient(180deg, transparent 0%, rgba(7, 7, 7, 0.55) 45%, var(--bg-elevated) 100%);
  --panel: #0c0c0c;
  --panel-bar: #141414;
  --input-bg: #0f0f0f;
  --footer-bg: #050505;
  --card-grad: linear-gradient(160deg, #171717, #101010);
  --metal: linear-gradient(135deg, #2a2a2a 0%, #3a3a3a 40%, #1a1a1a 100%);
  --label-bg: rgba(0, 0, 0, 0.7);
  --map-filter: grayscale(0.35) contrast(1.05);
  --video-filter: brightness(0.55) contrast(1.1);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1180px;
  --font: "Manrope", system-ui, sans-serif;
  --display: "Oxanium", "Manrope", sans-serif;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

[data-theme="light"] {
  --bg: #f3f4ef;
  --bg-elevated: #ffffff;
  --surface: #ffffff;
  --surface-2: #e8ebe3;
  --graphite: #d8dcd2;
  --line: rgba(90, 130, 0, 0.22);
  --line-soft: rgba(18, 22, 12, 0.1);
  --text: #121412;
  --text-soft: #1c2218;
  --text-lead: #3a4136;
  --muted: #5f6758;
  --accent: #6f9800;
  --accent-strong: #5f8200;
  --accent-dim: rgba(200, 255, 0, 0.35);
  --accent-glow: rgba(140, 190, 0, 0.28);
  --accent-on: #0a0a0a;
  --header-bg: rgba(255, 255, 255, 0.94);
  --header-bg-solid: #ffffff;
  --nav-mobile-bg: #ffffff;
  /* На видео — тёмный scrim, чтобы текст читался */
  --hero-overlay: linear-gradient(180deg, rgba(8, 10, 6, 0.55) 0%, rgba(8, 10, 6, 0.66) 42%, rgba(8, 10, 6, 0.78) 78%, rgba(8, 10, 6, 0.9) 100%),
    radial-gradient(ellipse 70% 50% at 80% 20%, rgba(200, 255, 0, 0.14), transparent 55%);
  --hero-to-next: linear-gradient(180deg, transparent 0%, rgba(243, 244, 239, 0.45) 45%, var(--bg-elevated) 100%);
  --panel: #ffffff;
  --panel-bar: #eef0ea;
  --input-bg: #f7f8f4;
  --footer-bg: #e8ebe3;
  --card-grad: linear-gradient(160deg, #ffffff, #f4f6f0);
  --metal: linear-gradient(135deg, #e8ebe3 0%, #f7f8f4 40%, #dfe3d8 100%);
  --label-bg: rgba(255, 255, 255, 0.88);
  --map-filter: none;
  --video-filter: brightness(0.38) contrast(1.12) saturate(1.05);
  --shadow: 0 18px 50px rgba(20, 28, 10, 0.1);
  color-scheme: light;
}

html.theme-animating,
html.theme-animating *,
html.theme-animating *::before,
html.theme-animating *::after {
  transition:
    background-color 0.55s var(--ease),
    background 0.55s var(--ease),
    color 0.45s var(--ease),
    border-color 0.45s var(--ease),
    box-shadow 0.55s var(--ease),
    filter 0.55s var(--ease),
    fill 0.45s var(--ease) !important;
}

@supports (view-transition-name: root) {
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation-duration: 0.5s;
    animation-timing-function: var(--ease);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
video {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  background: var(--accent);
  color: #000;
  padding: 0.75rem 1rem;
  font-weight: 700;
}

.skip-link:focus {
  top: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, border-color 0.25s, color 0.25s;
  text-decoration: none !important;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-accent {
  background: var(--accent);
  color: var(--accent-on) !important;
  box-shadow: 0 0 0 0 var(--accent-glow);
}

.btn-accent:hover {
  background: var(--accent-strong);
  box-shadow: 0 0 28px var(--accent-glow);
}

[data-theme="light"] .btn-accent {
  background: #c8ff00;
  color: #0a0a0a !important;
}

[data-theme="light"] .btn-accent:hover {
  background: #d6ff3d;
}

.btn-outline {
  background: transparent;
  border-color: rgba(200, 255, 0, 0.45);
  color: var(--text) !important;
}

.btn-outline:hover {
  border-color: var(--accent);
  background: var(--accent-dim);
}

.btn-ghost {
  background: transparent;
  color: var(--muted) !important;
  border-color: var(--line-soft);
}

.btn-lg {
  padding: 1rem 1.55rem;
  font-size: 1.02rem;
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
}

.btn-block {
  width: 100%;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-h);
  backdrop-filter: blur(18px) saturate(1.2);
  background: var(--header-bg);
  border-bottom: 1px solid var(--line-soft);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}

.site-header.is-scrolled {
  background: var(--header-bg-solid);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.35);
}

[data-theme="light"] .site-header {
  box-shadow: 0 6px 22px rgba(20, 28, 10, 0.08);
}

/* Theme toggle */
.theme-toggle {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line-soft);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  display: grid;
  place-items: center;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 0 var(--accent-dim);
  transition: border-color 0.3s, box-shadow 0.35s var(--ease), transform 0.25s var(--ease);
}

.theme-toggle:hover {
  border-color: rgba(200, 255, 0, 0.45);
  box-shadow: 0 0 0 4px var(--accent-dim), 0 0 20px var(--accent-glow);
}

.theme-toggle:active {
  transform: scale(0.94);
}

.theme-toggle__icon {
  position: absolute;
  width: 22px;
  height: 22px;
  transition: opacity 0.35s var(--ease), transform 0.45s var(--ease);
}

.theme-toggle__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.theme-toggle__sun {
  opacity: 1;
  transform: rotate(0) scale(1);
  color: #c8ff00;
}

.theme-toggle__moon {
  opacity: 0;
  transform: rotate(40deg) scale(0.6);
  color: var(--accent);
}

[data-theme="light"] .theme-toggle__sun {
  opacity: 0;
  transform: rotate(-40deg) scale(0.6);
}

[data-theme="light"] .theme-toggle__moon {
  opacity: 1;
  transform: rotate(0) scale(1);
  color: #3a4a20;
}

.theme-toggle::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 50%, var(--accent-dim), transparent 65%);
  opacity: 0;
  transition: opacity 0.35s;
}

.theme-toggle:hover::before {
  opacity: 1;
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none !important;
  flex: 0 0 auto;
}

.brand img,
.brand-logo {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: #111;
  box-shadow:
    0 0 0 2px #c8ff00,
    0 0 0 4px rgba(0, 0, 0, 0.7),
    0 0 22px rgba(200, 255, 0, 0.35);
}

[data-theme="light"] .brand img,
[data-theme="light"] .brand-logo {
  box-shadow:
    0 0 0 2px #6f9800,
    0 0 0 4px #fff,
    0 4px 16px rgba(20, 28, 10, 0.18);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-family: var(--display);
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text);
  white-space: nowrap;
}

.brand-text span {
  color: var(--text-lead);
  font-size: 0.72rem;
  font-weight: 600;
}

@media (max-width: 1099px) {
  .site-header .brand-text {
    display: none;
  }
}

.nav-desktop {
  display: none;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  gap: 0.1rem;
  min-width: 0;
  flex-wrap: nowrap;
}

.nav-desktop a {
  color: var(--text-soft);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  padding: 0.45rem 0.5rem;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.nav-desktop a:hover,
.nav-desktop a[aria-current="page"] {
  color: var(--accent);
  background: var(--accent-dim);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex: 0 0 auto;
}

.header-phone {
  display: none;
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  font-size: 0.88rem;
}

.header-phone:hover {
  color: var(--accent);
}

.nav-toggle {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line-soft);
  background: var(--surface);
  display: grid;
  place-content: center;
  gap: 5px;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle span:not(.visually-hidden) {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
}

.nav-mobile {
  display: grid;
  gap: 0.25rem;
  padding: 0.85rem 1.25rem 1.35rem;
  background: var(--nav-mobile-bg);
  border-bottom: 1px solid var(--line-soft);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.nav-mobile[hidden] {
  display: none !important;
}

.nav-mobile a:not(.btn) {
  color: var(--text);
  font-weight: 700;
  padding: 0.7rem 0.25rem;
  text-decoration: none;
  border-bottom: 1px solid var(--line-soft);
}

.nav-mobile a:not(.btn):hover {
  color: var(--accent);
}

.nav-mobile .btn {
  margin-top: 0.4rem;
}

/* Sections */
.section {
  padding: 4.5rem 0;
  position: relative;
}

.section-head {
  margin-bottom: 2.25rem;
  max-width: 720px;
}

.section-head--why {
  max-width: none;
}

.eyebrow {
  font-family: var(--display);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.65rem;
  font-weight: 700;
}

.section h2 {
  font-family: var(--display);
  font-size: clamp(1.7rem, 4.5vw, 2.55rem);
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.02em;
}

.why-title {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  font-size: clamp(1.65rem, 4.8vw, 2.75rem);
  line-height: 1.12;
}

.why-title__lead {
  display: block;
  color: var(--text);
  white-space: nowrap;
}

.why-title__brand {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  white-space: nowrap;
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.01em;
  text-shadow: 0 0 28px var(--accent-glow);
  position: relative;
  padding-bottom: 0.35rem;
}

.why-title__brand::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #c8ff00, rgba(200, 255, 0, 0.15));
}

@media (max-width: 520px) {
  .why-title {
    font-size: clamp(1.2rem, 6.2vw, 1.55rem);
  }
}

.section-lead {
  color: var(--muted);
  margin: 1rem 0 0;
  font-size: 1.05rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: 5.5rem 0 0;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(5rem, 14vw, 9rem);
  z-index: 2;
  pointer-events: none;
  background: var(--hero-to-next);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(200, 255, 0, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 255, 0, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 20%, transparent 75%);
  opacity: 0.45;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-bottom: 2.25rem;
}

.hero-brand {
  font-family: var(--display);
  font-size: clamp(1.35rem, 4vw, 2rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.75rem;
  text-shadow: 0 0 30px var(--accent-glow);
  animation: fadeUp 0.9s var(--ease) both;
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(1.55rem, 5.2vw, 2.85rem);
  line-height: 1.12;
  margin: 0 0 1rem;
  max-width: 18ch;
  animation: fadeUp 0.9s var(--ease) 0.08s both;
}

.hero-lead {
  max-width: 54ch;
  color: var(--text-lead);
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
  animation: fadeUp 0.9s var(--ease) 0.16s both;
}

.hero-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: grid;
  gap: 0.45rem;
  animation: fadeUp 0.9s var(--ease) 0.24s both;
}

.hero-benefits li {
  position: relative;
  padding-left: 1.45rem;
  font-weight: 600;
  color: var(--text-soft);
}

.hero-benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 2px;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
  animation: fadeUp 0.9s var(--ease) 0.32s both;
}

/* Neon social buttons (Telegram / VK) */
.neon-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
  animation: fadeUp 0.9s var(--ease) 0.38s both;
}

.neon-social--compact {
  margin-bottom: 0;
  gap: 0.65rem;
}

.neon-btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 3.35rem;
  padding: 0.65rem 1.15rem 0.65rem 0.85rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none !important;
  overflow: hidden;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s, background 0.28s;
}

.neon-btn:hover {
  transform: translateY(-2px) scale(1.02);
  text-decoration: none !important;
}

.neon-btn__glow {
  position: absolute;
  inset: -40%;
  z-index: -1;
  background: radial-gradient(circle at 30% 40%, currentColor, transparent 55%);
  opacity: 0.35;
  filter: blur(18px);
  animation: neonPulse 2.8s ease-in-out infinite;
  pointer-events: none;
}

.neon-btn__icon {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 16px currentColor;
}

.neon-btn__text {
  display: grid;
  gap: 0.05rem;
  line-height: 1.15;
}

.neon-btn__text strong {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.neon-btn__text small {
  font-size: 0.72rem;
  opacity: 0.82;
  letter-spacing: 0.02em;
}

.neon-btn--tg {
  color: #7dffb3;
  background: linear-gradient(135deg, rgba(34, 196, 130, 0.22), rgba(10, 20, 18, 0.75));
  border-color: rgba(125, 255, 179, 0.65);
  box-shadow:
    0 0 0 1px rgba(125, 255, 179, 0.15) inset,
    0 0 22px rgba(45, 220, 150, 0.35),
    0 0 48px rgba(45, 220, 150, 0.18);
  text-shadow: 0 0 18px rgba(125, 255, 179, 0.55);
}

.neon-btn--tg:hover {
  color: #b6ffd6;
  border-color: rgba(182, 255, 214, 0.95);
  box-shadow:
    0 0 0 1px rgba(182, 255, 214, 0.25) inset,
    0 0 28px rgba(45, 220, 150, 0.55),
    0 0 64px rgba(45, 220, 150, 0.28);
}

.neon-btn--tg .neon-btn__icon {
  color: #0a1210;
  background: #7dffb3;
  box-shadow: 0 0 18px rgba(125, 255, 179, 0.85);
}

.neon-btn--vk {
  color: #8ec8ff;
  background: linear-gradient(135deg, rgba(0, 140, 255, 0.28), rgba(8, 14, 28, 0.78));
  border-color: rgba(100, 180, 255, 0.7);
  box-shadow:
    0 0 0 1px rgba(100, 180, 255, 0.15) inset,
    0 0 22px rgba(0, 140, 255, 0.4),
    0 0 48px rgba(0, 140, 255, 0.2);
  text-shadow: 0 0 18px rgba(100, 180, 255, 0.55);
}

.neon-btn--vk:hover {
  color: #c5e4ff;
  border-color: rgba(180, 220, 255, 0.95);
  box-shadow:
    0 0 0 1px rgba(180, 220, 255, 0.25) inset,
    0 0 28px rgba(0, 160, 255, 0.6),
    0 0 64px rgba(0, 140, 255, 0.32);
}

.neon-btn--vk .neon-btn__icon {
  color: #fff;
  background: #1a8cff;
  box-shadow: 0 0 18px rgba(0, 160, 255, 0.9);
}

.neon-btn--sm {
  min-height: 2.55rem;
  padding: 0.4rem 0.9rem 0.4rem 0.55rem;
  gap: 0.55rem;
}

.neon-btn--sm .neon-btn__icon {
  width: 1.85rem;
  height: 1.85rem;
}

.neon-btn--sm .neon-btn__text strong {
  font-size: 0.88rem;
}

@keyframes neonPulse {
  0%, 100% { opacity: 0.28; transform: scale(0.95); }
  50% { opacity: 0.5; transform: scale(1.08); }
}

[data-theme="light"] .neon-btn--tg {
  color: #067a4a;
  background: linear-gradient(135deg, rgba(125, 255, 179, 0.35), rgba(255, 255, 255, 0.85));
  text-shadow: none;
}

[data-theme="light"] .neon-btn--vk {
  color: #0b5fbf;
  background: linear-gradient(135deg, rgba(100, 180, 255, 0.35), rgba(255, 255, 255, 0.85));
  text-shadow: none;
}

.hero-transform {
  max-width: 560px;
  animation: fadeUp 0.9s var(--ease) 0.4s both;
}

.transform-slider {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(200, 255, 0, 0.25);
  box-shadow: var(--shadow), 0 0 40px rgba(200, 255, 0, 0.08);
  user-select: none;
  touch-action: none;
  background: var(--surface);
}

.transform-before,
.transform-after {
  position: absolute;
  inset: 0;
}

.transform-after {
  width: 50%;
  overflow: hidden;
  border-right: 2px solid var(--accent);
  box-shadow: 0 0 20px rgba(200, 255, 0, 0.35);
}

.transform-before img,
.transform-after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.transform-after img {
  position: absolute;
  top: 0;
  left: 0;
  max-width: none;
}

.transform-label {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: var(--label-bg);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.transform-label--after {
  left: auto;
  right: 0.75rem;
  color: var(--accent);
}

.transform-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  margin-left: -1.5px;
  background: var(--accent);
  cursor: ew-resize;
  z-index: 2;
}

.transform-handle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: var(--panel);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 18px var(--accent-glow);
}

.transform-caption {
  margin: 0.75rem 0 0;
  color: #f4f7ee;
  font-size: 0.98rem;
  font-weight: 700;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.24);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Trust — ближе к hero, плавный выход из видео */
.trust {
  margin-top: -4.5rem;
  padding-top: 5.5rem;
  padding-bottom: 4.5rem;
  background:
    radial-gradient(ellipse 70% 45% at 12% 8%, rgba(200, 255, 0, 0.08), transparent 55%),
    linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg) 55%, var(--bg) 100%);
  border-bottom: 1px solid var(--line-soft);
}

.trust-grid {
  display: grid;
  gap: 1rem;
}

.trust-card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}

.trust-card:hover {
  border-color: rgba(200, 255, 0, 0.35);
  transform: translateY(-3px);
}

.trust-icon {
  font-family: var(--display);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

.trust-card h3 {
  margin: 0.55rem 0 0.45rem;
  font-size: 1.15rem;
}

.trust-card p {
  margin: 0;
  color: var(--muted);
}

.trust-card__btn {
  margin-top: 1rem;
  display: inline-flex;
}

/* Services */
.services-grid {
  display: grid;
  gap: 1rem;
}

.service-card {
  background: var(--card-grad);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.4rem 1.25rem;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--accent);
  opacity: 0.7;
}

.service-card h3 {
  margin: 0 0 0.55rem;
  font-family: var(--display);
  font-size: 1.2rem;
}

.service-card p,
.service-card li {
  color: var(--muted);
  margin: 0;
}

.service-card ul {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.35rem;
}

.services-catalog-intro {
  display: grid;
  gap: 1rem;
  margin-top: 1.4rem;
  margin-bottom: 1rem;
}

.services-catalog-intro h3 {
  margin: 0 0 0.55rem;
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  color: #fbfff7;
}

.services-catalog-intro p {
  margin: 0;
  color: #f0f5ea;
  font-size: 1.02rem;
}

.services-catalog-note {
  background:
    linear-gradient(135deg, rgba(200, 255, 0, 0.16), transparent 60%),
    rgba(16, 18, 14, 0.94);
  border: 1px solid rgba(200, 255, 0, 0.24);
  border-radius: 20px;
  padding: 1.2rem 1.15rem;
  box-shadow: var(--shadow);
}

.services-catalog-note strong {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--display);
  font-size: 1rem;
  color: #fbfff7;
}

.services-catalog-note p {
  color: #eef4e7;
}

.services-catalog-note .btn {
  margin-top: 0.85rem;
}

.services-price-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.1rem;
}

.service-price-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(200, 255, 0, 0.14);
  background:
    radial-gradient(circle at top right, rgba(200, 255, 0, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015)),
    #141712;
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.service-price-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200, 255, 0, 0.7), transparent);
}

.service-price-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.9rem;
  margin-bottom: 0.85rem;
}

.service-price-card__tag {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(200, 255, 0, 0.12);
  border: 1px solid rgba(200, 255, 0, 0.24);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.service-price-card__price {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  line-height: 1;
  color: #f4f7ee;
  white-space: nowrap;
}

.service-price-card h3 {
  margin: 0 0 0.55rem;
  font-family: var(--display);
  font-size: 1.15rem;
  color: #f7faf2;
}

.service-price-card p {
  margin: 0;
  color: #dfe6d7;
}

.service-price-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: 1rem;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #eef3e8;
  font-size: 0.92rem;
}

.service-price-card__meta a {
  color: var(--accent);
  font-weight: 700;
}

/* Articles */
.articles-grid {
  display: grid;
  gap: 1rem;
}

.article-card {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--line-soft);
  background: var(--card-grad);
  box-shadow: var(--shadow);
}

.article-card__media {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.article-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.article-card:hover .article-card__media img {
  transform: scale(1.05);
}

.article-card__body {
  padding: 1.15rem 1.15rem 1.25rem;
}

.article-card__tag {
  display: inline-flex;
  margin-bottom: 0.7rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(200, 255, 0, 0.12);
  border: 1px solid rgba(200, 255, 0, 0.2);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.article-card h3 {
  margin: 0 0 0.6rem;
  font-family: var(--display);
  font-size: 1.2rem;
}

.article-card h3 a {
  color: inherit;
}

.article-card p {
  margin: 0 0 0.9rem;
  color: var(--muted);
}

.article-card__link {
  color: var(--accent);
  font-weight: 700;
}

.article-page {
  padding-top: 6.5rem;
}

.article-hero {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  min-height: 420px;
  display: grid;
  align-items: end;
  background: #111;
  margin-bottom: 1.5rem;
}

.article-hero img,
.article-hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
}

.article-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 35%, rgba(8, 10, 6, 0.45) 100%),
    linear-gradient(90deg, rgba(8, 10, 6, 0.22) 0%, transparent 55%);
}

.article-hero__content {
  position: relative;
  z-index: 1;
  padding: 2rem;
  max-width: 56rem;
  margin: 1.15rem;
  border-radius: 24px;
  background: rgba(8, 10, 6, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(4px);
}

.article-hero__content h1 {
  margin: 0.35rem 0 0.75rem;
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.03;
  color: #ffffff;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.75),
    0 2px 22px rgba(0, 0, 0, 0.55);
}

.article-hero__content p {
  margin: 0;
  color: #f4f7ee;
  font-size: 1.05rem;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.7),
    0 2px 16px rgba(0, 0, 0, 0.45);
}

.article-hero__content .eyebrow {
  color: #d8ff3a;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.article-layout {
  display: grid;
  gap: 1.2rem;
}

.article-body {
  background: var(--card-grad);
  border: 1px solid var(--line-soft);
  border-radius: 24px;
  padding: 1.3rem;
  box-shadow: var(--shadow);
}

.article-body h2 {
  margin: 1.8rem 0 0.7rem;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.article-body h3 {
  margin: 1.25rem 0 0.55rem;
  font-size: 1.2rem;
}

.article-body h2:first-child,
.article-body h3:first-child {
  margin-top: 0;
}

.article-body p,
.article-body li {
  color: var(--muted);
  line-height: 1.78;
}

.article-body ul,
.article-body ol {
  padding-left: 1.2rem;
}

.article-body figure {
  margin: 1.3rem 0;
}

.article-body figure img {
  width: 100%;
  border-radius: 20px;
  border: 1px solid var(--line-soft);
  display: block;
}

.article-body figcaption {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.article-aside {
  display: grid;
  gap: 1rem;
}

.article-box {
  background: var(--card-grad);
  border: 1px solid var(--line-soft);
  border-radius: 24px;
  padding: 1.2rem 1.15rem;
  box-shadow: var(--shadow);
}

.article-box h3 {
  margin: 0 0 0.7rem;
  font-family: var(--display);
  font-size: 1.15rem;
}

.article-box p,
.article-box li {
  margin: 0;
  color: var(--muted);
}

.article-box ul {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding-left: 1rem;
}

/* Wide video showcase */
.video-showcase {
  padding-top: 0;
  margin-top: 1.4rem;
}

.video-showcase__frame {
  width: 100%;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid rgba(200, 255, 0, 0.2);
  background: #000;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
}

.video-showcase__frame video {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(78vh, 920px);
  background: #000;
}

/* Светлая тема: текст на видео всегда светлый + читаемый контраст */
[data-theme="light"] .hero-brand {
  color: #c8ff00;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55), 0 0 28px rgba(200, 255, 0, 0.35);
}

[data-theme="light"] .hero h1 {
  color: #ffffff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.65), 0 1px 2px rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .hero-lead {
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.55);
}

[data-theme="light"] .hero-benefits li {
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .hero-benefits li::before {
  background: #c8ff00;
}

[data-theme="light"] .hero .btn-outline {
  color: #ffffff !important;
  border-color: rgba(200, 255, 0, 0.65);
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(8px);
}

[data-theme="light"] .hero .btn-outline:hover {
  background: rgba(200, 255, 0, 0.18);
  border-color: #c8ff00;
}

[data-theme="light"] .hero-video {
  filter: brightness(0.72) contrast(1.08) saturate(1.05);
}

[data-theme="light"] .services-catalog-intro h3,
[data-theme="light"] .services-catalog-intro p {
  color: #182014;
}

[data-theme="light"] .services-catalog-note {
  background:
    linear-gradient(135deg, rgba(111, 152, 0, 0.14), transparent 60%),
    #ffffff;
  border-color: rgba(95, 130, 0, 0.24);
}

[data-theme="light"] .services-catalog-note strong,
[data-theme="light"] .services-catalog-note p {
  color: #1a2216;
}

[data-theme="light"] .service-price-card {
  border-color: rgba(95, 130, 0, 0.18);
  background:
    radial-gradient(circle at top right, rgba(111, 152, 0, 0.14), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 246, 240, 0.96)),
    #ffffff;
}

[data-theme="light"] .service-price-card__price,
[data-theme="light"] .service-price-card h3,
[data-theme="light"] .service-price-card p,
[data-theme="light"] .service-price-card__meta {
  color: #182014;
}

[data-theme="light"] .service-price-card__meta {
  border-top-color: rgba(24, 32, 20, 0.12);
}

[data-theme="light"] .business-lead,
[data-theme="light"] .business-pills span {
  color: #182014;
}

[data-theme="light"] .business-pills span {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(95, 130, 0, 0.24);
}

[data-theme="light"] .business-card-premium {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(244, 246, 240, 0.96)),
    #ffffff;
  border-color: rgba(95, 130, 0, 0.16);
  box-shadow: 0 24px 50px rgba(34, 40, 24, 0.12);
}

[data-theme="light"] .business-card-premium__head strong,
[data-theme="light"] .business-card-premium__head p,
[data-theme="light"] .business-card-premium__grid strong,
[data-theme="light"] .business-card-premium__list li {
  color: #182014;
}

[data-theme="light"] .business-card-premium__eyebrow {
  background: rgba(111, 152, 0, 0.1);
  border-color: rgba(95, 130, 0, 0.22);
  color: #5f8200;
}

[data-theme="light"] .business-card-premium__grid span {
  color: #647059;
}

[data-theme="light"] .business-card-premium__grid > div,
[data-theme="light"] .business-card-premium__list {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(24, 32, 20, 0.08);
}

/* Process */
.process {
  background: var(--bg-elevated);
}

.process-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  counter-reset: none;
}

.process-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--line-soft);
}

.process-steps span {
  font-family: var(--display);
  color: var(--accent);
  font-weight: 700;
  font-size: 1.1rem;
}

.process-steps strong {
  font-size: 1.02rem;
  font-weight: 700;
}

/* Control */
.control {
  background:
    radial-gradient(ellipse 50% 60% at 90% 50%, rgba(200, 255, 0, 0.08), transparent 55%),
    var(--bg);
}

.control-layout {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.control-accent {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}

.control .btn {
  margin-top: 0.5rem;
}

.control-panel {
  background: var(--panel);
  border: 1px solid rgba(200, 255, 0, 0.28);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 0 40px rgba(200, 255, 0, 0.08);
}

.control-panel__bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1rem;
  background: var(--panel-bar);
  border-bottom: 1px solid var(--line-soft);
}

.control-panel__bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #333;
}

.control-panel__bar span:nth-child(1) { background: #ff5f57; }
.control-panel__bar span:nth-child(2) { background: #febc2e; }
.control-panel__bar span:nth-child(3) { background: var(--accent); }

.control-panel__bar em {
  margin-left: auto;
  font-style: normal;
  font-family: var(--display);
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.06em;
}

.control-panel__feed {
  padding: 1.15rem 1.2rem 1.35rem;
  display: grid;
  gap: 0.7rem;
  font-family: var(--display);
  font-size: 0.95rem;
}

.control-panel__feed p {
  margin: 0;
  padding: 0.65rem 0.8rem;
  border-radius: 10px;
  background: rgba(200, 255, 0, 0.06);
  border: 1px solid rgba(200, 255, 0, 0.12);
  animation: pulseLine 3.2s ease-in-out infinite;
}

.control-panel__feed p:nth-child(2) { animation-delay: 0.4s; }
.control-panel__feed p:nth-child(3) { animation-delay: 0.8s; }
.control-panel__feed p:nth-child(4) { animation-delay: 1.2s; }

@keyframes pulseLine {
  0%, 100% { opacity: 0.65; }
  50% { opacity: 1; }
}

/* Gallery */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.gallery-filters button {
  border: 1px solid var(--line-soft);
  background: var(--surface);
  color: var(--muted);
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: 0.25s;
}

.gallery-filters button.is-active,
.gallery-filters button:hover {
  color: var(--accent-on);
  background: #c8ff00;
  border-color: #c8ff00;
}

.gallery-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.gallery-item {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: var(--surface);
  position: relative;
  transition: transform 0.35s var(--ease), border-color 0.35s;
}

.gallery-item:hover {
  transform: translateY(-4px);
  border-color: rgba(200, 255, 0, 0.4);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.gallery-item figcaption {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: var(--label-bg);
  font-size: 0.78rem;
  font-weight: 700;
}

.gallery-item.is-hidden {
  display: none;
}

/* Business */
.business {
  background:
    radial-gradient(circle at top right, rgba(200, 255, 0, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 30%),
    var(--bg-elevated);
}

.business-layout {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.business-copy {
  position: relative;
}

.business-lead {
  max-width: 50rem;
  font-size: 1.1rem;
  color: #eef4e7;
}

.business-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1rem 0 1.1rem;
}

.business-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(200, 255, 0, 0.24);
  background: rgba(255, 255, 255, 0.04);
  color: #f4f7ee;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  display: grid;
  gap: 0.45rem;
}

.check-list li {
  position: relative;
  padding-left: 1.4rem;
  font-weight: 600;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.7rem;
  height: 0.7rem;
  background: var(--accent);
  border-radius: 2px;
}

.business-targets {
  color: var(--muted);
}

.business-visual {
  min-height: 220px;
  display: grid;
  place-items: center;
}

.business-card-premium {
  width: min(100%, 420px);
  display: grid;
  gap: 1rem;
  padding: 1.4rem;
  border-radius: 28px;
  border: 1px solid rgba(200, 255, 0, 0.18);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)),
    #11140f;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
}

.business-card-premium__head strong {
  display: block;
  margin-bottom: 0.65rem;
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  line-height: 1.08;
  color: #ffffff;
}

.business-card-premium__head p {
  margin: 0;
  color: #d7ddcf;
  line-height: 1.55;
}

.business-card-premium__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  margin-bottom: 0.8rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(200, 255, 0, 0.12);
  border: 1px solid rgba(200, 255, 0, 0.26);
  color: #c8ff00;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.business-card-premium__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.business-card-premium__grid > div,
.business-card-premium__list {
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.business-card-premium__grid > div {
  padding: 0.95rem 1rem;
}

.business-card-premium__grid span {
  display: block;
  margin-bottom: 0.25rem;
  color: #9ca691;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.business-card-premium__grid strong {
  font-family: var(--display);
  font-size: 1.05rem;
  color: #f4f7ee;
}

.business-card-premium__list {
  list-style: none;
  margin: 0;
  padding: 1rem;
  display: grid;
  gap: 0.6rem;
}

.business-card-premium__list li {
  position: relative;
  padding-left: 1.2rem;
  color: #e5eadf;
  line-height: 1.45;
}

.business-card-premium__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 2px;
  background: #c8ff00;
}

/* Reviews */
.reviews-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  max-width: none;
}

.reviews-head .section-lead {
  margin-top: 0.75rem;
}

.reviews-grid {
  display: grid;
  gap: 1rem;
}

.review-card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1rem;
  display: grid;
  gap: 0.75rem;
}

.review-photo {
  border-radius: 12px;
  overflow: hidden;
}

.review-photo img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.review-stars {
  color: var(--accent);
  letter-spacing: 0.08em;
}

.review-card p {
  margin: 0;
  color: var(--text-lead);
}

.review-card footer {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.review-card--compact {
  padding: 1rem 1.1rem;
}

.review-card--compact .review-photo {
  display: none;
}

/* Reviews modal */
.reviews-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.reviews-modal[hidden] {
  display: none !important;
}

.reviews-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
}

.reviews-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: min(86vh, 820px);
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  border: 1px solid rgba(200, 255, 0, 0.28);
  background: var(--bg-elevated);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.reviews-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid var(--line-soft);
  background: var(--surface);
}

.reviews-modal__head h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.2rem, 3vw, 1.55rem);
}

.reviews-modal__close {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line-soft);
  background: var(--bg);
  color: var(--text);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}

.reviews-modal__close:hover {
  border-color: rgba(200, 255, 0, 0.45);
  color: var(--accent);
}

.reviews-modal__body {
  padding: 1rem 1.15rem 1.35rem;
  overflow: auto;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}

body.reviews-modal-open {
  overflow: hidden;
}

/* Director */
.director {
  background:
    radial-gradient(ellipse 55% 60% at 8% 40%, rgba(200, 255, 0, 0.1), transparent 55%),
    linear-gradient(180deg, var(--surface-2) 0%, var(--bg-elevated) 100%);
  border-block: 1px solid var(--line-soft);
}

.director-layout {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.director-photo {
  margin: 0;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(200, 255, 0, 0.28);
  box-shadow: var(--shadow), 0 0 40px rgba(200, 255, 0, 0.08);
  background: #111;
}

.director-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.director-photo figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.1rem 1.15rem;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.82));
  color: #c8ff00;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.director-copy h2,
.director-name {
  max-width: none;
  margin: 0;
  display: grid;
  gap: 0.55rem;
}

.director-name__fio {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.55rem, 4.2vw, 2.35rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text);
}

.director-name__role {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  width: fit-content;
  max-width: 100%;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(200, 255, 0, 0.35);
  background: rgba(200, 255, 0, 0.08);
  font-family: var(--font);
  font-size: clamp(0.88rem, 2vw, 1.02rem);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-lead);
  line-height: 1.3;
}

.director-name__role em {
  font-style: normal;
  color: var(--accent);
  font-weight: 800;
}

.director-lead {
  font-size: 1.08rem;
  color: var(--text-soft);
  margin: 1rem 0 0;
}

.director-copy > p {
  color: var(--text-lead);
  margin: 0.9rem 0 0;
  max-width: 58ch;
}

.director-copy strong {
  color: var(--text);
  font-weight: 800;
}

.director-promise {
  margin: 1.35rem 0 0;
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius-sm);
  border-left: 3px solid #c8ff00;
  background: rgba(200, 255, 0, 0.07);
  border-top: 1px solid var(--line-soft);
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.director-promise p {
  margin: 0;
  font-family: var(--display);
  font-size: 1.02rem;
  line-height: 1.45;
  color: var(--text);
}

.director-stats {
  list-style: none;
  margin: 1.35rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.director-stats li {
  display: grid;
  gap: 0.2rem;
  padding: 0.85rem 0.75rem;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  text-align: center;
}

.director-stats strong {
  font-family: var(--display);
  font-size: clamp(1.15rem, 3vw, 1.45rem);
  color: var(--accent);
  line-height: 1.1;
}

.director-stats span {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.25;
}

.director-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.btn-accent-soft {
  background: transparent;
  color: var(--text) !important;
  border: 1px solid rgba(200, 255, 0, 0.55);
  box-shadow: inset 0 0 0 0 rgba(200, 255, 0, 0.2);
}

.btn-accent-soft:hover {
  background: var(--accent-dim);
  border-color: #c8ff00;
  box-shadow: 0 0 20px rgba(200, 255, 0, 0.18);
}

[data-theme="light"] .btn-accent-soft {
  background: #c8ff00;
  color: #0a0a0a !important;
  border-color: #c8ff00;
}

[data-theme="light"] .btn-accent-soft:hover {
  background: #d6ff3d;
}

.director-sign {
  margin: 1.15rem 0 0 !important;
  max-width: none !important;
  font-family: var(--display);
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: var(--text) !important;
  letter-spacing: -0.01em;
}

.director-sign::before {
  content: "";
  display: block;
  width: 2.5rem;
  height: 3px;
  border-radius: 2px;
  background: #c8ff00;
  margin-bottom: 0.65rem;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 0.75rem;
  max-width: 820px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  padding: 0.25rem 1rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  padding: 1rem 0;
  list-style: none;
  font-family: var(--display);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--accent);
  font-size: 1.2rem;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 0 0 1rem;
  color: var(--muted);
}

/* CTA / form */
.cta {
  background:
    radial-gradient(ellipse 70% 50% at 20% 0%, var(--accent-dim), transparent 55%),
    var(--bg);
}

.cta-layout {
  display: grid;
  gap: 2rem;
  align-items: start;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.cta-actions .btn-accent {
  font-weight: 800;
  box-shadow: 0 0 22px rgba(200, 255, 0, 0.35);
}

.cta-actions .btn-accent:hover {
  box-shadow: 0 0 34px rgba(200, 255, 0, 0.55);
}

.cta-actions .cta-actions__phone,
.cta-actions .btn-accent-soft {
  background: rgba(200, 255, 0, 0.18);
  border: 1px solid rgba(200, 255, 0, 0.75);
  color: #e8ff6a !important;
  font-weight: 800;
  box-shadow: 0 0 18px rgba(200, 255, 0, 0.2);
}

.cta-actions .cta-actions__phone:hover,
.cta-actions .btn-accent-soft:hover {
  background: rgba(200, 255, 0, 0.32);
  border-color: #c8ff00;
  color: #f4ff9a !important;
  box-shadow: 0 0 28px rgba(200, 255, 0, 0.4);
}

[data-theme="light"] .cta-actions .cta-actions__phone,
[data-theme="light"] .cta-actions .btn-accent-soft {
  background: #c8ff00;
  border-color: #9fcc00;
  color: #0a0a0a !important;
  box-shadow: 0 4px 16px rgba(111, 152, 0, 0.28);
}

[data-theme="light"] .cta-actions .cta-actions__phone:hover,
[data-theme="light"] .cta-actions .btn-accent-soft:hover {
  background: #d6ff3d;
  color: #0a0a0a !important;
}

.lead-form {
  background: var(--surface);
  border: 1px solid rgba(200, 255, 0, 0.22);
  border-radius: var(--radius);
  padding: 1.35rem;
  display: grid;
  gap: 0.85rem;
  box-shadow: var(--shadow);
}

.lead-form h3 {
  margin: 0;
  font-family: var(--display);
}

.lead-form-note {
  margin: -0.35rem 0 0.25rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.lead-form label {
  display: grid;
  gap: 0.35rem;
}

.lead-form label > span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-lead);
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line-soft);
  background: var(--input-bg);
  color: var(--text);
  padding: 0.8rem 0.95rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: rgba(200, 255, 0, 0.55);
  box-shadow: 0 0 0 3px rgba(200, 255, 0, 0.12);
}

.lead-form .consent {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.lead-form .consent input {
  width: auto;
  margin-top: 0.2rem;
}

.lead-form .hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
  height: 0;
  width: 0;
}

.form-status {
  margin: 0;
  font-weight: 600;
}

.form-status.is-ok {
  color: var(--accent);
}

.form-status.is-err {
  color: #ff8f8f;
}

/* Contacts */
.contacts-layout {
  display: grid;
  gap: 1.25rem;
}

.contacts-info p {
  margin: 0 0 0.75rem;
  color: var(--text-lead);
}

.map-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  min-height: 360px;
  height: 360px;
  background: var(--surface);
}

.map-wrap > ymaps {
  display: block;
  width: 100%;
  height: 100%;
}

.map-wrap iframe {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
  filter: var(--map-filter);
}

/* Iframe fallback: balloon-like brand + address box */
.map-pin-label {
  position: absolute;
  left: 50%;
  top: 42%;
  z-index: 2;
  transform: translate(-50%, -100%);
  max-width: min(280px, calc(100% - 2rem));
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  border: 1px solid var(--line-soft);
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  pointer-events: none;
  font-size: 0.82rem;
  line-height: 1.35;
}

.map-pin-label strong {
  display: block;
  font-family: var(--display);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  margin-bottom: 0.2rem;
}

.map-pin-label span {
  display: block;
  color: var(--text-lead);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line-soft);
  padding: 2rem 0 6rem;
  background: var(--footer-bg);
}

.footer-inner {
  display: grid;
  gap: 1.25rem;
}

.site-footer .brand {
  max-width: 100%;
}

.site-footer .brand-text strong {
  white-space: nowrap;
}

.footer-nav {
  display: grid;
  gap: 1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.footer-social__link {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #0a0a0a !important;
  background: var(--accent);
  text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  box-shadow: 0 8px 20px rgba(200, 255, 0, 0.22);
}

.footer-social__link:hover {
  transform: translateY(-2px) scale(1.05);
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(200, 255, 0, 0.35);
}

.footer-social__link--vk {
  background: #0077ff;
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(0, 119, 255, 0.35);
}

.footer-social__link--vk:hover {
  box-shadow: 0 12px 28px rgba(0, 119, 255, 0.45);
}

.footer-meta {
  display: grid;
  gap: 0.65rem;
}

.footer-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-dev {
  margin: 0;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.75rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.footer-dev__label {
  letter-spacing: 0.02em;
}

.footer-dev__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.75rem 0.4rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(200, 255, 0, 0.55);
  background: linear-gradient(135deg, rgba(200, 255, 0, 0.28), rgba(200, 255, 0, 0.08));
  color: #d8ff3a !important;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none !important;
  text-shadow: 0 0 14px rgba(200, 255, 0, 0.35);
  box-shadow: 0 0 16px rgba(200, 255, 0, 0.12);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s var(--ease), background 0.25s, color 0.25s;
}

.footer-dev__link:hover {
  border-color: rgba(200, 255, 0, 0.85);
  color: #e8ff6a !important;
  box-shadow: 0 0 28px rgba(200, 255, 0, 0.32);
  transform: translateY(-1px);
  background: linear-gradient(135deg, rgba(200, 255, 0, 0.4), rgba(200, 255, 0, 0.12));
}

.footer-dev__mark {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 2px;
  background: #d8ff3a;
  box-shadow: 0 0 14px rgba(200, 255, 0, 0.75);
  flex-shrink: 0;
}

[data-theme="light"] .footer-dev__link {
  border-color: rgba(111, 152, 0, 0.55);
  background: linear-gradient(135deg, rgba(200, 255, 0, 0.42), rgba(200, 255, 0, 0.16));
  color: #4a6a00 !important;
  text-shadow: none;
  box-shadow: 0 2px 12px rgba(80, 110, 0, 0.12);
}

[data-theme="light"] .footer-dev__link:hover {
  border-color: rgba(90, 130, 0, 0.75);
  color: #355000 !important;
  background: linear-gradient(135deg, rgba(200, 255, 0, 0.55), rgba(200, 255, 0, 0.22));
}

[data-theme="light"] .footer-dev__mark {
  background: #6f9800;
  box-shadow: 0 0 10px rgba(111, 152, 0, 0.55);
}

/* Float social (VK + Telegram) — neon */
.float-social {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  display: grid;
  gap: 0.75rem;
}

.float-social__btn {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s;
  overflow: visible;
}

.float-social__btn:hover {
  transform: scale(1.08) translateY(-2px);
  text-decoration: none;
}

.float-social__ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid currentColor;
  opacity: 0.55;
  animation: neonRing 2.4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes neonRing {
  0%, 100% { transform: scale(1); opacity: 0.45; }
  50% { transform: scale(1.12); opacity: 0.85; }
}

.float-social__btn--vk {
  color: #9fd0ff;
  background: radial-gradient(circle at 30% 25%, #3aa0ff, #0a3d8c 70%);
  border-color: rgba(140, 200, 255, 0.75);
  box-shadow:
    0 0 18px rgba(0, 150, 255, 0.55),
    0 0 40px rgba(0, 120, 255, 0.3),
    0 8px 24px rgba(0, 0, 0, 0.35);
}

.float-social__btn--vk:hover {
  box-shadow:
    0 0 26px rgba(80, 180, 255, 0.75),
    0 0 56px rgba(0, 140, 255, 0.4),
    0 10px 28px rgba(0, 0, 0, 0.35);
}

.float-social__btn--tg {
  color: #0a1210;
  background: radial-gradient(circle at 30% 25%, #b8ff7a, #2ecc71 68%);
  border-color: rgba(180, 255, 140, 0.85);
  box-shadow:
    0 0 18px rgba(80, 255, 160, 0.55),
    0 0 40px rgba(46, 204, 113, 0.35),
    0 8px 24px rgba(0, 0, 0, 0.35);
}

.float-social__btn--tg:hover {
  box-shadow:
    0 0 26px rgba(140, 255, 180, 0.8),
    0 0 56px rgba(46, 204, 113, 0.45),
    0 10px 28px rgba(0, 0, 0, 0.35);
}

/* Legacy alias */
.float-tg {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #c8ff00;
  color: #0a0a0a !important;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(200, 255, 0, 0.35);
  transition: transform 0.25s var(--ease);
}

.float-tg:hover {
  transform: scale(1.06);
  text-decoration: none;
}

/* Reveal on scroll */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Privacy page */
.legal-page {
  padding: 7rem 0 4rem;
}

.legal-page h1 {
  font-family: var(--display);
  margin-top: 0;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
  max-width: 70ch;
}

@media (max-width: 480px) {
  .btn {
    white-space: normal;
    text-align: center;
  }

  .service-price-card__top,
  .service-price-card__meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .service-price-card__price {
    white-space: normal;
  }

  /* Keep «Трансформация 64» fully visible on one line; shrink type if needed */
  .brand-text strong {
    white-space: nowrap;
    font-size: 0.82rem;
  }

  .site-footer .brand-text strong {
    white-space: nowrap;
  }

  .why-title__lead,
  .why-title__brand {
    white-space: normal;
  }

  .director-stats {
    grid-template-columns: 1fr;
  }

  .business-card-premium__grid {
    grid-template-columns: 1fr;
  }

  .map-wrap iframe {
    height: 300px;
  }

  .float-social {
    right: 0.75rem;
    bottom: max(5.25rem, calc(env(safe-area-inset-bottom, 0px) + 4.75rem));
    gap: 0.5rem;
  }

  .float-social__btn {
    width: 50px;
    height: 50px;
  }

  .float-tg {
    right: 0.75rem;
    bottom: max(5.25rem, calc(env(safe-area-inset-bottom, 0px) + 4.75rem));
    width: 50px;
    height: 50px;
  }
}

/* Responsive */
@media (min-width: 640px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-price-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reviews-modal__body {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 720px) {
  .header-phone {
    display: inline;
  }
}

@media (min-width: 960px) {
  .hero {
    align-items: center;
    padding: 6.5rem 0 0;
  }

  .hero-content {
    padding-bottom: 3rem;
  }

  .trust {
    margin-top: -5.5rem;
    padding-top: 6.5rem;
  }

  .hero-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
    align-items: end;
  }

  .hero-brand,
  .hero h1,
  .hero-lead,
  .hero-benefits,
  .hero-cta,
  .neon-social {
    grid-column: 1;
  }

  .hero-transform {
    grid-column: 2;
    grid-row: 1 / span 6;
    align-self: center;
    max-width: none;
  }

  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .services-catalog-intro {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }

  .services-price-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .articles-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .article-layout {
    grid-template-columns: minmax(0, 1.25fr) minmax(290px, 0.75fr);
    align-items: start;
  }

  .article-aside {
    position: sticky;
    top: 6.5rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .process-steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .control-layout,
  .business-layout,
  .cta-layout,
  .contacts-layout,
  .director-layout {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2.5rem;
  }

  .director-layout {
    grid-template-columns: 0.85fr 1.15fr;
  }

  .video-showcase__frame video {
    max-height: min(82vh, 980px);
  }

  .footer-inner {
    grid-template-columns: 1.2fr 1fr auto;
    align-items: center;
  }
}

@media (min-width: 1100px) {
  .nav-desktop {
    display: flex;
  }

  .nav-desktop__more {
    display: none;
  }

  .nav-toggle,
  .nav-mobile {
    display: none !important;
  }

  .theme-toggle {
    width: 42px;
    height: 42px;
  }
}

@media (min-width: 1280px) {
  .nav-desktop__more {
    display: inline;
  }

  .nav-desktop a {
    font-size: 0.88rem;
    padding: 0.5rem 0.65rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  html.theme-animating,
  html.theme-animating *,
  html.theme-animating *::before,
  html.theme-animating *::after {
    transition: none !important;
  }
}
