/* ==========================================================================
   Design tokens — на основе фирменного стиля alo-alo.kz / sell.alo-alo.kz
   ========================================================================== */
:root {
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --color-bg: #ffffff;
  --color-bg-soft: #f4f5f7;
  --color-ink: #16171b;
  --color-ink-soft: #4b4d52;
  --color-muted: #74767a;
  --color-border: #e6e7eb;

  --color-navy: #1e1e21;
  --color-navy-2: #0c0d10;

  --color-sky: #38bdf8;
  --color-blue: #3b82f6;
  --color-indigo: #6366f1;
  --gradient-primary: linear-gradient(90deg, var(--color-sky) 0%, var(--color-blue) 55%, var(--color-indigo) 100%);

  --color-green: #22c55e;
  --color-green-dark: #16a34a;
  --color-red: #ef4444;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-card: 0 1px 2px rgba(16, 17, 20, 0.04), 0 8px 24px rgba(16, 17, 20, 0.06);
  --shadow-card-lg: 0 4px 8px rgba(16, 17, 20, 0.04), 0 16px 40px rgba(16, 17, 20, 0.10);

  --container-w: 1180px;
}

/* Лендинг сознательно не адаптируется под системную тёмную тему: это
   маркетинговая страница с фиксированным брендом alo-alo (как и сам
   alo-alo.kz), а не адаптивный интерфейс приложения. */

/* ==========================================================================
   Base
   ========================================================================== */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
[hidden] { display: none !important; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-ink);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p { margin: 0; }

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

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

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

section { padding: 72px 0; }

