:root {
  color-scheme: light;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  --bg: #f5f7fb;
  --bg-strong: #e7edff;
  --text: #1f2933;
  --muted: #5f6c7b;
  --accent: #2463eb;
  --accent-dark: #1a44a6;
  --accent-soft: rgba(36, 99, 235, 0.12);
  --accent-border: rgba(36, 99, 235, 0.18);
  --card: #ffffff;
  --shadow-soft: 0 18px 45px rgba(15, 31, 62, 0.12);
  --shadow-strong: 0 28px 65px rgba(15, 31, 62, 0.2);
  --radius: 18px;
  --radius-lg: 32px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

[hidden] {
  display: none !important;
}

/* ---------- Global layout ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 247, 251, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15, 31, 62, 0.08);
}

.site-header__inner {
  width: min(1200px, 92%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.85rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.35rem 0.85rem 0.35rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 31, 62, 0.08);
  background: rgba(15, 31, 62, 0.04);
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.brand:hover,
.brand:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(15, 31, 62, 0.18);
  background: rgba(15, 31, 62, 0.08);
  border-color: rgba(15, 31, 62, 0.18);
}

.brand__mark {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: clamp(44px, 8vw, 60px);
  height: clamp(44px, 8vw, 60px);
  border-radius: 20px;
  background: rgba(15, 31, 62, 0.08);
  overflow: hidden;
}

.brand__mark::after {
  content: "";
  display: block;
  width: 74%;
  height: 74%;
  background: url("./assets/jobolinca-logo.svg") center / contain no-repeat;
}

.brand span {
  letter-spacing: 0.08em;
}

.brand__label {
  display: grid;
  gap: 0.2rem;
}

.brand__text {
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: none;
  color: #0b1f44;
}

.brand__tagline {
  font-size: 0.68rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
}

.brand--invert .brand__text {
  color: rgba(255, 255, 255, 0.9);
}

.brand--invert .brand__tagline {
  color: rgba(255, 255, 255, 0.72);
}

.brand--invert .brand__mark {
  background: rgba(255, 255, 255, 0.18);
}

.brand--invert .brand__mark::after {
  filter: brightness(1.2);
}

.brand--compact span {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.brand--compact .brand__label {
  align-items: center;
  text-align: center;
}

.brand--compact .brand__mark {
  width: clamp(38px, 14vw, 52px);
  height: clamp(38px, 14vw, 52px);
}

.brand--invert {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

.brand--invert:hover,
.brand--invert:focus-visible {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.5);
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
  padding: 0.35rem 0;
  color: var(--muted);
  transition: color 0.2s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.45rem;
  height: 2px;
  background: linear-gradient(90deg, #0b3d91, #c53030);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--accent);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.site-nav a.is-active {
  color: var(--accent);
}

.site-nav a.is-active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(15, 31, 62, 0.14);
  background: rgba(15, 31, 62, 0.06);
  padding: 10px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.nav-toggle:focus-visible,
.nav-toggle:hover {
  transform: translateY(-1px);
  background: rgba(15, 31, 62, 0.12);
  border-color: rgba(15, 31, 62, 0.28);
}

.nav-toggle__bar {
  display: block;
  width: 100%;
  height: 2px;
  background: #0b1f44;
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.is-active .nav-toggle__bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle.is-active .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active .nav-toggle__bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ---------- Landing page ---------- */
body.landing-page {
  background: radial-gradient(circle at 20% 0%, rgba(36, 99, 235, 0.12), transparent 55%), var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: 5.5rem;
}

.hero {
  width: min(1200px, 92%);
  margin: clamp(2.5rem, 6vw, 4.8rem) auto 0;
  padding: clamp(2.6rem, 4vw, 4.2rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #102b5d 0%, #15407c 38%, #2463eb 100%);
  color: #ffffff;
  display: grid;
  gap: clamp(2rem, 3.5vw, 3rem);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.22), transparent 58%);
  opacity: 0.85;
  pointer-events: none;
}

