/* DDКАРС — styles.css
   Тёмная тема под фирстиль сообщества. Токены, раскладка и формы — docs/PLAN.md, шаг 2. */

:root {
  --bg: #0b0f16;
  --surface: #121a26;
  --surface-2: #182333;
  --border: #233149;
  --text: #eef2f8;
  --muted: #9fb0c7;
  --accent: #2f7cf6;
  --accent-strong: #0a5ae0;
  --danger: #e5484d;
  --radius: 14px;
  --container: 1160px;
}

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

/* Атрибут hidden сильнее любых display из авторских стилей */
[hidden] {
  display: none !important;
}

html {
  scroll-padding-top: 84px;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

.ico {
  width: 1.25em;
  height: 1.25em;
  flex: none;
}

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

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 15, 22, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 72px;
}


.logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-decoration: none;
  line-height: 1;
  margin: -8px 0;
}

.logo img {
  width: auto;
  height: 46px;
}

.logo-sub {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 2px;
  font-size: 0.5rem;
  font-weight: 600;
  font-style: normal;
  color: var(--muted);
}

.logo-sub i {
  font-style: normal;
  line-height: 1;
}

.nav {
  display: flex;
  gap: 20px;
  margin-left: auto;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 6px 2px;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  transition: right 0.25s ease;
}

.nav a:hover {
  color: var(--text);
}

.nav a:hover::after {
  right: 0;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
}

.header-phone:hover {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- Buttons ---------- */

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn--primary {
  background: linear-gradient(180deg, var(--accent), var(--accent-strong));
  color: #fff;
  box-shadow: 0 8px 24px -10px rgba(47, 124, 246, 0.55);
  animation: btn-pulse 2.6s ease-in-out 1.2s infinite;
}

@keyframes btn-pulse {
  0%, 100% {
    box-shadow: 0 8px 24px -10px rgba(47, 124, 246, 0.55), 0 0 0 0 rgba(47, 124, 246, 0.45);
  }
  45% {
    box-shadow: 0 8px 24px -10px rgba(47, 124, 246, 0.55), 0 0 0 12px rgba(47, 124, 246, 0);
  }
  60% {
    box-shadow: 0 8px 24px -10px rgba(47, 124, 246, 0.55), 0 0 0 0 rgba(47, 124, 246, 0);
  }
}

.btn--primary:hover {
  background: linear-gradient(180deg, #3f88f8, var(--accent-strong));
  transform: translateY(-1px);
  box-shadow: 0 12px 28px -10px rgba(47, 124, 246, 0.65);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(159, 176, 199, 0.55);
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

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

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 85% 0%, rgba(47, 124, 246, 0.18), transparent 65%),
    linear-gradient(180deg, #0e2a5c, #0b0f16);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(47, 124, 246, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 124, 246, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, blue 30%, transparent 75%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
  padding-top: 64px;
  padding-bottom: 72px;
  position: relative;
}
.hero-content h1 {
  font-size: clamp(1.9rem, 4.2vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}

.hero-content h1 .brand {
  color: var(--accent);
  white-space: nowrap;
}

.hero-sub {
  color: var(--muted);
  font-size: 1.06rem;
  max-width: 480px;
  margin-bottom: 26px;
}

.hero-points {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin-bottom: 28px;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.98rem;
}

.hero-points .ico {
  color: var(--accent);
  width: 1.35em;
  height: 1.35em;
}

/* VK wording: подход салона */

.section-lead {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin: -20px 0 32px;
}

.hero-photo {
  position: relative;
  align-self: stretch;
}

.photo-stack {
  position: relative;
  height: 100%;
  min-height: 480px;
  max-width: 620px;
  margin: 0 auto;
}

.stack-orb {
  position: absolute;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid rgba(18, 26, 38, 0.9);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

.orb-main {
  width: clamp(300px, 23vw, 370px);
  height: clamp(300px, 23vw, 370px);
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  object-position: center 30%;
  animation: kenburns 14s ease-in-out infinite alternate;
}

.orb-1 {
  width: clamp(140px, 11vw, 180px);
  height: clamp(140px, 11vw, 180px);
  left: 0;
  top: 74%;
  animation: orb-float 7s ease-in-out infinite;
}

.orb-2 {
  width: clamp(115px, 9.5vw, 150px);
  height: clamp(115px, 9.5vw, 150px);
  right: -1%;
  top: 0;
  animation: orb-float 8.5s ease-in-out 1.2s infinite;
}

.orb-3 {
  width: clamp(96px, 8vw, 128px);
  height: clamp(96px, 8vw, 128px);
  left: -3%;
  top: 6%;
  object-position: center 45%;
  animation: orb-float 9s ease-in-out 2.1s infinite;
}

.orb-4 {
  width: clamp(88px, 7.2vw, 118px);
  height: clamp(88px, 7.2vw, 118px);
  right: 2%;
  bottom: 0;
  object-position: 42% 50%;
  animation: orb-float 7.6s ease-in-out 3s infinite;
}

@keyframes orb-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@media (prefers-reduced-motion: reduce) {
  .orb-1, .orb-2, .orb-3, .orb-4, .orb-main, .btn--primary { animation: none; }
  .split img, .steps-photo img { transition: none; }
  .split:hover img, .steps-photo:hover img { transform: none; }
}

@keyframes kenburns {
  from { transform: scale(1); }

  to { transform: scale(1.06) translate(1.5%, -1.5%); }
}

/* ---------- Photo backgrounds (credit / sell / FAQ) ---------- */

.section--photo {
  position: relative;
  isolation: isolate;
}

/* фото-фон поверх заливки section--alt */
.section--alt.section--photo {
  background: var(--bg);
  border-top: 0;
  border-bottom: 0;
}

.section-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-size: cover;
  background-position: center;
  opacity: 0.16;
}

.section-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--bg) 0%, rgba(11, 15, 22, 0.55) 45%, var(--bg) 100%);
}

