@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque-latin-300-normal.woff2") format("woff2");
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --bordo: #590000;
  --crema: #F5EFEE;
  --blanco: #FFFFFF;
  --font: "Bricolage Grotesque", system-ui, sans-serif;
}

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

html, body { height: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--crema);
  color: var(--bordo);
  font-family: var(--font);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

/* Hero: logo centrado, levemente por encima del centro */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  padding: 2rem 1.5rem 6vh;
}

.hero__logo { margin: 0; }

.hero__logo img {
  display: block;
  width: clamp(220px, 40vw, 380px);
  height: auto;
}

.hero__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.btn {
  display: inline-block;
  min-width: 11rem;
  padding: 0.75rem 1.75rem;
  border: 1px solid var(--bordo);
  border-radius: 999px;
  font-size: 0.875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}

.btn:hover,
.btn:focus-visible,
.btn--primary {
  background: var(--bordo);
  color: var(--crema);
}

.btn:focus-visible { outline: 2px solid var(--bordo); outline-offset: 3px; }

/* Pie */
.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  padding: 1.5rem clamp(1.5rem, 4vw, 3rem);
  font-size: 0.8125rem;
  font-weight: 300;
}

.footer p { margin: 0; }

.footer a { text-decoration: none; transition: opacity 0.2s; }
.footer a:hover { opacity: 0.9; }

@media (max-width: 480px) {
  .footer { flex-direction: column; align-items: center; text-align: center; }
}