.hero__content,
.hero__visual {
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
  opacity: 0.82;
}

.hero__badge {
  margin-top: 1.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.55rem 1.05rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.hero__badge-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  background: rgba(15, 31, 62, 0.45);
  border-radius: 999px;
  padding: 0.3rem 0.65rem;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.5rem, 5.5vw, 3.8rem);
  letter-spacing: -0.02em;
}

.hero__lede {
  margin: 1.1rem 0 0;
  max-width: 60ch;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.04rem;
}

.hero__actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.78rem 1.7rem;
  font-weight: 600;
  text-decoration: none;
  background: var(--accent);
  color: #ffffff;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-strong);
  background: var(--accent-dark);
}

.button--ghost {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: none;
  color: #ffffff;
}

.button--ghost:hover {
  background: rgba(255, 255, 255, 0.24);
}

.button--light {
  background: rgba(36, 99, 235, 0.12);
  color: var(--accent);
  box-shadow: none;
}

.button--light:hover {
  background: rgba(36, 99, 235, 0.18);
  color: var(--accent-dark);
}

.button--subtle {
  background: rgba(255, 255, 255, 0.92);
  color: var(--accent);
  box-shadow: none;
}

.button--subtle:hover {
  background: #ffffff;
  border-color: rgba(36, 99, 235, 0.24);
}

.button--small {
  padding: 0.62rem 1.2rem;
  font-size: 0.92rem;
}

.hero__stats {
  margin-top: 2.4rem;
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.hero__stat {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  padding: 1rem 1.2rem 1.2rem;
  display: grid;
  gap: 0.35rem;
}

.hero__stat dt {
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.72;
}

.hero__stat dd {
  margin: 0;
  font-size: clamp(1.9rem, 2.8vw, 2.6rem);
  font-weight: 700;
}

.hero__stat span {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.75);
}

.hero__visual {
  display: grid;
  gap: 1.2rem;
}

.hero-card {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  padding: 1.9rem;
  box-shadow: 0 20px 45px rgba(12, 30, 68, 0.2);
  backdrop-filter: blur(10px);
  display: grid;
  gap: 0.75rem;
}

.hero-card h3 {
  margin: 0;
  font-size: 1.08rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
}

.hero-card ul {
  margin: 0;
  padding-left: 1.2rem;
  color: rgba(255, 255, 255, 0.86);
  display: grid;
  gap: 0.3rem;
}

.hero-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.96rem;
}

@media (min-width: 960px) {
  .hero {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    align-items: center;
  }
}

@media (max-width: 959px) {
  .site-header__inner {
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    order: 2;
    width: 100%;
    justify-content: center;
    gap: 1.1rem;
    display: none;
    flex-direction: column;
    padding: 0.5rem 0 0.35rem;
  }

  .site-nav.is-open {
    display: inline-flex;
  }

  .hero__badge {
    justify-content: center;
  }

  .hero {
    text-align: center;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__stat {
    text-align: center;
  }
}

@media (max-width: 900px) {
  .data-toolkit__inner {
    grid-template-columns: 1fr;
  }

  .data-toolkit__actions {
    justify-content: center;
  }
}

.landing-main {
  width: min(1200px, 92%);
  margin: 0 auto;
  flex: 1 1 auto;
  display: grid;
  gap: clamp(3rem, 6vw, 4.6rem);
  padding-bottom: clamp(3rem, 7vw, 5.4rem);
}

.insight-grid {
  display: grid;
  gap: 1.6rem;
}

.insight-grid h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  letter-spacing: -0.01em;
}

.insight-grid__cards {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.insight-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 2rem 2.2rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--accent-border);
  display: grid;
  gap: 0.85rem;
}

