* { box-sizing: border-box; }
:root { color-scheme: light; font-family: Inter, system-ui, sans-serif; color: #26392b; background: #f5f6ef; }
body { margin: 0; }
.shell { width: min(100% - 2rem, 76rem); margin-inline: auto; }
.site-header { background: #fffdf7; border-bottom: 1px solid #dae3d3; }
.header-content { min-height: 3.9rem; display: flex; align-items: center; }
.brand { display: inline-flex; align-items: center; color: #1e3c29; text-decoration: none; font-size: 1.5rem; letter-spacing: -.055em; font-weight: 800; }
.brand > span:last-child { color: #59783d; }
.brand-mark { position: relative; width: 1.92rem; height: 1.92rem; border-radius: .66rem; margin-right: .5rem; background: #1e3c29; }
.brand-mark::before, .brand-mark::after { position: absolute; content: ""; background: #d9e9a8; transform: rotate(-35deg); }
.brand-mark::before { width: .53rem; height: .82rem; border-radius: 90% 15% 85% 25%; top: .39rem; left: .77rem; }
.brand-mark::after { width: .37rem; height: .59rem; border-radius: 15% 85% 25% 90%; top: .75rem; left: .49rem; }
main { padding-block: clamp(1rem, 4vw, 3rem); }
.hero { position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; border-radius: 1.4rem; background: #193e2e; color: #fffdf4; }
.hero-image { position: absolute; z-index: -1; inset: 0 0 0 40%; background: url("/acceso/portada.jpg") center 51% / cover no-repeat; }
.hero-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #193e2e, transparent 42%); }
.hero-content { width: min(100%, 34rem); padding: clamp(1.75rem, 4vw, 3.4rem); }
h1, h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 700; }
h1 { max-width: 8ch; font-size: clamp(2.4rem, 5vw, 4.4rem); line-height: .98; letter-spacing: -.05em; }
.login-form { display: grid; gap: .55rem; width: min(100%, 22rem); margin-top: 1.45rem; }
.login-form h2 { margin-bottom: .38rem; font-size: 1.35rem; color: #e4edc9; }
.login-form label { font-size: .94rem; font-weight: 650; }
.login-form input, .login-form button { min-width: 0; min-height: 2.8rem; font: inherit; border-radius: .55rem; }
.login-form input { margin-bottom: .35rem; padding: .45rem .72rem; border: 1px solid #b4c69e; background: #fffdf4; color: #172d23; }
.login-form button { margin-top: .35rem; border: 0; background: #e6efba; color: #183625; font-weight: 750; cursor: pointer; }
.login-form button:hover:not(:disabled) { background: #f2f7d5; }
.login-form button:disabled { opacity: .65; cursor: default; }
.login-notice { margin: 0 0 .35rem; padding: .55rem .75rem; border-inline-start: 3px solid #e6efba; background: #24523e; color: #fffdf4; }
:focus-visible { outline: 2px solid #628146; outline-offset: 4px; }
.hero :focus-visible { outline-color: #e6efba; }
@media (max-width: 44rem) {
  .shell { width: min(100% - 1.15rem, 76rem); }
  .hero { flex-direction: column; align-items: stretch; }
  .hero-image { position: relative; inset: auto; aspect-ratio: 2 / 1; background-position: center 57%; }
  .hero-image::after { background: linear-gradient(0deg, #193e2e, transparent 31%); }
  .hero-content { padding: .65rem 1.25rem 1.6rem; }
  h1 { max-width: none; }
  .login-form { margin-top: 1.05rem; }
}