:root {
  --bg: #0b1322;
  --bg-soft: #101c30;
  --card: #0f1d32;
  --text: #f4f8ff;
  --muted: #b8c9de;
  --accent: #5eb8ff;
  --accent-2: #8ed0ff;
  --gold: #5eb8ff;
  --gold-soft: rgba(94, 184, 255, 0.38);
  --gold-glow: rgba(94, 184, 255, 0.12);
  --warm-flare: rgba(255, 236, 210, 0.07);
  --line: #1a2f4a;
  --ok: #5ee0b8;
  --metal: #ffffff;
  --metal-dark: #8ba4c4;
  --radius: 12px;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --font-sans: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --btn-min-h: 46px;
  --card-pad: var(--space-3);
  --topbar-h: 38px;
}

* { box-sizing: border-box; }
/* Только iPhone/iPad: без Google Fonts и без backdrop-filter (баги WebKit / «белый экран»). */
html.ios-phone {
  --font-sans: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}
html.ios-phone .topbar,
html.ios-phone .topbar-menu,
html.ios-phone .hero-lead-inner,
html.ios-phone .mobile-cta {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
html.ios-phone .topbar {
  background: linear-gradient(180deg, rgba(10, 18, 32, 0.98), rgba(8, 14, 26, 0.94));
}
html.ios-phone .topbar-menu {
  background: rgba(10, 19, 33, 0.92);
}
html.ios-phone .case-caption {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: rgba(5, 12, 24, 0.84);
}
html.ios-phone .mobile-cta {
  background: linear-gradient(180deg, rgba(8, 14, 26, 0.96), rgba(6, 11, 22, 0.99));
}
html.ios-phone .hero-photo,
html.ios-phone .hero-logo,
html.ios-phone .hero-lead-inner .hero-logo {
  filter: none !important;
}
html.ios-phone .header-logo {
  filter: drop-shadow(0 0 6px rgba(142, 208, 255, 0.35)) !important;
}
html.ios-phone body {
  background: #0b1322;
}
html.ios-phone body::before,
html.ios-phone body::after,
html.ios-phone .hero-wiring,
html.ios-phone .hero-glow-soft,
html.ios-phone .hero-main::before,
html.ios-phone .hero-main::after,
html.ios-phone .hero-lead::before,
html.ios-phone .hero-lead-inner::before,
html.ios-phone .hero-lead-inner::after {
  display: none !important;
}
html.ios-phone .hero-main {
  background: linear-gradient(180deg, #081018 0%, #0b1322 100%);
}
html.ios-phone .hero-lead-inner {
  background: rgba(7, 14, 28, 0.86);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.34);
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
section[id] {
  scroll-margin-top: 80px;
}
body {
  display: flex;
  flex-direction: column;
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background:
    radial-gradient(ellipse 42% 34% at 0% 0%, var(--warm-flare), transparent 52%),
    radial-gradient(ellipse 90% 60% at 12% 8%, rgba(94, 184, 255, 0.1), transparent 42%),
    radial-gradient(ellipse 70% 50% at 88% 6%, rgba(126, 200, 255, 0.07), transparent 38%),
    radial-gradient(ellipse 80% 55% at 50% -15%, var(--gold-glow), transparent 55%),
    linear-gradient(165deg, #081018 0%, #0b1322 42%, #0f1a2c 100%);
  line-height: 1.62;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(0deg, rgba(77, 166, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77, 166, 255, 0.055) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.28;
  z-index: -1;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 93% 14%, rgba(142, 208, 255, 0.22) 0, transparent 0.45%),
    radial-gradient(circle at 90% 68%, rgba(142, 208, 255, 0.16) 0, transparent 0.4%),
    radial-gradient(circle at 97% 42%, rgba(255, 255, 255, 0.18) 0, transparent 0.28%);
  z-index: -1;
}
::selection {
  background: rgba(108, 190, 255, 0.28);
  color: #f2f8ff;
}
.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}
section {
  padding: calc(var(--space-4) + 14px) 0;
  position: relative;
}
section::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: min(1120px, 92%);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(77, 166, 255, 0.22), rgba(126, 200, 255, 0.35), rgba(77, 166, 255, 0.22), transparent);
  pointer-events: none;
}
h1, h2, h3 {
  margin: 0 0 var(--space-2);
  font-family: inherit;
  font-weight: 800;
  letter-spacing: 0.2px;
  line-height: 1.2;
  color: #ffffff;
}
p {
  margin: 0 0 var(--space-2);
  color: var(--muted);
  line-height: 1.65;
  text-wrap: pretty;
}
.card p {
  color: #c8d8ec;
  line-height: 1.62;
}

.topbar {
  order: -1;
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(100, 140, 195, 0.28);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  backdrop-filter: blur(16px) saturate(1.15);
  background: linear-gradient(180deg, rgba(10, 18, 32, 0.94), rgba(8, 14, 26, 0.86));
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.45),
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 -1px 0 rgba(94, 184, 255, 0.28) inset;
}
.topbar-inner {
  min-height: 64px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(10px, 2vw, 20px);
  padding: 10px 0;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
}
.topbar-inner > * {
  min-width: 0;
}
.brand-line {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: var(--topbar-h);
  font-family: inherit;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--metal);
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  flex: 0 0 auto;
  min-width: 0;
  max-width: min(300px, 34vw);
}
.brand-title {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.brand-line picture {
  display: block;
  flex: 0 0 auto;
  line-height: 0;
}
.header-logo {
  display: block;
  height: calc(var(--topbar-h) - 4px);
  width: auto;
  max-width: min(140px, 36vw);
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(142, 208, 255, 0.42)) drop-shadow(0 0 2px rgba(255, 255, 255, 0.35));
}
.brand-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  box-shadow: 0 0 10px rgba(124, 211, 255, 0.75);
}
.topbar-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2px;
  padding: 0 3px;
  border-radius: 9px;
  border: 1px solid rgba(123, 172, 235, 0.22);
  background: rgba(10, 19, 33, 0.58);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  min-height: var(--topbar-h);
  height: var(--topbar-h);
  flex: 1 1 0%;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  box-sizing: border-box;
}
.topbar-menu::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
.menu-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: calc(var(--topbar-h) - 6px);
  min-height: calc(var(--topbar-h) - 6px);
  padding: 0 12px;
  box-sizing: border-box;
  flex-shrink: 0;
  text-decoration: none;
  font-family: inherit;
  color: #d4e4f8;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1;
  border-radius: 7px;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.menu-link:hover {
  background: rgba(26, 95, 168, 0.55);
  color: #ffffff;
}
.topbar-links {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(6px, 1.2vw, 12px);
  flex: 0 1 auto;
  min-width: 0;
  max-width: max-content;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
}
.topbar-links > * {
  flex: 0 0 auto;
}
.topbar-links-extra {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: clamp(6px, 1.2vw, 12px);
}
.contacts-bar-extra {
  display: contents;
}
.topbar-inner .topbar-links {
  min-width: max-content;
}
.topbar .btn,
.topbar-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: var(--topbar-h);
  min-height: var(--topbar-h);
  padding: 0 12px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  border-radius: 9px;
  white-space: nowrap;
  flex-shrink: 0;
  box-sizing: border-box;
}
.topbar .btn {
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.28),
    0 0 14px rgba(26, 95, 168, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}