.insight-card h3 {
  margin: 0;
  font-size: 1.08rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.insight-card p {
  margin: 0;
  color: var(--muted);
}

.insight-card strong {
  color: var(--text);
}

.state-story {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--card);
  padding: clamp(2.4rem, 4vw, 3.4rem);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--accent-border);
}

.state-story::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  width: 100%;
  height: 7px;
  background: linear-gradient(90deg, #0b3d91 0%, #ffffff 45%, #c53030 100%);
}

.state-story__intro {
  max-width: 70ch;
  display: grid;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.state-story__intro h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 2.3rem);
  letter-spacing: -0.01em;
  color: var(--text);
}

.state-story__intro p {
  margin: 0;
  color: var(--muted);
}

.state-story__grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.state-story__card {
  background: linear-gradient(160deg, rgba(36, 99, 235, 0.12), rgba(255, 255, 255, 0.95));
  border-radius: var(--radius);
  padding: 1.8rem 2rem;
  display: grid;
  gap: 0.9rem;
  border: 1px solid rgba(36, 99, 235, 0.16);
  box-shadow: 0 22px 52px rgba(15, 31, 62, 0.12);
}

.state-story__card h3 {
  margin: 0;
  font-size: 1.15rem;
  color: #0b3d91;
  letter-spacing: 0.02em;
}

.state-story__card p {
  margin: 0;
  color: var(--muted);
}

.state-story__list {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.state-story__list li {
  line-height: 1.5;
}

.city-explorer {
  position: relative;
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: clamp(2.2rem, 4vw, 3rem);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--accent-border);
  display: grid;
  gap: 1.8rem;
}

.city-explorer::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at top right, rgba(36, 99, 235, 0.1), transparent 60%);
  pointer-events: none;
}

.city-explorer > * {
  position: relative;
  z-index: 1;
}

.city-explorer__intro h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  letter-spacing: -0.01em;
}

.city-explorer__intro p {
  margin: 0.6rem 0 0;
  color: var(--muted);
  max-width: 62ch;
}

.city-search {
  display: grid;
  gap: 1rem;
}

.city-search__fields {
  display: grid;
  gap: 1rem;
}

.field label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input {
  width: 100%;
  border-radius: 999px;
  padding: 0.82rem 1.1rem;
  border: 1px solid rgba(36, 99, 235, 0.18);
  background: #ffffff;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.city-search__reset {
  align-self: stretch;
  display: flex;
  align-items: flex-end;
}

.city-search__reset button {
  width: 100%;
}

@media (min-width: 720px) {
  .city-search__fields {
    grid-template-columns: minmax(0, 2fr) minmax(0, 2fr) minmax(0, 1fr);
    align-items: end;
  }

  .city-search__reset button {
    justify-content: center;
  }
}

@media (max-width: 719px) {
  .city-search__reset button {
    justify-content: center;
  }
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.chip {
  border-radius: 999px;
  padding: 0.45rem 1.15rem;
  background: rgba(36, 99, 235, 0.1);
  border: 1px solid transparent;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border 0.2s ease, transform 0.2s ease;
}

.chip:hover {
  background: rgba(36, 99, 235, 0.2);
  color: var(--accent);
}

.chip.is-active {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 12px 28px rgba(36, 99, 235, 0.22);
}

.city-count {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.city-count strong {
  color: var(--accent);
}

.city-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.city-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(212, 224, 255, 0.58));
  border-radius: var(--radius);
  padding: 1.6rem 1.8rem 1.9rem;
  box-shadow: 0 22px 45px rgba(15, 31, 62, 0.16);
  border: 1px solid var(--accent-border);
  display: grid;
  gap: 0.9rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.city-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong);
}

