/* Ingreso al portal de familias */
body.acceso { background: linear-gradient(180deg, #6E9196 0%, #86A8AB 55%, #A1BCBE 100%) fixed; color: var(--tinta); min-height: 100svh; }
.cabecera--acceso { position: absolute; }
.acceso__volver { margin-left: auto; margin-right: 4px; font: 600 1rem var(--titulo); text-decoration: none; padding: 8px 14px; border-radius: 99px; background: rgba(255, 255, 255, .45); color: #1C2242; }
.acceso__volver:hover { background: #FFFFFF; }

.acceso__main { display: grid; grid-template-columns: 1.1fr 1fr; min-height: 100svh; }
.acceso__escena { position: relative; overflow: hidden; display: grid; place-items: center; }
.acceso__luz { position: absolute; left: 50%; top: 52%; width: 70%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(255, 246, 232, .45), transparent 65%); }
.acceso__venus {
  position: relative; width: min(72%, 520px); height: auto;
  filter: drop-shadow(0 40px 40px rgba(40, 70, 75, .28));
  animation: flotar 6s ease-in-out infinite;
  transform-origin: 50% 100%;
}
@keyframes flotar { 0%, 100% { transform: translateY(0) rotate(-.6deg); } 50% { transform: translateY(-12px) rotate(.6deg); } }
.destello {
  position: absolute; left: var(--x); top: var(--y); width: 26px; height: 26px;
  background: #F7D98A;
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
  animation: titila 3.2s ease-in-out infinite var(--d);
  opacity: .9;
}
.destello--azul { background: #CFE2F5; }
.destello--chico { width: 16px; height: 16px; }
@keyframes titila { 0%, 100% { transform: scale(.6) rotate(0); opacity: .4; } 50% { transform: scale(1.1) rotate(20deg); opacity: 1; } }

.acceso__panel {
  margin: 110px clamp(16px, 4vw, 64px) 48px; padding: clamp(26px, 3.4vw, 46px);
  display: flex; flex-direction: column; justify-content: center; max-width: 560px; width: calc(100% - 32px); justify-self: center; align-self: center;
  background: #FFFFFF; border-radius: 34px; box-shadow: 0 50px 100px -50px rgba(20, 50, 60, .55);
}
.acceso__panel h1 { font-size: clamp(2.6rem, 4.6vw, 4.2rem); line-height: .95; letter-spacing: -.03em; }
.acceso .rotulo { color: rgba(30, 33, 64, .55); margin-bottom: 14px; }
.acceso__intro { color: rgba(30, 33, 64, .7); margin: 16px 0 30px; font-size: 1.08rem; }

.pestanas { display: inline-flex; padding: 5px; border-radius: 99px; background: rgba(30, 33, 64, .07); margin-bottom: 22px; align-self: flex-start; }
.pestanas button { font: 600 1rem var(--titulo); color: var(--tinta); padding: 10px 20px; border: 0; border-radius: 99px; background: transparent; cursor: pointer; transition: background .3s, color .3s; }
.pestanas button[aria-selected="true"] { background: #1E2140; color: #FFF6E8; }

.formulario { display: grid; gap: 12px; }
.formulario[hidden] { display: none; }
.formulario .campo { display: grid; gap: 6px; }
.formulario .campo span { font: 600 .82rem var(--titulo); letter-spacing: .08em; text-transform: uppercase; color: rgba(30, 33, 64, .55); }
.formulario input[type="text"], .formulario input[type="email"], .formulario input[type="password"], .formulario input[type="date"] {
  font: 500 1.08rem var(--texto); color: var(--tinta);
  padding: 14px 16px; border-radius: 16px; border: 2px solid rgba(30, 33, 64, .1); background: #fff; outline: none; width: 100%;
  transition: border-color .25s;
}
.formulario input:focus { border-color: #4F80B8; }
.casilla { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: rgba(30, 33, 64, .75); line-height: 1.4; }
.casilla input { width: 20px; height: 20px; margin-top: 1px; accent-color: #1E2140; flex: none; }
.formulario__error { min-height: 1.2em; color: #C2453B; font-weight: 600; font-size: .95rem; }
.boton--ancho { width: 100%; justify-content: center; }
.enlace { justify-self: center; border: 0; background: none; font: 600 .95rem var(--titulo); color: rgba(30, 33, 64, .65); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 6px; }
.acceso__ejemplo { margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(30, 33, 64, .1); display: grid; gap: 10px; }
.acceso__ejemplo p { font-size: .86rem; color: rgba(30, 33, 64, .55); text-align: center; }

@media (max-width: 860px) {
  .acceso__main { grid-template-columns: 1fr; }
  .acceso__escena { min-height: 44svh; padding-top: 64px; }
  .acceso__venus { width: min(58vw, 300px); }
  .acceso__panel { margin: 0 12px 24px; width: calc(100% - 24px); padding: 26px 20px 28px; border-radius: 28px; }
  .cabecera--acceso { padding: 14px 18px; }
  .acceso__volver span { display: none; }
}
