@font-face {
  font-family: Barlow;
  src: url("./barlow-semibold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: #142f49;
  background: #edf3f7;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
h1, h2, p { margin: 0; }
h1, h2 { font-family: Barlow, "Segoe UI", sans-serif; font-weight: 600; }
a:focus-visible, summary:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid #1066ab;
  outline-offset: 4px;
}

.cabecera {
  color: #fff;
  background: #102e50;
  border-bottom: 3px solid #337ab0;
}
.cabecera-interior {
  width: min(calc(100% - 3rem), 74rem);
  min-height: 4.7rem;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.marca { display: flex; align-items: center; gap: .85rem; }
.marca img {
  display: block;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  object-fit: contain;
  background: #fff;
}
.marca span { font: 600 1.37rem/1.08 Barlow, sans-serif; }
.web-institucional {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 44px;
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
}
.web-institucional:hover { text-decoration: underline; text-underline-offset: .22em; }
.web-institucional svg { flex: none; }
.cabecera :focus-visible { outline-color: #fff; }

.portada-principal {
  width: min(calc(100% - 3rem), 74rem);
  margin: clamp(2rem, 7vh, 5.5rem) auto 3rem;
}
.portada {
  display: grid;
  grid-template-columns: minmax(0, 1.13fr) minmax(0, 1fr);
  border: 1px solid #cbd7e2;
  border-radius: 1.3rem;
  background: #fff;
  box-shadow: 0 16px 45px -28px #173a5a70;
}
.portada-foto {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: clamp(1.8rem, 4.5vw, 3.8rem);
  border-radius: 1.2rem 0 0 1.2rem;
  background: #1e4563;
  color: #fff;
}
.portada-foto img, .portada-foto::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.portada-foto img {
  z-index: -2;
  object-fit: cover;
  object-position: 51% 50%;
}
.portada-foto::after {
  z-index: -1;
  content: "";
  background: linear-gradient(to bottom, transparent 32%, rgb(12 34 52 / 8%) 52%, rgb(8 31 50 / 82%) 88%, #102e50);
}
.portada-foto h1 {
  font-size: clamp(3rem, 5.5vw, 5.1rem);
  line-height: .98;
  letter-spacing: -.043em;
  text-wrap: balance;
}
.portada-accesos { min-width: 0; padding: clamp(1.8rem, 4.1vw, 3.7rem); }
.opcion-ingreso h2 { font-size: clamp(1.6rem, 2.4vw, 2.15rem); line-height: 1.15; letter-spacing: -.029em; }
.opcion-ingreso p, .instruccion, .ayuda p, .accion [role="status"] {
  color: #465b6f;
  line-height: 1.53;
}
.opcion-ingreso > p { margin: .6rem 0 1rem; max-width: 42ch; }
.accion [role="status"] {
  margin: 0 0 .8rem;
  padding: .8rem 1rem;
  border-inline-start: 3px solid #ab700c;
  background: #fff7e8;
  color: #604314;
  overflow-wrap: anywhere;
}
.microsoft-sign-in, .accion .button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: .75rem;
  max-width: 100%;
  min-height: 48px;
  padding: .7rem 1.15rem;
  border: 1px solid #777;
  border-radius: .2rem;
  background: #fff;
  color: #272727;
  font: 600 1rem/1.35 "Segoe UI", Arial, sans-serif;
  text-decoration: none;
}
.microsoft-sign-in img { flex: none; width: 21px; height: 21px; }
.microsoft-sign-in:hover, .accion .button:hover { border-color: #393939; background: #f2f5f7; }
.microsoft-sign-in:active { background: #e6eaee; }
.ayuda { margin-top: .45rem; }
.ayuda summary {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: .6rem;
  min-height: 44px;
  padding-block: .55rem;
  color: #185985;
  cursor: pointer;
  font-size: .91rem;
  font-weight: 600;
  list-style: none;
}
.ayuda summary::-webkit-details-marker { display: none; }
.ayuda summary::after {
  content: "";
  flex: none;
  width: .45rem;
  height: .45rem;
  margin-top: -.2rem;
  border: solid currentColor;
  border-width: 0 1.7px 1.7px 0;
  transform: rotate(45deg);
}
.ayuda[open] summary::after { transform: rotate(225deg); margin-top: .2rem; }
.ayuda p { max-width: 47ch; font-size: .95rem; }
.opcion-cliente { border-top: 1px solid #d6e0e9; padding-top: 1.4rem; margin-top: 1.1rem; }
.opcion-cliente h2 { font-size: clamp(1.45rem, 2.1vw, 1.75rem); }
.boton-quilmes {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  padding: .55rem 1rem;
  border: 1px solid #b8cddd;
  border-radius: .5rem;
  background: #edf4fa;
  color: #164d76;
  font-weight: 600;
  text-decoration: none;
}
.boton-quilmes span { font-size: 1.25rem; line-height: 1; }
.boton-quilmes:hover { border-color: #6b91ae; background: #e3eff8; }
.boton-quilmes:active { background: #d5e5f2; }

.ingreso-quilmes {
  width: min(calc(100% - 2rem), 32rem);
  margin: clamp(1.5rem, 7vh, 4rem) auto;
  padding: clamp(1.35rem, 5vw, 3rem);
  border: 1px solid #cad6df;
  border-radius: 1rem;
  background: white;
  box-shadow: 0 12px 32px -22px #183c59;
}
.ingreso-quilmes h1 { margin-bottom: 1rem; font-size: clamp(2.4rem, 4vw, 3.2rem); line-height: 1.05; }
.acceso-quilmes { display: flex; align-items: center; min-height: 46px; width: fit-content; margin-top: .45rem; color: #24517e; font-weight: 600; text-underline-offset: .2em; }
.formulario-quilmes { display: grid; gap: .55rem; }
.formulario-quilmes label { margin-top: .6rem; font-weight: 600; }
.formulario-quilmes input { min-height: 48px; padding: .65rem .8rem; font: inherit; border: 1px solid #8594a5; border-radius: .4rem; width: 100%; }
.formulario-quilmes button { margin-top: 1rem; min-height: 48px; border-radius: .45rem; border: 0; background: #174981; color: #fff; font-family: inherit; line-height: 1.4; font-size: 1rem; font-weight: 600; cursor: pointer; }

@media (max-width: 760px) {
  .cabecera-interior { width: calc(100% - 2rem); min-height: 4rem; gap: .6rem; }
  .marca { gap: .6rem; }
  .marca img { width: 2.55rem; height: 2.55rem; }
  .marca span { font-size: 1.15rem; }
  .web-institucional { font-size: .84rem; gap: .3rem; }
  .portada-principal { width: min(calc(100% - 2rem), 35rem); margin: 1.2rem auto 2rem; }
  .portada { grid-template-columns: 1fr; border-radius: 1rem; }
  .portada-foto { min-height: clamp(11rem, 45vw, 15rem); padding: 1.2rem 1.35rem; border-radius: .95rem .95rem 0 0; }
  .portada-foto h1 { font-size: clamp(2.45rem, 8vw, 3.5rem); }
  .portada-foto img { object-position: center 53%; }
  .portada-accesos { padding: 1.45rem clamp(1.1rem, 5vw, 1.8rem) 1.65rem; }
  .opcion-cliente { margin-top: .75rem; padding-top: 1.05rem; }
  .microsoft-sign-in, .boton-quilmes { width: 100%; }
}