.section--photo .lead-form {
  background: rgba(18, 26, 38, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* ---------- Stats band ---------- */

.stats {
  position: relative;
  isolation: isolate;
  border-block: 1px solid var(--border);
  overflow: hidden;
}

.stats-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("images/spare-showroom-line.jpg") center / cover no-repeat;
}

.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(11, 15, 22, 0.94), rgba(11, 15, 22, 0.82), rgba(11, 15, 22, 0.94));
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 44px;
  padding-bottom: 44px;
}

.stat {
  display: grid;
  gap: 2px;
  justify-items: center;
  text-align: center;
}

.stat-num {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.stat-label {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

/* ---------- Hero interactive (cursor glow + tilt) ---------- */

.hero-content {
  position: relative;
}

.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  background: radial-gradient(480px circle at var(--mx, 50%) var(--my, 50%), rgba(47, 124, 246, 0.14), transparent 65%);
}

.hero:hover .hero-glow {
  opacity: 1;
}

.hero-photo {
  transition: transform 0.3s ease;
  transform-style: preserve-3d;
  will-change: transform;
}

/* ---------- Button shine sweep ---------- */

.btn--primary {
  position: relative;
  overflow: hidden;
}
.btn--primary::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -80%;
  width: 50%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s ease;
}

.btn--primary:hover::after {
  left: 130%;
}

/* ---------- Film grain overlay ---------- */

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

@media (prefers-reduced-motion: no-preference) {
  .hero-content > * {
    opacity: 0;
    animation: rise 0.7s ease forwards;
  }
  .hero-content > *:nth-child(1) { animation-delay: 0.05s; }
  .hero-content > *:nth-child(2) { animation-delay: 0.15s; }
  .hero-content > *:nth-child(3) { animation-delay: 0.25s; }
  .hero-content > *:nth-child(4) { animation-delay: 0.35s; }
  .hero-content > *:nth-child(n+5) { animation-delay: 0.45s; }
  .hero-photo {
    opacity: 0;
    animation: rise 0.8s ease 0.2s forwards;
  }
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

.hero-content > * {
  transform: translateY(18px);
}

.hero-photo {
  transform: translateY(18px);
}

/* ---------- Ticker strip ---------- */

.ticker {
  overflow: hidden;
  max-width: 100vw;
  border-block: 1px solid var(--border);
  background: var(--surface);
  padding: 14px 0;
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 32px;
  width: max-content;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.ticker-track span {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--muted);
  white-space: nowrap;
}

.ticker-track i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

.ticker.is-visible .ticker-track {
  animation: ticker-scroll 30s linear infinite;
}

@keyframes ticker-scroll {
  to { transform: translateX(-25%); }
}

/* ---------- Sections ---------- */

.section {
  padding: 72px 0;
}

.section--alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin-bottom: 12px;
}

