:root {
  --bg: #08111f;
  --bg-elevated: #0e1b31;
  --bg-soft: #12233d;
  --panel: rgba(255, 255, 255, 0.08);
  --surface: #ffffff;
  --surface-alt: #f3f7fc;
  --surface-deep: #ebf1f9;
  --line: rgba(16, 24, 40, 0.08);
  --line-strong: rgba(255, 255, 255, 0.12);
  --text: #152235;
  --muted: #627086;
  --white: #ffffff;
  --primary: #1f6fff;
  --primary-strong: #0d58dd;
  --teal: #34d7ae;
  --sky: #8bb7ff;
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --shadow-xl: 0 30px 90px rgba(9, 19, 36, 0.16);
  --shadow-lg: 0 18px 60px rgba(10, 20, 39, 0.12);
  --shadow-sm: 0 10px 30px rgba(11, 24, 45, 0.08);
  --container: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  font-family: Manrope, "Avenir Next", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(31, 111, 255, 0.14), transparent 20%),
    radial-gradient(circle at bottom right, rgba(52, 215, 174, 0.10), transparent 18%),
    linear-gradient(180deg, #0a1220 0%, #0d1830 100%);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
main {
  position: relative;
  z-index: 2;
  overflow: clip;
}
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -0.04em; line-height: 1.02; }
ul, ol { margin: 0; padding-left: 1.2rem; }
li + li { margin-top: 10px; }

.container { width: min(calc(100% - 40px), var(--container)); margin: 0 auto; }
.narrow { width: min(calc(100% - 40px), 860px); margin: 0 auto; }
.ambient-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 20% 16%, rgba(31,111,255,0.20), transparent 24%),
    radial-gradient(circle at 80% 20%, rgba(52,215,174,0.14), transparent 22%),
    radial-gradient(circle at 50% 80%, rgba(139,183,255,0.12), transparent 20%);
  pointer-events: none;
}

.ambient-canvas {
  position: fixed;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.52;
}

.section { padding: 84px 0; position: relative; z-index: 2; }
.section-light {
  background:
    linear-gradient(180deg, rgba(238,245,252,0.68) 0%, rgba(228,237,248,0.44) 100%);
  backdrop-filter: blur(6px);
}
.section-dark {
  background:
    radial-gradient(circle at top right, rgba(31, 111, 255, 0.2), transparent 28%),
    radial-gradient(circle at bottom left, rgba(52, 215, 174, 0.14), transparent 20%),
    linear-gradient(140deg, rgba(9,20,37,0.86) 0%, rgba(15,29,52,0.90) 100%);
  color: var(--white);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 15, 28, 0.72);
  backdrop-filter: blur(16px);
  color: var(--white);
}

.header-inner {
  display: grid;
  grid-template-columns: 176px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 80px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  max-width: 100%;
}

.logo-mark-image {
  width: 34px;
  min-width: 34px;
  height: auto;
  filter: drop-shadow(0 14px 30px rgba(8, 22, 51, 0.34));
}

.logo-mark-image-footer {
  width: 82px;
  min-width: 82px;
}

.logo-copy {
  display: grid;
  gap: 0;
  min-width: 0;
}

.logo-copy-footer {
  gap: 4px;
}

.logo-title {
  display: block;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.03em;
  color: #f8fbff;
  white-space: nowrap;
}

.logo-subtitle {
  display: none;
}

.main-nav {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 0;
  align-items: center;
  flex-wrap: nowrap;
  min-width: 0;
  overflow: hidden;
}

.nav-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 8px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  transition: color .2s ease, opacity .2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--white);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 6px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(52,215,174,0.95), rgba(31,111,255,0.95));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .22s ease;
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.header-actions {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.92);
  min-width: 0;
  font-size: 11px;
}

.header-phone-label {
  display: none;
}

.header-actions .btn-outline {
  min-width: 164px;
  min-height: 42px;
  padding-inline: 14px;
  font-size: 13px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  cursor: pointer;
  align-content: center;
  justify-items: center;
  gap: 4px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform .22s ease, opacity .22s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 119;
  background: rgba(2, 7, 16, 0.78);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  max-width: 100vw;
  z-index: 120;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 18px;
  padding: 20px 18px 24px;
  background:
    linear-gradient(180deg, rgba(7, 15, 28, 0.985) 0%, rgba(8, 17, 31, 0.995) 100%);
  box-shadow: -24px 0 60px rgba(0, 0, 0, 0.34);
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  overflow-y: auto;
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform .24s ease, opacity .24s ease;
}

