/* ============================================================
   72 DIGITAL STUDIO — Postulaciones de representantes comerciales
   Se carga después de base.css y reutiliza sus tokens (:root) y
   componentes (.btn, .glass, .card, .eyebrow, .section…). Lo propio
   de esta página lleva el prefijo rc-.
   ============================================================ */

:root {
  /* Estados del formulario. Contraste sobre las tarjetas: danger 8.2:1, success 11.5:1 */
  --rc-danger: #FF8A8A;
  --rc-danger-bg: rgba(255, 107, 107, 0.08);
  --rc-danger-line: rgba(255, 138, 138, 0.5);
  --rc-success: #5EE3A1;
  --rc-success-bg: rgba(94, 227, 161, 0.1);
  --rc-success-line: rgba(94, 227, 161, 0.35);
  --rc-field-bg: rgba(255, 255, 255, 0.045);
  /* --muted-2 da 4.47:1 sobre el fondo de los campos; este tono da 4.97:1 */
  --rc-subtle: #828DA1;
  --rc-nav-offset: 96px;
}

/* La barra de navegación es fija: sin margen los anclajes y los elementos
   a los que el formulario lleva el foco quedarían tapados */
.rc-page [id],
.rc-summary,
.rc-success,
.rc-field { scroll-margin-top: var(--rc-nav-offset); }

/* display: flex/grid de los componentes pisaría el atributo hidden */
.rc-page [hidden] { display: none !important; }

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

/* ============================================================
   1. HERO
   ============================================================ */
.rc-hero { position: relative; padding: 172px 0 100px; text-align: center; overflow: hidden; }
.rc-hero__glow {
  position: absolute; top: -32%; left: 50%; margin-left: -360px;
  width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(46,107,255,0.22), transparent 62%);
  filter: blur(30px); pointer-events: none; will-change: transform;
}
.rc-hero__rings {
  position: absolute; left: 50%; top: 40%;
  width: min(1100px, 170vw); height: auto;
  transform: translate(-50%, -50%);
  pointer-events: none;
  -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 55%, transparent 100%);
}
.rc-hero__content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.rc-hero__title {
  font-size: clamp(2.2rem, 9vw, 5rem);
  line-height: 1.02; font-weight: 700; letter-spacing: -0.04em;
  margin: 4px 0 26px;
}
.rc-hero__line { display: block; }
.rc-hero__lead { font-size: 1.16rem; color: var(--muted); max-width: 640px; }
.rc-hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin: 36px 0 26px; }
.rc-hero__status { margin-bottom: 64px; }

/* Diagrama del rol: empresas → tú → 72DS */
.rc-flow {
  display: grid; grid-template-columns: 1fr 64px 1fr 64px 1fr; align-items: center;
  width: 100%; max-width: 940px;
}
.rc-flow__node {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 22px 18px 20px;
}
.rc-flow__node--you {
  border-color: rgba(46, 107, 255, 0.5);
  background: linear-gradient(180deg, rgba(46, 107, 255, 0.14), rgba(255, 255, 255, 0.02));
  box-shadow: 0 0 0 1px rgba(46, 107, 255, 0.18), 0 24px 60px -30px rgba(46, 107, 255, 0.6);
}
.rc-flow__icon {
  display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 10px;
  border-radius: 13px; color: var(--blue-2);
  background: rgba(46, 107, 255, 0.12); border: 1px solid rgba(46, 107, 255, 0.25);
}
.rc-flow__icon svg { width: 22px; height: 22px; }
/* El PNG del logo trae mucho margen transparente: se amplía desde el centro y se recorta a la caja */
.rc-flow__icon--logo { overflow: hidden; }
.rc-flow__icon--logo picture { display: contents; }
.rc-flow__icon--logo img { width: 100%; height: 100%; object-fit: contain; transform: scale(1.8); }
.rc-flow__title { font-size: 1.02rem; font-weight: 600; letter-spacing: -0.015em; }
.rc-flow__text { font-size: 0.84rem; color: var(--muted); line-height: 1.45; }
.rc-flow__link {
  position: relative; height: 1px;
  background: linear-gradient(90deg, rgba(95, 208, 255, 0.08), rgba(95, 208, 255, 0.55), rgba(95, 208, 255, 0.08));
}
/* Pulso que recorre la conexión. Con reduced-motion styles.css lo detiene en su último fotograma (invisible). */
.rc-flow__link span {
  position: absolute; top: 50%; left: 0;
  width: 6px; height: 6px; margin-top: -3px; border-radius: 50%;
  background: var(--blue-2); box-shadow: 0 0 10px var(--blue-2);
  animation: rc-travel-x 3.4s var(--ease) infinite;
}
.rc-flow__link:last-of-type span { animation-delay: -1.7s; }
@keyframes rc-travel-x {
  0% { left: 0; opacity: 0; }
  15%, 85% { opacity: 1; }
  100% { left: calc(100% - 6px); opacity: 0; }
}
@keyframes rc-travel-y {
  0% { top: 0; opacity: 0; }
  15%, 85% { opacity: 1; }
  100% { top: calc(100% - 6px); opacity: 0; }
}

