@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --texto: #1c1c1c;
  --gris: #666;
  --linea: #e6e6e6;
  --fondo: #fff;
  --acento: #b23a1c;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--fondo);
  color: var(--texto);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--acento);
  text-underline-offset: 3px;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.2;
}

p {
  margin: 0 0 1em;
}

.pagina {
  max-width: 40rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Cabecera */

.cabecera {
  padding: 3.5rem 0 2.5rem;
}

.cabecera img {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.5rem;
}

.cabecera h1 {
  font-size: 1.25rem;
  font-weight: 700;
}

.cabecera .subtitulo {
  color: var(--gris);
  margin: 0 0 1.75rem;
}

.cabecera .frase {
  font-size: clamp(1.6rem, 5.5vw, 2.25rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0;
}

/* Secciones */

section {
  padding: 2.5rem 0;
  border-top: 1px solid var(--linea);
}

section h2 {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

section h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-top: 1.5rem;
}

section h3 + p {
  margin-top: 0.25rem;
}

.telefono {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--texto);
}

.boton {
  display: inline-block;
  margin-top: 0.5rem;
  background: var(--acento);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  padding: 0.85rem 1.5rem;
  border-radius: 6px;
}

.boton:hover {
  background: #8f2e16;
}

/* Pie */

.pie {
  padding: 2rem 1.25rem 3rem;
  font-size: 0.875rem;
  color: var(--gris);
  border-top: 1px solid var(--linea);
}

.pie nav {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 0.5rem;
}

.pie a {
  color: var(--gris);
}

/* Páginas legales */

.cabecera-simple {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--linea);
}

.cabecera-simple a {
  color: var(--texto);
  font-weight: 600;
  text-decoration: none;
}

.legal {
  padding: 2.5rem 0;
  font-size: 1rem;
}

.legal h1 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.legal h2 {
  font-size: 1.125rem;
  margin: 2rem 0 0.75rem;
}

.legal-fecha,
.legal-nota {
  color: var(--gris);
  font-size: 0.875rem;
}

.pendiente {
  background: #fff1cc;
}
