/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: var(--c-bg);
  border-top: 1px solid var(--c-line);
}

.footer__inner {
  padding-block: clamp(44px, 5vw, 76px);
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: clamp(28px, 4vw, 64px);
}

.footer__brand {
  flex: 1 1 260px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer__logo-mark {
  height: 44px;
  width: auto;
}

.footer__logo-word {
  height: 34px;
  width: auto;
}

.footer__text {
  max-width: 32ch;
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--c-text-soft);
}

/* Contact columns -------------------------------------------------------- */

.footer__col {
  flex: 0 1 200px;
}

.footer__label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-muted);
}

.footer__value {
  display: block;
  margin-top: 12px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--c-navy);
}

a.footer__value:hover {
  color: var(--c-blue);
}

.footer__note {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--c-muted);
}

/* Bottom bar ------------------------------------------------------------- */

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  margin-top: clamp(32px, 4vw, 56px);
  padding-top: 22px;
  border-top: 1px solid var(--c-line);
  font-size: 12px;
  line-height: 1.4;
  color: var(--c-muted);
}

/* ==========================================================================
   Tablet — brand takes a full row, contacts share the next one
   ========================================================================== */

@media (max-width: 1024px) {
  .footer__top {
    gap: 32px;
  }

  .footer__brand {
    flex: 1 1 100%;
  }

  .footer__text {
    max-width: 46ch;
  }

  .footer__col {
    flex: 1 1 180px;
  }
}

/* ==========================================================================
   Mobile — single column
   ========================================================================== */

@media (max-width: 767px) {
  .footer__inner {
    padding-block: 36px 28px;
  }

  .footer__top {
    flex-direction: column;
    gap: 18px;
  }

  .footer__logo {
    gap: 10px;
  }

  .footer__logo-mark {
    height: 36px;
  }

  .footer__logo-word {
    height: 28px;
  }

  .footer__text {
    max-width: none;
    margin: 16px 0 6px;
  }

  .footer__col {
    flex: 0 0 auto;
  }

  .footer__label {
    letter-spacing: 0.08em;
  }

  .footer__value {
    margin-top: 7px;
  }

  .footer__note {
    margin-top: 3px;
  }

  .footer__bottom {
    margin-top: 28px;
    padding-top: 18px;
    gap: 12px;
  }
}
