/* Taller · Recovery Shop ------------------------------------------------ */

.rs-page {
  background: var(--rs-white);
}

.rs-hero-premium {
  isolation: isolate;
  background:
    radial-gradient(circle at 78% 22%, rgba(82, 255, 47, .18), transparent 27%),
    radial-gradient(circle at 94% 86%, rgba(82, 255, 47, .08), transparent 34%),
    linear-gradient(135deg, #050805 0%, #0e150e 52%, #071007 100%);
}

.rs-hero-premium::after {
  content: "";
  position: absolute;
  right: -210px;
  bottom: -270px;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: rgba(82, 255, 47, .075);
  filter: blur(10px);
  pointer-events: none;
}

.rs-hero-premium .rs-hero-inner {
  padding-block: clamp(54px, 7vw, 82px);
}

.rs-hero-grid-premium {
  display: grid;
}

.rs-hero-premium .rs-hero-copy {
  max-width: 980px;
}

.rs-hero-premium .rs-kicker-line {
  display: flex;
  align-items: center;
  gap: 10px;
}

.rs-hero-premium .rs-kicker-line::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: var(--rs-radius-pill);
  background: currentColor;
}

.rs-hero-premium h1 {
  margin: 0;
  font-size: clamp(3rem, 5.5vw, 4.65rem);
  line-height: .99;
  letter-spacing: -.06em;
  text-wrap: balance;
}

.rs-hero-premium h1 .rs-title-line,
.rs-hero-premium h1 mark {
  display: block;
}

.rs-hero-premium .rs-hero-lead {
  max-width: 720px;
  margin-top: 20px;
  color: #d2dcd3;
  font-size: 1.0625rem;
  line-height: 1.62;
}

.rs-hero-feature-list {
  max-width: 760px;
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.rs-hero-feature-chip {
  min-height: 40px;
  padding-inline: 13px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(82, 255, 47, .28);
  border-radius: var(--rs-radius-pill);
  background: rgba(255, 255, 255, .055);
  color: #eff5ef;
  font-size: .8125rem;
  font-weight: 750;
}

.rs-hero-feature-chip::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--rs-green);
  box-shadow: 0 0 11px rgba(82, 255, 47, .48);
}

.rs-hero-premium .rs-hero-actions {
  margin-top: 25px;
}

.rs-heading-inline {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 13px;
}

.rs-heading-inline h2 {
  font-size: clamp(2.1rem, 4vw, 3.1rem);
}

.rs-heading-mobile {
  display: none;
}

.rs-trust-badge {
  min-height: 38px;
  padding-inline: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(22, 138, 43, .2);
  border-radius: var(--rs-radius-pill);
  background: rgba(82, 255, 47, .09);
  color: #245126;
  font-size: .75rem;
  font-weight: 800;
  white-space: nowrap;
}

.rs-form-shell {
  display: grid;
  grid-template-columns: minmax(290px, .78fr) minmax(0, 1.22fr);
  align-items: stretch;
  gap: 24px;
}

.rs-form-side {
  position: relative;
  height: 100%;
  padding: clamp(24px, 3vw, 31px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(82, 255, 47, .16);
  border-radius: var(--rs-radius-xl);
  background: linear-gradient(180deg, #071007 0%, #101a10 100%);
  color: #eef7ea;
  box-shadow: 0 22px 56px rgba(6, 12, 6, .18);
}

.rs-form-side::before {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -120px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(82, 255, 47, .13), transparent 68%);
  pointer-events: none;
}

.rs-form-side > * {
  position: relative;
  z-index: 1;
}

.rs-form-side h3 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 3vw, 2.65rem);
  line-height: 1.02;
  letter-spacing: -.05em;
}

.rs-process-list {
  display: grid;
  gap: 10px;
}

.rs-process-item {
  padding: 15px;
  display: grid;
  grid-template-columns: 43px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--rs-radius-lg);
  background: rgba(255, 255, 255, .045);
}

.rs-process-step {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--rs-green);
  color: var(--rs-green-ink);
  font-size: .8125rem;
  font-weight: 850;
}

.rs-process-item strong,
.rs-process-item span {
  display: block;
}

.rs-process-item strong {
  color: var(--rs-white);
  font-size: .9375rem;
  line-height: 1.3;
}

.rs-process-item span {
  margin-top: 3px;
  color: #bfccbc;
  font-size: .8125rem;
  line-height: 1.45;
}

.rs-side-footer {
  margin-top: auto;
  padding-top: 18px;
  display: grid;
  gap: 9px;
}

.rs-side-inline {
  min-height: 72px;
  padding: 13px 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--rs-radius-md);
  background: rgba(255, 255, 255, .045);
  color: inherit;
  text-decoration: none;
}

