/* =========================================================================
   NEW MEDIA — landing styles
   Brandbook system: Studio Black base, neon light accents (teal/blue/violet),
   heavy condensed display (Oswald) + Manrope text, glowing arcs & ghost numbers.
   ========================================================================= */

/* ---------- Reset / Normalize ---------- */
*, *::before, *::after { -webkit-box-sizing: border-box; box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; -moz-text-size-adjust: 100%; text-size-adjust: 100%; }
body { line-height: 1.5; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
img, picture, svg, video, canvas { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; background: none; border: none; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

/* ---------- Brand tokens ---------- */
:root {
  /* base */
  --studio-black: #020205;
  --deep-graphite: #0b0d16;
  --midnight-blue: #101633;
  --signal-white: #f4f6ff;
  --soft-grey: #a4a7b4;
  /* neon accents */
  --violet: #4b2bbf;   /* продюсирование */
  --blue:   #274bff;   /* мероприятия */
  --teal:   #00b6db;   /* продакшн */
  --burgundy: #7d2240; /* стримы */

  --bg:        var(--studio-black);
  --bg-2:      var(--deep-graphite);
  --surface:   #0e111c;
  --surface-2: #141832;
  --line:      rgba(244,246,255,0.10);
  --line-2:    rgba(244,246,255,0.055);
  --text:      var(--signal-white);
  --muted:     var(--soft-grey);
  --faint:     #6a6e83;

  --grad-primary: linear-gradient(100deg, var(--teal) 0%, var(--blue) 55%, var(--violet) 110%);
  --grad-blue-violet: linear-gradient(100deg, var(--blue), var(--violet));
  --glow-teal: 0 0 60px -6px rgba(0,182,219,0.55);

  --font-sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Oswald", "Manrope", sans-serif;
  --font-label: "Manrope", sans-serif;

  --maxw: 1280px;
  --pad: clamp(20px, 5vw, 64px);
  --radius: 16px;
  --radius-lg: 24px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --reveal-shift: 34px;
  --reveal-dur: 0.9s;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  font-size: 17px;
  letter-spacing: 0.005em;
}
.grain::after {
  content: ""; position: fixed; inset: 0; z-index: 1; pointer-events: none;
  opacity: 0.045; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.section { position: relative; z-index: 2; padding-top: clamp(76px, 11vw, 156px); padding-bottom: clamp(76px, 11vw, 156px); overflow: hidden; }

/* glowing light arc — signature brand element */
.arc { position: absolute; border-radius: 50%; border: 1.5px solid transparent; pointer-events: none; z-index: 0; }
.arc--teal { border-top-color: rgba(0,182,219,0.55); border-right-color: rgba(0,182,219,0.18); -webkit-box-shadow: 0 0 90px -10px rgba(0,182,219,0.45); box-shadow: 0 0 90px -10px rgba(0,182,219,0.45); }
.arc--violet { border-bottom-color: rgba(75,43,191,0.5); border-left-color: rgba(75,43,191,0.18); -webkit-box-shadow: 0 0 90px -10px rgba(75,43,191,0.4); box-shadow: 0 0 90px -10px rgba(75,43,191,0.4); }
.arc--blue { border-top-color: rgba(39,75,255,0.45); -webkit-box-shadow: 0 0 80px -12px rgba(39,75,255,0.4); box-shadow: 0 0 80px -12px rgba(39,75,255,0.4); }

/* huge ghost number */
.ghost-num { position: absolute; z-index: 0; font-family: var(--font-display); font-weight: 700; line-height: 0.8; color: transparent; -webkit-text-stroke: 1.5px rgba(75,43,191,0.30); pointer-events: none; -webkit-user-select: none; user-select: none; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-label); font-size: 13px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ""; width: 30px; height: 2px; background: var(--teal); display: inline-block; border-radius: 2px; }
.eyebrow--violet::before { background: var(--violet); }
.eyebrow--blue::before { background: var(--blue); }

.h-section {
  font-family: var(--font-display);
  font-weight: 700; line-height: 0.98; letter-spacing: 0.005em; text-transform: uppercase;
  font-size: clamp(34px, 5.6vw, 74px);
  text-wrap: balance;
}
.lead { color: var(--muted); font-size: clamp(17px, 1.5vw, 21px); line-height: 1.55; max-width: 56ch; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(var(--reveal-shift)); transition: opacity var(--reveal-dur) var(--ease), transform var(--reveal-dur) var(--ease); will-change: opacity, transform; }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; } }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-sans); font-weight: 700; font-size: 15px; letter-spacing: 0.01em;
  padding: 15px 26px; border-radius: 100px; white-space: nowrap;
  -webkit-transition: all 0.35s var(--ease); transition: all 0.35s var(--ease);
}
.btn svg { width: 17px; height: 17px; -webkit-transition: transform 0.35s var(--ease); transition: transform 0.35s var(--ease); }
.btn--primary { background: var(--grad-primary); background-size: 160% 100%; background-position: 0% 50%; color: #fff; }
.btn--primary:hover { background-position: 100% 50%; -webkit-transform: translateY(-2px); transform: translateY(-2px); -webkit-box-shadow: 0 16px 44px -12px rgba(39,75,255,0.7); box-shadow: 0 16px 44px -12px rgba(39,75,255,0.7); }
.btn--primary:hover svg { -webkit-transform: translateX(4px); transform: translateX(4px); }
.btn--light { background: var(--text); color: #06070d; }
.btn--light:hover { -webkit-transform: translateY(-2px); transform: translateY(-2px); -webkit-box-shadow: 0 14px 40px -14px rgba(244,246,255,0.5); box-shadow: 0 14px 40px -14px rgba(244,246,255,0.5); }
.btn--light:hover svg { -webkit-transform: translateX(4px); transform: translateX(4px); }
.btn--ghost { background: rgba(244,246,255,0.02); color: var(--text); border: 1px solid var(--line); }
.btn--ghost:hover { border-color: var(--teal); background: rgba(0,182,219,0.07); }
.btn--lg { padding: 18px 34px; font-size: 16px; }
.btn--block { width: 100%; }

.textlink { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--text); }
.textlink svg { width: 16px; height: 16px; -webkit-transition: transform 0.3s var(--ease); transition: transform 0.3s var(--ease); }
.textlink:hover { color: var(--teal); }
.textlink:hover svg { -webkit-transform: translateX(4px); transform: translateX(4px); }

/* =========================================================================
   HEADER
   ========================================================================= */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  -webkit-transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(2,2,5,0.72);
  -webkit-backdrop-filter: saturate(140%) blur(18px); backdrop-filter: saturate(140%) blur(18px);
  border-bottom-color: var(--line-2);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 78px; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 27px; width: auto; -webkit-filter: invert(1) drop-shadow(0 0 10px rgba(0,182,219,0.45)); filter: invert(1) drop-shadow(0 0 10px rgba(0,182,219,0.45)); }
