.vsep-footer {
    --vsep-blue: #0e0e48;
    --vsep-red: #df0a00;
    --vsep-red-dark: #c50900;
    --vsep-graphite: #28334a;
    --vsep-gray: #6b7280;
    --vsep-light: #f5f7fa;
    --vsep-white: #ffffff;
    --vsep-border: #e1e5eb;

    width: 100%;
    color: var(--vsep-graphite);
    background: var(--vsep-light);
    border-top: 1px solid var(--vsep-border);
    font-family: Arial, Helvetica, sans-serif;
    box-sizing: border-box;
  }

  .vsep-footer *,
  .vsep-footer *::before,
  .vsep-footer *::after {
    box-sizing: border-box;
  }

  .vsep-footer a {
    color: inherit;
    text-decoration: none;
  }

  .vsep-footer a:hover {
    color: var(--vsep-red);
    text-decoration: none;
  }

  .vsep-footer__container {
    width: 100%;
    max-width: 1710px;
    margin: 0 auto;
    padding-right: 30px;
    padding-left: 30px;
  }

  /* Верхний блок связи */

  .vsep-footer__contact-strip {
    padding: 36px 0;
    background: #ffffff;
    border-bottom: 1px solid var(--vsep-border);
  }

  .vsep-footer__contact-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.4fr);
    align-items: center;
    gap: 42px;
  }

  .vsep-footer__contact-copy h2 {
    margin: 0 0 9px;
    color: var(--vsep-blue);
    font-size: 27px;
    font-weight: 800;
    line-height: 1.2;
  }

  .vsep-footer__contact-copy p {
    max-width: 470px;
    margin: 0;
    color: var(--vsep-gray);
    font-size: 15px;
    line-height: 1.6;
  }

  .vsep-footer__form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    gap: 12px;
  }

  .vsep-footer__field {
    width: 100%;
    min-width: 0;
    height: 50px;
    padding: 0 16px;
    color: var(--vsep-graphite);
    background: #ffffff;
    border: 1px solid #cfd5dd;
    border-radius: 8px;
    outline: none;
    font-size: 14px;
    transition:
      border-color 0.2s ease,
      box-shadow 0.2s ease;
  }

  .vsep-footer__field::placeholder {
    color: #9298a3;
  }

  .vsep-footer__field:focus {
    border-color: var(--vsep-blue);
    box-shadow: 0 0 0 3px rgba(14, 14, 72, 0.08);
  }

  .vsep-footer__submit {
    min-width: 190px;
    height: 50px;
    padding: 0 24px;
    color: #ffffff;
    background: var(--vsep-red);
    border: 1px solid var(--vsep-red);
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    transition:
      background-color 0.2s ease,
      border-color 0.2s ease,
      transform 0.2s ease;
  }

  .vsep-footer__submit:hover {
    background: var(--vsep-red-dark);
    border-color: var(--vsep-red-dark);
    transform: translateY(-1px);
  }

  .vsep-footer__policy {
    grid-column: 1 / -1;
    margin: -1px 0 0;
    color: var(--vsep-gray);
    font-size: 12px;
    line-height: 1.5;
  }

  .vsep-footer__policy a {
    color: var(--vsep-blue);
    text-decoration: underline;
    text-decoration-color: rgba(14, 14, 72, 0.3);
    text-underline-offset: 2px;
  }

  /* Основная часть футера */

  .vsep-footer__main {
    padding: 44px 0 38px;
  }

  .vsep-footer__grid {
    display: grid;
    grid-template-columns:
      minmax(260px, 1.2fr)
      minmax(150px, 0.7fr)
      minmax(170px, 0.8fr)
      minmax(190px, 0.9fr);
    gap: 46px;
  }

  .vsep-footer__brand {
    max-width: 340px;
  }

  .vsep-footer__logo-link {
    display: inline-flex;
    margin-bottom: 21px;
  }

  .vsep-footer__logo {
    display: block;
    width: 270px;
    max-width: 100%;
    height: auto;
  }

  .vsep-footer__description {
    margin: 0 0 22px;
    color: var(--vsep-graphite);
    font-size: 14px;
    line-height: 1.55;
  }

  .vsep-footer__contacts-title,
  .vsep-footer__column-title {
    margin: 0 0 17px;
    color: var(--vsep-blue);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.3;
    text-transform: uppercase;
  }

  .vsep-footer__phone {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--vsep-blue);
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
  }

  .vsep-footer__email {
    display: inline-block;
    margin-bottom: 15px;
    color: var(--vsep-blue);
    font-size: 14px;
    font-weight: 700;
  }

  .vsep-footer__schedule {
    margin: 0;
    color: var(--vsep-gray);
    font-size: 13px;
    line-height: 1.6;
  }

  .vsep-footer__list {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .vsep-footer__list li {
    margin-bottom: 10px;
  }

  .vsep-footer__list li:last-child {
    margin-bottom: 0;
  }

  .vsep-footer__list a {
    display: inline-block;
    color: var(--vsep-graphite);
    font-size: 14px;
    line-height: 1.4;
    transition: color 0.2s ease;
  }

  .vsep-footer__catalog-link {
    position: relative;
    padding-left: 15px;
    font-weight: 700;
  }

  .vsep-footer__catalog-link::before {
    position: absolute;
    top: 8px;
    left: 0;
    width: 6px;
    height: 6px;
    background: var(--vsep-red);
    border-radius: 50%;
    content: "";
  }

  /* Нижняя строка */

  .vsep-footer__bottom {
    padding: 20px 0;
    background: #ffffff;
    border-top: 1px solid var(--vsep-border);
  }

  .vsep-footer__bottom-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
  }

  .vsep-footer__copyright {
    margin: 0;
    color: var(--vsep-gray);
    font-size: 12px;
    line-height: 1.5;
  }

  .vsep-footer__legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 18px;
  }

  .vsep-footer__legal a {
    color: var(--vsep-gray);
    font-size: 12px;
    line-height: 1.4;
  }

  .vsep-footer__legal a:hover {
    color: var(--vsep-blue);
  }

  @media (max-width: 1050px) {
    .vsep-footer__contact-grid {
      grid-template-columns: 1fr;
      gap: 24px;
    }

    .vsep-footer__grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }

  @media (max-width: 760px) {
    .vsep-footer__contact-strip {
      padding: 30px 0;
    }

    .vsep-footer__form {
      grid-template-columns: 1fr;
    }

    .vsep-footer__submit {
      width: 100%;
    }

    .vsep-footer__policy {
      grid-column: auto;
    }

    .vsep-footer__main {
      padding: 36px 0 30px;
    }

    .vsep-footer__grid {
      gap: 34px 26px;
    }

    .vsep-footer__bottom-grid {
      flex-direction: column;
      align-items: flex-start;
      gap: 12px;
    }

    .vsep-footer__legal {
      justify-content: flex-start;
    }
  }

  @media (max-width: 560px) {
    .vsep-footer__container {
      padding-right: 15px;
      padding-left: 15px;
    }

    .vsep-footer__contact-copy h2 {
      font-size: 24px;
    }

    .vsep-footer__grid {
      grid-template-columns: 1fr;
      gap: 30px;
    }

    .vsep-footer__brand {
      max-width: none;
    }

    .vsep-footer__logo {
      width: 245px;
    }

    .vsep-footer__legal {
      flex-direction: column;
      gap: 7px;
    }
  }

