/* Общая шапка и футер: единый вид со страницей главной. */
:is(.btn, [class*="-button"], [class*="-cta"], [class*="__cta"]) {
  white-space: nowrap;
}

.site-footer > .frame {
  width: min(1288px, 100%);
  margin: 0 auto;
}

/* Единая ширина текстового контейнера на всех внутренних страницах. */
:is(.frame, .container, .selection-frame, .catalog-layout) {
  width: min(1288px, calc(100vw - 48px)) !important;
  margin-inline: auto !important;
}

@media (min-width: 1101px) {
  :is(
    .catalog-header__inner,
    .site-header .header-wrap,
    .detail-header,
    .article-header,
    .news-header,
    .contact-header,
    .reviews-header,
    .rent-header,
    .trade-header,
    .installment-header
  ) {
    width: min(1780px, calc(100vw - 140px)) !important;
    max-width: none !important;
    margin-inline: auto !important;
  }

  /* Левые hero-блоки начинаются на одной линии с главной страницей. */
  :is(.installment-hero__copy, .trade-hero__copy) {
    left: 76px !important;
    top: 30px !important;
  }
  .catalog-hero__inner,
  .news-hero {
    padding-left: 76px !important;
    padding-top: 30px !important;
  }

  /* Keep the first line of each internal hero level with the shared header. */
  .page-hero {
    padding-top: 30px !important;
  }
  .error-hero__frame {
    padding-top: 30px !important;
  }
  .rent-hero__copy {
    top: 30px !important;
  }
  .reviews-hero__copy > p {
    top: 30px !important;
  }
  .contact-kicker {
    top: 30px !important;
  }
}

/* Keep internal page hero titles compact. The homepage does not load this
   stylesheet. */
@media (min-width: 1101px) {
  body:not(.home) main :is(
    .catalog-hero h1,
    .installment-hero h1,
    .rent-hero h1,
    .trade-hero h1,
    .selection-hero h1,
    .news-hero h1,
    .reviews-hero h1,
    .contact-copy h1,
    .page-hero h1,
    .error-hero h1,
    .detail-info h1,
    .article-intro h1
  ) {
    font-size: clamp(38px, 2.9vw, 42px) !important;
    line-height: 1.08 !important;
  }
}

@media (min-width: 701px) and (max-width: 1100px) {
  body:not(.home) main :is(
    .catalog-hero h1,
    .installment-hero h1,
    .rent-hero h1,
    .trade-hero h1,
    .selection-hero h1,
    .news-hero h1,
    .reviews-hero h1,
    .contact-copy h1,
    .page-hero h1,
    .error-hero h1,
    .detail-info h1,
    .article-intro h1
  ) {
    font-size: 38px !important;
    line-height: 1.08 !important;
  }
}

@media (min-width: 701px) {
  body:not(.home) main :is(
    .catalog-hero p,
    .installment-hero__lead,
    .rent-hero__copy > p:not(.rent-kicker),
    .trade-hero__lead,
    .selection-hero__lead,
    .news-hero__lead,
    .reviews-hero__copy > span,
    .contact-copy__lead,
    .page-hero .lead,
    .error-hero__lead,
    .article-intro > p
  ) {
    font-size: 16px !important;
    line-height: 1.65 !important;
  }

  body:not(.home) main :is(
    .catalog-hero p,
    .installment-hero__lead,
    .rent-hero__copy > p:not(.rent-kicker),
    .trade-hero__lead,
    .selection-hero__lead,
    .news-hero__lead,
    .page-hero .lead
  ) {
    margin-top: 24px !important;
  }
}

@media (max-width: 1100px) {
  :is(
    .catalog-header__inner,
    .site-header .header-wrap,
    .detail-header,
    .article-header,
    .news-header,
    .contact-header,
    .reviews-header,
    .rent-header,
    .trade-header,
    .installment-header
  ) {
    width: calc(100% - 32px) !important;
    max-width: none !important;
    margin-inline: auto !important;
    padding-inline: 0 !important;
  }
}

