/* ===== STATES HERO ===== */
.states-hero {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  padding: 80px 0 60px;
  text-align: center;
  color: #ffffff;
}

.states-hero h1 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 12px;
}

.states-hero p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== SEARCH ===== */
.states-search-section {
  padding: 40px 0 0;
  background: #f8fafc;
}

.state-search-box {
  max-width: 500px;
  margin: 0 auto;
}

.state-search-input {
  width: 100%;
  padding: 16px 24px;
  font-size: 16px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  outline: none;
  transition: border-color 0.2s;
  font-family: inherit;
  box-sizing: border-box;
}

.state-search-input:focus {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* ===== STATE GRID ===== */
.states-grid-section {
  padding: 40px 0 80px;
}

.states-grid-section h2 {
  text-align: center;
  font-size: 28px;
  color: var(--blue-900);
  margin-bottom: 8px;
}

.states-grid-section .section-subtitle {
  text-align: center;
  color: var(--slate-500);
  font-size: 16px;
  margin-bottom: 40px;
}

.state-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.state-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 12px;
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
}

.state-card:hover {
  border-color: var(--blue-600);
  background: var(--blue-50);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.15);
}

.state-abbr {
  font-size: 24px;
  font-weight: 800;
  color: var(--blue-600);
  margin-bottom: 4px;
}

.state-card:hover .state-abbr {
  color: var(--blue-900);
}

.state-name {
  font-size: 12px;
  font-weight: 500;
  color: var(--slate-500);
  text-align: center;
}

.state-card:hover .state-name {
  color: var(--blue-700);
}

/* ===== STATES CTA ===== */
.states-cta {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  padding: 60px 0;
  text-align: center;
  color: #ffffff;
}

.states-cta h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
  color: #ffffff;
}

.states-cta p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 550px;
  margin: 0 auto 30px;
  line-height: 1.7;
}

.states-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-blue-outline {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  border: 2px solid #ffffff;
  border-radius: 8px;
  color: #ffffff;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-blue-outline:hover {
  background: #ffffff;
  color: var(--blue-900);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .states-hero { padding: 60px 0 40px; }
  .states-hero h1 { font-size: 30px; }
  .states-hero p { font-size: 15px; }

  .state-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .state-card { padding: 14px 8px; }
  .state-abbr { font-size: 20px; }
  .state-name { font-size: 11px; }

  .states-cta h2 { font-size: 24px; }
  .states-cta p { font-size: 15px; }
}

@media (max-width: 480px) {
  .state-grid { grid-template-columns: repeat(2, 1fr); }
}