/* FOOTER */
.footer {
  padding: 56px 0;
  background: #050505;
  color: rgba(255, 255, 255, 0.62);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 1fr;
  gap: 40px;
  align-items: flex-start;
}

.footer-logo {
  margin-bottom: 18px;
  color: var(--white);
  font-size: 23px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.footer-logo-img {
  display: block;
  height: 28px;
  width: auto;
}

.footer p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.68);
  word-break: keep-all;
}

.footer h4 {
  margin: 0 0 16px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.footer-menu, .footer-cs {
  display: flex;
  flex-direction: column;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer-links a,
.footer-cs a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-cs a:hover {
  color: #fff;
}

.footer-cs strong {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  display: inline-block;
  margin-bottom: 4px;
}

/* Floating Action Button (FAB) */
.floating {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.floating a {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: 0.3s;
}

.floating a:hover {
  transform: translateY(-4px);
}

.floating .top {
  background: #fff;
  color: #111;
  border: 1px solid #ddd;
}


/* ── Responsive ── */
@media (max-width: 1024px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-info {
    grid-column: 1 / -1;
    margin-bottom: 12px;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 48px 0;
  }

  .footer-inner {
    gap: 32px;
  }

  .footer-info {
    margin-bottom: 0;
  }

  .footer-logo {
    font-size: 20px;
  }

  .footer-logo-img {
    height: 24px;
  }

  .floating {
    right: 16px;
    bottom: 16px;
  }

  .floating a {
    width: 48px;
    height: 48px;
    font-size: 12px;
  }
}

@media (max-width: 576px) {
  .footer {
    padding: 40px 0;
  }

  .footer-inner {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }

  .footer-info {
    display: contents;
  }

  .footer-logo {
    order: 1;
    margin-bottom: 0;
  }

  .footer-menu {
    order: 2;
  }

  .footer-cs {
    order: 3;
  }

  .footer-info p {
    order: 4;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.4);
  }

  .footer p, 
  .footer-links a, 
  .footer-cs a {
    font-size: 13.5px;
  }

  .footer h4 {
    font-size: 14px;
    margin-bottom: 12px;
  }
}

@media (max-width: 375px) {
  .footer {
    padding: 32px 0;
  }

  .footer-inner {
    gap: 24px;
  }

  .floating {
    right: 12px;
    bottom: 12px;
  }
  
  .floating a {
    width: 44px;
    height: 44px;
    font-size: 11px;
  }
}