.topbar .btn:hover {
  box-shadow:
    0 8px 22px rgba(0, 0, 0, 0.34),
    0 0 20px rgba(42, 120, 200, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.topbar-phone {
  font-family: inherit;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: 0.02em;
  border: 1px solid rgba(77, 166, 255, 0.35);
  background: rgba(8, 18, 36, 0.62);
}
.topbar-phone .icon {
  color: #ffffff;
}
.topbar-phone:hover {
  border-color: rgba(124, 211, 255, 0.6);
  color: #ffffff;
}
.with-icon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.05em;
  height: 1.05em;
  font-size: 1em;
  opacity: 0.95;
  flex-shrink: 0;
  line-height: 1;
}
.icon svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: currentColor;
  flex-shrink: 0;
}
.with-icon .icon {
  width: 1.15em;
  height: 1.15em;
  font-size: inherit;
  line-height: 0;
}
.topbar .btn.with-icon .icon,
.topbar-phone.with-icon .icon {
  width: 15px;
  height: 15px;
  margin: 0;
}
.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid rgba(40, 62, 98, 0.65);
  background: transparent;
}
.hero-main {
  position: relative;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  padding:
    calc(var(--space-5) + var(--space-2)) 0
    calc(var(--space-5) + var(--space-3));
  background:
    linear-gradient(102deg, rgba(3, 6, 13, 0.94) 0%, rgba(5, 10, 18, 0.9) 48%, rgba(3, 8, 16, 0.96) 100%),
    radial-gradient(ellipse 38% 30% at 0% 0%, var(--warm-flare), transparent 55%),
    radial-gradient(ellipse 70% 60% at 50% -10%, rgba(94, 184, 255, 0.11), transparent 55%),
    radial-gradient(ellipse 42% 38% at 100% 18%, rgba(94, 184, 255, 0.08), transparent 52%),
    linear-gradient(185deg, rgba(8, 18, 36, 0.7), rgba(5, 10, 18, 0.98));
}
.hero-main::after {
  content: "";
  position: absolute;
  width: min(340px, 55vw);
  height: 340px;
  right: -100px;
  top: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(126, 200, 255, 0.18), rgba(77, 166, 255, 0.08), transparent 68%);
  pointer-events: none;
}
.hero-main::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(0deg, rgba(120, 179, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 179, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05), transparent 24%),
    linear-gradient(270deg, rgba(255, 255, 255, 0.04), transparent 28%);
  background-size: 50px 50px, 50px 50px, auto, auto;
  opacity: 0.14;
}
.hero-glow-soft {
  position: absolute;
  width: min(420px, 70vw);
  height: min(380px, 45vh);
  left: -120px;
  bottom: -160px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(77, 166, 255, 0.11), rgba(94, 176, 255, 0.06), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero-wiring {
  position: absolute;
  inset: 0;
  opacity: 0.09;
  background-image: url("data:image/svg+xml,%3Csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,100 L150,100 L200,150 L400,150 L450,100 L1000,100' stroke='%234fa7ff' stroke-width='2' fill='none'/%3E%3Ccircle cx='150' cy='100' r='4' fill='%237cd3ff'/%3E%3Ccircle cx='200' cy='150' r='4' fill='%237cd3ff'/%3E%3Ccircle cx='400' cy='150' r='4' fill='%237cd3ff'/%3E%3Ccircle cx='450' cy='100' r='4' fill='%237cd3ff'/%3E%3Cpath d='M0,200 L100,200 L150,250 L350,250 L400,200 L1000,200' stroke='%234fa7ff' stroke-width='2' fill='none' opacity='0.5'/%3E%3Cpath d='M800,0 L800,50 L750,100 L750,300 L800,350 L800,600' stroke='%234fa7ff' stroke-width='2' fill='none' opacity='0.7'/%3E%3Ccircle cx='750' cy='100' r='4' fill='%237cd3ff'/%3E%3Ccircle cx='750' cy='300' r='4' fill='%237cd3ff'/%3E%3Cpath d='M600,0 L600,150 L650,200 L650,400 L600,450 L600,600' stroke='%234fa7ff' stroke-width='2' fill='none' opacity='0.3'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
  pointer-events: none;
  z-index: 0;
}
/* Герой на всю ширину окна (поля только по бокам), не 1120px как у секций */
.hero-main > .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding-left: clamp(16px, 4.5vw, 56px);
  padding-right: clamp(16px, 4.5vw, 56px);
  box-sizing: border-box;
  font-family: inherit;
}
/* Герой: фото на весь блок сзади + затемнение; карточка по центру поверх */
.hero-lead {
  width: 100%;
  max-width: none;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(360px, 56vh, 560px);
  padding: clamp(14px, 3.2vw, 28px);
  box-sizing: border-box;
  border-radius: 14px 14px 18px 18px;
  border: 1px solid rgba(94, 184, 255, 0.34);
  border-top-color: rgba(200, 220, 245, 0.22);
  background: #080f18;
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.58),
    0 0 0 1px rgba(94, 184, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0 72px rgba(42, 120, 200, 0.1);
  position: relative;
  z-index: 1;
  isolation: isolate;
  overflow: hidden;
}
.hero-lead::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  border-radius: 14px 14px 0 0;
  background: linear-gradient(
    90deg,
    transparent 5%,
    rgba(77, 166, 255, 0.32) 22%,
    rgba(238, 240, 245, 0.42) 50%,
    rgba(77, 166, 255, 0.32) 78%,
    transparent 95%
  );
  pointer-events: none;
  z-index: 4;
  opacity: 0.92;
}
.hero-photo-wrap {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  z-index: 0;
  background: linear-gradient(168deg, #121418 0%, #0c0e11 100%);
  overflow: hidden;
}
.hero-photo-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(ellipse 94% 72% at 50% -8%, rgba(255, 255, 255, 0.025), transparent 48%),
    radial-gradient(ellipse 92% 88% at 50% 52%, transparent 24%, rgba(12, 12, 14, 0.62) 74%, rgba(4, 4, 6, 0.78) 100%),
    linear-gradient(198deg, rgba(30, 28, 26, 0.14) 0%, transparent 36%, rgba(8, 8, 10, 0.4) 100%),
    rgba(10, 10, 12, 0.55);
}
.hero-photo {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.96) brightness(0.91) contrast(1.02);
  transform: scale(1.01);
}
.hero-lead-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: min(720px, 100%);
  margin: 0;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: clamp(10px, 1.6vw, 16px);
  align-content: center;
  font-size: clamp(15px, 0.85vw + 13.5px, 18px);
  line-height: 1.5;
  letter-spacing: 0.01em;
  padding:
    clamp(11px, 2vw, 18px)
    clamp(var(--space-2), 3.2vw, var(--space-4))
    clamp(11px, 2vw, 18px);
  border-radius: 12px;
  border: 1px solid rgba(94, 184, 255, 0.36);
  background:
    linear-gradient(180deg, rgba(142, 208, 255, 0.07) 0%, transparent 14%),
    linear-gradient(142deg, rgba(94, 184, 255, 0.07) 0%, transparent 38%),
    linear-gradient(
      168deg,
      rgba(10, 20, 38, 0.68) 0%,
      rgba(7, 14, 28, 0.58) 48%,
      rgba(5, 10, 22, 0.52) 100%
    );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -3px 10px rgba(0, 0, 0, 0.22),
    inset 0 0 36px rgba(94, 184, 255, 0.05),
    0 10px 36px rgba(0, 0, 0, 0.34),
    0 0 56px rgba(94, 184, 255, 0.12);
  -webkit-backdrop-filter: blur(19px) saturate(1.06);
  backdrop-filter: blur(19px) saturate(1.06);
  isolation: isolate;
  overflow: hidden;
}
.hero-lead-inner::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  border-radius: 11px 11px 0 0;
  background: linear-gradient(
    90deg,
    transparent 6%,
    rgba(77, 166, 255, 0.2) 26%,
    rgba(168, 210, 255, 0.42) 50%,
    rgba(77, 166, 255, 0.2) 74%,
    transparent 94%
  );
  pointer-events: none;
  z-index: 2;
  opacity: 0.98;
}
.hero-lead-inner::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 90% 52% at 50% -8%, rgba(255, 255, 255, 0.05), transparent 54%),
    radial-gradient(ellipse 72% 52% at 100% 100%, rgba(94, 184, 255, 0.09), transparent 52%),
    radial-gradient(ellipse 58% 44% at 0% 82%, rgba(255, 236, 210, 0.04), transparent 50%);
}
.hero-lead-inner > * {
  position: relative;
  z-index: 1;
}
.hero-lead-inner > p,
.hero-lead-inner .sub,
.hero-lead-inner h1 {
  margin: 0;
}
.hero-lead-inner .hero-logo {
  width: min(148px, 36vw);
  margin: 0 0 0.12em;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.48)) drop-shadow(0 0 12px rgba(77, 166, 255, 0.1)) drop-shadow(0 0 18px rgba(124, 200, 255, 0.14));
}
.hero-logo {
  width: min(164px, 38vw);
  height: auto;
  flex-shrink: 0;
  margin: 0 0 0.35em;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.48)) drop-shadow(0 0 14px rgba(77, 166, 255, 0.12));
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .hero-logo:hover {
    transform: scale(1.03);
  }
}
.hero-lead .hero-eyebrow {
  margin-block: -0.1em 0.05em;
}
.hero h1 {
  font-size: clamp(1.5625rem, 1.1vw + 1.125rem, 2.6875rem);
  font-weight: 800;
  max-width: min(52ch, 100%);
  letter-spacing: -0.015em;
  line-height: 1.08;
  text-wrap: balance;
  color: #ffffff;
  text-shadow:
    0 0 42px rgba(77, 166, 255, 0.28),
    0 2px 22px rgba(0, 0, 0, 0.55);
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero h1 {
    background: linear-gradient(188deg, #ffffff 0%, #f0f6ff 55%, #c8dcff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
    filter: drop-shadow(0 0 28px rgba(77, 166, 255, 0.22)) drop-shadow(0 3px 18px rgba(0, 0, 0, 0.52));
  }
}
.hero .sub {
  font-size: 1em;
  max-width: min(54ch, 100%);
  line-height: 1.62;
  color: #dce8f8;
  text-wrap: pretty;
  margin: 0;
  font-weight: 500;
}
.hero-body {
  font-family: inherit;
  max-width: min(58ch, 100%);
  width: 100%;
  text-align: left;
  justify-self: center;
}
.hero-body p {
  margin: 0 0 0.42em;
  font-size: 1em;
  line-height: 1.58;
  color: #e2ecf8;
  font-weight: 500;
}
.hero-body ul {
  margin: 0.26em 0 0.4em;
  padding-left: 1.35em;
  color: #c8d8ec;
  font-size: 0.98em;
  line-height: 1.58;
  font-weight: 500;
  list-style-position: outside;
}
.hero-body ul li::marker {
  color: rgba(77, 166, 255, 0.85);
  font-size: 0.85em;
}
.hero-body li {
  margin-bottom: 0.22em;
  padding-inline-start: 0.08em;
}
.hero-lead .hero-slogan {
  font-family: inherit;
  max-width: min(42ch, 100%);
  margin: var(--space-1) 0 0;
  padding-top: var(--space-2);
  border-top: 1px solid rgba(154, 198, 232, 0.22);
  font-size: 1.05em;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.45;
  color: #e0ebf8;
  text-align: center;
  text-wrap: balance;
}
.badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-1);
  margin: var(--space-2) 0 var(--space-3);
}
.badge {
  font-family: inherit;
  border: 1px solid rgba(160, 195, 235, 0.35);
  background:
    linear-gradient(135deg, rgba(77, 166, 255, 0.12) 0%, transparent 50%),
    linear-gradient(120deg, rgba(232, 240, 250, 0.16), rgba(120, 150, 180, 0.08)),
    linear-gradient(150deg, rgba(20, 34, 58, 0.92), rgba(10, 18, 32, 0.9));
  color: #e2ebfa;
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 6px 20px rgba(0, 0, 0, 0.2);
}
.cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: var(--space-2);
  margin-bottom: 0;
  width: 100%;
}
.hero-lead .cta {
  gap: var(--space-2);
  margin-top: 6px;
}
.hero-lead .cta .btn {
  flex: 1 1 220px;
  min-width: min(100%, 200px);
}
.hero .btn {
  padding: clamp(11px, 0.35em + 9px, 13px) clamp(17px, 1.1em + 8px, 22px);
  font-size: clamp(13px, 0.42em + 11px, 15px);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.25;
  border-radius: var(--radius);
}
.hero-kpis {
  margin: 6px 0 0;
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius);
  border: 1px solid rgba(132, 168, 210, 0.28);
  background: linear-gradient(158deg, rgba(22, 30, 46, 0.44), rgba(14, 18, 28, 0.38));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.055),
    inset 0 0 20px rgba(94, 176, 255, 0.03),
    0 6px 18px rgba(0, 0, 0, 0.2);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-1);
  width: 100%;
  max-width: none;
}
.hero-kpi {
  padding: calc(var(--space-1) + 2px) var(--space-1);
  border-radius: calc(var(--radius) - 4px);
  border: 1px solid rgba(126, 158, 198, 0.22);
  background: rgba(16, 22, 36, 0.45);
  text-align: center;
  transition:
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease,
    background 0.22s ease;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .hero-kpi:hover {
    border-color: rgba(168, 204, 240, 0.38);
    background: rgba(22, 32, 52, 0.66);
    box-shadow:
      0 10px 28px rgba(0, 0, 0, 0.36),
      0 0 0 1px rgba(154, 210, 255, 0.12);
    transform: translateY(-3px);
  }
}
.hero-kpi b {
  display: block;
  font-family: inherit;
  color: #f2f8ff;
  font-size: clamp(0.875rem, 0.65em + 0.35rem, 1.0625rem);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 0.22em;
  letter-spacing: -0.012em;
}
.hero-kpi span {
  display: block;
  font-family: inherit;
  font-size: clamp(10px, 0.82em + 1px, 12px);
  font-weight: 600;
  line-height: 1.42;
  color: #b8cade;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  font-family: inherit;
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, transparent 42%),
    linear-gradient(105deg, #1a5fa8 0%, #2a78c8 52%, #48a0e8 100%);
  border-radius: var(--radius);
  padding: 12px 20px;
  min-height: var(--btn-min-h);
  font-weight: 800;
  border: 1px solid rgba(158, 220, 255, 0.5);
  box-shadow:
    0 10px 32px rgba(0, 0, 0, 0.38),
    0 0 22px rgba(42, 120, 200, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  text-shadow: 0 1px 2px rgba(0, 14, 36, 0.65);
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
  box-sizing: border-box;
}
.btn.with-icon {
  gap: 8px;
  line-height: 1.2;
}
.btn:hover {
  transform: translateY(-2px);
  color: #ffffff;
  box-shadow:
    0 14px 40px rgba(0, 0, 0, 0.48),
    0 0 28px rgba(42, 120, 200, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.34);
  filter: brightness(1.04);
}
.btn.secondary {
  color: #f2f7ff;
  background:
    linear-gradient(145deg, rgba(77, 166, 255, 0.14) 0%, transparent 55%),
    linear-gradient(115deg, rgba(230, 240, 252, 0.06), rgba(40, 70, 110, 0.12)),
    rgba(8, 16, 32, 0.82);
  border: 1px solid rgba(77, 166, 255, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 0 20px rgba(77, 166, 255, 0.08);
  text-shadow: none;
}
.btn.secondary:hover {
  color: #ffffff;
  background:
    linear-gradient(145deg, rgba(77, 166, 255, 0.2) 0%, transparent 55%),
    rgba(10, 22, 42, 0.9);
}
.micro {
  color: #b4c8e0;
  font-size: 14px;
  text-align: center;
  margin: 0;
  line-height: 1.5;
}
.hero-main .micro {
  width: 100%;
  max-width: none;
  margin-inline: auto;
  font-size: clamp(13px, 0.45vw + 12px, 15px);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.015em;
  color: #b8ccdf;
}
.hero-main .metal-tag {
  font-size: clamp(10px, 0.35vw + 8.75px, 11px);
  letter-spacing: 0.12em;
  line-height: 1.35;
  padding: 0.62em 1.05em;
}
.hero-main .contacts-bar .contact-pill {
  font-size: clamp(12px, 0.42vw + 11px, 14px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.02em;
}
.hero-foot {
  width: 100%;
  padding-top: var(--space-3);
  margin-top: var(--space-1);
  border-top: 1px solid rgba(118, 122, 128, 0.28);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  background:
    radial-gradient(ellipse 82% 120% at 50% 0%, rgba(77, 166, 255, 0.06), transparent 58%);
  border-radius: 0 0 4px 4px;
}
.hero-foot .micro {
  margin-block: 0;
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-photo-wrap {
    animation: hero-rise 0.6s cubic-bezier(0.22, 1, 0.36, 1) backwards;
  }
  .hero-lead-inner > * {
    animation: hero-rise 0.68s cubic-bezier(0.22, 1, 0.36, 1) backwards;
  }
  .hero-lead-inner > *:nth-child(1) { animation-delay: 0.06s; }
  .hero-lead-inner > *:nth-child(2) { animation-delay: 0.1s; }
  .hero-lead-inner > *:nth-child(3) { animation-delay: 0.16s; }
  .hero-lead-inner > *:nth-child(4) { animation-delay: 0.22s; }
  .hero-lead-inner > *:nth-child(5) { animation-delay: 0.28s; }
  .hero-lead-inner > *:nth-child(6) { animation-delay: 0.34s; }
  .hero-lead-inner > *:nth-child(7) { animation-delay: 0.4s; }

  .hero-foot {
    animation: hero-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.45s backwards;
  }
}

.section-kicker {
  margin: 0 0 var(--space-1);
  color: var(--accent-2);
  font-family: inherit;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 800;
  text-align: center;
  text-shadow: 0 0 20px rgba(94, 184, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.section-kicker::before,
.section-kicker::after {
  content: "";
  flex: 0 1 56px;
  width: 56px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(77, 166, 255, 0.55));
}
.section-kicker::after {
  background: linear-gradient(90deg, rgba(77, 166, 255, 0.55), transparent);
}
.section-title {
  font-family: inherit;
  font-size: clamp(26px, 3.8vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-3);
  text-align: center;
  color: #eef3fc;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.28);
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .section-title {
    background: linear-gradient(185deg, #ffffff 0%, #f2f7ff 42%, #d4e4f8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
    filter: drop-shadow(0 0 24px rgba(94, 184, 255, 0.12)) drop-shadow(0 6px 28px rgba(0, 0, 0, 0.28));
  }
}
section > .container > p:not(.section-kicker):not(.micro) {
  text-align: center;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-3);
  color: #d0dff0;
  font-size: 1.0625rem;
  line-height: 1.68;
}
.grid-3, .grid-2 {
  display: grid;
  gap: var(--space-3);
  align-items: stretch;
}
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 901px) {
  #services .segment h3 {
    min-height: 2.5em;
  }
}
.card {
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 100% 100%, rgba(94, 184, 255, 0.05), transparent 42%),
    radial-gradient(circle at 100% 0%, rgba(94, 184, 255, 0.08), transparent 38%),
    linear-gradient(145deg, rgba(94, 184, 255, 0.05) 0%, transparent 38%),
    linear-gradient(168deg, rgba(8, 16, 32, 0.98), rgba(4, 8, 16, 0.97));
  border: 1px solid rgba(94, 184, 255, 0.26);
  border-radius: var(--radius);
  padding: var(--card-pad);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 14px 36px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(77, 166, 255, 0.06);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
}
.card > * {
  position: relative;
  z-index: 1;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(0deg, rgba(77, 166, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77, 166, 255, 0.025) 1px, transparent 1px),
    linear-gradient(125deg, rgba(240, 246, 255, 0.05), transparent 32%, rgba(77, 166, 255, 0.03));
  background-size: 22px 22px, 22px 22px, auto;
  opacity: 0.75;
  z-index: 0;
}
.card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 14px;
  right: 14px;
  height: 2px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, transparent 0%, rgba(94, 184, 255, 0.4) 18%, rgba(158, 220, 255, 0.95) 50%, rgba(94, 184, 255, 0.4) 82%, transparent 100%);
  pointer-events: none;
  z-index: 2;
  opacity: 0.88;
  transition: opacity 0.28s ease, box-shadow 0.28s ease;
}
.card h3::before {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  margin-bottom: 12px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), rgba(77, 166, 255, 0.15));
  box-shadow: 0 0 14px rgba(77, 166, 255, 0.35);
}
.card:hover {
  transform: translateY(-3px);
  border-color: rgba(126, 200, 255, 0.48);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 22px 48px rgba(0, 0, 0, 0.42),
    0 0 32px rgba(77, 166, 255, 0.12),
    0 0 0 1px rgba(77, 166, 255, 0.22);
}
.card:hover::after {
  opacity: 1;
  box-shadow: 0 0 18px rgba(77, 166, 255, 0.45);
}
.card h3 {
  color: var(--accent-2);
  text-shadow: 0 0 22px rgba(94, 184, 255, 0.22);
}
.kpi-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.why-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 5px;
  border-radius: 10px;
  background: rgba(94, 184, 255, 0.1);
  border: 1px solid rgba(94, 184, 255, 0.22);
}
.why-icon img {
  width: 28px;
  height: 28px;
  display: block;
  object-fit: contain;
}
.kpi-head .kpi-value {
  margin-bottom: 0;
  padding-left: 12px;
  border-left: 3px solid rgba(94, 184, 255, 0.65);
  box-shadow: -1px 0 14px rgba(94, 184, 255, 0.22);
  flex: 1 1 auto;
  min-width: 0;
}
.kpi-value {
  font-family: inherit;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: 0.2px;
  color: var(--accent-2);
  line-height: 1.15;
  padding-left: 14px;
  border-left: 3px solid rgba(94, 184, 255, 0.65);
  box-shadow: -1px 0 14px rgba(94, 184, 255, 0.22);
  text-shadow: 0 0 22px rgba(94, 184, 255, 0.2);
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .kpi-value {
    background: linear-gradient(180deg, #ffffff 0%, var(--accent-2) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}
.kpi-note {
  font-family: inherit;
  color: #ccd9ee;
  font-size: 15px;
  line-height: 1.62;
  font-weight: 500;
  flex: 1 1 auto;
  margin-bottom: 0;
}

.segment h3 {
  font-size: clamp(22px, 2.2vw, 27px);
  font-family: inherit;
  font-weight: 800;
}
.segment h3 a {
  color: inherit;
  text-decoration: none;
}
.segment h3 a:hover {
  color: var(--accent-2);
}
.segment h3::before {
  width: 48px;
}
.card-action .btn + .btn {
  margin-top: 8px;
}
.segment ul { margin: 10px 0 0 18px; color: #d0dff0; line-height: 1.6; }
.segment li { margin-bottom: 8px; }
#services,
#cases {
  padding: var(--space-4) 0;
}
#services .services-grid {
  margin-bottom: var(--space-2);
}
#services .services-extra {
  margin-top: 0;
}
#cases {
  overflow: hidden;
}
.case-intro {
  max-width: min(760px, 100%);
  margin: 0 0 var(--space-3);
  color: #d0dff0;
  font-size: 1.02rem;
  line-height: 1.62;
}
.case-gallery-shell {
  position: relative;
  margin-top: var(--space-2);
  padding: clamp(14px, 2.5vw, 18px);
  border-radius: 22px;
  border: 1px solid rgba(77, 166, 255, 0.22);
  background:
    radial-gradient(ellipse 90% 70% at 50% -10%, rgba(77, 166, 255, 0.1), transparent 55%),
    linear-gradient(165deg, rgba(12, 22, 40, 0.55), rgba(6, 11, 22, 0.92));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 24px 50px rgba(0, 0, 0, 0.34);
}
.case-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 14px;
  align-items: stretch;
}
.case-photo-card {
  position: relative;
  margin: 0;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(77, 166, 255, 0.22);
  border-radius: 16px;
  background: rgba(8, 15, 28, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 14px 32px rgba(0, 0, 0, 0.28);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}
.case-photo-card:hover {
  transform: translateY(-4px);
  border-color: rgba(126, 200, 255, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 20px 40px rgba(0, 0, 0, 0.36),
    0 0 0 1px rgba(77, 166, 255, 0.18);
}
.case-photo-card .case-media {
  position: relative;
  display: block;
  flex: 1 1 auto;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #060b14;
}
.case-photo-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
  transition: transform 0.45s ease;
}
.case-photo-card:hover img {
  transform: scale(1.05);
}
.case-photo-card .case-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(6, 11, 22, 0) 55%, rgba(4, 8, 16, 0.35) 100%);
}
.case-caption {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 3px;
  padding: 12px 14px 13px;
  border-top: 1px solid rgba(142, 208, 255, 0.14);
  background: linear-gradient(180deg, rgba(6, 12, 24, 0.35), rgba(5, 10, 20, 0.82));
}
.case-caption b {
  color: #f2f7ff;
  line-height: 1.3;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.case-caption span {
  color: #b8cbe0;
  font-size: 12px;
  line-height: 1.4;
}
.case-summary {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.65fr);
  gap: 16px;
  margin-top: var(--space-2);
  align-items: stretch;
}
.case-summary .card {
  min-height: 100%;
}
.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.case-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(94, 184, 255, 0.24);
  color: #d9e9ff;
  background: rgba(77, 166, 255, 0.08);
  font-size: 13px;
  font-weight: 700;
}
#services .segment > p:not(.card-action) {
  flex: 1 1 auto;
}
.card-action {
  margin-top: auto;
  margin-bottom: 0;
  padding-top: var(--space-2);
  flex-shrink: 0;
}
.card-action .btn {
  width: 100%;
}
.card .btn {
  position: relative;
  z-index: 2;
}

