/* AFA Pou de la Muntanya: holding page ("en construcció").
   Variant B colours from the main site. System fonts only, no external requests. */

:root {
  --ink: #1f2a37; /* 14.54:1 on white */
  --muted: #4b596c; /* 7.13:1 on white */
  --line: #dcd3be; /* decorative hairline */
  --white: #ffffff;
}

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

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

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem; /* 17px */
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* Single centred column; vertically centred on tall screens. */
.page {
  min-height: 100vh; /* fallback */
  min-height: 100svh;
  max-width: 36rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.intro {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* The logo is shown exactly as the file is: no ring, box, shadow or clipping.
   On white, its own white disc blends into the page. */
.logo {
  display: block;
  width: 160px;
  height: 160px;
}

.name {
  margin: 1.25rem 0 0;
  font-size: 1.125rem;
  font-weight: 600;
}

h1 {
  margin: 0.5rem 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(2.25rem, 1.6rem + 3vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.005em;
  text-wrap: balance;
}

.lede {
  margin: 1.25rem 0 0;
  font-size: 1.125rem;
  color: var(--muted);
  text-wrap: balance;
}

.es {
  margin: 0.75rem 0 0;
  font-size: 1rem;
  color: var(--muted);
  text-wrap: balance;
}

/* Mandatory funding notice (GVA logo + verbatim text), set off by a hairline. */
.funding {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.funding p {
  margin: 1.25rem 0 0; /* plus the logo's own margin = clear space ≥ 16px */
  font-size: 1rem;
  color: var(--ink);
  text-wrap: balance;
}

/* GVA distintivo: 64px tall (shield = full height, ≥ 57px), clear space ≥ 16px. */
.gva {
  display: block;
  width: auto;
  height: 64px;
  margin: 0.5rem 0;
}

.funding .copy {
  margin-top: 1.5rem;
  color: var(--muted);
}

@media (min-width: 768px) {
  .page {
    padding: 4rem 2rem 3rem;
  }
  .logo {
    width: 220px;
    height: 220px;
  }
  .name {
    margin-top: 1.5rem;
  }
  .funding {
    margin-top: 4rem;
  }
}
