/* Ket Logistic — публичный лендинг (цвета как в панели, отдельно от ket.css) */

:root {
  --ket-bg: #f0f4f8;
  --ket-text: #0f1c2e;
  --ket-muted: #5b6b80;
  --ket-accent: #2563eb;
  --ket-accent2: #3b82f6;
  --ket-accent-soft: rgba(37, 99, 235, 0.12);
  --ket-surface: #ffffff;
  --ket-border: rgba(30, 58, 95, 0.1);
  --ket-shadow: 0 20px 50px rgba(15, 28, 46, 0.08);
  --ket-radius: 20px;
  --ket-font: "DM Sans", system-ui, sans-serif;
}

[data-theme="dark"] {
  color-scheme: dark;
  --ket-bg: #0b1120;
  --ket-text: #e8edf5;
  --ket-muted: #94a3b8;
  --ket-accent: #60a5fa;
  --ket-accent2: #38bdf8;
  --ket-accent-soft: rgba(96, 165, 250, 0.18);
  --ket-surface: #141c2e;
  --ket-border: rgba(148, 163, 184, 0.16);
  --ket-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  font-family: var(--ket-font);
  color: var(--ket-text);
  background: var(--ket-bg);
  -webkit-font-smoothing: antialiased;
}

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

.landing a:hover { color: var(--ket-accent); }

/* ─── Header ─── */

.landing-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.5rem;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ket-border);
}

[data-theme="dark"] .landing-header {
  background: rgba(15, 23, 42, 0.88);
  border-bottom-color: rgba(148, 163, 184, 0.12);
}

.landing-header__tools {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-controls {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.site-theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--ket-border);
  border-radius: 12px;
  background: var(--ket-surface);
  color: var(--ket-muted);
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.site-theme-toggle:hover {
  color: var(--ket-accent);
  border-color: rgba(37, 99, 235, 0.35);
}

[data-theme="dark"] .site-theme-toggle:hover {
  border-color: rgba(96, 165, 250, 0.4);
}

.site-theme-toggle__moon {
  display: none;
}

[data-theme="dark"] .site-theme-toggle__sun {
  display: none;
}

[data-theme="dark"] .site-theme-toggle__moon {
  display: inline-flex;
}

.site-lang-select {
  min-width: 7.5rem;
  padding: 0.45rem 0.5rem;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ket-text);
  background: var(--ket-surface);
  border: 1px solid var(--ket-border);
  border-radius: 12px;
  cursor: pointer;
}

.site-lang-form {
  margin: 0;
}

.landing-header__brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ket-text);
}

.landing-header__logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #2563eb, #6366f1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.landing-header__logo svg {
  width: 20px;
  height: 20px;
}

.landing-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1.1rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ket-muted);
}

@media (max-width: 900px) {
  .landing-nav { display: none; }
}

.landing-header__right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.landing-header__phone {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ket-text);
  white-space: nowrap;
}

@media (max-width: 600px) {
  .landing-header__phone { display: none; }
}

.landing-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.landing-btn--ghost {
  background: transparent;
  color: var(--ket-accent);
  border: 1px solid rgba(37, 99, 235, 0.35);
}

.landing-btn--ghost:hover {
  background: var(--ket-accent-soft);
}

.landing-btn--primary {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.35);
}

.landing-btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(37, 99, 235, 0.4);
}

.landing-btn--lg {
  padding: 0.75rem 1.35rem;
  font-size: 0.92rem;
}

/* ─── Полноэкранный фон (fixed): виден на всей странице, самолёты — на всю ширину окна ─── */

.landing-main {
  position: relative;
  z-index: 1;
  isolation: isolate;
}

.landing-ambient {
  position: fixed;
  inset: 0;
  width: 100vw;
  min-height: 100vh;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.landing-ambient__mesh {
  position: absolute;
  inset: -20% -10%;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  animation: ambient-mesh-shift 32s ease-in-out infinite alternate;
}

.landing-ambient__wash {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 55% at 50% -15%, rgba(59, 130, 246, 0.14) 0%, transparent 58%),
    radial-gradient(ellipse 60% 50% at 100% 60%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 55% 45% at 0% 80%, rgba(204, 251, 241, 0.35) 0%, transparent 48%);
}