.header__nav { display: flex; align-items: center; gap: 34px; }
.header__nav a { font-size: 15px; font-weight: 600; color: var(--muted); -webkit-transition: color 0.25s; transition: color 0.25s; }
.header__nav a:hover { color: var(--text); }
.header__actions { display: flex; align-items: center; gap: 16px; }
.header__phone { font-size: 15px; font-weight: 700; letter-spacing: 0.01em; white-space: nowrap; }
.header__phone:hover { color: var(--teal); }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); color: var(--text);
  -webkit-transition: all 0.3s var(--ease); transition: all 0.3s var(--ease);
}
.icon-btn svg { width: 19px; height: 19px; }
.icon-btn:hover { background: var(--teal); border-color: var(--teal); color: #04141a; -webkit-transform: translateY(-2px); transform: translateY(-2px); -webkit-box-shadow: var(--glow-teal); box-shadow: var(--glow-teal); }

.burger { display: flex; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid var(--line); -webkit-transition: border-color 0.3s; transition: border-color 0.3s; }
.burger:hover { border-color: var(--teal); }
.burger span { display: block; width: 20px; height: 2px; background: var(--text); border-radius: 2px; -webkit-transition: transform 0.35s var(--ease), opacity 0.25s; transition: transform 0.35s var(--ease), opacity 0.25s; }
.burger.is-open span:nth-child(1) { -webkit-transform: translateY(7px) rotate(45deg); transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { -webkit-transform: translateY(-7px) rotate(-45deg); transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 55; background: var(--bg);
  display: flex; flex-direction: column; padding: 104px var(--pad) clamp(64px, 16vh, 130px);
  -webkit-transform: translateY(-100%); transform: translateY(-100%);
  -webkit-transition: transform 0.5s var(--ease); transition: transform 0.5s var(--ease);
  visibility: hidden; overflow: hidden;
}
.mobile-menu__links { position: relative; z-index: 2; display: flex; flex-direction: column; }
.mobile-menu.is-open { -webkit-transform: translateY(0); transform: translateY(0); visibility: visible; }
.mobile-menu .arc { z-index: 0; }
.mobile-menu a.m-link { position: relative; z-index: 2; font-family: var(--font-display); font-size: clamp(34px, 10vw, 52px); font-weight: 700; text-transform: uppercase; letter-spacing: 0.01em; padding: 12px 0; border-bottom: 1px solid var(--line-2); -webkit-transition: color 0.25s; transition: color 0.25s; }
.mobile-menu a.m-link:hover { color: var(--teal); }
.mobile-menu__foot { position: relative; z-index: 2; margin-top: auto; display: flex; flex-direction: column; gap: 14px; padding-top: 30px; }
.mobile-menu__foot .btn { width: 100%; }

/* =========================================================================
   HERO
   ========================================================================= */
.hero { position: relative; min-height: 104vh; display: flex; align-items: center; overflow: hidden; padding-top: 120px; padding-bottom: 64px; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__vignette { position: absolute; inset: 0; background:
   radial-gradient(120% 90% at 78% 12%, rgba(0,182,219,0.16), transparent 50%),
   radial-gradient(90% 80% at 12% 100%, rgba(75,43,191,0.20), transparent 55%),
   radial-gradient(120% 120% at 50% 120%, rgba(2,2,5,0.9), transparent 60%),
   linear-gradient(180deg, rgba(2,2,5,0.35), rgba(2,2,5,0.55)); }
.hero__ghost { position: absolute; right: -2vw; top: 50%; transform: translateY(-50%); font-family: var(--font-display); font-weight: 700; font-size: 58vh; line-height: 0.7; color: transparent; -webkit-text-stroke: 2px rgba(75,43,191,0.16); z-index: 0; pointer-events: none; }
.hero__inner { position: relative; z-index: 2; width: 100%; }
.hero__eyebrow { margin-bottom: 28px; }
.hero h1 {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(36px, 6.4vw, 86px); line-height: 0.94; letter-spacing: 0.005em;
  text-wrap: balance; max-width: 18ch;
}
.hero--center .hero__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero--center .hero__eyebrow::before { display: none; }
.hero--center h1 { margin-left: auto; margin-right: auto; }
.hero--center .hero__sub { margin-left: auto; margin-right: auto; }
.hero--center .hero__cta { justify-content: center; }
.hero--center .hero__metrics { justify-content: center; border-top: none; padding-top: 0; gap: clamp(28px, 6vw, 84px); }
.hero--center .metric { text-align: center; }
.hero h1 .accentword { background: var(--grad-primary); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.hero__sub { margin-top: 26px; font-size: clamp(17px, 1.7vw, 22px); color: var(--muted); max-width: 48ch; line-height: 1.5; }
.hero__cta { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 14px; }

.hero__metrics { margin-top: clamp(46px, 7vw, 84px); display: flex; flex-wrap: wrap; gap: clamp(24px, 5vw, 72px); border-top: 1px solid var(--line); padding-top: 30px; }
.metric__num { font-family: var(--font-display); font-weight: 700; font-size: clamp(32px, 4vw, 52px); letter-spacing: 0.01em; line-height: 1; }
.metric__num .unit { color: var(--teal); }
.metric__label { margin-top: 6px; font-family: var(--font-label); font-size: 12.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }

.scroll-hint { position: absolute; left: 50%; bottom: 24px; -webkit-transform: translateX(-50%); transform: translateX(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--faint); font-family: var(--font-label); font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; }
.scroll-hint__line { width: 1px; height: 42px; background: linear-gradient(180deg, var(--faint), transparent); position: relative; overflow: hidden; }
.scroll-hint__line::after { content: ""; position: absolute; top: -50%; left: 0; width: 100%; height: 50%; background: var(--teal); -webkit-animation: scrolldot 1.8s var(--ease) infinite; animation: scrolldot 1.8s var(--ease) infinite; }
@-webkit-keyframes scrolldot { 0% { top: -50%; } 100% { top: 100%; } }
@keyframes scrolldot { 0% { top: -50%; } 100% { top: 100%; } }

/* =========================================================================
   MARQUEE
   ========================================================================= */
.marquee { position: relative; z-index: 3; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); background: var(--bg-2); padding: 22px 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; width: -webkit-max-content; width: max-content; -webkit-animation: marquee 36s linear infinite; animation: marquee 36s linear infinite; }
.marquee:hover .marquee__track { -webkit-animation-play-state: paused; animation-play-state: paused; }
.marquee__item { display: inline-flex; align-items: center; gap: 28px; padding: 0 28px; font-family: var(--font-display); font-weight: 600; text-transform: uppercase; font-size: clamp(20px, 2.6vw, 34px); letter-spacing: 0.02em; color: var(--text); white-space: nowrap; }
.marquee__item::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--teal); -webkit-box-shadow: 0 0 14px 1px rgba(0,182,219,0.8); box-shadow: 0 0 14px 1px rgba(0,182,219,0.8); }
@-webkit-keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* =========================================================================
   INFRASTRUCTURE
   ========================================================================= */
.infra__head { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: end; }
.infra__head .lead { margin-top: 22px; }
.infra__metrics { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 56px; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.infra__metric { padding: 30px 24px; border-right: 1px solid var(--line); }
.infra__metric:last-child { border-right: none; }
.infra__metric .v { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 3.2vw, 44px); letter-spacing: 0.01em; }
.infra__metric .v .unit { color: var(--teal); }
.infra__metric .k { margin-top: 8px; font-family: var(--font-label); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }

.infra__showcase { position: relative; z-index: 2; margin-top: 16px; display: flex; flex-direction: column; gap: 16px; }
.infra__photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); min-height: 360px; max-height: 480px; }
.infra__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; -webkit-filter: brightness(0.92) contrast(1.04) saturate(0.95); filter: brightness(0.92) contrast(1.04) saturate(0.95); }
.infra__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(2,2,5,0) 45%, rgba(2,2,5,0.55)); pointer-events: none; }
.infra__photo-tag { position: absolute; z-index: 2; left: 18px; bottom: 16px; font-family: var(--font-label); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text); padding: 8px 14px; border-radius: 100px; background: rgba(2,2,5,0.5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(244,246,255,0.18); }
.infra__cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.infra__cards .infra-card { min-height: 0; padding: 22px; grid-column: auto; }
.infra__cards .infra-card h3 { font-size: clamp(16px, 1.3vw, 19px); }
.infra__cards .infra-card p { font-size: 13.5px; margin-top: 8px; }
.infra-card--span { grid-column: span 1; }
.infra-card { position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: var(--surface); overflow: hidden; -webkit-transition: border-color 0.4s var(--ease), background 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease); transition: border-color 0.4s var(--ease), background 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease); display: flex; flex-direction: column; }
.infra-card:hover { border-color: rgba(0,182,219,0.4); background: var(--surface-2); -webkit-transform: translateY(-4px); transform: translateY(-4px); -webkit-box-shadow: 0 24px 60px -30px rgba(0,182,219,0.6); box-shadow: 0 24px 60px -30px rgba(0,182,219,0.6); }
.infra-card__idx { font-family: var(--font-label); font-size: 12px; font-weight: 700; color: var(--teal); letter-spacing: 0.08em; }
.infra-card h3 { margin-top: 12px; font-family: var(--font-display); font-weight: 600; text-transform: uppercase; font-size: clamp(20px, 1.8vw, 25px); letter-spacing: 0.01em; line-height: 1.05; }
.infra-card p { margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.infra-card--wide { grid-column: span 7; }
.infra-card--mid { grid-column: span 5; }
.infra-card--third { grid-column: span 4; }
.infra-card--feature { grid-column: span 5; background: var(--grad-blue-violet); border-color: transparent; }
.infra-card--feature .infra-card__idx { color: rgba(255,255,255,0.7); }
.infra-card--feature h3 { color: #fff; }
.infra-card--feature p { color: rgba(255,255,255,0.82); }
.infra-card--feature:hover { -webkit-box-shadow: 0 24px 60px -28px rgba(75,43,191,0.8); box-shadow: 0 24px 60px -28px rgba(75,43,191,0.8); }
.infra__cta { position: relative; z-index: 2; margin-top: 38px; }

/* =========================================================================
   SERVICES
   ========================================================================= */
.services__head { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.services__list { position: relative; z-index: 2; margin-top: 56px; display: flex; flex-direction: column; }
.svc {
  display: grid; grid-template-columns: 92px 1.2fr 1fr; gap: clamp(20px, 4vw, 56px); align-items: center;
  padding: clamp(24px, 3.4vw, 42px) 0; border-top: 1px solid var(--line);
}
.svc:last-child { border-bottom: 1px solid var(--line); }
.svc__idx { font-family: var(--font-display); font-size: clamp(28px,3vw,44px); font-weight: 700; color: transparent; -webkit-text-stroke: 1.2px var(--faint); letter-spacing: 0.02em; align-self: flex-start; -webkit-transition: -webkit-text-stroke-color 0.35s; transition: -webkit-text-stroke-color 0.35s; }
.svc:hover .svc__idx { -webkit-text-stroke-color: var(--teal); }
.svc__title { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; font-size: clamp(22px, 2.8vw, 38px); letter-spacing: 0.005em; line-height: 1.02; -webkit-transition: color 0.3s; transition: color 0.3s; }
.svc:hover .svc__title { color: var(--teal); }
.svc__desc { margin-top: 12px; color: var(--muted); font-size: 16px; line-height: 1.5; max-width: 46ch; }
.svc__metrics { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-family: var(--font-label); font-size: 12.5px; font-weight: 600; letter-spacing: 0.02em; color: var(--text); border: 1px solid var(--line); border-radius: 100px; padding: 7px 14px; -webkit-transition: all 0.3s; transition: all 0.3s; }
.svc:hover .chip { border-color: rgba(0,182,219,0.4); color: var(--text); }
.svc__media { position: relative; }
.svc__thumb { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.svc__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; -webkit-filter: brightness(0.72) contrast(1.05) saturate(0.85) hue-rotate(-8deg); filter: brightness(0.72) contrast(1.05) saturate(0.85) hue-rotate(-8deg); -webkit-transition: transform 0.8s var(--ease), filter 0.6s var(--ease); transition: transform 0.8s var(--ease), filter 0.6s var(--ease); }
.svc:hover .svc__thumb img { -webkit-transform: scale(1.06); transform: scale(1.06); -webkit-filter: brightness(1) contrast(1) saturate(1); filter: brightness(1) contrast(1) saturate(1); }
.svc__thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(8,8,15,0.45)); pointer-events: none; }
.svc__cta { margin-top: 18px; }
.svc__play { position: absolute; z-index: 2; top: 14px; right: 14px; width: 46px; height: 46px; border-radius: 50%; background: rgba(2,2,5,0.5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; border: 1px solid rgba(244,246,255,0.3); -webkit-transition: all 0.35s var(--ease); transition: all 0.35s var(--ease); }
.svc:hover .svc__play { background: var(--teal); border-color: var(--teal); color: #04141a; -webkit-box-shadow: var(--glow-teal); box-shadow: var(--glow-teal); }
.svc__play svg { width: 15px; height: 15px; }

/* =========================================================================
   NUMBERS
   ========================================================================= */
.numbers { background: var(--bg-2); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.numbers__grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 56px; }
.num { padding: 34px 26px 34px 0; border-left: 1px solid var(--line); padding-left: 26px; }
.num:first-child { border-left: none; padding-left: 0; }
.num__v { font-family: var(--font-display); font-weight: 700; font-size: clamp(44px, 5.6vw, 82px); line-height: 0.92; letter-spacing: 0.01em; }
.num__v .unit { color: var(--teal); font-size: 0.42em; vertical-align: baseline; margin-left: 5px; }
.num__k { margin-top: 14px; font-size: 15px; color: var(--muted); line-height: 1.4; max-width: 22ch; }

/* =========================================================================
   CLIENTS
   ========================================================================= */
.clients__head { position: relative; z-index: 2; max-width: 64ch; }
.clients__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.clients__head--center .lead { margin-left: auto; margin-right: auto; }
.clients__cta--center { display: flex; justify-content: center; }
.clients__grid { position: relative; z-index: 2; margin-top: 54px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.client { background: var(--bg); aspect-ratio: 5 / 3; display: flex; align-items: center; justify-content: center; padding: 26px; -webkit-transition: background 0.4s var(--ease); transition: background 0.4s var(--ease); }
.client:hover { background: var(--surface-2); }
.client img { max-height: 46px; max-width: 78%; width: auto; object-fit: contain; opacity: 0.45; -webkit-filter: grayscale(1) brightness(1.7); filter: grayscale(1) brightness(1.7); -webkit-transition: opacity 0.4s var(--ease), filter 0.4s var(--ease); transition: opacity 0.4s var(--ease), filter 0.4s var(--ease); }
.client:hover img { opacity: 1; -webkit-filter: none; filter: none; }
.clients__cta { position: relative; z-index: 2; margin-top: 40px; }

/* =========================================================================
   APPLICATION FORM
   ========================================================================= */
.formsec__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.formsec__text { min-width: 0; }
.formsec__text .h-section { overflow-wrap: anywhere; }
.form-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 46px); overflow: hidden; }
.form-card::before { content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 3px; background: var(--grad-primary); }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-label); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); margin-bottom: 9px; }
.field input, .field textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--line); border-radius: 12px;
  padding: 15px 16px; font-size: 16px; color: var(--text);
  -webkit-transition: border-color 0.3s, background 0.3s, box-shadow 0.3s; transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