.section h2 + .section-lead {
  margin-top: 0;
}

/* ---------- Services ---------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 14px 32px -18px rgba(47, 124, 246, 0.5);
}

.card:hover .card-ico {
  transform: scale(1.12);
}

.card-ico {
  width: 28px;
  height: 28px;
  color: var(--accent);
  margin-bottom: 12px;
  transition: transform 0.25s ease;
}

.card h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.card p {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 10px;
  flex: 1;
}

.card-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
}

.card-link:hover {
  text-decoration: underline;
}

/* ---------- Split sections (credit / sell / steps / contacts) ---------- */

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.check-list {
  list-style: none;
  display: grid;
  gap: 14px;
  margin-bottom: 22px;
}

.check-list li {
  display: flex;
  gap: 10px;
}

.check-list .ico {
  color: var(--accent);
  margin-top: 4px;
}

.credit-note {
  color: var(--muted);
  font-size: 0.82rem;
}

/* ---------- Forms ---------- */

.lead-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.form-sub {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 4px 0 18px;
}

.form-fields {
  display: grid;
  gap: 14px;
  margin-bottom: 14px;
}

.lead-form label {
  display: grid;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
}

.lead-form input {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font: inherit;
}

.lead-form input::placeholder {
  color: var(--muted);
  opacity: 0.7;
}

.lead-form input:focus {
  outline: none;
  border-color: var(--accent);
}

.lead-form input[aria-invalid="true"] {
  border-color: var(--danger);
}

.field-error {
  color: var(--danger);
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.lead-form .btn {
  width: 100%;
}

.form-note {
  color: var(--muted);
  font-size: 0.8rem;
  margin-top: 12px;
}

.form-success {
  text-align: center;
  padding: 18px 0 6px;
}

.form-success::before {
  content: "";
  display: block;
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 30px no-repeat;
}

/* ---------- Import banner ---------- */

.import-banner {
  background:
    linear-gradient(rgba(8, 13, 22, 0.78), rgba(8, 13, 22, 0.78)),
    url("images/adv-carrier.jpg") center / cover no-repeat;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.import-banner .container {
  padding-top: 84px;
  padding-bottom: 84px;
  display: grid;
  justify-items: center;
  gap: 14px;
}

.import-banner h2 {
  font-size: clamp(1.5rem, 3.4vw, 2.2rem);
  margin-bottom: 0;
}

.import-banner p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 12px;
}

/* ---------- Advantages ---------- */

.splits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.split {
  display: grid;
  gap: 16px;
}

.split img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: transform 0.45s ease, box-shadow 0.45s ease, border-color 0.45s ease;
}

.split:hover img {
  transform: scale(1.04) translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 20px 40px -20px rgba(47, 124, 246, 0.45);
}

.split-body h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.split-body p {
  color: var(--muted);
}

.adv-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.adv-cards .card {
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 16px 20px;
}

.adv-cards .card-ico {
  margin-bottom: 0;
  flex: none;
}

.adv-text {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  transform: translateY(3px);
}

.adv-text h3 {
  font-size: 1rem;
  margin-bottom: 0;
}

.adv-text p {
  font-size: 0.9rem;
}

/* ---------- Steps ---------- */

.steps-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 22px;
}

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 4px 16px;
  align-items: start;
}

.steps li::before {
  grid-row: 1;
  content: counter(step, decimal-leading-zero);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
}

.steps h3 {
  grid-column: 2;
  grid-row: 1;
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.steps p {
  grid-column: 2;
  color: var(--muted);
  font-size: 0.94rem;
}

.steps-photo img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: transform 0.5s ease, box-shadow 0.5s ease, border-color 0.5s ease;
}