.landing-ambient__routes {
  position: absolute;
  left: -5%;
  right: -5%;
  top: 10%;
  width: 110%;
  height: 85%;
  min-height: 480px;
  opacity: 1;
}

.landing-ambient__route {
  stroke-dashoffset: 0;
  animation: ambient-route-dash 24s linear infinite;
}

.landing-ambient__route--b {
  animation-duration: 36s;
  animation-direction: reverse;
  opacity: 0.85;
}

.landing-ambient__route--c {
  animation-duration: 30s;
  animation-delay: -5s;
  opacity: 0.75;
}

.landing-ambient__city-lines {
  pointer-events: none;
}

.landing-ambient__city {
  pointer-events: none;
}

.landing-ambient__city-halo {
  transform-origin: center;
  animation: ambient-city-halo 3.2s ease-in-out infinite;
}

.landing-ambient__city-core {
  animation: ambient-city-core 2.4s ease-in-out infinite;
}

.landing-ambient__city-label {
  font-family: var(--ket-font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  fill: rgba(34, 211, 238, 0.92);
  filter: drop-shadow(0 0 6px rgba(34, 211, 238, 0.85)) drop-shadow(0 0 14px rgba(34, 211, 238, 0.45));
}

.landing-ambient__city--2 .landing-ambient__city-label,
.landing-ambient__city--6 .landing-ambient__city-label {
  fill: rgba(52, 211, 153, 0.92);
  filter: drop-shadow(0 0 6px rgba(52, 211, 153, 0.85)) drop-shadow(0 0 14px rgba(52, 211, 153, 0.4));
}

.landing-ambient__city--3 .landing-ambient__city-label,
.landing-ambient__city--5 .landing-ambient__city-label {
  fill: rgba(196, 181, 253, 0.95);
  filter: drop-shadow(0 0 6px rgba(167, 139, 250, 0.9)) drop-shadow(0 0 14px rgba(167, 139, 250, 0.45));
}

.landing-ambient__city-label--lg {
  font-size: 14px;
  letter-spacing: 0.08em;
}

[data-theme="dark"] .landing-ambient__city-label {
  fill: rgba(103, 232, 249, 0.98);
  filter: drop-shadow(0 0 8px rgba(34, 211, 238, 0.95)) drop-shadow(0 0 20px rgba(34, 211, 238, 0.55));
}

[data-theme="dark"] .landing-ambient__city--2 .landing-ambient__city-label,
[data-theme="dark"] .landing-ambient__city--6 .landing-ambient__city-label {
  fill: rgba(110, 231, 183, 0.98);
  filter: drop-shadow(0 0 8px rgba(52, 211, 153, 0.9)) drop-shadow(0 0 18px rgba(52, 211, 153, 0.5));
}

[data-theme="dark"] .landing-ambient__city--3 .landing-ambient__city-label,
[data-theme="dark"] .landing-ambient__city--5 .landing-ambient__city-label {
  fill: rgba(216, 201, 255, 0.98);
  filter: drop-shadow(0 0 8px rgba(167, 139, 250, 0.95)) drop-shadow(0 0 20px rgba(139, 92, 246, 0.45));
}

@keyframes ambient-city-halo {
  0%, 100% { transform: scale(1); opacity: 0.55; }
  50% { transform: scale(1.12); opacity: 0.88; }
}

@keyframes ambient-city-core {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.72; }
}

.landing-ambient__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.65;
  animation: ambient-orb-pulse 10s ease-in-out infinite alternate;
}

.landing-ambient__orb--1 {
  width: min(380px, 50vw);
  height: min(380px, 50vw);
  top: -8%;
  left: -5%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.42) 0%, transparent 68%);
}

.landing-ambient__orb--2 {
  width: min(340px, 48vw);
  height: min(340px, 48vw);
  bottom: 5%;
  right: -8%;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.32) 0%, transparent 70%);
  animation-delay: -3s;
}

.landing-ambient__orb--3 {
  width: min(260px, 38vw);
  height: min(260px, 38vw);
  top: 42%;
  right: 18%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.28) 0%, transparent 72%);
  animation-delay: -5s;
}

.landing-ambient__orb--4 {
  width: min(200px, 30vw);
  height: min(200px, 30vw);
  top: 72%;
  left: 12%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.2) 0%, transparent 75%);
  animation-delay: -2s;
}

