/* No Gaps — sitio público. Sin build: este archivo se publica tal cual. */

@font-face {
  font-family: "Nunito Sans";
  font-style: normal;
  font-weight: 200 1000;
  font-display: swap;
  src: url("/fonts/nunito-sans-latin-wght.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/montserrat-latin-wght.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --navy: #0B132B;
  --teal: #00C2BB;
  --teal-soft: #E6FAF9;
  --blue: #0066FF;
  --muted: #5C6478;   /* 5.9:1 sobre blanco (AA) */
  --white: #FFFFFF;
  --font-primary: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-brand: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Ancho del lockup (ícono + nombre + slogan). Todas las medidas del logo
     derivan de este valor para respetar las proporciones de la lámina de marca. */
  --L: clamp(16.25rem, 76vw, 26rem);

  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--white);
  color: var(--navy);
  font-family: var(--font-primary);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* más aire abajo que arriba: el bloque queda en el centro óptico, no el geométrico */
  padding: 2.5rem 1.5rem 4.5rem;
  text-align: center;
}

/* Lockup ------------------------------------------------------------------ */

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: var(--L);
  margin: 0;
}

.brand__mark {
  display: block;
  width: calc(var(--L) * 0.833);
  height: auto;
}

.brand__name {
  margin-top: calc(var(--L) * 0.028);
  font-family: var(--font-primary);
  font-size: calc(var(--L) * 0.2565);
  font-weight: 540;
  line-height: 1;
  letter-spacing: 0.022em;
  white-space: nowrap;
}

.slogan {
  margin: calc(var(--L) * 0.042) 0 0;
  /* el tracking deja un espacio después de la última letra: se compensa a la izquierda */
  padding-left: 0.23em;
  font-family: var(--font-brand);
  font-size: calc(var(--L) * 0.0392);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.23em;
  text-transform: uppercase;
  color: var(--navy);
}

.slogan span {
  white-space: nowrap;
}

/* Estado ------------------------------------------------------------------ */

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: clamp(2.5rem, 7vh, 3.5rem) 0 0;
  padding: 0.375rem 0.875rem 0.375rem 0.75rem;
  border-radius: 999px;
  background: var(--teal-soft);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.4;
}

.status::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--teal);
}

.lead {
  max-width: 30rem;
  margin: 1rem 0 0;
  font-size: 1.0625rem;
  color: var(--muted);
  text-wrap: balance;
}

.contact {
  margin: 0.75rem 0 0;
  color: var(--muted);
}

.lead a,
.contact a {
  color: var(--blue);   /* 4.8:1 sobre blanco (AA) */
  text-underline-offset: 0.2em;
}

/* 404 --------------------------------------------------------------------- */

.home {
  display: block;
  border-radius: 0.5rem;
}

.home__mark {
  display: block;
  width: clamp(9rem, 40vw, 12rem);
  height: auto;
}

.title {
  margin: 2.5rem 0 0;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.25;
}

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

footer {
  padding: 1.25rem 1.5rem 1.75rem;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--muted);
}

footer p {
  margin: 0;
}