/* VSEP footer catalog active state */
.vsep-footer__catalog-link::before { display: none; }
.vsep-footer__catalog-link.is-active { position: relative; padding-left: 15px; font-weight: 700; }
.vsep-footer__catalog-link.is-active::before { display: block; }

/* VSEP footer embedded form layout */
.vsep-footer__form .footer-new__subscribe-wrap,
.vsep-footer__form .subscribe-new,
.vsep-footer__form .subscribe-new__form { width: 100%; }
.vsep-footer__form .subscribe-new__title { display: none; }
.vsep-footer__form .form-subscribe-new__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 12px; align-items: start; }
.vsep-footer__form .form-subscribe-new__col { min-width: 0; }
.vsep-footer__form .form-subscribe-new__input { display: block; width: 100%; height: 50px; padding: 0 16px; color: var(--vsep-graphite); background: #fff; border: 1px solid #cfd5dd; border-radius: 8px; box-sizing: border-box; }
.vsep-footer__form .form-subscribe-new__btn { min-width: 190px; height: 50px; padding: 0 24px; color: #fff; background: var(--vsep-red); border: 1px solid var(--vsep-red); border-radius: 8px; font-weight: 800; text-transform: uppercase; }
.vsep-footer__form .subscribe-new__text { grid-column: 1 / -1; margin: 0; color: var(--vsep-gray); font-size: 12px; line-height: 1.5; }
@media (max-width: 760px) { .vsep-footer__form .form-subscribe-new__row { grid-template-columns: 1fr; } .vsep-footer__form .form-subscribe-new__btn { width: 100%; } }.vsep-footer__form .form-subscribe-new { display:block!important; width:100%!important; }
.vsep-footer__form .form-subscribe-new__row { display:grid!important; width:100%!important; grid-template-columns:minmax(180px,1fr) minmax(180px,1fr) minmax(190px,auto)!important; }
.vsep-footer__form .form-subscribe-new__col,.vsep-footer__form .form-subscribe-new__col--input,.vsep-footer__form .form-subscribe-new__wrap-input { display:block!important; width:auto!important; min-width:0!important; flex:initial!important; }
.vsep-footer__form .form-subscribe-new__input { width:100%!important; min-width:0!important; }
@media(max-width:760px){.vsep-footer__form .form-subscribe-new__row{grid-template-columns:1fr!important}.vsep-footer__form .form-subscribe-new__btn{width:100%}}

/* VSEP footer catalog default reset */
.vsep-footer .vsep-footer__catalog-link { padding-left: 0; font-weight: 400; }
.vsep-footer .vsep-footer__catalog-link::before { display: none; }
.vsep-footer .vsep-footer__catalog-link.is-active { position: relative; padding-left: 15px; font-weight: 700; }
.vsep-footer .vsep-footer__catalog-link.is-active::before { display: block; }

/* VSEP footer form spacing 2026-07-17 */
.vsep-footer__form .form-subscribe-new {
  margin-bottom: 12px;
}

.vsep-footer__form .subscribe-new__text a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* VSEP lead form 2026-07-19 */
.vsep-footer__contact-strip {
  padding: 38px 0;
  background: #f6f8fb;
}

.vsep-footer__contact-panel {
  padding: 18px;
  border: 1px solid #cfd7e3;
  border-radius: 8px;
  background: #f8fafc;
}

.vsep-footer__contact-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.68fr) minmax(620px, 1.52fr);
  grid-template-areas:
    "copy form"
    "benefits form";
  align-items: center;
  gap: 20px 54px;
}

