/* Site footer (legacy cleanup step 4c-2, 08.10.2026): the footer rules of the WordPress theme bundles, identical in
   all of them, now ours. Markup: src/lib/site-footer.mjs. Mono overrides stay in mono-chrome.css. Loaded without
   blocking at the end of the head, where the deferred theme CSS used to land; scripts/prune-built-css.mjs keeps footer classes out of
   the theme CSS (isSiteFooterClass). The CTA strip that homepageFooterCta() adds to the "pages" family is
   footer__cta--mono: the theme never styled it there, so the CTA rules skip it (:where keeps the specificity). */
.footer{flex:0 0 auto}
.footer{padding:60px 0 42px;background:var(--black-color);color:var(--white-color)}
@media (min-width: 1270px){
  .footer{padding:30px 0 26px}
}
@media (min-width: 1750px){
  .footer{padding:50px 0 38px}
}
.footer__top{margin-bottom:72.5px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:42px}
@media (min-width: 1270px){
  .footer__top{margin-bottom:80px;flex-direction:row;gap:132px}
}
@media (min-width: 1750px){
  .footer__top{margin-bottom:117.5px;gap:297px}
}
.footer__subtitle{margin-bottom:20px;font-weight:500;font-size:18px;display:inline-block}
.footer__subtitle:last-child{margin-bottom:0}
@media (min-width: 1270px){
  .footer__subtitle{font-size:24px}
}
@media (min-width: 1750px){
  .footer__subtitle{font-size:32px}
}
.footer__cta:where(:not(.footer__cta--mono)){padding:75px 25px;display:flex;flex-direction:column;align-items:center;gap:30px;text-align:center;position:relative;border:1.2px solid var(--stroke-grey-color);--size: 20px}
.footer__cta:where(:not(.footer__cta--mono)):after{content:"";position:absolute;left:calc(-1 * var(--size) / 2);top:calc(-1 * var(--size) / 2);width:calc(100% + var(--size));height:calc(100% + var(--size));display:block;pointer-events:none;background:url(/migration-theme/img/icons/plus-white.svg) no-repeat 0 0/var(--size),url(/migration-theme/img/icons/plus-white.svg) no-repeat 100% 0/var(--size),url(/migration-theme/img/icons/plus-white.svg) no-repeat 0 100%/var(--size),url(/migration-theme/img/icons/plus-white.svg) no-repeat 100% 100%/var(--size)}
.footer__cta:where(:not(.footer__cta--mono)) h2{font-size:28px;line-height:1.2}
.footer__cta:where(:not(.footer__cta--mono)) p{font-size:14px}
@media (min-width: 1270px){
  .footer__cta:where(:not(.footer__cta--mono)){margin-top:43px;max-width:736px;padding:63px 80px}
  .footer__cta:where(:not(.footer__cta--mono)) h2{font-size:48px}
  .footer__cta:where(:not(.footer__cta--mono)) p{font-size:16px}
}
@media (min-width: 1750px){
  .footer__cta:where(:not(.footer__cta--mono)){margin-top:32px;max-width:886px;padding:87px 60px}
  .footer__cta:where(:not(.footer__cta--mono)) h2{font-size:64px}
  .footer__cta:where(:not(.footer__cta--mono)) p{font-size:18px}
}
@media (min-width: 1270px){
  .footer__links{display:grid;grid-template-columns:repeat(2,1fr);grid-gap:30px 83px}
}
.footer__links-item{border-top:1px solid var(--stroke-grey-color);padding:20px 0}
.footer__links-item.active .footer-links__btn:after{transform:rotate(180deg)}
@media (min-width: 1270px){
  .footer__links-item:first-of-type .footer-links__item{-moz-column-count:3;column-count:3;-moz-column-gap:40px;column-gap:40px}
  .footer__links-item:first-of-type .footer-links__subitem:nth-child(3),.footer__links-item:first-of-type .footer-links__subitem:nth-child(6){margin-top:0;-moz-column-break-before:column;break-before:column}
  .footer__links-item:first-of-type .footer-links__subitem:last-child{margin-top:0;-moz-column-break-before:column;break-before:column}
  .footer__links-item:nth-of-type(2) .footer-links__item{-moz-column-count:2;column-count:2;-moz-column-gap:40px;column-gap:40px}
  .footer__links-item:nth-of-type(2) .footer-links__subitem:nth-child(3){margin-top:0;-moz-column-break-before:column;break-before:column}
}
.footer-links__btn{display:inline-block;margin:0;padding:0;border:none;font-family:inherit;white-space:nowrap;text-decoration:none;text-align:center;background:transparent;color:var(--white-color);cursor:pointer;display:flex;align-items:center;gap:5px;font-weight:500;font-size:18px}
.footer-links__btn:disabled{cursor:default}
.footer-links__btn:after{content:"";flex:0 0 auto;width:24px;height:24px;background-image:url(/migration-theme/img/icons/arrow-down-menu.svg);background-repeat:no-repeat;background-size:contain;background-position:center;transition:transform .3s ease}
@media (min-width: 1270px){
  .footer-links__btn{font-size:24px;gap:4px}
}
@media (min-width: 1750px){
  .footer-links__btn{font-size:32px}
}
.footer-links__item-overflow{max-height:0;transition:max-height .3s ease-in-out;overflow:hidden}
.footer-links__item{margin-top:40px}
.footer-links__subitem:not(:first-child){margin-top:40px}
.footer-links__subitem ul{display:flex;flex-direction:column;gap:15px}
.footer-links__subitem ul a{font-size:16px;color:var(--text-light-grey-color)}
@media (min-width: 1270px){
  .footer-links__subitem.horizontal{margin-top:15px}
  .footer-links__subitem.horizontal ul{flex-direction:row;gap:20px}
}
.footer__contacts{margin-top:50px;margin-bottom:60px;display:flex;flex-direction:column;gap:50px}
@media (min-width: 1270px){
  .footer__contacts{display:grid;grid-template-columns:repeat(2,1fr);grid-gap:83px}
}
.footer__bottom{display:flex;flex-direction:column;align-items:center;gap:15px}
@media (min-width: 1270px){
  .footer__bottom{flex-direction:row;justify-content:space-between;-moz-column-gap:clamp(24px,3vw,56px);column-gap:clamp(24px,3vw,56px)}
}
.footer__copy{display:flex;align-items:center;gap:10px;font-size:12px;color:var(--white-color)}
@media (min-width: 1270px){
  .footer__copy{font-weight:500}
}
@media (min-width: 1750px){
  .footer__copy{font-size:14px}
}
.footer__bottom-links{display:flex;align-items:center;flex-wrap:wrap}
@media (min-width: 1270px){
  .footer__bottom-links{flex-wrap:nowrap;flex-shrink:0}
  .footer__bottom-links a{white-space:nowrap}
}
.footer__bottom-links li{display:flex;align-items:center}
.footer__bottom-links li:not(:last-child):after{content:"";margin:0 15px;height:20px;display:block;border-left:1px solid var(--text-grey-color)}
.footer__bottom-links a{font-size:14px;text-decoration:underline;color:var(--white-color);transition:color .3s ease}
@media (min-width: 1270px){
  .footer__bottom-links a:active,.footer__bottom-links a:hover{color:var(--white-color)}
}
.footer-lang{position:relative;display:flex;justify-content:center}
@media (min-width: 1270px){
  .footer-lang{justify-content:flex-start}
}
.footer-lang__toggle{display:inline-block;margin:0;padding:0;border:none;font-family:inherit;white-space:nowrap;text-decoration:none;text-align:center;background:transparent;color:var(--white-color);cursor:pointer;display:inline-flex;align-items:center;gap:9px;font-size:14px;color:var(--text-light-grey-color);transition:color .3s ease}
.footer-lang__toggle:disabled{cursor:default}
.footer-lang__toggle:hover{color:var(--white-color)}
.footer-lang__caret{flex:0 0 auto;transition:transform .25s ease}
.footer-lang.is-open .footer-lang__caret{transform:rotate(180deg)}
.footer-lang__panel{position:absolute;left:50%;transform:translate(-50%,6px);bottom:calc(100% + 12px);min-width:230px;background:var(--black-color);border:1px solid var(--grey-600-color);border-radius:2px;padding:6px;opacity:0;visibility:hidden;transition:opacity .16s ease,transform .16s ease,visibility .16s ease;z-index:var(--z-index-dropdown)}
@media (min-width: 1270px){
  .footer-lang__panel{left:0;transform:translateY(6px)}
}
.footer-lang.is-open .footer-lang__panel{opacity:1;visibility:visible;transform:translate(-50%)}
@media (min-width: 1270px){
  .footer-lang.is-open .footer-lang__panel{transform:translate(0)}
}
.footer-lang__panel ul{display:flex;flex-direction:column;gap:1px}
.footer-lang__opt{display:flex;align-items:center;gap:12px;padding:9px 10px;border-radius:2px;text-decoration:none;transition:background-color .15s ease}
.footer-lang__opt:hover{background:var(--fill-dark-color)}
.footer-lang__opt.is-current{background:var(--accent-color)}
.footer-lang__flag{width:26px;height:17px;flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;overflow:hidden;border:.5px solid var(--grey-600-color);border-radius:2px}
.footer-lang__flag svg{display:block;width:100%;height:100%}
.footer-lang__flag--globe{background:var(--fill-dark-color);color:var(--text-light-grey-color)}
.footer-lang__flag--globe svg{width:14px;height:14px}
.footer-lang__txt{display:flex;flex-direction:column;line-height:1.25;margin-right:auto}
.footer-lang__txt strong{font-weight:500;font-size:14px;color:var(--white-color)}
.footer-lang__txt span{font-size:13px;color:var(--text-light-grey-color)}
.footer-lang__check{width:16px;height:16px;flex:0 0 auto;color:var(--white-color);opacity:0}
.footer-lang__opt.is-current .footer-lang__check{opacity:1}
.footer-lang__opt.is-current .footer-lang__txt span{color:#ffffffd9}