.field textarea { resize: vertical; min-height: 112px; }
.field input::-webkit-input-placeholder, .field textarea::-webkit-input-placeholder { color: var(--faint); }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: var(--surface-2); -webkit-box-shadow: 0 0 0 3px rgba(0,182,219,0.14); box-shadow: 0 0 0 3px rgba(0,182,219,0.14); }
.consent { display: flex; gap: 12px; align-items: flex-start; margin: 6px 0 22px; }
.consent input { -webkit-appearance: none; appearance: none; flex: 0 0 auto; width: 20px; height: 20px; border: 1px solid var(--line); border-radius: 6px; margin-top: 2px; position: relative; cursor: pointer; -webkit-transition: all 0.25s; transition: all 0.25s; }
.consent input:checked { background: var(--teal); border-color: var(--teal); }
.consent input:checked::after { content: ""; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border: solid #04141a; border-width: 0 2px 2px 0; -webkit-transform: rotate(45deg); transform: rotate(45deg); }
.consent label { font-size: 13px; color: var(--muted); line-height: 1.45; cursor: pointer; }
.consent a, .consent .linklike { color: var(--text); text-decoration: underline; text-underline-offset: 2px; background: none; border: none; padding: 0; font: inherit; cursor: pointer; }
.consent a:hover, .consent .linklike:hover { color: var(--teal); }
.form-note { margin-top: 14px; font-size: 13px; color: var(--faint); text-align: center; }
.form-status { margin-top: 14px; font-size: 14px; font-weight: 600; text-align: center; min-height: 20px; -webkit-transition: color 0.3s; transition: color 0.3s; }
.form-status.ok { color: var(--teal); }
.form-status.err { color: #ff5d73; }

/* =========================================================================
   CONTACTS
   ========================================================================= */
.contacts { background: var(--bg-2); border-top: 1px solid var(--line-2); }
.contacts__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); }
.contacts__info .lead { margin-top: 20px; }
.contact-rows { margin-top: 40px; display: flex; flex-direction: column; }
.contact-row { display: flex; align-items: flex-start; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); -webkit-transition: padding-left 0.3s var(--ease); transition: padding-left 0.3s var(--ease); }
.contact-row:hover { padding-left: 8px; }
.contact-row__ic { flex: 0 0 auto; width: 22px; color: var(--teal); margin-top: 2px; }
.contact-row__ic svg { width: 22px; height: 22px; }
.contact-row__k { font-family: var(--font-label); font-size: 11.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); }
.contact-row__v { margin-top: 5px; font-size: clamp(17px, 1.8vw, 21px); font-weight: 700; letter-spacing: 0.005em; }
.contact-row a.contact-row__v:hover { color: var(--teal); }
.contacts__connect { margin-top: 38px; }
.contacts__connect h3 { font-family: var(--font-label); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); margin-bottom: 16px; }
.msgr { display: inline-flex; align-items: center; gap: 12px; padding: 13px 20px; border: 1px solid var(--line); border-radius: 100px; font-weight: 700; -webkit-transition: all 0.3s var(--ease); transition: all 0.3s var(--ease); }
.msgr svg { width: 20px; height: 20px; color: var(--teal); -webkit-transition: color 0.3s; transition: color 0.3s; }
.msgr:hover { background: var(--teal); border-color: var(--teal); color: #04141a; -webkit-transform: translateY(-2px); transform: translateY(-2px); -webkit-box-shadow: var(--glow-teal); box-shadow: var(--glow-teal); }
.msgr:hover svg { color: #04141a; }
.msgr small { color: var(--faint); font-weight: 500; -webkit-transition: color 0.3s; transition: color 0.3s; }
.msgr:hover small { color: rgba(4,20,26,0.7); }

.map-card { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; min-height: 420px; position: relative; background: var(--surface); }
.map-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; -webkit-filter: grayscale(0.5) invert(0.92) hue-rotate(180deg) brightness(0.95) contrast(0.95); filter: grayscale(0.5) invert(0.92) hue-rotate(180deg) brightness(0.95) contrast(0.95); }
.map-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 30px; }
.map-cta small { color: var(--faint); font-size: 14px; }
.map-cta small a { color: var(--text); }
.map-cta small a:hover { color: var(--teal); }

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer { position: relative; z-index: 2; border-top: 1px solid var(--line); padding-top: clamp(56px, 7vw, 90px); padding-bottom: 40px; overflow: hidden; }
.footer__top { position: relative; z-index: 2; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer__brand .logo img { height: 25px; }
.footer__tag { margin-top: 20px; color: var(--muted); font-size: 15px; max-width: 36ch; line-height: 1.5; }
.footer__contact { margin-top: 24px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--muted); }
.footer__contact a:hover { color: var(--teal); }
.footer__socials { margin-top: 24px; display: flex; gap: 12px; }
/* reduced gap between clients and form */
.formsec { padding-top: clamp(44px, 5.5vw, 84px); }

