.home-safety-hero {
  background: radial-gradient(circle at top left, rgba(239,75,35,.15), transparent 34%), linear-gradient(135deg, #ffffff 0%, #eef4ff 100%);
  padding: 54px 0 36px;
}

.home-safety-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr);
  gap: 28px;
  align-items: center;
}

.home-safety-hero h1 {
  max-width: 780px;
}

.hero-callout {
  background: #111827;
  color: #ffffff;
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.hero-callout h2 {
  color: #ffffff;
  margin-bottom: 10px;
}

.problem-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.problem-list span,
.home-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  padding: 9px 12px;
  color: #edf2ff;
  font-weight: 700;
}

.safety-category-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: -18px;
  position: relative;
  z-index: 4;
}

.safety-category-card {
  border: 1px solid var(--line);
  background: #ffffff;
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 12px 32px rgba(24,32,51,.06);
  cursor: pointer;
  text-align: left;
}

.safety-category-card span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: #fff2ed;
  font-size: 24px;
  margin-bottom: 12px;
}

.safety-category-card h3 {
  font-size: 17px;
  line-height: 1.2;
  margin-bottom: 8px;
}

.safety-category-card p {
  color: var(--muted);
  line-height: 1.5;
  font-size: 14px;
  margin-bottom: 0;
}

.safety-category-card:hover,
.safety-category-card.active {
  border-color: #8b3f1f;
  background: #8b3f1f;
  color: #ffffff;
}

.safety-category-card:hover p,
.safety-category-card.active p {
  color: rgba(255,255,255,.86);
}

.safety-category-card:hover span,
.safety-category-card.active span {
  background: rgba(255,255,255,.16);
}

.problem-section {
  padding: 56px 0;
}

.problem-section--soft {
  background: #ffffff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.problem-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.problem-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 12px 32px rgba(24,32,51,.05);
}

.problem-card--tint {
  background: linear-gradient(135deg, #fff7ed, #eef4ff);
}

.problem-card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid var(--line);
  font-size: 24px;
  margin-bottom: 12px;
}

.problem-card h3 {
  font-size: 20px;
  line-height: 1.2;
}

.problem-card p,
.why-card p,
.how-step p {
  color: var(--muted);
  line-height: 1.6;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.why-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 12px 32px rgba(24,32,51,.05);
}

.why-card span {
  font-size: 28px;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.how-step {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
  position: relative;
}

.how-step strong {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  margin-bottom: 12px;
}

.legacy-categories {
  background: #fbfcff;
}

.track-order-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .9fr);
  gap: 24px;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.track-order-form {
  display: grid;
  gap: 12px;
}

.track-order-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 14px 16px;
  outline: 0;
}

.nav-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--muted);
  border-radius: 999px;
  padding: 9px 14px;
  white-space: nowrap;
  font-weight: 700;
}

.nav-pill:hover,
.nav-pill.active {
  background: #8b3f1f;
  border-color: #8b3f1f;
  color: #ffffff;
}

@media (max-width: 1100px) {
  .safety-category-grid,
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .problem-card-grid,
  .how-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .home-safety-hero__grid,
  .track-order-panel {
    grid-template-columns: 1fr;
  }

  .safety-category-grid,
  .problem-card-grid,
  .why-grid,
  .how-grid {
    grid-template-columns: 1fr;
  }

  .home-safety-hero {
    padding-top: 34px;
  }

  .problem-section {
    padding: 42px 0;
  }
}
