.grievance-page {
  padding: 2rem 0 0 3.5rem;
}

.grievance-page .section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c4dc9;
  margin-bottom: 1rem;
  line-height: 1.25;
}

.grievance-intro {
  max-width: 820px;
  margin: 0 auto 2.5rem;
  text-align: center;
  font-size: 1rem;
  line-height: 1.75;
  color: #555;
}

.grievance-card {
  background: #fff;
  border-radius: 12px;
  padding: 28px 32px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  margin-bottom: 1.75rem;
}

.grievance-section-heading {
  font-size: 1.35rem;
  font-weight: 700;
  color: #2c4dc9;
  margin-bottom: 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 2px solid #eef2fb;
}

.grievance-section-heading span {
  display: inline-block;
  width: 4px;
  height: 1.1em;
  background: #008d95;
  border-radius: 2px;
  margin-right: 10px;
  vertical-align: middle;
}

.grievance-card p,
.grievance-card li {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #444;
}

.complaint-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 1rem 0 1.25rem;
}

.complaint-topic {
  background: #eef7f8;
  color: #008d95;
  border: 1px solid #cce8ea;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.875rem;
  font-weight: 600;
}

.channel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 1.25rem;
}

.channel-card {
  background: #f8fafc;
  border: 1px solid #e8edf3;
  border-radius: 10px;
  padding: 18px 16px;
  height: 100%;
}

.channel-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #2c4dc9;
  margin-bottom: 10px;
}

.channel-card p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #555;
}

.quick-contacts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.quick-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  background: #f8fafc;
  border: 1px solid #e8edf3;
  border-radius: 10px;
}

.quick-contact-item img {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  margin-top: 2px;
}

.quick-contact-item .label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 4px;
}

.quick-contact-item .value {
  font-size: 0.95rem;
  font-weight: 500;
  color: #222;
  line-height: 1.5;
  margin: 0;
}

.grievance-page a {
  color: #008d95;
  text-decoration: none;
  font-weight: 500;
}

.grievance-page a:hover {
  color: #2c4dc9;
  text-decoration: underline;
}

.escalation-timeline {
  position: relative;
  padding-left: 0;
}

.escalation-step {
  position: relative;
  padding: 0 0 1.75rem 3rem;
  border-left: 2px solid #dce4f5;
  margin-left: 2.75rem;
}

.escalation-step:last-child {
  padding-bottom: 0;
  border-left-color: transparent;
}

.escalation-step.escalation-step-header {
  border-left: none;
  padding-bottom: 0.75rem;
}

.escalation-step::before {
  content: attr(data-level);
  position: absolute;
  left: -2.75rem;
  top: 0;
  min-width: 4.5rem;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: #008d95;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  white-space: nowrap;
}

.escalation-step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #2c4dc9;
  margin-bottom: 0.75rem;
}

.escalation-step ul {
  margin: 0 0 0.75rem 1.1rem;
  padding: 0;
}

.escalation-step ul li {
  margin-bottom: 0.4rem;
}

.escalation-step .nested-list {
  margin-top: 0.35rem;
}

.resolution-badge {
  display: inline-block;
  background: #eef7f8;
  color: #008d95;
  border: 1px solid #cce8ea;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 0.25rem;
}

.escalation-note {
  font-size: 0.9rem;
  color: #666;
  font-style: italic;
  margin: 0.5rem 0 0;
}

.grievance-alert {
  background: #fff8e6;
  border: 1px solid #f0dfa0;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.9rem;
  color: #6b5a1e;
  margin-top: 1rem;
}

.grievance-alert strong {
  color: #4a3f10;
}

.external-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 1.25rem;
}

.external-card {
  border: 1px solid #e8edf3;
  border-radius: 10px;
  overflow: hidden;
  height: 100%;
}

.external-card-header {
  background: linear-gradient(135deg, #2c4dc9 0%, #2e52a1 100%);
  color: #fff;
  padding: 14px 18px;
  font-size: 1rem;
  font-weight: 700;
}

.external-card-body {
  padding: 18px;
  background: #fff;
}

.external-card-body ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.external-card-body li {
  margin-bottom: 0.65rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid #f0f2f5;
}

.external-card-body li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.external-card-body .field-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 2px;
}

.external-card-body .address-block {
  line-height: 1.6;
  color: #444;
}

.customer-info-banner {
  /* background: linear-gradient(180deg, #e8f0fb 0%, #f5f9fd 45%, #f5f9fd 55%, #e8f0fb 100%); */
  padding: 2.5rem 0 3rem;
  margin-top: 0.5rem;
}

.customer-info-banner__title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.customer-info-banner__line {
  flex: 1;
  max-width: 280px;
  height: 2px;
  background: #c62828;
  position: relative;
}

.customer-info-banner__line::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c62828;
}

.customer-info-banner__title .customer-info-banner__line:first-child::after {
  right: auto;
  left: 0;
}

.customer-info-banner__badge {
  flex-shrink: 0;
  margin: 0;
  padding: 10px 22px;
  background: #c62828;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 8px;
  line-height: 1.3;
  text-align: center;
  white-space: nowrap;
}

.customer-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.customer-info-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.customer-info-item h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #2c4dc9;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.85rem;
  line-height: 1.35;
}

.customer-info-item p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: #000000;
  margin: 0 0 1.5rem;
  max-width: 240px;
}

.customer-info-icon {
  width: 56px;
  height: 56px;
  color: #2c4dc9;
  margin-top: auto;
}

.customer-info-icon svg {
  width: 100%;
  height: 100%;
}

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

  .customer-info-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 20px;
  }

  .customer-info-banner__line {
    max-width: 80px;
  }
}

@media (max-width: 767.98px) {
  .grievance-page {
    padding: 1rem 0 2.5rem;
  }

  .grievance-page .section-title {
    font-size: 1.5rem;
    padding: 0 0.5rem;
  }

  .grievance-intro {
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
    padding: 0 0.25rem;
  }

  .grievance-card {
    padding: 18px 16px;
    margin-bottom: 1.25rem;
  }

  .grievance-section-heading {
    font-size: 1.15rem;
  }

  .channel-grid,
  .quick-contacts-grid,
  .external-grid {
    grid-template-columns: 1fr;
  }

  .complaint-topic {
    font-size: 0.8rem;
    padding: 6px 12px;
  }

  .escalation-step {
    padding-left: 4.75rem;
    margin-left: 2.25rem;
  }

  .escalation-step::before {
    min-width: 4rem;
    height: 24px;
    left: -2.25rem;
    padding: 0 8px;
    font-size: 0.65rem;
  }

  .customer-info-banner {
    padding: 2rem 0 2.5rem;
  }

  .customer-info-banner__title {
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
  }

  .customer-info-banner__line {
    max-width: 120px;
    width: 100%;
  }

  .customer-info-banner__badge {
    white-space: normal;
    font-size: 0.8rem;
    padding: 8px 16px;
  }

  .customer-info-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .customer-info-item p {
    max-width: 320px;
  }
}
