.hf-container {
  width: min(1200px, 94%);
  margin: 0 auto;
}

body {
  margin: 0;
}

.site-header,
.site-footer {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-header a,
.site-footer a {
  text-decoration: none;
}

.top-bar {
  background: #2f5a8f;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
}

.top-bar-inner {
  min-height: 44px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}

.top-bar-inner .top-link:first-child {
  justify-self: start;
}

.top-bar-inner .top-link:nth-child(2) {
  justify-self: center;
}

.top-bar-inner .top-text {
  justify-self: end;
}

.top-link,
.top-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ffffff;
  white-space: nowrap;
}

.wa-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: #ffffff;
  font-size: 12px;
  line-height: 1;
}

.main-nav {
  background: rgba(45, 75, 113, 0.9);
}

.nav-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  color: #ffffff;
  font-size: 34px;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0.3px;
  margin-right: auto;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.primary-nav a {
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
}

.quote-btn {
  margin-left: 6px;
  background: #2a78c4;
  color: #ffffff;
  border-radius: 5px;
  font-weight: 700;
  font-size: 16px;
  padding: 12px 20px;
  white-space: nowrap;
}

.site-footer {
  background: #345d90;
  color: #ffffff;
}

.footer-top {
  padding: 58px 0 50px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
  text-align: center;
}

.footer-col h3 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.15;
}

.footer-col p {
  margin: 0;
  font-size: 16px;
  line-height: 1.35;
}

.footer-col p + p {
  margin-top: 5px;
}

.footer-col a {
  color: #ffffff;
}

.footer-bottom {
  background: #214d80;
}

.footer-bottom-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-bottom p {
  margin: 0;
  font-size: 15px;
}

.footer-bottom nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-bottom nav a {
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
}

@media (max-width: 1100px) {
  .top-bar-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 8px 0;
  }

  .top-bar-inner .top-link:first-child,
  .top-bar-inner .top-link:nth-child(2),
  .top-bar-inner .top-text {
    justify-self: center;
  }

  .nav-inner {
    min-height: auto;
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 0;
  }

  .brand {
    margin: 0;
    font-size: 30px;
  }

  .primary-nav a,
  .quote-btn {
    font-size: 15px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    text-align: left;
  }

  .footer-col h3 {
    font-size: 17px;
  }

  .footer-col p,
  .footer-bottom p,
  .footer-bottom nav a {
    font-size: 14px;
  }
}

@media (max-width: 680px) {
  .top-bar {
    font-size: 13px;
  }

  .primary-nav {
    gap: 12px;
  }

  .quote-btn {
    padding: 10px 14px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-top {
    padding: 34px 0;
  }

  .footer-bottom-inner {
    min-height: auto;
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 0;
  }

  .footer-bottom nav {
    gap: 16px;
    flex-wrap: wrap;
  }
}
