/* ==========================================================================
   izqoldir — landing
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  color-scheme: dark;
  --bg: #07070b;
  --surface: rgba(17, 17, 26, 0.72);
  --card: linear-gradient(145deg, rgba(25, 25, 38, 0.8), rgba(13, 13, 20, 0.9));
  --inset: rgba(0, 0, 0, 0.4);
  --line: rgba(255, 255, 255, 0.08);
  --line2: rgba(255, 255, 255, 0.14);
  --text: #ffffff;
  --text2: rgb(203, 213, 225);
  --muted: rgb(148, 163, 184);
  --ind: rgb(99, 102, 241);
  --ind-line: rgba(99, 102, 241, 0.35);
  --ind-soft: rgba(99, 102, 241, 0.14);
  --ind-text: rgb(165, 180, 252);
  --amb: rgb(245, 158, 11);
  --amb-soft: rgba(245, 158, 11, 0.14);
  --amb-line: rgba(245, 158, 11, 0.3);
  --amb-text: rgb(252, 211, 77);
  --ok-soft: rgba(16, 185, 129, 0.2);
  --ok-text: rgb(110, 231, 183);
  --glow-i: rgba(79, 70, 229, 0.28);
  --glow-a: rgba(245, 158, 11, 0.14);
  --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  --stripe: rgba(255, 255, 255, 0.04);

  --on-amb: #07070b;
  --error: rgb(251, 113, 133);
  --dot-a: rgb(245, 158, 11);
  --dot-i: rgb(99, 102, 241);
  --dot-g: rgb(52, 211, 153);

  --font-display: 'Unbounded', sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

[data-theme="light"] {
  color-scheme: light;
  --bg: #f5f5f8;
  --surface: rgba(255, 255, 255, 0.78);
  --card: linear-gradient(145deg, #ffffff, #fafafc);
  --inset: #f1f1f6;
  --line: rgba(16, 16, 40, 0.09);
  --line2: rgba(16, 16, 40, 0.16);
  --text: #0c0c14;
  --text2: #3b3e4c;
  --muted: #5d6272;
  --ind: rgb(79, 70, 229);
  --ind-line: rgba(79, 70, 229, 0.28);
  --ind-soft: rgba(79, 70, 229, 0.08);
  --ind-text: rgb(67, 56, 202);
  --amb-soft: rgba(245, 158, 11, 0.12);
  --amb-line: rgba(217, 119, 6, 0.35);
  --amb-text: rgb(180, 83, 9);
  --ok-soft: rgba(16, 185, 129, 0.12);
  --ok-text: rgb(4, 120, 87);
  --glow-i: rgba(99, 102, 241, 0.16);
  --glow-a: rgba(245, 158, 11, 0.14);
  --shadow: 0 20px 40px -18px rgba(16, 16, 40, 0.18);
  --stripe: rgba(16, 16, 40, 0.05);
}

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

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  transition: background .3s;
}

@supports not (overflow: clip) {
  body { overflow-x: hidden; }
}

a { color: var(--ind-text); text-decoration: none; }
a:hover { color: var(--text); }

img { display: block; }

.page {
  position: relative;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  overflow-x: clip;
  transition: background .3s, color .3s;
}

/* Logo swap by theme */
.logo-d { display: none; }
[data-theme="light"] .logo-w { display: none; }
[data-theme="light"] .logo-d { display: block; }

/* ---------- Shared bits ---------- */
.grid {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 24px;
  scroll-margin-top: 120px;
}

.h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.15;
  text-wrap: balance;
}

.overline {
  font-weight: 700;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ind-text);
}

.dot { flex: none; width: 6px; height: 6px; border-radius: 50%; }
.dot--a { background: var(--dot-a); }
.dot--i { background: var(--dot-i); }
.dot--g { background: var(--dot-g); }

.btn-amber {
  background: var(--amb);
  color: var(--on-amb);
  font-weight: 700;
  white-space: nowrap;
}
.btn-amber:hover {
  color: var(--on-amb);
  filter: brightness(1.08);
}

