:root {
  --page: #090b12;
  --surface: #111522;
  --surface-2: #171d2d;
  --surface-3: rgba(255, 255, 255, .06);
  --ink: #f6f7fb;
  --muted: #a7adbd;
  --soft: rgba(255, 255, 255, .08);
  --line: rgba(255, 255, 255, .13);
  --accent: #5df0c7;
  --accent-2: #8a7cff;
  --accent-3: #ffb86b;
  --deep: #090b12;
  --cream: #f6f7fb;
  --radius-lg: 34px;
  --radius-md: 22px;
  --container: 1180px;
  --shadow: 0 28px 90px rgba(0, 0, 0, .36);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--page);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 13% 8%, rgba(93, 240, 199, .19), transparent 30%),
    radial-gradient(circle at 88% 10%, rgba(138, 124, 255, .26), transparent 32%),
    radial-gradient(circle at 80% 82%, rgba(255, 184, 107, .14), transparent 30%),
    linear-gradient(135deg, #090b12 0%, #101424 48%, #080a10 100%);
}
.site-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .18;
  background-image:
    linear-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .12) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.8) 45%, transparent 96%);
}

.header,
.section-pad,
.footer {
  width: min(var(--container), calc(100% - 36px));
  margin-left: auto;
  margin-right: auto;
}

.header {
  margin-top: 18px;
  min-height: 76px;
  padding: 10px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  position: sticky;
  top: 14px;
  z-index: 20;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(9, 11, 18, .74);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 52px rgba(0, 0, 0, .25);
}
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.brand-mark {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  flex: 0 0 50px;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(93,240,199,.95), rgba(138,124,255,.9));
  color: #071016;
  font-size: 25px;
  font-weight: 950;
  box-shadow: 0 14px 34px rgba(93, 240, 199, .2);
}
.brand-text { display: grid; gap: 3px; line-height: 1; }
.brand-text strong { font-size: 15px; letter-spacing: .2em; }
.brand-text small { color: var(--muted); font-size: 12px; }
.nav { display: flex; align-items: center; justify-content: center; gap: 4px; min-width: 0; }
.nav a {
  padding: 11px 13px;
  border-radius: 999px;
  color: rgba(246, 247, 251, .72);
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease;
}
.nav a:hover { background: rgba(255,255,255,.08); color: #fff; }
.header-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 16px;
  background: #f6f7fb;
  color: #090b12;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.hero {
  min-height: 720px;
  padding: 78px 0 54px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, .76fr);
  gap: clamp(34px, 5vw, 76px);
  align-items: center;
}
.hero-copy { min-width: 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 950;
  font-size: 12px;
}
.eyebrow span { width: 34px; height: 1px; background: currentColor; }
.eyebrow.light { color: #d8d2ff; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-weight: 850; }
h1 {
  max-width: 830px;
  margin-bottom: 26px;
  font-size: clamp(44px, 6vw, 84px);
  line-height: .95;
  letter-spacing: -.065em;
}
h2 {
  margin-bottom: 0;
  font-size: clamp(33px, 4.1vw, 58px);
  line-height: 1;
  letter-spacing: -.055em;
}
h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.12;
  letter-spacing: -.025em;
}
.lead {
  max-width: 660px;
  margin-bottom: 32px;
  color: rgba(246, 247, 251, .72);
  font-size: 20px;
  line-height: 1.62;
}
.hero-actions, .contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 16px;
  border: 1px solid var(--line);
  font-weight: 900;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn.primary {
  background: linear-gradient(135deg, var(--accent), #d8fff5);
  color: #071016;
  box-shadow: 0 18px 38px rgba(93, 240, 199, .2);
  border-color: rgba(93, 240, 199, .45);
}
.btn.ghost { background: rgba(255, 255, 255, .06); color: var(--ink); }

.hero-photo {
  position: relative;
  width: 100%;
  max-width: 460px;
  min-height: 640px;
  margin: 0 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--surface-2);
  transform: rotate(1.2deg);
}
.hero-photo::before {
  content: "";
  position: absolute;
  inset: 14px;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 24px;
  pointer-events: none;
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, rgba(9, 11, 18, .84), transparent 52%),
    linear-gradient(135deg, rgba(93, 240, 199, .16), rgba(138, 124, 255, .12));
  pointer-events: none;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  min-height: 640px;
  object-fit: cover;
  object-position: center center;
  filter: saturate(.82) contrast(1.08);
}
.hero-photo figcaption {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 26px;
  z-index: 3;
  margin: 0;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 22px;
  background: rgba(9, 11, 18, .62);
  color: var(--cream);
  backdrop-filter: blur(14px);
}
.hero-photo figcaption strong {
  display: block;
  margin-bottom: 5px;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -.045em;
}
.hero-photo figcaption span {
  display: block;
  color: rgba(246, 247, 251, .72);
  line-height: 1.42;
}