/* Sticky header is shared by all page-specific header variants. */
:is(
  .site-header,
  .catalog-header,
  .detail-header,
  .article-header,
  .news-header,
  .contact-header,
  .reviews-header,
  .rent-header,
  .trade-header,
  .installment-header
) {
  position: sticky !important;
  top: 0;
}
:is(
  .site-header,
  .catalog-header,
  .detail-header,
  .article-header,
  .news-header,
  .contact-header,
  .reviews-header,
  .rent-header,
  .trade-header,
  .installment-header
) {
  position: sticky;
  top: 0;
  z-index: 20;
  box-sizing: border-box;
  height: 85px;
  border-bottom: 1px solid rgba(14, 26, 43, 0.08);
  background: #fff;
}
:is(
  .catalog-header__inner,
  .site-header .header-wrap,
  .detail-header,
  .article-header,
  .news-header,
  .contact-header,
  .reviews-header,
  .rent-header,
  .trade-header,
  .installment-header
) {
  display: flex;
  box-sizing: border-box;
  width: 1300px;
  height: 85px;
  align-items: center;
  margin: 0 auto;
}
:is(.site-header .brand, .catalog-brand, a[class$="-brand"]) {
  position: static;
  display: block;
  width: 75px;
  height: 75px;
  flex: none;
  margin: 0 38px 0 0;
}
:is(.site-header .brand, .catalog-brand, a[class$="-brand"]) img {
  display: block;
  width: 72px;
  height: 72px;
  object-fit: contain;
  transform: translate(-2px, -2px);
}
:is(.site-header .main-nav, nav[class$="-nav"]) {
  display: flex;
  width: auto;
  align-items: center;
  gap: 34px;
  margin: 0 auto 0 0;
}
.site-header .main-nav::after,
.site-header .header-location::before,
.site-header .header-phone::before {
  display: none;
  content: none;
}
:is(.site-header .main-nav, nav[class$="-nav"]) a {
  font-family: Montserrat, Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 21px;
  white-space: nowrap;
}
:is(.site-header .main-nav, nav[class$="-nav"]) a:hover,
:is(.site-header .main-nav, nav[class$="-nav"]) a:focus-visible {
  color: #d91f2a;
}
:is(.site-header .header-actions, div[class$="-header__actions"]) {
  position: static;
  display: flex;
  width: auto;
  height: 50px;
  align-items: center;
  gap: 18px;
  margin: 0;
}