.mobile-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.98);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.mobile-nav-close {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
}

.mobile-nav-list {
  display: grid;
  align-content: start;
  gap: 12px;
}

.mobile-nav-link {
  display: block;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.065);
  color: rgba(255, 255, 255, 0.98);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.mobile-nav-link:hover,
.mobile-nav-link:focus-visible {
  background: rgba(31, 111, 255, 0.16);
  border-color: rgba(86, 146, 255, 0.28);
  color: var(--white);
}

.mobile-nav-phone {
  display: block;
  margin-top: 2px;
  padding: 15px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.07);
  color: var(--white);
  font-weight: 800;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.08);
}

.mobile-nav-cta {
  width: 100%;
  margin-top: 4px;
  min-height: 56px;
}

.mobile-menu-open {
  overflow: hidden;
}

.mobile-menu-open .mobile-nav-backdrop {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-open .mobile-nav-drawer {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-weight: 800;
  line-height: 1;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}

.btn:hover { transform: translateY(-1px); }
.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, #1f6fff 0%, #0f59de 100%);
  box-shadow: 0 18px 40px rgba(31, 111, 255, 0.24);
}
.btn-light {
  background: rgba(255, 255, 255, 0.98);
  color: var(--text);
  box-shadow: 0 16px 40px rgba(3, 12, 23, 0.18);
}
.btn-outline,
.btn-outline-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
}
.btn-dark { background: var(--bg); color: var(--white); }

.hero {
  position: relative;
  padding: 68px 0 54px;
  color: var(--white);
  background:
    radial-gradient(circle at 18% 18%, rgba(31, 111, 255, 0.22), transparent 20%),
    radial-gradient(circle at 80% 22%, rgba(52, 215, 174, 0.14), transparent 22%),
    linear-gradient(145deg, #08111f 0%, #0d1c33 42%, #0a1322 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.12));
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.03fr .97fr;
  gap: 40px;
  align-items: center;
}

.hero-copy { position: relative; z-index: 2; }
.hero-copy h1 {
  margin-top: 16px;
  font-size: clamp(46px, 5vw, 76px);
  max-width: 11.5ch;
}

.hero-text,
.lead {
  margin-top: 18px;
  max-width: 50rem;
  font-size: 19px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.8);
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.84);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-kicker {
  background: rgba(31, 111, 255, 0.08);
  color: var(--primary);
}

.hero-actions,
.trust-line {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-actions { margin-top: 28px; }
.trust-line { margin-top: 24px; }

.trust-line span,
.footer-trust span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: center;
}

.hero-image-card,
.quote-card,
.content-card,
.pricing-card,
.info-card,
.case-card,
.review-card,
.segment-card,
.steps-grid article,
.consult-card,
.map-card,
.stat-card,
.contacts-hero-card,
.case-list-visual {
  border-radius: var(--radius-xl);
  background: rgba(246, 250, 255, 0.78);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255,255,255,0.32);
  backdrop-filter: blur(18px);
}

.hero-image-card {
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-image-card img {
  width: 100%;
  height: auto;
}

.hero-floating {
  position: absolute;
  max-width: 260px;
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(7, 16, 29, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.22);
}

.hero-floating strong {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
}

.hero-floating span {
  display: block;
  margin-top: 6px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
}

.hero-floating-top { top: 28px; right: -10px; }
.hero-floating-bottom { left: -10px; bottom: 26px; }

.section-heading {
  margin-bottom: 28px;
  max-width: 760px;
}

.section-heading h2 {
  margin-top: 14px;
  font-size: clamp(34px, 4vw, 54px);
}

.section-heading p {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 17px;
}

.section-heading-light p { color: rgba(255, 255, 255, 0.68); }

.split-section,
.pricing-layout,
.contacts-grid,
.content-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 28px;
  align-items: start;
}

.consult-card,
.quote-card,
.content-card,
.stat-card,
.pricing-card,
.review-card,
.info-card,
.case-card,
.segment-card,
.steps-grid article,
.map-card,
.contacts-hero-card {
  padding: 30px;
}

.consult-card {
  background: linear-gradient(180deg, rgba(248,252,255,0.80), rgba(238,245,252,0.72));
}

