/* ============================================================
   UNITED CARRIERS — Footer Section
   ============================================================ */

.site-footer {
  background-color: #ffffff;
  color: #0c0c0c;
  padding: 80px 0 20px;
  position: relative;
  z-index: 2;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer .footer-heading {
  font-family: var(--font-mono, 'IBM Plex Mono', monospace);
  font-size: 0.56rem;
  color: #888;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 16px 0;
}

.site-footer .footer-heading--mt {
  margin-top: 40px;
}

.site-footer .footer-text {
  font-family: sans-serif;
  font-size: 0.82rem;
  line-height: 1.4;
  margin: 0 0 8px 0;
}

/* Intro */
.footer-intro {
  margin-bottom: 80px;
}
.footer-intro p {
  font-family: var(--font-display, 'Syne', sans-serif);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
}

/* Top Grid */
.footer-top {
  display: grid;
  grid-template-columns: 1fr 2fr 1.5fr;
  gap: 40px;
  padding-bottom: 80px;
  border-bottom: 1px solid #eee;
}

.social-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #ccc;
  font-weight: 600;
  font-size: 0.78rem;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}
.social-circle:hover {
  background-color: #0c0c0c;
  color: #fff;
  border-color: #0c0c0c;
}

.footer-col--company .footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 24px;
}
.footer-links li a {
  font-family: sans-serif;
  font-size: 0.86rem;
  font-weight: 500;
  transition: color 0.3s ease;
}
.footer-links li a:hover {
  color: #0000ff; /* Matches the "Home" blue hover state in the design */
}

/* Payment Icons Placeholder */
.payment-icons {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.payment-icon {
  width: 40px;
  height: 24px;
  background-color: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.44rem;
  font-family: var(--font-mono, 'IBM Plex Mono', monospace);
  color: #888;
}

/* Marquee Section */
.footer-marquee-wrap {
  padding: 60px 0;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #eee;
}

.footer-marquee-buttons {
  position: absolute;
  top: 60px;
  left: 4vw;
  display: flex;
  gap: 12px;
  z-index: 2;
}
.pill-btn {
  background: #f0f0f0;
  border: none;
  border-radius: 20px;
  padding: 8px 16px;
  font-family: var(--font-mono, 'IBM Plex Mono', monospace);
  font-size: 0.6rem;
  font-weight: 600;
  color: #555;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.pill-btn:hover {
  background: #0c0c0c;
  color: #fff;
}

.footer-marquee {
  width: 100%;
  overflow: hidden;
  display: flex;
  padding-top: 50px;
}
.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: scrollMarquee 30s linear infinite;
  will-change: transform;
  transform: translateZ(0);
}
.marquee-track span {
  font-family: var(--font-display, 'Syne', sans-serif);
  font-size: 3.45rem;
  font-weight: 700;
  color: #f0f0f0;
  padding-right: 20px;
}

@keyframes scrollMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Bottom Grid */
.footer-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding: 80px 0;
}

.footer-col--image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background-color: #eee;
}

.footer-link-underline {
  font-family: sans-serif;
  font-size: 0.74rem;
  font-weight: 600;
  text-decoration: underline;
  display: inline-block;
  margin-top: 8px;
  transition: opacity 0.3s ease;
}
.footer-link-underline:hover {
  opacity: 0.7;
}

.footer-col--map {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Bottom Bar */
.footer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #eee;
  padding-top: 24px;
  font-family: var(--font-mono, 'IBM Plex Mono', monospace);
  font-size: 0.52rem;
  color: #555;
  text-transform: uppercase;
}

.footer-bar__center {
  display: flex;
  gap: 24px;
}
.footer-bar__center a {
  transition: color 0.3s ease;
}
.footer-bar__center a:hover {
  color: #0c0c0c;
}

@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-col--company .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-bottom-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-bar {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}
@media (max-width: 768px) {
  .site-footer {
    padding: 40px 0 20px;
  }
  .footer-intro {
    margin-bottom: 40px;
  }
  .footer-top {
    padding-bottom: 40px;
    gap: 30px;
  }
  .footer-bottom-grid {
    grid-template-columns: 1fr 1fr;
    padding: 40px 0;
    gap: 15px; /* Reduced gap to fit 2 columns better */
  }
  .footer-col {
    min-width: 0; /* Prevent grid blowout */
    overflow-wrap: anywhere; /* Force long emails to wrap */
    word-break: break-word;
  }
  .footer-col--map img {
    max-width: 100%;
    object-fit: contain;
  }
  .site-footer .footer-text {
    font-size: 0.75rem; /* Slightly smaller to fit 2 columns perfectly */
  }
  .site-footer .footer-heading {
    font-size: 0.5rem;
  }
  .footer-col--company .footer-links {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .footer-bar__center {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    text-align: center;
  }
  .marquee-track span {
    font-size: 2.16rem;
  }
  .footer-marquee-wrap {
    padding: 40px 0;
  }
}

.footer-tunnel-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 4px;
}