.btn-amber--lg {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  border-radius: 16px;
  font-size: 16px;
  line-height: 24px;
  box-shadow: 0 20px 25px -5px rgba(245, 158, 11, 0.3);
}
.btn-amber--lg .arrow { font-size: 18px; }

.btn-glass {
  white-space: nowrap;
  padding: 16px 28px;
  border-radius: 16px;
  background: var(--surface);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: inset 0 0 0 1px var(--line2);
  color: var(--text);
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
}
.btn-glass:hover {
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--ind-line);
}

.link-strong {
  white-space: nowrap;
  font-weight: 700;
  font-size: 14px;
  color: var(--ind-text);
}

/* ---------- Background glow ---------- */
.bg-glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.bg-glow span {
  position: absolute;
  border-radius: 50%;
}
.bg-glow__a {
  left: -240px; top: -260px;
  width: 760px; height: 760px;
  background: var(--glow-i);
  filter: blur(150px);
}
.bg-glow__b {
  right: -240px; top: -260px;
  width: 760px; height: 760px;
  background: var(--glow-a);
  filter: blur(150px);
}
.bg-glow__c {
  right: -200px; bottom: -320px;
  width: 680px; height: 680px;
  background: var(--glow-i);
  filter: blur(160px);
  opacity: 0.6;
}

/* ---------- Orbit (desktop only) ---------- */
@keyframes izSpin  { from { transform: translate(-50%, -50%) rotate(0); } to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes izSpinR { from { transform: translate(-50%, -50%) rotate(0); } to { transform: translate(-50%, -50%) rotate(-360deg); } }

.orbit {
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 820px;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: linear-gradient(#000 72%, transparent 100%);
  mask-image: linear-gradient(#000 72%, transparent 100%);
}

.orbit__core {
  position: absolute;
  left: 50%; top: 420px;
  width: 240px; height: 240px;
  margin: -120px 0 0 -120px;
  border-radius: 50%;
  background: var(--glow-a);
  filter: blur(60px);
}

.orbit__ring {
  position: absolute;
  left: 50%; top: 420px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid var(--line2);
  animation: var(--spin) var(--dur) linear infinite;
}
.orbit__pin {
  position: absolute;
  animation: var(--counter) var(--dur) linear infinite;
}

.orbit__ring--1 { width: min(36vw, 440px);  border-style: dotted; --dur: 40s;  --spin: izSpin;  --counter: izSpinR; }
.orbit__ring--2 { width: min(60vw, 760px);                        --dur: 60s;  --spin: izSpinR; --counter: izSpin; }
.orbit__ring--3 { width: min(84vw, 1200px); border-style: dashed; --dur: 90s;  --spin: izSpin;  --counter: izSpinR; }
.orbit__ring--4 { width: min(112vw, 1560px);                      --dur: 130s; --spin: izSpin;  --counter: izSpinR; }

.p-t  { left: 50%;   top: 0; }
.p-b  { left: 50%;   top: 100%; }
.p-l  { left: 0;     top: 50%; }
.p-r  { left: 100%;  top: 50%; }
.p-tl { left: 14.6%; top: 14.6%; }
.p-tr { left: 85.4%; top: 14.6%; }
.p-bl { left: 14.6%; top: 85.4%; }
.p-br { left: 85.4%; top: 85.4%; }

.pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 9999px;
  background: var(--surface);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px var(--line2);
  font-weight: 700;
  font-size: 13px;
  line-height: 18px;
  color: var(--muted);
  white-space: nowrap;
  opacity: 0.85;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .orbit__ring,
  .orbit__pin { animation-play-state: paused; }
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 16px;
  z-index: 50;
  padding: 0 24px;
  margin-top: 16px;
}

.header__bar {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 12px 12px 16px;
  border-radius: 16px;
  background: var(--surface);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}
.logo img { height: 32px; width: auto; }

.header__nav {
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
}
.header__nav a { color: var(--text2); }
.header__nav a:hover { color: var(--text); }

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  background: var(--inset);
  box-shadow: inset 0 0 0 1px var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.theme-btn__icon {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px var(--text);
  background: linear-gradient(90deg, var(--text) 50%, transparent 50%);
}

.segment {
  background: var(--inset);
  box-shadow: inset 0 0 0 1px var(--line);
}
.segment__btn {
  border: none;
  cursor: pointer;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-body);
  font-weight: 700;
}
.segment__btn[aria-pressed="true"],
.segment__btn[aria-current="page"] {
  background: var(--ind);
  color: #fff;
}

.segment--lang {
  display: flex;
  gap: 2px;
  padding: 4px;
  border-radius: 10px;
  height: 36px;
}
.segment--lang .segment__btn {
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 16px;
}

.header__cta {
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 20px;
}

/* ---------- Main ---------- */
.main {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 160px;
  padding: 128px 24px 72px;
}

/* ---------- Hero ---------- */
.hero { position: relative; }

.hero__main {
  grid-column: 3 / span 8;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 9999px;
  background: var(--surface);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: inset 0 0 0 1px var(--ind-line);
  font-weight: 700;
  font-size: 12px;
  line-height: 16px;
  color: var(--ind-text);
  white-space: nowrap;
}
.dot--badge { width: 8px; height: 8px; background: rgb(251, 191, 36); }

.hero__title {
  margin: 28px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 5.2vw, 68px);
  line-height: 1.06;
  letter-spacing: -1.5px;
  text-wrap: balance;
}

