.dbg-mega-footer {
  --footer-line: #27354a;
  --footer-text: #c1cddd;
  --footer-link: #9aceff;
  padding: 0;
  border-top: 1px solid #4c78af;
  background: radial-gradient(ellipse 70% 300px at 90% 0%, #172f53 0%, #101d32 50%, transparent 100%), #090d15;
  color: var(--footer-text);
  font-size: .94rem;
  line-height: 1.45;
}

.mega-footer__contact {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr) minmax(max-content, .86fr);
  align-items: center;
  gap: 18px 32px;
  min-width: 0;
  padding: clamp(24px, 4.5vw, 50px) 0;
  border-bottom: 1px solid var(--footer-line);
}

.mega-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: clamp(9px, 1.5vw, 18px);
  justify-self: start;
  color: #f5f7fa;
}

.mega-footer__brand img { width: clamp(205px, 24vw, 340px); max-width: 100%; height: auto; }

.mega-footer__address {
  display: grid;
  justify-items: start;
  gap: 3px;
  font-style: normal;
}

.mega-footer__location, .mega-footer__phone, .mega-footer__contact-link {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-height: 26px;
}

.mega-footer__phone { color: #f5f7fa; font-size: 1.075rem; font-weight: 730; }
.mega-footer__action-label { color: var(--footer-link); font-size: .9rem; font-weight: 700; }
.mega-footer__email { display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; }
.mega-footer__email a { color: #d5e8ff; }

.mega-footer__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.mega-footer__contact-link, .mega-footer__section-title a, .mega-footer__more {
  color: var(--footer-link);
  font-weight: 700;
}

.mega-footer__directory {
  padding: clamp(23px, 3.25vw, 42px) 0;
  border-bottom: 1px solid var(--footer-line);
}

.mega-footer__directory--discover { border-bottom-color: #314660; }

.mega-footer__section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin-bottom: 20px;
}

.mega-footer__section-title h2 {
  margin: 0;
  color: #f5f7fa;
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  line-height: 1.05;
}

.mega-footer__section-title a {
  display: inline-flex;
  min-height: 26px;
  gap: 6px;
  align-items: center;
}

.mega-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px clamp(14px, 3vw, 46px);
}

.mega-footer__column { min-width: 0; }

.mega-footer__column h3 {
  margin: 0 0 8px;
  color: #f5f7fa;
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.2;
}

.mega-footer__column ul {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mega-footer__column li a {
  display: inline-block;
  min-height: 26px;
  padding: 3px 0;
  overflow-wrap: anywhere;
}

.mega-footer__more { margin-top: 4px; }
.dbg-mega-footer a:not(.button):hover { text-decoration: underline; text-underline-offset: 4px; }
.dbg-mega-footer a:focus-visible { outline: 2px solid #b5dfff; outline-offset: 3px; }
.dbg-mega-footer .mega-footer__appointment:hover { color: #fff; }

.mega-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 18px;
  padding: 14px 0;
  color: #aebed1;
  font-size: .87rem;
}

.mega-footer__bottom p { margin: 0; }
.mega-footer__bottom-links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.mega-footer__bottom a { display: inline-flex; align-items: center; gap: 8px; min-height: 28px; }

.mega-footer__visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

@media (max-width: 51rem) {
  .mega-footer__contact { grid-template-columns: minmax(max-content, .85fr) minmax(0, 1fr); }
  .mega-footer__actions { grid-column: 1 / -1; justify-content: flex-start; }
}

@media (max-width: 43rem) {
  .mega-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mega-footer__contact { grid-template-columns: minmax(0, 1fr); }
}