.equip-list, .steps {
  margin: 0;
  padding-left: 20px;
  color: #d0dff0;
  line-height: 1.62;
}
.equip-list li, .steps li { margin-bottom: 10px; }

.steps-wrap .grid-2 .card {
  min-height: 100%;
}
.steps-wrap {
  position: relative;
}
.steps-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 60% 50% at 0% 50%, rgba(77, 166, 255, 0.04), transparent 60%);
}
.steps li span {
  color: #b8dcff;
  font-weight: 700;
  text-shadow: 0 1px 6px rgba(0, 10, 28, 0.35);
}

.guarantees ul {
  margin: 8px 0 14px 18px;
  color: #d0dff0;
  line-height: 1.62;
}

.case-meta {
  margin: 0 0 12px;
  font-family: inherit;
  color: #b4c8e2;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}
.quote {
  position: relative;
  margin: 16px 0 0;
  font-family: inherit;
  color: #e8eef8;
  font-style: italic;
  font-weight: 500;
  line-height: 1.62;
  padding-left: 18px;
  border-left: none;
}
.quote::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  bottom: 0.15em;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  opacity: 0.9;
}
.quote-author {
  margin-top: 8px;
  font-family: inherit;
  color: #a8bcd4;
  font-size: 13px;
  font-style: normal;
  line-height: 1.5;
  padding-left: 18px;
}
.faq-item h3 {
  font-size: 20px;
  margin-bottom: 8px;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}
