/* =========================================================
   CANAL DE DENUNCIA
   ========================================================= */

.page-content--complaint-channel {
  width: min(1180px, calc(100% - 140px));
  margin: 84px auto 112px;
}

.page-content--complaint-channel .page-title {
  margin-bottom: 28px !important;
  line-height: 1.02;
  white-space: normal;
}

.complaint-channel__lead {
  width: min(760px, 100%);
  margin: 0 auto 58px;
  color: #6f6f6f;
  font-size: clamp(1.08rem, 1.45vw, 1.34rem);
  font-weight: 300;
  line-height: 1.55;
  text-align: center;
}

.complaint-channel__panel {
  width: min(920px, 100%);
  margin: 0 auto;
  padding: 58px 64px 62px;
  background: #edf5fa;
  border-radius: 4px;
}

.complaint-channel__intro {
  margin: 0 auto 34px;
  text-align: center;
}

.complaint-channel__title {
  margin: 0 0 14px;
  color: #0f74b7;
  font-size: clamp(1.72rem, 2.9vw, 2.85rem);
  font-weight: 300;
  line-height: 1.05;
}

.complaint-channel__text {
  width: min(640px, 100%);
  margin: 0 auto;
  color: #6f6f6f;
  font-size: clamp(0.98rem, 1.12vw, 1.12rem);
  font-weight: 300;
  line-height: 1.55;
}

.complaint-channel__form {
  display: grid;
  gap: 18px;
}

.complaint-channel__honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
}

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

.complaint-channel__field,
.complaint-channel__textarea,
.complaint-channel__select {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 0;
  background: transparent;
  border-bottom: 1px solid #8b9298;
  box-shadow: none;
  color: #6f6f6f;
  font-size: 1.08rem;
  font-weight: 300;
  line-height: 1.25;
  outline: none;
}

.complaint-channel__field,
.complaint-channel__select {
  padding: 0 0 9px;
}

.complaint-channel__textarea {
  min-height: 180px;
  padding: 16px;
  border: 0;
  background: #e2eef6;
  resize: vertical;
  line-height: 1.55;
}

.complaint-channel__field::placeholder,
.complaint-channel__textarea::placeholder {
  color: #8d9398;
  opacity: 1;
}

.complaint-channel__field:focus,
.complaint-channel__textarea:focus,
.complaint-channel__select:focus {
  border-color: #0f74b7;
}

.complaint-channel__textarea:focus {
  box-shadow: inset 0 0 0 1px #0f74b7;
}

.complaint-channel__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 4px;
}

.complaint-channel__note {
  margin: 0;
  color: #7a7a7a;
  font-size: 0.94rem;
  font-weight: 300;
  line-height: 1.45;
}

.complaint-channel__submit {
  flex: 0 0 auto;
  min-width: 148px;
  min-height: 48px;
  padding: 10px 22px;
  border: 0;
  border-radius: 4px;
  background: #f5a623;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.complaint-channel__submit:hover {
  background: #0f74b7;
  transform: translateY(-1px);
}

.complaint-channel__submit.is-loading,
.complaint-channel__submit:disabled {
  cursor: wait;
  opacity: 0.78;
  transform: none;
}

.complaint-channel__notice {
  display: none;
  margin: 0 0 22px;
  padding: 14px 16px;
  border-radius: 4px;
  color: #4d4d4d;
  font-size: 0.98rem;
  font-weight: 300;
  line-height: 1.45;
}

.complaint-channel__notice.is-visible {
  display: block;
}

.complaint-channel__notice.is-success {
  background: #dff2e4;
  color: #256337;
}

.complaint-channel__notice.is-error {
  background: #fbe3df;
  color: #9f2f22;
}

.site-footer__complaint {
  margin-top: 18px;
  padding: 16px 0 42px;
  border-top: 1px solid rgba(126, 185, 220, 0.75);
  text-align: center;
}

.site-footer__complaint-title {
  display: inline-block;
  margin: 0 0 10px;
  color: #0f74b7;
  font-size: 1.28rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.site-footer__complaint-copy {
  width: min(560px, 100%);
  margin: 0 auto;
  color: var(--footer-text, #6b6b6b);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.48;
}

@media (max-width: 900px) {
  .page-content--complaint-channel {
    width: min(100%, calc(100vw - 56px));
    margin: 68px auto 96px;
  }

  .complaint-channel__panel {
    padding: 48px 42px 52px;
  }

  .complaint-channel__lead {
    margin-bottom: 48px;
  }
}

@media (max-width: 680px) {
  .page-content--complaint-channel {
    width: min(100%, calc(100vw - 36px));
    margin: 52px auto 78px;
  }

  .page-content--complaint-channel .page-title {
    margin-bottom: 22px !important;
    font-size: clamp(2.45rem, 12vw, 3.8rem) !important;
  }

  .complaint-channel__lead {
    margin-bottom: 38px;
    font-size: 1rem;
  }

  .complaint-channel__panel {
    padding: 38px 26px 42px;
  }

  .complaint-channel__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .complaint-channel__textarea {
    min-height: 170px;
  }

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

  .complaint-channel__submit {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .page-content--complaint-channel {
    width: min(100%, calc(100vw - 20px));
    margin: 40px auto 64px;
  }

  .complaint-channel__panel {
    padding: 30px 18px 34px;
  }

  .complaint-channel__title {
    font-size: 1.9rem;
  }

  .complaint-channel__text,
  .complaint-channel__note {
    font-size: 0.92rem;
  }

  .complaint-channel__field,
  .complaint-channel__textarea,
  .complaint-channel__select {
    font-size: 1rem;
  }
}
