:root {
  --primary: #155e75;
  --primary-dark: #082f3a;
  --green: #16a34a;
  --orange: #f97316;
  --ink: #173b44;
  --muted: #667e84;
  --line: #d7e3e5;
  --paper: #f3f7f7;
  font-family: "Onest", "Segoe UI", sans-serif;
  color: var(--ink);
  font-synthesis: none;
}

/* Select con búsqueda */
.searchable-select {
  position: relative;

  .searchable-select-input {
    width: 100%;
    height: 55px;
    padding: 0 42px 0 14px;
    color: #123b45;
    background:
      linear-gradient(45deg, transparent 50%, #678188 50%) calc(100% - 18px)
        24px / 5px 5px no-repeat,
      linear-gradient(135deg, #678188 50%, transparent 50%) calc(100% - 13px)
        24px / 5px 5px no-repeat,
      #f7fafa;
    border: 1px solid #bfd2d6;
    border-radius: 12px 3px 12px 12px;
    outline: none;
    transition:
      border-color 0.2s,
      box-shadow 0.2s,
      background-color 0.2s;

    &::placeholder {
      color: #718b91;
      opacity: 1;
    }

    &:hover:not(:disabled) {
      background-color: #fff;
      border-color: #7eabb4;
    }

    &:focus {
      background-color: #fff;
      border-color: var(--primary);
      box-shadow: 0 0 0 4px rgba(21, 94, 117, 0.1);
    }

    &:disabled {
      color: #819499;
      background-color: #f1f5f5;
      cursor: wait;
    }

    &::-webkit-search-cancel-button {
      display: none;
    }
  }

  .searchable-select-native {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }

  .searchable-select-options {
    position: absolute;
    z-index: 30;
    top: calc(100% + 7px);
    right: 0;
    left: 0;
    max-height: 240px;
    padding: 6px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #bdd0d4;
    border-radius: 14px;
    box-shadow: 0 18px 42px rgba(8, 47, 58, 0.18);

    &[hidden] {
      display: none;
    }
  }

  .searchable-select-option {
    display: block;
    width: 100%;
    min-height: 40px;
    padding: 9px 11px;
    color: #234b55;
    background: transparent;
    border: 0;
    border-radius: 9px;
    cursor: pointer;
    font-size: 0.72rem;
    text-align: left;

    &:hover,
    &.is-active {
      color: #073743;
      background: #e8f4f6;
    }
  }

  .searchable-select-empty {
    margin: 0;
    padding: 14px 10px;
    color: #6b8389;
    font-size: 0.68rem;
    text-align: center;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

button,
input,
select {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  background: #fff;
  color: var(--primary);
  border-radius: 8px;
  transform: translateY(-150%);
  &:focus {
    transform: none;
  }
}

.registration-header {
  position: relative;
  z-index: 5;
  display: flex;
  width: min(1440px, calc(100% - 64px));
  height: 82px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(21, 94, 117, 0.13);
}

.registration-brand {
  display: inline-flex;
  align-items: center;
  img {
    width: auto;
    height: 38px;
    object-fit: contain;
  }
}

.registration-header {
  nav {
    display: flex;
    align-items: center;
    gap: 25px;
    font-size: 0.78rem;
    font-weight: 700;
  }
}

.back-link {
  color: #5d777d;
  span {
    margin-right: 5px;
  }
}

.login-link {
  padding: 10px 16px;
  background: #fff;
  border: 1px solid #cadadd;
  border-radius: 9px;
  color: var(--primary);
}

.registration-header {
  a:focus-visible {
    outline: 3px solid rgba(21, 94, 117, 0.28);
    outline-offset: 4px;
  }
}

.registration-page {
  display: grid;
  grid-template-columns: minmax(370px, 0.84fr) minmax(560px, 1.16fr);
  width: min(1440px, calc(100% - 64px));
  margin: 32px auto 55px;
  background: #fff;
  border: 1px solid #d6e2e4;
  border-radius: 28px;
  box-shadow: 0 28px 80px rgba(8, 47, 58, 0.12);
  overflow: hidden;
}

.registration-value {
  position: relative;
  display: flex;
  min-width: 0;
  padding: 58px 48px 45px;
  flex-direction: column;
  background:
    radial-gradient(
      circle at 85% 20%,
      rgba(83, 177, 198, 0.22),
      transparent 28%
    ),
    radial-gradient(circle at 15% 80%, rgba(22, 163, 74, 0.1), transparent 24%),
    linear-gradient(145deg, #0b4555, #062c36 68%, #041f27);
  color: #fff;
  overflow: hidden;
  &::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.28;
    background-image:
      linear-gradient(rgba(130, 194, 207, 0.08) 1px, transparent 1px),
      linear-gradient(90deg, rgba(130, 194, 207, 0.08) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, #000, transparent 85%);
  }
}

.value-copy,
.registration-preview,
.registration-benefits,
.registration-security {
  position: relative;
  z-index: 1;
}

.value-eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: #8ed6e5;
  font-size: 0.64rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  span {
    width: 25px;
    height: 2px;
    background: #8ed6e5;
  }
}

.value-copy {
  h2 {
    margin: 0;
    font-size: clamp(3.1rem, 5vw, 5.2rem);
    line-height: 0.92;
    letter-spacing: -0.065em;
  }
  h2 em {
    color: #85d6e6;
    font-style: normal;
  }
  > p:last-child {
    max-width: 470px;
    margin: 20px 0 0;
    color: #bdd2d7;
    font-size: 0.88rem;
    line-height: 1.65;
  }
}

.registration-preview {
  margin: 50px 0 38px;
}

.preview-window {
  padding: 6px 6px 0;
  background: #f8fbfb;
  border: 1px solid rgba(190, 224, 230, 0.45);
  border-radius: 17px;
  box-shadow: 0 30px 65px rgba(0, 9, 12, 0.38);
  transform: perspective(1000px) rotateY(2deg);
  > header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: 37px;
    padding: 0 8px;
    color: #6d858b;
    font-size: 0.5rem;
  }
  > header > span {
    display: flex;
    gap: 4px;
  }
  > header > span i {
    width: 6px;
    height: 6px;
    background: #bccdd0;
    border-radius: 50%;
  }
  > header b {
    color: var(--primary);
  }
  > header em {
    justify-self: end;
    color: #3f845b;
    font-style: normal;
  }
  > header em i {
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 4px;
    background: var(--green);
    border-radius: 50%;
  }
}

.preview-body {
  padding: 22px;
  background: #eef4f4;
  border: 1px solid #d3e1e3;
  border-radius: 11px 11px 0 0;
  color: var(--ink);
}

.preview-total {
  small {
    display: block;
    color: #779096;
    font-size: 0.52rem;
    font-weight: 800;
    letter-spacing: 0.1em;
  }
  strong {
    display: block;
    margin-top: 7px;
    font-size: 2.05rem;
    letter-spacing: -0.05em;
  }
  span {
    display: block;
    margin-top: 4px;
    color: #23844a;
    font-size: 0.6rem;
    font-weight: 750;
  }
}

.preview-chart {
  display: flex;
  height: 112px;
  align-items: end;
  gap: 9px;
  margin: 18px 0;
  padding: 10px 10px 0;
  border-bottom: 1px solid #c6d8db;
  background: repeating-linear-gradient(
    to top,
    transparent 0 34px,
    rgba(90, 130, 138, 0.1) 34px 35px
  );
  i {
    flex: 1;
    height: var(--height);
    background: #a8c7cd;
    border-radius: 5px 5px 1px 1px;
  }
  i.active {
    background: var(--primary);
  }
}

.preview-signals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  span {
    display: grid;
    grid-template-columns: 29px 1fr;
    padding: 10px;
    background: #fff;
    border: 1px solid #d9e4e6;
    border-radius: 9px;
  }
  i {
    grid-row: 1 / 3;
    display: grid;
    width: 25px;
    height: 25px;
    place-items: center;
    align-self: center;
    background: #e5f2e9;
    border-radius: 8px;
    color: #267344;
    font-size: 0.58rem;
    font-style: normal;
  }
  small {
    color: #809399;
    font-size: 0.5rem;
  }
  b {
    color: #355860;
    font-size: 0.6rem;
  }
}

.preview-trial {
  position: absolute;
  right: -14px;
  bottom: -22px;
  display: flex;
  width: 105px;
  height: 105px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: #fff;
  border: 7px solid #0b4351;
  border-radius: 50%;
  color: var(--primary);
  box-shadow: 0 16px 35px rgba(0, 12, 16, 0.3);
  b {
    font-size: 2.25rem;
    line-height: 0.9;
  }
  small {
    margin-top: 4px;
    font-size: 0.58rem;
    font-weight: 800;
  }
}

.registration-benefits {
  display: grid;
  gap: 12px;
  margin: auto 0 0;
  padding: 0;
  list-style: none;
  li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #d7e8eb;
    font-size: 0.73rem;
  }
  span {
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    background: rgba(22, 163, 74, 0.15);
    border: 1px solid rgba(72, 197, 116, 0.35);
    border-radius: 50%;
    color: #70d995;
    font-size: 0.55rem;
  }
}

.registration-security {
  margin: 26px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #8fb0b7;
  font-size: 0.58rem;
  line-height: 1.5;
  span {
    margin-right: 5px;
    color: #61c982;
  }
}

.registration-form-panel {
  padding: 58px clamp(38px, 5vw, 76px) 48px;
}

.registration-form-intro {
  max-width: 610px;
  > p {
    margin: 0 0 9px;
    color: var(--primary);
    font-size: 0.67rem;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }
  h1 {
    margin: 0;
    color: var(--primary-dark);
    font-size: clamp(2.25rem, 3.6vw, 3.65rem);
    line-height: 1;
    letter-spacing: -0.055em;
  }
  > span {
    display: block;
    margin-top: 13px;
    color: var(--muted);
    font-size: 0.9rem;
  }
}

.registration-flow {
  [hidden] {
    display: none !important;
  }
}

.registration-form {
  margin-top: 38px;
  fieldset {
    margin: 0;
    padding: 0 0 34px;
    border: 0;
  }
  fieldset + fieldset {
    padding-top: 33px;
    border-top: 1px solid var(--line);
  }
  legend {
    display: grid;
    grid-template-columns: 37px auto;
    width: 100%;
    align-items: center;
    column-gap: 11px;
    margin-bottom: 23px;
    padding: 0;
  }
  legend > span {
    grid-row: 1 / 3;
    display: grid;
    width: 37px;
    height: 37px;
    place-items: center;
    background: #e8f2f3;
    border: 1px solid #d0e1e4;
    border-radius: 10px;
    color: var(--primary);
    font-size: 0.57rem;
    font-weight: 900;
  }
  legend b {
    color: var(--primary-dark);
    font-size: 0.92rem;
  }
  legend small {
    color: #788e93;
    font-size: 0.62rem;
  }
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 17px;
}

.form-field {
  min-width: 0;
}

.registration-form-intro > .required-fields-note {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 17px 0 0;
  color: #536f75;
  font-size: 0.64rem;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;

  i {
    display: grid;
    width: 18px;
    height: 18px;
    place-items: center;
    background: #fff0e7;
    border-radius: 50%;
    color: #d9570a;
    font-size: 0.85rem;
    font-style: normal;
    font-weight: 900;
  }
  i svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  i.verification-icon-whatsapp svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    stroke: none;
  }
}