.city-card__region {
  display: inline-flex;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(36, 99, 235, 0.16);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.city-card h3 {
  margin: 0;
  font-size: 1.32rem;
  letter-spacing: -0.01em;
  color: #102b5d;
}

.city-card__summary {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.city-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.city-card__tags span {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(36, 99, 235, 0.18);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.82rem;
}

.city-card__actions {
  display: flex;
  justify-content: flex-start;
}

.city-card__actions .button {
  box-shadow: none;
}

.city-empty {
  margin: 0;
  padding: 1rem 1.2rem;
  border-radius: var(--radius);
  background: rgba(36, 99, 235, 0.12);
  color: #102b5d;
  font-weight: 600;
  text-align: center;
}

.data-toolkit {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(11, 61, 145, 0.96), rgba(36, 99, 235, 0.92));
  color: #ffffff;
  padding: clamp(2.6rem, 4vw, 3.8rem);
  box-shadow: var(--shadow-strong);
  overflow: hidden;
}

.data-toolkit::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.18), transparent 58%);
  pointer-events: none;
}

.data-toolkit__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(2rem, 5vw, 3rem);
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  align-items: start;
}

.data-toolkit__eyebrow {
  margin: 0 0 0.8rem;
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.72;
}

.data-toolkit__content h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  letter-spacing: -0.01em;
}

.data-toolkit__content p {
  margin: 1rem 0 0;
  max-width: 60ch;
  color: rgba(255, 255, 255, 0.82);
}

.data-toolkit__actions {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.data-toolkit__actions .button {
  box-shadow: none;
}

.data-toolkit__actions .button--ghost {
  border-color: rgba(255, 255, 255, 0.38);
  color: #ffffff;
}

.data-toolkit__actions .button--ghost:hover {
  background: rgba(255, 255, 255, 0.25);
}

.data-toolkit__actions .button--light {
  color: #0b3d91;
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.6);
}

.data-toolkit__actions .button--light:hover {
  background: #ffffff;
}

.data-toolkit__aside {
  display: grid;
  gap: 1.4rem;
  align-content: start;
}

.data-toolkit__stats {
  margin: 0;
  display: grid;
  gap: 1.6rem;
}

