/* Vera Lunel · página provisional. Fuentes servidas desde este mismo sitio (licencia OFL en /fuentes/OFL.txt). */
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("fuentes/instrument-serif-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("fuentes/instrument-serif-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("fuentes/instrument-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("fuentes/instrument-sans-latin-500-normal.woff2") format("woff2"); }

:root {
  --noche: #14151A;
  --cal: #EEE8DD;
  --luna: #D9C49A;
  --brasa: #A9512F;
  --piedra: #3A3B42;
  --gris: #B5AFA4;
  --linea-clara: #D4CCBE;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--noche);
  color: var(--cal);
  font-family: var(--sans);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--cal); }
a:hover { color: var(--luna); }
:focus-visible { outline: 2px solid var(--luna); outline-offset: 3px; }

/* ---------- Portada ---------- */
.portada {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 64px 24px 40px;
}
.luna { width: 96px; height: 96px; margin-bottom: 40px; }
h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(56px, 11vw, 112px);
  line-height: 0.95;
  letter-spacing: -0.015em;
  margin: 0 0 28px;
}
h1 em { color: var(--luna); }
.lema {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(22px, 3.4vw, 30px);
  line-height: 1.3;
  max-width: 30ch;
  margin: 0 0 48px;
}
.aviso {
  font-size: 16px;
  line-height: 1.55;
  color: var(--gris);
  max-width: 38ch;
  margin: 0 0 24px;
}

/* ---------- Redes ---------- */
.redes { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.redes a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 22px;
  border: 1px solid var(--piedra); color: var(--cal); text-decoration: none; font-size: 15px;
}
.redes a:hover { border-color: var(--luna); color: var(--luna); }

/* ---------- Páginas de texto (privacidad, aviso legal, mensajes) ---------- */
.cabecera {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--piedra);
}
.cabecera a { text-decoration: none; display: flex; align-items: center; gap: 12px; }
.cabecera svg { width: 32px; height: 32px; }
.cabecera span { font-family: var(--serif); font-size: 26px; color: var(--cal); }
.cabecera em { color: var(--luna); }
.texto {
  flex: 1;
  width: 100%;
  max-width: 68ch;
  margin: 0 auto;
  padding: 48px 24px 64px;
  font-size: 16px;
  line-height: 1.65;
}
.texto h1 { font-size: clamp(40px, 7vw, 56px); margin-bottom: 12px; }
.texto .fecha { color: var(--gris); font-size: 14px; margin: 0 0 40px; }
.texto h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.2;
  margin: 40px 0 12px;
}
.texto p, .texto li { color: var(--cal); }
.texto ul { padding-left: 20px; }
.tabla { overflow-x: auto; margin: 16px 0; }
.texto table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 14px; line-height: 1.5; }
.texto th, .texto td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--piedra); }
.texto th { font-weight: 500; color: var(--gris); }

/* ---------- Pie ---------- */
.pie {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: center;
  padding: 24px;
  border-top: 1px solid var(--piedra);
  font-size: 14px;
  color: var(--gris);
}
.pie a { color: var(--gris); text-decoration: none; }
.pie a:hover { color: var(--luna); }
