/* Página A (D-135). Colores y escala: tokens.css. Fuentes servidas desde esta web. */
@font-face {
  font-family: "Archivo";
  src: url("/assets/fuentes/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("/assets/fuentes/IBMPlexSans-Regular-Latin1.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("/assets/fuentes/IBMPlexSans-SemiBold-Latin1.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 32px var(--rejilla-margen);
  background: var(--blanco);
  color: var(--tinta);
  font: 400 var(--pantalla-texto)/1.6 var(--fuente-texto);
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo { display: block; width: 200px; height: auto; margin-left: -8px; }

nav { display: flex; align-items: center; gap: 4px; color: var(--gris); font-size: var(--pantalla-boton); }

nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  color: var(--gris);
}

nav a[aria-current] { color: var(--acero); font-weight: 600; text-decoration: none; }

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  max-width: 820px;
  padding: var(--rejilla-seccion-movil) 0;
}

h1 {
  margin: 0 0 24px;
  color: var(--acero);
  font: 800 var(--pantalla-h1)/1.02 var(--fuente-titular);
  font-stretch: 118%;
}

main::before {
  content: "";
  width: 64px;
  height: 4px;
  margin-bottom: 32px;
  background: var(--senal);
}

p { margin: 0 0 24px; max-width: 640px; }

.junto { white-space: nowrap; }

.contacto {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--senal-oscuro);
  font-weight: 600;
  overflow-wrap: anywhere;
}

a:hover { color: var(--acero); }

a:focus-visible { outline: 3px solid var(--acero); outline-offset: 2px; }

@media (max-width: 768px) {
  body { padding: 16px var(--rejilla-margen-movil); }
  .logo { width: 150px; margin-left: -6px; }
  h1 { font-size: 36px; }
}
