:root {
  --bg: #06101d;
  --bg-soft: #0c1828;
  --panel: rgba(12, 24, 40, 0.72);
  --panel-strong: rgba(10, 20, 34, 0.9);
  --line: rgba(255, 255, 255, 0.1);
  --text: #edf4ff;
  --muted: #b1c0d5;
  --primary: #29b8ff;
  --primary-strong: #0997e2;
  --accent: #ffb13b;
  --success: #77f29a;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  --radius: 22px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top right, rgba(41, 184, 255, 0.08), transparent 30%),
    radial-gradient(circle at left bottom, rgba(255, 177, 59, 0.06), transparent 32%),
    linear-gradient(180deg, #06101d 0%, #08131f 100%);
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; color: var(--muted); }
h1, h2, h3 { margin: 0 0 1rem; line-height: 1.1; }
h1 { font-size: clamp(2.4rem, 5vw, 4.7rem); }
h2 { font-size: clamp(1.85rem, 3.2vw, 3rem); }
h3 { font-size: 1.15rem; }

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 92px 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.page-glow {
  position: fixed;
  width: 34rem;
  height: 34rem;
  border-radius: 999px;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.22;
  z-index: 0;
}

.page-glow--blue {
  top: -10rem;
  right: -10rem;
  background: rgba(41, 184, 255, 0.45);
}

.page-glow--orange {
  bottom: 10rem;
  left: -10rem;
  background: rgba(255, 177, 59, 0.24);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 16, 29, 0.7);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  backdrop-filter: blur(20px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 84px;
}

.brand img {
  width: min(290px, 55vw);
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.96rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  width: 21px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
}

.hero {
  padding-top: 72px;
}

.hero-grid,
.two-col,
.comparison-grid,
.faq-grid,
.footer-grid {
  display: grid;
  gap: 32px;
}

.hero-grid {
  grid-template-columns: 1fr;
  gap: 36px;
}

.hero-copy,
.hero-visual,
.section-head,
.info-card,
.impact-card,
.step-card,
.chart-card,
.proof-card,
.team-card,
.contact-wrap,
.contact-card,
.faq-item {
  position: relative;
  z-index: 1;
}

.eyebrow,
.panel-badge,
.proof-kicker,
.impact-eyebrow,
.contact-label,
.metric-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(41, 184, 255, 0.09);
  border: 1px solid rgba(41, 184, 255, 0.18);
  color: #88d8ff;
  font-size: 0.84rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero-lead {
  max-width: 980px;
  font-size: 1.12rem;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 30px 0 28px;
}

.point-card,
.info-card,
.impact-card,
.step-card,
.proof-card,
.team-card,
.chart-card,
.contact-card,
.workflow-visual,
.compare-table,
.faq-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.point-card {
  padding: 18px;
}

.point-card strong,
.bullet-item strong,
.impact-subcards strong,
.contact-card strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 6px;
}

.point-card span,
.bullet-item span,
.impact-subcards span,
.chart-note span,
.contact-card span,
.footer-note {
  color: var(--muted);
}

.hero-actions,
.contact-inline {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.contact-inline {
  margin-top: 16px;
  color: var(--muted);
}

.contact-inline a:hover,
.footer-grid a:hover,
.footer-grid a:focus-visible {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 16px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: white;
  box-shadow: 0 10px 28px rgba(41, 184, 255, 0.25);
}

.btn-secondary {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
}

.hero-panel {
  position: relative;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(10, 20, 34, 0.96), rgba(8, 17, 29, 0.88));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
  overflow: hidden;
}

.hero-panel--preview {
  padding: 20px;
}

.panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.panel-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 0 8px rgba(119, 242, 154, 0.1);
}

.hero-preview {
  width: 100%;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.08);
}

.hero-visual {
  position: relative;
  margin-top: 0;
}

.hero-copy {
  max-width: none;
}


.metric-float {
  position: absolute;
  display: grid;
  gap: 8px;
  width: min(230px, 45vw);
  padding: 18px;
  border-radius: 20px;
  background: rgba(8, 19, 31, 0.9);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
}

