.footer{
  position:relative;
  margin-top:70px;
  padding:68px 0 26px;
  border-top:1px solid rgba(214,178,92,.12);
  background:
    radial-gradient(
      ellipse at 50% 0%,
      rgba(214,178,92,.055),
      transparent 42%
    ),
    linear-gradient(
      180deg,
      #0a0a0d 0%,
      #060609 100%
    );
  color:#777786;
  font-size:12px;
  overflow:hidden;
}

.footer .container{
  width:min(1400px,94%);
  margin:0 auto;
}

.footer-top{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:40px;
  padding-bottom:38px;
  position:relative;
}
.footer-top::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(214,178,92,.30),transparent);
}

.footer-brand{
  color:#fff;
  text-decoration:none;
  font-size:25px;
  line-height:1;
  font-weight:950;
  letter-spacing:-1px;
}

.footer-brand span{
  color:#d8b45a;
}

.footer-description{
  max-width:430px;
  margin:0;
  color:#72727d;
  font-size:12px;
  line-height:1.65;
  text-align:right;
}

.footer-navigation{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:30px;
  padding:38px 0;
  position:relative;
}
.footer-navigation::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(214,178,92,.30),transparent);
}

.footer-column-title{
  margin-bottom:15px;
  color:#d8b45a;
  font-size:9px;
  font-weight:900;
  letter-spacing:1.8px;
}

.footer-links{
  display:grid;
  gap:9px;
}

.footer-links a{
  width:max-content;
  max-width:100%;
  color:#767680;
  text-decoration:none;
  font-size:11px;
  line-height:1.4;
  transition:
    color .22s ease,
    transform .22s ease;
}

.footer-links a:hover{
  color:#fff;
  transform:translateX(3px);
}

.footer-bottom-row{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:30px;
  padding-top:24px;
}

.footer-copyright{
  color:#666670;
  font-size:9px;
  line-height:1.5;
}

.footer-copyright strong{
  color:#a7a7b0;
}

.footer-copyright span{
  margin-left:5px;
}

.footer-legal-links{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:10px 17px;
}

.footer-legal-links a{
  white-space:nowrap;
  flex-shrink:0;

  color:#595961;
  text-decoration:none;
  font-size:8px;
  transition:color .2s ease;
}

.footer-legal-links a:hover{
  color:#d8b45a;
}

@media(max-width:760px){
  .footer{
    margin-top:45px;
    padding:48px 0 26px;
  }

  .footer .container{
    width:calc(100% - 28px);
  }

  .footer-top{
    display:block;
    padding-bottom:18px;
    border-bottom:none;
    position:relative;
  }
  .footer-top::after{
    content:"";
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    height:1px;
    background:linear-gradient(90deg,transparent,rgba(214,178,92,.30),transparent);
  }

  .footer-brand{
    display:block;
    text-align:center;
    font-size:19px;
    letter-spacing:-.8px;
  }

  .footer-description{
    max-width:none;
    margin-left:auto;
    margin-right:auto;
    margin-top:8px;
    text-align:center;
    font-size:clamp(6.5px,1.9vw,9px);
    line-height:1.5;
    white-space:nowrap;
  }

  .footer-navigation{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:6px 10px;
    padding:24px 0;
    border-bottom:none;
    position:relative;
  }
  .footer-navigation::after{
    content:"";
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    height:1px;
    background:linear-gradient(90deg,transparent,rgba(214,178,92,.30),transparent);
  }
  .footer-navigation .footer-column:nth-child(-n+2){
    border-bottom:none;
    padding-bottom:24px;
    position:relative;
  }
  .footer-navigation .footer-column:nth-child(-n+2)::after{
    content:"";
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    height:1px;
    background:linear-gradient(90deg,transparent,rgba(214,178,92,.22),transparent);
  }

  .footer-column-title{
    margin-bottom:12px;
    text-align:center;
    font-size:8px;
    letter-spacing:1.5px;
  }

  .footer-links{
    gap:8px;
    justify-items:center;
  }

  .footer-links a{
    width:auto;
    font-size:10px;
    line-height:1.45;
  }

  .footer-bottom-row{
    display:block;
    padding-top:20px;
  }

  .footer-copyright{
    text-align:center;
    font-size:8px;
    line-height:1.6;
  }

  .footer-copyright span{
    display:inline;
    margin-left:5px;
  }

  .footer-legal-links{
    justify-content:center;
    flex-wrap:nowrap;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    gap:6px 8px;
    margin-top:10px;
  }

  .footer-legal-links a{
    white-space:nowrap;
    flex-shrink:0;
    font-size:6.5px;
    line-height:1.4;
  }
}

@media(max-width:430px){
  .footer{
    padding-left:0;
    padding-right:0;
  }

  .footer-navigation{
    gap:6px 10px;
  }

  .footer-links a{
    font-size:10px;
  }

  .footer-legal-links{
    gap:6px 10px;
  }
}

/* mobile legal links: одна строка без скроллбара */
@media(max-width:760px){
  .footer-legal-links{
    gap:6px;
    scrollbar-width:none;
  }
  .footer-legal-links::-webkit-scrollbar{
    display:none;
  }
  .footer-legal-links a{
    font-size:6px;
    letter-spacing:0;
  }
}

/* desktop: описание в одну строку справа, блок ниже */
@media(min-width:761px){
  .footer-description{
    margin:0;
    text-align:right;
    white-space:nowrap;
    font-size:12px;
    line-height:1.3;
  }
  .footer-top{
    padding-top:14px;
    padding-bottom:8px;
  }
}

/* desktop: логотип и описание на одной линии */
@media(min-width:761px){
  .footer-top{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
  }
}