/* Самолёты: fixed, перелёт через 100vw, нос по курсу (лёгкий наклон) */
.landing-ambient__plane {
  position: fixed;
  left: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-left: 0;
  color: #2563eb;
  filter: drop-shadow(0 3px 10px rgba(37, 99, 235, 0.35));
  will-change: transform, opacity;
}

.landing-ambient__plane svg {
  width: 100%;
  height: 100%;
  transform: rotate(75deg);
}

.landing-ambient__plane--1 {
  top: 11vh;
  animation: ambient-plane-cross 17s linear infinite;
}

.landing-ambient__plane--2 {
  top: 26vh;
  width: 40px;
  height: 40px;
  color: #0d9488;
  animation: ambient-plane-cross 23s linear infinite;
  animation-delay: -6s;
}

.landing-ambient__plane--3 {
  top: 44vh;
  width: 36px;
  height: 36px;
  color: #4f46e5;
  animation: ambient-plane-cross 20s linear infinite;
  animation-delay: -2s;
}

.landing-ambient__plane--4 {
  top: 62vh;
  width: 34px;
  height: 34px;
  color: #2563eb;
  animation: ambient-plane-cross 28s linear infinite;
  animation-delay: -11s;
}

.landing-ambient__plane--5 {
  top: 78vh;
  width: 42px;
  height: 42px;
  color: #0891b2;
  animation: ambient-plane-cross-rtl 21s linear infinite;
  animation-delay: -4s;
}

.landing-ambient__plane--5 svg {
  transform: rotate(-75deg) scaleX(-1);
}

.landing-ambient__deco {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 0;
  filter: drop-shadow(0 2px 8px rgba(37, 99, 235, 0.15));
  will-change: transform;
}

.landing-ambient__deco svg {
  width: 100%;
  height: 100%;
}

.landing-ambient__parcel {
  width: 42px;
  height: 42px;
  color: rgba(37, 99, 235, 0.72);
  animation: ambient-deco-drift 10s ease-in-out infinite alternate;
}

.landing-ambient__parcel--1 { top: 14vh; left: 6vw; }
.landing-ambient__parcel--2 { top: 38vh; left: 3vw; width: 36px; height: 36px; animation-duration: 12s; animation-delay: -2s; color: rgba(13, 148, 136, 0.65); }
.landing-ambient__parcel--3 { top: 22vh; right: 8vw; left: auto; width: 38px; height: 38px; animation-duration: 11s; animation-delay: -3s; }
.landing-ambient__parcel--4 { top: 58vh; right: 5vw; left: auto; width: 34px; height: 34px; animation-duration: 13s; animation-delay: -1s; color: rgba(79, 70, 229, 0.55); }
.landing-ambient__parcel--5 { bottom: 28vh; left: 12vw; top: auto; width: 36px; height: 36px; animation-duration: 9s; animation-delay: -2.5s; }
.landing-ambient__parcel--6 { bottom: 14vh; right: 18vw; left: auto; top: auto; width: 32px; height: 32px; animation-duration: 11.5s; color: rgba(37, 99, 235, 0.6); }

.landing-ambient__cart {
  width: 40px;
  height: 40px;
  color: rgba(37, 99, 235, 0.78);
  animation: ambient-cart-bob 3.6s ease-in-out infinite;
}

.landing-ambient__cart--1 { top: 32vh; right: 4vw; left: auto; }
.landing-ambient__cart--2 { top: 68vh; left: 20vw; width: 34px; height: 34px; animation-duration: 4.2s; animation-delay: -1s; color: rgba(99, 102, 241, 0.7); }
.landing-ambient__cart--3 { top: 8vh; right: 22vw; left: auto; width: 32px; height: 32px; animation-duration: 4.5s; animation-delay: -2s; color: rgba(13, 148, 136, 0.68); }
.landing-ambient__cart--4 { bottom: 38vh; left: 4vw; top: auto; width: 30px; height: 30px; animation-duration: 3.9s; animation-delay: -0.5s; }

.landing-ambient__crate {
  width: 38px;
  height: 38px;
  color: rgba(37, 99, 235, 0.58);
  animation: ambient-crate-sway 8s ease-in-out infinite alternate;
}

