.footer {
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
}

/* Map */
.footer__map-wrap {
  width: 90%;
  max-width: 1100px;
  height: 280px;
  margin: 3rem auto 0;
  border-radius: 1.25rem;
  overflow: hidden;
  flex-shrink: 0;
}

.footer__map {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

/* Body: 3 columns */
.footer__body {
  max-width: 1100px;
  width: 90%;
  margin: 3rem auto 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* Col 1 */
.footer__logo {
  height: 72px;
  width: auto;
  margin-bottom: 1rem;
}

.footer__blurb {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--color-grey);
  max-width: 280px;
}

/* Blocks inside cols 2 & 3 */
.footer__block {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1.75rem;
}

.footer__block:last-child {
  margin-bottom: 0;
}

.footer__block-title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-dark-blue);
  margin-bottom: 0.25rem;
}

.footer__block-info {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--color-grey);
}

/* Link rows */
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.footer__link-row {
  display: flex;
  align-items: center;
  gap: 0.05rem;
}


/* CTA buttons — smaller than the main ones */
.footer__cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  color: #ffffff;
  background-color: var(--color-dark-blue);
  text-decoration: none;
  border-radius: 999px;
  transition: opacity 0.2s ease;
  cursor: pointer;
  gap: 0.5rem;
}

.footer__cta-btn:hover {
  opacity: 0.85;
}

.footer__cta-btn--text {
  padding: 0 1rem;
}

.footer__cta-btn--icon {
  width: 40px;
}

/* Lucide icons */

.footer__cta-icon { 
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* svg icons */

.footer__cta-icon-img {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* arrow icon in action */

.footer__cta-btn--icon i {
  width: 18px;
  height: 18px;
}

/* Bottom bar */
.footer__bar {
  background-color: var(--color-dark-blue);
  padding: 1rem 2rem;
  text-align: center;
}

.footer__bar-text {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 0.85rem;
  color: #ffffff;
}

/* Responsive */
@media (max-width: 900px) {
  .footer__body {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer__col--brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 540px) {
  .footer__body {
    grid-template-columns: 1fr;
  }

  .footer__map-wrap {
    height: 220px;
    width: 100%;
    border-radius: 0;
    margin-top: 2rem;
  }
}