.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 0 0 26px;
  color: #f7faff;
  background: #050b14;
}

.site-footer::before {
  position: absolute;
  z-index: -1;
  top: 0;
  right: max(16px, calc((100vw - var(--container)) / 2));
  width: clamp(72px, 9vw, 138px);
  height: 5px;
  background: #1976ff;
  content: "";
}

.site-footer::after {
  position: absolute;
  z-index: -1;
  top: 0;
  right: calc(max(16px, (100vw - var(--container)) / 2) + clamp(72px, 9vw, 138px));
  width: 1px;
  height: 42%;
  background: rgba(255, 255, 255, 0.08);
  content: "";
}

.footer-shell {
  position: relative;
}

.footer-head {
  display: flex;
  min-height: 112px;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.footer-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 11px;
}

.footer-brand__mark {
  display: block;
  width: 42px;
  height: 44px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.34);
}

.footer-brand__copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.footer-brand__copy strong {
  color: #fff;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.025em;
}

.footer-brand__copy small {
  margin-top: 6px;
  color: #7f8da4;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.025em;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 48px);
}

.footer-nav a {
  position: relative;
  padding: 12px 0;
  color: #9da9bc;
  font-size: 13px;
  font-weight: 700;
  transition: color 180ms ease;
}

.footer-nav a::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 2px;
  background: #2b87ff;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(390px, 0.72fr);
  gap: clamp(64px, 8vw, 132px);
  padding: clamp(54px, 6vw, 88px) 0 clamp(46px, 5vw, 72px);
}

.footer-intro {
  min-width: 0;
}

.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #b7c5d8;
}

.footer-status span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #33d18f;
  box-shadow: 0 0 0 5px rgba(51, 209, 143, 0.09);
}