a.rs-side-inline {
  transition: border-color .18s var(--rs-ease), background-color .18s var(--rs-ease);
}

a.rs-side-inline:hover,
a.rs-side-inline:focus-visible {
  border-color: rgba(82, 255, 47, .25);
  background: rgba(255, 255, 255, .075);
}

.rs-side-inline strong {
  color: var(--rs-green);
  font-size: .6875rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.rs-side-inline span {
  margin-top: 4px;
  color: #eef4ee;
  font-size: .8125rem;
  font-weight: 650;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.rs-form-card {
  height: 100%;
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid rgba(22, 138, 43, .2);
  border-radius: var(--rs-radius-xl);
  background: linear-gradient(180deg, var(--rs-white), #fbfcfa);
  box-shadow: var(--rs-shadow-md);
}

.rs-mobile-form-intro {
  display: none;
}

.rs-form {
  display: grid;
  gap: 16px;
}

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

.rs-field {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.rs-field > span {
  color: #263025;
  font-size: .8125rem;
  font-weight: 800;
  line-height: 1.35;
}

.rs-required {
  color: var(--rs-green-dark);
  font-style: normal;
}

.rs-field input,
.rs-field select,
.rs-field textarea {
  width: 100%;
  min-height: 54px;
  padding: 14px 15px;
  border: 1px solid #ccd9c9;
  border-radius: 15px;
  background: var(--rs-white);
  color: var(--rs-ink);
  outline: none;
  transition: border-color .18s var(--rs-ease), box-shadow .18s var(--rs-ease), background-color .18s var(--rs-ease);
}

.rs-field input::placeholder,
.rs-field textarea::placeholder {
  color: #7a8678;
  opacity: 1;
}

.rs-field input:hover,
.rs-field select:hover,
.rs-field textarea:hover {
  border-color: #9bb397;
}

.rs-field input:focus,
.rs-field select:focus,
.rs-field textarea:focus {
  border-color: #72c067;
  box-shadow: 0 0 0 4px rgba(82, 255, 47, .11);
}

.rs-field select {
  padding-right: 40px;
}

.rs-field textarea {
  min-height: 158px;
  resize: vertical;
}

.rs-consent-turnstile {
  display: flex;
  align-items: center;
  gap: 13px;
}

.rs-checkbox {
  min-height: 65px;
  padding: 13px 14px;
  flex: 1 1 auto;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid rgba(22, 138, 43, .16);
  border-radius: var(--rs-radius-md);
  background: #f8faf6;
  color: #4a5747;
  font-size: .8125rem;
  line-height: 1.5;
}

.rs-checkbox input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  flex: 0 0 18px;
}

.rs-checkbox a {
  color: var(--rs-green-dark);
  font-weight: 750;
  text-underline-offset: 2px;
}

.rs-turnstile {
  min-height: 65px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.rs-form-actions {
  padding-top: 2px;
}

.rs-form-actions .rs-btn {
  min-width: 220px;
}

.rs-btn-whatsapp-outline {
  border-color: rgba(22, 138, 43, .35);
  background: var(--rs-white);
  color: var(--rs-ink);
  box-shadow: var(--rs-shadow-sm);
}

.rs-btn-whatsapp-outline:hover {
  border-color: rgba(22, 138, 43, .58);
  background: #fbfdfa;
}

.rs-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* Confirmación final ----------------------------------------------------- */

.rs-form-card.is-submitted {
  padding: 0;
  overflow: hidden;
  border-color: rgba(22, 138, 43, .28);
  background:
    radial-gradient(circle at 84% 12%, rgba(82, 255, 47, .2), transparent 36%),
    linear-gradient(145deg, #fafff7, #efffe9);
}

.rs-submitted-panel {
  width: 100%;
  min-height: 540px;
  padding: clamp(36px, 7vw, 68px) clamp(23px, 5vw, 54px);
  display: grid;
  place-items: center;
  text-align: center;
}

.rs-submitted-card {
  width: min(100%, 560px);
}

.rs-submitted-icon {
  width: 66px;
  height: 66px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: var(--rs-radius-lg);
  background: linear-gradient(135deg, var(--rs-green), #d4ff4d);
  color: var(--rs-green-ink);
  font-size: 2rem;
  font-weight: 850;
  box-shadow: 0 18px 42px rgba(82, 255, 47, .22);
}

.rs-submitted-card h3 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.04;
  letter-spacing: -.05em;
}

.rs-submitted-copy {
  max-width: 480px;
  margin: 17px auto 0;
  color: var(--rs-muted);
  font-size: 1rem;
  line-height: 1.62;
}

.rs-submitted-copy p {
  margin: 0 0 9px;
}

.rs-submitted-copy p:last-child {
  margin-bottom: 0;
}

.rs-submitted-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

/* Estado del envío ------------------------------------------------------- */

.rs-form-status {
  position: fixed;
  inset: 0;
  z-index: 9999;
  padding: 22px;
  display: grid;
  place-items: center;
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
  background: rgba(3, 8, 3, .66);
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
  transition: opacity .2s var(--rs-ease), visibility .2s;
}

.rs-form-status.is-open {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
}

.rs-form-status-card {
  width: min(100%, 460px);
  padding: 28px;
  border: 1px solid rgba(22, 138, 43, .2);
  border-radius: var(--rs-radius-xl);
  background: var(--rs-white);
  color: var(--rs-ink);
  box-shadow: 0 28px 90px rgba(0, 0, 0, .3);
  transform: translateY(12px) scale(.99);
  transition: transform .2s var(--rs-ease);
}

.rs-form-status.is-open .rs-form-status-card {
  transform: translateY(0) scale(1);
}

.rs-form-status-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--rs-green), #a4ff42);
  color: var(--rs-green-ink);
  font-size: 1.5rem;
  font-weight: 850;
}

.rs-form-status-card.is-error .rs-form-status-icon {
  background: linear-gradient(135deg, #d64a4a, #8d1f1f);
  color: var(--rs-white);
}

.rs-form-status-card h3 {
  margin: 0;
  font-size: 1.8rem;
  line-height: 1.06;
  letter-spacing: -.045em;
}

.rs-form-status-card p {
  margin: 8px 0 0;
  color: var(--rs-muted);
  line-height: 1.58;
}

.rs-form-status-actions {
  margin-top: 22px;
  display: flex;
  justify-content: flex-end;
}

.rs-form-status-close {
  min-width: 112px;
}

@media (max-width: 1060px) {
  .rs-form-shell {
    grid-template-columns: 1fr;
  }

  .rs-form-side {
    display: grid;
    grid-template-columns: minmax(200px, .7fr) minmax(0, 1.3fr);
    gap: 24px;
  }

  .rs-form-side h3 {
    align-self: start;
  }

  .rs-side-footer {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .rs-hero-premium .rs-hero-inner {
    padding-block: 39px 43px;
  }

  .rs-hero-premium h1 {
    max-width: 12ch;
    font-size: clamp(2.45rem, 10.6vw, 3.2rem);
    line-height: .99;
  }

  .rs-hero-premium h1 .rs-title-line {
    display: inline;
  }

  .rs-hero-premium .rs-hero-lead {
    margin-top: 16px;
    font-size: 1rem;
    line-height: 1.56;
  }

  .rs-hero-feature-list {
    margin-top: 17px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .rs-hero-feature-chip {
    width: 100%;
    min-height: 42px;
    padding-inline: 11px;
    justify-content: flex-start;
    border-radius: 14px;
  }

  .rs-hero-feature-chip:last-child {
    grid-column: 1 / -1;
  }

  .rs-heading-desktop,
  .rs-form-side {
    display: none;
  }

  .rs-heading-mobile {
    margin-bottom: 13px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
  }

  .rs-heading-mobile h2 {
    margin: 0;
    font-size: clamp(2rem, 8vw, 2.5rem);
    line-height: 1.03;
    letter-spacing: -.05em;
    text-align: left;
  }

  .rs-trust-badge {
    min-height: 34px;
    padding-inline: 10px;
    font-size: .6875rem;
    white-space: normal;
    text-align: center;
  }

  .rs-mobile-form-intro {
    margin: 0 0 18px;
    display: block;
    color: var(--rs-muted);
    font-size: .9375rem;
    line-height: 1.5;
  }

  .rs-form-card {
    padding: 21px;
    border-radius: var(--rs-radius-lg);
  }

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

  .rs-consent-turnstile {
    display: grid;
    gap: 11px;
  }

  .rs-turnstile {
    justify-content: center;
  }

  .rs-form-actions .rs-btn {
    min-width: 0;
  }

  .rs-submitted-panel {
    min-height: 480px;
    padding: 34px 23px;
  }

  .rs-submitted-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .rs-submitted-actions .rs-btn {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .rs-page > .rs-section:first-of-type {
    padding-top: 42px;
  }

  .rs-form-card {
    padding: 18px;
  }

  .rs-field textarea {
    min-height: 145px;
  }

  .rs-checkbox {
    padding: 12px;
  }

  .rs-form-status {
    padding: 14px;
  }

  .rs-form-status-card {
    padding: 23px;
    border-radius: var(--rs-radius-lg);
  }
}

@media (max-width: 359px) {
  .rs-hero-feature-list {
    grid-template-columns: 1fr;
  }

  .rs-hero-feature-chip:last-child {
    grid-column: auto;
  }

  .rs-heading-mobile {
    display: block;
  }

  .rs-heading-mobile .rs-trust-badge {
    margin-top: 10px;
  }
}