.verification-channel:has(input[required]) {
  legend b::after {
    margin-left: 4px;
    color: #d9570a;
    content: "*";
    font-size: 0.78rem;
    font-weight: 900;
  }
}

.form-field:has(input[required], select[required], textarea[required]) {
  > label::after {
    margin-left: 4px;
    color: #d9570a;
    content: "*";
    font-size: 0.78rem;
    font-weight: 900;
  }
}

.form-field-wide {
  grid-column: 1 / -1;
}

.form-field {
  label {
    display: block;
    margin-bottom: 7px;
    color: #31545d;
    font-size: 0.68rem;
    font-weight: 760;
  }
}

.form-field input,
.form-field select {
  width: 100%;
  height: 49px;
  padding: 0 14px;
  background: #fff;
  border: 1px solid #cbdadd;
  border-radius: 10px;
  color: var(--ink);
  font-size: 0.76rem;
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    background 0.2s;
}

.form-field {
  input::placeholder {
    color: #9aabad;
  }
  select {
    appearance: none;
    padding-right: 38px;
    background-image:
      linear-gradient(45deg, transparent 50%, #678188 50%),
      linear-gradient(135deg, #678188 50%, transparent 50%);
    background-position:
      calc(100% - 18px) 21px,
      calc(100% - 13px) 21px;
    background-size: 5px 5px;
    background-repeat: no-repeat;
  }
  select:disabled {
    background-color: #f1f5f5;
    color: #819499;
    cursor: wait;
  }
}

.form-field input:focus,
.form-field select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(21, 94, 117, 0.1);
}

.form-field input[aria-invalid="true"],
.form-field select[aria-invalid="true"],
.legal-consent input[aria-invalid="true"] {
  border-color: #b6473d;
  background-color: #fffafa;
}

.searchable-select {
  .searchable-select-input[aria-invalid="true"] {
    background-color: #fffafa;
    border-color: #b6473d;
    box-shadow: 0 0 0 4px rgba(182, 71, 61, 0.09);
  }
}

.verification-channel:has(input[aria-invalid="true"]) {
  .verification-options label > span {
    background: #fffafa;
    border-color: #cf817a;
  }
}

.field-hint,
.field-error,
.password-strength {
  display: block;
  margin-top: 5px;
  font-size: 0.57rem;
  line-height: 1.4;
}

.field-hint {
  color: #819499;
}

.field-error {
  min-height: 0;
  color: #a8322a;
  font-weight: 670;
  &:not(:empty) {
    min-height: 0.8rem;
  }
}

.inline-field-error {
  position: relative;
  margin: 7px 0 0;
  padding-left: 18px;
  color: #9f3028;
  font-size: 0.62rem;
  font-weight: 720;
  line-height: 1.45;

  &::before {
    position: absolute;
    top: 0.08rem;
    left: 0;
    display: grid;
    width: 13px;
    height: 13px;
    place-items: center;
    background: #b6473d;
    border-radius: 50%;
    color: #fff;
    content: "!";
    font-size: 0.48rem;
    font-weight: 900;
  }
}

.verification-channel > .inline-field-error {
  margin-top: 12px;
}

.legal-consent > .inline-field-error {
  margin: 7px 0 2px 29px;
}

.phone-input,
.password-input {
  position: relative;
  display: flex;
}

.phone-input {
  > span {
    display: grid;
    width: 50px;
    place-items: center;
    background: #edf3f4;
    border: 1px solid #cbdadd;
    border-right: 0;
    border-radius: 10px 0 0 10px;
    color: #4e6d74;
    font-size: 0.7rem;
    font-weight: 750;
  }
  input {
    border-radius: 0 10px 10px 0;
  }
}

.password-input {
  input {
    padding-right: 48px;
  }
}

.password-toggle {
  position: absolute;
  top: 5px;
  right: 5px;
  display: grid;
  width: 39px;
  height: 39px;
  padding: 0;
  place-items: center;
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  span {
    position: relative;
    width: 19px;
    height: 12px;
    border: 1.7px solid #5c777d;
    border-radius: 50%;
  }
  span::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: #5c777d;
    border-radius: 50%;
    transform: translate(-50%, -50%);
  }
  &[aria-pressed="true"] span::before {
    content: "";
    position: absolute;
    z-index: 1;
    top: 5px;
    left: -3px;
    width: 24px;
    height: 2px;
    background: #5c777d;
    transform: rotate(42deg);
  }
  &:focus-visible {
    outline: 3px solid rgba(21, 94, 117, 0.25);
  }
}

.password-meter {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin-top: 8px;
  i {
    height: 3px;
    background: #dbe5e7;
    border-radius: 3px;
  }
  &[data-score="1"] i:nth-child(1) {
    background: #b6473d;
  }
  &[data-score="2"] i:nth-child(-n + 2) {
    background: #a4782f;
  }
}

.password-meter[data-score="3"] i:nth-child(-n + 3),
.password-meter[data-score="4"] i {
  background: var(--green);
}

.password-strength {
  color: #5d777d;
}

.other-business-field {
  &[hidden] {
    display: none;
  }
}

.verification-channel {
  padding-bottom: 25px !important;
}

.verification-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  label {
    cursor: pointer;
  }
}

.verification-options input,
.verification-resend input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.verification-options {
  label > span {
    display: grid;
    grid-template-columns: 35px 1fr;
    min-height: 54px;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: #f8fafa;
    border: 1px solid #cbdadd;
    border-radius: 10px;
    color: #536f75;
  }
  i {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    background: #e7eff0;
    border-radius: 8px;
    color: var(--primary);
    font-size: 0.5rem;
    font-style: normal;
    font-weight: 900;
  }
  b {
    font-size: 0.68rem;
  }
  input:checked + span {
    background: #eff8fa;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(21, 94, 117, 0.08);
    color: var(--primary-dark);
  }
  input:checked + span i {
    background: var(--primary);
    color: #fff;
  }
  .verification-icon-sms {
    color: #2878d0;
    background: #eaf3ff;
  }
  .verification-icon-whatsapp {
    color: #168b48;
    background: #e7f8ed;
  }
  input:checked + span .verification-icon-sms {
    color: #fff;
    background: #2878d0;
  }
  input:checked + span .verification-icon-whatsapp {
    color: #fff;
    background: #1fa855;
  }
}

.verification-options input:focus-visible + span,
.verification-resend input:focus-visible + span {
  outline: 3px solid rgba(21, 94, 117, 0.24);
  outline-offset: 2px;
}

.legal-consent {
  display: grid;
  gap: 7px;
  padding: 25px 0;
  border-top: 1px solid var(--line);
  label {
    display: grid;
    grid-template-columns: 19px 1fr;
    align-items: start;
    gap: 10px;
    color: #536f75;
    font-size: 0.68rem;
    line-height: 1.5;
    cursor: pointer;
  }
  input {
    width: 18px;
    height: 18px;
    margin: 1px 0 0;
    accent-color: var(--primary);
  }
  a {
    color: var(--primary);
    font-weight: 760;
    text-decoration: underline;
    text-underline-offset: 2px;
  }
  .field-error {
    margin: -5px 0 2px 29px;
  }
}

.form-status {
  margin-bottom: 15px;
  padding: 13px 15px;
  background: #fff7e8;
  border: 1px solid #ead39e;
  border-radius: 10px;
  color: #6f5723;
  font-size: 0.68rem;
  line-height: 1.5;
  &.is-error {
    background: #fff5f4;
    border-color: #e4c2bf;
    color: #8e3029;
  }
  &.is-success {
    background: #eff8f2;
    border-color: #c7e2d0;
    color: #286d43;
  }
}

.registration-submit {
  display: flex;
  width: 100%;
  min-height: 55px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 20px;
  background: var(--primary);
  border: 0;
  border-radius: 11px;
  color: #fff;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 830;
  box-shadow: 0 13px 28px rgba(21, 94, 117, 0.2);
  transition:
    background 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
  &:hover {
    background: #0f5267;
    transform: translateY(-1px);
    box-shadow: 0 16px 32px rgba(21, 94, 117, 0.25);
  }
  &:focus-visible {
    outline: 3px solid rgba(21, 94, 117, 0.32);
    outline-offset: 3px;
  }
  &:disabled {
    cursor: wait;
    opacity: 0.7;
    transform: none;
  }
  &.is-loading i {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.45);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    font-size: 0;
  }
}

.registration-login {
  margin: 17px 0 0;
  color: #748a90;
  font-size: 0.68rem;
  text-align: center;
  a {
    color: var(--primary);
    font-weight: 800;
  }
}

.registration-verification {
  margin-top: 38px;
}