/* safety: описание не вылезает за край на узких ПК-окнах */
@media(min-width:761px){
  .footer-description{
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
  }
}
@media(min-width:761px) and (max-width:1150px){
  .footer-description{
    font-size:10px;
  }
}

/* финальная полировка верхнего блока футера (ПК) */
@media(min-width:761px){
  .footer{
    padding-top:34px;
  }
  .footer-top{
    padding-top:0;
    padding-bottom:16px;
  }
}
@media(min-width:761px) and (max-width:1150px){
  .footer-description{
    font-size:10px;
    letter-spacing:0;
  }
}

/* надпись целиком и сдвинута от правого края */
@media(min-width:761px){
  .footer-description{
    font-size:clamp(9px, 1.05vw, 12px);
    letter-spacing:0;
    padding-right:10px;
  }
}

/* mobile: компактный верх футера */
@media(max-width:760px){
  .footer{
    padding-top:26px;
  }
  .footer-top{
    padding-top:0;
    padding-bottom:12px;
  }
  .footer-brand{
    font-size:24px;
  }
  .footer-description{
    font-size:11px;
    margin:8px 0 0;
    line-height:1.45;
  }
}

/* средние экраны: описание слева под лого, целиком, одной строкой */
@media(min-width:761px) and (max-width:1150px){
  .footer-top{
    flex-direction:column;
    align-items:flex-start;
    gap:6px;
  }
  .footer-description{
    text-align:left;
    white-space:nowrap;
    font-size:10px;
    letter-spacing:0;
    padding-right:0;
    margin:0;
  }
}

/* МОБИЛЬНЫЙ ФУТЕР: принудительно читаемо на всех страницах */
@media(max-width:760px){
  .footer-top{
    display:block !important;
  }
  .footer-brand{
    font-size:24px !important;
  }
  .footer-description{
    white-space:normal !important;
    font-size:11px !important;
    line-height:1.45 !important;
    margin:8px 0 0 !important;
    text-align:center !important;
    padding:0 !important;
  }
}

/* ПК: описание СПРАВА и ВСЕГДА целиком (шрифт подстраивается) */
@media(min-width:761px){
  .footer-top{
    flex-direction:row;
    align-items:center;
    justify-content:space-between;
    gap:16px;
  }
  .footer-description{
    text-align:right;
    white-space:nowrap;
    font-size:clamp(8px, 1.05vw, 12px);
    letter-spacing:0;
    margin:0;
    padding-right:6px;
  }
}

/* СНЯТЬ старый ограничитель ширины описания — текст целиком */
@media(min-width:761px){
  .footer-description{
    max-width:none !important;
    width:auto !important;
    flex:0 1 auto !important;
  }
}

/* SONARO rebrand v7: логотип в футере как в хедере */
.footer-brand{display:flex;align-items:center;}
.footer-brand .footer-logo-img{height:46px;width:auto;display:block;filter:drop-shadow(0 0 10px rgba(214,178,92,.25));}
@media (max-width:640px){
  .footer-brand .footer-logo-img{height:34px;}
}

/* SONARO rebrand v8: футер как референс — лого слева, описание справа */
.footer-top{display:flex !important;flex-direction:row !important;align-items:center !important;justify-content:space-between !important;gap:24px !important;text-align:left !important;}
.footer-top .footer-brand{flex:0 0 auto !important;margin:0 !important;display:flex !important;align-items:center !important;}
.footer-top .footer-brand .footer-logo-img{height:44px !important;width:auto !important;display:block !important;}
.footer-top .footer-description{flex:1 1 auto !important;margin:0 !important;text-align:center !important;font-size:14px !important;}
@media (max-width:640px){
  .footer-top{gap:16px !important;}
  .footer-top .footer-brand .footer-logo-img{height:34px !important;}
  .footer-top .footer-description{font-size:12px !important;}
}

/* SONARO rebrand v9: баланс футера */
.footer-top .footer-brand .footer-logo-img{height:40px !important;}
@media (max-width:640px){
  .footer-top .footer-brand .footer-logo-img{height:36px !important;}
  .footer-top .footer-description{font-size:12px !important;line-height:1.55 !important;max-width:62% !important;}
}

/* SONARO rebrand v10: футер как оригинал — центрированная колонка */
.footer-top{display:flex !important;flex-direction:column !important;align-items:center !important;justify-content:center !important;text-align:center !important;gap:14px !important;}
.footer-top .footer-brand{margin:0 !important;}
.footer-top .footer-brand .footer-logo-img{height:44px !important;}
.footer-top .footer-description{max-width:520px !important;font-size:14px !important;line-height:1.6 !important;text-align:center !important;}
@media (max-width:640px){
  .footer-top .footer-brand .footer-logo-img{height:36px !important;}
  .footer-top .footer-description{font-size:13px !important;max-width:90% !important;}
}

/* SONARO rebrand v12: верхний блок футера убран полностью */
.footer-top{display:none !important;}

/* SONARO rebrand v13: компактнее сверху */
footer, .site-footer, .footer, .global-footer{padding-top:24px !important;}


/* sonaro-hide-regular-footer-mobile-v1 */
@media (max-width: 700px) {
  footer.footer > .container {
    display: none !important;
  }
}


/* sonaro-remove-mobile-footer-gap-v1 */
@media (max-width: 700px) {
  footer.footer {
    margin-top: 0 !important;
    padding: 0 !important;
    border-top: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  footer.footer::before,
  footer.footer::after {
    display: none !important;
    content: none !important;
  }

  footer.footer > .container {
    display: none !important;
  }
}

/* SONARO: hide global footer on desktop and tablet v1 */
@media (min-width: 761px) {
  footer.footer[data-sila-global-footer="true"] {
    display: none !important;
  }
}
\n