/* aura Resident · /resident/
   Pagina estatica: sin frameworks, sin compilacion. Misma identidad que
   /fellowship/ (los bloques base vienen de fellowship.css, copiados para que
   esta pagina no dependa de aquella): hero claro, acentos azules, pie marino.
   AURA_RESIDENT_V1 (2026-10-18). */

:root {
  --tinta: #0a0d17;
  --tinta-2: #18213a;
  --texto: #3a4560;
  --tenue: #66718c;
  --azul: #1570ef;
  --azul-hondo: #0d4fc6;
  --azul-claro: #4a98ff;
  --azul-cielo: #9cc6ff;
  --lavanda: #e3e9f8;
  --navy: #050b1e;
  --navy-2: #0a1634;
  --papel: #f8f6f2;
  --niebla: #eef2f8;
  --oro: #f0be62;
  --oro-claro: #ffe2a6;
  --linea: rgba(14, 26, 60, 0.1);
  --ok: #0e7a55;
  --error: #c2352b;
  --error-fondo: #fff6f4;
  --radio: 22px;
  --sombra: 0 40px 90px -40px rgba(16, 44, 110, 0.42), 0 10px 30px -18px rgba(16, 30, 70, 0.22);
  --fuente: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: 16px;
  --barra-h: 64px;
  --curva: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: light;
}

@media (min-width: 720px) {
  :root { --gutter: 32px; --barra-h: 72px; }
}
@media (min-width: 1100px) {
  :root { --gutter: 48px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--barra-h) + 16px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--papel);
  color: var(--texto);
  font-family: var(--fuente);
  font-optical-sizing: auto;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
@supports (overflow: clip) {
  body { overflow-x: clip; }
}

