.hhwithdrawal-footer-link {
  margin: 18px auto 0;
  max-width: 1320px;
  padding: 0 24px 20px;
  text-align: left;
}

.hhwithdrawal-footer-link a {
  color: inherit;
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hhwd-page {
  --hhwd-ink: #0b1628;
  --hhwd-muted: #526176;
  --hhwd-line: #d8e1ed;
  --hhwd-soft: #f3f7fb;
  --hhwd-accent: #147d43;
  color: var(--hhwd-ink);
  margin: 0 auto;
  max-width: 1180px;
  padding: 28px 24px 72px;
}

.hhwd-page[data-brand="JustoPrecio"] {
  --hhwd-accent: #1769e8;
  --hhwd-soft: #eef5ff;
}

.hhwd-hero {
  background: linear-gradient(118deg, #071427 0%, #123c74 100%);
  color: #fff;
  padding: 42px clamp(24px, 5vw, 66px);
}

.hhwd-page:not([data-brand="JustoPrecio"]) .hhwd-hero {
  background: linear-gradient(118deg, #123d2d 0%, #1f7a4d 100%);
}

.hhwd-hero h1,
.hhwd-panel h2,
.hhwd-information h2 {
  font-weight: 800;
  letter-spacing: 0;
  margin: 0;
}

.hhwd-hero h1 {
  color: #fff;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
}

.hhwd-hero > p:last-child {
  color: rgba(255, 255, 255, .82);
  font-size: 18px;
  margin: 14px 0 0;
  max-width: 660px;
}

.hhwd-kicker {
  color: var(--hhwd-accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.hhwd-hero .hhwd-kicker {
  color: rgba(255, 255, 255, .76);
}

.hhwd-panel {
  background: #fff;
  border: 1px solid var(--hhwd-line);
  margin-top: 24px;
  padding: clamp(24px, 5vw, 54px);
}

.hhwd-panel h2,
.hhwd-information h2 {
  color: var(--hhwd-ink);
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.12;
}

.hhwd-intro {
  align-items: end;
  display: flex;
  gap: 32px;
  justify-content: space-between;
  margin-bottom: 32px;
}

.hhwd-intro > p {
  color: var(--hhwd-muted);
  margin: 0;
  max-width: 390px;
}

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

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

.hhwd-field label,
.hhwd-field legend {
  color: var(--hhwd-ink);
  display: block;
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 9px;
}

.hhwd-field label span {
  color: var(--hhwd-muted);
  font-weight: 500;
}

.hhwd-field input[type="text"],
.hhwd-field input[type="email"],
.hhwd-field textarea {
  background: #fff;
  border: 1px solid #b7c5d7;
  border-radius: 4px;
  color: var(--hhwd-ink);
  font-size: 16px;
  min-height: 52px;
  padding: 13px 14px;
  width: 100%;
}

.hhwd-field textarea {
  min-height: 112px;
  resize: vertical;
}

.hhwd-field input:focus,
.hhwd-field textarea:focus {
  border-color: var(--hhwd-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--hhwd-accent) 18%, transparent);
  outline: none;
}

.hhwd-options {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hhwd-option {
  align-items: center;
  border: 1px solid var(--hhwd-line);
  border-radius: 4px;
  cursor: pointer;
  display: flex !important;
  gap: 10px;
  margin: 0 !important;
  min-height: 58px;
  padding: 12px 14px;
}

.hhwd-option:has(input:checked) {
  background: var(--hhwd-soft);
  border-color: var(--hhwd-accent);
}

.hhwd-option input {
  accent-color: var(--hhwd-accent);
  flex: 0 0 auto;
}

.hhwd-option span {
  color: var(--hhwd-ink);
  font-size: 14px;
  font-weight: 700;
}

.hhwd-help,
.hhwd-privacy,
.hhwd-legal {
  color: var(--hhwd-muted);
  font-size: 14px;
  line-height: 1.55;
  margin: 12px 0 0;
}

.hhwd-privacy {
  margin: 0;
}

.hhwd-privacy a,
.hhwd-success a {
  color: var(--hhwd-accent);
  font-weight: 700;
}

.hhwd-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hhwd-actions--end {
  justify-content: flex-end;
  margin-top: 0;
}

.hhwd-button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  font-size: 15px;
  font-weight: 800;
  justify-content: center;
  min-height: 50px;
  padding: 13px 22px;
  text-decoration: none !important;
}

.hhwd-button--primary {
  background: var(--hhwd-accent);
  color: #fff !important;
}

.hhwd-button--secondary {
  background: #fff;
  border-color: #9fb0c5;
  color: var(--hhwd-ink) !important;
}

.hhwd-summary {
  border-top: 1px solid var(--hhwd-line);
  margin: 28px 0 0;
}

.hhwd-summary > div {
  border-bottom: 1px solid var(--hhwd-line);
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(130px, .35fr) 1fr;
  padding: 15px 0;
}

.hhwd-summary dt {
  color: var(--hhwd-muted);
  font-weight: 700;
}

.hhwd-summary dd {
  color: var(--hhwd-ink);
  font-weight: 700;
  margin: 0;
  overflow-wrap: anywhere;
}

.hhwd-alert {
  border: 1px solid #d9a7a7;
  background: #fff3f3;
  color: #721c24;
  margin-top: 24px;
  padding: 18px 20px;
}

.hhwd-alert ul {
  margin: 8px 0 0 20px;
}

.hhwd-success {
  align-items: start;
  display: grid;
  gap: 22px;
  grid-template-columns: auto 1fr;
}

.hhwd-success__icon {
  align-items: center;
  background: var(--hhwd-accent);
  border-radius: 50%;
  color: #fff;
  display: flex;
  font-size: 28px;
  font-weight: 800;
  height: 58px;
  justify-content: center;
  width: 58px;
}

.hhwd-reference {
  color: var(--hhwd-accent);
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 800;
  margin: 18px 0;
}

.hhwd-information {
  align-items: start;
  background: var(--hhwd-soft);
  display: grid;
  gap: clamp(28px, 6vw, 72px);
  grid-template-columns: minmax(240px, .7fr) 1fr;
  margin-top: 24px;
  padding: clamp(28px, 5vw, 54px);
}

.hhwd-information__items p {
  border-top: 1px solid var(--hhwd-line);
  color: var(--hhwd-muted);
  line-height: 1.65;
  margin: 0;
  padding: 18px 0;
}

.hhwd-information__items p:first-child {
  border-top: 0;
  padding-top: 0;
}

.hhwd-information__items strong {
  color: var(--hhwd-ink);
}

.hhwd-honeypot {
  height: 1px;
  left: -10000px;
  overflow: hidden;
  position: absolute;
  top: auto;
  width: 1px;
}

@media (max-width: 767px) {
  .hhwithdrawal-footer-link {
    padding: 0 18px 18px;
  }

  .hhwd-page {
    padding: 14px 12px 48px;
  }

  .hhwd-hero {
    padding: 30px 22px;
  }

  .hhwd-hero h1 {
    font-size: 36px;
  }

  .hhwd-hero > p:last-child {
    font-size: 16px;
  }

  .hhwd-panel,
  .hhwd-information {
    padding: 24px 20px;
  }

  .hhwd-intro,
  .hhwd-information {
    display: block;
  }

  .hhwd-intro > p {
    margin-top: 12px;
  }

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

  .hhwd-success {
    grid-template-columns: 1fr;
  }

  .hhwd-summary > div {
    gap: 5px;
    grid-template-columns: 1fr;
  }

  .hhwd-actions,
  .hhwd-actions--end {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .hhwd-button {
    width: 100%;
  }

  .hhwd-information__items {
    margin-top: 24px;
  }
}