.consult-card-top { margin-bottom: 20px; }
.consult-card h3,
.quote-card h3 { font-size: 30px; margin-top: 14px; }
.consult-card p,
.quote-card p { margin-top: 12px; color: var(--muted); line-height: 1.7; }

.card-grid,
.segment-grid,
.steps-grid,
.benefit-list,
.pricing-grid,
.review-grid {
  display: grid;
  gap: 22px;
}

.card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.segment-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.benefit-list { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 26px; }
.pricing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.review-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.steps-grid article {
  position: relative;
}

.steps-grid article:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 42px;
  right: -22px;
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, rgba(31,111,255,0.35), rgba(52,215,174,0.35));
}

.benefit-list article {
  position: relative;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: rgba(255,255,255,0.08);
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.benefit-list h3,
.steps-grid h3,
.segment-card strong,
.content-card h2,
.pricing-card h3,
.review-card strong,
.info-card h3,
.case-card h3 {
  font-size: 24px;
}

.benefit-list p,
.steps-grid p,
.segment-card span,
.pricing-card p,
.review-card p,
.info-card p,
.case-card p,
.content-card p,
.content-card li,
.content-card ol,
.content-card ul {
  color: var(--muted);
  line-height: 1.7;
}

.steps-grid article span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(31, 111, 255, 0.12), rgba(52, 215, 174, 0.14));
  color: var(--primary);
  font-weight: 900;
}

.segment-card {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  min-height: 176px;
  align-items: start;
}

.segment-card strong {
  display: block;
  font-size: 21px;
  margin-bottom: 8px;
}

.segment-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(31,111,255,0.12), rgba(52,215,174,0.16));
  color: var(--primary);
  font-size: 22px;
  font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(31,111,255,0.06);
}

.info-card {
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(15, 27, 50, 0.05);
  background: linear-gradient(180deg, rgba(248,252,255,0.80) 0%, rgba(236,244,252,0.72) 100%);
  transition: transform .24s ease, box-shadow .24s ease;
}

.info-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(10,20,39,0.14);
}