.vsep-footer__contact-copy {
  grid-area: copy;
  align-self: end;
  padding-left: 44px;
}

.vsep-footer__contact-mark {
  display: block;
  width: 38px;
  height: 4px;
  margin-bottom: 18px;
  border-radius: 2px;
  background: #ff6500;
}

.vsep-footer__contact-icon {
  display: none;
  color: var(--vsep-blue);
}

.vsep-footer__contact-copy h2 {
  margin-bottom: 8px;
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: 0;
}

.vsep-footer__contact-copy p {
  max-width: 430px;
  font-size: 15px;
  line-height: 1.45;
}

.vsep-footer__form {
  display: block !important;
  grid-area: form;
  padding: 22px 26px 18px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(14, 14, 72, 0.04);
}

.vsep-footer__form .footer-new__subscribe-wrap,
.vsep-footer__form .subscribe-new,
.vsep-footer__form .subscribe-new__form,
.vsep-footer__form .form-subscribe-new {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
}

.vsep-footer__form .form-subscribe-new__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 16px;
}

.vsep-footer__form .form-subscribe-new__field {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: var(--vsep-blue);
  font-size: 13px;
  font-weight: 700;
}

.vsep-footer__form .form-subscribe-new__input {
  display: block;
  width: 100% !important;
  min-width: 0 !important;
  height: 46px;
  padding: 0 15px;
  color: var(--vsep-graphite);
  border: 1px solid #bfc9d8;
  border-radius: 6px;
  background: #fff;
  outline: 0;
  font-size: 14px;
  font-weight: 400;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.vsep-footer__form .form-subscribe-new__input:focus {
  border-color: var(--vsep-blue);
  box-shadow: 0 0 0 3px rgba(14, 14, 72, .08);
}

.vsep-footer__form .form-subscribe-new__check {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 0 0 13px;
  color: #46526a;
  cursor: pointer;
  font-size: 13px;
  line-height: 1.4;
}

.vsep-footer__form .form-subscribe-new__check input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.vsep-footer__form .form-subscribe-new__check-box {
  position: relative;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border: 1px solid #8390a5;
  border-radius: 4px;
  background: #fff;
}

.vsep-footer__form .form-subscribe-new__check input:checked + .form-subscribe-new__check-box {
  border-color: var(--vsep-blue);
  background: var(--vsep-blue);
}

.vsep-footer__form .form-subscribe-new__check input:checked + .form-subscribe-new__check-box::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 7px;
  width: 6px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}

.vsep-footer__form .form-subscribe-new__check input:focus-visible + .form-subscribe-new__check-box {
  box-shadow: 0 0 0 3px rgba(14, 14, 72, .14);
}

.vsep-footer__form .form-subscribe-new__check a {
  color: var(--vsep-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.vsep-footer__form .form-subscribe-new__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
  min-width: 0;
  height: 48px;
  margin-top: 18px;
  padding: 0 22px;
  color: #fff;
  border: 0;
  border-radius: 6px;
  background: #ff6500;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  transition: background-color .2s ease, opacity .2s ease;
}

.vsep-footer__form .form-subscribe-new__btn:hover {
  background: #e95c00;
}

.vsep-footer__form .form-subscribe-new__btn:disabled {
  cursor: wait;
  opacity: .65;
}

.vsep-footer__form .form-subscribe-new__security {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 12px 0 0;
  color: #718096;
  font-size: 12px;
  line-height: 1.35;
}

.vsep-footer__form .form-subscribe-new__security svg {
  flex: 0 0 auto;
  color: var(--vsep-blue);
}

.vsep-footer__benefits {
  grid-area: benefits;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-self: start;
  gap: 18px 20px;
  padding: 0 0 0 44px;
}

.vsep-footer__benefit {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--vsep-blue);
  font-size: 13px;
  line-height: 1.35;
}

