/* ---- Acceso (entrar, código, activar, invitación, recuperar): propuesta de ChatGPT adaptada (02/12/2026) ---- */
.acc { --tinta: #1F262C; --cian: #00B0C7; --cian-claro: #72D6E5; --enlace: #007585; --niebla: #ECF2F3; --apagado: #55626A; color-scheme: light; color: var(--tinta); background: var(--niebla); font-family: var(--f-texto); }
.acc ::selection { background: rgb(0 176 199 / .25); }
/* Acceso v2: base de la propuesta de ChatGPT, adaptada al estilo de panel (Inter), sin datos inventados y con móvil propio. */

.acc { min-height: 100vh; display: grid; grid-template-columns: minmax(460px, 1.08fr) minmax(400px, .92fr); grid-template-areas: "vitrina login"; }

/* Vitrina */
.acc .vitrina { grid-area: vitrina; position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; min-height: 100vh; padding: clamp(28px, 4.6vw, 72px) clamp(28px, 6.5vw, 110px); color: #fff;
  background: radial-gradient(circle at 19% 74%, rgb(0 176 199 / .26), transparent 26%), radial-gradient(circle at 75% 16%, rgb(114 214 229 / .18), transparent 28%), linear-gradient(142deg, #29373F 0%, #424A52 57%, #293940 100%); }
.acc .vitrina::before, .acc .vitrina::after { content: ""; position: absolute; z-index: -1; border: 1px solid rgb(168 245 238 / .13); border-radius: 50%; pointer-events: none; }
.acc .vitrina::before { width: 58rem; height: 58rem; top: -27rem; right: -31rem; }
.acc .vitrina::after { width: 48rem; height: 48rem; bottom: -34rem; left: -26rem; }
.acc .logo { display: block; width: 188px; height: auto; }
.acc .producto { margin: 10px 0 0; font-family: 'Dosis', sans-serif; font-weight: 700; font-size: 13px; letter-spacing: 2.6px; color: var(--cian-claro); }
.acc .texto { width: min(580px, 100%); margin: auto 0 40px; padding-top: 64px; }
.acc .vitrina .titular { margin: 0; font-size: clamp(2.3rem, 4.3vw, 4.3rem); line-height: 1.02; letter-spacing: -.045em; font-weight: 700; text-wrap: balance; }
.acc .vitrina .copy { max-width: 470px; margin: 22px 0 0; color: rgb(235 248 249 / .78); font-size: clamp(1rem, 1.25vw, 1.1rem); line-height: 1.6; }

.acc .llamada { position: relative; width: min(520px, 100%); margin-top: 36px; padding: 20px; border: 1px solid rgb(203 255 251 / .18); border-radius: 18px; background: rgb(14 43 57 / .62); }
.acc .llamada-cab { display: flex; align-items: center; gap: 12px; }
.acc .avatar { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; color: #04232B; background: linear-gradient(150deg, #D5FFFA, #61D8D7); }
.acc .avatar svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.acc .quien strong { display: block; font-size: .92rem; letter-spacing: -.01em; }
.acc .quien span { display: flex; align-items: center; gap: 7px; margin-top: 3px; color: #BCEEE9; font-size: .74rem; }
.acc .punto { width: 6px; height: 6px; border-radius: 50%; background: var(--cian); box-shadow: 0 0 0 4px rgb(0 176 199 / .14); }
.acc .onda { display: flex; align-items: center; gap: 3px; height: 30px; margin-left: auto; }
.acc .onda i { display: block; width: 3px; height: 7px; border-radius: 4px; background: var(--cian); }
.acc .onda i:nth-child(2) { height: 18px; } .onda i:nth-child(3) { height: 11px; } .onda i:nth-child(4) { height: 23px; } .onda i:nth-child(5) { height: 9px; }
.acc .burbujas { display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; height: 18.5rem; margin: 16px 0 0; padding: 0; overflow: hidden; list-style: none; -webkit-mask-image: linear-gradient(transparent, #000 2.5rem); mask-image: linear-gradient(transparent, #000 2.5rem); transition: opacity .45s ease; }
.acc .burbujas.sale { opacity: 0; }
.acc .burbujas li { flex: none; align-self: flex-start; max-width: 88%; padding: 11px 14px; font-size: .88rem; line-height: 1.45; border-radius: 12px; }
.acc .burbujas .llamante { align-self: flex-end; background: rgb(255 255 255 / .1); border-bottom-right-radius: 3px; color: #E4EEF0; }
.acc .burbujas .recepcionista { background: rgb(153 239 234 / .12); border-bottom-left-radius: 3px; color: #EFFFFF; }
.acc .burbujas .sistema { align-self: center; max-width: none; padding: 6px 12px; font-size: .74rem; color: var(--cian-claro); border: 1px dashed rgb(114 214 229 / .35); }
.acc .quien em { font-style: normal; }
.acc .llamada-pie { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 14px 0 0; padding: 0; list-style: none; color: #A9D0D2; font-size: .74rem; }
.acc .llamada-pie li { display: inline-flex; align-items: center; gap: 6px; opacity: .55; transition: opacity .4s ease, color .4s ease; }
.acc .llamada-pie li.activo { opacity: 1; color: #EFFFFF; }
.acc .burbujas .escribiendo { display: inline-flex; gap: 4px; padding: 14px 14px; }
.acc .escribiendo i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .5; }
.acc .llamada-pie svg { width: 14px; height: 14px; fill: none; stroke: var(--cian-claro); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.acc .vitrina-pie { display: flex; align-items: center; justify-content: space-between; gap: 18px; color: rgb(219 244 245 / .55); font-size: .75rem; }
.acc .seguro { display: inline-flex; align-items: center; gap: 8px; }
.acc .seguro svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

@media (prefers-reduced-motion: no-preference) {
  .acc .llamada:not([data-demo]) .onda i, .acc .llamada.hablando .onda i { animation: sonido 1s ease-in-out infinite alternate; }
  .acc .onda i { transition: transform .3s ease; }
  .acc .escribiendo i { animation: escribe 1.1s ease-in-out infinite; }
  .acc .escribiendo i:nth-child(2) { animation-delay: .15s; } .acc .escribiendo i:nth-child(3) { animation-delay: .3s; }
  .acc .burbujas.vivo li:nth-child(n) { animation-delay: 0s; }
  .acc .onda i:nth-child(2) { animation-delay: -.5s; } .onda i:nth-child(3) { animation-delay: -.2s; } .onda i:nth-child(4) { animation-delay: -.7s; } .onda i:nth-child(5) { animation-delay: -.35s; }
  .acc .punto { animation: latir 1.8s infinite; }
  .acc .burbujas li { animation: entra .6s cubic-bezier(.22, 1, .36, 1) both; }
  .acc .burbujas li:nth-child(2) { animation-delay: .9s; } .burbujas li:nth-child(3) { animation-delay: 1.8s; } .burbujas li:nth-child(4) { animation-delay: 2.7s; }
}
@keyframes escribe { 30% { opacity: 1; transform: translateY(-3px); } }
@keyframes sonido { to { transform: scaleY(1.4); opacity: .65; } }
@keyframes latir { 50% { opacity: .4; transform: scale(.72); } }
@keyframes entra { from { opacity: .35; transform: translateY(6px); } }

/* Acceso */
.acc .login { grid-area: login; display: flex; align-items: center; justify-content: center; padding: clamp(30px, 6vw, 92px); }
.acc .login-in { width: min(405px, 100%); }
.acc .login h1 { margin: 0 0 10px; color: #112630; font-size: clamp(2rem, 3vw, 2.5rem); line-height: 1.05; letter-spacing: -.035em; font-weight: 700; }
.acc .intro { margin: 0 0 30px; color: var(--apagado); font-size: .97rem; line-height: 1.6; }
.acc .campo { margin-top: 18px; }
.acc .campo label { display: block; margin-bottom: 8px; color: #263940; font-size: .86rem; font-weight: 600; }
.acc .campo input { width: 100%; height: 52px; padding: 0 16px; border: 1px solid #B9C7C9; border-radius: 10px; color: var(--tinta); background: #fff; font: inherit; font-size: .97rem; transition: border-color .18s, box-shadow .18s; }
.acc .campo input::placeholder { color: #8A979C; }
.acc .campo input:focus { outline: none; border-color: var(--cian); box-shadow: 0 0 0 4px rgb(0 176 199 / .16); }
.acc .con-ojo { position: relative; } .con-ojo input { padding-right: 54px; }
.acc .ojo { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 38px; height: 38px; border: 0; border-radius: 8px; color: #5A6B72; background: transparent; cursor: pointer; }
.acc .ojo:hover { color: var(--enlace); background: #E6F1F2; } .ojo svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.acc .fila { display: flex; justify-content: flex-end; margin: 14px 0 24px; }
.acc .enlace { color: var(--enlace); font-size: .85rem; font-weight: 600; text-decoration: none; }
.acc .enlace:hover { text-decoration: underline; text-underline-offset: 3px; }
.acc .entrar { width: 100%; min-height: 54px; border: 0; border-radius: 10px; color: var(--tinta); background: var(--cian); font: inherit; font-size: .97rem; font-weight: 700; cursor: pointer; transition: background .16s, transform .16s; }
.acc .entrar:hover { background: #12BDD3; } .entrar:active { transform: translateY(1px); }
.acc .nota-2fa { margin: 14px 0 0; color: var(--apagado); font-size: .82rem; line-height: 1.5; text-align: center; }
.acc .ayuda { display: flex; gap: 11px; margin-top: 30px; padding: 14px 16px; border-radius: 10px; color: #4F6066; background: #E2ECED; font-size: .83rem; line-height: 1.5; }
.acc .ayuda svg { flex: none; width: 17px; height: 17px; margin-top: 1px; fill: none; stroke: #0E8796; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.acc .ayuda a { color: var(--enlace); font-weight: 600; }
.acc .legal { margin-top: 26px; color: #6B7A80; font-size: .75rem; line-height: 1.6; text-align: center; }
.acc .legal a { color: inherit; }
.acc .marca-movil { display: none; }

/* Móvil: franja de marca arriba, el formulario enseguida y la tarjeta de la llamada debajo */
@media (max-width: 850px) {
  .acc { grid-template-columns: 1fr; grid-template-areas: "cabecera" "login" "vitrina"; }
  .acc .marca-movil { grid-area: cabecera; display: block; padding: 22px 22px 26px; color: #fff; background: linear-gradient(142deg, #29373F 0%, #424A52 70%); position: relative; overflow: hidden; }
  .acc .marca-movil::after { content: ""; position: absolute; width: 22rem; height: 22rem; right: -12rem; top: -14rem; border: 1px solid rgb(168 245 238 / .16); border-radius: 50%; }
  .acc .marca-movil .logo { width: 150px; }
  .acc .marca-movil .titular-movil { margin: 18px 0 0; font-size: 1.75rem; line-height: 1.1; letter-spacing: -.035em; font-weight: 700; }
  .acc .login { padding: 30px 22px 36px; align-items: flex-start; }
  .acc .login-in { width: min(470px, 100%); }
  .acc .login h1 { font-size: 1.75rem; }
  .acc .vitrina { min-height: auto; padding: 30px 22px 30px; }
  .acc .vitrina .cabecera-vitrina, .acc .vitrina .titular, .acc .vitrina .copy { display: none; }
  .acc .texto { margin: 0; padding-top: 0; }
  .acc .llamada { margin-top: 0; }
  .acc .burbujas { height: 16rem; }
  .acc .vitrina-pie { margin-top: 22px; flex-direction: column; align-items: flex-start; gap: 8px; }
}

.acc .banda { margin-bottom: 18px; }
.acc .boton.principal, .acc .entrar { width: 100%; min-height: 54px; border: 0; border-radius: 10px; color: var(--tinta); background: var(--cian); font: inherit; font-size: .97rem; font-weight: 700; cursor: pointer; }
.acc .boton.principal:hover { background: #12BDD3; filter: none; }
.acc .formulario { gap: 0; }
.acc .formulario > .boton, .acc .formulario > button { margin-top: 24px; }
.acc .sub { color: var(--apagado); }
.acc .pasos { margin: 0 0 8px; color: var(--tinta); }
.acc .codigo { text-align: center; letter-spacing: 6px; font-family: var(--f-datos); font-size: 22px !important; }
.acc .titular-movil { margin: 18px 0 0; }
.acc .boton-enlace { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; font-size: .85rem; font-weight: 600; color: var(--enlace); }
.acc .boton-enlace:hover { text-decoration: underline; text-underline-offset: 3px; }
.acc .fila-izq { justify-content: flex-start; margin-top: 18px; }
.acc .intro strong { color: var(--tinta); }
.acc .campo .nota { margin-top: 6px; }
.acc .qr { display: block; margin: 10px 0 6px; border-radius: 8px; background: #fff; padding: 8px; image-rendering: pixelated; }
/* Casilla «Recordar este dispositivo» y aire entre el código y el botón */
.acc .casilla { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; align-items: start; margin: 18px 0 24px; color: #263940; font-size: .9rem; font-weight: 600; cursor: pointer; }
.acc .casilla input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: #007585; cursor: pointer; }
.acc .casilla span { grid-column: 2; color: var(--apagado); font-size: .8rem; font-weight: 400; line-height: 1.45; }
