/*
  Genesis41 Solutions — top nav service tabs as separate buttons.
  Colors and radii come from the live Tailwind theme:
    brand-navy #1A2B4C, brand-navy-hover #111C33,
    brand-orange #F58220, brand-border #E2E8F0,
    rounded-lg 0.5rem, Inter.
  Gold #C4A35A is not in the live CSS and is not used.
*/

.nav-tabs {
  gap: 0.25rem;
}

.nav-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  white-space: nowrap;
  padding: 0.375rem 0.5rem;
  border: 1px solid #E2E8F0;
  border-radius: 0.5rem;
  background-color: rgba(255, 255, 255, 0.9);
  color: #1A2B4C;
  font-family: Inter, sans-serif;
  font-weight: 600;
  font-size: 13px;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(26, 43, 76, 0.06);
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.nav-tab:hover {
  background-color: rgba(245, 130, 32, 0.12);
  border-color: #F58220;
  color: #F58220;
}

.nav-tab:focus {
  outline: none;
}

.nav-tab:focus-visible {
  outline: 2px solid #F58220;
  outline-offset: 2px;
}

.nav-tab:active {
  background-color: #111C33;
  border-color: #111C33;
  color: #ffffff;
}

.nav-tab[aria-current="page"],
.nav-tab.nav-tab-current {
  background-color: #1A2B4C;
  border-color: #1A2B4C;
  color: #ffffff;
  font-weight: 600;
}

.nav-tab[aria-current="page"]:hover,
.nav-tab.nav-tab-current:hover {
  background-color: #111C33;
  border-color: #111C33;
  color: #ffffff;
}

.nav-tab[aria-current="page"]:focus-visible,
.nav-tab.nav-tab-current:focus-visible {
  outline: 2px solid #F58220;
  outline-offset: 2px;
}

/* Mobile overlay service items: same button language, larger tap targets. */
.nav-tab-mobile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid #E2E8F0;
  border-radius: 0.5rem;
  background-color: rgba(255, 255, 255, 0.95);
  color: #1A2B4C;
  font-family: Inter, sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.3;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(26, 43, 76, 0.06);
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.nav-tab-mobile:hover,
.nav-tab-mobile:active {
  background-color: rgba(245, 130, 32, 0.12);
  border-color: #F58220;
  color: #F58220;
}

.nav-tab-mobile:focus {
  outline: none;
}

.nav-tab-mobile:focus-visible {
  outline: 2px solid #F58220;
  outline-offset: 2px;
}

.nav-tab-mobile[aria-current="page"],
.nav-tab-mobile.nav-tab-current {
  background-color: #1A2B4C;
  border-color: #1A2B4C;
  color: #ffffff;
}

.nav-tab-mobile[aria-current="page"]:hover,
.nav-tab-mobile.nav-tab-current:hover {
  background-color: #111C33;
  border-color: #111C33;
  color: #ffffff;
}

@media (min-width: 1440px) {
  .nav-tabs {
    gap: 0.375rem;
  }

  .nav-tab {
    padding: 0.375rem 0.625rem;
  }
}
