.location-map-link,
.map-text-link,
.appointment-location,
.footer-location,
.map-action {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.location-map-link {
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

.location-map-link:hover,
.location-map-link:focus-visible { color: #dce7ff; }
.location-map-link svg { width: 14px; height: 14px; }

.contact-details .map-text-link {
  display: inline-flex;
  margin-top: 9px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.map-text-link svg { width: 16px; height: 16px; }
.location-coordinates { display: block; margin-top: 5px; color: var(--muted); }

.map-card {
  display: flex;
  min-height: 260px;
  padding: 34px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--ink);
  background: linear-gradient(rgba(238, 244, 255, .92), rgba(238, 244, 255, .92));
  border: 1px solid var(--line);
  border-radius: 24px;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.map-card:hover { transform: translateY(-4px); border-color: var(--blue); box-shadow: 0 20px 50px rgba(23, 70, 200, .12); }
.map-card:focus-visible { outline: 3px solid rgba(23, 70, 200, .3); outline-offset: 4px; }

.map-card .map-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: #fff;
  color: var(--blue);
  box-shadow: 0 10px 28px rgba(23, 70, 200, .1);
}

.map-card .map-icon svg { width: 28px; height: 28px; }
.map-card strong { font: 700 18px Manrope, sans-serif; }
.map-card p { margin: 6px 0 0; }
.map-action { margin-top: 16px; color: var(--blue); font-weight: 700; }
.map-action svg { width: 17px; height: 17px; }

.appointment-location { margin-top: 16px; color: #fff; font-size: 13px; font-weight: 700; text-decoration: none; }
.appointment-location svg { width: 18px; height: 18px; color: #ffc14c; }

.footer-location { display: flex !important; gap: 7px; text-decoration: none; }
.footer-location svg { width: 16px; height: 16px; flex: 0 0 auto; margin-top: 2px; }

@media (max-width: 1000px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .map-card { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  .contact-grid { grid-template-columns: 1fr; }
  .map-card { grid-column: auto; }
  .contact-inner { flex-direction: column; justify-content: center; gap: 3px; padding: 4px 0; }
  .location-map-link { white-space: nowrap; }
}

.contact.section { padding-bottom: 80px; }

.site-footer { margin-top: 0; padding-top: 58px; }
.site-footer .footer-grid-simple {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(180px, .7fr) minmax(260px, .9fr);
  gap: clamp(42px, 7vw, 100px);
  align-items: start;
}

.site-footer .footer-brand img {
  width: 190px;
  max-width: 100%;
  height: auto;
  margin-bottom: 18px;
}
.site-footer .footer-brand p { max-width: 470px; }

.site-footer .footer-grid h3 { margin-bottom: 16px; font-size: 16px; }
.site-footer .footer-grid a { font-size: 14px; line-height: 1.55; }

.site-footer .footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.site-footer .footer-links a { margin-bottom: 9px; }

.site-footer .footer-cta p {
  max-width: 310px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, .76);
}
.site-footer .footer-cta .btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

@media (max-width: 900px) {
  .site-footer .footer-grid-simple { grid-template-columns: 1fr 1fr; }
  .site-footer .footer-cta { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .site-footer .footer-grid-simple { grid-template-columns: 1fr; gap: 30px; }
  .site-footer .footer-brand img { width: 165px; }
  .site-footer .footer-cta { grid-column: auto; }
  .site-footer .footer-cta .btn { width: 100%; justify-content: center; }
  .site-footer .footer-bottom { flex-direction: column; gap: 8px; align-items: flex-start; }
}
