.grv-hero {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.grv-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.grv-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(38, 50, 56, 0.52);
}

.grv-hero-copy {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 0 16px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.grv-hero-copy h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.grv-hero-copy p {
  margin: 6px 0 0;
  font-size: 13px;
  opacity: 0.92;
}

.grv-wrap {
  max-width: 1080px;
  margin: 24px auto 40px;
  padding: 0 16px;
  color: #293955;
  font-size: 13px;
  line-height: 1.55;
}

.grv-kicker {
  display: inline-block;
  margin-bottom: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #fff4e8;
  color: #c05612;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.grv-wrap h2 {
  font-size: 18px;
  margin: 0 0 8px;
  color: #293955;
}

.grv-intro,
.grv-process {
  margin-bottom: 22px;
}

.grv-intro p,
.grv-card-lead {
  margin: 0;
  color: #5b6578;
  font-size: 13px;
}

.grv-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.grv-steps-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.grv-step {
  background: #fff;
  border: 1px solid #eceff5;
  border-radius: 10px;
  padding: 14px 12px 12px;
  box-shadow: 0 6px 14px rgba(41, 57, 85, 0.05);
  position: relative;
}

.grv-step::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: #f57c07;
  border-radius: 10px 10px 0 0;
}

.grv-step-no {
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  background: #293955;
  color: #fff;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 8px;
}

.grv-step h3 {
  font-size: 14px;
  margin: 0 0 6px;
}

.grv-step p {
  margin: 0;
  color: #5b6578;
  font-size: 12px;
}

.grv-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 14px;
  align-items: start;
}

.grv-card {
  background: #fff;
  border: 1px solid #eceff5;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(41, 57, 85, 0.06);
  padding: 16px;
}

.grv-card-lead {
  margin-bottom: 12px;
}

.grv-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 12px;
}

.grv-field-full {
  grid-column: 1 / -1;
}

.grv-field label {
  display: block;
  margin-bottom: 4px;
  font-weight: 600;
  font-size: 12px;
}

.grv-card input[type="text"],
.grv-card input[type="email"],
.grv-card input[type="file"],
.grv-card select,
.grv-card textarea,
.grv-track input {
  width: 100%;
  max-width: 100%;
  border: 1px solid #e3e7ef;
  outline: none;
  background: #f7f8fb;
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 13px;
  color: #293955;
}

.grv-card input:focus,
.grv-card select:focus,
.grv-card textarea:focus,
.grv-track input:focus {
  border-color: #f57c07;
  background: #fff;
}

.grv-card textarea {
  min-height: 88px;
  resize: vertical;
}

.grv-card small {
  display: block;
  margin-top: 4px;
  color: #7b8494;
  font-size: 11px;
}

.grv-card button,
.grv-track button {
  margin-top: 12px;
  background: #293955;
  color: #fff;
  border: 0;
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 13px;
  cursor: pointer;
}

.grv-card button:hover,
.grv-track button:hover {
  background: #1d2a40;
}

.grv-track {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.grv-track input {
  flex: 1;
}

.grv-track button {
  margin-top: 0;
  white-space: nowrap;
}

.grv-alert {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 14px;
  font-size: 13px;
}

.grv-alert-ok {
  background: #e8f7ee;
  color: #146c2e;
  border: 1px solid #b7e4c7;
}

.grv-alert-err {
  background: #fdecea;
  color: #8a1c13;
  border: 1px solid #f5c2c0;
}

.grv-wa {
  color: #146c2e;
  font-weight: 700;
  font-size: 12px;
}

.grv-status {
  margin-top: 14px;
  background: #f7f8fb;
  border-radius: 8px;
  padding: 12px;
}

.grv-status-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  margin-bottom: 10px;
  font-size: 13px;
}

.grv-status dl {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 10px;
}

.grv-status dt {
  font-size: 11px;
  color: #7b8494;
  font-weight: 600;
}

.grv-status dd {
  margin: 2px 0 0;
  font-size: 12px;
  word-break: break-word;
}

.grv-status-full {
  grid-column: 1 / -1;
}

.grv-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: #dbe3f0;
  color: #293955;
}

.grv-badge-responded,
.grv-badge-resolved,
.grv-badge-closed {
  background: #d8f3dc;
  color: #146c2e;
}

.grv-badge-under_review,
.grv-badge-in_progress {
  background: #fff3cd;
  color: #856404;
}

.grv-badge-escalated {
  background: #ffe8cc;
  color: #9a3412;
}

.grv-otp,
.grv-reopen {
  margin-top: 12px;
}

.grv-otp p {
  margin: 0 0 8px;
  font-size: 12px;
}

.grv-otp input {
  width: 140px;
  margin-right: 8px;
}

.grv-reopen button {
  background: #fff;
  color: #9a3412;
  border: 1px solid #f3d0bf;
}

.grv-status-empty {
  color: #8a1c13;
  font-size: 12px;
}

@media (max-width: 991.98px) {
  .grv-hero {
    height: 170px;
  }

  .grv-hero-copy h1 {
    font-size: 22px;
  }

  .grv-steps,
  .grv-steps-5,
  .grv-grid,
  .grv-fields,
  .grv-status dl {
    grid-template-columns: 1fr;
  }

  .grv-card-status {
    order: -1;
  }
}

@media (max-width: 767.98px) {
  .grv-hero {
    height: 140px;
  }

  .grv-hero-copy h1 {
    font-size: 20px;
  }

  .grv-hero-copy p,
  .grv-wrap,
  .grv-intro p,
  .grv-card-lead,
  .grv-card input,
  .grv-card select,
  .grv-card textarea,
  .grv-track input,
  .grv-card button,
  .grv-track button {
    font-size: 12px;
  }

  .grv-wrap h2 {
    font-size: 16px;
  }

  .grv-track {
    flex-direction: column;
    align-items: stretch;
  }

  .grv-status-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .grv-wrap {
    padding: 0 12px;
    margin-top: 16px;
  }

  .grv-card,
  .grv-step {
    padding: 12px;
  }
}