.contact-card h3 {
  margin-bottom: 10px;
  font-size: 24px;
}
.contact-card {
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(77, 166, 255, 0.1), transparent 55%),
    linear-gradient(145deg, rgba(77, 166, 255, 0.08) 0%, transparent 45%),
    linear-gradient(165deg, rgba(12, 24, 44, 0.99), rgba(5, 10, 20, 0.96));
  border-color: rgba(77, 166, 255, 0.38);
}
.contact-card::after {
  left: 24px;
  right: 24px;
}
.form {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}
.form input, .form textarea, .form select {
  width: 100%;
  border: 1px solid rgba(80, 115, 165, 0.65);
  background: linear-gradient(180deg, rgba(14, 24, 44, 0.95), rgba(10, 18, 34, 0.98));
  color: var(--text);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.22);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form input:focus, .form textarea:focus, .form select:focus {
  outline: none;
  border-color: rgba(154, 214, 255, 0.75);
  box-shadow:
    0 0 0 3px rgba(79, 167, 255, 0.15),
    0 0 0 1px rgba(77, 166, 255, 0.25),
    inset 0 1px 2px rgba(0, 0, 0, 0.2);
}
.form textarea {
  min-height: 96px;
  resize: vertical;
}
.form select {
  cursor: pointer;
  appearance: none;
  background-image:
    linear-gradient(180deg, rgba(14, 24, 44, 0.95), rgba(10, 18, 34, 0.98)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23b8c9de' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat;
  background-position: 0 0, right 14px center;
  padding-right: 38px;
}
.form select:invalid {
  color: #8ba4c4;
}
.form select option {
  color: var(--text);
  background: #0f1d32;
}
.form .btn {
  width: 100%;
  min-height: var(--btn-min-h);
  border: 0;
  cursor: pointer;
}
.form-note {
  font-family: inherit;
  margin-top: 8px;
  font-size: 14px;
  color: #b0c4dc;
  text-align: center;
  line-height: 1.5;
}
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 2px 0 0;
  text-align: left;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 400;
  color: #a8bdd6;
  cursor: pointer;
  max-width: 100%;
}
.form-consent input {
  width: 15px;
  height: 15px;
  margin: 1px 0 0;
  flex-shrink: 0;
  accent-color: var(--accent);
  cursor: pointer;
}
.form-consent a {
  color: #c4dcf2;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.form-consent a:hover {
  color: #ffffff;
}

