/* ======= RESET / BASE ======= */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, sans-serif;
  background: #f5f5f5;
  color: #222;
  line-height: 1.6;
}

.container {
  width: min(1200px, 100%);
  margin-inline: auto;
  padding-inline: 16px;
}

/* ======= HEADER / NAV ======= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: rgba(255, 123, 0, 0.92);
  backdrop-filter: blur(6px);
  box-shadow: 0 1px 6px rgba(0,0,0,0.12);
}
.nav-inner {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.1;
}
.nav {
  flex: 1;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 14px;
  list-style: none;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.nav-link,
.nav-list li a,
.nav-list li button {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background .2s ease;
  font-size: .95rem;
}
.nav-link:hover,
.nav-list li a:hover,
.nav-list li button:hover {
  background: rgba(0,0,0,.15);
}

/* territories dropdown */
.nav-item {
  position: relative;
}
.nav-item.has-dropdown .dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 14px 24px rgba(0,0,0,.12);
  min-width: 220px;
  list-style: none;
  padding: 6px 0;
  z-index: 10000; /* so it fully overlays below text */
}
.nav-item.has-dropdown.open .dropdown {
  display: block;
}
.dropdown li a {
  display: block;
  padding: 10px 14px;
  color: #333;
  text-decoration: none;
  transition: background .15s ease;
}
.dropdown li a:hover {
  background: #ff7b00;
  color: #fff;
}

/* ======= STATES GRID (10 + 10 + 8) ======= */
.states-section {
  background: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,.05);
}
.states-section .container {
  padding: 14px 16px 10px;
}
.states-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr); /* force 10 per row on large screens */
  gap: 6px;
}
.states-grid a {
  display: inline-block;
  text-align: center;
  background: #ff9933;
  color: #fff;
  text-decoration: none;
  padding: 6px 8px;
  border-radius: 6px;
  font-size: .86rem;
  font-weight: 600;
  transition: background .15s ease, transform .15s ease;
}
.states-grid a:hover {
  background: #ff6600;
  transform: translateY(-1px);
}

/* ======= HERO ======= */
.hero {
  background: linear-gradient(90deg, #ff9933 0%, #ffffff 50%, #138808 100%);
  color: #222;
  text-align: center;
  padding: 70px 0 60px;
  box-shadow: 0 1px 0 rgba(0,0,0,.05);
}
.hero h1 {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 10px;
}
.hero p {
  font-size: 1.05rem;
  max-width: 820px;
  margin: 0 auto;
  color: #333;
}

/* ======= CONTENT CARDS ======= */
.content-section {
  padding: 32px 0 48px;
}
.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0,0,0,.12);
}
.card h2 {
  color: #ff7b00;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

/* ======= QUOTE ======= */
.quote {
  background: #138808;
  color: #fff;
  text-align: center;
  font-weight: 700;
  padding: 20px 0;
  margin-bottom: 60px;
}

/* ======= FOOTER ======= */
.footer {
  background: #ff7b00;
  color: #fff;
  text-align: center;
  padding: 14px 0;
  font-size: .9rem;
}

/* ======= RESPONSIVE ======= */
@media (max-width: 1280px) {
  .states-grid {
    grid-template-columns: repeat(8, 1fr);
  }
}
@media (max-width: 1024px) {
  .states-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}
@media (max-width: 768px) {
  .nav-list { justify-content: flex-start; }
  .states-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .hero h1 { font-size: 1.9rem; }
}
@media (max-width: 480px) {
  .states-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero h1 { font-size: 1.6rem; }
}