.footer__col h4 { font-family: var(--font-label); font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text); margin-bottom: 18px; }
.footer__col ul { display: flex; flex-direction: column; gap: 13px; }
.footer__col a { color: var(--muted); font-size: 15px; -webkit-transition: color 0.25s; transition: color 0.25s; }
.footer__col a:hover { color: var(--text); }
.footer__legal-links { display: flex; flex-direction: column; gap: 13px; align-items: flex-start; }
.footer__legal-links button { text-align: left; color: var(--muted); font-size: 15px; -webkit-transition: color 0.25s; transition: color 0.25s; }
.footer__legal-links button:hover { color: var(--text); }
.footer__bottom { position: relative; z-index: 2; margin-top: clamp(48px, 6vw, 80px); padding-top: 28px; border-top: 1px solid var(--line-2); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.footer__copy { font-size: 13px; color: var(--muted); line-height: 1.6; }
.footer__disclaimer { font-size: 11.5px; color: var(--faint); line-height: 1.55; max-width: 70ch; }
.footer__disclaimer--meta { font-size: 10.5px; color: #41445a; }

/* =========================================================================
   COOKIE
   ========================================================================= */
.cookie {
  position: fixed; left: var(--pad); right: var(--pad); bottom: 20px; z-index: 70;
  max-width: 580px; margin: 0 auto; background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px;
  -webkit-box-shadow: 0 24px 70px -22px rgba(0,0,0,0.8); box-shadow: 0 24px 70px -22px rgba(0,0,0,0.8);
  -webkit-transform: translateY(160%); transform: translateY(160%);
  -webkit-transition: transform 0.6s var(--ease); transition: transform 0.6s var(--ease);
}
.cookie.is-in { -webkit-transform: translateY(0); transform: translateY(0); }
.cookie p { font-size: 13.5px; color: var(--muted); flex: 1 1 240px; line-height: 1.45; }
.cookie p button { background: none; border: none; color: var(--text); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; padding: 0; font: inherit; }
.cookie p button:hover { color: var(--teal); }
.cookie__actions { display: flex; gap: 10px; }
.cookie .btn { padding: 11px 22px; font-size: 14px; }

/* =========================================================================
   MODAL
   ========================================================================= */
.modal { position: fixed; inset: 0; z-index: 90; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.is-open { display: flex; }
.modal__overlay { position: absolute; inset: 0; background: rgba(2,2,5,0.8); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); -webkit-animation: fadein 0.3s var(--ease); animation: fadein 0.3s var(--ease); }
.modal__panel { position: relative; z-index: 2; width: 100%; max-width: 780px; max-height: 86vh; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); display: flex; flex-direction: column; overflow: hidden; -webkit-animation: pop 0.4s var(--ease); animation: pop 0.4s var(--ease); }
.modal__panel::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad-primary); z-index: 3; }
@-webkit-keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
@-webkit-keyframes pop { from { opacity: 0; transform: translateY(16px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(0.98); } to { opacity: 1; transform: none; } }
.modal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 30px clamp(24px,4vw,40px); border-bottom: 1px solid var(--line); }
.modal__head h3 { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(20px, 2.4vw, 30px); letter-spacing: 0.01em; line-height: 1.05; }
.modal__head .sub { margin-top: 8px; font-family: var(--font-label); font-size: 12px; font-weight: 600; color: var(--faint); letter-spacing: 0.06em; text-transform: uppercase; }
.modal__close { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; -webkit-transition: all 0.3s; transition: all 0.3s; }
.modal__close:hover { background: var(--teal); border-color: var(--teal); color: #04141a; }
.modal__close svg { width: 18px; height: 18px; }
.modal__body { overflow-y: auto; padding: 28px clamp(24px,4vw,40px) 36px; }
.modal__body h4 { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; font-size: 17px; margin: 26px 0 10px; letter-spacing: 0.01em; color: var(--text); }
.modal__body h4:first-child { margin-top: 0; }
.modal__body p { font-size: 14.5px; color: var(--muted); line-height: 1.62; margin-bottom: 12px; }
.modal__body strong { color: var(--text); font-weight: 700; }

/* =========================================================================
   STICKY MOBILE CTA
   ========================================================================= */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: none; padding: 12px var(--pad) calc(12px + env(safe-area-inset-bottom)); background: rgba(2,2,5,0.88); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-top: 1px solid var(--line); gap: 10px; -webkit-transform: translateY(120%); transform: translateY(120%); -webkit-transition: transform 0.5s var(--ease); transition: transform 0.5s var(--ease); }