.ticker {
  width: 100%;
  overflow: hidden;
  margin: 8px 0 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(93, 240, 199, .16), rgba(138, 124, 255, .18), rgba(255, 184, 107, .12));
  color: var(--cream);
}
.ticker-track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 0;
  will-change: transform;
  animation: tickerMove 38s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-group {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 17px 12px;
  flex: 0 0 auto;
}
.ticker span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(9, 11, 18, .42);
  color: rgba(246,247,251,.86);
  white-space: nowrap;
  font-size: 14px;
  font-weight: 800;
}
@keyframes tickerMove { to { transform: translate3d(-50%, 0, 0); } }

.split {
  padding: 94px 0 52px;
  display: grid;
  grid-template-columns: 130px minmax(0, .95fr) minmax(280px, .55fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}
.section-label {
  color: var(--accent);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .18em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.split-text {
  padding-top: 4px;
  color: rgba(246,247,251,.7);
  font-size: 17px;
  line-height: 1.72;
}
.split-text p:last-child { margin-bottom: 0; }
.section-head { max-width: 820px; margin-bottom: 34px; }
.section-head.slim { max-width: 735px; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.service-card {
  min-height: 264px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.035));
  box-shadow: 0 16px 48px rgba(0, 0, 0, .18);
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(93, 240, 199, .4);
  background: linear-gradient(145deg, rgba(93,240,199,.12), rgba(138,124,255,.08));
}
.card-num { display: block; margin-bottom: 44px; color: var(--accent); font-weight: 950; }
.service-card p { margin-bottom: 0; color: var(--muted); line-height: 1.62; }

.contrast { margin-top: 88px; margin-bottom: 8px; }
.contrast-inner {
  padding: clamp(32px, 5vw, 68px);
  border-radius: 38px;
  background:
    radial-gradient(circle at 86% 12%, rgba(93,240,199,.18), transparent 30%),
    radial-gradient(circle at 10% 95%, rgba(255,184,107,.14), transparent 28%),
    linear-gradient(135deg, #171d2d 0%, #10131f 55%, #080a10 100%);
  color: var(--cream);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.contrast-inner h2 { max-width: 960px; }
.contrast-list {
  margin-top: 38px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.contrast-list div {
  min-height: 136px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 22px;
  background: rgba(255,255,255,.065);
}
.contrast-list strong { display: block; margin-bottom: 8px; font-size: 20px; color: var(--accent); }
.contrast-list span { color: rgba(246,247,251,.72); line-height: 1.52; }

.process { padding-top: 84px; }
.timeline {
  display: grid;
  border-top: 1px solid var(--line);
}
.timeline article {
  display: grid;
  grid-template-columns: 90px minmax(200px, 280px) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.timeline span { color: var(--accent); font-weight: 950; }
.timeline h3 { margin-bottom: 0; }
.timeline p { margin-bottom: 0; color: var(--muted); line-height: 1.65; }

.formats { padding-top: 78px; }
.formats-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .86fr);
  gap: 34px;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 38px;
  background: rgba(255, 255, 255, .055);
  box-shadow: var(--shadow);
}
.formats-card > div > p:not(.eyebrow) { margin: 22px 0 0; color: var(--muted); font-size: 18px; line-height: 1.68; }
.format-list { display: grid; gap: 12px; }
.format-list article {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
}
.format-list h3 { font-size: 19px; margin-bottom: 8px; }
.format-list p { margin-bottom: 0; color: var(--muted); line-height: 1.52; }

.contacts {
  padding: 104px 0 78px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 440px;
  gap: 44px;
  align-items: start;
}
.contact-box {
  padding: 30px;
  border-radius: 30px;
  background: #f6f7fb;
  color: #090b12;
  box-shadow: 0 28px 80px rgba(0,0,0,.32);
}
.contact-line.big {
  display: block;
  margin-bottom: 12px;
  font-size: 32px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: -.04em;
}
.contact-line:not(.big) {
  display: inline-block;
  margin-bottom: 18px;
  color: #4c5367;
  font-weight: 800;
}
.contact-box p { margin-bottom: 24px; color: #555d70; line-height: 1.6; }
.contact-box .btn.ghost { background: transparent; color: #090b12; border-color: rgba(9,11,18,.16); }
.contact-box .btn.primary { background: #090b12; color: #f6f7fb; box-shadow: none; border-color: #090b12; }

.footer {
  margin-bottom: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, auto);
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
}
.footer div { display: flex; flex-wrap: wrap; gap: 12px 18px; }
.footer-requisites { justify-content: flex-end; }
.footer a { color: var(--ink); }

@media (max-width: 1040px) {
  .header { grid-template-columns: 1fr auto; border-radius: 24px; }
  .nav { grid-column: 1 / -1; justify-content: flex-start; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 62px; }
  .hero-photo { max-width: 460px; min-height: 620px; margin: 0 auto; transform: none; }
  .hero-photo img { min-height: 620px; }
  .split { grid-template-columns: 1fr; gap: 22px; padding-top: 78px; }
  .section-label { writing-mode: initial; transform: none; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contrast-list, .contacts, .formats-card { grid-template-columns: 1fr; }
  .contacts { gap: 26px; }
  .footer { grid-template-columns: 1fr; }
  .footer-requisites { justify-content: flex-start; }
}

@media (max-width: 680px) {
  .header, .section-pad, .footer { width: min(100% - 24px, var(--container)); }
  .header { margin-top: 12px; grid-template-columns: 1fr; gap: 10px; align-items: stretch; }
  .brand { justify-content: center; }
  .header-phone { width: 100%; }
  .brand-text small { display: none; }
  .nav { justify-content: flex-start; }
  .nav a { padding: 10px 11px; font-size: 13px; }
  h1 { font-size: 42px; line-height: .98; }
  h2 { font-size: 32px; line-height: 1.04; }
  .lead { font-size: 17px; line-height: 1.58; }
  .hero { padding: 44px 0 38px; gap: 28px; }
  .hero-photo { max-width: 390px; min-height: 540px; border-radius: 28px; }
  .hero-photo::before { inset: 10px; border-radius: 20px; }
  .hero-photo img { min-height: 540px; }
  .hero-photo figcaption { left: 18px; right: 18px; bottom: 18px; border-radius: 18px; }
  .hero-photo figcaption strong { font-size: 25px; }
  .ticker-track { animation-duration: 28s; }
  .ticker-group { padding: 14px 8px; gap: 8px; }
  .ticker span { min-height: 38px; padding: 0 14px; font-size: 13px; }
  .split { padding: 64px 0 42px; }
  .section-head { margin-bottom: 24px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; padding: 22px; }
  .card-num { margin-bottom: 28px; }
  .contrast { margin-top: 64px; }
  .contrast-inner { border-radius: 28px; }
  .timeline article { grid-template-columns: 1fr; gap: 8px; padding: 24px 0; }
  .formats-card { border-radius: 28px; }
  .contacts { padding: 74px 0 58px; }
  .contact-box { padding: 24px; border-radius: 24px; }
  .contact-line.big { font-size: 27px; }
  .footer { flex-direction: column; }
}
