/* ================================================
   Footer — 4-column grid, bottom bar, scroll-to-top
   ================================================ */

.gc-footer {
  background: #1a1a1a;
  color: #fff;
  padding: 0;
}

.gc-footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 48px 20px 32px;
}

.gc-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 36px;
}

.gc-footer-brand .gc-brand-text {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: #fff;
  text-decoration: none;
  display: inline-block;
}

.gc-footer-brand p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  margin-top: 12px;
}

.gc-footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.4);
}

.gc-footer-col a,
.gc-footer-col li a {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  padding: 3px 0;
  transition: color 0.2s;
  text-decoration: none;
}

.gc-footer-col a:hover,
.gc-footer-col li a:hover {
  color: var(--gc-primary);
}

/* WP menu list reset */
.gc-footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.gc-footer-col ul li,
.gc-footer-col > li {
  list-style: none;
  margin: 0;
}

.gc-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

/* Scroll-to-top Button */
.gc-scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: var(--gc-primary);
  color: var(--gc-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background 0.2s;
  z-index: 90;
}

.gc-scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.gc-scroll-top:hover {
  background: var(--gc-primary-strong);
}

/* --- ≥641px --- */
@media (min-width: 641px) {
  .gc-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* --- ≥769px --- */
@media (min-width: 769px) {
  .gc-footer-grid {
    grid-template-columns: 1.5fr repeat(3, 1fr);
  }
}