.ym-consent {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 16px;
  z-index: 100;
  max-width: min(720px, 100%);
  margin-inline: auto;
  padding: 14px 16px 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(94, 184, 255, 0.35);
  background: linear-gradient(165deg, rgba(14, 28, 48, 0.98) 0%, rgba(8, 14, 26, 0.99) 100%);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(0, 0, 0, 0.35);
  color: var(--text);
  font-size: 13px;
  line-height: 1.5;
}
.ym-consent[hidden] {
  display: none !important;
}
.ym-consent__title {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  color: #e8f2ff;
}
.ym-consent__text {
  margin: 0 0 12px;
  color: #b8c9de;
  font-size: 12px;
  line-height: 1.45;
}
.ym-consent__text a {
  color: var(--accent-2);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ym-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.ym-consent__actions .btn {
  flex: 1 1 140px;
  min-height: 44px;
}

.legal {
  scroll-margin-top: 72px;
  padding: var(--space-3) clamp(16px, 4.5vw, 48px) var(--space-3);
  border-top: 1px solid rgba(40, 62, 98, 0.45);
  background: linear-gradient(180deg, rgba(8, 14, 26, 0.72), rgba(6, 12, 22, 0.78));
  text-align: left;
}
.legal-inner {
  width: min(1120px, 100%);
  max-width: none;
  margin-inline: auto;
  padding-inline: 0;
  box-sizing: border-box;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.42;
  color: #8fa6be;
}
.legal .legal-heading {
  font-size: 12px;
  font-weight: 600;
  margin: 0 0 0.5em;
  color: #b8cade;
  text-align: center;
  line-height: 1.3;
}
.legal-lead {
  margin: 0 0 0.65em;
  max-width: none;
  text-align: center;
}
.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35em 2em;
  width: 100%;
}
.legal-grid p,
.legal p {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
  margin: 0;
  max-width: none;
  text-align: left;
  text-wrap: pretty;
}
.legal-grid strong {
  font-weight: 600;
  color: #a8bdd4;
}
.legal a {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  text-decoration: none;
}
.legal a:hover {
  color: var(--accent-2);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.vk-bridge {
  border-top: 1px solid rgba(40, 62, 98, 0.7);
  border-bottom: 1px solid rgba(40, 62, 98, 0.7);
  background:
    radial-gradient(ellipse 90% 80% at 50% 0%, rgba(77, 166, 255, 0.06), transparent 50%),
    linear-gradient(175deg, rgba(6, 12, 24, 0.92), rgba(10, 20, 38, 0.88));
  position: relative;
}
.vk-bridge::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(0deg, rgba(77, 166, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77, 166, 255, 0.025) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.5;
}
.vk-box {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-3);
  margin-top: var(--space-2);
  align-items: stretch;
}
.vk-box .card > p:not(.card-action) {
  flex: 1 1 auto;
}
.vk-point {
  margin: 0;
  padding-left: 18px;
  color: #d0dff0;
  flex: 1 1 auto;
  line-height: 1.62;
}
.vk-point li { margin-bottom: 8px; }

