/* TuAbogado.co — componente de registro. Usa las variables de site.css; no modifica estilos existentes. */
.ancla{display:block;position:relative;top:-110px;visibility:hidden;height:0}
.reg{text-align:left}
.reg .mark{justify-content:flex-start}.reg .mark::before{display:block}
.reg h2{margin-inline:0}
.reg>p{margin:0 0 22px;max-width:760px}
.reg-form [hidden]{display:none!important}
.reg-form fieldset{border:0;margin:0;padding:0;min-width:0}
.reg-modo{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:22px}
.reg-opcion{position:relative;cursor:pointer}
.reg-opcion input{position:absolute;opacity:0;inset:0;margin:0;cursor:pointer}
.reg-opcion span{display:inline-flex;align-items:center;gap:8px;padding:11px 20px;border-radius:999px;font-weight:700;font-size:15px;
  border:1px solid var(--stroke);background:rgba(10,30,70,.55);color:#dbe8ff;transition:.2s}
.reg-opcion input:checked+span{background:linear-gradient(90deg,var(--green2),var(--lime));color:#03140a;border-color:transparent;box-shadow:0 0 22px rgba(92,255,106,.35)}
.reg-opcion input[value="ABOGADO"]:checked+span{background:linear-gradient(90deg,var(--blue),var(--cyan));color:#021428;box-shadow:0 0 22px rgba(79,227,255,.35)}
.reg-opcion input:focus-visible+span{outline:2px solid var(--cyan);outline-offset:3px}
.reg-campos{margin-bottom:6px}
.reg-campo{display:flex;flex-direction:column;gap:6px;min-width:0}
.reg-campo>label,.reg-legend{font-weight:600;font-size:14px;color:#eaf2ff}
.reg-legend{padding:0;margin:14px 0 4px;grid-column:1/-1;color:var(--cyan);font-size:13px;letter-spacing:.12em;text-transform:uppercase}
.reg-form input[type=text],.reg-form input[type=email],.reg-form input[type=tel],.reg-form select{
  width:100%;font:inherit;font-size:16px;color:#fff;background:rgba(3,10,26,.72);border:1px solid var(--stroke);border-radius:12px;padding:12px 14px;
  transition:border-color .2s,box-shadow .2s;min-height:48px}
.reg-form select{appearance:auto;color-scheme:dark}
.reg-form input::placeholder{color:var(--dim)}
.reg-form input:focus,.reg-form select:focus{outline:none;border-color:var(--cyan);box-shadow:0 0 0 3px rgba(79,227,255,.18)}
.reg-form [aria-invalid=true]{border-color:#ff8a7a!important;box-shadow:0 0 0 3px rgba(255,138,122,.15)}
.reg-tel{display:grid;grid-template-columns:minmax(118px,40%) 1fr;gap:8px}
.reg-tel .reg-otro{grid-column:1/-1}
.reg-ayuda{font-size:13px;color:var(--dim);margin:0;grid-column:1/-1}
.reg-error{font-size:13px;color:#ffb3a8;margin:0}
.reg-abogado{margin-top:4px}
.reg-trampa{position:absolute!important;left:-10000px;width:1px;height:1px;overflow:hidden}
.reg-autorizacion{margin:22px 0 6px;padding:16px;border:1px solid var(--stroke2);border-radius:14px;background:rgba(46,232,111,.06)}
.reg-check{display:flex;gap:12px;align-items:flex-start;cursor:pointer;font-size:14.5px;color:#dbe8ff;line-height:1.5}
.reg-check input{flex:none;width:22px;height:22px;margin:2px 0 0;accent-color:var(--green2);cursor:pointer}
.reg-politica{display:inline-block;margin:10px 0 0 34px;font-size:14px;color:var(--cyan);text-decoration:underline;text-underline-offset:3px}
.reg-autorizacion .reg-error{margin:8px 0 0 34px}
.reg-verif{margin:18px 0 4px;--altcha-color-base:rgba(3,10,26,.72);--altcha-color-base-content:#eaf2ff;--altcha-border-color:var(--stroke);
  --altcha-border-radius:12px;--altcha-color-primary:var(--green2);--altcha-color-primary-content:#03140a;--altcha-max-width:100%;--altcha-color-neutral:#a9bddc}
.reg .actions{justify-content:flex-start;margin-top:14px}
.reg-enviar[disabled]{opacity:.6;cursor:wait;transform:none}
.reg-estado{margin:16px 0 0;font-weight:600;min-height:1.5em}
.reg-estado.ok{color:var(--green)}.reg-estado.err{color:#ffb3a8}
.reg .note{margin-top:14px}
/* La caja .contact centra y espacia sus párrafos; dentro del formulario se anulan esos estilos heredados. */
.reg .reg-form p{margin:0;max-width:none;text-align:left}
.reg .reg-form .reg-error{color:#ffb3a8;margin-top:2px}
.reg .reg-form .reg-ayuda{color:var(--dim)}
.reg .reg-form .reg-estado{margin-top:16px}
.reg .reg-form .reg-estado.ok{color:var(--green)}
.reg .reg-form .reg-estado.err{color:#ffb3a8}
.reg .reg-form .note{margin-top:14px;color:var(--dim)}
.reg .reg-form .notice{margin-top:14px}
.reg .reg-autorizacion .reg-error{margin:8px 0 0 34px}
.reg-campos{row-gap:16px}
.reg-form .reg-modo{margin-bottom:24px}
.reg-form .reg-abogado{margin-top:18px;row-gap:16px}
@media (max-width:760px){.reg-tel{grid-template-columns:1fr 1.4fr}.reg-politica,.reg-autorizacion .reg-error{margin-left:0}}
