/* ════════════════════════════════════
   FOOTER — Adana Course Design System
   ════════════════════════════════════ */
.site-footer {
  background: var(--ink, #0f1b2d);
  position: relative;
  margin-top: 0;
}

.footer-topline {
  height: 3px;
  background: linear-gradient(90deg, var(--blue, #2563eb), var(--violet, #7c3aed), var(--amber, #f59e0b));
}

.footer-inner {
  padding: 56px 0 0;
}

/* grid */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 48px;
  padding-bottom: 48px;
}
@media(max-width:1024px){
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand-col { grid-column: 1 / -1; }
}
@media(max-width:576px){
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand-col { grid-column: auto; }
}

/* brand */
.footer-logo {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; margin-bottom: 16px;
}
.footer-logo-ico {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--blue, #2563eb), var(--violet, #7c3aed));
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: #fff;
  box-shadow: 0 4px 14px rgba(37,99,235,.35);
}
.footer-logo-text {
  font-family: 'Fraunces', serif;
  font-size: 1.15rem; font-weight: 700; color: #fff;
}
.footer-brand-desc {
  font-size: .82rem; color: rgba(255,255,255,.45);
  line-height: 1.8; margin-bottom: 20px; max-width: 300px;
}

/* socials */
.footer-socials { display: flex; gap: 8px; }
.fsoc {
  width: 36px; height: 36px; border-radius: 9px;
  border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.45); font-size: .82rem; text-decoration: none;
  transition: all .22s;
}
.fsoc:hover {
  background: linear-gradient(135deg, var(--blue, #2563eb), var(--violet, #7c3aed));
  border-color: transparent; color: #fff;
  transform: translateY(-2px); box-shadow: 0 4px 12px rgba(37,99,235,.3);
}

/* link cols */
.footer-col-title {
  font-size: .67rem; font-weight: 800; letter-spacing: .13em;
  text-transform: uppercase; color: rgba(255,255,255,.35);
  margin-bottom: 16px; padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-links {
  list-style: none; padding: 0; display: flex; flex-direction: column; gap: 2px;
}
.footer-links li a {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; color: rgba(255,255,255,.45);
  text-decoration: none; padding: 5px 0;
  transition: color .2s, gap .2s;
}
.footer-links li a i {
  font-size: .68rem; color: rgba(255,255,255,.2);
  transition: color .2s; width: 13px; text-align: center; flex-shrink: 0;
}
.footer-links li a:hover {
  color: rgba(255,255,255,.85); gap: 10px;
}
.footer-links li a:hover i {
  color: var(--blue, #2563eb);
}

/* contacts */
.footer-contacts {
  list-style: none; padding: 0; display: flex; flex-direction: column; gap: 14px;
}
.footer-contacts li {
  display: flex; align-items: flex-start; gap: 12px;
}
.fcon-ico {
  width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0;
  background: rgba(37,99,235,.15); border: 1px solid rgba(37,99,235,.25);
  display: flex; align-items: center; justify-content: center;
  font-size: .72rem; color: var(--blue-l, #3b82f6);
}
.fcon-lbl {
  font-size: .62rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: rgba(255,255,255,.28); margin-bottom: 1px;
}
.fcon-val {
  font-size: .78rem; color: rgba(255,255,255,.55);
  text-decoration: none; transition: color .2s; display: block;
}
a.fcon-val:hover { color: rgba(255,255,255,.9); }

/* divider */
.footer-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.1) 30%, rgba(255,255,255,.1) 70%, transparent);
}

/* bottom */
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0 24px; flex-wrap: wrap; gap: 10px;
}
.footer-copy {
  font-size: .74rem; color: rgba(255,255,255,.28); margin: 0;
}
.footer-bottom-links {
  display: flex; gap: 20px;
}
.footer-bottom-links a {
  font-size: .74rem; color: rgba(255,255,255,.28);
  text-decoration: none; transition: color .2s;
}
.footer-bottom-links a:hover { color: rgba(255,255,255,.7); }

/* ── BACK TO TOP ── */
.back-to-top {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 44px; height: 44px; border-radius: 12px; border: none; cursor: pointer;
  background: linear-gradient(135deg, var(--blue, #2563eb), var(--violet, #7c3aed));
  color: #fff; font-size: .9rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(37,99,235,.35);
  opacity: 0; pointer-events: none;
  transform: translateY(10px);
  transition: opacity .3s, transform .3s, box-shadow .22s;
}
.back-to-top.visible {
  opacity: 1; pointer-events: auto; transform: translateY(0);
}
.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(37,99,235,.45);
}