.vk-strip {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: var(--space-2);
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(77, 166, 255, 0.22);
  background: rgba(8, 15, 28, 0.55);
  text-align: center;
}
.vk-strip-text {
  margin: 0 auto;
  width: 100%;
  max-width: 20rem;
  color: #d0dff0;
  font-size: 0.95rem;
  line-height: 1.45;
  text-align: center;
  text-wrap: balance;
}
.vk-strip .btn {
  min-height: 44px;
  min-width: min(100%, 220px);
}

.case-gallery-actions {
  display: none;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: var(--space-2);
}
.case-gallery-actions .btn {
  min-height: 44px;
}

.legal-details {
  border: 0;
  margin: 0;
  padding: 0;
}
.legal-details > summary {
  list-style: none;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  color: #b8cade;
  text-align: center;
  line-height: 1.3;
  padding: 4px 0;
}
.legal-details > summary::-webkit-details-marker {
  display: none;
}
.legal-details > summary::after {
  content: " ▾";
  font-size: 10px;
  opacity: 0.75;
}
.legal-details[open] > summary::after {
  content: " ▴";
}
.legal-details-body {
  margin-top: 0.65em;
}

.final {
  border-top: 1px solid rgba(40, 62, 98, 0.65);
  border-bottom: 1px solid rgba(40, 62, 98, 0.65);
  background:
    radial-gradient(ellipse 100% 70% at 50% 100%, rgba(77, 166, 255, 0.05), transparent 55%),
    linear-gradient(180deg, rgba(8, 16, 32, 0.82), rgba(6, 12, 24, 0.78));
}
/* Карточка заявки — та же ширина, что у вводного текста секций (820px), без узкого 600px */
.final .contact-card {
  width: 100%;
  max-width: 820px;
  margin-inline: auto;
}