.landing-ambient__crate--1 { top: 48vh; left: 28vw; }
.landing-ambient__crate--2 { bottom: 22vh; right: 28vw; left: auto; top: auto; width: 36px; height: 36px; animation-duration: 9s; animation-delay: -2s; color: rgba(20, 184, 166, 0.55); }
.landing-ambient__crate--3 { top: 52vh; right: 14vw; left: auto; width: 34px; height: 34px; animation-duration: 10s; animation-delay: -4s; color: rgba(79, 70, 229, 0.52); }

@keyframes ambient-mesh-shift {
  from { transform: translate(0, 0); }
  to { transform: translate(32px, 24px); }
}

@keyframes ambient-route-dash {
  to { stroke-dashoffset: -520; }
}

@keyframes ambient-orb-pulse {
  from { transform: scale(1); opacity: 0.55; }
  to { transform: scale(1.08); opacity: 0.75; }
}

@keyframes ambient-plane-cross {
  0% {
    transform: translate3d(-80px, 0, 0);
    opacity: 0;
  }
  4% { opacity: 1; }
  96% { opacity: 1; }
  100% {
    transform: translate3d(calc(100vw + 80px), -8vh, 0);
    opacity: 0;
  }
}

@keyframes ambient-plane-cross-rtl {
  0% {
    transform: translate3d(calc(100vw + 80px), 0, 0);
    opacity: 0;
  }
  4% { opacity: 1; }
  96% { opacity: 1; }
  100% {
    transform: translate3d(-80px, 6vh, 0);
    opacity: 0;
  }
}

@keyframes ambient-deco-drift {
  0% { transform: translate(0, 0) rotate(-4deg); }
  100% { transform: translate(18px, -22px) rotate(5deg); }
}

@keyframes ambient-cart-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@keyframes ambient-crate-sway {
  0% { transform: translate(0, 0) rotate(-6deg); }
  100% { transform: translate(-12px, 10px) rotate(7deg); }
}

/* ─── Hero ─── */

.landing-hero {
  position: relative;
  overflow: hidden;
  padding: 2.5rem 1.5rem 3.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.landing-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.45) 0%, rgba(240, 244, 248, 0.35) 55%, rgba(240, 244, 248, 0.65) 100%);
  pointer-events: none;
}

[data-theme="dark"] .landing-hero__bg {
  background:
    linear-gradient(180deg, rgba(11, 17, 32, 0.55) 0%, rgba(11, 17, 32, 0.35) 55%, rgba(11, 17, 32, 0.72) 100%);
}

.landing-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr; /* 1 col mobile */
  gap: 2rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .landing-hero__grid {
    grid-template-columns: 1fr minmax(300px, 380px);
    gap: 0.5rem 1rem;
  }
}

/* Появление блоков при прокрутке */
.landing-section.landing-reveal .landing-section__h,
.landing-section.landing-reveal .landing-section__sub {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.landing-section.landing-reveal.is-visible .landing-section__h {
  opacity: 1;
  transform: none;
}

.landing-section.landing-reveal.is-visible .landing-section__sub {
  opacity: 1;
  transform: none;
  transition-delay: 0.12s;
}

.landing-reveal-children > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.58s ease, transform 0.58s ease;
}

.landing-reveal.is-visible .landing-reveal-children > * {
  opacity: 1;
  transform: none;
}

.landing-reveal.is-visible .landing-reveal-children > *:nth-child(1) { transition-delay: 0.1s; }
.landing-reveal.is-visible .landing-reveal-children > *:nth-child(2) { transition-delay: 0.16s; }
.landing-reveal.is-visible .landing-reveal-children > *:nth-child(3) { transition-delay: 0.22s; }
.landing-reveal.is-visible .landing-reveal-children > *:nth-child(4) { transition-delay: 0.28s; }
.landing-reveal.is-visible .landing-reveal-children > *:nth-child(5) { transition-delay: 0.34s; }
.landing-reveal.is-visible .landing-reveal-children > *:nth-child(6) { transition-delay: 0.4s; }
.landing-reveal.is-visible .landing-reveal-children > *:nth-child(7) { transition-delay: 0.46s; }
.landing-reveal.is-visible .landing-reveal-children > *:nth-child(8) { transition-delay: 0.52s; }

.landing-cta.landing-reveal > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1), transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.landing-cta.landing-reveal.is-visible > * {
  opacity: 1;
  transform: none;
}