.hero__lead {
  margin: 28px 0 0;
  max-width: 640px;
  font-size: 20px;
  line-height: 30px;
  color: var(--text2);
  text-wrap: pretty;
}

.hero__btns {
  margin-top: 40px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Timer */
.timer {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  padding: 10px 10px 10px 18px;
  border-radius: 16px;
  background: var(--surface);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: inset 0 0 0 1px var(--amb-line);
  color: var(--text);
}
.timer:hover {
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--amb);
}
.timer__offer {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 14px;
  line-height: 20px;
  color: var(--text);
}
.timer__badge {
  padding: 4px 10px;
  border-radius: 10px;
  background: var(--amb);
  color: var(--on-amb);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: -0.3px;
  transform: rotate(-3deg);
  box-shadow: 0 8px 20px -6px rgba(245, 158, 11, 0.6);
}
.timer__clock {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  color: var(--amb-text);
  font-variant-numeric: tabular-nums;
}
.timer__cell {
  min-width: 40px;
  padding: 6px 0;
  text-align: center;
  border-radius: 10px;
  background: var(--amb-soft);
}

/* Stats */
.stats {
  grid-column: 4 / span 6;
  position: relative;
  z-index: 1;
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.stat {
  padding: 4px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  text-align: center;
}
.stat + .stat { border-left: 1px solid var(--line2); }
.stat__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 36px;
  line-height: 40px;
  color: var(--text);
}
.stat__unit {
  font-size: 18px;
  color: var(--amb-text);
  margin-left: 4px;
}
.stat__label {
  font-size: 14px;
  line-height: 20px;
  color: var(--muted);
  text-wrap: balance;
}

/* ---------- Audit ---------- */
.audit {
  row-gap: 48px;
  align-items: center;
}

.audit__text {
  grid-column: 1 / span 7;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.tag-amber {
  padding: 5px 12px;
  border-radius: 8px;
  background: var(--amb-soft);
  box-shadow: inset 0 0 0 1px var(--amb-line);
  font-weight: 700;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--amb-text);
  white-space: nowrap;
}

.audit__title { margin: 20px 0 0; max-width: 720px; }

.audit__p {
  margin: 24px 0 0;
  max-width: 680px;
  font-size: 18px;
  line-height: 28px;
  color: var(--text2);
  text-wrap: pretty;
}