/* ============================================================
   CABECERAS DE SECCIÓN
   ============================================================ */
.rc-split-head {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: end;
  margin-bottom: 56px;
}
.rc-split-head__text p { color: var(--muted); font-size: 1.06rem; }
.rc-split-head__text p + p { margin-top: 14px; }

/* Nota discreta bajo un bloque (autonomía, proceso) */
.rc-aside-note { max-width: 720px; margin: 30px auto 0; text-align: center; color: var(--muted); font-size: 0.98rem; }

/* Lista con check (mismo dibujo que .plan__features) */
.rc-checklist { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.rc-checklist li { position: relative; padding-left: 30px; }
.rc-checklist li::before {
  content: ""; position: absolute; left: 0; top: 3px;
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(46, 107, 255, 0.13); border: 1px solid rgba(46, 107, 255, 0.32);
}
.rc-checklist li::after {
  content: ""; position: absolute; left: 5.5px; top: 8.5px;
  width: 6.5px; height: 3.5px;
  border-left: 1.6px solid var(--blue-2); border-bottom: 1.6px solid var(--blue-2);
  transform: rotate(-45deg);
}

/* ============================================================
   2. LA OPORTUNIDAD
   ============================================================ */
.rc-services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.rc-service h3 { font-size: 1.12rem; }

/* ============================================================
   3. COMISIONES
   ============================================================ */
.rc-rates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.rc-rate {
  display: flex; flex-direction: column;
  padding: 34px 30px 30px;
  transition: transform 0.45s var(--ease), border-color 0.45s, box-shadow 0.45s;
}
.rc-rate:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: 0 30px 60px -32px rgba(0, 0, 0, 0.75); }
/* El DOM pone el título primero; aquí el porcentaje pasa arriba */
.rc-rate__value {
  order: -2;
  font-size: clamp(4rem, 7.5vw, 6rem); font-weight: 700; line-height: 0.95; letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(120deg, #fff 25%, var(--blue-2));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.rc-rate__value span { font-size: 0.5em; letter-spacing: -0.02em; margin-left: 0.04em; }
.rc-rate__label { order: -1; margin-top: 10px; color: var(--muted); font-size: 0.92rem; font-weight: 500; }
.rc-rate__name {
  margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line);
  font-size: 1.12rem; font-weight: 600; letter-spacing: -0.02em;
}

.rc-note {
  display: flex; gap: 16px; align-items: flex-start;
  margin-top: 22px; padding: 22px 26px;
  border-radius: var(--radius);
  border: 1px solid rgba(95, 208, 255, 0.22);
  background: rgba(46, 107, 255, 0.06);
}
.rc-note__icon { flex: 0 0 auto; width: 22px; height: 22px; margin-top: 2px; color: var(--blue-2); }
.rc-note__icon svg { width: 100%; height: 100%; }
.rc-note__body p { color: var(--muted); font-size: 0.98rem; }
.rc-note__body p + p { margin-top: 6px; }
.rc-note__body strong { color: var(--text); font-weight: 600; }

/* ============================================================
   4. CÓMO FUNCIONA — numeración editorial con líneas de conexión
   ============================================================ */
.rc-steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 30px; }
.rc-step__head { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.rc-step__num {
  font-size: 2.7rem; font-weight: 700; line-height: 1; letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(120deg, var(--blue-2), var(--blue));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.rc-step__line { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(95, 208, 255, 0.5), rgba(255, 255, 255, 0.07)); }
.rc-step:last-child .rc-step__line { background: linear-gradient(90deg, rgba(95, 208, 255, 0.3), transparent); }
.rc-step__title { font-size: 1.14rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 8px; }
.rc-step p { color: var(--muted); font-size: 0.95rem; }
.rc-step p.rc-step__note {
  display: flex; gap: 10px; align-items: flex-start;
  margin-top: 16px; padding: 12px 14px;
  border-radius: 12px; border: 1px solid var(--line); background: var(--surface);
  font-size: 0.86rem; line-height: 1.5;
}
.rc-step__note svg { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 1px; color: var(--blue-2); }

/* ============================================================
   5. QUÉ OFRECEMOS
   ============================================================ */
.rc-benefits__grid { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rc-benefit { display: flex; gap: 18px; align-items: flex-start; padding: 30px; }
.rc-benefit:nth-child(odd) { border-right: 1px solid var(--line); }
.rc-benefit:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
.rc-benefit .card__icon { flex: 0 0 auto; margin-bottom: 0; }
.rc-benefit h3 { font-size: 1.08rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 6px; }
.rc-benefit p { color: var(--muted); font-size: 0.94rem; }

/* ============================================================
   6. A QUIÉN BUSCAMOS
   ============================================================ */
.rc-profile { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 56px; align-items: center; }
.rc-profile__highlight {
  margin-top: 24px; padding-left: 16px;
  border-left: 2px solid var(--blue-2);
  color: var(--text); font-size: 1.06rem; font-weight: 500;
}
.rc-profile__card { padding: 32px 30px; }
.rc-profile__card-title {
  margin-bottom: 20px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--rc-subtle);
}
.rc-profile__foot { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.93rem; }

/* ============================================================
   7. PROCESO DE INCORPORACIÓN
   ============================================================ */
.rc-stages { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.rc-stage { padding: 28px 24px 26px; transition: transform 0.45s var(--ease), border-color 0.45s; }
.rc-stage:hover { transform: translateY(-3px); border-color: var(--line-2); }
.rc-stage__index {
  display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 22px;
  border-radius: 50%; font-size: 0.95rem; font-weight: 600; color: var(--blue-2);
  background: rgba(46, 107, 255, 0.12); border: 1px solid rgba(46, 107, 255, 0.3);
}
.rc-stage h3 { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 8px; }
.rc-stage p { color: var(--muted); font-size: 0.93rem; }

/* ============================================================
   8. FORMULARIO
   ============================================================ */
.rc-apply__grid {
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: start;
}
.rc-apply__intro { position: sticky; top: 120px; }
.rc-apply__intro .section__sub { margin-top: 18px; }
.rc-apply__facts { margin-top: 30px; }
.rc-apply__facts li { color: var(--muted); font-size: 0.95rem; }

.rc-form-card { padding: 36px; }
.rc-form { display: flex; flex-direction: column; gap: 34px; }
.rc-form__required { margin-bottom: -12px; color: var(--muted); font-size: 0.9rem; }
.rc-form__group { display: flex; flex-direction: column; gap: 22px; }
.rc-form__group + .rc-form__group { padding-top: 32px; border-top: 1px solid var(--line); }
.rc-form__group-title { display: flex; align-items: center; gap: 12px; font-size: 1.05rem; font-weight: 600; letter-spacing: -0.015em; }
.rc-form__group-title span {
  display: grid; place-items: center; width: 28px; height: 28px; flex: 0 0 auto;
  border-radius: 50%; font-size: 0.82rem; color: var(--blue-2);
  background: rgba(46, 107, 255, 0.12); border: 1px solid rgba(46, 107, 255, 0.3);
}
.rc-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }

/* ---------- Campos ---------- */
.rc-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.rc-label { padding: 0; font-size: 0.95rem; font-weight: 500; color: var(--text); }
/* La legend no participa del flex del fieldset: el hueco se da a mano */
legend.rc-label { margin-bottom: 8px; }
.rc-sublabel { font-size: 0.82rem; color: var(--muted); }
.rc-hint { font-size: 0.86rem; color: var(--muted); }
.rc-hint--indent { padding-left: 53px; }

.rc-input {
  width: 100%; min-height: 52px; padding: 13px 16px;
  font: inherit; font-size: 1rem; letter-spacing: -0.005em; color: var(--text);
  background: var(--rc-field-bg);
  border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  transition: border-color 0.25s, background 0.25s;
  -webkit-appearance: none; appearance: none;
}
.rc-input::placeholder { color: var(--rc-subtle); opacity: 1; }
.rc-input:hover { border-color: rgba(255, 255, 255, 0.22); }
.rc-input:focus { border-color: var(--blue); background: rgba(46, 107, 255, 0.07); }
.rc-input:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: var(--radius-sm); }
.rc-textarea { min-height: 148px; resize: vertical; line-height: 1.55; }

