:root {
  --brand-1: #1e81b5;
  --brand-2: #78b3d2;
  --brand-3: #f8f8f8;
  --brand-4: #ececec;
  --brand-accent: #cd3300;
  --text: #0b1b2b;
  --radius-lg: 1.25rem;
  --shadow-soft: 0 10px 35px rgba(15, 34, 51, 0.08);
  --step-c1: rgba(30, 129, 181, 0.18);
  --step-c2: rgba(120, 179, 210, 0.14);
  --step-c3: rgba(205, 51, 0, 0.1);
}

* {
  box-sizing: border-box;
}

body.captacion-body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(1100px 500px at 5% -15%, rgba(30, 129, 181, 0.2), transparent 55%),
    radial-gradient(900px 450px at 100% 0%, rgba(205, 51, 0, 0.08), transparent 45%),
    linear-gradient(180deg, #f7fbfe 0%, var(--brand-4) 100%);
  min-height: 100vh;
}

.topbar {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(160%) blur(6px);
}

.brand-logo {
  height: 4rem;
  width: auto;
}

.Remax_logo_Design {
  height: 4rem;
  width: auto;
}

.black-design {
  background-color: #0f2233;
}

footer {
  background: #0f2233;
  color: #dfe9ef;
}

footer a {
  color: #dfe9ef;
  text-decoration: none;
}

footer a:hover {
  opacity: 0.85;
}

footer .bi {
  color: #ffffff !important;
  font-size: 1.2rem;
}

.remax-ar-logo {
  height: 110px !important;
  max-height: 110px !important;
  width: auto !important;
}

.wizard-shell {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--radius-lg) !important;
  box-shadow: var(--shadow-soft);
}

.wizard-shell > * {
  position: relative;
  z-index: 1;
}

.step-backdrop {
  position: absolute;
  inset: -14% -12%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.34;
  transform: scale(1);
  filter: blur(0);
  background:
    radial-gradient(640px 360px at 8% 16%, var(--step-c1), transparent 64%),
    radial-gradient(620px 340px at 92% 18%, var(--step-c2), transparent 63%),
    radial-gradient(540px 320px at 50% 92%, var(--step-c3), transparent 68%);
  transition:
    opacity 1.05s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.05s cubic-bezier(0.22, 1, 0.36, 1),
    filter 1.05s cubic-bezier(0.22, 1, 0.36, 1);
}

.step-backdrop.is-animating {
  opacity: 0.5;
  transform: scale(1.045);
  filter: blur(2px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--brand-1);
}

.wizard-progress-track {
  width: 100%;
  height: 0.45rem;
  border-radius: 999px;
  background: rgba(15, 34, 51, 0.1);
  overflow: hidden;
}

.wizard-progress-bar {
  width: 12.5%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-1), var(--brand-2));
  transition: width 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.captacion-form {
  position: relative;
}

.form-viewport {
  position: relative;
  min-height: 22rem;
  transition: min-height 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.form-step {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transform: translateX(2.2rem) scale(0.985);
  filter: blur(2px);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0.8s;
  will-change: opacity, transform, filter;
}

.form-step.is-before {
  transform: translateX(-2.2rem) scale(0.985);
}

.form-step.is-after {
  transform: translateX(2.2rem) scale(0.985);
}

.form-step.is-active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateX(0) scale(1);
  filter: blur(0);
  transition-delay: 0s;
}

.form-control,
.form-select {
  border-radius: 0.85rem;
  border-color: rgba(15, 34, 51, 0.15);
}

.form-control:focus,
.form-select:focus,
.form-check-input:focus {
  border-color: rgba(30, 129, 181, 0.55);
  box-shadow: 0 0 0 0.2rem rgba(30, 129, 181, 0.15);
}

.wizard-actions .btn {
  border-radius: 999px;
  min-width: 8.25rem;
}

.wizard-actions .btn-primary {
  background: var(--brand-1);
  border-color: var(--brand-1);
}

.wizard-actions .btn-primary:hover,
.wizard-actions .btn-primary:focus-visible {
  background: #196b95;
  border-color: #196b95;
}

.form-error {
  min-height: 1.5rem;
  color: #b42318;
  font-size: 0.95rem;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

.success-panel {
  border-top: 1px solid rgba(15, 34, 51, 0.12);
  padding-top: 1.5rem;
}

.integration-box {
  border: 1px solid rgba(15, 34, 51, 0.14);
  border-radius: 1rem;
  background: #f8fbfd;
  padding: 1rem;
}

.share-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.share-grid .btn {
  border-radius: 0.85rem;
}

@media (max-width: 767px) {
  .wizard-shell {
    padding: 1.2rem !important;
  }

  .form-viewport {
    min-height: 24rem;
  }

  .wizard-actions .btn {
    min-width: 7.4rem;
  }

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

@media (prefers-reduced-motion: reduce) {
  .wizard-progress-bar,
  .form-viewport,
  .form-step,
  .step-backdrop {
    transition: none !important;
  }
}