.landing-cta.landing-reveal.is-visible > *:nth-child(1) { transition-delay: 0.06s; }
.landing-cta.landing-reveal.is-visible > *:nth-child(2) { transition-delay: 0.12s; }
.landing-cta.landing-reveal.is-visible > *:nth-child(3) { transition-delay: 0.2s; }

.landing-footer.landing-reveal .landing-footer__inner {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.landing-footer.landing-reveal.is-visible .landing-footer__inner {
  opacity: 1;
  transform: none;
}

.landing-hero__content {
  padding-top: 0.5rem;
}

.landing-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1d4ed8;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 999px;
  margin-bottom: 0.85rem;
}

.landing-hero__title {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.landing-hero__title em {
  font-style: normal;
  color: var(--ket-accent);
  background: linear-gradient(135deg, #2563eb, #6366f1);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.landing-hero__lead {
  margin: 0 0 1.5rem;
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--ket-muted);
  max-width: 34rem;
}

.landing-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
}

.landing-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  max-width: 28rem;
}

.landing-stat {
  padding: 0.75rem 0.6rem;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--ket-border);
  border-radius: 14px;
  text-align: center;
  box-shadow: var(--ket-shadow);
}

.landing-stat__num {
  display: block;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ket-accent);
  font-variant-numeric: tabular-nums;
}

.landing-stat__label {
  font-size: 0.72rem;
  color: var(--ket-muted);
  margin-top: 0.2rem;
  line-height: 1.3;
}

/* Banner above hero */
.landing-hero-banner {
  position: relative;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  padding: 0.85rem 1.1rem;
  margin-bottom: 1.25rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--ket-border);
  border-radius: 14px;
  font-size: 0.82rem;
  color: var(--ket-muted);
  box-shadow: var(--ket-shadow);
}

.landing-hero-banner strong {
  color: var(--ket-text);
}

/* Calculator card */
.landing-calc {
  position: relative;
  background: var(--ket-surface);
  border: 1px solid var(--ket-border);
  border-radius: var(--ket-radius);
  padding: 1.35rem 1.4rem 1.5rem;
  box-shadow: var(--ket-shadow);
}

.landing-calc__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.landing-calc__title svg {
  width: 22px;
  height: 22px;
  color: var(--ket-accent);
}

.landing-field {
  margin-bottom: 0.85rem;
}

.landing-field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ket-muted);
  margin-bottom: 0.35rem;
}

.landing-field select,
.landing-field input {
  width: 100%;
  padding: 0.55rem 0.65rem;
  font: inherit;
  font-size: 0.88rem;
  border: 1px solid var(--ket-border);
  border-radius: 10px;
  background: #f8fafc;
  color: var(--ket-text);
}

.landing-field select:focus,
.landing-field input:focus {
  outline: none;
  border-color: rgba(37, 99, 235, 0.45);
}

.landing-calc .landing-btn--primary {
  width: 100%;
  margin-top: 0.25rem;
}

.landing-calc__note {
  margin: 0.75rem 0 0;
  font-size: 0.72rem;
  color: #94a3b8;
  text-align: center;
}

/* ─── Sections ─── */

.landing-section {
  padding: 3rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.landing-section__h {
  margin: 0 0 0.5rem;
  font-size: clamp(1.4rem, 3vw, 1.75rem);
  font-weight: 700;
  text-align: center;
}

.landing-section__sub {
  margin: 0 auto 2rem;
  max-width: 36rem;
  text-align: center;
  font-size: 0.95rem;
  color: var(--ket-muted);
  line-height: 1.55;
}

.landing-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.landing-feature {
  padding: 1.25rem 1.2rem;
  background: var(--ket-surface);
  border: 1px solid var(--ket-border);
  border-radius: var(--ket-radius);
  box-shadow: var(--ket-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.landing-feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 48px rgba(15, 28, 46, 0.1);
}

.landing-feature__ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--ket-accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ket-accent);
  margin-bottom: 0.75rem;
}

.landing-feature__ico svg {
  width: 22px;
  height: 22px;
}

.landing-feature h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  font-weight: 700;
}

.landing-feature p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--ket-muted);
  line-height: 1.5;
}

/* Steps */
.landing-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  counter-reset: step;
}

.landing-step {
  position: relative;
  padding: 1.25rem 1rem 1.25rem 3rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--ket-border);
  border-radius: 16px;
}