.rc-field.is-invalid .rc-input { border-color: var(--rc-danger-line); background: var(--rc-danger-bg); }
.rc-field.is-invalid .rc-input:focus { border-color: var(--rc-danger); }

/* Error: icono + prefijo oculto "Error:" + texto. Nunca solo color. */
.rc-error { display: flex; gap: 8px; align-items: flex-start; color: var(--rc-danger); font-size: 0.88rem; font-weight: 500; line-height: 1.45; }
.rc-error:empty { display: none; }
.rc-error::before,
.rc-alert:not(:empty)::before,
.rc-summary__title::before {
  content: "!"; flex: 0 0 auto;
  display: grid; place-items: center; width: 17px; height: 17px; margin-top: 1px;
  border-radius: 50%; background: var(--rc-danger); color: #1A0606;
  font-size: 0.72rem; font-weight: 800; line-height: 1;
}

.rc-field__meta { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; }
.rc-field__meta .rc-error { flex: 1 1 auto; }
.rc-counter { margin-left: auto; font-size: 0.82rem; color: var(--rc-subtle); font-variant-numeric: tabular-nums; white-space: nowrap; }
.rc-counter.is-short { color: var(--muted); }

/* WhatsApp: código de país + número */
.rc-phone__inputs { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 12px; }
.rc-phone__code, .rc-phone__number { display: flex; flex-direction: column; gap: 6px; min-width: 0; }