.checklist {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 16px;
  line-height: 24px;
  color: var(--text);
}
.checklist__mark {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--ind-soft);
  box-shadow: inset 0 0 0 1px var(--ind-line);
  color: var(--ind-text);
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.audit__card {
  grid-column: 8 / span 5;
  min-width: 0;
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 36px;
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--ind-line), var(--shadow);
  display: flex;
  flex-direction: column;
}
.audit__card > * { position: relative; }
.audit__card > .audit__card-glow {
  position: absolute;
  right: -40px;
  top: -40px;
  width: 144px;
  height: 144px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.2);
  filter: blur(40px);
}
.audit__over { font-size: 11px; }

.audit__card-title {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  line-height: 32px;
}
.audit__card-p {
  margin: 16px 0 0;
  font-size: 15px;
  line-height: 23px;
  color: var(--muted);
}

.audit__loc {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--inset);
  box-shadow: inset 0 0 0 1px var(--line);
}
.audit__loc-text { display: flex; flex-direction: column; gap: 2px; }
.audit__loc-label { font-size: 12px; line-height: 16px; color: var(--muted); }
.audit__loc-value { font-weight: 700; font-size: 14px; line-height: 20px; }

.badge-ok {
  white-space: nowrap;
  padding: 4px 12px;
  border-radius: 9999px;
  background: var(--ok-soft);
  color: var(--ok-text);
  font-weight: 700;
  font-size: 12px;
  line-height: 16px;
}

.audit__cta {
  margin-top: 24px;
  text-align: center;
  padding: 16px;
  border-radius: 14px;
  font-size: 16px;
  line-height: 24px;
  box-shadow: 0 10px 15px -3px rgba(245, 158, 11, 0.25);
}

/* ---------- Services ---------- */
.services { gap: 24px; }

.services__head {
  grid-column: 3 / span 8;
  text-align: center;
  margin-bottom: 32px;
}
.services__title { margin: 16px 0 0; }
.services__p {
  margin: 20px auto 0;
  max-width: 560px;
  font-size: 18px;
  line-height: 28px;
  color: var(--muted);
  text-wrap: pretty;
}

.service {
  grid-column: span 4;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 32px;
  border-radius: 24px;
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: box-shadow .2s;
}
.service--wide { grid-column: span 6; }
.service:hover { box-shadow: inset 0 0 0 1px var(--ind-line), var(--shadow); }

.service__num {
  align-self: flex-start;
  padding: 6px 10px;
  border-radius: 10px;
  background: var(--ind-soft);
  box-shadow: inset 0 0 0 1px var(--ind-line);
  color: var(--ind-text);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  line-height: 18px;
}
.service__title {
  margin: 24px 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 28px;
}
.service__text {
  margin: 14px 0 0;
  max-width: 560px;
  font-size: 15px;
  line-height: 24px;
  color: var(--muted);
  text-wrap: pretty;
}
.service__link {
  margin-top: auto;
  padding-top: 24px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  white-space: nowrap;
  font-weight: 700;
  font-size: 14px;
  color: var(--ind-text);
}

/* ---------- Cases ---------- */
.cases { gap: 24px; }