.landing-step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 1.25rem;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #2563eb, #6366f1);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.landing-step h3 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.landing-step p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--ket-muted);
  line-height: 1.45;
}

/* Tariffs */
.landing-tariffs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.landing-tariff {
  padding: 1.5rem 1.25rem;
  background: var(--ket-surface);
  border: 1px solid var(--ket-border);
  border-radius: var(--ket-radius);
  text-align: center;
  box-shadow: var(--ket-shadow);
}

.landing-tariff--featured {
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 10px 40px rgba(37, 99, 235, 0.12);
}

.landing-tariff__price {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--ket-accent);
  margin: 0.5rem 0;
}

.landing-tariff__hint {
  font-size: 0.86rem;
  color: var(--ket-muted);
  margin: 0;
}

.landing-tariff ul {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  text-align: left;
  font-size: 0.84rem;
  color: var(--ket-muted);
}

.landing-tariff li {
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(15, 28, 46, 0.06);
}

.landing-tariff li:last-child { border-bottom: none; }

[data-theme="dark"] .landing-tariff--featured {
  border-color: rgba(96, 165, 250, 0.35);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

[data-theme="dark"] .landing-tariff li {
  border-bottom-color: rgba(148, 163, 184, 0.1);
}

/* CTA block */
.landing-cta {
  margin: 2rem 1.5rem 3rem;
  padding: 2.5rem 1.5rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  background: linear-gradient(135deg, #0f2847 0%, #1e3a5f 50%, #1a4b8c 100%);
  border-radius: var(--ket-radius);
  color: #e0f2fe;
  box-shadow: 0 24px 60px rgba(15, 40, 71, 0.35);
}

.landing-cta h2 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.landing-cta p {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  opacity: 0.92;
}

.landing-cta .landing-btn--primary {
  background: #fff;
  color: #1d4ed8;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
}

.landing-cta .landing-btn--primary:hover {
  background: #f0f9ff;
}

/* Footer */
.landing-footer {
  padding: 2rem 1.5rem;
  border-top: 1px solid var(--ket-border);
  background: rgba(255, 255, 255, 0.6);
}

[data-theme="dark"] .landing-footer {
  background: rgba(15, 23, 42, 0.65);
}

.landing-footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--ket-muted);
}

.landing-footer__brand {
  font-weight: 700;
  color: var(--ket-text);
}

/* FAB */
.landing-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 99;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 28px rgba(18, 140, 126, 0.45);
  transition: transform 0.2s ease;
}

.landing-fab:hover {
  transform: scale(1.06);
  color: #fff;
}

.landing-fab svg {
  width: 28px;
  height: 28px;
}

/* Страница входа по телефону (макет) */
.site-login {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-login__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.5rem;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ket-border);
}

.site-login__header-tools {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

[data-theme="dark"] .site-login__header {
  background: rgba(15, 23, 42, 0.88);
  border-bottom-color: rgba(148, 163, 184, 0.12);
}

.site-login__brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ket-text);
}

.site-login__back {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ket-muted);
}

.site-login__back:hover {
  color: var(--ket-accent);
}

.site-login__main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem 3rem;
}

.site-login__card {
  width: 100%;
  max-width: 400px;
  padding: 2rem 1.75rem;
  background: var(--ket-surface);
  border-radius: var(--ket-radius);
  border: 1px solid var(--ket-border);
  box-shadow: var(--ket-shadow);
}

.site-login__title {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.site-login__hint {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--ket-muted);
}

.site-login__badge {
  display: inline-block;
  margin-left: 0.25rem;
  padding: 0.12rem 0.45rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ket-accent);
  background: var(--ket-accent-soft);
  border-radius: 6px;
  vertical-align: middle;
}

.site-login__messages {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  list-style: none;
  font-size: 0.88rem;
  color: var(--ket-text);
  background: rgba(37, 99, 235, 0.08);
  border-radius: 12px;
  border: 1px solid rgba(37, 99, 235, 0.15);
}

.site-login__msg { margin: 0; }

.site-login__form {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.site-login__label {
  margin-top: 0.65rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ket-muted);
}

.site-login__label:first-of-type { margin-top: 0; }

