/* /public_html/css/footer-modern.css */

:root{
  --bg: #0b1220;
  --card: rgba(255,255,255,0.06);
  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.70);
  --line: rgba(255,255,255,0.12);
  --brand: #00aedb;
  --brand2:#0094c6;
  --shadow: 0 14px 40px rgba(0,0,0,0.25);
  --radius: 16px;
}

.site-footer{
  background: radial-gradient(1200px 500px at 10% 0%, rgba(0,174,219,0.20), transparent 55%),
              radial-gradient(1200px 500px at 90% 0%, rgba(0,148,198,0.18), transparent 55%),
              var(--bg);
  color: var(--text);
  margin-top: 40px;
}

.container{
  max-width: 1200px;
  margin: 0 auto;
  padding: 46px 20px;
}

.footer-grid{
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 26px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 26px;
}

.footer-col{ min-width: 0; }

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

.footer-mark{
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  box-shadow: var(--shadow);
  font-size: 20px;
}

.footer-title{
  display:block;
  font-weight: 900;
  letter-spacing: 0.2px;
}

.footer-sub{
  display:block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.footer-desc{
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 16px 0;
  max-width: 520px;
}

.footer-heading{
  font-size: 14px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin: 4px 0 14px 0;
}

.footer-links{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer-links a{
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  transition: 0.2s ease;
}

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

.footer-social{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-social a{
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  text-decoration: none;
  color: #fff;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: 0.2s ease;
  font-weight: 800;
}

.footer-social a:hover{
  background: rgba(0,174,219,0.20);
  border-color: rgba(0,174,219,0.35);
}

.footer-bottom{
  padding: 16px 0;
}

.footer-bottom-inner{
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}

.footer-bottom-inner a{
  color: #fff;
  text-decoration: none;
  border-bottom: 1px dashed rgba(255,255,255,0.35);
}

.footer-bottom-inner a:hover{
  border-bottom-color: rgba(255,255,255,0.8);
}

.back-to-top{
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(11,18,32,0.75);
  color: #fff;
  box-shadow: var(--shadow);
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: 0.2s ease;
}

.back-to-top.show{
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 980px){
  .footer-grid{
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px){
  .footer-grid{
    grid-template-columns: 1fr;
  }
  .footer-bottom-inner{
    flex-direction: column;
    align-items: flex-start;
  }
}