/* ---------- Opciones (radio y checkbox nativos, con apariencia propia) ---------- */
.rc-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.rc-choice {
  display: flex; align-items: center; gap: 12px;
  min-height: 52px; padding: 12px 16px;
  border-radius: var(--radius-sm); border: 1px solid var(--line-2); background: var(--rc-field-bg);
  font-size: 0.95rem; line-height: 1.35; cursor: pointer;
  transition: border-color 0.25s, background 0.25s;
}
.rc-choice:hover { border-color: rgba(255, 255, 255, 0.24); }
.rc-choice:has(.rc-check:checked) { border-color: rgba(46, 107, 255, 0.65); background: rgba(46, 107, 255, 0.1); }
.rc-field.is-invalid .rc-choice:not(:has(.rc-check:checked)) { border-color: var(--rc-danger-line); }

.rc-check {
  -webkit-appearance: none; appearance: none;
  flex: 0 0 auto; display: inline-grid; place-content: center;
  width: 21px; height: 21px; margin: 0;
  border-radius: 6px; border: 1.5px solid rgba(255, 255, 255, 0.38); background: rgba(255, 255, 255, 0.03);
  cursor: pointer; transition: background 0.2s, border-color 0.2s;
}
.rc-check::before {
  content: ""; width: 11px; height: 11px; background: #fff;
  transform: scale(0); transition: transform 0.18s var(--ease);
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}
.rc-check:checked { background: var(--blue); border-color: var(--blue); }
.rc-check:checked::before { transform: scale(1); }
.rc-check--radio, .rc-check--radio:focus-visible { border-radius: 50%; }
.rc-check--radio::before { width: 8px; height: 8px; border-radius: 50%; clip-path: none; }
.rc-check:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
.rc-check:disabled { opacity: 0.4; cursor: not-allowed; }
@media (forced-colors: active) {
  .rc-check { border-color: CanvasText; }
  .rc-check::before { background: CanvasText; }
}

.rc-consent {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface);
  color: var(--muted); font-size: 0.94rem; line-height: 1.55; cursor: pointer;
  transition: border-color 0.25s, color 0.25s;
}
.rc-consent .rc-check { margin-top: 1px; }
.rc-consent:has(.rc-check:checked) { border-color: rgba(46, 107, 255, 0.45); color: var(--text); }
.rc-consent:has(.rc-check:disabled) { cursor: default; }
.rc-field.is-invalid .rc-consent { border-color: var(--rc-danger-line); }
.rc-link { color: var(--blue-2); text-decoration: underline; text-underline-offset: 3px; }
.rc-link:hover { color: var(--text); }

