/* ============================================================
   Niyutam — Site footer
   ============================================================ */

:root {
  --ft-bg:       #0a0a0f;
  --ft-accent:   #C8FF00;
  --ft-text:     rgba(255, 255, 255, 0.50);
  --ft-heading:  #ffffff;
  --ft-divider:  rgba(255, 255, 255, 0.08);
  --ft-speed:    0.2s;
}

/* ── Footer shell ─────────────────────────────────────────── */
.footer {
  background: var(--ft-bg);
  border-top: 1px solid var(--ft-divider);
  padding: clamp(3.5rem, 7vw, 5rem) clamp(1.25rem, 5vw, 4rem) 0;
}

/* ── Main grid ────────────────────────────────────────────── */
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: clamp(2rem, 4vw, 4rem);
  max-width: 1280px;
  margin: 0 auto;
  padding-bottom: clamp(3rem, 5vw, 4.5rem);
}

/* ── Brand column ─────────────────────────────────────────── */
.footer__col--brand {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer__logo {
  display: inline-flex;
  margin-bottom: 1rem;
  transition: opacity var(--ft-speed) ease;
}

.footer__logo:hover {
  opacity: 0.8;
}

.footer__tagline {
  font-family: 'Satoshi', sans-serif;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ft-text);
  margin: 0 0 1.75rem;
  max-width: 280px;
}

/* ── Social icons ─────────────────────────────────────────── */
.footer__socials {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer__social {
  color: var(--ft-text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--ft-speed) ease;
}

.footer__social:hover {
  color: var(--ft-accent);
}

.footer__social:focus-visible {
  outline: 2px solid var(--ft-accent);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ── Nav columns ──────────────────────────────────────────── */
.footer__heading {
  font-family: 'Satoshi', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--ft-heading);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 1.25rem;
}

.footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer__link {
  font-family: 'Satoshi', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--ft-text);
  text-decoration: none;
  transition: color var(--ft-speed) ease;
}

.footer__link:hover {
  color: var(--ft-accent);
}

.footer__link:focus-visible {
  outline: 2px solid var(--ft-accent);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ── Contact column ───────────────────────────────────────── */
.footer__col--contact {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer__col--contact .footer__heading {
  margin-bottom: 1rem;
}

.footer__email {
  display: inline-block;
  margin-bottom: 1.5rem;
}

.footer__cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 44px;
  background: var(--ft-accent);
  color: var(--ft-bg);
  border-radius: 8px;
  font-family: 'Satoshi', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--ft-speed) ease;
  margin-top: auto;
}

.footer__cta-btn:hover {
  background: #d9ff1a;
}

.footer__cta-btn:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

/* ── Bottom bar ───────────────────────────────────────────── */
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.5rem 0;
  border-top: 1px solid var(--ft-divider);
}

.footer__copy {
  font-family: 'Satoshi', sans-serif;
  font-size: 13px;
  color: var(--ft-text);
  margin: 0;
}

.footer__legal {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer__legal .footer__link {
  font-size: 13px;
}

.footer__legal-sep {
  color: var(--ft-divider);
  font-size: 13px;
  user-select: none;
}

/* ── Tablet: 2×2 grid ─────────────────────────────────────── */
@media (max-width: 1023px) and (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem 2.5rem;
  }

  .footer__tagline {
    max-width: 100%;
  }
}

/* ── Mobile: single column ────────────────────────────────── */
@media (max-width: 767px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer__tagline {
    max-width: 100%;
  }

  .footer__col--contact {
    gap: 0;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1.5rem 0 2rem;
  }
}
