.complaint-page {
  background: #f4f7fb;
}

.complaint-hero {
  padding: 68px 0 54px;
  background:
    radial-gradient(circle at 10% 0%, rgba(201, 154, 62, 0.2), transparent 32%),
    linear-gradient(135deg, #14263f 0%, #1f3a5f 58%, #294f78 100%);
  color: #fff;
}

.complaint-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
  gap: 48px;
  align-items: start;
}

.complaint-hero h1 {
  max-width: 760px;
  margin: 16px 0 20px;
  font-size: clamp(38px, 5.4vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.complaint-hero .hero-lead {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.84);
}

.complaint-assurance {
  display: grid;
  gap: 14px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.complaint-assurance li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
}

.complaint-assurance li::before {
  content: "✓";
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #f4c86f;
  font-weight: 800;
}

.complaint-form-card {
  padding: 30px;
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 30px 70px rgba(7, 18, 33, 0.28);
}

.complaint-form-card h2 {
  margin: 0 0 6px;
  font-size: 28px;
}

.complaint-form-card > p {
  margin: 0 0 20px;
  color: var(--muted);
}

.complaint-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.complaint-field {
  display: grid;
  gap: 7px;
}

.complaint-field[hidden] {
  display: none !important;
}

.complaint-field.full,
.complaint-consent,
.complaint-form .form-message,
.complaint-form .form-actions {
  grid-column: 1 / -1;
}

.complaint-field label,
.complaint-consent {
  color: #34445a;
  font-size: 14px;
  font-weight: 700;
}

.complaint-field input,
.complaint-field select,
.complaint-field textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid #cfd9e7;
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.complaint-field input,
.complaint-field select {
  padding: 0 13px;
}

.complaint-field textarea {
  min-height: 118px;
  padding: 12px 13px;
  resize: vertical;
}

.complaint-field input:focus,
.complaint-field select:focus,
.complaint-field textarea:focus {
  outline: 3px solid rgba(46, 91, 141, 0.14);
  border-color: var(--blue-2);
}

.complaint-consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  font-weight: 500;
}

.complaint-consent input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
}

.complaint-consent a {
  color: var(--blue-2);
  text-decoration: underline;
}

.complaint-form .form-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

.complaint-form .form-actions small {
  color: var(--muted);
  line-height: 1.35;
}

.complaint-form .form-message {
  margin: 0;
  background: rgba(47, 111, 95, 0.1);
  color: var(--green);
}

.complaint-form .form-message.is-error {
  background: rgba(150, 45, 45, 0.1);
  color: #962d2d;
}

.complaint-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.complaint-paths {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.complaint-path {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.complaint-path strong {
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 20px;
}

.complaint-process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  counter-reset: steps;
}

.complaint-process article {
  padding: 22px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(17, 31, 51, 0.07);
  counter-increment: steps;
}

.complaint-process article::before {
  content: counter(steps);
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
}

.complaint-process h3 {
  margin: 0 0 8px;
}

.complaint-member-hero .complaint-hero-grid {
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
}

@media (max-width: 980px) {
  .complaint-hero-grid,
  .complaint-member-hero .complaint-hero-grid {
    grid-template-columns: 1fr;
  }

  .complaint-form-card {
    max-width: 760px;
  }

  .complaint-process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .complaint-hero {
    padding: 42px 0 38px;
  }

  .complaint-form-card {
    padding: 20px;
  }

  .complaint-form,
  .complaint-paths,
  .complaint-process {
    grid-template-columns: 1fr;
  }

  .complaint-form .form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .complaint-form .form-actions .btn {
    width: 100%;
  }
}

/* A calm consumer-facing entrance: the form remains the main action, not a legal-office visual. */
.complaint-page { background: #f7f7f3; }
.complaint-hero { position: relative; overflow: hidden; color: var(--ink); background: #eef2ee; }
.complaint-hero::before { content: ""; position: absolute; width: 560px; height: 560px; right: -230px; top: -290px; border-radius: 50%; background: #dbe8df; }
.complaint-hero-grid { position: relative; z-index: 1; }
.complaint-hero .hero-lead { color: #596773; }
.complaint-assurance li::before { background: #fff; color: var(--burgundy); box-shadow: 0 5px 14px rgba(24,35,51,.08); }
.complaint-form-card { border-radius: 24px 8px 24px 8px; box-shadow: 0 24px 60px rgba(24,35,51,.14); }
.complaint-path, .complaint-process article { border-radius: 16px 6px 16px 6px; }

.complaint-hero { padding: 54px 0 46px; }
.complaint-form-card { padding: 24px; }
.complaint-path, .complaint-process article { padding: 20px; }