.site-login__input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font: inherit;
  font-size: 1rem;
  border: 1px solid var(--ket-border);
  border-radius: 12px;
  background: #fff;
  color: var(--ket-text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.site-login__input:focus {
  outline: none;
  border-color: var(--ket-accent);
  box-shadow: 0 0 0 3px var(--ket-accent-soft);
}

.site-login__input--code {
  letter-spacing: 0.25em;
  font-variant-numeric: tabular-nums;
}

.site-login__actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.site-login__btn-wide {
  width: 100%;
}

.site-login__staff {
  margin: 1.5rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--ket-border);
  font-size: 0.82rem;
  color: var(--ket-muted);
  text-align: center;
}

.site-login__staff a {
  color: var(--ket-accent);
  font-weight: 600;
}

/* ─── Mobile: читаемость — фон слабее, текст сильнее, без «залипания» reveal ─── */

@media (max-width: 768px) {
  .landing-ambient__mesh {
    opacity: 0.35;
    animation: none;
  }

  .landing-ambient__wash {
    opacity: 0.55;
  }

  .landing-ambient__routes {
    opacity: 0.22;
  }

  .landing-ambient__route {
    animation: none !important;
  }

  .landing-ambient__city-lines,
  .landing-ambient__city {
    opacity: 0;
  }

  .landing-ambient__orb {
    opacity: 0.35;
    animation: none;
    filter: blur(40px);
  }

  .landing-ambient__plane,
  .landing-ambient__deco {
    opacity: 0.22 !important;
    animation: none !important;
  }

  .landing-hero__bg {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 250, 252, 0.9) 45%, rgba(240, 244, 248, 0.94) 100%);
  }

  [data-theme="dark"] .landing-hero__bg {
    background:
      linear-gradient(180deg, rgba(11, 17, 32, 0.92) 0%, rgba(11, 17, 32, 0.9) 50%, rgba(11, 17, 32, 0.94) 100%);
  }

  .landing-hero__content {
    position: relative;
    z-index: 2;
  }

  .landing-hero__title,
  .landing-hero__lead,
  .landing-hero-banner {
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
  }

  [data-theme="dark"] .landing-hero__title,
  [data-theme="dark"] .landing-hero__lead,
  [data-theme="dark"] .landing-hero-banner {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
  }

  .landing-stat {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  [data-theme="dark"] .landing-stat {
    background: rgba(20, 28, 46, 0.92);
  }

  .landing-calc {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  [data-theme="dark"] .landing-calc {
    background: rgba(20, 28, 46, 0.96);
  }

  .landing-hero-banner {
    background: rgba(255, 255, 255, 0.95);
  }

  [data-theme="dark"] .landing-hero-banner {
    background: rgba(20, 28, 46, 0.92);
  }

  .landing-section {
    position: relative;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    background: rgba(255, 255, 255, 0.78);
    border-radius: 20px;
    margin-left: 0.75rem;
    margin-right: 0.75rem;
    max-width: none;
    width: calc(100% - 1.5rem);
    box-sizing: border-box;
  }

  [data-theme="dark"] .landing-section {
    background: rgba(15, 23, 42, 0.82);
  }

  .landing-cta {
    margin-left: 0.75rem;
    margin-right: 0.75rem;
    max-width: none;
    width: calc(100% - 1.5rem);
    box-sizing: border-box;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
  }

  .landing-footer {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  [data-theme="dark"] .landing-footer {
    background: rgba(15, 23, 42, 0.9);
  }

  .landing-section.landing-reveal .landing-section__h,
  .landing-section.landing-reveal .landing-section__sub,
  .landing-reveal-children > *,
  .landing-cta.landing-reveal > *,
  .landing-footer.landing-reveal .landing-footer__inner {
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .landing-feature:hover,
  .landing-btn--primary:hover,
  .landing-fab:hover {
    transform: none;
  }
  .landing-ambient__mesh,
  .landing-ambient__route,
  .landing-ambient__orb,
  .landing-ambient__plane,
  .landing-ambient__deco,
  .landing-ambient__city-halo,
  .landing-ambient__city-core {
    animation: none !important;
  }
  .landing-section.landing-reveal .landing-section__h,
  .landing-section.landing-reveal .landing-section__sub,
  .landing-reveal-children > *,
  .landing-cta.landing-reveal > *,
  .landing-footer.landing-reveal .landing-footer__inner {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
