body.register-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 20%, rgba(212, 175, 55, .12), transparent 28%),
    radial-gradient(circle at 90% 85%, rgba(212, 175, 55, .08), transparent 25%),
    #080808;
}

.register-header {
  min-height: 84px;
  padding: 0 6vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(212, 175, 55, .16);
  background: rgba(8, 8, 8, .92);
}

.back-link {
  color: #d4af37;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .09em;
}

.register-main {
  min-height: calc(100vh - 84px);
  padding: 65px 7vw 85px;
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(500px, 1.15fr);
  gap: 7vw;
  align-items: start;
}

.register-intro {
  position: sticky;
  top: 45px;
  padding-top: 35px;
}

.register-intro h1 {
  max-width: 720px;
  margin-bottom: 25px;
  font-size: clamp(3.2rem, 5.8vw, 6rem);
}

.register-intro > p:not(.eyebrow) {
  max-width: 610px;
  color: #b7b1a6;
}

.register-benefits {
  display: grid;
  gap: 14px;
  margin-top: 35px;
}

.register-benefits div {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: #d6d0c5;
}

.register-benefits span {
  color: #d4af37;
  font-weight: 700;
}

.register-benefits p {
  margin: 0;
}

.franchise-box {
  margin-top: 35px;
  padding: 18px 20px;
  border-left: 2px solid #d4af37;
  background: rgba(255, 255, 255, .035);
}

.franchise-box small,
.franchise-box strong {
  display: block;
}

.franchise-box small {
  color: #8e877c;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .68rem;
}

.franchise-box strong {
  margin-top: 5px;
  color: #f4d67a;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
}

.register-card {
  padding: 38px;
  border: 1px solid rgba(212, 175, 55, .28);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(27, 27, 27, .96), rgba(12, 12, 12, .96));
  box-shadow: 0 25px 75px rgba(0, 0, 0, .38);
}

.step-indicator {
  display: flex;
  align-items: center;
  max-width: 300px;
  margin-bottom: 28px;
}

.step-indicator span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid #54482f;
  border-radius: 50%;
  color: #867b67;
  font-size: .75rem;
  font-weight: 700;
}

.step-indicator span.active {
  color: #111;
  border-color: #d4af37;
  background: #d4af37;
}

.step-indicator i {
  height: 1px;
  flex: 1;
  background: #3a3327;
}

.register-card-heading {
  margin-bottom: 25px;
}

.register-card-heading > p {
  margin: 0;
  color: #d4af37;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: .68rem;
}

.register-card-heading h2 {
  margin: 4px 0;
  font-size: 2.45rem;
}

.register-card-heading span {
  color: #9f988c;
  font-size: .82rem;
}

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

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

.field label {
  display: block;
  margin-bottom: 7px;
  color: #ded7cb;
  font-size: .76rem;
}

.field input,
.field select {
  width: 100%;
  height: 49px;
  padding: 0 14px;
  color: #fff;
  border: 1px solid #39342c;
  border-radius: 5px;
  outline: none;
  background: #0b0b0b;
}

.field select option {
  background: #111;
}

.field input:focus,
.field select:focus {
  border-color: #d4af37;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, .08);
}

.field input.invalid,
.field select.invalid {
  border-color: #c96868;
}

.password-field {
  position: relative;
}

.password-field input {
  padding-right: 67px;
}

.password-toggle {
  position: absolute;
  right: 8px;
  top: 8px;
  height: 33px;
  border: 0;
  background: transparent;
  color: #d4af37;
  cursor: pointer;
  font-size: .72rem;
}

.error-message {
  min-height: 18px;
  display: block;
  padding-top: 4px;
  color: #df8585;
  font-size: .67rem;
}

.check-row {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #bdb5a8;
  font-size: .76rem;
}

.check-row input {
  margin-top: 4px;
  accent-color: #d4af37;
}

.check-row a,
.login-access a {
  color: #d4af37;
}

.check-row.optional {
  margin-top: 8px;
}

.terms-error {
  min-height: 10px;
}

.register-submit {
  margin-top: 24px;
}

.login-access {
  margin: 18px 0 0;
  text-align: center;
  color: #9f988c;
  font-size: .78rem;
}

.modal,
.success-panel {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
  place-items: center;
  padding: 20px;
}

.modal.open,
.success-panel.open {
  display: grid;
}

.modal-backdrop,
.success-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .84);
  backdrop-filter: blur(8px);
}

.modal-card,
.success-card {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  padding: 36px;
  border: 1px solid #d4af37;
  border-radius: 10px;
  background: #141414;
  box-shadow: 0 25px 80px rgba(0, 0, 0, .6);
}

.modal-card h2,
.success-card h2 {
  font-size: 2.5rem;
}

.modal-card > p:not(.eyebrow),
.success-card > p:not(.eyebrow) {
  color: #b7b1a6;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 15px;
  border: 0;
  background: transparent;
  color: #d4af37;
  font-size: 1.8rem;
  cursor: pointer;
}

.success-card {
  text-align: center;
}

.success-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #111;
  background: linear-gradient(135deg, #f4d67a, #d4af37);
  font-size: 2rem;
  font-weight: 700;
}

.success-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 25px;
}

@media (max-width: 1050px) {
  .register-main {
    grid-template-columns: 1fr;
  }

  .register-intro {
    position: static;
    padding-top: 0;
  }
}

@media (max-width: 680px) {
  .register-header {
    min-height: 74px;
    padding: 0 5vw;
  }

  .back-link {
    font-size: 0;
  }

  .back-link::after {
    content: "← Inicio";
    font-size: .75rem;
  }

  .register-main {
    padding: 45px 5vw 65px;
  }

  .register-card {
    padding: 27px 19px;
  }

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

  .field-full {
    grid-column: auto;
  }

  .success-actions {
    flex-direction: column;
  }
}
