/* Shared DNS public footer — loaded by includes/public_footer_v2.html */

.hv2-footer {
  --navy: #0a1931;
  flex-shrink: 0;
  margin-top: auto;
  padding: 1.75rem 1.25rem;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.55);
  font-family: "Montserrat", "Segoe UI", sans-serif;
}

.hv2-footer-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hv2-footer p { margin: 0; font-size: 0.85rem; }

.hv2-footer--full { padding: 3rem 1.5rem 0; }

.hv2-footer-full-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.hv2-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr) 1.2fr;
  gap: 1.5rem 1.25rem;
  padding-bottom: 2.25rem;
}

.hv2-footer-logo {
  height: 36px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  margin-bottom: 0.85rem;
  display: block;
}

.hv2-footer-logo-mark {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.hv2-footer-logo-mark svg {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
}

.hv2-footer-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hv2-footer-logo-text .w1 { font-size: 0.9rem; color: #fff; }
.hv2-footer-logo-text .w2 { font-size: 0.8rem; color: rgba(255, 255, 255, 0.65); margin-top: 2px; }

.hv2-footer-brand strong {
  display: block;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}

.hv2-footer-brand p {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  line-height: 1.55;
  max-width: 16rem;
  color: rgba(255, 255, 255, 0.72);
}

.hv2-social {
  display: flex;
  gap: 0.55rem;
}

.hv2-social a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: grid;
  place-items: center;
  color: #fff;
  transition: background 0.15s, border-color 0.15s;
}

.hv2-social a:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.hv2-social svg { width: 14px; height: 14px; }

.hv2-footer h4 {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}

.hv2-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.hv2-footer li a {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}

.hv2-footer li a:hover { color: #fff; }

.hv2-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.8rem;
  line-height: 1.4;
  margin-bottom: 0.55rem;
  color: rgba(255, 255, 255, 0.72);
}

.hv2-contact svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.65);
}

.hv2-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 0;
  display: flex;
  justify-content: flex-end;
}

.hv2-footer-bottom p {
  margin: 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 980px) {
  .hv2-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .hv2-footer--full { padding: 2.5rem 1.25rem 0; }
  .hv2-footer-grid { grid-template-columns: 1fr 1fr; gap: 1.75rem 1rem; }
  .hv2-footer-brand {
    grid-column: 1 / -1;
    text-align: center;
  }
  .hv2-footer-brand .hv2-footer-logo,
  .hv2-footer-brand .hv2-footer-logo-mark {
    margin: 0 auto 0.9rem;
  }
  .hv2-footer-brand p { margin-left: auto; margin-right: auto; }
  .hv2-social { justify-content: center; }
  .hv2-footer-grid > :last-child:nth-child(even) {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc(50% - 0.5rem);
  }
  .hv2-footer-bottom { justify-content: center; }
  .hv2-footer-bottom p { text-align: center; }
  .hv2-footer-grid > div:not(.hv2-footer-brand) {
    text-align: center;
  }
  .hv2-footer-grid > div:not(.hv2-footer-brand) ul {
    align-items: center;
  }
  .hv2-contact li {
    justify-content: center;
  }
}