.eyebrow {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.eyebrow--dark { color: var(--color-blue); }

.section-head { max-width: 640px; margin: 0 auto 40px; text-align: center; }
.section-head h2 { font-size: 34px; font-weight: 800; line-height: 1.2; letter-spacing: -0.01em; }
.section-head__sub { margin-top: 12px; font-size: 17px; color: var(--color-ink-soft); }

/* ==========================================================================
   Анимации появления при скролле + общие transition-эффекты
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .hero { animation: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  * { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease, background-color 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.btn--sm { padding: 9px 18px; font-size: 14px; }
.btn--lg { padding: 15px 28px; font-size: 16px; }

.btn--primary { background: var(--gradient-primary); color: #fff; box-shadow: 0 6px 16px rgba(59, 130, 246, 0.35); }
.btn--primary:hover { box-shadow: 0 8px 22px rgba(59, 130, 246, 0.45); }

.btn--white { background: #fff; color: var(--color-blue); }
.btn--white:hover { box-shadow: 0 8px 22px rgba(0, 0, 0, 0.15); }

.btn--dark { background: var(--color-navy); color: #fff; }
.btn--dark:hover { background: var(--color-navy-2); }

.btn--ghost-light { background: rgba(255, 255, 255, 0.12); color: #fff; border: 1px solid rgba(255, 255, 255, 0.5); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, 0.2); }

.btn--outline { background: transparent; color: var(--color-ink); border: 1px solid var(--color-border); }
.btn--outline:hover { background: var(--color-bg-soft); }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-navy);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}

.logo { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.logo__icon { height: 52px; width: auto; display: block; }
.logo__tag { font-size: 12px; color: var(--color-muted); font-weight: 500; }

.site-nav { display: flex; gap: 28px; margin-left: 16px; flex: 1; }
.site-nav a { font-size: 14px; color: #c7c9cf; transition: color 0.15s ease; }
.site-nav a:hover { color: #fff; }

.site-header__actions { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.phone-link { font-size: 14px; color: #fff; font-weight: 500; }

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.lang-switch__btn {
  border: none;
  background: transparent;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.65);
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.lang-switch__btn:hover { color: #fff; }
.lang-switch__btn.is-active { background: var(--gradient-primary); color: #fff; }

.burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.burger span { width: 20px; height: 2px; background: #fff; border-radius: 2px; }

/* ==========================================================================
   Hero + калькулятор (первый экран)
   ========================================================================== */
/* Тёмная navy-основа + цветные "пятна" (mesh-градиент) вместо плоской
   заливки — плоский линейный градиент на весь экран визуально сливался
   в один сплошной тон и убивал контраст текста. Тёмная база везде даёт
   ровный контраст для белого текста, а цветные пятна brand-оттенков
   (sky/blue/indigo) добавляют глубину и живость. */
.hero {
  position: relative;
  background:
    radial-gradient(760px circle at 12% 18%, rgba(56, 189, 248, 0.55), transparent 60%),
    radial-gradient(820px circle at 88% 12%, rgba(99, 102, 241, 0.5), transparent 62%),
    radial-gradient(900px circle at 60% 95%, rgba(59, 130, 246, 0.45), transparent 60%),
    linear-gradient(160deg, #0a0e1f 0%, #0f1630 100%);
  background-size: 130% 130%, 130% 130%, 130% 130%, 100% 100%;
  animation: heroGradientShift 18s ease infinite;
  overflow: hidden;
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 430px;
  align-items: center;
  gap: 48px;
  padding: 44px 20px;
  min-height: calc(100vh - 68px);
}
.hero__content h1 {
  font-size: 38px;
  font-weight: 750;
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: #fff;
  text-shadow: 0 2px 10px rgba(3, 8, 22, 0.18);
  max-width: 540px;
}
.hero__highlight { color: #4ade80; }
.hero__sub {
  margin-top: 16px;
  font-size: 18px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.97);
  max-width: 560px;
  text-shadow: 0 1px 6px rgba(3, 8, 22, 0.14);
}

.hero__facts {
  list-style: none;
  margin: 28px 0 0;
  padding: 16px 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 0;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  max-width: fit-content;
}
.hero__facts li {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 0 26px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}
.hero__facts li:first-child { border-left: none; padding-left: 0; }
.hero__facts strong { color: #fff; font-size: 15px; font-weight: 700; }
.hero__facts span { color: rgba(255, 255, 255, 0.92); font-size: 13px; }

.hero__how-link {
  display: inline-block;
  margin-top: 22px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  padding-bottom: 2px;
  transition: opacity 0.15s ease;
}
.hero__how-link:hover { opacity: 0.8; }

@keyframes heroGradientShift {
  0%, 100% { background-position: 0% 30%; }
  50% { background-position: 100% 70%; }
}
.hero__how-link:hover { border-color: #fff; }

/* ==========================================================================
   Mini steps
   ========================================================================== */
.mini-steps { padding: 64px 0; }

.mini-steps__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mini-step {
  background: var(--color-bg-soft);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}
.mini-step:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.mini-step.is-active { background: #eef2ff; border-color: rgba(59, 130, 246, 0.35); }

/* Фото шага вместо абстрактной иконки — слева от текста, портретный кадр
   (как у реальных скриншотов телефона), чтобы деталь было хорошо видно. */
.mini-step__thumb {
  width: 96px;
  height: 138px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  background: #111318;
  transition: transform 0.25s ease;
}
.mini-step__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.mini-step:hover .mini-step__thumb { transform: scale(1.06); }

.mini-step__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(59, 130, 246, 0.08);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.mini-step:hover .mini-step__icon { transform: scale(1.08) rotate(-4deg); }
.mini-step__body h3 { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.mini-step__body p { font-size: 14px; color: var(--color-ink-soft); line-height: 1.5; }

/* ==========================================================================
   Калькулятор (компактная карточка внутри hero)
   ========================================================================== */
.calc-card {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card-lg);
  padding: 32px;
  width: 100%;
}
.calc-card__title { font-size: 22px; font-weight: 700; color: var(--color-ink); margin-bottom: 20px; }

.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--color-ink-soft); margin-bottom: 7px; }
.field select,
.field input {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  font-family: var(--font-sans);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  color: var(--color-ink);
}
.field input::placeholder { color: var(--color-muted); }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2374767a' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.field select:disabled { opacity: 0.6; }

.calc-card__submit { width: 100%; margin-top: 6px; }
.calc-note { margin-top: 12px; font-size: 12.5px; color: var(--color-muted); text-align: center; }

.calc-card__result {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.calc-card__result.is-visible { opacity: 1; transform: none; }
.calc-result__label { font-size: 12px; font-weight: 600; color: var(--color-muted); text-transform: uppercase; letter-spacing: 0.02em; }
.calc-result__price { font-size: 32px; font-weight: 800; letter-spacing: -0.02em; margin-top: 6px; }
.calc-result__disclaimer { margin-top: 10px; font-size: 12.5px; color: var(--color-muted); line-height: 1.5; }

.promo-block { margin-top: 22px; padding-top: 20px; border-top: 1px dashed var(--color-border); }
.promo-block__intro { font-size: 13.5px; color: var(--color-ink-soft); line-height: 1.5; margin-bottom: 14px; }

.promo-result {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.promo-result.is-visible { opacity: 1; transform: none; }
.promo-result__code {
  font-family: 'SFMono-Regular', Consolas, monospace;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: var(--color-bg-soft);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--color-blue);
}
.promo-result__note { flex-basis: 100%; font-size: 13px; color: var(--color-muted); margin-top: 4px; }

/* ==========================================================================
   Process
   ========================================================================== */
.stage-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  background: var(--color-bg-soft);
  padding: 6px;
  border-radius: var(--radius-pill);
  max-width: 720px;
  margin: 0 auto 48px;
}
.stage-tab {
  flex: 1;
  border: none;
  background: transparent;
  padding: 12px 16px;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-ink-soft);
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.stage-tab .stage-tab__num { display: block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; color: var(--color-blue); margin-bottom: 2px; }
.stage-tab.is-active { background: var(--color-navy); color: #fff; }
.stage-tab.is-active .stage-tab__num { color: var(--color-sky); }

.stage-panel { display: flex; flex-direction: column; gap: 14px; }

/* Разделитель этапов — виден только в мобильной непрерывной ленте (см. media
   query ниже), на десктопе скрыт: там за это уже отвечают вкладки этапов. */
.stage-divider {
  display: none;
  align-items: center;
  gap: 16px;
  padding: 8px 4px 4px;
}
.stage-divider__num {
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  flex-shrink: 0;
  display: inline-block;
  transform: scale(0.55);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s;
}
.stage-divider.is-visible .stage-divider__num { transform: scale(1); }
.stage-divider__text { display: flex; flex-direction: column; gap: 2px; }
.stage-divider__eyebrow { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-blue); }
.stage-divider__text h3 { font-size: 19px; font-weight: 800; }
.stage-divider::after {
  content: '';
  flex: 1;
  height: 2px;
  margin-left: 4px;
  background: var(--gradient-primary);
  opacity: 0.18;
  border-radius: 2px;
}

.step-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 20px;
  align-items: center;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.step-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }

.step-card__media {
  width: 96px;
  height: 138px;
  border-radius: 10px;
  overflow: hidden;
  background: #0c0d10;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}
.step-card__media > img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 0.3s ease; }
.step-card__media:has(> img) { cursor: zoom-in; }
.step-card__media:has(> img):hover > img { transform: scale(1.08); }
.step-card__media:has(> img)::after {
  content: '⤢';
  position: absolute;
  right: 4px;
  bottom: 4px;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.step-card__media:has(> img):hover::after { opacity: 1; }

.step-card__media--placeholder {
  background: var(--color-bg);
  border: 1.5px dashed var(--color-border);
}
.step-card__media--placeholder span {
  font-size: 10px;
  color: var(--color-muted);
  text-align: center;
  padding: 0 8px;
  line-height: 1.3;
}

.step-card__num {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--color-blue);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.step-card__body h3 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.step-card__body p { font-size: 13.5px; color: var(--color-ink-soft); line-height: 1.5; }
.step-card__body a { color: var(--color-blue); font-weight: 600; }

/* ==========================================================================
   Address
   ========================================================================== */
.address__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 32px;
  align-items: stretch;
}
.address-card {
  background: var(--color-navy);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.address-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 16px;
}
.address-card h2 { font-size: 26px; font-weight: 700; line-height: 1.3; margin: 10px 0 12px; }
.address-card p { color: rgba(255, 255, 255, 0.75); margin-bottom: 24px; }
.address-card .btn { align-self: flex-start; }

.address-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 320px;
}
.address-map iframe { width: 100%; height: 100%; min-height: 320px; border: none; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--color-bg-soft);
  border-radius: var(--radius-md);
  padding: 4px 24px;
  transition: background-color 0.2s ease;
}
.faq-item:hover { background: #eef0f3; }
.faq-item summary {
  padding: 18px 0;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 400;
  color: var(--color-blue);
  margin-left: 16px;
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item p { padding-bottom: 20px; color: var(--color-ink-soft); font-size: 14.5px; line-height: 1.6; }

/* ==========================================================================
   Final CTA band
   ========================================================================== */
.cta-band { background: var(--gradient-primary); }
.cta-band__inner { text-align: center; }
.cta-band__inner h2 { font-size: 30px; font-weight: 800; color: #fff; }
.cta-band__inner p { margin-top: 10px; color: rgba(255, 255, 255, 0.9); font-size: 16px; }
.cta-band__inner .btn { margin-top: 24px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--color-navy); color: #fff; padding: 48px 0 24px; }
.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.site-footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.logo__icon--footer { height: 56px; width: auto; }
.logo__tag--footer { color: var(--color-muted); font-size: 13px; }

.site-footer__links { display: flex; flex-direction: column; gap: 10px; }
.site-footer__links a { font-size: 14px; color: #c7c9cf; }
.site-footer__links a:hover { color: #fff; }

.site-footer__contacts { display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: #c7c9cf; }

.site-footer__disclaimer { padding-top: 20px; font-size: 12.5px; color: var(--color-muted); line-height: 1.6; }

/* ==========================================================================
   Индикатор этапов (слева, только мобильная версия)
   ========================================================================== */
.stage-rail {
  display: none;
  position: fixed;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  flex-direction: column;
  align-items: center;
  gap: 0;
  transition: opacity 0.25s ease;
}
.stage-rail__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.stage-rail__item:not(:last-child)::after {
  content: '';
  width: 2px;
  height: 28px;
  background: var(--color-border);
  margin: 4px 0;
}
.stage-rail__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-border);
  border: 2px solid var(--color-bg);
  box-shadow: 0 0 0 1px var(--color-border);
  transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.stage-rail__label {
  position: absolute;
  left: 18px;
  top: -3px;
  font-size: 11px;
  font-weight: 700;
  color: var(--color-muted);
  opacity: 0;
  transition: opacity 0.25s ease, color 0.25s ease;
}
.stage-rail__item.is-active .stage-rail__dot {
  background: var(--color-blue);
  transform: scale(1.35);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.18);
}
.stage-rail__item.is-active .stage-rail__label { opacity: 1; color: var(--color-blue); }
.stage-rail__item:not(.is-active)::after { background: var(--color-border); }

/* ==========================================================================
   Плавающая кнопка WhatsApp
   ========================================================================== */
.whatsapp-widget {
  position: fixed;
  right: 24px;
  bottom: 20px;
  z-index: 150;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: #fff;
  padding: 12px 18px 12px 12px;
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: whatsappPulse 2.6s ease-out infinite;
}
.whatsapp-widget:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.32);
  animation-play-state: paused;
}
.whatsapp-widget:active { transform: scale(0.96); }
.whatsapp-widget__icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  display: flex;
  animation: whatsappIconWiggle 2.6s ease-in-out infinite;
}
.whatsapp-widget__icon img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.whatsapp-widget__text { white-space: nowrap; }

@keyframes whatsappPulse {
  0% { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24), 0 0 0 0 rgba(37, 211, 102, 0.55); }
  70% { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24), 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24), 0 0 0 0 rgba(37, 211, 102, 0); }
}
@keyframes whatsappIconWiggle {
  0%, 60%, 100% { transform: none; }
  70% { transform: rotate(-12deg); }
  80% { transform: rotate(9deg); }
  90% { transform: rotate(-5deg); }
}