.data-toolkit__stats div {
  padding: 1.2rem 1.4rem;
  border-radius: var(--radius);
  background: rgba(15, 31, 62, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 16px 38px rgba(15, 31, 62, 0.18);
  display: grid;
  gap: 0.55rem;
}

.data-toolkit__stats dt {
  margin: 0;
  font-size: clamp(2.2rem, 3.6vw, 2.9rem);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.data-toolkit__stats dd {
  margin: 0;
  font-size: 0.96rem;
  color: rgba(226, 232, 255, 0.86);
}

.site-footer {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  background: rgba(15, 31, 62, 0.92);
  color: rgba(226, 232, 255, 0.86);
  padding: 2.6rem 0 3rem;
}

.site-footer__inner {
  width: min(1200px, 92%);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.site-footer__links {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.site-footer__motto {
  font-size: 0.85rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(226, 232, 255, 0.7);
}

.site-footer a {
  color: #fbbf24;
  font-weight: 600;
}

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

/* ---------- Shared filter inputs for city & job pages ---------- */
.filter-field {
  display: flex;
}

.filter-field input,
.filter-field select {
  appearance: none;
  border: 1px solid rgba(36, 99, 235, 0.24);
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  font: inherit;
  background: #ffffff;
  min-width: 200px;
  box-shadow: 0 6px 16px rgba(15, 31, 62, 0.08);
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.filter-field input:focus,
.filter-field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 12px 24px rgba(36, 99, 235, 0.22);
}

.filter-reset {
  border: none;
  border-radius: 999px;
  padding: 0.55rem 1.2rem;
  font: inherit;
  font-weight: 600;
  color: var(--accent);
  background: rgba(36, 99, 235, 0.12);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.filter-reset:hover {
  background: rgba(36, 99, 235, 0.2);
  transform: translateY(-1px);
}

.job-controls {
  width: min(1100px, 92%);
  margin: 0 auto 2.5rem;
  display: grid;
  gap: 0.75rem;
}

.job-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.job-hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.job-empty {
  display: none;
  margin: 2rem auto 0;
  padding: 1rem 1.25rem;
  width: min(520px, 90%);
  border-radius: var(--radius);
  background: rgba(36, 99, 235, 0.08);
  color: #102b5d;
  text-align: center;
  font-weight: 600;
}

/* ---------- City detail pages ---------- */
body.city-page {
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.city-page .city-hero {
  padding: 3.2rem 1.5rem 2.6rem;
  background: linear-gradient(145deg, #102b5d, #15407c, #2463eb);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  text-align: center;
}

.city-page .city-hero h1 {
  margin: 0;
  font-size: clamp(2.6rem, 3.8vw + 1.2rem, 4rem);
  letter-spacing: -0.02em;
}

.city-page .city-hero p {
  margin: 0.5rem auto 0;
  max-width: 60ch;
  color: #e5edff;
  font-size: 1.05rem;
}

.city-hero__brand {
  display: flex;
  justify-content: center;
}

.city-hero__brand .brand {
  padding: 0.45rem 1rem 0.45rem 0.75rem;
  box-shadow: 0 14px 32px rgba(15, 31, 62, 0.26);
}

.city-hero__brand .brand span {
  text-transform: uppercase;
  letter-spacing: 0.22em;
}

.city-page main {
  width: min(1100px, 92%);
  margin: 0 auto;
  flex: 1 1 auto;
  padding: 3rem 0 4rem;
}

.city-page .title-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.8rem;
}

.city-page .title-card {
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.97), rgba(212, 224, 255, 0.65));
  border-radius: var(--radius);
  padding: 1.4rem 1.9rem 4.4rem;
  box-shadow: 0 22px 45px rgba(15, 31, 62, 0.14);
  border: 1px solid rgba(36, 99, 235, 0.18);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.city-page .title-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(36, 99, 235, 0.22), transparent 58%);
  opacity: 0.9;
}

.city-page .title-card > *:not(.card-actions) {
  position: relative;
  z-index: 1;
}

.city-page .title-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 65px rgba(15, 31, 62, 0.22);
}

.card-title {
  margin: 0 0 0.6rem;
  font-size: 1.22rem;
  font-weight: 700;
  color: #102b5d;
  letter-spacing: -0.01em;
}

.card-company {
  margin: 0 0 0.45rem;
  font-weight: 600;
  color: var(--accent);
}

.card-location {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.card-category {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(16, 43, 93, 0.86);
}

.card-actions {
  position: absolute;
  left: 1.9rem;
  right: 1.9rem;
  bottom: 1.4rem;
  display: flex;
  justify-content: center;
  z-index: 1;
}

.card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  box-shadow: 0 14px 32px rgba(15, 31, 62, 0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.card-link:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(15, 31, 62, 0.22);
}

.card-title,
.card-company,
.card-location,
.card-category {
  word-break: break-word;
}

.city-page footer {
  padding: 1.5rem 0 2rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 720px) {
  .brand img {
    width: 132px;
    height: auto;
  }

  .site-nav {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .hero__stats {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .city-search__fields {
    grid-template-columns: 1fr;
  }

  .chip {
    width: fit-content;
  }

  .data-toolkit__actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
  }

  .data-toolkit__inner {
    gap: 1.8rem;
  }

  .data-toolkit__actions .button {
    width: 100%;
  }

  .site-footer__inner {
    flex-direction: column;
    text-align: center;
  }

  .site-footer__links {
    justify-content: center;
  }

  .city-page .city-hero {
    padding-bottom: 3rem;
  }

  .city-page .title-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.4rem;
  }

  .job-filter {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-field {
    width: 100%;
  }

  .filter-field input,
  .filter-field select,
  .filter-reset {
    width: 100%;
    min-width: 0;
  }
}

/* ---------- Accessibility helpers ---------- */
.visually-hidden,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