.footer {
  font-family: inherit;
  padding: var(--space-3) 0 var(--space-5);
  color: #a8bcd4;
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
  border-top: 1px solid rgba(100, 140, 190, 0.22);
  background: linear-gradient(180deg, rgba(5, 10, 20, 0.5), transparent);
}
.footer a {
  color: var(--accent-2);
  font-weight: 600;
  text-decoration: none;
}
.footer a:hover {
  text-decoration: underline;
}
.contacts-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  justify-content: center;
  width: 100%;
  max-width: none;
  position: relative;
  z-index: 2;
}
.contact-pill[href^="tel:"] {
  color: #ffffff;
}
.contact-pill[href^="tel:"] .icon {
  color: #ffffff;
}
.contact-pill {
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 42px;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(124, 211, 255, 0.15);
  border: 1px solid rgba(140, 185, 230, 0.45);
  border-radius: 999px;
  padding: 9px 16px;
  color: #eef3fc;
  text-decoration: none;
  background:
    linear-gradient(155deg, rgba(77, 166, 255, 0.1) 0%, transparent 42%),
    linear-gradient(165deg, rgba(28, 48, 82, 0.58), rgba(11, 22, 42, 0.88));
  font-size: 13px;
  font-weight: 600;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 6px 18px rgba(0, 0, 0, 0.28),
    0 0 18px rgba(72, 160, 230, 0.1),
    0 0 0 1px rgba(94, 184, 255, 0.08);
  transition:
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.18s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    filter 0.2s ease;
}
.contact-pill:hover {
  border-color: rgba(77, 166, 255, 0.55);
  color: #fff;
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 10px 26px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(154, 214, 255, 0.28);
  filter: brightness(1.06);
}
.contact-pill:active {
  transform: translateY(0);
  filter: brightness(0.96);
  box-shadow:
    inset 0 2px 6px rgba(0, 0, 0, 0.35),
    0 2px 8px rgba(0, 0, 0, 0.2);
}
.contact-pill:focus {
  outline: none;
}
.contact-pill:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
}
.mobile-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  align-items: stretch;
  background: linear-gradient(180deg, rgba(8, 14, 26, 0.72), rgba(6, 11, 22, 0.96));
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  backdrop-filter: blur(14px) saturate(1.1);
  border-top: 1px solid rgba(94, 184, 255, 0.28);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.42);
}
.mobile-cta .btn {
  flex: 1 1 0;
  min-height: 48px;
  min-width: 0;
  padding: 12px 8px;
  font-size: 14px;
}
.metal-tag {
  display: inline-block;
  padding: 7px 14px;
  border-radius: 9px;
  font-size: 10px;
  font-family: inherit;
  border: 1px solid rgba(160, 215, 255, 0.5);
  background:
    linear-gradient(165deg, rgba(26, 95, 168, 0.94) 0%, rgba(14, 40, 76, 0.96) 55%, rgba(6, 14, 30, 0.98) 100%);
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-shadow: 0 1px 2px rgba(0, 12, 32, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 0 22px rgba(72, 160, 230, 0.28),
    0 6px 20px rgba(0, 0, 0, 0.32);
}
@keyframes logo-float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-5px); }
  100% { transform: translateY(0px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .brand-wrap { animation: none; }
  .hero-photo-wrap,
  .hero-lead-inner > *,
  .hero-foot {
    animation: none !important;
  }
  .hero-logo { transition: none; }
  .hero-kpi { transition: none; }
  .btn, .card, .contact-pill { transition: none; }
  .contact-pill:hover,
  .contact-pill:active { transform: none; }
}

@media (max-width: 1280px) {
  .topbar-inner {
    gap: 10px 12px;
  }
  .brand-line {
    max-width: min(280px, 30vw);
  }
}

@media (max-width: 1024px) {
  .topbar-phone {
    display: none;
  }
  .topbar-links {
    gap: 6px 8px;
  }
  .case-gallery {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  }
}

@media (max-width: 960px) {
  .brand-line {
    max-width: min(220px, 40vw);
    font-size: 12px;
    letter-spacing: 0.08em;
  }
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 118px;
  }
  section[id] {
    scroll-margin-top: 118px;
  }
  .container {
    width: min(1120px, 94%);
  }
  .grid-3, .grid-2 { grid-template-columns: 1fr; gap: var(--space-2); }
  .contact-grid { grid-template-columns: 1fr; }
  section { padding: var(--space-3) 0; }
  section::before { width: 94%; }
  .section-title {
    font-size: clamp(22px, 6.2vw, 32px);
    margin-bottom: var(--space-2);
    line-height: 1.15;
  }
  section > .container > p:not(.section-kicker):not(.micro) {
    font-size: 1rem;
    line-height: 1.62;
    margin-bottom: var(--space-2);
  }
  .card {
    padding: var(--space-2);
  }
  .hero-main {
    padding-top: var(--space-3);
    padding-bottom: var(--space-3);
  }
  .hero-main > .container {
    padding-left: 12px;
    padding-right: 12px;
    gap: var(--space-2);
  }
  .hero-lead {
    min-height: auto;
    padding: 12px;
    border-radius: 12px;
  }
  .hero-lead-inner {
    max-width: 100%;
    padding: 14px 14px 16px;
    font-size: 15px;
  }
  .hero h1 {
    font-size: clamp(1.35rem, 5.8vw, 1.85rem);
    line-height: 1.12;
  }
  .hero-lead .cta {
    flex-direction: column;
    width: 100%;
  }
  .hero-lead .cta .btn {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
  }
  .hero-kpis {
    grid-template-columns: 1fr;
    gap: 8px;
    width: 100%;
  }
  .hero-foot {
    padding-top: var(--space-2);
    gap: var(--space-2);
  }
  .contacts-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .contact-pill {
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    font-size: 14px;
    border-radius: 12px;
    justify-content: flex-start;
  }
  .form input,
  .form textarea,
  .form select {
    font-size: 16px;
    min-height: 48px;
    padding: 14px 16px;
  }
  .form textarea {
    min-height: 112px;
  }
  .form-consent {
    font-size: 12px;
    line-height: 1.45;
  }
  .form-consent input {
    width: 16px;
    height: 16px;
    margin-top: 1px;
  }
  .legal {
    padding: var(--space-2) 16px var(--space-2);
  }
  .legal-inner {
    width: 100%;
    font-size: 10px;
    line-height: 1.4;
  }
  .legal .legal-heading {
    font-size: 11px;
  }
  .legal-grid {
    grid-template-columns: 1fr;
    gap: 0.4em;
  }
  .case-intro {
    font-size: 0.98rem;
    margin-bottom: var(--space-2);
  }
  .case-gallery-shell {
    padding: 12px;
    border-radius: 18px;
  }
  .case-gallery {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .case-caption {
    padding: 10px 12px 11px;
  }
  .case-summary {
    grid-template-columns: 1fr;
  }
  .footer {
    padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  }
  .vk-box { grid-template-columns: 1fr; }
  body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }
  .mobile-cta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .topbar-inner {
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 8px;
    padding: 8px 0 10px;
    overflow-x: hidden;
    min-height: auto;
  }
  .brand-line {
    justify-content: center;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 6px;
    max-width: 100%;
    width: 100%;
    white-space: normal;
    align-self: center;
    min-height: auto;
    padding: 2px 0;
    box-sizing: border-box;
  }
  .brand-title {
    white-space: normal;
    text-align: center;
    text-wrap: balance;
    max-width: min(340px, 100%);
    overflow: visible;
    text-overflow: clip;
    line-height: 1.2;
  }
  .header-logo {
    height: 36px;
    flex-shrink: 0;
  }
  .topbar-menu {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    max-width: 100%;
    flex: 0 0 auto;
    min-height: auto;
    height: auto;
    padding: 4px;
    gap: 4px;
    overflow: visible;
    justify-content: stretch;
  }
  .menu-link {
    width: 100%;
    height: 44px;
    min-height: 44px;
    padding: 0 6px;
    font-size: 12px;
    border-radius: 8px;
  }
  .topbar-links {
    display: none;
  }
  .card:hover {
    transform: none;
  }
  .btn:hover {
    transform: none;
  }
  .contact-pill:hover {
    transform: none;
  }
  .ym-consent {
    left: 8px;
    right: 8px;
    bottom: calc(68px + env(safe-area-inset-bottom, 0px));
    padding: 12px 12px 14px;
  }

  /* Mobile scroll pack */
  .hero-photo-wrap {
    display: none;
  }
  .hero-kpis,
  .hero-foot {
    display: none;
  }
  .hero-lead .cta .btn.secondary {
    display: none;
  }
  .hero-lead-inner .hero-body ul {
    margin-bottom: 0.5em;
  }
  .hero-lead-inner .hero-body ul li:nth-child(n+3) {
    display: none;
  }
  .hero-lead-inner .hero-body > p:last-of-type {
    display: none;
  }
  .hero-slogan {
    margin-top: 0.35em;
    margin-bottom: 0.5em;
    font-size: 0.95rem;
  }

  .vk-strip {
    display: flex;
  }
  .vk-bridge-full,
  .vk-box {
    display: none;
  }
  .vk-bridge {
    padding: var(--space-2) 0;
  }
  .vk-bridge .container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .vk-strip {
    width: 100%;
  }

  .hero h1,
  .hero-eyebrow,
  .hero-slogan,
  .hero-body {
    text-align: center;
  }
  .hero-body {
    max-width: 36ch;
    margin-inline: auto;
  }
  .hero-body ul {
    padding-left: 0;
    list-style-position: inside;
  }
  .card p,
  .card h3,
  .kpi-note {
    text-align: center;
  }
  .card h3::before {
    margin-left: auto;
    margin-right: auto;
  }
  .kpi-head {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .kpi-head .kpi-value {
    padding-left: 0;
    border-left: none;
    text-align: center;
  }
  .kpi-value {
    padding-left: 0;
    border-left: none;
    text-align: center;
  }
  .card-action {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .card-action .btn {
    width: 100%;
    max-width: 280px;
  }
  .case-intro {
    text-align: center;
  }

  .services-grid .card-action .btn:nth-child(2) {
    display: none;
  }

  .hero-lead-inner .hero-logo {
    display: none;
  }

  .case-gallery-shell:not(.is-expanded) .case-photo-card:nth-child(n+5) {
    display: none;
  }

  html.save-data .case-gallery-shell:not(.is-expanded) .case-photo-card:nth-child(n+4) {
    display: none;
  }

  html.ios-phone section:not(.hero):not(.topbar) {
    content-visibility: auto;
    contain-intrinsic-size: auto 420px;
  }
  .case-gallery-actions {
    display: flex;
  }
  .case-summary {
    display: none;
  }
  .case-intro {
    margin-bottom: var(--space-2);
  }
}

@media (max-width: 380px) {
  .brand-title {
    font-size: 11px;
    letter-spacing: 0.06em;
  }
  .menu-link {
    font-size: 11px;
    padding: 0 4px;
  }
  .mobile-cta .btn {
    font-size: 13px;
    padding: 12px 6px;
  }
}
