/* Ingreso y registro: pantalla dividida, sobria y ejecutiva. A la izquierda la marca (siempre en negro y dorado, con
   rejilla tenue, escudo de fondo y una línea de precio que se dibuja); a la derecha el formulario en una tarjeta limpia. */
.wm { font-weight: 700; letter-spacing: -0.035em; } .wm b { color: var(--accent); font-weight: 700; }
.tema { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 10px; background: transparent; color: var(--muted); cursor: pointer; }
.tema:hover { background: var(--hover); color: var(--text); } .tema svg { width: 19px; height: 19px; }
.au { display: grid; grid-template-columns: minmax(400px, 44%) 1fr; min-height: var(--pantalla); }

/* panel de marca: escudo grande al centro, información centrada con texto a la izquierda, y la sombra del escudo
   sobre el degradado del fondo (grafito, filo dorado a la derecha) */
.au-marca { position: sticky; top: 0; height: var(--pantalla); display: flex; flex-direction: column; padding: 40px 56px 30px;
  overflow: hidden; isolation: isolate; color: #ece7dc;
  background: radial-gradient(70% 55% at 50% 22%, rgba(215, 172, 88, .16), transparent 70%),
              radial-gradient(90% 60% at 100% 100%, rgba(193, 127, 43, .14), transparent 65%),
              linear-gradient(170deg, #151416 0%, #0d0d0f 55%, #080809 100%); }
.au-marca::before { content: ""; position: absolute; right: -16%; bottom: -12%; width: 78%; aspect-ratio: 480 / 401; z-index: -1; pointer-events: none;
  background: url("../img/marca/logo-480.d7cb8aa420b2.webp") center / contain no-repeat; opacity: .07; filter: grayscale(.15) blur(.5px); }
.au-marca::after { content: ""; position: absolute; top: 0; right: 0; width: 1px; height: 100%; pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(215, 172, 88, .65) 30%, rgba(215, 172, 88, .65) 70%, transparent 100%); }
.au-centro { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 34px; min-height: 0; }
.au-logo { display: flex; flex-direction: column; align-items: center; gap: 12px; text-decoration: none; }
.au-logo img { width: 150px; height: auto; filter: drop-shadow(0 18px 36px rgba(0, 0, 0, .55)) drop-shadow(0 0 34px rgba(215, 172, 88, .28)); }
.au-logo .wm { font-size: 28px; color: #ece7dc; } .au-logo .wm b { color: #d7ac58; }
.au-msg { width: 100%; max-width: 440px; text-align: left; }
.au-eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; color: #d7ac58; }
.au-eyebrow::before { flex-shrink: 0; }
.au-eyebrow::before { content: ""; width: 28px; height: 1px; background: #d7ac58; }
.au-eyebrow .punto { display: none; } .au-msg > .au-eyebrow { color: #d7ac58; }
.au-msg h2 { font-size: clamp(26px, 2.3vw, 34px); font-weight: 400; letter-spacing: -0.035em; line-height: 1.12; margin: 0 0 14px; color: #f4ecdc; }
.au-msg h2 span { display: block; color: #d7ac58; background: none; -webkit-text-fill-color: currentColor; }   /* computador: «…profesional,» / «en un solo lugar.» */
.au-msg > p { font-size: 15.5px; line-height: 1.65; color: #a8a093; margin: 0; }
.au-lista { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, .08); }
.au-lista li { display: grid; grid-template-columns: 44px 1fr; align-items: baseline; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.au-lista .num { font-family: Georgia, "Times New Roman", "DejaVu Serif", serif; font-style: normal; font-size: 15px; font-weight: 600; color: #d7ac58; letter-spacing: .04em; }
.au-lista b { display: block; font-size: 15px; font-weight: 600; color: #f1eadc; margin-bottom: 2px; }
.au-lista li span { font-size: 13.5px; color: #8f887c; line-height: 1.45; }
.au-nota { font-size: 12px; color: #6e685e; margin: 0; text-align: center; letter-spacing: .02em; }
.au-ayuda { font-size: 13px; color: #6e685e; margin: 14px 0 0; line-height: 1.5; }
.au-centro { animation: au-sube .7s cubic-bezier(.2, .8, .2, 1) both; }

/* lado del formulario */
.au-lado { display: flex; flex-direction: column; min-height: var(--pantalla); padding: 22px 32px; background: var(--bg); }
.au-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.au-volver { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px 0 8px; border-radius: 10px; color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 500; }
.au-volver:hover { background: var(--hover); color: var(--text); } .au-volver svg { width: 18px; height: 18px; }
.au-logo-m { display: none; text-decoration: none; } .au-logo-m .wm { font-size: 22px; color: var(--text); }
.au-caja { width: 100%; max-width: 460px; margin: auto; padding: 36px 36px 30px; border-radius: 20px; border: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 82%, transparent); backdrop-filter: blur(10px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .10), 0 2px 6px rgba(0, 0, 0, .04); position: relative; }
.au-caja::before { content: ""; position: absolute; left: 32px; right: 32px; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); }
.au-caja.ancha { max-width: 600px; }
.au-kicker { margin: 0 0 8px; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.au-caja h1 { font-size: 30px; font-weight: 600; letter-spacing: -0.035em; line-height: 1.15; margin: 0 0 8px; }
.au-caja .lead { margin-bottom: 26px; font-size: 15px; line-height: 1.55; }
.au-caja .f { gap: 16px; }
.au-caja label.fl { font-size: 13px; font-weight: 600; gap: 7px; }
.au-caja .f input:not([type="checkbox"]), .au-caja .f select { height: 48px; border-radius: 11px; padding: 0 14px; background: var(--bg); transition: border-color .2s, box-shadow .2s; }
.au-caja .f input:focus, .au-caja .f select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent); }
.au-caja .f input.code { height: 64px; font-size: 28px; letter-spacing: 12px; font-weight: 600; }
.au-caja .btn { height: 46px; border-radius: 11px; font-size: 15px; gap: 10px; }
.au-caja .btn.cta { background: #1c1a16; color: #f3ead6; box-shadow: inset 0 0 0 1px rgba(215, 172, 88, .55); font-weight: 600; }
:root[data-theme="dark"] .au-caja .btn.cta { background: #222125; box-shadow: inset 0 0 0 1px #d7ac58; }
.au-caja .btn.cta:hover { box-shadow: inset 0 0 0 1px #d7ac58, 0 10px 24px rgba(0, 0, 0, .22); }
.au-caja .btn.cta .punto { width: 7px; height: 7px; border-radius: 50%; background: #d7ac58; }
.au-caja .btn.ghost:hover { border-color: var(--accent); color: var(--accent); }
.au-caja .f .btn[type="submit"] { width: 100%; height: 50px; margin-top: 6px; }
.au-clave { position: relative; display: block; }
.au-clave input { padding-right: 48px !important; }
.au-ver { position: absolute; right: 6px; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 9px;
  background: transparent; color: var(--muted); cursor: pointer; }
.au-ver:hover { color: var(--text); background: var(--hover); } .au-ver svg { width: 19px; height: 19px; }
.au-ver[aria-pressed="true"] { color: var(--accent); }
.au-grupo { margin: 8px 0 -4px; display: flex; align-items: center; gap: 12px; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.au-grupo::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.au-caja .f > .au-grupo:first-of-type { margin-top: 0; }
.au-caja .check { font-size: 13.5px; line-height: 1.5; }
.au-caja .check input { accent-color: var(--accent); }
.au-pasos { list-style: none; display: flex; gap: 8px; margin: 0 0 24px; padding: 0; }
.au-pasos li { flex: 1; display: flex; align-items: center; gap: 9px; padding-top: 12px; border-top: 2px solid var(--border); font-size: 13px; font-weight: 600; color: var(--muted); }
.au-pasos i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font-style: normal; font-size: 11.5px; border: 1px solid var(--border); }
.au-pasos li.activo { border-top-color: var(--accent); color: var(--text); }
.au-pasos li.activo i { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); }
.au-pasos li.hecho { border-top-color: color-mix(in srgb, var(--accent) 50%, var(--border)); }
.au-pasos li.hecho i { border-color: transparent; background: var(--accent); color: var(--on-accent); }
.au-seguro { display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; padding: 14px 16px; border-radius: 12px; background: color-mix(in srgb, var(--accent) 7%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent); }
.au-seguro svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--accent); margin-top: 1px; }
.au-seguro p { margin: 0; font-size: 12.5px; line-height: 1.55; color: var(--muted); }
.au-sec { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.au-sec .btn { flex: 1 1 auto; }
.au-pie { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border); font-size: 14px; color: var(--muted); text-align: center; }
.au-pie a { font-weight: 600; }
.au-legal { margin-top: 18px; text-align: center; font-size: 12.5px; color: var(--muted); } .au-legal a { color: var(--muted); } .au-legal a:hover { color: var(--text); }
.au a:focus-visible, .au button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.au-caja > * { animation: au-sube .6s cubic-bezier(.2, .8, .2, 1) both; }
.au-caja > :nth-child(2) { animation-delay: .05s; } .au-caja > :nth-child(3) { animation-delay: .1s; } .au-caja > :nth-child(4) { animation-delay: .15s; } .au-caja > :nth-child(n+5) { animation-delay: .2s; }

@keyframes au-latido { 0%, 100% { box-shadow: 0 0 0 3px rgba(215, 172, 88, .25); } 50% { box-shadow: 0 0 0 6px rgba(215, 172, 88, .08); } }
@keyframes au-sube { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .au *, .au *::before, .au *::after { animation: none !important; transition: none !important; }
}
@media (max-width: 1100px) { .au-marca { padding: 36px 40px 28px; } }
@media (min-width: 901px) and (max-height: 900px) { .au-centro { gap: 24px; } .au-logo img { width: 116px; } .au-logo .wm { font-size: 24px; } .au-lista { margin-top: 20px; } .au-lista li { padding: 10px 0; } }
@media (min-width: 901px) and (max-height: 720px) { .au-logo .wm { display: none; } .au-logo img { width: 90px; } .au-msg > p { display: none; } }
/* celular: encabezado oscuro de marca (escudo, etiqueta y titular centrados) y la tarjeta del formulario montada encima */
@media (max-width: 900px) {
  .au { grid-template-columns: 1fr; grid-template-rows: auto 1fr; position: relative; }
  .au-marca { position: relative; height: auto; padding: 64px 22px 78px; }
  .au-marca::before { right: -30%; bottom: -34%; width: 100%; opacity: .07; }
  .au-marca::after { top: auto; bottom: 0; left: 0; width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(215, 172, 88, .65) 25%, rgba(215, 172, 88, .65) 75%, transparent 100%); }
  .au-centro { gap: 18px; }
  .au-logo { gap: 8px; } .au-logo img { width: 96px; } .au-logo .wm { display: inline; font-size: 24px; }
  .au-msg { max-width: 420px; text-align: center; }
  .au-eyebrow { justify-content: center; margin-bottom: 10px; }
  .au-eyebrow::after { content: ""; width: 28px; height: 1px; background: #d7ac58; flex-shrink: 0; }
  .au-msg h2 { font-size: clamp(14px, calc((var(--ancho) - 46px) / 21.5), 22px); white-space: nowrap; margin: 0; } .au-msg h2 span { display: inline; }   /* celular: una sola línea */ .au-msg > p:not(.au-eyebrow), .au-lista, .au-nota { display: none; }
  .au-lado { position: static; min-height: 0; padding: 0 16px 26px; }
  .au-top { position: absolute; top: 14px; left: 14px; right: 14px; z-index: 5; }
  .au-volver { color: #cfc7b8; } .au-volver:hover { background: rgba(255, 255, 255, .08); color: #fff; } .au-volver span { display: none; }
  .au-top .tema { color: #cfc7b8; border-color: rgba(255, 255, 255, .14); }
  .au-logo-m { display: none; }
  .au-caja { position: relative; z-index: 2; margin: -50px auto 0; padding: 28px 22px 24px; background: var(--surface); backdrop-filter: none; box-shadow: 0 22px 50px rgba(0, 0, 0, .28); }
  .au-legal { margin-top: 20px; }
}
@media (max-width: 420px) { .au-caja { padding: 24px 18px 20px; border-radius: 16px; } .au-caja h1 { font-size: 26px; } }
.au-olvido { justify-self: end; margin-top: -6px; font-size: 13px; font-weight: 600; text-decoration: none; } .au-olvido:hover { text-decoration: underline; }

/* Acceso único: elección «¿Ya tienes cuenta?» */
.ac-opciones { display: grid; gap: 12px; margin-top: 8px; }
.ac-op { display: flex; align-items: center; gap: 16px; padding: 18px 18px 18px 16px; border-radius: 16px; text-decoration: none; color: var(--text);
  border: 1px solid var(--border); background: var(--surface); transition: border-color .2s, transform .2s, box-shadow .2s; }
.ac-op:hover, .ac-op:focus-visible { border-color: color-mix(in srgb, var(--accent) 60%, transparent); transform: translateY(-2px);
  box-shadow: 0 12px 30px color-mix(in srgb, var(--accent) 14%, transparent); outline: none; }
.ac-op > i { display: grid; place-items: center; width: 46px; height: 46px; flex-shrink: 0; border-radius: 13px; color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); }
.ac-op > i .ico { width: 22px; height: 22px; }
.ac-op > span { flex: 1; min-width: 0; }
.ac-op b { display: block; font-size: 16.5px; font-weight: 600; letter-spacing: -0.015em; }
.ac-op small { display: block; margin-top: 3px; font-size: 13.5px; color: var(--muted); }
.ac-flecha { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; transition: transform .2s; }
.ac-op:hover .ac-flecha { transform: translateX(3px); }
.ac-op.destacada { border-color: color-mix(in srgb, var(--accent) 45%, transparent);
  background: linear-gradient(150deg, color-mix(in srgb, var(--accent) 10%, var(--surface)), var(--surface) 70%); }
.ac-volver { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 18px; font-size: 13.5px; font-weight: 600; color: var(--muted); text-decoration: none; }
.ac-volver svg { width: 15px; height: 15px; } .ac-volver:hover { color: var(--accent); }