.footer-status small {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.footer-intro h2 {
  max-width: 940px;
  margin: 24px 0 0;
  color: #f8fbff;
  font-size: clamp(38px, 4.2vw, 68px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.06;
}

.footer-intro h2 span {
  color: #7f94b3;
}

.footer-intro > p {
  max-width: 600px;
  margin: 28px 0 0;
  color: #8795aa;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7;
}

.footer-contact {
  min-width: 0;
  align-self: end;
}

.footer-cta {
  display: grid;
  min-height: 112px;
  grid-template-columns: 34px minmax(0, 1fr) 52px;
  align-items: center;
  gap: 18px;
  padding: 20px 22px;
  color: #fff;
  background: #0758f8;
  box-shadow: 14px 14px 0 rgba(37, 128, 255, 0.11);
  transition: background 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

.footer-cta__index {
  align-self: start;
  padding-top: 2px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
  font-weight: 800;
}

.footer-cta__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.footer-cta__copy small {
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 10px;
  font-weight: 700;
}

.footer-cta__copy strong {
  font-size: clamp(20px, 2vw, 27px);
  font-weight: 700;
  letter-spacing: 0;
}

.footer-cta__icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 50%;
}

.footer-cta__icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transition: transform 220ms ease;
}

.footer-socials {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-social {
  display: grid;
  min-width: 0;
  grid-template-columns: 34px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 12px;
  padding: 18px 14px 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #f4f7fc;
  transition: color 180ms ease, border-color 180ms ease;
}

.footer-social + .footer-social {
  padding-right: 0;
  padding-left: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-social img {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.footer-social span {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.footer-social strong {
  font-size: 12px;
  font-weight: 800;
}

.footer-social small {
  margin-top: 4px;
  overflow: hidden;
  color: #74839a;
  font-size: 9px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
  transition: transform 180ms ease;
}

.footer-capabilities {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  color: #8492a7;
}

.footer-capabilities span {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.025em;
}

.footer-capabilities span:not(:last-child)::after {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #2b87ff;
  content: "";
}

.footer-bottom {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #667489;
  font-size: 12px;
  font-weight: 600;
}

.footer-copyright {
  display: flex;
  align-items: center;
  gap: 32px;
}

.footer-copyright span:first-child {
  color: #a5b1c2;
  font-weight: 700;
}

.footer-docs {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 22px;
}

.footer-docs a {
  color: #748197;
  font-size: 11px;
  font-weight: 600;
  transition: color 180ms ease;
}

@media (hover: hover) {
  .footer-nav a:hover {
    color: #fff;
  }

  .footer-nav a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
  }

  .footer-cta:hover {
    background: #146bff;
    box-shadow: 8px 8px 0 rgba(37, 128, 255, 0.16);
    transform: translate(4px, 4px);
  }

  .footer-cta:hover .footer-cta__icon svg {
    transform: translateX(4px);
  }

  .footer-social:hover {
    color: #55a4ff;
    border-color: rgba(43, 135, 255, 0.5);
  }

  .footer-social:hover svg {
    transform: translate(2px, -2px);
  }

  .footer-docs a:hover {
    color: #c7d2e2;
  }
}

/* Refined footer */
.site-footer {
  padding: clamp(54px, 5.5vw, 76px) 0 26px;
  background: #07111f;
}

.site-footer::before,
.site-footer::after {
  display: none;
}

.footer-shell {
  display: grid;
  grid-template-columns: minmax(300px, 1.25fr) minmax(150px, 0.5fr) minmax(250px, 0.7fr);
  gap: clamp(42px, 6vw, 96px);
  align-items: start;
}

.footer-brand-block {
  max-width: 510px;
}

.footer-brand {
  gap: 12px;
}

.footer-brand__mark {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 0 10px rgba(24, 113, 255, 0.42));
}

.footer-brand__copy strong {
  font-size: 20px;
  font-weight: 800;
}

.footer-brand__copy small {
  color: #8090a8;
}

.footer-brand-block p {
  max-width: 440px;
  margin: 24px 0 0;
  color: #a8b4c7;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7;
}

.footer-status {
  margin-top: 24px;
  padding: 9px 13px;
  border: 0;
  border-radius: 999px;
  color: #d1d9e6;
  background: #101d2f;
}

.footer-nav,
.footer-contact {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
}

.footer-contact {
  align-self: start;
}

.footer-nav {
  gap: 12px;
}

.footer-nav > strong,
.footer-contact > strong {
  margin-bottom: 15px;
  color: #f7f9fc;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-nav a {
  padding: 0;
  color: #98a7bc;
  font-size: 14px;
  font-weight: 600;
  transition: color 180ms ease, transform 180ms ease;
}

.footer-nav a::after {
  display: none;
}

.footer-socials {
  display: flex;
  grid-template-columns: none;
  margin-top: 0;
  gap: 10px;
  border: 0;
}

.footer-social,
.footer-social + .footer-social {
  display: grid;
  width: 46px;
  height: 46px;
  min-width: 46px;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 14px;
  color: #fff;
  background: #122136;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.footer-social img {
  width: 28px;
  height: 28px;
}

.footer-cta {
  display: inline-flex;
  min-height: 52px;
  margin-top: 18px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 20px;
  border-radius: 14px;
  color: #fff;
  background: #0758f8;
  box-shadow: 0 16px 34px rgba(7, 88, 248, 0.2);
  font-size: 13px;
  font-weight: 800;
  transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.footer-cta svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transition: transform 180ms ease;
}

.footer-bottom {
  min-height: auto;
  margin-top: clamp(46px, 5vw, 68px);
  padding-top: 0;
  border: 0;
  color: #718096;
  font-size: 12px;
}

.footer-docs a {
  color: #8290a5;
  font-size: 12px;
  font-weight: 600;
}

@media (hover: hover) {
  .footer-nav a:hover {
    color: #fff;
    transform: translateX(3px);
  }

  .footer-social:hover {
    color: #fff;
    background: #192c47;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.1),
      0 12px 24px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
  }

  .footer-cta:hover {
    background: #1768ff;
    box-shadow: 0 20px 38px rgba(7, 88, 248, 0.28);
    transform: translateY(-2px);
  }

  .footer-cta:hover svg {
    transform: translateX(3px);
  }
}

@media (max-width: 1120px) {
  .contacts-shell {
    align-items: start;
  }

  .contact-form-wrap {
    padding: clamp(26px, 4vw, 38px);
    border: 1px solid transparent;
  }

  .footer-shell {
    grid-template-columns: minmax(0, 1fr) minmax(180px, 0.7fr);
  }

  .footer-contact {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .contact-form-wrap {
    padding: 22px 16px;
  }

  .contact-form__head {
    min-height: 72px;
    margin-bottom: 16px;
    gap: 14px;
  }

  .contact-form__brand {
    padding: 7px 12px 7px 7px;
  }

  .contact-form__brand-mark {
    width: 38px;
    height: 38px;
  }

  .contact-form__call-art {
    width: clamp(52px, 18vw, 70px);
    margin: -6px 2px -4px 0;
  }

  .contact-form__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .contact-field {
    padding: 13px 14px 11px;
  }

  .custom-select__menu {
    right: -14px;
    left: -14px;
  }

  .custom-select__option {
    min-height: 42px;
    font-size: 13.5px;
  }

  .contact-field textarea {
    min-height: 138px;
  }

  .contact-form.is-ready .contact-form__actions {
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding: 50px 0 24px;
  }

  .footer-shell {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-brand-block p {
    margin-top: 20px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-docs {
    justify-content: flex-start;
  }
}