.cases__head {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.cases__title { margin: 16px 0 0; text-wrap: initial; }

.case {
  grid-column: span 4;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.case__media {
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  box-shadow: inset 0 0 0 1px var(--line);
  background: repeating-linear-gradient(135deg, var(--stripe) 0 10px, transparent 10px 20px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
}
.case__title {
  font-weight: 700;
  font-size: 15px;
  line-height: 22px;
}
.case__media--filled {
  position: relative;
  overflow: hidden;
  background: var(--inset);
}
/* Рамка поверх фото: inset-тень родителя перекрывается картинкой */
.case__media--filled::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inherit;
  pointer-events: none;
}
.case__media--filled img,
.case__media--filled video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.case__link {
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: var(--text);
}
.case__link .case__media { transition: box-shadow .2s; }
.case__link:hover .case__media { box-shadow: inset 0 0 0 1px var(--ind-line); }
.case__link:hover .case__title { color: var(--ind-text); }

/* ---------- Why ---------- */
.why {
  gap: 48px 24px;
  align-items: start;
}

.why__intro {
  grid-column: 1 / span 5;
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.why__title { margin: 16px 0 0; }
.why__p {
  margin: 24px 0 0;
  max-width: 440px;
  font-size: 18px;
  line-height: 28px;
  color: var(--text2);
  text-wrap: pretty;
}

.why__list {
  grid-column: 7 / span 6;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line2);
}
.why__row {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 24px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line2);
}
.why__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 44px;
  line-height: 44px;
  letter-spacing: -1px;
  color: var(--amb-text);
}
.why__body { display: flex; flex-direction: column; gap: 12px; }
.why__row-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 30px;
}
.why__row-text {
  margin: 0;
  max-width: 520px;
  font-size: 16px;
  line-height: 26px;
  color: var(--muted);
  text-wrap: pretty;
}

/* ---------- CTA ---------- */
.cta {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 96px 0;
  text-align: center;
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--ind-line), var(--shadow);
}
.cta__glow {
  position: absolute;
  left: 50%;
  top: -160px;
  width: 520px;
  height: 520px;
  margin-left: -260px;
  border-radius: 50%;
  background: var(--glow-i);
  filter: blur(90px);
}
.cta__body {
  grid-column: 3 / span 8;
  position: relative;
  padding: 0 24px;
}
.cta__title {
  margin: 0 auto;
  max-width: 760px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.15;
  text-wrap: balance;
}
.cta__p {
  margin: 20px auto 0;
  max-width: 600px;
  font-size: 18px;
  line-height: 28px;
  color: var(--text2);
  text-wrap: pretty;
}
.cta__btn {
  margin-top: 36px;
  display: inline-flex;
  padding: 16px 32px;
  border-radius: 16px;
  font-size: 16px;
  line-height: 24px;
  box-shadow: 0 25px 50px -12px rgba(245, 158, 11, 0.4);
}

/* ---------- Footer ---------- */
.footer {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto 24px;
  position: relative;
  overflow: hidden;
  container-type: inline-size;
  border-radius: 28px;
  background: var(--surface);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: inset 0 0 0 1px var(--line);
}
.footer__glow {
  position: absolute;
  left: -120px;
  bottom: -200px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: var(--glow-a);
  filter: blur(120px);
  pointer-events: none;
}

.footer__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 48px 24px;
  padding: 56px 48px 40px;
}

.footer__about {
  grid-column: span 5;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}
.footer__logo { display: flex; align-items: center; gap: 10px; }
.footer__logo img { height: 40px; width: auto; }
.footer__desc {
  margin: 0;
  max-width: 380px;
  font-size: 16px;
  line-height: 26px;
  color: var(--text2);
  text-wrap: pretty;
}
.footer__cta {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 20px;
}

.footer__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.footer__nav {
  grid-column: 7 / span 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 15px;
  line-height: 22px;
}
.footer__nav a { color: var(--text); }
.footer__nav a:hover { color: var(--ind-text); }

.footer__contacts {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__phone {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 30px;
  color: var(--text);
  white-space: nowrap;
}
.footer__phone:hover { color: var(--amb-text); }
.footer__phones { display: flex; flex-direction: column; gap: 4px; }
.footer__addr { font-size: 15px; line-height: 22px; color: var(--text2); }
.footer__socials { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }

.chip {
  padding: 8px 14px;
  border-radius: 10px;
  background: var(--inset);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--text);
  font-weight: 700;
  font-size: 13px;
  line-height: 18px;
}
.chip:hover {
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--ind-line);
}