.sticky-cta.is-in { -webkit-transform: translateY(0); transform: translateY(0); }
.sticky-cta .btn { flex: 1; padding: 14px; }
.sticky-cta .icon-btn { width: 48px; height: 48px; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1080px) {
  .infra__metrics { grid-template-columns: repeat(3, 1fr); }
  .infra__metric:nth-child(3) { border-right: none; }
  .infra__metric:nth-child(n+4) { border-top: 1px solid var(--line); }
  .numbers__grid { grid-template-columns: repeat(3, 1fr); }
  .clients__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 920px) {
  .header__phone, .header__actions .btn { display: none; }
  .header__inner { gap: 12px; }
  .header__actions { gap: 8px; }
  .infra__head { grid-template-columns: 1fr; align-items: start; }
  .infra__cards { grid-template-columns: repeat(2, 1fr); }
  .infra__photo { min-height: 300px; }
  .formsec__inner { grid-template-columns: 1fr; }
  .contacts__inner { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .svc { grid-template-columns: 60px 1fr; }
  .svc__media { grid-column: 1 / -1; margin-top: 8px; }
  .svc__thumb { max-width: 520px; }
  .sticky-cta { display: flex; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .infra__metrics { grid-template-columns: repeat(2, 1fr); }
  .infra__metric { border-right: 1px solid var(--line); }
  .infra__metric:nth-child(2n) { border-right: none; }
  .infra__metric:nth-child(n+3) { border-top: 1px solid var(--line); }
  .infra__cards { grid-template-columns: 1fr; }
  .infra-card--span { grid-column: span 1; }
  .infra__cta .btn { width: 100%; }
  .numbers__grid { grid-template-columns: 1fr 1fr; }
  .num { border-left: 1px solid var(--line); padding-left: 22px; }
  .num:nth-child(2n+1) { border-left: none; padding-left: 0; }
  .num:nth-child(n+3) { margin-top: 22px; }
  .clients__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr; }
  .svc { grid-template-columns: 1fr; gap: 14px; }
  .svc__idx { display: none; }
  .cookie { left: 12px; right: 12px; padding: 18px; }
  .cookie__actions { width: 100%; }
  .cookie__actions .btn { flex: 1; }
}