.card-media {
  position: relative;
  min-height: 164px;
  overflow: hidden;
  background: linear-gradient(135deg, #0a1528, #132845);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-media-automation { background: linear-gradient(135deg, #0d1a31, #14315d); }
.card-media-infra { background: linear-gradient(135deg, #091423, #102441); }

.card-content { padding: 24px 24px 26px; }
.card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.card-badge {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(31, 111, 255, 0.08);
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.card-price-chip {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.info-card h3 {
  margin-top: 14px;
  font-size: 24px;
  line-height: 1.1;
}

.info-card p {
  margin-top: 10px;
  font-size: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 102px;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  margin-top: 20px;
}

.card-link {
  font-size: 14px;
  font-weight: 800;
}

.card-link { color: var(--primary); }
.card-arrow {
  color: var(--muted);
  font-size: 18px;
  transition: transform .2s ease, color .2s ease;
}

.info-card:hover .card-arrow {
  transform: translateX(4px);
  color: var(--primary);
}

.pricing-card {
  display: grid;
  gap: 16px;
  align-content: start;
  min-height: 100%;
}

.pricing-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pricing-badge {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pricing-card.featured {
  color: var(--white);
  background:
    radial-gradient(circle at top right, rgba(52, 215, 174, 0.12), transparent 35%),
    linear-gradient(180deg, rgba(12,28,53,0.92) 0%, rgba(21,53,106,0.92) 100%);
}

.pricing-price {
  font-size: 42px;
  font-weight: 900;
}

.pricing-price small {
  font-size: 15px;
  font-weight: 700;
  opacity: 0.7;
}

.pricing-card ul { padding-left: 1rem; }
.pricing-card li { color: inherit; opacity: 0.84; }

.quote-card {
  position: sticky;
  top: 104px;
  max-width: 460px;
  justify-self: end;
  background: linear-gradient(180deg, rgba(248,252,255,0.82) 0%, rgba(236,244,252,0.74) 100%);
}

.quote-points,
.consult-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.quote-points span,
.consult-points span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(31,111,255,0.08);
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
}

.compact-card { position: static; margin-top: 20px; }

.lead-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.lead-modal-open {
  overflow: hidden;
}

.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  padding: 20px;
  align-items: center;
  justify-items: center;
}

.lead-modal.is-open {
  display: grid;
}

.lead-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 10, 20, 0.78);
  backdrop-filter: blur(14px);
}

.lead-modal-dialog {
  position: relative;
  width: min(560px, calc(100vw - 28px));
  max-height: min(88vh, 920px);
  margin: 0;
  padding: 30px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(241,247,255,0.98) 0%, rgba(227,237,250,0.96) 100%);
  box-shadow: 0 34px 90px rgba(4, 11, 23, 0.34);
  z-index: 1;
  border: 1px solid rgba(21, 34, 53, 0.08);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.lead-modal-copy {
  display: grid;
  gap: 10px;
  margin-right: 36px;
}

.lead-modal-copy h3 {
  font-size: 34px;
  color: var(--text);
}

.lead-modal-copy p {
  color: #5f708d;
  line-height: 1.6;
}

.lead-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgba(21, 34, 53, 0.08);
  color: #152235;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.form-topline {
  font-size: 12px;
  font-weight: 800;
  color: #2168f5;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.form-grid {
  display: grid;
  gap: 12px;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  border: 1px solid rgba(30, 52, 90, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  padding: 15px 16px;
  font: inherit;
  color: #14233a;
  resize: vertical;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.lead-form input:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: rgba(33, 104, 245, 0.5);
  box-shadow: 0 0 0 4px rgba(33, 104, 245, 0.10);
}

.lead-form input::placeholder,
.lead-form textarea::placeholder {
  color: #a3b1c7;
}

.form-note {
  font-size: 13px;
  line-height: 1.5;
  color: #7e8ca3;
}

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

.case-card {
  overflow: hidden;
  padding: 0;
  background: linear-gradient(180deg, rgba(248,252,255,0.82) 0%, rgba(236,244,252,0.74) 100%);
  transition: transform .24s ease, box-shadow .24s ease;
}

.case-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(10,20,39,0.14);
}

.case-media {
  aspect-ratio: 1.48 / 1;
  background: linear-gradient(145deg, #0a1628, #102441);
}

.case-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-card-body { padding: 24px 24px 28px; }
.case-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.case-card .eyebrow {
  background: rgba(31, 111, 255, 0.08);
  color: var(--primary);
}

.case-duration {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.case-card h3 { margin-top: 14px; font-size: 27px; }
.case-task { margin-top: 12px; }

.case-result {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(24, 44, 82, 0.92), rgba(15, 87, 182, 0.86));
  color: var(--white);
  line-height: 1.55;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}

.case-result strong {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
}

.case-result span {
  font-weight: 700;
  color: var(--white);
}
}

.review-card {
  display: grid;
  gap: 18px;
  min-height: 260px;
}

.rating {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(31, 111, 255, 0.08);
  color: var(--primary);
  font-weight: 800;
}

.review-author {
  display: grid;
  gap: 4px;
  margin-top: auto;
}

.review-author span { color: var(--muted); }

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

.faq-item {
  border-radius: 22px;
  background: rgba(247, 251, 255, 0.80);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid rgba(16, 24, 40, 0.04);
  backdrop-filter: blur(14px);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 24px;
  font-size: 19px;
  font-weight: 800;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item > div { padding: 0 24px 22px; }
.faq-item > div p { color: var(--muted); line-height: 1.7; }

.breadcrumbs {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 22px 0 8px;
  color: #76839a;
  font-size: 14px;
}

.page-hero {
  position: relative;
  padding: 64px 0 30px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(235,243,251,0.52) 0%, rgba(222,233,247,0.26) 100%);
}

.page-hero h1 {
  margin-top: 12px;
  font-size: clamp(40px, 4.5vw, 64px);
}

.contacts-hero,
.case-list-hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 26px;
  align-items: center;
}

.contacts-hero-card {
  display: grid;
  gap: 8px;
  align-content: center;
  min-height: 180px;
  background:
    radial-gradient(circle at top right, rgba(31, 111, 255, 0.14), transparent 34%),
    linear-gradient(145deg, #0d1a31 0%, #132844 100%);
  color: var(--white);
}

.contacts-hero-card strong { font-size: 30px; }
.contacts-hero-card span { color: rgba(255,255,255,0.72); line-height: 1.65; }

.contact-card h2 { margin-top: 12px; }

.contact-list {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}

.contact-list div {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(16, 24, 40, 0.07);
}

.contact-list strong { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.contact-list span { line-height: 1.6; font-weight: 700; }

.map-card {
  overflow: hidden;
  min-height: 100%;
  padding: 0;
  background: linear-gradient(180deg, #f6f9fd 0%, #edf4fb 100%);
}

.map-card img,
.inner-map-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.inner-map-card { margin-top: 24px; min-height: 260px; }

.service-hero-aside { display: grid; gap: 18px; }
.service-image-card { background: rgba(255,255,255,0.06); }

.content-card h2 {
  margin-top: 28px;
  font-size: 28px;
}

.content-card h2:first-child { margin-top: 0; }
.content-sidebar { display: grid; gap: 18px; }

.stat-card {
  display: grid;
  gap: 6px;
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}

.stat-card strong { font-size: 30px; }
.stat-card span { color: var(--muted); line-height: 1.5; }

.cta-banner { position: relative; overflow: hidden; }
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(31,111,255,0.18), transparent 18%),
    radial-gradient(circle at 88% 78%, rgba(52,215,174,0.14), transparent 20%),
    linear-gradient(135deg, #091426 0%, #0f1d34 100%);
}

.cta-banner-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 28px;
  align-items: center;
  padding: 52px;
  border-radius: 36px;
  color: var(--white);
  box-shadow: var(--shadow-xl);
}

.cta-banner h2 {
  margin-top: 14px;
  font-size: clamp(34px, 4vw, 56px);
  max-width: 13ch;
}

.cta-banner p {
  margin-top: 16px;
  max-width: 52ch;
  line-height: 1.75;
  color: rgba(255,255,255,0.72);
}

.cta-form-card {
  padding: 28px;
  border-radius: 28px;
  background: rgba(255,255,255,0.96);
  color: var(--text);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.case-list-visual { padding: 0; overflow: hidden; }

.site-footer {
  margin-top: 40px;
  color: rgba(255, 255, 255, 0.78);
  background:
    radial-gradient(circle at top left, rgba(31, 111, 255, 0.14), transparent 22%),
    linear-gradient(180deg, #091426 0%, #060d18 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr .9fr;
  gap: 34px;
  padding: 56px 0;
}

.footer-brand p {
  margin-top: 18px;
  max-width: 40ch;
  line-height: 1.7;
}

.footer-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.site-footer h3 {
  font-size: 19px;
  margin-bottom: 16px;
  color: var(--white);
}

.footer-links {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 12px;
}

.site-footer p,
.site-footer a { color: rgba(255, 255, 255, 0.76); line-height: 1.7; }

.article-copy {
  background: rgba(248,252,255,0.82);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 36px;
  backdrop-filter: blur(18px);
}

.seo-section { padding-top: 18px; }
.seo-copy { color: var(--muted); line-height: 1.9; }

.mobile-sticky-cta { display: none; }

.lead-modal-open .mobile-sticky-cta,
.lead-modal-open .desktop-float-cta {
  display: none !important;
}

.desktop-float-cta {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 65;
  display: grid;
  gap: 6px;
  width: min(320px, calc(100vw - 36px));
  padding: 18px 20px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(52,215,174,0.18), transparent 42%),
    linear-gradient(135deg, rgba(8,20,39,0.96), rgba(16,41,78,0.96));
  color: var(--white);
  box-shadow: 0 22px 55px rgba(4, 11, 23, 0.34);
  border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(16px);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.desktop-float-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 70px rgba(4, 11, 23, 0.40);
  border-color: rgba(139,183,255,0.30);
}

.desktop-float-cta::after {
  content: "→";
  position: absolute;
  right: 18px;
  top: 18px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(31,111,255,1), rgba(13,88,221,1));
  color: var(--white);
  font-size: 18px;
  font-weight: 800;
}

.desktop-float-cta-kicker {
  display: inline-flex;
  width: fit-content;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.76);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.desktop-float-cta strong {
  max-width: 12ch;
  font-size: 24px;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.desktop-float-cta-text {
  max-width: 24ch;
  color: rgba(255,255,255,0.78);
  font-size: 14px;
  line-height: 1.45;
}

.flash-stack { padding-top: 14px; }
.flash {
  padding: 14px 18px;
  border-radius: 16px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
}
.flash-success { background: #e9f7ef; color: #17633b; }
.flash-error { background: #fdeced; color: #8b2a33; }

@media (max-width: 1180px) {
  .header-inner {
    grid-template-columns: 152px minmax(0, 1fr) auto;
    min-height: 74px;
    gap: 8px;
  }

  .logo-mark-image { width: 28px; min-width: 28px; }
  .logo-title { font-size: 12px; letter-spacing: 0.02em; }
  .header-actions { gap: 8px; }
  .header-phone { font-size: 10px; }
  .header-actions .btn-outline { min-width: 138px; padding-inline: 12px; font-size: 12px; }
  .nav-link { padding: 0 6px; font-size: 11px; }

  .card-grid,
  .pricing-grid,
  .steps-grid,
  .segment-grid,
  .review-grid,
  .benefit-list,
  .case-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-grid,
  .split-section,
  .pricing-layout,
  .contacts-grid,
  .content-grid,
  .cta-banner-inner,
  .contacts-hero,
  .case-list-hero {
    grid-template-columns: 1fr;
  }

  .quote-card { position: static; }
  .hero-visual { min-height: auto; }
  .hero-floating { position: static; max-width: none; margin-top: 16px; }
  .steps-grid article::after { display: none; }
}

@media (max-width: 860px) {
  .header-inner {
    grid-template-columns: 1fr auto;
    gap: 12px;
    min-height: 64px;
  }

  .main-nav { display: none; }
  .menu-toggle,
  .mobile-nav-backdrop,
  .mobile-nav-drawer { display: none !important; }
  .header-actions .btn-outline { display: none; }
  .header-phone {
    display: inline-flex;
    min-height: 40px;
    padding: 0 12px;
    border-radius: 14px;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }
  .logo { gap: 8px; }
  .logo-mark-image { width: 30px; min-width: 30px; }
  .logo-title { font-size: 15px; letter-spacing: 0.04em; }
  .site-header { background: rgba(7, 15, 28, 0.9); }
  .desktop-float-cta { display: none; }

  .card-grid,
  .pricing-grid,
  .steps-grid,
  .segment-grid,
  .review-grid,
  .benefit-list,
  .case-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section { padding: 62px 0; }
  .hero { padding: 44px 0 36px; }
  .hero-copy h1 { font-size: 42px; }
  .hero-text, .lead { font-size: 17px; }
  .contact-list div { grid-template-columns: 1fr; gap: 8px; }

  .mobile-sticky-cta {
    position: sticky;
    bottom: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 12px 16px;
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
  }

  .lead-modal-dialog {
    width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    align-self: stretch;
    padding: calc(18px + env(safe-area-inset-top, 0px)) 16px calc(18px + env(safe-area-inset-bottom, 0px));
    border-radius: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    display: grid;
    align-content: start;
  }

  .lead-modal-copy h3 {
    font-size: 22px;
  }

  .lead-modal-copy {
    gap: 6px;
    margin-right: 44px;
  }

  .lead-modal .section-kicker,
  .lead-modal-copy p,
  .lead-modal .form-topline,
  .lead-modal .form-note {
    display: none;
  }

  .lead-modal .lead-form {
    gap: 12px;
    margin-top: 12px;
  }

  .lead-modal .form-grid {
    gap: 10px;
  }

  .lead-modal .field-company,
  .lead-modal .field-comment {
    display: none;
  }

  .lead-modal-close {
    top: calc(12px + env(safe-area-inset-top, 0px));
    right: 12px;
  }

  .lead-modal .lead-form input {
    min-height: 52px;
    padding: 14px 16px;
  }

  .lead-modal .btn {
    min-height: 54px;
  }

  .lead-modal-backdrop {
    backdrop-filter: none;
  }
}

/* Final dark ambient override */
body {
  color: rgba(234, 240, 250, 0.92);
  background:
    radial-gradient(circle at top left, rgba(31, 111, 255, 0.18), transparent 22%),
    radial-gradient(circle at bottom right, rgba(52, 215, 174, 0.12), transparent 20%),
    linear-gradient(180deg, #050b15 0%, #09111f 52%, #08101b 100%);
}

.ambient-layer {
  background:
    radial-gradient(circle at 18% 14%, rgba(31,111,255,0.16), transparent 24%),
    radial-gradient(circle at 82% 18%, rgba(52,215,174,0.12), transparent 22%),
    radial-gradient(circle at 48% 78%, rgba(139,183,255,0.08), transparent 20%),
    linear-gradient(180deg, rgba(6, 12, 23, 0.2), rgba(6, 12, 23, 0.42));
}

.ambient-canvas {
  mix-blend-mode: normal;
  opacity: 0.14 !important;
  filter: blur(0.3px);
}

.section-light,
.page-hero {
  background:
    linear-gradient(180deg, rgba(9, 16, 28, 0.44) 0%, rgba(9, 16, 28, 0.34) 100%);
}

main,
.section,
.page-hero,
.site-footer,
.site-header {
  position: relative;
  z-index: 2;
}

.site-header {
  background: rgba(7, 15, 28, 0.76);
}

.hero-image-card,
.quote-card,
.content-card,
.pricing-card,
.info-card,
.case-card,
.review-card,
.segment-card,
.steps-grid article,
.consult-card,
.map-card,
.stat-card,
.contacts-hero-card,
.case-list-visual,
.faq-item,
.article-copy,
.cta-form-card {
  background: linear-gradient(180deg, rgba(10, 18, 32, 0.94), rgba(8, 14, 26, 0.92));
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
}

.pricing-card.featured {
  background:
    radial-gradient(circle at top right, rgba(52, 215, 174, 0.12), transparent 35%),
    linear-gradient(180deg, rgba(12,28,53,0.92) 0%, rgba(21,53,106,0.92) 100%);
}

.info-card,
.case-card,
.pricing-card,
.segment-card,
.review-card,
.steps-grid article {
  overflow: hidden;
}

.card-media,
.case-media {
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.section-heading h2,
.page-hero h1,
.content-card h2,
.pricing-card h3,
.review-card strong,
.info-card h3,
.case-card h3,
.segment-card strong,
.steps-grid h3,
.consult-card h3,
.quote-card h3,
.contacts-hero-card strong,
.contact-list strong,
.contact-list span,
.breadcrumbs,
.faq-item summary,
.article-copy h1,
.article-copy h2,
.article-copy h3 {
  color: rgba(245, 248, 255, 0.98);
}

.section-heading p,
.benefit-list p,
.steps-grid p,
.segment-card span,
.pricing-card p,
.review-card p,
.info-card p,
.case-card p,
.content-card p,
.content-card li,
.content-card ol,
.content-card ul,
.form-note,
.seo-copy,
.article-copy p,
.article-copy li,
.faq-item > div p,
.review-author span,
.case-duration,
.card-price-chip {
  color: rgba(210, 222, 240, 0.72);
}

.card-link,
.pricing-badge,
.quote-points span,
.consult-points span,
.rating {
  color: #d8e7ff;
}

.quote-points span,
.consult-points span,
.rating,
.case-result,
.card-badge,
.section-kicker,
.case-card .eyebrow {
  background: rgba(31,111,255,0.14);
}

.lead-form input,
.lead-form textarea {
  border-color: rgba(30, 52, 90, 0.12);
  background: rgba(255, 255, 255, 0.78);
  color: #14233a;
}

.lead-form input::placeholder,
.lead-form textarea::placeholder {
  color: #a3b1c7;
}

.stat-card strong,
.pricing-price {
  color: rgba(245, 248, 255, 0.98);
}

.info-card,
.case-card,
.pricing-card,
.segment-card,
.review-card,
.steps-grid article {
  box-shadow: 0 22px 60px rgba(4, 10, 21, 0.30);
}

.card-grid {
  gap: 18px;
}

.info-card h3 {
  font-size: 21px;
}

.info-card p {
  min-height: 88px;
  -webkit-line-clamp: 3;
}

.card-content {
  padding: 18px 18px 20px;
}

.card-topline {
  margin-bottom: 10px;
}

.segment-grid {
  gap: 16px;
}

.segment-card {
  min-height: 136px;
  padding: 22px;
  grid-template-columns: 46px 1fr;
}

.segment-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  font-size: 18px;
}

.steps-grid {
  gap: 16px;
}

.steps-grid article {
  min-height: 240px;
  padding: 24px;
}

.pricing-layout {
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 420px);
  align-items: start;
}

.pricing-grid {
  gap: 16px;
}

.pricing-card {
  min-height: 320px;
  padding: 24px;
}

.pricing-price {
  font-size: 34px;
}

.quote-card {
  width: 100%;
}

.case-grid {
  gap: 18px;
}

.case-card-body {
  padding: 18px 18px 22px;
}

.case-card h3 {
  font-size: 20px;
}

.case-task {
  min-height: 72px;
}

.benefit-list {
  gap: 16px;
}

.benefit-list article {
  padding: 22px;
}

.consult-card,
.quote-card {
  padding: 24px;
}

@media (max-width: 1180px) {
  .pricing-layout {
    grid-template-columns: 1fr;
  }

  .quote-card {
    max-width: none;
    justify-self: stretch;
  }
}