@media (max-width: 640px) {
  .whatsapp-widget { padding: 14px; border-radius: 50%; right: 20px; bottom: 16px; }
  .whatsapp-widget__text { display: none; }
}

/* ==========================================================================
   Лайтбокс (увеличенный просмотр скриншотов)
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.lightbox.is-visible { opacity: 1; }
.lightbox__backdrop { position: absolute; inset: 0; background: rgba(8, 9, 12, 0.82); }
.lightbox__img {
  position: relative;
  max-width: min(420px, 90vw);
  max-height: 88vh;
  width: auto;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.96);
  transition: transform 0.2s ease;
}
.lightbox.is-visible .lightbox__img { transform: scale(1); }
.lightbox__close {
  position: absolute;
  top: 22px;
  right: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.lightbox__close:hover { background: rgba(255, 255, 255, 0.22); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  .site-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--color-navy);
    padding: 8px 20px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .burger { display: flex; }

  .hero__inner { grid-template-columns: 1fr; min-height: 0; padding: 32px 20px 40px; }
  .hero__content h1 { font-size: 25px; max-width: none; }
  .hero__facts { flex-direction: column; max-width: none; gap: 12px; padding: 14px 18px; }
  .hero__facts li { border-left: none; padding: 0 0 0 0; }
  .hero__facts li:not(:first-child) { border-top: 1px solid rgba(255, 255, 255, 0.18); padding-top: 12px; }

  /* Мини-шаги — на мобильном свайп-карусель вместо стопки. */
  .mini-steps__grid {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    margin: 0 -20px;
    padding: 0 20px 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  .mini-steps__grid .mini-step {
    flex: 0 0 82%;
    scroll-snap-align: center;
  }
  .mini-step__thumb { width: 84px; height: 120px; }

  /* Путь клиента — на мобильном все шаги всех этапов показаны одним
     вертикальным списком (без переключения вкладками), появляются
     анимированно по мере обычного скролла страницы. Разделители между
     этапами делают переход между ними чётко видимым. */
  .stage-panel[hidden] { display: flex !important; gap: 16px; }
  .stage-divider { display: flex; }

  .step-card { grid-template-columns: 72px 1fr; padding: 14px 16px; gap: 14px; }
  .step-card__media { width: 72px; height: 104px; }

  .stage-tabs { display: none; }
  .stage-rail:not([hidden]) { display: flex; }

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

  .site-footer__inner { grid-template-columns: 1fr; }

  section { padding: 48px 0; }
  .section-head h2 { font-size: 26px; }
}