.metric-float strong {
  font-size: 1rem;
}

.metric-float--left {
  left: -28px;
  bottom: 34px;
}

.metric-float--right {
  right: -20px;
  top: 88px;
}

.section-head {
  max-width: 900px;
  margin-bottom: 32px;
}

.cards-grid,
.steps-grid,
.proof-grid,
.team-grid,
.contact-cards,
.logo-strip,
.visual-gallery {
  display: grid;
  gap: 20px;
}

.cards-grid--3,
.proof-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.two-col,
.comparison-grid,
.faq-grid,
.footer-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.info-card {
  padding: 26px;
}

.icon-wrap {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(41, 184, 255, 0.09);
  border: 1px solid rgba(41, 184, 255, 0.16);
  margin-bottom: 16px;
}

.icon-wrap svg {
  width: 22px;
  height: 22px;
  stroke: var(--primary);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bullet-stack {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.bullet-item {
  padding-left: 18px;
  border-left: 2px solid rgba(41, 184, 255, 0.35);
}

.impact-card {
  padding: 32px;
  background:
    radial-gradient(circle at top right, rgba(41, 184, 255, 0.14), transparent 34%),
    radial-gradient(circle at bottom left, rgba(255, 177, 59, 0.12), transparent 32%),
    var(--panel-strong);
}

.impact-value {
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 1;
  margin-bottom: 14px;
  font-weight: 800;
}

.impact-subcards {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.impact-subcards > div {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
}

.steps-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.step-card {
  padding: 24px;
}

.step-index {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(255, 177, 59, 0.1);
  border: 1px solid rgba(255, 177, 59, 0.2);
  color: #ffd28d;
  font-weight: 700;
  margin-bottom: 16px;
}

.workflow-visual {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 20px;
  margin-top: 28px;
  padding: 22px;
}

.visual-copy {
  padding: 10px 4px 0 4px;
}

.visual-gallery {
  grid-template-columns: 1fr;
}

.shot,
.shot-wide {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
}

.shot-wide {
  grid-column: 1 / -1;
}

.compare-table {
  overflow: hidden;
  margin-top: 24px;
}

.compare-row {
  display: grid;
  grid-template-columns: 1.05fr 1fr 1fr;
  gap: 14px;
  padding: 16px 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.compare-row:first-child { border-top: none; }
.compare-head {
  background: rgba(255,255,255,0.03);
  color: var(--text);
  font-weight: 700;
}

.chart-card {
  padding: 20px;
}

.chart-card img {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background: white;
}

.chart-note {
  margin-top: 18px;
}

.proof-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.proof-card {
  padding: 24px;
}

.proof-card--accent,
.proof-card--current {
  background:
    radial-gradient(circle at top right, rgba(41, 184, 255, 0.14), transparent 36%),
    rgba(10, 20, 34, 0.92);
}

.logo-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  margin-top: 28px;
  gap: 16px;
}

.logo-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: 126px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(4, 10, 18, 0.75);
  text-align: center;
}

.logo-item img {
  max-height: 48px;
  width: auto;
  margin: 0 auto;
  filter: saturate(0.96) contrast(1.04);
}

.logo-item span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.35;
}

.team-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.team-card {
  overflow: hidden;
}

.team-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  background: #eef2f7;
}

.team-card__body {
  padding: 24px;
}

.team-role {
  color: #8ddcff;
  font-weight: 600;
  margin-bottom: 10px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  padding: 0 22px;
}

.faq-item summary {
  list-style: none;
  padding: 20px 0;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  color: #8ddcff;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  padding-bottom: 20px;
}

.contact-section {
  padding-bottom: 110px;
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  padding: 34px;
  background:
    radial-gradient(circle at top right, rgba(41, 184, 255, 0.1), transparent 35%),
    radial-gradient(circle at bottom left, rgba(255, 177, 59, 0.08), transparent 32%),
    var(--panel-strong);
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
}

.contact-cards {
  grid-template-columns: 1fr;
}

.contact-card {
  padding: 22px;
}

.contact-card:hover,
.contact-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(41, 184, 255, 0.26);
}