.header-socials {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header-socials a {
  display: flex;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 50%;
  transition:
    transform 0.18s ease,
    opacity 0.18s ease;
}
.header-socials a:hover,
.header-socials a:focus-visible {
  opacity: 0.92;
  transform: translateY(-1px);
}
.header-socials img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
:is(
    .site-header,
    .catalog-header,
    .detail-header,
    .article-header,
    .news-header,
    .contact-header,
    .reviews-header,
    .rent-header,
    .trade-header,
    .installment-header
  )
  :is([class$="-location"], [class$="-phone"]) {
  display: flex;
  width: auto;
  height: auto;
  align-items: center;
  gap: 8px;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  white-space: nowrap;
}
:is(
    .site-header,
    .catalog-header,
    .detail-header,
    .article-header,
    .news-header,
    .contact-header,
    .reviews-header,
    .rent-header,
    .trade-header,
    .installment-header
  )
  [class$="-phone"] {
  font-size: 16px;
}
:is(
    .site-header,
    .catalog-header,
    .detail-header,
    .article-header,
    .news-header,
    .contact-header,
    .reviews-header,
    .rent-header,
    .trade-header,
    .installment-header
  )
  :is([class$="-location"], [class$="-phone"])
  img {
  width: 19px;
  height: 19px;
}
:is(.site-header .header-cta, a[class$="-header__cta"]) {
  display: flex;
  width: 213px;
  height: 50px;
  flex: none;
  align-items: center;
  justify-content: center;
  background: #d91f2a;
  color: #fff;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.96px;
  text-transform: uppercase;
  transition: background 0.18s;
}
:is(.site-header .header-cta, a[class$="-header__cta"]):hover,
:is(.site-header .header-cta, a[class$="-header__cta"]):focus-visible {
  background: #b91822;
}
@media (min-width: 1101px) and (max-width: 1350px) {
  :is(.site-header .brand, .catalog-brand, a[class$="-brand"]) {
    margin-right: 20px;
  }
  :is(.site-header .main-nav, nav[class$="-nav"]) {
    gap: 20px;
  }
  :is(
      .site-header,
      .catalog-header,
      .detail-header,
      .article-header,
      .news-header,
      .contact-header,
      .reviews-header,
      .rent-header,
      .trade-header,
      .installment-header
    )
    [class$="-location"] {
    display: none;
  }
  :is(.site-header .header-cta, a[class$="-header__cta"]) {
    width: 180px;
  }
}

:is(
  .site-footer,
  .catalog-footer,
  .detail-footer,
  .article-footer,
  .news-footer,
  .contact-footer,
  .reviews-footer,
  .rent-footer,
  .trade-footer,
  .installment-footer
) {
  box-sizing: border-box;
  height: 458px;
  padding: 65px max(16px, calc((100% - 1300px) / 2)) 30px;
  background: #081425;
  color: #fff;
}
:is(
  .footer-grid,
  .catalog-footer__grid,
  .detail-footer__grid,
  .article-footer__grid,
  .news-footer__grid,
  .contact-footer__grid,
  .reviews-footer__grid,
  .rent-footer__grid,
  .trade-footer__grid,
  .installment-footer__grid
) {
  display: grid;
  box-sizing: border-box;
  width: 100%;
  height: 250px;
  grid-template-columns: 344px repeat(3, minmax(0, 1fr));
  gap: 50px;
  margin: 0 auto;
}
:is(.footer-brand, [class$="-footer__brand"]) > :first-child {
  display: block;
  width: 74px;
  height: 72px;
}
:is(.footer-brand, [class$="-footer__brand"]) > :first-child img,
.footer-brand > img {
  width: 74px;
  height: 72px;
  object-fit: contain;
}
:is(.footer-brand, [class$="-footer__brand"]) p {
  width: 230px;
  margin: 20px 0 13px;
  color: #aab2bf;
  font-size: 12px;
  line-height: 21px;
}
:is(.footer-brand, [class$="-footer__brand"]) > a:not(:first-child) {
  display: inline;
  font-size: 16px;
  font-weight: 700;
}
:is(
    .site-footer,
    .catalog-footer,
    .detail-footer,
    .article-footer,
    .news-footer,
    .contact-footer,
    .reviews-footer,
    .rent-footer,
    .trade-footer,
    .installment-footer
  )
  :is(.footer-social, [class$="-socials"], [class$="-footer__socials"]) {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.footer-social__label {
  flex: 0 0 100%;
  margin: 0 0 2px;
  color: #aab2bf;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
}
:is(
    .site-footer,
    .catalog-footer,
    .detail-footer,
    .article-footer,
    .news-footer,
    .contact-footer,
    .reviews-footer,
    .rent-footer,
    .trade-footer,
    .installment-footer
  )
  :is(.footer-social, [class$="-socials"], [class$="-footer__socials"])
  a {
  display: flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 0;
  background: #137bd6;
  overflow: hidden;
}
:is(
    .site-footer,
    .catalog-footer,
    .detail-footer,
    .article-footer,
    .news-footer,
    .contact-footer,
    .reviews-footer,
    .rent-footer,
    .trade-footer,
    .installment-footer
  )
  :is(.footer-social, [class$="-socials"], [class$="-footer__socials"])
  img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
:is(
    .footer-grid,
    .catalog-footer__grid,
    .detail-footer__grid,
    .article-footer__grid,
    .news-footer__grid,
    .contact-footer__grid,
    .reviews-footer__grid,
    .rent-footer__grid,
    .trade-footer__grid,
    .installment-footer__grid
  )
  > div:not(:first-child):not([class$="-footer__bottom"]) {
  display: flex;
  flex-direction: column;
}
:is(
    .footer-grid,
    .catalog-footer__grid,
    .detail-footer__grid,
    .article-footer__grid,
    .news-footer__grid,
    .contact-footer__grid,
    .reviews-footer__grid,
    .rent-footer__grid,
    .trade-footer__grid,
    .installment-footer__grid
  )
  h3 {
  margin: 0 0 13px;
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
:is(
    .footer-grid,
    .catalog-footer__grid,
    .detail-footer__grid,
    .article-footer__grid,
    .news-footer__grid,
    .contact-footer__grid,
    .reviews-footer__grid,
    .rent-footer__grid,
    .trade-footer__grid,
    .installment-footer__grid
  )
  > div:not(:first-child):not([class$="-footer__bottom"])
  :is(a, button) {
  margin: 5px 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #aab2bf;
  font-family: inherit;
  font-size: 11px;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
}
:is(
    .footer-grid,
    .catalog-footer__grid,
    .detail-footer__grid,
    .article-footer__grid,
    .news-footer__grid,
    .contact-footer__grid,
    .reviews-footer__grid,
    .rent-footer__grid,
    .trade-footer__grid,
    .installment-footer__grid
  )
  > div:not(:first-child):not([class$="-footer__bottom"])
  :is(a, button):hover,
:is(
    .footer-grid,
    .catalog-footer__grid,
    .detail-footer__grid,
    .article-footer__grid,
    .news-footer__grid,
    .contact-footer__grid,
    .reviews-footer__grid,
    .rent-footer__grid,
    .trade-footer__grid,
    .installment-footer__grid
  )
  > div:not(:first-child):not([class$="-footer__bottom"])
  :is(a, button):focus-visible {
  color: #fff;
}
:is(.footer-bottom, [class$="-footer__bottom"]) {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: minmax(190px, 300px) minmax(0, 1fr) 225px;
  gap: 24px;
  margin: 50px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #8d96a3;
  font-size: 10px;
}
:is(.footer-bottom, [class$="-footer__bottom"]) p {
  margin: 0;
}
:is(.footer-bottom, [class$="-footer__bottom"]) > p:nth-child(2) {
  width: auto;
  max-width: 680px;
  font-size: 10px;
  line-height: 15px;
}
.footer-disclaimer {
  max-width: 900px;
  margin: 14px 0 0;
  color: #8d96a3;
  font-size: 10px;
  line-height: 15px;
}
.footer-credit {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 11px;
  color: #aab2bf;
  font-size: 10px;
  line-height: 15px;
}
.footer-credit span {
  max-width: 180px;
}
.footer-credit a {
  color: inherit;
  text-decoration: none;
}
.footer-credit a:hover,
.footer-credit a:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-credit img {
  width: 19px;
  height: 39px;
  flex: none;
}
.footer-coverage p {
  margin: 5px 0;
  color: #aab2bf;
  font-size: 11px;
  line-height: 15px;
}

@media (max-width: 1100px) {
  :is(
    .site-header,
    .catalog-header,
    .detail-header,
    .article-header,
    .news-header,
    .contact-header,
    .reviews-header,
    .rent-header,
    .trade-header,
    .installment-header
  ) {
    position: sticky;
    top: 0;
    height: 68px;
  }
  :is(
    .catalog-header__inner,
    .site-header .header-wrap,
    .detail-header,
    .article-header,
    .news-header,
    .contact-header,
    .reviews-header,
    .rent-header,
    .trade-header,
    .installment-header
  ) {
    width: 100%;
    height: 68px;
    padding: 0 16px;
  }
  :is(.site-header .brand, .catalog-brand, a[class$="-brand"]) {
    width: 82px;
    height: 52px;
    margin: 0;
  }
  .site-header .brand img,
  :is(.catalog-brand, a[class$="-brand"]) img {
    width: 62px;
    height: 62px;
    transform: none;
  }
  :is(
    .site-header .main-nav,
    nav[class$="-nav"],
    .site-header .header-actions,
    div[class$="-header__actions"]
  ) {
    display: none;
  }
  .menu-toggle {
    display: block !important;
    width: 42px;
    height: 42px;
    margin-left: auto;
    padding: 0;
    border: 0;
    background: transparent;
  }
  .menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    margin: 5px auto;
    background: #0e1a2b;
  }
  .mobile-panel {
    position: fixed;
    top: 68px;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 19;
    display: block;
    padding: 32px 24px;
    background: #0e1a2b;
    color: #fff;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s;
  }
  .mobile-panel.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .mobile-panel nav {
    display: grid;
    gap: 20px;
    font-family: Montserrat, Arial, sans-serif;
    font-size: 25px;
    font-weight: 700;
  }
  .mobile-panel__footer {
    margin-top: 45px;
    color: #aab2bf;
  }
  :is(
    .site-footer,
    .catalog-footer,
    .detail-footer,
    .article-footer,
    .news-footer,
    .contact-footer,
    .reviews-footer,
    .rent-footer,
    .trade-footer,
    .installment-footer
  ) {
    height: auto;
    padding: 55px 24px 28px;
  }
  :is(
    .footer-grid,
    .catalog-footer__grid,
    .detail-footer__grid,
    .article-footer__grid,
    .news-footer__grid,
    .contact-footer__grid,
    .reviews-footer__grid,
    .rent-footer__grid,
    .trade-footer__grid,
    .installment-footer__grid
  ) {
    height: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: auto;
    gap: 38px 24px;
  }
  .footer-brand,
  :is([class$="-footer__brand"]) {
    grid-column: 1/-1;
  }
  .footer-bottom,
  :is([class$="-footer__bottom"]) {
    height: auto;
    grid-column: 1/-1;
    grid-template-columns: minmax(150px, 0.6fr) minmax(0, 1fr) 215px;
    margin-top: 0;
  }
}
@media (max-width: 700px) {
  :is(
    .footer-grid,
    .catalog-footer__grid,
    .detail-footer__grid,
    .article-footer__grid,
    .news-footer__grid,
    .contact-footer__grid,
    .reviews-footer__grid,
    .rent-footer__grid,
    .trade-footer__grid,
    .installment-footer__grid
  ) {
    grid-template-columns: 1fr 1fr;
  }
  .footer-bottom,
  :is([class$="-footer__bottom"]) {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .footer-credit {
    justify-self: start;
    margin-top: 4px;
  }
  .footer-credit span {
    max-width: 160px;
  }
}

@media (min-width: 768px) and (max-width: 1100px) {
  .site-footer {
    padding: 55px 0 25px;
  }
  .site-footer > .frame {
    width: calc(100% - 32px);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 35px 20px;
  }
  .footer-brand {
    grid-column: span 2;
  }
  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 35px;
  }
}

@media (max-width: 767px) {
  .site-header {
    position: relative;
    height: 72px;
  }
  .site-header .header-wrap {
    width: 100%;
    height: 72px;
    padding: 0;
  }
  .site-header .brand {
    position: absolute;
    top: 6.5px;
    left: 18px;
    width: 58px;
    height: 58px;
  }
  .site-header .brand img {
    width: 58px;
    height: 58px;
  }
  .menu-toggle {
    position: absolute;
    top: 15px;
    right: 18px;
    display: grid !important;
    margin: 0;
    place-content: center;
  }
  .menu-toggle span {
    width: 24px;
    margin: 3px auto;
  }
  .mobile-panel {
    top: 72px;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 32px 27px 56px;
  }

  body.menu-open {
    overflow: hidden;
  }

  .mobile-panel nav {
    gap: 11px;
    font-family: Montserrat, Arial, sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 25px;
  }

  .mobile-panel__footer {
    margin-top: auto;
    color: #fff;
  }

  .mobile-panel__social-copy {
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    line-height: 17px;
    text-transform: uppercase;
  }

  .mobile-panel__socials {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 6px;
    margin-top: 14px;
  }

  .mobile-panel__socials a {
    display: flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    background: #fff;
  }

  .mobile-panel__socials img {
    width: 40px;
    height: 40px;
    object-fit: cover;
  }

  .site-footer {
    position: relative;
    height: 1190px;
    padding: 0;
    background: #09121f;
  }
  .site-footer > .frame {
    position: relative;
    width: calc(100% - 48px);
    height: 100%;
    margin: 0 24px;
  }
  .footer-grid {
    position: static;
    display: block;
  }
  .footer-brand {
    position: absolute;
    top: 65px;
    left: 0;
    width: 100%;
  }
  .footer-brand > img {
    width: 58px;
    height: 58px;
  }
  .footer-brand > p {
    width: min(296px, 100%);
    margin: 24px 0 10px;
    font-size: 14px;
    line-height: 24px;
  }
  .footer-brand > a {
    font-size: 17px;
    line-height: 23px;
  }
  .footer-social {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
  }
  .footer-social a {
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    background: #137bd6;
  }
  .footer-social img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .footer-grid > div:nth-child(2) {
    position: absolute;
    top: 370px;
    left: 0;
  }
  .footer-grid > div:nth-child(3) {
    position: absolute;
    top: 563px;
    left: 0;
  }
  .footer-grid > div:nth-child(4) {
    position: absolute;
    top: 850px;
    left: 0;
    display: flex;
  }
  .footer-grid h3 {
    margin: 0 0 17px;
    color: #fff;
    font-size: 12px;
    line-height: 16px;
  }
  .footer-grid > div:not(:first-child) > a {
    margin: 0 0 11px;
    color: #7e8997;
    font-size: 12px;
    line-height: 19px;
  }
  .footer-bottom {
    position: absolute;
    top: 925px;
    left: 0;
    display: block;
    width: 100%;
    height: 174px;
    margin: 0;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    font-size: 11px;
    line-height: 17px;
  }
  .footer-bottom > p:nth-child(2) {
    width: min(333px, 100%);
    margin-top: 42px;
    font-size: 14px;
    line-height: 24px;
  }
  .footer-credit {
    position: absolute;
    top: 180px;
    left: 0;
    justify-self: start;
    margin: 0;
    font-size: 11px;
    line-height: 16px;
  }
}

/* The mobile-menu icon uses a shared centre for both diagonal strokes.
   This stays last so page-specific burger spacing cannot skew the close icon. */
@media (max-width: 1100px) {
  .menu-toggle span {
    position: absolute;
    left: 50%;
    width: 24px;
    height: 2px;
    margin: 0;
    transform: translateX(-50%);
    transform-origin: center;
    transition:
      transform 0.2s ease,
      opacity 0.2s ease;
  }

  .menu-toggle span:first-child {
    top: calc(50% - 8px);
  }
  .menu-toggle span:nth-child(2) {
    top: 50%;
  }
  .menu-toggle span:last-child {
    top: calc(50% + 8px);
  }

  .menu-open .menu-toggle span:first-child {
    transform: translate(-50%, 8px) rotate(45deg);
  }

  .menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .menu-open .menu-toggle span:last-child {
    transform: translate(-50%, -8px) rotate(-45deg);
  }
}

/* Header socials stay visible next to the burger on tablet and mobile. */
@media (max-width: 1100px) {
  .site-header .header-actions {
    position: absolute;
    top: calc(50% - 16px);
    right: 70px;
    display: flex !important;
    width: auto;
    height: 32px;
    margin: 0;
    gap: 0;
    transform: none !important;
  }
  .site-header .header-actions > :not(.header-socials) {
    display: none !important;
  }
}

.lead-field-error {
  display: block;
  margin-top: 6px;
  color: #d91f2a;
  font-size: 12px;
  line-height: 1.4;
}
.lead-field-error[hidden] {
  display: none !important;
}
