/* ── Header ── */
.nvi-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
}
.nvi-header__inner {
  max-width: 1500px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
}
.nvi-header__logo {
  flex-shrink: 0;
}
.nvi-header__logo img {
  display: block;
  height: 39px;
  width: auto;
}
.nvi-header__nav {
  flex: 1;
  display: flex;
  justify-content: center;
}
.nvi-nav {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.25rem;
}
.nvi-nav > li > a,
.nvi-nav__dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.75rem;
  font-family: 'Modica', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #000;
  text-decoration: none;
  border: none;
  background: none;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
  line-height: 1;
}
.nvi-nav > li > a:hover,
.nvi-nav > li > a:focus,
.nvi-nav__dropdown-toggle:hover,
.nvi-nav__dropdown-toggle:focus {
  color: #2A6AE8;
  border-bottom-color: #2A6AE8;
}
.nvi-nav__dropdown-toggle svg {
  transition: transform 0.2s;
  position: relative;
  top: 1px;
}

/* Dropdown */
.nvi-nav__has-dropdown {
  position: relative;
}
.nvi-nav__dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  border-radius: 6px;
  list-style: none;
  margin: 0.25rem 0 0;
  padding: 0.5rem 0;
  z-index: 100;
}
.nvi-nav__has-dropdown.is-open > .nvi-nav__dropdown {
  display: block;
}
.nvi-nav__dropdown-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}
.nvi-nav__dropdown li a {
  display: block;
  padding: 0.6rem 1.25rem;
  font-family: 'Modica', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #000;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.nvi-nav__dropdown li a:hover,
.nvi-nav__dropdown li a:focus {
  background: #f5f5f5;
  color: #2A6AE8;
}

/* Burger (mobile) */
.nvi-header__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.nvi-header__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #000;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nvi-header__burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nvi-header__burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nvi-header__burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Footer ── */
.nvi-footer {
  background: #373839;
  color: #ccc;
  font-family: 'Roboto', sans-serif;
  font-size: 0.9rem;
  line-height: 1.6;
}
.nvi-footer a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.2s;
}
.nvi-footer a:hover { color: #fff; }
.nvi-footer strong { color: #fff; }
.nvi-footer__inner {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.nvi-footer__widgets .nvi-footer__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.nvi-footer__logo {
  max-width: 200px;
  height: auto;
  display: block;
}
.nvi-footer__col p { margin: 0.5rem 0 0; }
.nvi-footer__social {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding-top: 0.25rem;
}
.nvi-footer__social a {
  color: #999;
  transition: color 0.2s;
}
.nvi-footer__social a:hover { color: #fff; }
.nvi-footer__copyright {
  background: #222;
  border-top: 1px solid #333;
}
.nvi-footer__copyright .nvi-footer__inner {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  font-size: 0.8rem;
  color: #999;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .nvi-header__inner { justify-content: space-between; }
  .nvi-header__burger { display: flex; }
  .nvi-header__nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    padding: 1rem 0;
    z-index: 100;
  }
  .nvi-header__nav.is-open { display: block; }
  .nvi-nav {
    flex-direction: column;
    gap: 0;
  }
  .nvi-nav > li > a,
  .nvi-nav__dropdown-toggle {
    padding: 0.75rem 1.5rem;
    width: 100%;
    text-align: left;
    border-bottom: none;
  }
  .nvi-nav__dropdown {
    position: static;
    box-shadow: none;
    border-radius: 0;
    margin: 0;
    background: #f9f9f9;
  }
  .nvi-nav__dropdown li a {
    padding-left: 2.5rem;
  }
  .nvi-footer__widgets .nvi-footer__inner {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .nvi-footer__widgets .nvi-footer__inner {
    grid-template-columns: 1fr;
  }
}
