:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-soft: #f8fbff;
  --surface-dark: #0f172a;
  --text: #162033;
  --text-soft: #596579;
  --line: rgba(17, 24, 39, 0.08);
  --primary: #0c63e7;
  --primary-dark: #0a4fb9;
  --primary-soft: rgba(12, 99, 231, 0.1);
  --white: #ffffff;
  --shadow: 0 18px 54px rgba(15, 23, 42, 0.08);
  --radius: 24px;
  --radius-md: 18px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  background: linear-gradient(180deg, #f9fbfe 0%, #eef4fb 100%);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-shell {
  min-height: 100vh;
}

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

.section {
  padding: 92px 0;
}

.section--tint {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(12px);
}

.section--dark {
  background: linear-gradient(135deg, #0d1b34 0%, #10254a 100%);
  color: var(--white);
}

.section--cta {
  background: linear-gradient(135deg, #0c63e7 0%, #0842a9 100%);
  color: var(--white);
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.header__inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-right: auto;
}

.logo img {
  width: 60px;
  height: auto;
}

.logo__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo__text strong {
  font-size: 18px;
}

.logo__text small {
  color: var(--text-soft);
  font-size: 12px;
}

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

.nav a {
  font-size: 15px;
  color: var(--text-soft);
  transition: color .2s ease;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--primary);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header__phone {
  font-weight: 600;
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
  cursor: pointer;
}

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

.btn--primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(12, 99, 231, 0.24);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--primary-dark);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(12, 99, 231, 0.18);
  color: var(--primary);
}

.btn--light {
  background: var(--white);
  color: var(--primary);
}

.burger {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 0;
}

.burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  margin: 5px auto;
  transition: transform .2s ease, opacity .2s ease;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.eyebrow--light {
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
}

.hero {
  overflow: hidden;
  position: relative;
  padding-top: 56px;
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 999px;
  filter: blur(10px);
  pointer-events: none;
}

.hero::before {
  width: 420px;
  height: 420px;
  right: -120px;
  top: 32px;
  background: rgba(12, 99, 231, 0.12);
}

.hero::after {
  width: 320px;
  height: 320px;
  left: -80px;
  bottom: 40px;
  background: rgba(18, 189, 255, 0.08);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 42px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin: 18px 0 18px;
  max-width: 12ch;
}

.hero__lead,
.section-heading p,
.objects-block__intro p,
.cta-block__content p,
.map-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 18px;
  line-height: 1.7;
}

.section--dark .section-heading p,
.section--cta .cta-block__content p {
  color: rgba(255, 255, 255, 0.76);
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 30px;
}

.hero__badges span,
.object-tags span {
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(12, 99, 231, 0.12);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
  font-weight: 600;
  color: var(--text);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__facts {
  list-style: none;
  padding: 0;
  margin: 36px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hero__facts li,
.card,
.partner-tile,
.map-card,
.contact-item,
.step {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}

.hero__facts li {
  padding: 18px;
}

.hero__facts strong,
.contact-item strong {
  display: block;
  font-size: 15px;
  margin-bottom: 6px;
}

.hero__facts span,
.contact-item span {
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.6;
}

.hero__visual {
  position: relative;
  min-height: 580px;
}

.hero-card {
  border-radius: 28px;
}

.hero-card--glass {
  position: absolute;
  inset: 36px 0 48px 36px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.64);
  box-shadow: 0 26px 60px rgba(13, 31, 67, 0.18);
  backdrop-filter: blur(24px);
}

.hero-card--glass img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-card--info {
  position: absolute;
  max-width: 260px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 20px 40px rgba(10, 79, 185, 0.16);
}

.hero-card--top {
  top: 0;
  right: 0;
}

.hero-card--bottom {
  left: 0;
  bottom: 0;
}

.hero-card__label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--primary);
  font-weight: 800;
}

.hero-card--info strong {
  font-size: 15px;
  line-height: 1.5;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-heading--left {
  margin-left: 0;
  text-align: left;
}

.section-heading h2,
.objects-block__intro h2,
.cta-block__content h2 {
  margin: 18px 0 12px;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.section-heading--light h2,
.section-heading--light .eyebrow,
.section-heading--light p {
  color: var(--white);
}

.cards {
  display: grid;
  gap: 22px;
}

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

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

.card {
  padding: 28px;
}

.card h3,
.step h3,
.promo-card h3 {
  margin: 18px 0 10px;
  font-size: 22px;
  line-height: 1.25;
}

.card p,
.step p,
.promo-card p,
.form-note,
.footer__brand p,
.thanks-card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
}

.section--dark .step,
.section--dark .tabs__nav,
.section--dark .tabs__panel {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.section--dark .step h3,
.section--dark .step p,
.section--dark .tabs__btn {
  color: var(--white);
}

.section--dark .step p {
  color: rgba(255, 255, 255, 0.76);
}

.service-card img {
  width: 56px;
  height: 56px;
}

.advantage-card {
  position: relative;
  overflow: hidden;
}

.advantage-card::after {
  content: '';
  position: absolute;
  inset: auto -60px -60px auto;
  width: 140px;
  height: 140px;
  border-radius: 999px;
  background: rgba(12, 99, 231, 0.08);
}

.objects-block {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 34px;
  align-items: center;
}

.object-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.tabs__nav {
  display: inline-flex;
  gap: 12px;
  padding: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 28px;
}

.tabs__btn {
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: none;
  background: transparent;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
}

.tabs__btn.is-active {
  background: var(--white);
  color: var(--primary);
}

.tabs__panel {
  display: none;
}

.tabs__panel.is-active {
  display: block;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.step {
  padding: 22px;
  border-radius: 22px;
}

.step span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(12, 99, 231, 0.14);
  color: var(--primary);
  font-weight: 800;
}

.section--dark .step span {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.promo-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
}

.promo-card__value {
  display: inline-flex;
  width: 76px;
  height: 76px;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--primary) 0%, #38a0ff 100%);
  color: var(--white);
  font-size: 24px;
  font-weight: 800;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.partner-tile {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--text-soft);
}

.cta-block {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 34px;
  align-items: center;
}

.cta-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.cta-contacts a {
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-weight: 600;
}

.lead-form {
  display: grid;
  gap: 16px;
  padding: 30px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(20px);
}

.lead-form label {
  display: grid;
  gap: 8px;
}

.lead-form label span {
  font-weight: 600;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  outline: none;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.12);
}

