.n-site-footer {
  background: #050505;
  color: var(--white, #ffffff);
}

.n-footer-main {
  display: grid;
  grid-template-columns: minmax(300px, 30.5%) minmax(0, 69.5%);
  min-height: 350px;
}

.n-footer-contact-panel {
  padding: 50px clamp(34px, 7.5vw, 108px) 42px;
  background: #fffdf1;
  color: var(--crimson, #013d78);
}

.n-footer-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 24px;
}

.n-footer-logo img {
  width: min(170px, 58vw);
  height: auto;
  display: block;
}

.n-footer-contact-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  color: var(--crimson2, #1f67ae);
  font-size: 0.74rem;
  font-weight: 900;
  line-height: 1;
}

.n-footer-contact-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(31,103,174,0.28);
}

.n-footer-contact {
  display: grid;
  gap: 18px;
}

.n-footer-contact p {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin: 0;
  color: var(--crimson, #013d78);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
}

.n-footer-contact i {
  width: 22px;
  padding-top: 2px;
  color: var(--crimson, #013d78);
  font-size: 1rem;
  text-align: center;
}

.n-footer-contact a {
  color: var(--crimson, #013d78);
  text-decoration: none;
}

.n-footer-contact a:hover {
  text-decoration: underline;
}

.n-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 22px;
}

.n-footer-social a {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--crimson2, #1f67ae);
  color: #fffdf1;
  font-size: 0.66rem;
  line-height: 1;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.n-footer-social a:hover {
  background: var(--crimson, #013d78);
  transform: translateY(-2px);
}

.n-footer-links-panel {
  padding: 50px clamp(34px, 6vw, 82px) 34px;
  background: linear-gradient(135deg, #1664b1 0%, #0d4883 42%, #09325b 100%);
}

.n-footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(36px, 5vw, 86px);
  max-width: 920px;
}

.n-footer-link-col h3 {
  margin: 0 0 18px;
  padding-bottom: 11px;
  border-bottom: 1px solid rgba(255,255,255,0.62);
  color: var(--white, #ffffff);
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1;
}

.n-footer-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: inherit;
  text-align: left;
}

.n-footer-toggle i {
  display: none;
  font-size: 0.78rem;
  transition: transform 0.22s ease;
}

.n-footer-links ul {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.n-footer-links a {
  color: rgba(255,255,255,0.92);
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1.15;
  text-decoration: none;
}

.n-footer-links a:hover {
  color: var(--white, #ffffff);
  text-decoration: underline;
}

.n-footer-join {
  width: fit-content;
  min-width: 148px;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 26px;
  padding: 8px 18px;
  border-radius: 3px;
  background: #fffdf1;
  color: var(--crimson, #013d78) !important;
  font-size: 0.58rem !important;
  font-weight: 900 !important;
  letter-spacing: 1.5px;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none !important;
}

.n-footer-join:hover {
  background: var(--white, #ffffff);
}

.n-footer-bottom {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 16px;
  border-bottom: 8px solid #1c1c1c;
  background: #050505;
  color: rgba(255,255,255,0.62);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.2px;
  text-align: center;
  text-transform: uppercase;
}

@media (min-width: 576px) {
  .n-footer-panel {
    display: block !important;
    height: auto !important;
    visibility: visible;
  }
}

@media (max-width: 991px) {
  .n-footer-main {
    grid-template-columns: 1fr;
  }

  .n-footer-contact-panel,
  .n-footer-links-panel {
    padding: 34px 22px;
  }

  .n-footer-links {
    max-width: none;
    gap: 28px;
  }
}

@media (max-width: 575px) {
  .n-footer-contact-panel {
    padding: 30px 18px 26px;
  }

  .n-footer-links-panel {
    padding: 24px 18px 28px;
  }

  .n-footer-logo img {
    width: 150px;
  }

  .n-footer-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .n-footer-link-col {
    border-bottom: 1px solid rgba(255,255,255,0.24);
  }

  .n-footer-link-col h3 {
    margin: 0;
    padding: 0;
    border-bottom: 0;
  }

  .n-footer-toggle {
    min-height: 48px;
    padding: 14px 0;
    font-size: 0.9rem;
  }

  .n-footer-toggle i {
    display: inline-flex;
  }

  .n-footer-toggle:not(.collapsed) i {
    transform: rotate(180deg);
  }

  .n-footer-panel {
    display: block !important;
    max-height: 0;
    overflow: hidden;
    padding-bottom: 0;
    opacity: 0;
    transition: max-height 0.28s ease, opacity 0.22s ease, padding-bottom 0.22s ease;
  }

  .n-footer-panel.show {
    max-height: 900px;
    padding-bottom: 18px;
    opacity: 1;
  }

  .n-footer-links ul {
    gap: 6px;
  }

  .n-footer-links a {
    font-size: 0.78rem;
  }

  .n-footer-join {
    margin-top: 18px;
  }

  .n-footer-bottom {
    font-size: 0.68rem;
    line-height: 1.5;
  }
}