.vsep-footer__benefit svg {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  color: #2b5fb9;
}

.vsep-footer__contact-panel .vsep-footer__benefit:not(:nth-child(2)) svg path,
.vsep-footer__contact-panel .vsep-footer__benefit:not(:nth-child(2)) svg circle {
  stroke-width: 3.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.vsep-footer__contact-panel .vsep-footer__benefit:nth-child(2) svg {
  background: url('/local/templates/aplift/img/forklift-6.svg') center / contain no-repeat;
}

.vsep-footer__contact-panel .vsep-footer__benefit:nth-child(2) svg > * {
  display: none;
}

.vsep-footer__contact-panel .vsep-footer__benefit:nth-child(4) svg {
  background: url('/local/templates/aplift/img/vsep-delivery-truck.svg') center / contain no-repeat;
}

.vsep-footer__contact-panel .vsep-footer__benefit:nth-child(4) svg > * {
  display: none;
}

.vsep-footer__contact-panel .vsep-footer__benefit:nth-child(1) svg {
  background: url('/local/templates/aplift/img/vsep-consultation.svg?v=20260719-2') center / contain no-repeat;
}

.vsep-footer__contact-panel .vsep-footer__benefit:nth-child(1) svg > * {
  display: none;
}

@media (max-width: 1199px) {
  .vsep-footer__contact-panel {
    max-width: 920px;
    margin: 0 auto;
    padding: 30px 46px 24px;
  }

  .vsep-footer__contact-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "copy" "form" "benefits";
    gap: 24px;
  }

  .vsep-footer__contact-copy {
    padding: 0;
    text-align: center;
  }

  .vsep-footer__contact-copy p {
    max-width: 590px;
    margin-right: auto;
    margin-left: auto;
  }

  .vsep-footer__contact-mark {
    margin-right: auto;
    margin-left: auto;
  }

  .vsep-footer__benefits {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    padding: 20px 0 0;
    border-top: 1px solid #d9e0e9;
  }

  .vsep-footer__benefit {
    justify-content: center;
    padding: 0 16px;
    border-right: 1px solid #d9e0e9;
  }

  .vsep-footer__benefit:last-child {
    border-right: 0;
  }
}

@media (max-width: 767px) {
  .vsep-footer__contact-strip {
    padding: 24px 0;
  }

  .vsep-footer__contact-panel {
    padding: 18px 14px 16px;
  }

  .vsep-footer__contact-grid {
    gap: 18px;
  }

  .vsep-footer__contact-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .vsep-footer__contact-icon {
    display: block;
    margin-bottom: 8px;
  }

  .vsep-footer__contact-mark {
    width: 30px;
    height: 3px;
    margin-bottom: 10px;
  }

  .vsep-footer__contact-copy h2 {
    font-size: 23px;
  }

  .vsep-footer__contact-copy p {
    max-width: 310px;
    font-size: 13px;
  }

  .vsep-footer__form {
    padding: 0;
    box-shadow: none;
  }

  .vsep-footer__form .form-subscribe-new__fields {
    grid-template-columns: 1fr;
    gap: 13px;
    margin-bottom: 15px;
  }

  .vsep-footer__form .form-subscribe-new__input {
    height: 44px;
  }

  .vsep-footer__form .form-subscribe-new__check {
    gap: 9px;
    font-size: 12px;
  }

  .vsep-footer__form .form-subscribe-new__check-box {
    flex-basis: 20px;
    width: 20px;
    height: 20px;
  }

  .vsep-footer__form .form-subscribe-new__check input:checked + .form-subscribe-new__check-box::after {
    top: 3px;
    left: 6px;
  }

  .vsep-footer__form .form-subscribe-new__btn {
    height: 44px;
    margin-top: 14px;
  }

  .vsep-footer__form .form-subscribe-new__security {
    align-items: flex-start;
    font-size: 11px;
    text-align: left;
  }

  .vsep-footer__benefits {
    grid-template-columns: repeat(4, 1fr);
    padding-top: 14px;
  }

  .vsep-footer__benefit {
    padding: 0 8px;
  }

  .vsep-footer__benefit svg {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
  }

  .vsep-footer__benefit span {
    display: none;
  }
}