.site-footer {
  padding: 36px 0 28px;
  border-top: 1px solid var(--line);
  background: rgba(4, 9, 16, 0.65);
}

.footer-grid {
  gap: 24px;
}

.footer-grid h3 {
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.footer-logo {
  width: 220px;
  margin-bottom: 14px;
}

.footer-bottom {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.95rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .hero-grid,
  .two-col,
  .comparison-grid,
  .faq-grid,
  .contact-wrap,
  .footer-grid,
  .workflow-visual {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    margin-top: 0;
  }

  .steps-grid,
  .proof-grid,
  .cards-grid--3,
  .logo-strip,
  .hero-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metric-float {
    position: static;
    width: auto;
    margin-top: 16px;
  }
}

@media (max-width: 820px) {
  .section { padding: 76px 0; }

  .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 16px;
    left: 16px;
    display: none;
    padding: 18px;
    border-radius: 22px;
    background: rgba(6, 16, 29, 0.96);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav.is-open { display: flex; }
  .nav-toggle { display: inline-flex; }

  .steps-grid,
  .proof-grid,
  .cards-grid--3,
  .team-grid,
  .logo-strip,
  .hero-points,
  .visual-gallery {
    grid-template-columns: 1fr;
  }

  .compare-table {
    display: grid;
    gap: 14px;
    background: transparent;
    border: none;
    box-shadow: none;
    overflow: visible;
    margin-top: 24px;
  }

  .compare-row.compare-head {
    display: none !important;
  }

  .compare-head span::before {
    content: none !important;
  }

  .compare-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 18px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    background: rgba(12, 24, 40, 0.72);
  }

  .compare-row span {
    display: block;
    padding: 0;
  }

  .compare-row:not(.compare-head) span {
    position: relative;
    display: block;
    padding-top: 28px;
  }

  .compare-row:not(.compare-head) span::before {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
  }

  .compare-row:not(.compare-head) span:nth-child(1)::before {
    content: "Критерий";
    color: #ffd28d;
  }

  .compare-row:not(.compare-head) span:nth-child(2)::before {
    content: "Обычный подход";
    color: #8ddcff;
  }

  .compare-row:not(.compare-head) span:nth-child(3)::before {
    content: "КабельРейтинг";
    color: #8ddcff;
  }

  .compare-row:not(.compare-head) span + span {
    margin-top: 14px;
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
}

@media (max-width: 560px) {
  .container { width: min(calc(100% - 22px), var(--container)); }
  .header-inner { min-height: 76px; }
  .hero { padding-top: 40px; }
  .hero-visual { margin-top: 0; }
  .hero-actions,
  .contact-inline,
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .impact-card,
  .info-card,
  .step-card,
  .proof-card,
  .team-card__body,
  .contact-card,
  .workflow-visual,
  .chart-card,
  .contact-wrap { padding: 20px; }
  .faq-item { padding: 0 18px; }
}


.team-card__body h3 {
  margin-bottom: 10px;
}


.footer-grid {
  grid-template-columns: 1.2fr 1fr;
  align-items: start;
}

.footer-brand {
  max-width: 680px;
}

.footer-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

@media (max-width: 1100px) {
  .footer-meta {
    grid-template-columns: 1fr;
  }
}


#solution .two-col {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  column-gap: 40px;
  row-gap: 24px;
  align-items: start;
}

#solution .reveal:first-child {
  grid-column: 1;
  grid-row: 1 / span 2;
}

#solution .impact-card {
  grid-column: 2;
  grid-row: 1;
}

#solution .solution-team-image {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  width: 100%;
  align-self: start;
}

#solution .solution-team-image img {
  display: block;
  width: 100%;
  max-width: 100%;
  border-radius: 24px;
}

@media (max-width: 1100px) {
  #solution .two-col {
    grid-template-columns: 1fr;
  }

  #solution .reveal:first-child,
  #solution .impact-card,
  #solution .solution-team-image {
    grid-column: auto;
    grid-row: auto;
  }

  #solution .solution-team-image {
    margin-top: 20px;
  }
}