.steps-photo:hover img {
  transform: perspective(900px) rotateX(3deg) rotateY(-4deg) scale(1.03);
  border-color: var(--accent);
  box-shadow: -18px 24px 44px -22px rgba(47, 124, 246, 0.45);
}

/* ---------- Contacts ---------- */

.contacts-map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 24px 48px -32px rgba(0, 0, 0, 0.6);
}

.contacts-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  filter: grayscale(0.25);
}

.btn--avito {
  color: #a4e645;
  border-color: rgba(164, 230, 69, 0.45);
}

.btn--avito:hover {
  border-color: #a4e645;
  color: #c0f76e;
  background: rgba(164, 230, 69, 0.08);
}

/* ---------- Contacts ---------- */

.contacts-card h2 {
  margin-bottom: 20px;
}

.contacts-row {
  color: var(--muted);
  margin-bottom: 8px;
}

.contacts-address {
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}

.contacts-address:hover {
  color: var(--accent);
}

.contacts-phone {
  display: inline-block;
  color: var(--text);
  font-weight: 800;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  text-decoration: none;
  margin: 8px 0 20px;
}

.contacts-phone:hover {
  color: var(--accent);
}

.contacts-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}

.contacts-requisites {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 28px;
}

.footer-nav {
  display: flex;
  gap: 20px;
}

.footer-nav a {
  color: var(--muted);
  text-decoration: none;
}

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

.footer-disclaimer {
  margin-left: auto;
}

.footer-slogan {
  width: 100%;
  font-weight: 700;
  color: var(--text);
  font-size: 1.05rem;
  margin-bottom: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .js-reveal,
  .hero-content > *,
  .hero-photo,
  .stack-orb,
  .btn--primary,
  .ticker .ticker-track {
    opacity: 1;
    transform: none;
    transition: none;
    animation: none;
  }
}

.js-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.js-reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Adaptive ---------- */

@media (max-width: 900px) {
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 12px 16px 16px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
  }

  .nav.nav--open {
    display: flex;
  }

  .nav a {
    padding: 10px 4px;
    font-size: 1rem;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-grid,
  .split-grid,
  .splits,
  .steps-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .hero-photo {
    order: 1;
  }

  .photo-stack {
    min-height: 0;
    height: auto;
    aspect-ratio: 1 / 1;
    max-width: 420px;
    margin: 0 auto;
  }

  .orb-main {
    width: min(58vw, 250px);
    height: min(58vw, 250px);
  }

  .orb-1 {
    width: clamp(96px, 26vw, 120px);
    height: clamp(96px, 26vw, 120px);
    left: 0;
    right: auto;
    bottom: 2%;
  }

  .orb-2 {
    width: clamp(80px, 21vw, 100px);
    height: clamp(80px, 21vw, 100px);
    right: 0;
    top: 2%;
  }

  .orb-3 {
    width: clamp(64px, 17vw, 84px);
    height: clamp(64px, 17vw, 84px);
    left: 0;
    top: 4%;
  }

  .orb-4 {
    width: clamp(58px, 15vw, 76px);
    height: clamp(58px, 15vw, 76px);
    right: 2%;
    bottom: 4%;
  }

  .hero-content {
    order: 0;
  }

  .hero-points {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 56px 0;
  }

  .adv-cards {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 16px;
  }

  .contacts-map iframe {
    min-height: 340px;
  }

  .footer-disclaimer {
    margin-left: 0;
  }
}

@media (max-width: 600px) {
  .header-phone span {
    display: none;
  }

  .hero-grid {
    padding-top: 40px;
    padding-bottom: 48px;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .steps li {
    grid-template-columns: 48px 1fr;
  }

  .steps li::before {
    font-size: 1.6rem;
  }

  .adv-cards .card {
    align-items: center;
    justify-content: flex-start;
  }

  .adv-text {
    flex-direction: column;
    gap: 2px;
    transform: none;
  }

  .contacts-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .contacts-map iframe {
    min-height: 300px;
  }

  .ticker-track {
    gap: 24px;
  }

  .lead-form {
    padding: 22px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 12px;
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .stat-num {
    font-size: 2.2rem;
  }
}
