/* ==========================================================================
   Footer — ported from footer.tsx
   Layout: 1/4 logo column + 3/4 content column
   ========================================================================== */

.footer {
  background-color: #09090b; /* zinc-950 */
  color: var(--color-text);
  position: relative;
}

.footer__inner {
  /* inherits .container sizing */
}

/* ---------- Grid ---------- */
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1fr 3fr;
  }
}

/* ---------- Logo Column ---------- */
.footer__col--logo {
  position: relative;
  min-height: 200px;
}

@media (max-width: 1023px) {
  .footer__col--logo {
    min-height: auto;
    padding: 2rem 0;
  }
}

/* Green box with logo */
.footer__logo-box {
  background-color: #829C86;
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

@media (min-width: 1024px) {
  .footer__logo-box {
    position: absolute;
    top: -40px;
    left: 10%;
    z-index: 10;
  }
}

.footer__logo-box-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.footer__logo-box-link svg {
  height: auto;
  width: 100%;
  max-height: 160px;
}

/* ---------- Content Column (3/4) ---------- */
.footer__col--content {
  padding: 3rem 0;
}

@media (min-width: 1024px) {
  .footer__col--content {
    padding: 3rem;
  }
}

/* ---------- Top: Tagline + Nav ---------- */
.footer__top {
  margin-bottom: 3rem;
}

.footer__tagline {
  font-size: 1.125rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  line-height: 1.6;
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 3rem;
  list-style: none;
  padding: 0;
  margin-top: 0;
}

.footer__nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__nav li {
  list-style: none;
}

.footer__nav a,
.footer__nav-link {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color var(--transition-fast);
}

.footer__nav a:hover,
.footer__nav-link:hover {
  color: var(--color-text);
}

/* ---------- Contact Grid ---------- */
.footer__contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 768px) {
  .footer__contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer__contact-heading {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.75rem;
  font-weight: var(--font-weight-normal);
}

.footer__contact-text {
  font-size: 0.875rem;
  line-height: 1.7;
}

/* ---------- Bottom ---------- */
.footer__bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer__copyright {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer__credit {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer__copyright-link {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer__copyright-link:hover {
  color: var(--color-text);
}
