/* SofIA · Conectando Vidas — página de entrada */
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(fonts/fraunces.woff2) format('woff2'); }
@font-face { font-family: 'Atkinson Hyperlegible'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/atkinson-400.woff2) format('woff2'); }
@font-face { font-family: 'Atkinson Hyperlegible'; font-style: normal; font-weight: 700; font-display: swap; src: url(fonts/atkinson-700.woff2) format('woff2'); }
:root { --bg: #f6f1ea; --paper: #fffdf9; --ink: #2b2433; --muted: #675e6e; --line: #d5c9ba; --plum: #5a3483; --lamp: #f2b05e; --crit: #b3362a; --crit-soft: #f9e0dc; --ok: #1d7a4f; --ok-soft: #dcf0e4; --sky: #16213a; color-scheme: light; }
@media (prefers-color-scheme: dark) { :root { --bg: #12141f; --paper: #1b1e2c; --ink: #efe8f4; --muted: #ada5ba; --line: #3b4059; --plum: #c6a3f0; --crit: #ff8a76; --crit-soft: #42201c; --ok: #6fd39b; --ok-soft: #173a29; color-scheme: dark; } }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--ink); font-family: 'Atkinson Hyperlegible', 'Segoe UI', system-ui, sans-serif; font-size: 17px; line-height: 1.5; }
.acc { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(340px, 1fr); min-height: 100vh; }
.acc-lado { position: relative; background: linear-gradient(180deg, rgba(22, 33, 58, .25), rgba(22, 33, 58, .88)), url(img/aldea_noche.jpg) center 60% / cover no-repeat, var(--sky); color: #f4ecdf; display: flex; align-items: flex-end; padding: clamp(24px, 5vw, 64px); }
.acc-lema h2 { font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: clamp(1.8rem, 3.4vw, 3rem); line-height: 1.1; margin: .6rem 0 .5rem; max-width: 16ch; text-wrap: balance; }
.acc-lema p { margin: 0; max-width: 36ch; color: #d9cfe2; }
.acc-marca { font-family: 'Fraunces', Georgia, serif; font-size: 1.25rem; display: flex; align-items: center; gap: .5rem; margin: 0; }
.acc-marca i { width: 11px; height: 11px; border-radius: 50%; background: var(--lamp); box-shadow: 0 0 12px var(--lamp); }
.acc-marca em { font-style: normal; opacity: .75; font-size: 1rem; }
.acc-marca.movil { display: none; color: var(--ink); margin-bottom: 1.4rem; }
.acc-caja { display: flex; align-items: center; justify-content: center; padding: 32px 20px; }
.acc-form { width: 100%; max-width: 380px; display: grid; gap: .45rem; }
.acc-form h1 { font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: 2.2rem; margin: 0; line-height: 1.1; }
.acc-sub { margin: 0 0 1rem; color: var(--muted); }
.acc-form label { font-weight: 700; margin-top: .6rem; }
.acc-form input[type="email"], .acc-form input[type="password"] { font: inherit; padding: .8rem .9rem; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); width: 100%; min-height: 52px; }
.acc-form input:focus-visible, .acc-form button:focus-visible { outline: 3px solid var(--lamp); outline-offset: 2px; }
.acc-form button { font: inherit; font-weight: 700; margin-top: 1.2rem; min-height: 54px; border-radius: 12px; border: 0; background: var(--plum); color: #fff; cursor: pointer; }
@media (prefers-color-scheme: dark) { .acc-form button { color: #1b1230; } }
.acc-form button:hover { filter: brightness(1.08); }
.acc-error, .acc-ok { margin: 0; padding: .7rem .9rem; border-radius: 12px; font-weight: 700; }
.acc-error { background: var(--crit-soft); color: var(--crit); }
.acc-ok { background: var(--ok-soft); color: var(--ok); }
.acc-pie { color: var(--muted); font-size: .9rem; margin: 1rem 0 0; }
@media (max-width: 820px) {
  .acc { grid-template-columns: 1fr; }
  .acc-lado { display: none; }
  .acc-marca.movil { display: flex; }
  .acc-caja { align-items: flex-start; padding-top: 12vh; }
}
.acc-pie a { color: var(--plum); font-weight: 700; }
