/* =========================================================
   FOOTER – FINAL / CLEAN / FLAT / BALANCED
========================================================= */

.site-footer{
  position:relative;
  margin:0;
  padding:0;
  background:transparent;
  border-top:0 !important;
}

.site-footer .site-frame{
  position:relative;
  background:transparent !important;
}

/* =========================================================
   INNER
========================================================= */

.site-footer .footer-inner{
  position:relative;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  width:100%;
  min-height:92px;
  margin:0;
  padding:18px 20px;
  background:linear-gradient(180deg,#f6f2ea 0%,#f2eee6 100%) !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:
    0 10px 28px rgba(84,61,24,.06),
    inset 0 1px 0 rgba(255,255,255,.55);
}

.site-footer .footer-inner::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 18% 100%, rgba(182,137,63,.06), transparent 24%),
    radial-gradient(circle at 82% 100%, rgba(182,137,63,.05), transparent 22%);
}

body.dark .site-footer .footer-inner{
  background:linear-gradient(180deg,#1a1b1d 0%,#161719 100%) !important;
  box-shadow:
    0 16px 34px rgba(0,0,0,.24),
    inset 0 1px 0 rgba(255,255,255,.04);
}

body.dark .site-footer .footer-inner::before{
  background:
    radial-gradient(circle at 18% 100%, rgba(182,137,63,.10), transparent 24%),
    radial-gradient(circle at 82% 100%, rgba(182,137,63,.08), transparent 22%);
}

html[dir="rtl"] .site-footer .footer-inner{
  flex-direction:row-reverse;
}

/* =========================================================
   BRAND
========================================================= */

.footer-brand{
  z-index:1;
  display:flex;
  align-items:center;
  min-width:240px;
}

.footer-brand-link{
  display:inline-flex;
  align-items:center;
  gap:14px;
  color:var(--text);
  text-decoration:none;
}

.footer-brand-link:hover{
  opacity:1;
}

html[dir="rtl"] .footer-brand-link{
  flex-direction:row-reverse;
}

.footer-brand-mark{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  width:46px;
  height:46px;
  flex:0 0 46px;
  overflow:hidden;
  border-radius:50%;
  background:linear-gradient(180deg,rgba(255,255,255,.92),rgba(245,238,226,.92));
  box-shadow:
    0 6px 14px rgba(84,61,24,.08),
    inset 0 1px 0 rgba(255,255,255,.72);
}

body.dark .footer-brand-mark{
  background:linear-gradient(180deg,#2a2c30,#1c1e22);
}

.footer-brand-ring{
  position:absolute;
  inset:-5px;
  border-radius:50%;
  border:1px solid rgba(181,135,53,.18);
}

.footer-brand-logo{
  position:absolute;
  top:50%;
  left:50%;
  width:118%;
  transform:translate(-50%,-50%);
}

.footer-brand-text{
  display:flex;
  flex-direction:column;
  gap:4px;
}

.footer-eyebrow{
  color:#8a7550;
  font-size:.66rem;
  font-weight:800;
  letter-spacing:.14em;
  opacity:.9;
}

body.dark .footer-eyebrow{
  color:#b6a37e;
}

.footer-name{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:.3em;
  font-size:1rem;
  font-weight:850;
  line-height:1.12;
}

.footer-desc{
  max-width:34ch;
  color:#77674b;
  font-size:12.5px;
  line-height:1.5;
}

body.dark .footer-desc{
  color:#b3a58a;
}

/* =========================================================
   LINKS
========================================================= */

.footer-links{
  z-index:1;
  display:flex;
  flex:1;
  flex-wrap:wrap;
  justify-content:center;
  gap:12px 18px;
}

.footer-links a{
  padding:4px 0;
  color:#6e614c;
  font-size:13.5px;
  font-weight:640;
  line-height:1.4;
  text-decoration:none;
  white-space:nowrap;
  transition:color .14s ease, background .14s ease, opacity .14s ease;
}

.footer-links a:hover{
  color:#2b241c;
  text-decoration:none;
  opacity:1;
}

body.dark .footer-links a{
  color:#c5b89c;
}

body.dark .footer-links a:hover{
  color:#f5f1e8;
}

/* =========================================================
   ACTIONS
========================================================= */

.footer-actions{
  z-index:1;
  display:flex;
  justify-content:flex-end;
  gap:8px;
}

html[dir="rtl"] .footer-actions{
  justify-content:flex-start;
}

.site-footer .btn,
.site-footer .btn-outline-secondary{
  display:flex;
  align-items:center;
  justify-content:center;
  width:38px;
  height:38px;
  min-width:38px;
  color:#7a6a50 !important;
  background:transparent !important;
  border:0 !important;
  border-radius:999px !important;
  box-shadow:none !important;
  transition:background .14s ease, color .14s ease, transform .14s ease;
}

.site-footer .btn:hover{
  background:rgba(181,135,53,.07) !important;
  color:#2f271d !important;
  transform:translateY(-1px);
}

body.dark .site-footer .btn{
  color:#c5b89c !important;
}

body.dark .site-footer .btn:hover{
  background:rgba(181,135,53,.10) !important;
  color:#f5f1e8 !important;
}

.site-footer .btn i{
  font-size:1rem;
  line-height:1;
}

/* =========================================================
   BOTTOM
========================================================= */

.site-footer .footer-bottom{
  width:100%;
  margin:0;
  padding:8px 0 2px;
  color:#77674b;
  font-size:12px;
  text-align:center;
  opacity:.9;
  background:transparent !important;
  border-top:0 !important;
}

body.dark .site-footer .footer-bottom{
  color:#b3a58a;
  opacity:.92;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (min-width:992px){
  .site-footer .footer-inner{
    border-radius:0 !important;
    box-shadow:none;
  }
}

@media (max-width:992px){
  .site-footer .footer-inner{
    gap:14px;
    padding:18px;
    border-radius:0 !important;
  }

  .footer-brand{
    min-width:220px;
  }

  .footer-brand-link{
    max-width:100%;
  }

  .footer-links{
    gap:10px 14px;
  }
}

@media (max-width:768px){
  .site-footer .footer-inner{
    flex-direction:column;
    align-items:flex-start;
    min-height:auto;
    padding:16px 14px;
    gap:14px;
  }

  html[dir="rtl"] .site-footer .footer-inner{
    align-items:flex-end;
  }

  .footer-brand,
  .footer-links,
  .footer-actions{
    width:100%;
    min-width:0;
  }

  .footer-brand-link{
    max-width:100%;
  }

  .footer-brand-mark{
    width:44px;
    height:44px;
    flex-basis:44px;
  }

  .footer-brand-logo{
    width:118%;
  }

  .footer-eyebrow{
    font-size:.64rem;
  }

  .footer-name{
    font-size:.98rem;
  }

  .footer-desc{
    max-width:100%;
    font-size:12.5px;
  }

  .footer-links{
    justify-content:flex-start;
  }

  .footer-actions{
    justify-content:flex-start;
  }

  html[dir="rtl"] .footer-links,
  html[dir="rtl"] .footer-actions{
    justify-content:flex-end;
  }

  .footer-links a{
    white-space:normal;
  }
}

@media (max-width:576px){
  .site-footer .footer-inner{
    padding:15px 12px;
    border-radius:0 !important;
  }

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

  .site-footer .btn,
  .site-footer .btn-outline-secondary{
    width:36px;
    height:36px;
    min-width:36px;
  }

  .site-footer .footer-bottom{
    padding-top:8px;
    font-size:12px;
  }
}