/* ---------- Avisos ---------- */
.rc-banner {
  display: flex; gap: 14px; align-items: flex-start;
  margin-bottom: 28px; padding: 16px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(95, 208, 255, 0.25); background: rgba(46, 107, 255, 0.08);
}
.rc-banner__icon { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 1px; color: var(--blue-2); }
.rc-banner__icon svg { width: 100%; height: 100%; }
.rc-banner__body { display: flex; flex-direction: column; gap: 3px; }
.rc-banner__title { font-size: 0.96rem; font-weight: 600; color: var(--text); }
.rc-banner__text { font-size: 0.9rem; color: var(--muted); }
.rc-banner__text:empty { display: none; }
.rc-banner--static { display: block; color: var(--text); font-size: 0.94rem; }

/* role="alert" permanece en el árbol aunque esté vacío, para que el
   lector de pantalla anuncie el mensaje en cuanto aparece */
.rc-alert { display: flex; gap: 10px; align-items: flex-start; color: var(--text); font-size: 0.94rem; line-height: 1.5; }
.rc-alert:not(:empty) {
  margin-bottom: 18px; padding: 14px 16px;
  border-radius: var(--radius-sm); border: 1px solid var(--rc-danger-line); background: var(--rc-danger-bg);
}

.rc-summary {
  margin-bottom: 28px; padding: 20px 22px;
  border-radius: var(--radius-sm); border: 1px solid var(--rc-danger-line); background: var(--rc-danger-bg);
}
.rc-summary:focus { outline: 2px solid var(--rc-danger); outline-offset: 3px; }
.rc-summary__title { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; font-size: 1rem; font-weight: 600; }
.rc-summary__list { list-style: none; display: flex; flex-direction: column; gap: 6px; padding-left: 27px; }
.rc-summary__list a { color: var(--rc-danger); font-size: 0.93rem; text-decoration: underline; text-underline-offset: 3px; }
.rc-summary__list a:hover { color: var(--text); }

/* ---------- Envío ---------- */
.rc-turnstile { min-height: 65px; margin-bottom: 18px; }
.rc-form__actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.rc-submit { justify-content: center; min-width: 240px; }
.rc-submit:disabled { opacity: 0.45; cursor: not-allowed; box-shadow: none; filter: saturate(0.5); }
.rc-submit:disabled:hover { transform: none; box-shadow: none; }
.rc-submit:disabled:hover::after { opacity: 0; }
.rc-submit[aria-disabled="true"] { pointer-events: none; opacity: 0.85; }
.rc-submit-note { flex: 1 1 220px; color: var(--muted); font-size: 0.88rem; }
.rc-submit-note:empty { display: none; }

.rc-spinner {
  display: none; width: 16px; height: 16px;
  border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: #fff;
  animation: rc-spin 0.8s linear infinite;
}
[data-state="validating"] .rc-spinner,
[data-state="submitting"] .rc-spinner { display: inline-block; }
[data-state="validating"] .rc-submit .btn__arrow,
[data-state="submitting"] .rc-submit .btn__arrow { display: none; }
@keyframes rc-spin { to { transform: rotate(360deg); } }