.verification-step,
.registration-success > small {
  margin: 0 0 9px;
  color: var(--orange);
  font-size: 0.61rem;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.registration-verification > h2,
.registration-success > h2 {
  margin: 0;
  color: var(--primary-dark);
  font-size: clamp(2.1rem, 3.5vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.registration-verification {
  > span {
    display: block;
    margin-top: 13px;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.55;
  }
  > span strong {
    color: var(--primary-dark);
  }
  form {
    margin-top: 31px;
  }
}

.verification-code-field {
  input {
    height: 72px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 850;
    letter-spacing: 0.36em;
  }
}

.verification-resend {
  margin-top: 27px;
  padding-top: 23px;
  border-top: 1px solid var(--line);
  text-align: center;
  > p {
    margin: 0 0 11px;
    color: #536f75;
    font-size: 0.67rem;
    font-weight: 720;
  }
  fieldset {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    border: 0;
  }
  legend {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }
  label {
    cursor: pointer;
  }
  label span {
    display: block;
    padding: 7px 12px;
    background: #f1f5f5;
    border: 1px solid #d2dfe1;
    border-radius: 999px;
    color: #647c82;
    font-size: 0.6rem;
    font-weight: 760;
  }
  input:checked + span {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
  }
  > button {
    margin-top: 13px;
    padding: 0;
    background: none;
    border: 0;
    color: var(--primary);
    cursor: pointer;
    font-size: 0.64rem;
    font-weight: 800;
    text-decoration: underline;
  }
  > button:disabled {
    color: #8b9da1;
    cursor: not-allowed;
  }
  > small {
    display: block;
    min-height: 18px;
    margin-top: 7px;
    color: #819499;
    font-size: 0.57rem;
  }
}

.registration-success {
  padding: 50px 10px;
  text-align: center;
  > span {
    display: grid;
    width: 68px;
    height: 68px;
    margin: 0 auto 20px;
    place-items: center;
    background: #e7f7ec;
    border: 1px solid #bfe1ca;
    border-radius: 50%;
    color: var(--green);
    font-size: 1.35rem;
    font-weight: 900;
  }
  > small {
    display: block;
    color: var(--green);
  }
  > p {
    max-width: 500px;
    margin: 16px auto 0;
    color: var(--muted);
    font-size: 0.76rem;
    line-height: 1.65;
  }
  > a {
    display: inline-flex;
    min-height: 49px;
    margin-top: 25px;
    padding: 0 18px;
    align-items: center;
    gap: 12px;
    background: var(--primary);
    border-radius: 10px;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 820;
  }
  > a i {
    font-style: normal;
  }
}

.registration-footer {
  display: flex;
  width: min(1440px, calc(100% - 64px));
  margin: 0 auto 30px;
  justify-content: space-between;
  color: #758c91;
  font-size: 0.62rem;

  nav {
    display: flex;
    align-items: center;
    gap: 9px;
  }

  a {
    color: var(--primary);
    font-weight: 760;
    text-decoration: underline;
    text-decoration-color: rgba(21, 94, 117, 0.32);
    text-underline-offset: 3px;

    &:hover {
      color: var(--primary-dark);
      text-decoration-color: currentColor;
    }

    &:focus-visible {
      outline: 3px solid rgba(21, 94, 117, 0.22);
      outline-offset: 3px;
      border-radius: 3px;
    }
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1050px) {
  .registration-page {
    grid-template-columns: 1fr;
    max-width: 780px;
  }

  .registration-value {
    min-height: auto;
    padding: 44px;
  }

  .value-copy {
    h2 br {
      display: none;
    }
  }

  .registration-preview {
    display: none;
  }

  .registration-benefits {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 32px;
    li {
      align-items: flex-start;
    }
  }

  .registration-security {
    margin-top: 24px;
  }
}

@media (max-width: 700px) {
  .registration-header,
  .registration-page,
  .registration-footer {
    width: min(100% - 28px, 650px);
  }

  .registration-header {
    height: 70px;
  }

  .registration-brand {
    img {
      height: 31px;
    }
  }

  .back-link {
    display: none;
  }

  .registration-page {
    margin-top: 14px;
    border-radius: 20px;
  }

  .registration-value {
    padding: 31px 24px 28px;
  }

  .value-copy {
    h2 {
      font-size: clamp(2.5rem, 12vw, 3.6rem);
    }
    > p:last-child {
      margin-top: 14px;
      font-size: 0.8rem;
    }
  }

  .registration-benefits {
    grid-template-columns: 1fr;
    margin-top: 25px;
  }

  .registration-security {
    display: none;
  }

  .registration-form-panel {
    padding: 36px 22px 33px;
  }

  .registration-form {
    margin-top: 31px;
  }

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

  .form-field-wide {
    grid-column: auto;
  }

  .registration-form {
    fieldset {
      padding-bottom: 28px;
    }
    fieldset + fieldset {
      padding-top: 27px;
    }
  }

  .verification-options {
    grid-template-columns: 1fr;
  }

  .registration-footer {
    gap: 8px;
    flex-direction: column;
  }
}

/* --------------------------------------------------------------------------
   Xora Business Pass — una alta que se siente como activar una membresía.
   -------------------------------------------------------------------------- */
body {
  min-height: 100vh;
  background:
    radial-gradient(
      circle at 12% 10%,
      rgba(142, 214, 229, 0.16),
      transparent 28rem
    ),
    linear-gradient(115deg, #052b35 0 35%, #eaf1f2 35% 100%);
}

.registration-header {
  height: 92px;
}

.registration-brand {
  img {
    height: 42px;
    filter: brightness(0) invert(1);
  }
}

.registration-page {
  grid-template-columns: minmax(360px, 0.83fr) minmax(610px, 1.17fr);
  margin-top: 24px;
  align-items: stretch;
}

.registration-value {
  top: 20px;
  min-height: calc(100dvh - 130px);
  border: 0;
  border-radius: 32px 0 0 32px;
  background:
    linear-gradient(
      135deg,
      transparent 0 72%,
      rgba(142, 214, 229, 0.07) 72% 73%,
      transparent 73%
    ),
    radial-gradient(
      circle at 90% 20%,
      rgba(249, 115, 22, 0.22),
      transparent 15rem
    ),
    linear-gradient(150deg, #0d596b, #073743 56%, #041e26);
  &::after {
    content: "X";
    right: 8%;
    bottom: -8%;
    font-size: 24rem;
    color: rgba(255, 255, 255, 0.025);
  }
}

.value-copy {
  h2 {
    font-size: clamp(3.25rem, 4.3vw, 5.2rem);
  }
}

.registration-preview {
  margin: clamp(25px, 4vh, 48px) -28px 30px 0;
}

.preview-window {
  position: relative;
  padding: 8px;
  background: rgba(246, 251, 252, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 26px 6px 26px 26px;
  box-shadow: 22px 34px 70px rgba(0, 12, 16, 0.4);
  transform: rotate(-2deg);
  overflow: hidden;
  &::after {
    content: "";
    position: absolute;
    top: -80px;
    right: -65px;
    width: 180px;
    height: 180px;
    border: 32px solid rgba(21, 94, 117, 0.06);
    border-radius: 50%;
  }
  > header {
    display: flex;
    min-height: 40px;
    justify-content: space-between;
    padding: 0 13px;
    font-size: 0.48rem;
    font-weight: 850;
    letter-spacing: 0.11em;
  }
  > header em {
    display: flex;
    align-items: center;
    color: #287a48;
  }
}

.preview-body {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 13px 15px;
  padding: 24px;
  border: 0;
  border-radius: 20px 3px 20px 20px;
  background: #edf4f4;
}

.preview-monogram {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  background: var(--primary);
  border-radius: 18px 4px 18px 18px;
  color: #fff;
  font-size: 1.8rem;
  font-weight: 880;
  box-shadow: 0 12px 25px rgba(21, 94, 117, 0.2);
}

.preview-identity {
  display: flex;
  min-width: 0;
  justify-content: center;
  flex-direction: column;
  small {
    color: #789096;
    font-size: 0.47rem;
    font-weight: 850;
    letter-spacing: 0.1em;
  }
  strong {
    margin-top: 5px;
    overflow: hidden;
    color: var(--primary-dark);
    font-size: 1.13rem;
    letter-spacing: -0.04em;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  span {
    margin-top: 3px;
    color: #668087;
    font-size: 0.55rem;
  }
}

.preview-code {
  grid-column: 1/-1;
  display: flex;
  height: 45px;
  align-items: stretch;
  gap: 5px;
  padding: 8px 2px;
  border-top: 1px dashed #bacdd1;
  border-bottom: 1px dashed #bacdd1;
  i {
    flex: 1;
    background: repeating-linear-gradient(
      90deg,
      #123d47 0 2px,
      transparent 2px 4px
    );
    opacity: 0.62;
  }
  i:nth-child(2n) {
    flex: 0.5;
  }
}

.preview-body {
  footer {
    grid-column: 1/-1;
    display: flex;
    justify-content: space-between;
    color: #789096;
    font-size: 0.48rem;
    letter-spacing: 0.08em;
  }
  footer b {
    color: var(--orange);
  }
}

.preview-trial {
  right: -18px;
  bottom: -24px;
  width: 100px;
  height: 100px;
  background: var(--orange);
  border-color: #073743;
  color: #fff;
  transform: rotate(5deg);
  b {
    font-size: 1.75rem;
  }
}

.registration-form-panel {
  margin: 0 0 50px;
  padding-top: 64px;
  border-radius: 0 32px 32px 0;
  background: rgba(250, 252, 252, 0.98);
  &::before {
    width: 130px;
    height: 5px;
    background: linear-gradient(90deg, var(--orange) 0 35%, var(--primary) 35%);
  }
}

.registration-form-intro {
  h1 {
    max-width: 740px;
    font-size: clamp(3.2rem, 4.7vw, 5.35rem);
  }
}

.registration-progress {
  margin-top: 28px;
}

.registration-form {
  &::before {
    display: none;
  }
  .form-chapter {
    margin-left: 0;
    padding: 30px;
    border-radius: 18px;
    box-shadow: 0 14px 38px rgba(8, 47, 58, 0.045);
  }
  .form-chapter legend {
    margin: 0 0 24px;
    grid-template-columns: 42px auto;
  }
  .form-chapter legend > span {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px 3px 12px 12px;
    box-shadow: none;
  }
  .chapter-contact legend > span {
    background: var(--orange);
  }
  .chapter-security legend > span {
    background: var(--primary-dark);
  }
  .form-chapter:focus-within {
    transform: none;
    border-color: #77aebb;
    box-shadow:
      0 16px 44px rgba(8, 47, 58, 0.09),
      inset 4px 0 0 var(--primary);
  }
}

.form-field input,
.form-field select {
  height: 55px;
  border-radius: 12px 3px 12px 12px;
  background: #f3f7f7;
}

.phone-input {
  > span {
    border-radius: 12px 0 0 12px;
  }
  input {
    border-radius: 0 3px 12px 0;
  }
}

.verification-options {
  label > span {
    border-radius: 12px 3px 12px 12px;
  }
}

.legal-consent,
.registration-action,
.registration-login,
.form-status {
  margin-left: 0;
}

.registration-action {
  border-radius: 18px;
  background: linear-gradient(120deg, #082f3a, #0d4c5b);
  .registration-submit {
    background: var(--orange);
    border-radius: 12px 3px 12px 12px;
  }
}

@media (min-width: 1051px) {
  .registration-value {
    height: calc(100dvh - 130px);
  }

  .registration-benefits {
    grid-template-columns: 1fr;
    li {
      padding: 8px 0;
      border-right: 0;
    }
  }
}

@media (max-width: 1050px) {
  body {
    background: linear-gradient(180deg, #052b35 0 290px, #eaf1f2 290px);
  }

  .registration-brand {
    img {
      filter: none;
    }
  }

  .registration-value {
    border-radius: 28px 28px 0 0;
  }

  .registration-form-panel {
    border-radius: 0 0 28px 28px;
  }
}

@media (max-width: 700px) {
  .registration-header,
  .registration-page,
  .registration-footer {
    width: calc(100% - 24px);
    max-width: 650px;
    min-width: 0;
  }

  .registration-header {
    height: 72px;
  }

  .registration-brand {
    img {
      height: 33px;
    }
  }

  .back-link {
    display: none;
  }

  .registration-page {
    margin-top: 14px;
  }

  .registration-value {
    padding: 34px 24px 30px;
  }

  .value-copy {
    h2 {
      font-size: clamp(2.85rem, 14vw, 4rem);
    }
  }

  .registration-form-panel {
    padding: 40px 16px 28px;
  }

  .registration-form {
    .form-chapter {
      padding: 22px 16px;
    }
    .form-chapter legend {
      grid-template-columns: 38px auto;
    }
    .form-chapter legend > span {
      width: 38px;
      height: 38px;
    }
  }

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

  .form-field-wide {
    grid-column: auto;
  }

  .legal-consent,
  .registration-action,
  .registration-login,
  .form-status {
    margin-left: 0;
  }

  .registration-action {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* --------------------------------------------------------------------------
   Registro editorial XoraPOS
   Una experiencia de onboarding con capítulos, no una tarjeta genérica.
   -------------------------------------------------------------------------- */
body {
  background:
    radial-gradient(
      circle at 8% 14%,
      rgba(43, 143, 167, 0.18),
      transparent 24rem
    ),
    linear-gradient(180deg, #062c36 0 340px, #edf3f3 340px 100%);
}

.registration-header {
  width: min(1510px, calc(100% - 64px));
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.back-link {
  color: #b9d0d5;
}

.login-link {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  backdrop-filter: blur(12px);
}

.registration-page {
  grid-template-columns: minmax(390px, 0.72fr) minmax(620px, 1.28fr);
  width: min(1510px, calc(100% - 64px));
  margin-top: 44px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.registration-value {
  position: sticky;
  top: 24px;
  min-height: calc(100vh - 80px);
  align-self: start;
  padding: 66px 58px 46px;
  background:
    radial-gradient(
      circle at 102% 17%,
      rgba(249, 115, 22, 0.55) 0 5rem,
      transparent 5.1rem
    ),
    radial-gradient(
      circle at 88% 16%,
      rgba(255, 255, 255, 0.08) 0 9rem,
      transparent 9.1rem
    ),
    linear-gradient(155deg, #0e586b 0%, #073743 56%, #041f27 100%);
  border: 1px solid rgba(152, 216, 229, 0.22);
  border-radius: 36px 8px 8px 36px;
  box-shadow: 0 35px 90px rgba(1, 22, 28, 0.34);
  &::before {
    opacity: 0.45;
    background-size: 64px 64px;
    mask-image: linear-gradient(135deg, #000, transparent 82%);
  }
  &::after {
    content: "07";
    position: absolute;
    right: -2px;
    bottom: -38px;
    color: rgba(142, 214, 229, 0.08);
    font-size: 15rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.1em;
    pointer-events: none;
  }
}

.value-eyebrow {
  color: #a6e5f0;
  span {
    background: var(--orange);
  }
}

.value-copy {
  h2 {
    max-width: 560px;
    font-size: clamp(3.7rem, 5.2vw, 6.2rem);
    line-height: 0.87;
  }
  h2 em {
    color: #8edcea;
  }
  > p:last-child {
    max-width: 500px;
    color: #c4dce0;
    font-size: 0.92rem;
  }
}

.registration-preview {
  margin: 56px -18px 44px 0;
}

.preview-window {
  padding: 7px;
  border-radius: 8px 25px 8px 25px;
  transform: rotate(-1.5deg);
  box-shadow: 20px 35px 70px rgba(0, 10, 14, 0.38);
}

.preview-body {
  border-radius: 3px 18px 3px 18px;
}

.preview-trial {
  right: -24px;
  bottom: -30px;
  width: 112px;
  height: 112px;
  background: var(--orange);
  border-color: #073743;
  color: #fff;
  transform: rotate(7deg);
}

.registration-benefits {
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  li {
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.72rem;
  }
  span {
    border-radius: 7px;
  }
}

.registration-security {
  border: 0;
}

.registration-form-panel {
  position: relative;
  margin: 42px 0 60px;
  padding: 72px clamp(48px, 5.5vw, 90px) 65px;
  background: #f9fbfb;
  border-radius: 8px 36px 36px 8px;
  box-shadow: 0 35px 85px rgba(8, 47, 58, 0.16);
  &::before {
    content: "";
    position: absolute;
    top: 0;
    left: clamp(48px, 5.5vw, 90px);
    width: 92px;
    height: 7px;
    background: var(--orange);
    border-radius: 0 0 7px 7px;
  }
}

.registration-form-intro {
  max-width: 760px;
  > p {
    color: var(--orange);
  }
  h1 {
    font-size: clamp(3rem, 4.4vw, 5rem);
    line-height: 0.92;
  }
  > span {
    max-width: 650px;
    font-size: 0.86rem;
    line-height: 1.6;
  }
}

.registration-progress {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 32px 0 0;
  padding: 0 0 24px;
  border-bottom: 1px solid #d6e3e5;
  list-style: none;
  &::before {
    content: "";
    position: absolute;
    top: 17px;
    right: 15%;
    left: 15%;
    height: 1px;
    background: #cbdadd;
  }
  li {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 9px;
    color: #84969a;
    font-size: 0.61rem;
    font-weight: 750;
  }
  li:nth-child(2) {
    justify-content: center;
  }
  li:nth-child(3) {
    justify-content: flex-end;
  }
  b {
    display: grid;
    width: 35px;
    height: 35px;
    place-items: center;
    background: #eef3f4;
    border: 1px solid #cbdadd;
    border-radius: 50%;
    font-size: 0.58rem;
  }
  .is-current {
    color: var(--primary-dark);
  }
  .is-current b {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 0 0 6px rgba(21, 94, 117, 0.09);
  }
}

.registration-form {
  position: relative;
  margin-top: 28px;
  &::before {
    content: "";
    position: absolute;
    top: 30px;
    bottom: 180px;
    left: 22px;
    width: 1px;
    background: linear-gradient(#8db9c3, #d3e1e3 82%, transparent);
  }
  .form-chapter {
    position: relative;
    margin: 0 0 18px 62px;
    padding: 28px 30px 30px;
    background: #fff;
    border: 1px solid #d6e3e5;
    border-radius: 7px 22px 22px 22px;
    box-shadow: 0 13px 32px rgba(8, 47, 58, 0.055);
    transition:
      border-color 0.2s,
      box-shadow 0.2s,
      transform 0.2s;
  }
  .form-chapter:focus-within {
    border-color: #86b7c2;
    box-shadow: 0 18px 38px rgba(8, 47, 58, 0.1);
    transform: translateY(-2px);
  }
  .form-chapter + .form-chapter {
    padding-top: 28px;
    border-top: 1px solid #d6e3e5;
  }
  .form-chapter legend {
    margin: 0 0 24px -83px;
    grid-template-columns: 46px auto;
  }
  .form-chapter legend > span {
    width: 46px;
    height: 46px;
    background: #0d5365;
    border: 6px solid #f9fbfb;
    border-radius: 50%;
    color: #fff;
    box-shadow: 0 0 0 1px #9fc3ca;
  }
  .chapter-contact legend > span {
    background: var(--orange);
    box-shadow: 0 0 0 1px #f5b17e;
  }
  .chapter-security legend > span {
    background: #5d4a8f;
    box-shadow: 0 0 0 1px #b6acd0;
  }
  legend b {
    font-size: 1rem;
  }
  legend small {
    font-size: 0.61rem;
  }
}

.form-grid {
  gap: 18px 14px;
}

.form-field {
  label {
    margin-left: 2px;
    font-size: 0.64rem;
    letter-spacing: 0.01em;
  }
}

.form-field input,
.form-field select {
  height: 53px;
  background: #f5f8f8;
  border-color: #d5e1e3;
  border-radius: 6px 13px 13px 13px;
}

.form-field input:hover,
.form-field select:hover {
  background: #fff;
  border-color: #afc8cd;
}

.phone-input {
  > span {
    border-radius: 6px 0 0 13px;
  }
  input {
    border-radius: 0 13px 13px 0;
  }
}

.verification-options {
  label > span {
    min-height: 58px;
    border-radius: 6px 14px 14px 14px;
  }
  input:checked + span {
    border-color: #5d4a8f;
    box-shadow: 0 0 0 3px rgba(93, 74, 143, 0.09);
  }
  input:checked + span i {
    background: #5d4a8f;
  }
}

.legal-consent {
  margin-left: 62px;
  padding: 22px 4px 18px;
  border-top: 0;
}

.registration-action {
  display: grid;
  grid-template-columns: auto minmax(260px, 0.65fr);
  align-items: center;
  gap: 24px;
  margin-left: 62px;
  padding: 18px 20px;
  background: #082f3a;
  border-radius: 18px 6px 18px 18px;
  color: #fff;
  > p {
    display: flex;
    margin: 0;
    flex-direction: column;
  }
  b {
    font-size: 0.72rem;
  }
  small {
    margin-top: 3px;
    color: #92b0b6;
    font-size: 0.56rem;
  }
  .registration-submit {
    min-height: 58px;
    background: var(--orange);
    border-radius: 12px 4px 12px 12px;
    box-shadow: 0 12px 26px rgba(249, 115, 22, 0.25);
  }
  .registration-submit:hover {
    background: #e9640d;
  }
}

.registration-login {
  margin-left: 62px;
}

.form-status {
  margin: 26px 0 0 62px;
}

/* El panel de contexto cabe completo en la ventana y acompaña al formulario. */
@media (min-width: 1051px) {
  .registration-value {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto auto;
    height: calc(100dvh - 150px);
    min-height: 0;
    padding: clamp(27px, 3.6vh, 42px) clamp(36px, 3vw, 50px)
      clamp(24px, 3vh, 36px);
    overflow: hidden;
  }

  .value-eyebrow {
    margin-bottom: 11px;
  }

  .value-copy {
    h2 {
      font-size: clamp(3.15rem, 4vw, 4.75rem);
      line-height: 0.88;
    }
    > p:last-child {
      margin-top: 12px;
      font-size: 0.8rem;
      line-height: 1.48;
    }
  }

  .registration-preview {
    display: flex;
    min-height: 0;
    margin: clamp(13px, 2.3vh, 25px) -10px clamp(13px, 2.3vh, 24px) 0;
    align-items: center;
  }

  .preview-window {
    width: 100%;
    > header {
      min-height: 30px;
    }
  }

  .preview-body {
    padding: clamp(11px, 1.6vh, 17px);
  }

  .preview-total {
    strong {
      margin-top: 3px;
      font-size: 1.65rem;
    }
  }

  .preview-chart {
    height: clamp(62px, 10vh, 92px);
    margin: clamp(8px, 1.3vh, 13px) 0;
    padding-top: 7px;
  }

  .preview-signals {
    span {
      padding: 7px;
    }
  }

  .preview-trial {
    right: -17px;
    bottom: -18px;
    width: 88px;
    height: 88px;
    border-width: 6px;
    b {
      font-size: 1.8rem;
    }
  }

  .registration-benefits {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0;
    li {
      min-width: 0;
      padding: 9px 8px;
      align-items: flex-start;
      border-bottom: 0;
      border-right: 1px solid rgba(255, 255, 255, 0.1);
      font-size: 0.62rem;
      line-height: 1.35;
    }
    li:first-child {
      padding-left: 0;
    }
    li:last-child {
      padding-right: 0;
      border-right: 0;
    }
    span {
      flex: 0 0 22px;
      width: 22px;
      height: 22px;
    }
  }

  .registration-security {
    margin-top: 11px;
    font-size: 0.54rem;
  }
}

@media (min-width: 1051px) and (max-height: 760px) {
  .registration-value {
    height: calc(100dvh - 126px);
    padding-top: 23px;
    padding-bottom: 22px;
  }

  .value-copy {
    h2 {
      font-size: clamp(2.8rem, 3.7vw, 4rem);
    }
    > p:last-child {
      max-width: 560px;
      margin-top: 8px;
      font-size: 0.72rem;
    }
  }

  .registration-preview {
    margin-top: 10px;
    margin-bottom: 10px;
  }

  .preview-chart {
    height: 56px;
    margin: 6px 0;
  }

  .preview-signals {
    display: none;
  }

  .preview-trial {
    width: 76px;
    height: 76px;
  }

  .registration-benefits {
    li {
      padding-top: 7px;
      padding-bottom: 7px;
    }
  }

  .registration-security {
    margin-top: 7px;
  }
}

@media (min-width: 1051px) and (max-height: 620px) {
  .registration-value {
    grid-template-rows: auto auto auto;
    align-content: center;
    gap: 13px;
  }

  .registration-preview {
    display: none;
  }

  .registration-benefits {
    li {
      padding-top: 6px;
      padding-bottom: 6px;
    }
  }

  .registration-security {
    margin-top: 0;
  }
}

@media (max-width: 1050px) {
  body {
    background: linear-gradient(180deg, #062c36 0 270px, #edf3f3 270px);
  }

  .registration-page {
    grid-template-columns: 1fr;
    max-width: 850px;
  }

  .registration-value {
    position: relative;
    top: auto;
    min-height: 0;
    border-radius: 32px 32px 8px 8px;
    &::after {
      font-size: 9rem;
    }
  }

  .registration-preview {
    display: none;
  }

  .registration-form-panel {
    margin: 0 0 55px;
    border-radius: 8px 8px 32px 32px;
  }
}

@media (max-width: 700px) {
  body {
    background: linear-gradient(180deg, #062c36 0 220px, #edf3f3 220px);
  }

  .registration-header,
  .registration-page,
  .registration-footer {
    width: min(100% - 24px, 650px);
  }

  .registration-value {
    padding: 35px 25px 31px;
    border-radius: 24px 24px 6px 6px;
  }

  .value-copy {
    h2 {
      font-size: clamp(3rem, 15vw, 4.2rem);
    }
  }

  .registration-benefits {
    display: none;
  }

  .registration-form-panel {
    padding: 42px 18px 32px;
    border-radius: 6px 6px 24px 24px;
    &::before {
      left: 18px;
    }
  }

  .registration-form-intro {
    h1 {
      font-size: clamp(2.7rem, 12vw, 3.7rem);
    }
  }

  .registration-progress {
    span {
      display: none;
    }
    li:nth-child(1) {
      justify-content: flex-start;
    }
    li:nth-child(2) {
      justify-content: center;
    }
    li:nth-child(3) {
      justify-content: flex-end;
    }
  }

  .registration-form {
    &::before {
      left: 17px;
    }
    .form-chapter {
      margin-left: 46px;
      padding: 23px 16px 25px;
      border-radius: 6px 17px 17px 17px;
    }
    .form-chapter legend {
      margin-left: -64px;
      grid-template-columns: 42px auto;
      column-gap: 9px;
    }
    .form-chapter legend > span {
      width: 42px;
      height: 42px;
      border-width: 5px;
    }
    legend b {
      font-size: 0.84rem;
    }
    legend small {
      font-size: 0.55rem;
    }
  }

  .legal-consent,
  .registration-action,
  .registration-login,
  .form-status {
    margin-left: 46px;
  }

  .registration-action {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 17px;
    .registration-submit {
      min-width: 0;
    }
  }
}

/* Ajustes finales agrupados con CSS Nesting nativo. */
body {
  background:
    radial-gradient(
      circle at 12% 10%,
      rgba(142, 214, 229, 0.16),
      transparent 28rem
    ),
    linear-gradient(115deg, #052b35 0 35%, #eaf1f2 35%);
}

.registration-brand {
  img {
    height: 42px;
    filter: brightness(0) invert(1);
  }
}

.registration-page {
  grid-template-columns: minmax(360px, 0.83fr) minmax(610px, 1.17fr);
  margin-top: 24px;
}

.registration-value {
  top: 20px;
  min-height: calc(100dvh - 130px);
  border: 0;
  border-radius: 32px 0 0 32px;
  background:
    linear-gradient(
      135deg,
      transparent 0 72%,
      rgba(142, 214, 229, 0.07) 72% 73%,
      transparent 73%
    ),
    radial-gradient(
      circle at 90% 20%,
      rgba(249, 115, 22, 0.22),
      transparent 15rem
    ),
    linear-gradient(150deg, #0d596b, #073743 56%, #041e26);

  &::after {
    right: 8%;
    bottom: -8%;
    color: rgba(255, 255, 255, 0.025);
    font-size: 24rem;
    content: "X";
  }

  .value-copy h2 {
    font-size: clamp(3.25rem, 4.3vw, 5.2rem);
  }

  .registration-preview {
    display: block;
    margin: clamp(25px, 4vh, 48px) -28px 30px 0;
  }
}

.preview-window {
  position: relative;
  padding: 8px;
  overflow: hidden;
  background: rgba(246, 251, 252, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 26px 6px 26px 26px;
  box-shadow: 22px 34px 70px rgba(0, 12, 16, 0.4);
  transform: rotate(-2deg);

  &::after {
    position: absolute;
    top: -80px;
    right: -65px;
    width: 180px;
    height: 180px;
    border: 32px solid rgba(21, 94, 117, 0.06);
    border-radius: 50%;
    content: "";
  }

  > header {
    display: flex;
    min-height: 40px;
    padding: 0 13px;
    justify-content: space-between;
    font-size: 0.48rem;
    font-weight: 850;
    letter-spacing: 0.11em;

    em {
      display: flex;
      align-items: center;
      color: #287a48;
    }
  }
}

.preview-body {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 13px 15px;
  padding: 24px;
  background: #edf4f4;
  border: 0;
  border-radius: 20px 3px 20px 20px;

  .preview-monogram {
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    background: var(--primary);
    border-radius: 18px 4px 18px 18px;
    color: #fff;
    font-size: 1.8rem;
    font-weight: 880;
    box-shadow: 0 12px 25px rgba(21, 94, 117, 0.2);
  }

  .preview-identity {
    display: flex;
    min-width: 0;
    justify-content: center;
    flex-direction: column;

    small {
      color: #789096;
      font-size: 0.47rem;
      font-weight: 850;
      letter-spacing: 0.1em;
    }

    strong {
      margin-top: 5px;
      overflow: hidden;
      color: var(--primary-dark);
      font-size: 1.13rem;
      letter-spacing: -0.04em;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    span {
      margin-top: 3px;
      color: #668087;
      font-size: 0.55rem;
    }
  }

  .preview-code {
    grid-column: 1 / -1;
    display: flex;
    height: 45px;
    gap: 5px;
    padding: 8px 2px;
    border-block: 1px dashed #bacdd1;

    i {
      flex: 1;
      background: repeating-linear-gradient(
        90deg,
        #123d47 0 2px,
        transparent 2px 4px
      );
      opacity: 0.62;

      &:nth-child(2n) {
        flex: 0.5;
      }
    }
  }

  footer {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    color: #789096;
    font-size: 0.48rem;
    letter-spacing: 0.08em;

    b {
      color: var(--orange);
    }
  }
}

.preview-trial {
  right: -18px;
  bottom: -24px;
  width: 100px;
  height: 100px;
  background: var(--orange);
  border-color: #073743;
  color: #fff;
  transform: rotate(5deg);

  b {
    font-size: 1.75rem;
  }
}

.registration-form-panel {
  margin: 0 0 50px;
  padding-top: 64px;
  background: rgba(250, 252, 252, 0.98);
  border-radius: 0 32px 32px 0;

  &::before {
    width: 130px;
    height: 5px;
    background: linear-gradient(90deg, var(--orange) 0 35%, var(--primary) 35%);
  }

  .registration-form-intro h1 {
    max-width: 740px;
    font-size: clamp(3.2rem, 4.7vw, 5.35rem);
  }
}

.registration-form {
  &::before {
    display: none;
  }

  .form-chapter {
    margin: 0 0 18px;
    padding: 30px;
    border-radius: 18px;
    box-shadow: 0 14px 38px rgba(8, 47, 58, 0.045);

    &:focus-within {
      border-color: #77aebb;
      box-shadow:
        0 16px 44px rgba(8, 47, 58, 0.09),
        inset 4px 0 0 var(--primary);
      transform: none;
    }

    legend {
      grid-template-columns: 42px auto;
      margin: 0 0 24px;

      > span {
        width: 42px;
        height: 42px;
        border: 0;
        border-radius: 12px 3px 12px 12px;
        box-shadow: none;
      }
    }
  }

  .chapter-contact legend > span {
    background: var(--orange);
  }

  .chapter-security legend > span {
    background: var(--primary-dark);
  }
}

.form-field {
  input,
  select {
    height: 55px;
    background: #f3f7f7;
    border-radius: 12px 3px 12px 12px;
  }
}

.phone-input {
  > span {
    border-radius: 12px 0 0 12px;
  }

  input {
    border-radius: 0 3px 12px 0;
  }
}

.legal-consent,
.registration-action,
.registration-login,
.form-status {
  margin-left: 0;
}

.registration-action {
  background: linear-gradient(120deg, #082f3a, #0d4c5b);
  border-radius: 18px;

  .registration-submit {
    background: var(--orange);
    border-radius: 12px 3px 12px 12px;
  }
}

@media (max-width: 1050px) {
  body {
    background: linear-gradient(180deg, #052b35 0 290px, #eaf1f2 290px);
  }

  .registration-brand {
    img {
      filter: none;
    }
  }

  .registration-page {
    grid-template-columns: 1fr;
  }

  .registration-value {
    top: auto;
    min-height: 0;
    border-radius: 28px 28px 0 0;
  }

  .registration-preview {
    display: none;
  }

  .registration-form-panel {
    border-radius: 0 0 28px 28px;
  }
}

@media (max-width: 700px) {
  .registration-page {
    margin-top: 14px;
  }

  .registration-value {
    padding: 34px 24px 30px;
  }

  .registration-form-panel {
    padding: 40px 16px 28px;
  }

  .registration-form {
    .form-chapter {
      margin-left: 0;
      padding: 22px 16px;

      legend {
        grid-template-columns: 38px auto;
        margin-left: 0;

        > span {
          width: 38px;
          height: 38px;
        }
      }
    }
  }

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

  .form-field-wide {
    grid-column: auto;
  }

  .registration-action {
    grid-template-columns: 1fr;
  }
}

/* V4: contraste y separación visual. */
body {
  background:
    radial-gradient(
      circle at 8% 8%,
      rgba(34, 173, 198, 0.13),
      transparent 24rem
    ),
    radial-gradient(
      circle at 92% 16%,
      rgba(249, 115, 22, 0.1),
      transparent 22rem
    ),
    #eef4f5;
}

.registration-header {
  border-bottom-color: rgba(8, 47, 58, 0.12);

  .registration-brand img {
    filter: brightness(0) saturate(100%) invert(16%) sepia(19%) saturate(1639%)
      hue-rotate(145deg) brightness(91%);
  }

  .back-link {
    color: #45646c;
    &:hover {
      color: var(--primary-dark);
    }
  }

  .login-link {
    background: #fff;
    border-color: #bfd1d5;
    color: var(--primary-dark);
    box-shadow: 0 6px 18px rgba(8, 47, 58, 0.08);

    &:hover {
      border-color: var(--primary);
      color: var(--primary);
    }
  }
}

.registration-page {
  gap: 18px;
}

.registration-value {
  border-radius: 32px;
  background:
    radial-gradient(
      circle at 88% 14%,
      rgba(249, 115, 22, 0.32),
      transparent 14rem
    ),
    radial-gradient(
      circle at 8% 88%,
      rgba(39, 190, 211, 0.18),
      transparent 22rem
    ),
    linear-gradient(145deg, #12647a 0%, #073d4a 48%, #031f28 100%);
  box-shadow: 0 30px 70px rgba(4, 37, 46, 0.25);

  &::before {
    background-image:
      linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  }

  .value-eyebrow {
    color: #bceef5;
  }

  .value-copy {
    h2 {
      color: #fff;
      em {
        color: #7ee3f0;
      }
    }

    > p:last-child {
      color: #d2e7eb;
    }
  }

  .registration-benefits {
    li {
      color: #f3fbfc;
    }
    span {
      color: #98f0b8;
    }
  }

  .registration-security {
    color: #b9d5da;
  }
}

.registration-form-panel {
  margin-bottom: 50px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(175, 199, 204, 0.62);
  border-radius: 32px;
  box-shadow: 0 26px 65px rgba(8, 47, 58, 0.13);

  &::before {
    left: clamp(48px, 5.5vw, 90px);
    width: 150px;
    height: 6px;
    background: linear-gradient(90deg, var(--orange) 0 38%, #25abc5 38%);
    border-radius: 0 0 8px 8px;
  }
}

.registration-form-intro {
  > p {
    color: #d9570a;
  }
  > span {
    color: #526e75;
  }
}

.registration-progress {
  li {
    color: #657d83;
  }
  .is-current {
    color: var(--primary-dark);
    font-weight: 820;
  }
}

.form-status {
  color: #8d2f27;
  background: #fff2f0;
  border: 1px solid #e7bbb6;
  box-shadow: none;
}

.registration-form {
  .form-chapter {
    border-color: #cddde0;
    box-shadow: 0 12px 30px rgba(8, 47, 58, 0.055);

    legend {
      b {
        color: #092f39;
      }
      small {
        color: #617a80;
      }
    }
  }
}

/* Escala tipográfica legible */
.value-eyebrow,
.registration-form-intro > p {
  font-size: 0.75rem;
}

.value-copy > p:last-child,
.registration-form-intro > span {
  font-size: 0.9rem;
}

.registration-benefits li {
  font-size: 0.84rem;
  line-height: 1.45;
}

.registration-security {
  font-size: 0.75rem;
  line-height: 1.55;
}

.registration-divider,
.manual-registration-note {
  font-size: 0.82rem;
}

.registration-form .form-chapter legend b {
  font-size: 1rem;
}

.registration-form .form-chapter legend small {
  font-size: 0.75rem;
  line-height: 1.4;
}

.form-field label {
  font-size: 0.78rem;
}

.form-field input,
.form-field select,
.searchable-select-input {
  font-size: 0.88rem;
}

.verification-options .verification-option-copy b {
  font-size: 0.88rem;
}

.verification-option-copy small {
  font-size: 0.75rem;
}

.legal-consent label {
  font-size: 0.8rem;
  line-height: 1.55;
}

.registration-action > p b {
  font-size: 0.84rem;
}

.registration-action > p small,
.registration-verification-note {
  font-size: 0.75rem;
}

.registration-action .registration-submit span,
.google-registration-button {
  font-size: 0.88rem;
}

.registration-login,
.registration-footer {
  font-size: 0.78rem;
}

.social-registration {
  margin-bottom: 22px;
}

.google-registration-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  padding: 12px 20px;
  color: #173f49;
  font: inherit;
  font-weight: 750;
  background: #fff;
  border: 1px solid #bfd2d6;
  border-radius: 14px;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.google-registration-button:hover {
  border-color: #7eabb4;
  box-shadow: 0 8px 22px rgba(8, 47, 58, 0.1);
  transform: translateY(-1px);
}

.google-registration-button:focus-visible {
  outline: 3px solid rgba(37, 171, 197, 0.28);
  outline-offset: 3px;
}

.google-registration-button svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.registration-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
  color: #657d83;
  font-size: 0.78rem;
  font-weight: 650;
  text-align: center;
}

.registration-divider::before,
.registration-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: #d5e2e4;
}

.registration-divider span {
  flex: 0 1 auto;
}

.manual-registration-note {
  margin: -3px 0 18px;
  color: #526e75;
  font-size: 0.72rem;
  line-height: 1.5;
  text-align: center;
}

.manual-registration-note + .registration-form {
  margin-top: 0;
}

/* Tarjetas de canal de verificación */
.verification-options {
  gap: 14px;
}

.verification-options label > span {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 22px;
  gap: 13px;
  min-height: 76px;
  padding: 14px 15px;
  overflow: hidden;
  color: #294f58;
  background: #f7fafa;
  border: 1px solid #bfd2d6;
  border-radius: 14px 4px 14px 14px;
  box-shadow: none;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.verification-options label > span::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: transparent;
  transition: background-color 160ms ease;
}

.verification-options label:hover > span {
  background: #fff;
  border-color: #7eabb4;
  box-shadow: 0 8px 18px rgba(8, 47, 58, 0.07);
  transform: translateY(-1px);
}

.verification-options label > span > i {
  width: 44px;
  height: 44px;
  border-radius: 11px 3px 11px 11px;
}

.verification-options label input:not(:checked) + span > i,
.verification-options label input:not(:checked) + span > i.verification-icon-sms,
.verification-options label input:not(:checked) + span > i.verification-icon-whatsapp {
  color: var(--primary);
  background: #e5f0f2;
  background: color-mix(in srgb, var(--primary) 10%, white);
  border: 1px solid #c8dde1;
  border: 1px solid color-mix(in srgb, var(--primary) 18%, white);
}

.verification-options label input:not(:checked) + span > .verification-icon-sms svg path {
  fill: none;
  stroke: var(--primary);
}

.verification-options label input:not(:checked) + span > .verification-icon-whatsapp svg path {
  fill: var(--primary);
  stroke: none;
}

.verification-options label > span > i svg,
.verification-options label > span > i.verification-icon-whatsapp svg {
  width: 23px;
  height: 23px;
}

.verification-option-copy {
  display: grid;
  align-content: center;
  gap: 3px;
  min-width: 0;
}

.verification-options .verification-option-copy b {
  color: #153c46;
  font-size: 0.82rem;
  line-height: 1.2;
}

.verification-option-copy small {
  color: #6c858b;
  font-size: 0.65rem;
  line-height: 1.3;
}

.verification-option-check {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  align-self: center;
  color: transparent;
  background: transparent;
  border: 1.5px solid #b5c9cd;
  border-radius: 7px 2px 7px 7px;
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 900;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.verification-options input:checked + span {
  color: #123d47;
  background: #fff;
  border-color: #155e75;
  box-shadow: 0 0 0 3px rgba(21, 94, 117, 0.09), 0 9px 20px rgba(8, 47, 58, 0.07);
}

.verification-options input:checked + span::before {
  background: var(--orange);
}

.verification-options label input:checked + span > i,
.verification-options label input:checked + span > i.verification-icon-sms,
.verification-options label input:checked + span > i.verification-icon-whatsapp {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
}

.verification-options label input:checked + span > .verification-icon-sms svg path {
  fill: none;
  stroke: #fff;
}

.verification-options label input:checked + span > .verification-icon-whatsapp svg path {
  fill: #fff;
  stroke: none;
}

.verification-options input:checked + span .verification-option-check {
  color: #fff;
  background: var(--orange);
  border-color: var(--orange);
}

@media (max-width: 520px) {
  .verification-options {
    grid-template-columns: 1fr;
  }
}

.form-field {
  label {
    color: #234b55;
  }

  input,
  select {
    color: #123b45;
    background-color: #f7fafa;
    border-color: #bfd2d6;

    &::placeholder {
      color: #718b91;
      opacity: 1;
    }
    &:hover {
      background-color: #fff;
      border-color: #7eabb4;
    }
  }
}

.registration-action {
  color: var(--primary-dark);
  background:
    radial-gradient(circle at 12% 0%, rgba(126, 227, 240, 0.22), transparent 48%),
    linear-gradient(135deg, #eef8f9, #e4f1f3);
  border: 1px solid #c6dde1;
  box-shadow: 0 14px 30px rgba(8, 47, 58, 0.1);
  > p b {
    color: var(--primary-dark);
  }
  small {
    color: #607c83;
  }
}

.registration-action .registration-submit {
  position: relative;
  min-height: 62px;
  overflow: hidden;
  justify-content: space-between;
  padding: 8px 10px 8px 20px;
  color: #fff;
  background: linear-gradient(135deg, #0b5365 0%, #137f91 58%, #1695a5 100%);
  border: 1px solid rgba(8, 80, 96, 0.45);
  border-radius: 13px 4px 13px 13px;
  box-shadow:
    0 12px 26px rgba(10, 91, 107, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.registration-action .registration-submit span {
  flex: 1;
  font-size: 0.8rem;
  letter-spacing: -0.01em;
  text-align: left;
}

.registration-action .registration-submit i {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px 3px 10px 10px;
  font-size: 1rem;
  font-style: normal;
  transition: transform 160ms ease, background-color 160ms ease;
}

.registration-action .registration-submit:hover {
  color: #fff;
  background: linear-gradient(135deg, #09495a 0%, #116f81 52%, #138696 100%);
  box-shadow:
    0 16px 34px rgba(10, 91, 107, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.registration-action .registration-submit:hover i {
  background: rgba(255, 255, 255, 0.24);
  transform: translateX(2px);
}

.registration-action .registration-submit:focus-visible {
  outline: 3px solid rgba(20, 142, 160, 0.3);
  outline-offset: 3px;
}

.registration-verification-note {
  margin: 11px 0 0;
  color: #637d83;
  font-size: 0.64rem;
  line-height: 1.45;
  text-align: center;
}

.registration-footer {
  color: #526d74;
  margin-top: 52px;
  padding-top: 22px;
  border-top: 1px solid rgba(21, 94, 117, 0.14);
}

@media (max-width: 1050px) {
  body {
    background:
      radial-gradient(
        circle at 12% 6%,
        rgba(34, 173, 198, 0.13),
        transparent 20rem
      ),
      #eef4f5;
  }

  .registration-page {
    gap: 0;
  }
  .registration-value {
    border-radius: 28px 28px 0 0;

    .registration-preview {
      display: none;
    }
  }
  .registration-form-panel {
    border-top: 0;
    border-radius: 0 0 28px 28px;
  }
}

@media (max-width: 700px) {
  .registration-header {
    .registration-brand img {
      height: 34px;
    }
    .login-link {
      padding: 9px 13px;
    }
  }

  .registration-form-panel {
    &::before {
      left: 18px;
    }
  }

  .registration-form-panel,
  .registration-form-intro,
  .registration-flow,
  .registration-form {
    min-width: 0;
  }

  .registration-value {
    overflow: hidden;

    .value-copy h2 {
      font-size: clamp(2.7rem, 13vw, 3.6rem);
      line-height: 0.94;

      br {
        display: block;
      }
    }
  }

  .registration-header,
  .registration-page,
  .registration-footer {
    width: calc(100% - 24px);
    max-width: 650px;
    min-width: 0;
  }
}

/* Acción contextual para limpiar campos. */
.clearable-control,
.has-clear-action {
  position: relative;
}

.has-clear-action {
  > input {
    padding-right: 48px;
  }

  .field-clear-button {
    position: absolute;
    z-index: 6;
    top: 50%;
    right: 9px;
    display: grid;
    width: 31px;
    height: 31px;
    padding: 0;
    place-items: center;
    background: #e7f0f2;
    border: 0;
    border-radius: 9px;
    color: #52737b;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background-color 0.18s, color 0.18s, transform 0.18s;

    &[hidden] {
      display: none;
    }

    span {
      font-size: 1.15rem;
      font-weight: 500;
      line-height: 1;
    }

    &:hover {
      background: #d7e8eb;
      color: var(--primary-dark);
      transform: translateY(-50%) scale(1.04);
    }

    &:focus-visible {
      outline: 3px solid rgba(21, 94, 117, 0.25);
      outline-offset: 2px;
    }
  }
}

.searchable-select.has-clear-action {
  .searchable-select-input {
    padding-right: 76px;
  }

  .field-clear-button {
    right: 36px;
  }
}

.phone-input.has-clear-action {
  input {
    padding-right: 48px;
  }
}

.verification-code-field .has-clear-action {
  input {
    padding-right: 52px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .field-clear-button {
    transition: none !important;
  }
}

/* Salvaguarda final de legibilidad frente a variantes anteriores */
.verification-options .verification-option-copy b,
.registration-action .registration-submit span,
.google-registration-button {
  font-size: 0.88rem;
}

.verification-option-copy small,
.registration-action > p small,
.registration-verification-note {
  font-size: 0.75rem;
}

.password-input {
  position: relative;
}

.password-input input {
  width: 100%;
  padding-right: 82px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 9px;
  min-width: 62px;
  min-height: 34px;
  padding: 0 10px;
  color: var(--primary);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 760;
  background: #e5f0f2;
  border: 1px solid #c4d9dd;
  border-radius: 9px 3px 9px 9px;
  cursor: pointer;
  transform: translateY(-50%);
}

.password-toggle:hover {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
}

.password-toggle:focus-visible {
  outline: 3px solid rgba(21, 94, 117, 0.25);
  outline-offset: 2px;
}

.field-help {
  display: block;
  margin: 7px 2px 0;
  color: #637d83;
  font-size: 0.75rem;
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   Página de registro orientada a conversión
   -------------------------------------------------------------------------- */
.registration-main {
  width: 100%;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.registration-page *,
.registration-support-content * {
  min-width: 0;
}

.registration-page p,
.registration-page li,
.registration-page a,
.registration-support-content p,
.registration-support-content li,
.registration-support-content a,
.registration-support-content summary {
  overflow-wrap: anywhere;
}

.registration-page {
  grid-template-areas: "form value";
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.65fr);
  align-items: start;
  gap: 22px;
}

.registration-form-panel {
  grid-area: form;
  margin: 0;
  padding: clamp(42px, 5vw, 70px) clamp(28px, 5vw, 72px) 48px;
  border-radius: 32px;
}

.registration-value {
  position: sticky;
  top: 86px;
  grid-area: value;
  min-height: 0;
  height: auto !important;
  padding: 38px 32px 32px;
  border-radius: 28px;
}

.registration-value .value-copy h2 {
  max-width: 440px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.registration-value .value-copy > p:last-child {
  margin-top: 14px;
}

.registration-benefits {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 28px 0 0;
}

.registration-benefits li {
  min-height: 42px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 11px 3px 11px 11px;
}

.trial-includes {
  position: relative;
  z-index: 1;
  margin-top: 24px;
  padding: 22px;
  color: #173f49;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 18px 5px 18px 18px;
  box-shadow: 0 14px 30px rgba(0, 20, 26, 0.2);
}

.trial-includes h3 {
  margin: 0 0 14px;
  color: var(--primary-dark);
  font-size: 1rem;
}

.trial-includes ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trial-includes li {
  position: relative;
  padding-left: 18px;
  color: #526e75;
  font-size: 0.78rem;
  line-height: 1.45;
}

.trial-includes li::before {
  content: "";
  position: absolute;
  top: 0.52em;
  left: 0;
  width: 7px;
  height: 7px;
  background: #7aa7b0;
  border-radius: 2px;
}

.trial-includes .trial-highlight {
  color: #126b36;
  font-weight: 800;
}

.trial-includes .trial-highlight::before {
  background: var(--green, #16a34a);
}

.registration-form-intro {
  max-width: 760px;
}

.registration-form-panel .registration-form-intro h1 {
  max-width: 760px;
  font-size: clamp(2.65rem, 4.7vw, 4.8rem);
  line-height: 0.98;
}

.registration-form-intro > span {
  display: block;
  max-width: 680px;
  margin-top: 12px;
  line-height: 1.6;
}

.registration-trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 10px;
  margin-top: 18px;
  padding: 13px 15px;
  color: #174a56;
  background: #eef7f8;
  border: 1px solid #cce1e4;
  border-radius: 12px 3px 12px 12px;
  font-size: 0.8rem;
}

/* El panel del formulario conserva solo la información necesaria para actuar. */
.registration-form-panel .social-registration {
  margin-top: 22px;
}

.registration-form-panel .registration-form {
  margin-top: 22px;
}

.registration-form-panel .form-chapter {
  padding-top: 26px;
}

.registration-form-panel .registration-action {
  display: block;
  padding: 0;
  background: transparent;
  border: 0;
}

.registration-form-panel .registration-submit {
  width: 100%;
}

.registration-form-panel .registration-login {
  margin-top: 13px;
  line-height: 1.5;
}

.registration-trust-line b {
  font-weight: 820;
}

.registration-trust-line span {
  color: var(--orange);
  font-weight: 900;
}

.registration-time {
  display: block;
  margin-top: 10px;
  color: #637d83;
  font-size: 0.78rem;
}

.form-security-assurance {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  margin: 6px 0 0;
  padding: 16px 18px;
  color: #28545e;
  background: #f1f8f4;
  border: 1px solid #cde3d4;
  border-radius: 13px 4px 13px 13px;
}

.form-security-assurance > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #fff;
  background: #16a34a;
  border-radius: 10px 3px 10px 10px;
  font-size: 0.75rem;
  font-weight: 900;
}

.form-security-assurance h2 {
  margin: 0;
  color: #164b2c;
  font-size: 0.9rem;
}

.form-security-assurance p {
  margin: 4px 0 0;
  color: #52705d;
  font-size: 0.76rem;
  line-height: 1.5;
}

.registration-support-content {
  width: min(1440px, calc(100% - 48px));
  margin: 24px auto 0;
}

.after-registration,
.registration-help,
.registration-faq {
  padding: clamp(30px, 4vw, 52px);
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #cbdcdf;
  border-radius: 28px 8px 28px 28px;
  box-shadow: 0 18px 44px rgba(8, 47, 58, 0.08);
}

.registration-help,
.registration-faq {
  margin-top: 22px;
}

.support-section-heading > p,
.registration-help > div > p {
  margin: 0 0 8px;
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.support-section-heading h2,
.registration-help h2 {
  margin: 0;
  color: var(--primary-dark);
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  letter-spacing: -0.04em;
}

.support-section-heading > span,
.registration-help > div > span {
  display: block;
  margin-top: 9px;
  color: #607980;
  font-size: 0.9rem;
  line-height: 1.55;
}

.onboarding-sequence {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.onboarding-sequence li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 11px;
  padding: 18px;
  background: #f3f8f9;
  border: 1px solid #d4e2e5;
  border-radius: 14px 4px 14px 14px;
}

.onboarding-sequence li > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #fff;
  background: var(--primary);
  border-radius: 11px 3px 11px 11px;
  font-size: 0.65rem;
  font-weight: 850;
}

.onboarding-sequence div {
  display: grid;
  align-content: start;
  gap: 5px;
}

.onboarding-sequence b {
  color: #173f49;
  font-size: 0.84rem;
}

.onboarding-sequence small {
  color: #647d83;
  font-size: 0.74rem;
  line-height: 1.45;
}

.registration-help {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  background:
    radial-gradient(circle at 90% 10%, rgba(249, 115, 22, 0.1), transparent 18rem),
    #fff;
}

.registration-help-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.registration-help-actions a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  gap: 14px;
  padding: 0 16px;
  color: #fff;
  background: var(--primary);
  border-radius: 11px 3px 11px 11px;
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
}

.registration-help-actions a:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.registration-help-actions a:focus-visible {
  outline: 3px solid rgba(21, 94, 117, 0.26);
  outline-offset: 3px;
}

.registration-help > small {
  grid-column: 1 / -1;
  color: #637d83;
  font-size: 0.78rem;
}

.registration-faq {
  display: grid;
  grid-template-columns: minmax(250px, 0.7fr) minmax(0, 1.3fr);
  align-items: start;
  gap: clamp(26px, 5vw, 72px);
}

.registration-faq-list {
  display: grid;
  gap: 9px;
}

.registration-faq-list details {
  background: #f7fafa;
  border: 1px solid #d2e0e2;
  border-radius: 13px 4px 13px 13px;
  overflow: hidden;
}

.registration-faq-list details[open] {
  background: #fff;
  border-color: #8fb5bd;
  box-shadow: 0 8px 20px rgba(8, 47, 58, 0.06);
}

.registration-faq-list summary {
  display: grid;
  grid-template-columns: 1fr 30px;
  align-items: center;
  gap: 14px;
  padding: 17px 18px;
  color: #173f49;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 800;
  list-style: none;
}

.registration-faq-list summary::-webkit-details-marker {
  display: none;
}

.registration-faq-list summary i {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: var(--primary);
  background: #e4eff1;
  border-radius: 9px 3px 9px 9px;
  font-size: 1rem;
  font-style: normal;
  transition: transform 160ms ease;
}

.registration-faq-list details[open] summary i {
  color: #fff;
  background: var(--primary);
  transform: rotate(45deg);
}

.registration-faq-list summary:focus-visible {
  outline: 3px solid rgba(21, 94, 117, 0.24);
  outline-offset: -3px;
}

.registration-faq-list details > p {
  margin: 0;
  padding: 0 18px 18px;
  color: #607980;
  font-size: 0.82rem;
  line-height: 1.6;
}

/* La composición lateral necesita espacio real para que las tarjetas respiren.
   En laptops y tabletas horizontales es más claro apilar ambos paneles. */
@media (max-width: 1220px) {
  .registration-page {
    grid-template-areas:
      "form"
      "value";
    grid-template-columns: minmax(0, 1fr);
  }

  .registration-form-panel {
    border: 1px solid rgba(175, 199, 204, 0.62);
    border-radius: 28px;
  }

  .registration-value {
    position: relative;
    top: auto;
    border-radius: 28px;
  }

  .registration-benefits {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trial-includes ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 700px) {
  .registration-footer {
    margin-top: 36px;
    padding-top: 20px;
  }

  .form-field label {
    font-size: 0.82rem;
  }

  .field-help {
    font-size: 0.78rem;
  }

  .registration-page,
  .registration-support-content {
    width: calc(100% - 24px);
  }

  .registration-form-panel {
    padding: 42px 18px 28px;
  }

  .registration-form-panel .registration-form-intro h1 {
    font-size: clamp(2.15rem, 8.5vw, 3rem);
    line-height: 1.02;
  }

  .registration-trust-line {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .registration-trust-line > span {
    display: none;
  }

  .registration-benefits,
  .trial-includes ul,
  .onboarding-sequence,
  .registration-faq {
    grid-template-columns: 1fr;
  }

  .registration-value {
    padding: 32px 20px 24px;
  }

  .after-registration,
  .registration-help,
  .registration-faq {
    padding: 26px 18px;
    border-radius: 22px 6px 22px 22px;
  }

  .registration-help {
    grid-template-columns: 1fr;
  }

  .registration-help-actions {
    justify-content: flex-start;
  }

  .registration-help-actions a {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 380px) {
  .registration-form-panel {
    padding-inline: 14px;
  }

  .registration-value,
  .after-registration,
  .registration-help,
  .registration-faq {
    padding-inline: 15px;
  }

  .registration-faq-list summary {
    gap: 10px;
    padding-inline: 14px;
  }
}

/* Controles de contraseña y llamada principal */
.registration-form-panel .password-input input {
  padding-right: 54px;
}

.registration-form-panel .password-toggle {
  right: 10px;
  width: 38px;
  min-width: 38px;
  min-height: 38px;
  padding: 0;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: #e7f1f3;
  border-color: #c7dce0;
  border-radius: 10px;
}

.registration-form-panel .password-toggle svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.registration-form-panel .password-toggle svg[hidden] {
  display: none;
}

.registration-form-panel .password-toggle:hover {
  color: #fff;
  background: var(--primary);
}

.registration-form-panel .registration-submit {
  min-height: 64px;
  padding: 9px 10px 9px 22px;
  background: linear-gradient(135deg, #155e75 0%, #117488 100%);
  border: 1px solid #0d5064;
  border-radius: 15px;
  box-shadow: 0 12px 24px rgba(21, 94, 117, 0.22);
}

.registration-form-panel .registration-submit span {
  font-size: 0.94rem;
  font-weight: 820;
  letter-spacing: 0;
}

.registration-form-panel .registration-submit i {
  width: 42px;
  height: 42px;
  background: rgba(249, 115, 22, 0.94);
  border-color: rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(108, 45, 5, 0.16);
}

.registration-form-panel .registration-submit:hover {
  background: linear-gradient(135deg, #104f63 0%, #106b7e 100%);
  box-shadow: 0 15px 28px rgba(21, 94, 117, 0.27);
}

.registration-form-panel .registration-submit:disabled {
  cursor: wait;
  opacity: 0.76;
  transform: none;
}