.footer__word {
  position: relative;
  padding: 0 48px 0.08em;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 13cqw;
  line-height: 1.1;
  letter-spacing: -0.04em;
  text-align: center;
  white-space: nowrap;
  background: linear-gradient(180deg, var(--line2) 40%, transparent 115%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-user-select: none;
  user-select: none;
}

.footer__bottom {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px 48px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 20px;
  color: var(--muted);
}
.footer__bottom a { color: var(--muted); }
.footer__bottom a:hover { color: var(--text); }

/* ---------- Floating button ---------- */
.float-btn {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px 14px 20px;
  border-radius: 16px;
  background: var(--surface);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: inset 0 0 0 1px var(--ind-line), 0 25px 50px -12px rgba(79, 70, 229, 0.4);
  color: var(--text);
  font-weight: 700;
  font-size: 14px;
  line-height: 20px;
  white-space: nowrap;
}
.float-btn:hover { color: var(--text); }
.float-btn__dot {
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--dot-g);
}
.float-btn__badge {
  padding: 2px 10px;
  border-radius: 8px;
  background: var(--amb-soft);
  color: var(--amb-text);
  font-size: 12px;
  line-height: 16px;
}

/* ---------- Modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(4, 4, 10, 0.6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
  color: var(--text);
  font-family: var(--font-body);
}

.modal__dialog {
  position: relative;
  width: 100%;
  max-width: 460px;
  margin: auto;
  border-radius: 28px;
  padding: 32px;
  background: var(--bg);
  background-image: var(--card);
  box-shadow: inset 0 0 0 1px var(--line2), 0 40px 80px -24px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}
.modal__glow {
  position: absolute;
  right: -60px;
  top: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--glow-i);
  filter: blur(60px);
  pointer-events: none;
}

.modal__close {
  position: absolute;
  z-index: 5;
  right: 20px;
  top: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: var(--inset);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal__close:hover { color: var(--text); }

.modal__form {
  position: relative;
  display: flex;
  flex-direction: column;
}
.modal__over {
  font-weight: 700;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--amb-text);
}
.modal__title {
  margin: 12px 48px 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  line-height: 32px;
  letter-spacing: -0.4px;
  text-wrap: balance;
}
.modal__p {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 23px;
  color: var(--text2);
  text-wrap: pretty;
}

.modal__fields {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.field { display: flex; flex-direction: column; gap: 8px; }
.field__label {
  font-weight: 700;
  font-size: 13px;
  line-height: 18px;
  color: var(--text2);
}

.segment--format {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  border-radius: 14px;
}
.segment--format .segment__btn {
  padding: 11px 10px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 20px;
  transition: background .2s;
}

.field__input {
  height: 52px;
  width: 100%;
  padding: 0 16px;
  border: none;
  outline: none;
  border-radius: 14px;
  background: var(--inset);
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--text);
  font: 500 15px/20px var(--font-body);
}
.field__input:focus { box-shadow: inset 0 0 0 1.5px var(--ind); }
.field__input.is-error { box-shadow: inset 0 0 0 1.5px var(--error); }

.select { position: relative; display: block; }
.field__select {
  -webkit-appearance: none;
  appearance: none;
  padding: 0 44px 0 16px;
  cursor: pointer;
}
.field__select option { background: var(--bg); color: var(--text); }
.select__chevron {
  position: absolute;
  right: 18px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -6px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  pointer-events: none;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-error {
  margin-top: 16px;
  font-size: 13px;
  line-height: 18px;
  color: var(--error);
}

.modal__submit {
  margin-top: 24px;
  height: 56px;
  border: none;
  cursor: pointer;
  border-radius: 16px;
  font: 700 16px/24px var(--font-body);
  box-shadow: 0 20px 25px -10px rgba(245, 158, 11, 0.4);
}
.modal__submit:disabled { cursor: progress; opacity: .7; filter: none; }

.modal__note {
  margin-top: 14px;
  text-align: center;
  font-size: 12px;
  line-height: 16px;
  color: var(--muted);
}

.modal__success {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 0 8px;
}
.success__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--ok-soft);
  color: var(--ok-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
}
.success__title {
  margin: 24px 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  line-height: 30px;
}
.success__p {
  margin: 12px 0 0;
  max-width: 320px;
  font-size: 15px;
  line-height: 23px;
  color: var(--text2);
  text-wrap: pretty;
}

.summary {
  margin-top: 24px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border-radius: 16px;
  background: var(--inset);
  box-shadow: inset 0 0 0 1px var(--line);
  text-align: left;
}
.summary__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  line-height: 20px;
}
.summary__key { color: var(--muted); }
.summary__val { font-weight: 700; text-align: right; }

.btn-ghost {
  margin-top: 24px;
  width: 100%;
  height: 52px;
  border: none;
  cursor: pointer;
  border-radius: 16px;
  background: var(--inset);
  box-shadow: inset 0 0 0 1px var(--line2);
  color: var(--text);
  font: 700 15px/22px var(--font-body);
}
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--ind-line); }

/* ==========================================================================
   Responsive
   ========================================================================== */