/* Honeypot: fuera de pantalla, sin foco y oculto a lectores */
.rc-trap { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Confirmación ---------- */
.rc-success { display: flex; flex-direction: column; align-items: center; padding: 28px 8px 12px; text-align: center; }
.rc-success:focus { outline: none; }
.rc-success__icon {
  display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 20px;
  border-radius: 50%; color: var(--rc-success);
  background: var(--rc-success-bg); border: 1px solid var(--rc-success-line);
}
.rc-success__icon svg { width: 30px; height: 30px; }
.rc-success__title { margin-bottom: 10px; font-size: 1.6rem; font-weight: 700; letter-spacing: -0.025em; }
.rc-success__message { font-size: 1.05rem; }
.rc-success__text { max-width: 440px; margin-top: 8px; color: var(--muted); }
.rc-success .btn { margin-top: 26px; }

/* ---------- CTA fijo (solo móvil) ---------- */
.rc-sticky-cta { display: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .rc-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .rc-split-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 44px; }
  .rc-profile { grid-template-columns: 1fr; gap: 36px; }
  .rc-stages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rc-apply__grid { grid-template-columns: 1fr; gap: 36px; }
  .rc-apply__intro { position: static; }

  /* Cómo funciona pasa a línea de tiempo vertical */
  .rc-steps { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
  .rc-step { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 18px; }
  .rc-step__head { grid-row: 1 / span 3; flex-direction: column; align-items: flex-start; gap: 12px; margin: 0; }
  .rc-step__num { font-size: 2.1rem; }
  .rc-step__line { flex: 1 1 auto; width: 1px; height: auto; min-height: 24px; margin: 0 0 14px 18px; background: linear-gradient(180deg, rgba(95, 208, 255, 0.5), rgba(255, 255, 255, 0.07)); }
  .rc-step:last-child .rc-step__line { display: none; }
  .rc-step > :not(.rc-step__head) { grid-column: 2; }
  .rc-step p:last-child { padding-bottom: 30px; }
  .rc-step:last-child p:last-child { padding-bottom: 0; }
}

@media (max-width: 720px) {
  .rc-hero { padding: 124px 0 72px; }
  .rc-hero__rings { top: 30%; width: 190vw; }
  .rc-hero__glow { margin-left: -300px; width: 600px; height: 600px; }
  .rc-hero__lead { font-size: 1.04rem; }
  .rc-hero__cta { flex-direction: column; align-items: stretch; width: 100%; max-width: 380px; margin-top: 30px; }
  .rc-hero__cta .btn { justify-content: center; }
  .rc-hero__status { margin-bottom: 44px; }

  /* Diagrama en vertical y compacto: icono a la izquierda */
  .rc-flow { grid-template-columns: 1fr; max-width: 380px; }
  .rc-flow__node {
    display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; row-gap: 0;
    align-items: center; padding: 14px 16px; text-align: left;
  }
  .rc-flow__icon { grid-row: 1 / span 2; width: 40px; height: 40px; margin: 0; }
  .rc-flow__title { grid-column: 2; align-self: end; }
  .rc-flow__text { grid-column: 2; align-self: start; }
  .rc-flow__link {
    justify-self: center; width: 1px; height: 26px;
    background: linear-gradient(180deg, rgba(95, 208, 255, 0.08), rgba(95, 208, 255, 0.55), rgba(95, 208, 255, 0.08));
  }
  .rc-flow__link span { top: 0; left: 50%; margin: 0 0 0 -3px; animation-name: rc-travel-y; }

  .rc-services, .rc-rates, .rc-stages { grid-template-columns: 1fr; }
  .rc-rate { padding: 28px 24px 26px; }
  .rc-rate__name { margin-top: 20px; padding-top: 18px; }
  .rc-note { padding: 20px 18px; gap: 12px; }
  .rc-benefits__grid { grid-template-columns: 1fr; }
  .rc-benefit { padding: 24px 22px; }
  .rc-benefit:nth-child(odd) { border-right: none; }
  .rc-benefit:not(:last-child) { border-bottom: 1px solid var(--line); }
  .rc-profile__card { padding: 26px 22px; }
  .rc-aside-note { text-align: left; }

  .rc-form-card { padding: 26px 18px; }
  .rc-form { gap: 30px; }
  .rc-grid-2, .rc-choices { grid-template-columns: 1fr; }
  .rc-phone__inputs { grid-template-columns: 96px minmax(0, 1fr); }
  .rc-consent { padding: 14px; gap: 12px; }
  .rc-hint--indent { padding-left: 0; }
  .rc-form__actions { flex-direction: column; align-items: stretch; }
  .rc-submit { width: 100%; min-width: 0; }
  .rc-submit-note { flex-basis: auto; }

  .rc-sticky-cta {
    display: block;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: 14px 16px 16px;
    background: linear-gradient(180deg, rgba(5, 7, 13, 0), rgba(5, 7, 13, 0.94) 38%);
    transform: translateY(110%); visibility: hidden;
    transition: transform 0.35s var(--ease), visibility 0s linear 0.35s;
  }
  .rc-sticky-cta.is-visible { transform: none; visibility: visible; transition: transform 0.35s var(--ease), visibility 0s; }
  .rc-sticky-cta__btn { width: 100%; min-height: 50px; justify-content: center; }
  /* Que el CTA fijo no tape el final del footer */
  .rc-page .footer { padding-bottom: 104px; }
}