img, svg, canvas { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid var(--azul-claro);
  outline-offset: 3px;
  border-radius: 6px;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.ico {
  width: 1em;
  height: 1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.saltar {
  position: fixed;
  left: 16px; top: 12px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--tinta);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s;
}
.saltar:focus { transform: none; }

main:focus { outline: none; }

.centinela { position: absolute; top: 0; left: 0; width: 1px; height: 24px; pointer-events: none; }

.contenedor {
  width: min(1200px, calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}

.azul { color: var(--azul); }
.seccion--oscura .azul { color: var(--azul-claro); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.005em;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.25s var(--curva), box-shadow 0.25s var(--curva), background-color 0.2s, border-color 0.2s, color 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.btn .ico { font-size: 20px; stroke-width: 2; transition: transform 0.25s var(--curva); }
.btn:hover .ico:last-child { transform: translateX(3px); }
.btn:active { transform: translateY(1px) scale(0.99); }

.btn--primario {
  color: #fff;
  background: linear-gradient(180deg, #2a86ff 0%, #1466e6 100%);
  box-shadow: 0 14px 30px -12px rgba(21, 102, 230, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.btn--primario:hover {
  box-shadow: 0 18px 38px -12px rgba(21, 102, 230, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.32);
  transform: translateY(-1px);
}
.btn--primario[disabled] { cursor: progress; opacity: 0.86; transform: none; }

.btn--tinta { color: #fff; background: var(--tinta); }
.btn--tinta:hover { background: #1b2340; }

.btn--fantasma {
  color: var(--tinta);
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(14, 26, 60, 0.16);
}
.btn--fantasma:hover { border-color: rgba(14, 26, 60, 0.32); background: rgba(255, 255, 255, 0.85); }
.btn--fantasma .ico:first-child { margin-left: -4px; }
.btn:hover .ico:first-child:not(:last-child) { transform: none; }

.btn--sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn--grande { min-height: 58px; padding: 0 30px; font-size: 17px; }
.btn--bloque { width: 100%; }

.enlace-btn {
  min-height: 44px;
  padding: 4px 2px;
  border: 0;
  background: none;
  color: var(--azul-hondo);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.btn-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 1.5px solid #d6deec;
  border-radius: 999px;
  background: #fff;
  color: var(--tinta-2);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}
.btn-chip .ico { font-size: 18px; }
.btn-chip:hover { border-color: #a9b8d4; background: #f7f9fd; }
.btn-chip.es-copiado { border-color: var(--ok); color: var(--ok); }
.btn-chip--wa .ico { color: #12a150; }
.btn-chip--li .ico { color: #0a66c2; }

/* ---------- Ceja y titulos ---------- */
.ceja {
  color: #2c4170;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.24em;
  line-height: 1.3;
  text-transform: uppercase;
}
.ceja::after {
  content: "";
  display: block;
  width: 44px;
  height: 2px;
  margin-top: 16px;
  background: currentColor;
  opacity: 0.55;
}
.ceja--clara { color: #c9d6f0; }

.titulo-2 {
  margin-top: 26px;
  max-width: 20ch;
  color: var(--tinta);
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
  text-wrap: balance;
}
.seccion--oscura .titulo-2 { color: #f4f7ff; font-weight: 500; }
.titulo-2 .azul { display: block; }
@media (min-width: 720px) { .titulo-2 { max-width: none; } }

/* ---------- Barra superior ---------- */
.barra {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--barra-h);
  transition: background-color 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}
.barra__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 100%;
  width: min(1200px, calc(100% - 2 * var(--gutter)));
  margin-inline: auto;
}
.barra--solida {
  background: rgba(248, 247, 244, 0.82);
  box-shadow: 0 1px 0 rgba(14, 26, 60, 0.07), 0 10px 30px -24px rgba(14, 26, 60, 0.5);
  -webkit-backdrop-filter: saturate(1.5) blur(16px);
  backdrop-filter: saturate(1.5) blur(16px);
}
.barra--oscura.barra--solida {
  background: rgba(5, 11, 30, 0.72);
  box-shadow: 0 1px 0 rgba(160, 190, 255, 0.1), 0 10px 30px -24px rgba(0, 0, 0, 0.8);
}
.barra--oscura .barra__marca { color: #fff; }
.barra--oscura .barra__clase { color: #c9d6f0; }
.barra--oscura .btn--tinta { background: #fff; color: var(--tinta); }
.barra--oscura .btn--tinta:hover { background: #e8eefb; }
.barra__marca {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--tinta);
  transition: color 0.3s;
}
.marca-imaginai { width: auto; height: 15px; aspect-ratio: 1049 / 131; }
@media (min-width: 720px) { .barra .marca-imaginai { height: 18px; } }
/* El logotipo de aura (assets/branding/aura_logo.svg) en la barra y en el pie. */
.marca-aura { width: auto; height: 26px; aspect-ratio: 542 / 154; color: var(--tinta); }
@media (min-width: 720px) { .barra .marca-aura { height: 30px; } }

.barra__der { display: flex; align-items: center; gap: 22px; }
.barra__clase {
  display: none;
  color: #2c4170;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  line-height: 1.45;
  text-align: right;
  text-transform: uppercase;
}
.barra__clase span { display: block; }
@media (min-width: 720px) { .barra__clase { display: block; } }

/* ---------- HERO ---------- */
.seccion {
  position: relative;
  isolation: isolate;
  padding: clamp(80px, 11vw, 148px) 0;
}

.seccion--oscura {
  color: #d5e0f4;
  background:
    radial-gradient(60% 50% at 100% 100%, rgba(32, 96, 230, 0.32), rgba(32, 96, 230, 0) 70%),
    radial-gradient(50% 40% at 0% 0%, rgba(44, 86, 196, 0.26), rgba(44, 86, 196, 0) 70%),
    linear-gradient(180deg, #071029 0%, #050b1e 100%);
  color-scheme: dark;
}

.tarjeta-form {
  position: relative;
  scroll-margin-top: calc(var(--barra-h) + 12px);
  padding: 26px 20px 24px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--sombra);
}
@media (min-width: 560px) { .tarjeta-form { padding: 36px 36px 32px; border-radius: 32px; } }

.wizard__progreso {
  color: var(--azul-hondo);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.wizard__barra {
  height: 5px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #e8edf6;
}
.wizard__barra span {
  display: block;
  width: 25%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1466e6, #4a98ff 70%, #f0be62);
  transition: width 0.5s var(--curva);
}
.wizard__pasos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 10px;
  color: #8a94ab;
  font-size: 12.5px;
  font-weight: 600;
}
.wizard__pasos li.es-actual { color: var(--tinta-2); }
.wizard__pasos li.es-hecho { color: var(--azul-hondo); }
.wizard__pasos li:not(:first-child) { text-align: center; }
.wizard__pasos li:last-child { text-align: right; }

.form-alerta {
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid #f3c6bf;
  border-radius: 16px;
  background: var(--error-fondo);
  color: #8b2219;
  font-size: 15px;
  line-height: 1.5;
}
.form-alerta:focus { outline: none; }
.form-alerta strong { display: block; color: #7a1d15; }
.form-alerta > span { display: block; margin-top: 4px; }
.form-alerta ul { margin-top: 6px; display: grid; gap: 2px; }
.form-alerta a { color: inherit; font-weight: 600; text-underline-offset: 3px; }
.form-alerta .btn-chip { margin-top: 10px; }
.form-alerta--info { border-color: #cfe0ff; background: #f1f6ff; color: #173a7a; }
.form-alerta--info strong { color: #0f2d66; }
.campo { margin: 24px 0 0; padding: 0; border: 0; min-width: 0; }
.campo > label,
.campo > legend {
  display: block;
  margin-bottom: 9px;
  padding: 0;
  color: var(--tinta-2);
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.4;
}
.opcional { color: var(--tenue); font-weight: 400; }
.campo__ayuda { margin: -3px 0 10px; color: var(--tenue); font-size: 14px; line-height: 1.45; }
.campo__ayuda--escudo { display: flex; align-items: flex-start; gap: 8px; color: #2a4a8a; }
.campo__ayuda--escudo .ico { margin-top: 1px; font-size: 18px; color: var(--azul); }

.entrada {
  display: block;
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border: 1.5px solid #d8e0ed;
  border-radius: 14px;
  background: #f7f9fc;
  color: var(--tinta);
  font-size: 16px;
  line-height: 1.4;
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.entrada::placeholder { color: #9aa4b8; }
.entrada:hover { border-color: #bfcadf; }
.entrada:focus {
  outline: none;
  border-color: var(--azul);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(21, 112, 239, 0.14);
}
.entrada[aria-invalid="true"] { border-color: var(--error); background: var(--error-fondo); }
.entrada[aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(194, 53, 43, 0.14); }
select.entrada {
  padding-right: 46px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23485472' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9.5 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 18px;
  cursor: pointer;
}
.entrada--area { min-height: 200px; resize: vertical; line-height: 1.55; }
.entrada--corta { min-height: 120px; }

.campo__error {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: 8px;
  color: var(--error);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}
.campo__error::before {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c2352b' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9.5'/%3E%3Cpath d='M12 7.4v5.8M12 16.4v.2'/%3E%3C/svg%3E") center / contain no-repeat;
}
.campo__vista { margin-top: 8px; color: var(--ok); font-size: 13.5px; line-height: 1.4; word-break: break-all; }
.campo__vista:empty { display: none; }
.check { position: relative; margin-top: 10px; }
.check input {
  position: absolute;
  left: 15px;
  top: 15px;
  z-index: 1;
  width: 24px;
  height: 24px;
  margin: 0;
  border: 1.5px solid #b5c2d9;
  border-radius: 7px;
  background: #fff;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: background-color 0.15s, border-color 0.15s;
}
.check input:checked {
  border-color: var(--azul);
  background: var(--azul) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.6 4.4 4.4L19 7.4'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.check input:focus-visible { outline: 3px solid var(--azul-claro); outline-offset: 2px; }
.check input[aria-invalid="true"] { border-color: var(--error); }
.check label {
  display: block;
  min-height: 54px;
  padding: 14px 16px 14px 52px;
  border: 1.5px solid #e0e6f0;
  border-radius: 16px;
  background: #fff;
  color: var(--texto);
  font-size: 15px;
  line-height: 1.5;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}
.check label:hover { border-color: #c4cfe2; }
.check input:checked + label { border-color: rgba(21, 112, 239, 0.45); background: #f6f9ff; }
.check input[aria-invalid="true"] + label { border-color: #eab3ab; background: var(--error-fondo); }
.check label a { color: var(--azul-hondo); font-weight: 600; text-underline-offset: 3px; }
.check--legal label { font-size: 14.5px; }
.check--suave label { background: #fafbfd; font-size: 14.5px; }
.campo--legal { padding-top: 20px; border-top: 1px solid var(--linea); }
.campo--legal .check:first-child { margin-top: 0; }
.wizard__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--linea);
}
.wizard__nav .btn--primario { margin-left: auto; }
@media (max-width: 479px) {
  .wizard__nav .btn { padding: 0 18px; }
  .wizard__nav .btn--primario { flex: 1; }
}

.girador {
  display: none;
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: girar 0.75s linear infinite;
}
.btn--enviar.es-enviando .girador { display: inline-block; }
.btn--enviar.es-enviando .ico { display: none; }
@keyframes girar { to { transform: rotate(360deg); } }

/* Exito */
.exito { text-align: left; }
.exito__check { position: relative; width: 76px; height: 76px; color: var(--azul); }
.exito__check svg { width: 76px; height: 76px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.exito__check circle { stroke-width: 3; stroke-dasharray: 183; stroke-dashoffset: 183; animation: trazo 0.8s 0.05s var(--curva) forwards; }
.exito__check path { stroke-width: 4; stroke-dasharray: 40; stroke-dashoffset: 40; animation: trazo 0.5s 0.6s var(--curva) forwards; }
@keyframes trazo { to { stroke-dashoffset: 0; } }
.exito__chispas { position: absolute; inset: 0; pointer-events: none; }
.exito__chispas i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  margin: -3.5px 0 0 -3.5px;
  border-radius: 50%;
  background: var(--oro);
  box-shadow: 0 0 10px 2px rgba(240, 190, 98, 0.65);
  opacity: 0;
  animation: chispa 0.9s 0.75s var(--curva) forwards;
}
.exito__chispas i:nth-child(1) { --r: 0deg; }
.exito__chispas i:nth-child(2) { --r: 45deg; background: var(--azul-claro); }
.exito__chispas i:nth-child(3) { --r: 90deg; }
.exito__chispas i:nth-child(4) { --r: 135deg; background: var(--azul-claro); }
.exito__chispas i:nth-child(5) { --r: 180deg; }
.exito__chispas i:nth-child(6) { --r: 225deg; background: var(--azul-claro); }
.exito__chispas i:nth-child(7) { --r: 270deg; }
.exito__chispas i:nth-child(8) { --r: 315deg; background: var(--azul-claro); }
@keyframes chispa {
  0% { opacity: 0; transform: rotate(var(--r)) translateX(20px) scale(0.4); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: rotate(var(--r)) translateX(58px) scale(1); }
}
.folio {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin-top: 18px;
  padding: 8px 8px 8px 16px;
  border: 1px solid #d4e1fb;
  border-radius: 18px;
  background: linear-gradient(135deg, #f3f7ff, #eaf1ff);
}
.folio__etq { color: var(--tenue); font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
.folio__valor {
  color: var(--tinta);
  font-family: var(--fuente);
  font-size: 22px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
}
.exito__texto { margin-top: 16px; color: var(--texto); font-size: 16.5px; line-height: 1.55; }
.exito__texto strong { color: var(--tinta); word-break: break-word; }

.sigue { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--linea); }
.sigue__titulo { color: var(--tinta); font-size: 13px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; }
.sigue__lista { display: grid; gap: 14px; margin-top: 16px; }
.sigue__lista li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; align-items: start; }
.sigue__num {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #eaf1ff;
  color: var(--azul-hondo);
  font-size: 15px;
  font-weight: 700;
}
.sigue__lista strong { display: block; color: var(--tinta-2); font-size: 16px; font-weight: 600; line-height: 1.3; padding-top: 5px; }
.sigue__lista small { display: block; margin-top: 2px; color: var(--tenue); font-size: 14.5px; line-height: 1.45; }

/* ---------- Pie, como el de la landing principal de aura ---------- */
.pie { padding: 30px 0 44px; background: var(--papel); color: var(--texto); border-top: 1px solid var(--linea); }
.pie__columnas { display: grid; gap: 26px; }
@media (min-width: 720px) { .pie__columnas { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; } }
.pie__col { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.pie__titulo { margin-bottom: 8px; color: var(--tenue); font-size: 10.5px; font-weight: 900; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.85; }
.pie__col a { min-height: 32px; display: inline-flex; align-items: center; color: var(--tinta-2); font-size: 13.5px; font-weight: 500; text-decoration: none; }
.pie__col a:hover { color: var(--azul-hondo); text-decoration: underline; text-underline-offset: 4px; }
.pie__linea { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--linea); color: var(--tenue); font-size: 12.5px; font-weight: 600; }
.pie__linea a { color: inherit; text-decoration: none; }
.pie__linea a:hover { text-decoration: underline; }
.pie__aura { height: 20px; color: var(--tinta); }
.pie__imaginai { height: 13px; color: var(--tenue); opacity: 0.55; }
;
/* «Proudly driven by Versatio»: el mismo distintivo que lleva imaginai.mx en el pie (19-oct-2026). */
.pie__versatio { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.pie__versatio-enlace { display: inline-flex; align-items: center; padding: 4px 0; color: var(--tinta); opacity: 0.7; transition: opacity 0.2s; }
.pie__versatio-enlace:hover { opacity: 1; text-decoration: none; }
.pie__versatio-logo { width: auto; height: 12px; aspect-ratio: 1080 / 173; }


/* ---------- Propio de /resident ---------- */
.hero {
  position: relative;
  padding: calc(var(--barra-h) + 48px) 0 56px;
  background:
    radial-gradient(60% 70% at 85% 10%, rgba(74, 152, 255, 0.22), rgba(74, 152, 255, 0) 70%),
    radial-gradient(50% 60% at 10% 90%, rgba(240, 190, 98, 0.16), rgba(240, 190, 98, 0) 70%),
    linear-gradient(180deg, #f4f6fa 0%, var(--papel) 100%);
  overflow: hidden;
}
@media (min-width: 900px) { .hero { padding: calc(var(--barra-h) + 84px) 0 88px; } }
.hero__in { position: relative; display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .hero__in { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; } }
.hero__ceja {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--linea);
  color: var(--azul-hondo); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.hero__ceja .ico { font-size: 16px; }
.hero__titulo {
  margin-top: 18px;
  color: var(--tinta);
  font-size: clamp(34px, 6vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 800;
}
.hero__titulo .azul { color: var(--azul); }
.hero__sub { margin-top: 18px; max-width: 560px; color: var(--texto); font-size: clamp(17px, 2vw, 20px); line-height: 1.5; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__nota { margin-top: 16px; color: var(--tenue); font-size: 14px; }

/* La tarjeta del trato: lo que das y lo que recibes */
.trato {
  display: grid; gap: 14px;
  padding: 24px;
  border-radius: var(--radio);
  background: #fff;
  border: 1px solid var(--linea);
  box-shadow: var(--sombra);
}
.trato__fila { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px; align-items: start; }
.trato__ico {
  display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 14px;
  background: linear-gradient(180deg, #e9f0ff, #dde7fb); color: var(--azul-hondo);
  box-shadow: inset 0 0 0 1px rgba(21, 112, 239, 0.12);
}
.trato__ico .ico { width: 26px; height: 26px; font-size: 26px; stroke-width: 1.9; }
.trato__fila div > strong { display: block; color: var(--tinta); font-size: 17px; font-weight: 700; line-height: 1.3; }
.trato__fila div > span { display: block; margin-top: 3px; color: var(--texto); font-size: 15px; line-height: 1.45; }
.trato__cifra { color: var(--azul); font-size: 40px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.trato__cifra small { font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--tenue); margin-left: 6px; }

/* Como funciona */
.pasos { display: grid; gap: 18px; margin-top: 34px; }
@media (min-width: 760px) { .pasos { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pasos li {
  padding: 22px 20px 24px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--linea);
}
.pasos__num {
  display: inline-grid; place-items: center;
  width: 32px; height: 32px; border-radius: 999px;
  background: var(--tinta); color: #fff; font-size: 14px; font-weight: 700;
}
.pasos h3 { margin-top: 14px; color: var(--tinta); font-size: 17px; font-weight: 700; line-height: 1.3; }
.pasos p { margin-top: 6px; color: var(--texto); font-size: 15px; line-height: 1.5; }

/* Reglas, en claro */
.reglas { display: grid; gap: 14px; margin-top: 30px; }
@media (min-width: 760px) { .reglas { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.reglas li {
  display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start;
  padding: 16px 18px; border-radius: 14px;
  background: rgba(255, 255, 255, 0.7); border: 1px solid var(--linea);
  color: var(--tinta-2); font-size: 15.5px; line-height: 1.5;
}
.reglas .ico { margin-top: 3px; color: var(--azul); font-size: 20px; stroke-width: 2; }
.seccion--oscura .reglas li { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.12); color: #dbe5f8; }
.seccion--oscura .reglas .ico { color: var(--azul-cielo); }
.seccion--oscura p.texto { color: #c4d1ea; }
.texto { margin-top: 14px; max-width: 720px; color: var(--texto); font-size: 17px; line-height: 1.6; }

/* Solicitud */
.solicita { padding: 64px 0 80px; }
.solicita__grid { display: grid; gap: 36px; }
@media (min-width: 980px) { .solicita__grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 56px; align-items: start; } }
.solicita__intro { margin-top: 14px; color: var(--texto); font-size: 17px; line-height: 1.6; }
.pedimos { margin-top: 26px; padding: 22px 22px 20px; border-radius: 18px; background: #fff; border: 1px solid var(--linea); }
.pedimos__titulo { color: var(--tinta); font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.pedimos__titulo span { color: var(--azul); font-weight: 500; }
.pedimos__lista { display: grid; gap: 11px; margin-top: 16px; }
.pedimos__lista li { display: flex; gap: 12px; align-items: flex-start; color: var(--tinta-2); font-size: 15.5px; line-height: 1.45; }
.pedimos__lista .ico { margin-top: 2px; color: var(--azul); font-size: 20px; stroke-width: 2; }
.tip { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; padding: 12px 14px; border-radius: 12px; background: #fff7e6; color: #5a4310; font-size: 14.5px; line-height: 1.45; }
.tip .ico { margin-top: 2px; color: #c48a1d; font-size: 20px; }
.tip strong { color: #3a2a08; }

.form-resident .campo:first-of-type { margin-top: 0; }
.campo__cuenta { margin-top: 6px; color: var(--tenue); font-size: 13px; text-align: right; }
select.entrada { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--tenue) 50%), linear-gradient(135deg, var(--tenue) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; padding-right: 44px; }

/* WhatsApp: pais + numero (como en /fellowship/) */
.tel { position: relative; display: flex; gap: 8px; }
.tel__pais { position: relative; flex: none; }
.tel__pais-vista {
  display: flex; align-items: center; gap: 6px;
  height: 100%; min-height: 54px; padding: 0 12px 0 14px;
  border: 1.5px solid #d8e0ed; border-radius: 14px; background: #f7f9fc;
  color: var(--tinta); font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums;
  pointer-events: none;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.tel__pais-vista #tel-bandera { font-size: 20px; line-height: 1; }
.tel__pais-vista .ico { color: #6a7590; font-size: 16px; stroke-width: 2; }
.tel__select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 16px; }
.tel__pais:hover .tel__pais-vista { border-color: #bfcadf; }
.tel__pais:focus-within .tel__pais-vista { border-color: var(--azul); background: #fff; box-shadow: 0 0 0 4px rgba(21, 112, 239, 0.14); }
.tel__numero { flex: 1; min-width: 0; font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.tel__contador { display: block; margin-top: 6px; color: var(--tenue); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.tel__contador.es-ok { color: var(--ok); }
.campo.tiene-error .tel__pais-vista, .campo.tiene-error .tel__numero { border-color: var(--error); }

/* Archivo: la constancia */
.archivo { position: relative; margin-top: 2px; }
.archivo input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.archivo__zona {
  display: flex; align-items: center; gap: 14px;
  min-height: 72px; padding: 14px 16px;
  border-radius: 14px; border: 1.5px dashed #c4cfe2; background: #fafbfd;
  color: var(--texto); font-size: 15px; line-height: 1.4;
  transition: border-color 0.2s, background 0.2s;
}
.archivo__zona .ico { flex: none; font-size: 26px; color: var(--azul); }
.archivo__zona strong { display: block; color: var(--tinta); font-weight: 600; }
.archivo__zona small { display: block; color: var(--tenue); font-size: 13.5px; }
.archivo input:focus-visible + .archivo__zona { outline: 3px solid var(--azul-claro); outline-offset: 2px; }
.archivo:hover .archivo__zona, .archivo.es-arrastre .archivo__zona { border-color: var(--azul); background: #f3f7ff; }
.archivo.tiene-archivo .archivo__zona { border-style: solid; border-color: rgba(21, 112, 239, 0.45); background: #f6f9ff; }
.archivo.tiene-error .archivo__zona { border-color: var(--error); background: var(--error-fondo); }
.archivo__quitar { margin-left: auto; flex: none; }

.form-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.form-nav .btn--primario { margin-left: auto; }
.form-nav__nota { color: var(--tenue); font-size: 13.5px; line-height: 1.4; max-width: 300px; }

/* El avance de la subida */
.subida { margin-top: 18px; padding: 14px 16px; border-radius: 12px; background: #f1f6ff; border: 1px solid #cfe0ff; color: #173a7a; font-size: 14.5px; }
.subida__barra { height: 6px; margin-top: 10px; border-radius: 999px; background: rgba(21, 112, 239, 0.15); overflow: hidden; }
.subida__barra span { display: block; height: 100%; width: 0; background: var(--azul); transition: width 0.3s var(--curva); }

.exito__titulo { margin-top: 18px; color: var(--tinta); font-size: 26px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.exito__texto { margin-top: 12px; color: var(--texto); font-size: 16px; line-height: 1.55; }
.exito__texto strong { color: var(--tinta); }
.exito__aviso { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: #fff7e6; color: #5a4310; font-size: 14.5px; line-height: 1.45; }

/* El producto */
.producto { background: var(--niebla); overflow: hidden; }
.producto__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 980px) { .producto__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; } }
.producto__lista { display: grid; gap: 16px; margin-top: 26px; }
.producto__lista li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: start; color: var(--texto); font-size: 16px; line-height: 1.5; }
.producto__lista .ico { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: #fff; border: 1px solid var(--linea); color: var(--azul); font-size: 22px; }
.producto__lista strong { color: var(--tinta); }
.producto__texto .btn { margin-top: 28px; }
.producto__visual { position: relative; padding-right: 12%; }
.producto__portatil { width: 100%; height: auto; filter: drop-shadow(0 40px 60px rgba(16, 44, 110, 0.28)); }
.producto__telefono { position: absolute; right: 0; bottom: -6%; width: 26%; height: auto; filter: drop-shadow(0 30px 40px rgba(16, 44, 110, 0.35)); }
@media (max-width: 979px) { .producto__visual { padding-right: 10%; } }

/* FAQ */
.faq { padding: 64px 0 72px; background: var(--niebla); }
.faq__lista { display: grid; gap: 10px; margin-top: 28px; }
.faq details { border-radius: 14px; background: #fff; border: 1px solid var(--linea); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 52px 18px 20px; position: relative; color: var(--tinta); font-size: 17px; font-weight: 600; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--azul); border-bottom: 2px solid var(--azul); transform: translateY(-70%) rotate(45deg); transition: transform 0.25s var(--curva); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details > div { padding: 0 20px 20px; color: var(--texto); font-size: 15.5px; line-height: 1.6; }
.faq details > div p + p { margin-top: 10px; }

.barra-movil { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(248, 246, 242, 0.92); backdrop-filter: blur(10px); border-top: 1px solid var(--linea); transition: transform 0.3s var(--curva); }
.barra-movil.es-oculta { transform: translateY(110%); }
@media (min-width: 760px) { .barra-movil { display: none; } }