.form-note {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr .95fr;
  gap: 28px;
  align-items: start;
}

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

.contact-item {
  display: block;
  padding: 22px 24px;
}

.contact-item:hover {
  transform: translateY(-1px);
}

.map-card {
  padding: 28px;
}

.map-card__label {
  font-size: 13px;
  color: var(--primary);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 16px;
}

.map-card__mock {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  overflow: hidden;
  background:
    linear-gradient(0deg, rgba(255,255,255,.55), rgba(255,255,255,.55)),
    radial-gradient(circle at 20% 30%, rgba(12, 99, 231, 0.22), transparent 18%),
    radial-gradient(circle at 80% 70%, rgba(11, 96, 213, 0.14), transparent 18%),
    repeating-linear-gradient(90deg, #d6e3f5 0 12px, #edf3fb 12px 32px),
    repeating-linear-gradient(0deg, #d6e3f5 0 12px, #edf3fb 12px 32px);
}

.map-card__mock span {
  position: absolute;
  bottom: 24px;
  left: 24px;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  font-weight: 700;
}

.map-card__pin {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--primary);
  box-shadow: 0 0 0 12px rgba(12, 99, 231, 0.15);
}

.footer {
  padding: 28px 0;
  background: #0c1323;
  color: rgba(255, 255, 255, 0.8);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr .8fr .9fr;
  gap: 24px;
  align-items: center;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer__brand img {
  width: 54px;
}

.footer__brand strong,
.footer__meta a,
.footer__links a {
  color: var(--white);
}

.footer__links,
.footer__meta {
  display: grid;
  gap: 8px;
}

.footer__meta {
  justify-items: end;
}

.thanks-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: linear-gradient(135deg, #eef4fb 0%, #f8fbff 100%);
}

.thanks-card {
  width: min(100%, 540px);
  padding: 42px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  text-align: center;
}

.thanks-card h1 {
  margin: 18px 0 12px;
  font-size: 40px;
}

@media (max-width: 1180px) {
  .cards--4,
  .steps-grid,
  .partners-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero__grid,
  .objects-block,
  .cta-block,
  .contacts-grid,
  .footer__inner {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    min-height: 500px;
  }

  .footer__meta {
    justify-items: start;
  }
}

@media (max-width: 920px) {
  .burger {
    display: inline-block;
    margin-left: auto;
  }

  .nav,
  .header__actions {
    display: none;
  }

  .header.is-open .nav,
  .header.is-open .header__actions {
    display: flex;
    position: absolute;
    left: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: var(--shadow);
  }

  .header.is-open .nav {
    top: calc(100% + 12px);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 14px;
    border-radius: 22px 22px 0 0;
  }

  .header.is-open .nav a {
    width: 100%;
    padding: 12px 10px;
  }

  .header.is-open .header__actions {
    top: calc(100% + 220px);
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border-radius: 0 0 22px 22px;
  }

  .hero__facts,
  .cards--3,
  .cards--4,
  .steps-grid,
  .partners-grid {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    min-height: 420px;
  }

  .hero-card--glass {
    inset: 18px 0 56px 0;
  }

  .hero-card--top,
  .hero-card--bottom {
    max-width: 220px;
  }
}

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

  .header__inner {
    min-height: 76px;
  }

  .logo img {
    width: 52px;
  }

  .logo__text small {
    display: none;
  }

  .hero h1 {
    max-width: none;
  }

  .hero__lead,
  .section-heading p,
  .objects-block__intro p,
  .cta-block__content p {
    font-size: 16px;
  }

  .lead-form,
  .card,
  .map-card,
  .thanks-card {
    padding: 22px;
  }

  .hero__badges span,
  .object-tags span,
  .cta-contacts a {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .hero__visual {
    min-height: 360px;
  }

  .hero-card--info {
    position: static;
    max-width: none;
    margin-top: 14px;
  }

  .hero-card--glass {
    position: static;
    inset: auto;
  }
}