/* Tablet + mobile */
@media (max-width: 991px) {
  .col { grid-column: 1 / -1; }
  .orbit,
  .header__nav { display: none; }
  .why__intro { position: static; }
}

/* Tablet only */
@media (min-width: 641px) and (max-width: 991px) {
  .main { gap: 120px; padding-top: 64px; }
  .service.col { grid-column: span 6; }
  .service.col:last-child { grid-column: 1 / -1; }
  .case.col { grid-column: span 4; }
  .case__media { aspect-ratio: 3 / 4; }
  .footer__nav.col,
  .footer__contacts.col { grid-column: span 6; }
}

/* Mobile */
@media (max-width: 640px) {
  .main { gap: 96px; padding: 40px 16px 24px; }

  .header { padding: 0 12px; top: 12px; margin-top: 12px; }
  .header__cta { display: none; }

  .hero__badge {
    white-space: normal;
    text-align: left;
    font-size: 11px;
    padding: 7px 12px;
  }
  .hero__btns {
    flex-direction: column;
    width: 100%;
    margin-top: 32px;
  }
  .hero__btns > a { justify-content: center; text-align: center; }

  .timer {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    padding: 16px;
    gap: 14px;
  }
  .timer__offer {
    font-size: 14px;
    line-height: 20px;
    text-align: left;
    gap: 12px;
  }
  .timer__clock {
    justify-content: center;
    gap: 6px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    font-size: 20px;
    line-height: 24px;
  }
  .timer__cell { flex: 1; min-width: 0; padding: 8px 0; }

  .stat { padding: 4px 6px; }
  .stat__label { font-size: 12px; line-height: 16px; }
  .stat__value { font-size: 24px; line-height: 30px; }
  .stat__unit { font-size: 13px; }

  .card-pad { padding: 24px; border-radius: 20px; }

  .why__row {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 16px;
    padding: 28px 0;
  }
  .why__num { font-size: 28px; line-height: 32px; }

  .case__media { aspect-ratio: 4 / 3; }

  .cta { padding: 56px 0; border-radius: 22px; }

  .footer__grid { padding: 32px 24px 28px; gap: 32px 24px; }
  .footer__word,
  .footer__bottom { padding-left: 24px; padding-right: 24px; }

  .float-btn {
    left: 16px;
    right: 16px;
    bottom: 16px;
    justify-content: center;
  }

  .modal {
    padding: 0;
    align-items: stretch;
    justify-content: stretch;
  }
  .modal__dialog {
    max-width: none;
    width: 100%;
    min-height: 100%;
    margin: 0;
    border-radius: 0;
    padding: 80px max(20px, calc((100% - 560px) / 2)) 40px;
    box-shadow: none;
  }
  .modal__close { position: fixed; top: 16px; right: 16px; }
  .field--format { display: none; }
}
