.ombudsman-page {
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
}

.ombudsman-hero {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 184px;
  place-items: end center;
  overflow: visible;
  padding: 34px 20px 0;
  background:
    linear-gradient(90deg, rgba(11, 11, 10, 0.92), rgba(11, 11, 10, 0.72)),
    url("../assets/jpjustino-office-v2.webp") center 42% / cover;
}

.ombudsman-hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  content: "";
}

.ombudsman-brand-card {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(440px, calc(100vw - 48px));
  min-height: 126px;
  place-items: center;
  gap: 10px;
  border: 1px solid rgba(166, 124, 61, 0.38);
  border-radius: var(--radius);
  padding: 21px 42px 18px;
  background: rgba(251, 248, 241, 0.98);
  box-shadow: 0 22px 52px rgba(20, 20, 20, 0.2);
  translate: 0 38px;
  transition:
    border-color 180ms ease,
    translate 180ms ease;
}

.ombudsman-brand-card:hover,
.ombudsman-brand-card:focus-visible {
  border-color: var(--gold);
  translate: 0 35px;
}

.ombudsman-brand-card > span:last-child {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-dark);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.ombudsman-brand-card > span:last-child::before,
.ombudsman-brand-card > span:last-child::after {
  width: 34px;
  height: 1px;
  background: rgba(166, 124, 61, 0.5);
  content: "";
}

.ombudsman-brand-lockup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.ombudsman-brand-lockup img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.ombudsman-brand-name {
  display: grid;
  gap: 2px;
  padding-left: 14px;
  border-left: 1px solid rgba(166, 124, 61, 0.36);
  color: var(--ink);
  text-align: left;
}

.ombudsman-brand-name strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.ombudsman-brand-name small {
  color: var(--gold-dark);
  font-size: 0.49rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ombudsman-main {
  width: min(960px, calc(100% - 40px));
  margin: 0 auto;
  padding: 86px 0 72px;
}

.ombudsman-intro {
  max-width: 860px;
}

.ombudsman-intro h1 {
  max-width: none;
  margin: 0 0 18px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4.2vw, 3.65rem);
  font-weight: 500;
  line-height: 1.06;
}

.ombudsman-intro p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.form-alert {
  margin-top: 28px;
  border-radius: 8px;
  padding: 14px 16px;
  font-weight: 700;
}

.form-alert.is-success {
  border: 1px solid #b7dfc4;
  background: #edf9f0;
  color: #19692c;
}

.form-alert.is-error {
  border: 1px solid #efc5c1;
  background: #fff0ef;
  color: #9b2c22;
}

.ombudsman-form {
  display: grid;
  gap: 24px;
  margin-top: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 5vw, 40px);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.ombudsman-form fieldset {
  display: grid;
  gap: 18px;
  margin: 0;
  border: 0;
  padding: 0;
}

.ombudsman-form fieldset + fieldset {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.ombudsman-form legend {
  margin-bottom: 4px;
  color: var(--gold-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ombudsman-form legend small,
.ombudsman-form label small {
  margin-left: 6px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.ombudsman-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
}

.ombudsman-form .required {
  border-radius: 4px;
  padding: 2px 5px;
  background: rgba(166, 124, 61, 0.13);
  color: var(--gold-dark);
  font-weight: 800;
}

.ombudsman-form input,
.ombudsman-form select,
.ombudsman-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 500;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.ombudsman-form textarea {
  resize: vertical;
}

.ombudsman-form input:focus,
.ombudsman-form select:focus,
.ombudsman-form textarea:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(166, 124, 61, 0.16);
}

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

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.privacy-check {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: flex-start;
  gap: 10px !important;
  color: var(--muted) !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
}

.privacy-check input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--gold);
}

.turnstile-field {
  display: grid;
  justify-content: center;
  min-height: 65px;
}

.ombudsman-submit {
  width: 100%;
  min-height: 54px;
}

.form-note {
  margin: -8px 0 0;
  color: var(--muted);
  text-align: center;
  font-size: 0.82rem;
}

@media (max-width: 680px) {
  .ombudsman-hero {
    min-height: 144px;
  }

  .ombudsman-brand-card {
    width: min(340px, calc(100vw - 32px));
    min-height: 102px;
    padding: 17px 26px 15px;
    translate: 0 32px;
  }

  .ombudsman-brand-lockup img {
    width: 46px;
    height: 46px;
  }

  .ombudsman-brand-name strong {
    font-size: 1.4rem;
  }

  .ombudsman-main {
    width: min(100% - 28px, 640px);
    padding-top: 72px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}
