/* v54 — professional desktop/mobile footer */
.sf-clean-footer.sf-footer-v54{
  margin-top:18px !important;
  padding:58px 0 26px !important;
  border-radius:38px 38px 0 0 !important;
  background:
    radial-gradient(circle at 86% 8%,rgba(75,126,103,.22),transparent 25%),
    linear-gradient(155deg,#061f16 0%,#08291d 58%,#0a3324 100%) !important;
  color:#e8f1ec !important;
  overflow:hidden !important;
}
.sf-footer-v54 .container{
  width:min(100% - 40px,1540px) !important;
  max-width:none !important;
  margin-inline:auto !important;
  padding-inline:0 !important;
}
.sf-footer-v54 .sf-footer-top{
  display:grid !important;
  grid-template-columns:minmax(300px,.95fr) minmax(0,1.35fr) !important;
  gap:70px !important;
  align-items:start !important;
}
.sf-footer-v54 .sf-footer-brand-block{
  min-width:0 !important;
}
.sf-footer-v54 .sf-footer-logo-box{
  display:inline-flex !important;
  width:auto !important;
  max-width:100% !important;
  margin:0 0 22px !important;
  padding:12px 17px !important;
  border-radius:18px !important;
  background:#fff !important;
  box-shadow:0 14px 34px rgba(0,0,0,.12) !important;
}
.sf-footer-v54 .sf-footer-logo-box img{
  width:250px !important;
  max-width:100% !important;
  max-height:64px !important;
  height:auto !important;
  object-fit:contain !important;
}
.sf-footer-v54 .sf-footer-brand-block p{
  max-width:430px !important;
  margin:0 !important;
  color:#d8e8df !important;
  font-size:.95rem !important;
  line-height:1.7 !important;
}
.sf-footer-v54 .sf-socials{
  display:flex !important;
  gap:10px !important;
  margin-top:20px !important;
}
.sf-footer-v54 .sf-social-btn{
  width:44px !important;
  height:44px !important;
  margin:0 !important;
  border-radius:13px !important;
  border:1px solid rgba(255,255,255,.16) !important;
  background:rgba(255,255,255,.07) !important;
  color:#fff !important;
}
.sf-footer-v54 .sf-social-btn:hover{
  transform:translateY(-2px) !important;
  background:rgba(255,255,255,.13) !important;
}
.sf-footer-v54 .sf-footer-links{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:34px !important;
  min-width:0 !important;
}
.sf-footer-v54 .sf-footer-group b{
  display:block !important;
  margin:0 0 15px !important;
  color:#fff !important;
  font-size:.86rem !important;
  line-height:1.3 !important;
  font-weight:900 !important;
}
.sf-footer-v54 .sf-footer-group a{
  display:block !important;
  width:max-content !important;
  max-width:100% !important;
  margin:9px 0 !important;
  color:#d2e1d9 !important;
  font-size:.9rem !important;
  line-height:1.4 !important;
  text-decoration:none !important;
  transition:color .18s ease,transform .18s ease !important;
}
.sf-footer-v54 .sf-footer-group a:hover{
  color:#fff !important;
  transform:translateX(2px) !important;
}
.sf-footer-v54 .sf-footer-bottom{
  display:flex !important;
  justify-content:space-between !important;
  align-items:center !important;
  gap:24px !important;
  margin-top:42px !important;
  padding-top:20px !important;
  border-top:1px solid rgba(255,255,255,.13) !important;
  color:#c8dad0 !important;
  font-size:.79rem !important;
}
.sf-footer-v54 .sf-footer-contact-row{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  gap:8px !important;
  flex-wrap:wrap !important;
}
.sf-footer-v54 .sf-footer-contact-row a{
  margin:0 !important;
  color:#e0ece5 !important;
  font-size:inherit !important;
  line-height:1.4 !important;
}
.sf-footer-v54 .sf-footer-contact-row a:hover{
  color:#fff !important;
}

@media(max-width:980px){
  .sf-footer-v54 .sf-footer-top{
    grid-template-columns:1fr !important;
    gap:36px !important;
  }
  .sf-footer-v54 .sf-footer-brand-block p{
    max-width:600px !important;
  }
}

@media(max-width:650px){
  .sf-clean-footer.sf-footer-v54{
    margin-top:12px !important;
    padding:34px 0 calc(112px + env(safe-area-inset-bottom)) !important;
    border-radius:28px 28px 0 0 !important;
  }
  .sf-footer-v54 .container{
    width:min(100% - 28px,1540px) !important;
  }
  .sf-footer-v54 .sf-footer-top{
    gap:30px !important;
  }
  .sf-footer-v54 .sf-footer-logo-box{
    margin-bottom:16px !important;
    padding:10px 14px !important;
    border-radius:16px !important;
  }
  .sf-footer-v54 .sf-footer-logo-box img{
    width:210px !important;
    max-height:54px !important;
  }
  .sf-footer-v54 .sf-footer-brand-block p{
    max-width:100% !important;
    font-size:.92rem !important;
    line-height:1.6 !important;
  }
  .sf-footer-v54 .sf-socials{
    margin-top:16px !important;
  }
  .sf-footer-v54 .sf-social-btn{
    width:42px !important;
    height:42px !important;
    border-radius:12px !important;
  }
  .sf-footer-v54 .sf-footer-links{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:26px 22px !important;
  }
  .sf-footer-v54 .sf-footer-group-legal{
    grid-column:1 / -1 !important;
  }
  .sf-footer-v54 .sf-footer-group-legal{
    display:grid !important;
    grid-template-columns:repeat(3,max-content) !important;
    column-gap:20px !important;
    row-gap:8px !important;
    justify-content:start !important;
  }
  .sf-footer-v54 .sf-footer-group-legal b{
    grid-column:1 / -1 !important;
    margin-bottom:3px !important;
  }
  .sf-footer-v54 .sf-footer-group-legal a{
    margin:0 !important;
  }
  .sf-footer-v54 .sf-footer-group b{
    margin-bottom:11px !important;
    font-size:.84rem !important;
  }
  .sf-footer-v54 .sf-footer-group a{
    margin:7px 0 !important;
    font-size:.88rem !important;
  }
  .sf-footer-v54 .sf-footer-bottom{
    align-items:flex-start !important;
    flex-direction:column !important;
    gap:10px !important;
    margin-top:28px !important;
    padding-top:17px !important;
    font-size:.76rem !important;
  }
  .sf-footer-v54 .sf-footer-contact-row{
    justify-content:flex-start !important;
    gap:6px !important;
  }
}

@media(max-width:410px){
  .sf-footer-v54 .sf-footer-links{
    gap:24px 16px !important;
  }
  .sf-footer-v54 .sf-footer-group-legal{
    grid-template-columns:1fr !important;
    gap:2px !important;
  }
  .sf-footer-v54 .sf-footer-group-legal b{
    grid-column:auto !important;
    margin-bottom:8px !important;
  }
  .sf-footer-v54 .sf-footer-group-legal a{
    margin:5px 0 !important;
  }
  .sf-footer-v54 .sf-footer-contact-row{
    flex-direction:column !important;
    align-items:flex-start !important;
  }
  .sf-footer-v54 .sf-footer-contact-row > span{
    display:none !important;
  }
}

html[dir="rtl"] .sf-footer-v54 .sf-footer-group a:hover{
  transform:translateX(-2px) !important;
}
html[dir="rtl"] .sf-footer-v54 .sf-footer-contact-row{
  justify-content:flex-start !important;
}
