/* =============================================
   enAIRA ESPAZIOA — Estilos principales
   ============================================= */

/* =============================================
   TIPOGRAFÍAS
   Autoalojadas: antes se pedían a Google en cada
   carga, lo que retrasa el pintado y manda la IP
   del visitante a un tercero.
   ============================================= */
/* latin-ext */
@font-face {
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 300;
  font-stretch: 100%;
  font-display: swap;
  font-display: swap;
  src: url(/fonts/roboto-300i-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 300;
  font-stretch: 100%;
  font-display: swap;
  font-display: swap;
  src: url(/fonts/roboto-300i-latin.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;
}
/* latin-ext */
@font-face {
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  font-display: swap;
  src: url(/fonts/roboto-400i-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  font-display: swap;
  src: url(/fonts/roboto-400i-latin.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;
}
/* latin-ext */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  font-stretch: 100%;
  font-display: swap;
  font-display: swap;
  src: url(/fonts/roboto-300-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  font-stretch: 100%;
  font-display: swap;
  font-display: swap;
  src: url(/fonts/roboto-300-latin.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;
}
/* latin-ext */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  font-display: swap;
  src: url(/fonts/roboto-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  font-display: swap;
  src: url(/fonts/roboto-400-latin.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;
}
/* latin-ext */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  font-display: swap;
  src: url(/fonts/roboto-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  font-stretch: 100%;
  font-display: swap;
  font-display: swap;
  src: url(/fonts/roboto-500-latin.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;
}
/* latin-ext */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  font-display: swap;
  src: url(/fonts/roboto-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  font-stretch: 100%;
  font-display: swap;
  font-display: swap;
  src: url(/fonts/roboto-700-latin.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;
}
/* latin */
@font-face {
  font-family: 'Volkhov';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  font-display: swap;
  src: url(/fonts/volkhov-400i-latin.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;
}
/* latin */
@font-face {
  font-family: 'Volkhov';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  font-display: swap;
  src: url(/fonts/volkhov-400-latin.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;
}
/* latin */
@font-face {
  font-family: 'Volkhov';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  font-display: swap;
  src: url(/fonts/volkhov-700-latin.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;
}
/* latin-ext */
@font-face {
  font-family: 'Vollkorn';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  font-display: swap;
  src: url(/fonts/vollkorn-400i-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Vollkorn';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  font-display: swap;
  src: url(/fonts/vollkorn-400i-latin.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;
}
/* latin-ext */
@font-face {
  font-family: 'Vollkorn';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  font-display: swap;
  src: url(/fonts/vollkorn-700i-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Vollkorn';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  font-display: swap;
  src: url(/fonts/vollkorn-700i-latin.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;
}
/* latin-ext */
@font-face {
  font-family: 'Vollkorn';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  font-display: swap;
  src: url(/fonts/vollkorn-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Vollkorn';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  font-display: swap;
  src: url(/fonts/vollkorn-400-latin.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;
}
/* latin-ext */
@font-face {
  font-family: 'Vollkorn';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  font-display: swap;
  src: url(/fonts/vollkorn-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Vollkorn';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  font-display: swap;
  src: url(/fonts/vollkorn-500-latin.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;
}
/* latin-ext */
@font-face {
  font-family: 'Vollkorn';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  font-display: swap;
  src: url(/fonts/vollkorn-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Vollkorn';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  font-display: swap;
  src: url(/fonts/vollkorn-600-latin.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;
}
/* latin-ext */
@font-face {
  font-family: 'Vollkorn';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  font-display: swap;
  src: url(/fonts/vollkorn-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Vollkorn';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  font-display: swap;
  src: url(/fonts/vollkorn-700-latin.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;
}


/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --color-negro: #1a1a1a;
  --color-blanco: #ffffff;
  --color-beige: #d4c4a8;
  --color-beige-claro: #f0e9d9;
  --color-card-bg: rgba(255,255,255,0.82);
  --color-card-border: rgba(255,255,255,0.6);
  --color-enlace: #4b4024;
  --color-enlace-hover: #2e2712;
  /* El oro claro solo para filetes y viñetas: como texto no llega
     al contraste mínimo ni sobre blanco (3,4:1). */
  --color-oro: #a0894c;
  --color-oro-texto: #4b4024;
  --color-oro-hover: #6f5c2c;
  /* Texto secundario legible sobre la textura */
  --color-apagado: #464135;

  /* --- Anchos de imagen por tipo ---
     Dos familias, para que todas las imágenes del sitio
     pesen lo mismo dentro de su categoría:
       vertical  → retratos y carteles (más altos que anchos)
       apaisada  → fotos horizontales de bloque              */
  --img-vertical: 335px;
  --img-apaisada: 520px;
  --img-enmarcada: 490px;
  --font-titulos: 'Vollkorn', Georgia, serif;
  /* La web original usa Volkhov para los títulos de las páginas de taller */
  --font-display: 'Volkhov', Georgia, serif;
  --font-cuerpo: 'Roboto', Helvetica, Arial, sans-serif;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
  background-color: #d9cdb4; /* color base mientras carga la textura */
}

body {
  font-family: var(--font-cuerpo);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-negro);
  background: transparent;
}

/* ---------------------------------------------
   FONDO ÚNICO Y FIJO DE TODA LA PÁGINA
   No se mueve: el contenido se desplaza por encima.
   Se usa un elemento fijo en vez de
   background-attachment: fixed porque iOS Safari
   no soporta bien esa propiedad.
   --------------------------------------------- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  /* El papel tal cual, sin velo: es el ocre que pedía el espacio.
     La legibilidad se consigue con los colores de texto, calculados
     contra la zona más oscura de esta textura (193,172,141). */
  background-image: url('/images/media/FONDOS.jpeg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: -1;
  pointer-events: none;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* =============================================
   BARRA SUPERIOR
   ============================================= */
.topbar {
  background: var(--color-negro);
  color: var(--color-blanco);
  font-size: 0.78rem;
  padding: 7px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
}

.topbar a {
  color: var(--color-blanco);
  opacity: 0.85;
  transition: opacity var(--transition);
}
.topbar a:hover { opacity: 1; }

.topbar__izq { display: flex; align-items: center; gap: 18px; }
.topbar__der { display: flex; align-items: center; gap: 12px; }

.topbar__insta {
  display: flex;
  align-items: center;
  gap: 6px;
}
.topbar__insta svg { width: 16px; height: 16px; fill: currentColor; }

/* =============================================
   HEADER / NAV
   ============================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-blanco);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: 0 2px 20px rgba(58,44,26,0.12); }

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  flex-shrink: 0;
}

.logo__img {
  height: 54px;
  width: auto;
  display: block;
}
.logo__box {
  background: var(--color-negro);
  color: var(--color-blanco);
  font-family: var(--font-titulos);
  font-size: 0.6rem;
  font-weight: 700;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0;
  margin-right: 5px;
  flex-shrink: 0;
}
.logo__texto {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo__aira {
  font-family: var(--font-titulos);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-negro);
  line-height: 1;
}
.logo__espazioa {
  font-family: var(--font-titulos);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--color-negro);
  line-height: 1.2;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  font-family: var(--font-cuerpo);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--color-negro);
  padding: 6px 10px;
  border-radius: 3px;
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.nav-links a:hover {
  background: var(--color-beige-claro);
  color: var(--color-negro);
}
.nav-links a.activo {
  border-bottom: 2px solid var(--color-negro);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  width: 40px;
  height: 40px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-negro);
  transition: all var(--transition);
}
.hamburger.abierto span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.abierto span:nth-child(2) { opacity: 0; }
.hamburger.abierto span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.nav-movil {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--color-blanco);
  border-top: 1px solid rgba(0,0,0,0.08);
  padding: 20px 30px;
  box-shadow: 0 8px 30px rgba(58,44,26,0.12);
  flex-direction: column;
  gap: 4px;
  z-index: 999;
}
.nav-movil.visible { display: flex; }
.nav-movil a {
  font-size: 1rem;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  font-weight: 500;
  color: var(--color-negro);
}
.nav-movil a:last-child { border-bottom: none; }

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  /* color liso: impide que la textura de fondo del body
     se vea por detrás mientras el vídeo aún no ha pintado */
  background-color: #241f1b;

  /* Ocupa el alto de pantalla que queda bajo la barra
     superior (32px) y la cabecera (84px).
     svh evita el salto por la barra del navegador en móvil;
     la línea con vh queda de reserva para navegadores antiguos. */
  height: calc(100vh - 116px);
  height: calc(100svh - 116px);
  min-height: 460px;
  max-height: 920px;
  /* Arco suave al pie del vídeo: rompe el corte recto y deja
     que el banner se apoye en la curva. */
  border-radius: 0 0 50% 50% / 0 0 46px 46px;
}

.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.25) 100%);
}

.hero__contenido {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--color-blanco);
  padding: 0 30px;
  max-width: 820px;
}

.hero__titulo {
  font-family: var(--font-titulos);
  font-size: clamp(2rem, 5.5vw, 2.8rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 20px rgba(0,0,0,0.45);
  line-height: 1.2;
  margin-bottom: 26px;
}

.hero__texto {
  font-family: var(--font-titulos);
  font-size: clamp(0.95rem, 1.5vw, 1.08rem);
  font-weight: 500;
  line-height: 1.75;
  color: var(--color-blanco);
  text-shadow: 0 1px 14px rgba(0,0,0,0.65);
  max-width: 680px;
  margin: 0 auto;
}

/* =============================================
   SECCIÓN GENÉRICA
   ============================================= */
.seccion {
  padding: 70px 30px;
}

.seccion__titulo {
  font-family: var(--font-titulos);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 600;
  text-align: center;
  margin-bottom: 50px;
  color: var(--color-negro);
  letter-spacing: 0.03em;
}

.contenedor {
  max-width: 900px;
  margin: 0 auto;
}

.contenedor--ancho {
  max-width: 1100px;
  margin: 0 auto;
}

/* =============================================
   SESIONES enAIRA
   ============================================= */
/* ---------------------------------------------
   SECCIONES TRANSPARENTES
   Dejan ver el fondo fijo del body al desplazarse.
   --------------------------------------------- */
.fondo-textura {
  position: relative;
  background: transparent;
}

/* ---------------------------------------------
   REVELADO AL HACER SCROLL
   La clase la añade main.js, así que sin JS
   el contenido se ve igualmente.
   --------------------------------------------- */
.revelar {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  will-change: opacity, transform;
}

.revelar.visible {
  opacity: 1;
  transform: none;
}

.sesiones {
  padding: 70px 30px;
}

.sesiones__titulo {
  font-family: var(--font-titulos);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 600;
  text-align: center;
  margin-bottom: 55px;
  color: var(--color-negro);
  letter-spacing: 0.04em;
}

.sesiones__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px 30px;
  max-width: 1080px;
  margin: 0 auto;
  justify-content: center;
}

/* Cada bloque: imagen arriba + tarjeta abajo, todos igual de alto */
.sesion-item {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-width: 340px;
  width: 100%;
  margin: 0 auto;
}

/* Ilustración completa, sin recortar. La sombra vive aquí, no en la tarjeta */
.sesion-item__img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  object-position: center;
  background: #fdfdfc;
  padding: 14px;
  flex-shrink: 0;
  border-radius: 10px;
  box-shadow: 0 4px 18px rgba(58,44,26,0.10);
}

/* Texto sin fondo: se ve la textura animada a través */
.sesion-item__card {
  background: transparent;
  border: none;
  width: 100%;
  padding: 22px 4px 0;
  text-align: left;
  /* crece para igualar alturas entre tarjetas de la misma fila */
  flex: 1;
  display: flex;
  flex-direction: column;
}

.sesion-item__titulo {
  font-family: var(--font-titulos);
  font-size: 1.22rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--color-negro);
  letter-spacing: 0.01em;
  line-height: 1.25;
}

.sesion-item__desc {
  font-family: var(--font-titulos);
  font-size: 0.92rem;
  line-height: 1.6;
  color: #2b2724;
  margin-bottom: 18px;
  /* empuja el enlace al fondo de la tarjeta */
  flex: 1;
}

.sesion-item__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-titulos);
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--color-negro);
  border-bottom: none;
  padding-bottom: 2px;
  width: fit-content;
  transition: opacity var(--transition);
}
.sesion-item__link:hover { opacity: 0.6; }
.sesion-item__link::after {
  content: '»';
  font-size: 1rem;
  margin-left: 4px;
  transition: transform var(--transition);
  display: inline-block;
}
.sesion-item__link:hover::after { transform: translateX(4px); }

/* Accesibilidad: sin animación si el sistema lo pide */
@media (prefers-reduced-motion: reduce) {
  .sesion-item__link:hover::after { transform: none; }
  .bloque__link:hover::after { transform: none; }
  .revelar,
  .revelar.visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .taller:hover,
  .taller:focus-visible { transform: none; }
  .taller:hover .taller__cta::after { transform: none; }
}

/* =============================================
   BLOQUES ALTERNOS (imagen / texto)
   Usados por: ¿Qué es la DMT?, ¿Qué es enAIRA?, ¿Quién soy?
   ============================================= */
.bloque {
  padding: 90px 30px;
}

.bloque__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

/* --- Columna de la imagen --- */
.bloque__media {
  display: flex;
  justify-content: center;
}

.bloque__img {
  width: 100%;
  max-width: var(--img-apaisada);
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 26px rgba(58,44,26,0.20);
}

/* Retrato vertical (¿Quién soy?): al ser mucho más alto que ancho,
   con el ancho de los demás ocuparía casi el doble de altura.
   Se limita para que pese lo mismo que las fotos apaisadas. */
.bloque__img--retrato {
  max-width: var(--img-vertical);
}

/* --- Columna del texto --- */
.bloque__texto {
  max-width: 560px;
}

.bloque__titulo {
  font-family: var(--font-titulos);
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  font-weight: 700;
  margin-bottom: 32px;
  color: var(--color-negro);
  line-height: 1.15;
}

.bloque__lead {
  font-family: var(--font-titulos);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.55;
  color: var(--color-negro);
  margin-bottom: 26px;
}

.bloque__parrafo {
  font-family: var(--font-titulos);
  font-size: 1.05rem;
  line-height: 1.65;
  color: #2b2724;
  margin-bottom: 26px;
}
.bloque__parrafo:last-of-type { margin-bottom: 0; }

/* --- Enlace "Leer más" bien visible --- */
.bloque__link {
  display: inline-block;
  margin-top: 30px;
  font-family: var(--font-titulos);
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 600;
  color: var(--color-enlace);
  transition: color var(--transition);
}
.bloque__link::after {
  content: '';
  display: block;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
  margin-top: 3px;
}
.bloque__link:hover { color: var(--color-enlace-hover); }
.bloque__link:hover::after { transform: scaleX(1); }

/* =============================================
   ALTERNANCIA IZQUIERDA / DERECHA (escritorio)
   ============================================= */
@media (min-width: 900px) {
  .bloque__inner {
    grid-template-columns: 1fr 1fr;
    gap: 70px;
  }

  /* --- Imagen a la IZQUIERDA · texto a la derecha --- */
  .bloque--img-izq .bloque__media { order: 1; }
  .bloque--img-izq .bloque__texto {
    order: 2;
    border-left: 1px solid rgba(0,0,0,0.18);
    padding-left: 55px;
  }

  /* --- Imagen a la DERECHA · texto a la izquierda --- */
  .bloque--img-der .bloque__media { order: 2; }
  .bloque--img-der .bloque__texto {
    order: 1;
    margin-left: auto;
    margin-right: 0;
  }
}

/* =============================================
   ARTÍCULO — páginas interiores "más info…"
   Tipografía tomada de la web original:
   título Vollkorn 32px/700, texto Vollkorn 19.2px/400
   ============================================= */
.articulo {
  padding: 70px 30px 90px;
}

.articulo__inner {
  max-width: 800px;
  margin: 0 auto;
}

.articulo__titulo {
  font-family: var(--font-titulos);
  font-size: clamp(1.6rem, 4vw, 2rem);
  font-weight: 700;
  line-height: 1.3;
  color: #0b0b0b;
  margin-bottom: 30px;
}

.articulo__parrafo {
  font-family: var(--font-titulos);
  font-size: clamp(1.02rem, 2vw, 1.2rem);
  font-weight: 400;
  line-height: 1.55;
  color: #0b0b0b;
  margin-bottom: 26px;
}
.articulo__parrafo:last-child { margin-bottom: 0; }

/* =============================================
   PÁGINA DE TALLER
   Réplica del patrón de enaira.org.es:
   texto a la izquierda, cartel a la derecha, y
   debajo la bio con la foto a la izquierda.
   Tipografía medida del original:
   antetítulo Vollkorn 18px versalitas,
   título Volkhov 48px, cuerpo Vollkorn 16px/300.
   ============================================= */
.taller-pagina {
  padding: 85px 30px 70px;
}

.taller-pagina__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  align-items: start;
}

@media (min-width: 900px) {
  .taller-pagina__inner {
    grid-template-columns: 1.5fr 1fr;
    gap: 90px;
  }
}

.taller-antetitulo {
  font-family: var(--font-titulos);
  font-size: 1.12rem;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.4;
  color: #0b0b0b;
  margin-bottom: 12px;
}

.taller-titulo {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400;
  line-height: 1.14;
  color: #0b0b0b;
  margin-bottom: 24px;
}

.taller-lead,
.taller-texto {
  font-family: var(--font-titulos);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.4;
  color: #3d3d3d;
}
.taller-lead { margin-bottom: 26px; }
.taller-texto { margin-bottom: 22px; }

/* --- Bloque de datos: dos columnas --- */
.taller-datos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px 40px;
  margin-top: 46px;
}

@media (min-width: 560px) {
  .taller-datos { grid-template-columns: 1fr 1fr; }
}

.taller-dato__etiqueta {
  display: block;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 400;
  text-transform: uppercase;
  color: #0b0b0b;
  margin-bottom: 3px;
}
/* "Inscripción a través del correo:" va sin versalitas */
.taller-dato__etiqueta--normal { text-transform: none; }

.taller-dato__valor {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.4;
  color: #3d3d3d;
}

.taller-dato__valor a {
  color: var(--color-oro-texto);
  transition: color var(--transition);
}
.taller-dato__valor a:hover { color: var(--color-oro-hover); }

/* --- Cartel del taller, entero y sin recortar --- */
.taller-cartel {
  width: 100%;
  max-width: var(--img-vertical);
  height: auto;
  display: block;
  margin: 0 auto;
  box-shadow: 0 6px 26px rgba(58,44,26,0.20);
}

/* --- Bloque de biografía --- */
.taller-bio {
  padding: 20px 30px 100px;
}

.taller-bio__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 45px;
  align-items: center;
}

@media (min-width: 900px) {
  .taller-bio__inner {
    grid-template-columns: 1fr 1.25fr;
    gap: 80px;
  }
  /* Sin retrato: el texto ocupa la columna derecha, como en la otra
     página, para que las dos biografías queden alineadas igual */
  .taller-bio--sin-foto .taller-bio__inner > * { grid-column: 2; }
}

.taller-bio__foto {
  width: 100%;
  max-width: var(--img-vertical);
  height: auto;
  display: block;
  margin-left: auto;
  box-shadow: 0 6px 26px rgba(58,44,26,0.20);
}

/* ---------------------------------------------
   ENTRADILLA DE ARTÍCULO
   --------------------------------------------- */
.articulo__lead {
  font-family: var(--font-titulos);
  font-size: clamp(1.1rem, 2.4vw, 1.32rem);
  font-style: italic;
  font-weight: 600;
  line-height: 1.5;
  color: #2b2724;
  margin-bottom: 30px;
}

/* ---------------------------------------------
   FICHA DE DATOS PRÁCTICOS
   --------------------------------------------- */
.ficha {
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(255,255,255,0.7);
  border-left: 4px solid var(--color-oro);
  border-radius: 3px;
  padding: 28px 32px;
  margin: 44px 0;
  box-shadow: 0 3px 14px rgba(58,44,26,0.10);
}

.ficha__fila {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(0,0,0,0.09);
}
.ficha__fila:first-child { padding-top: 0; }
.ficha__fila:last-child { padding-bottom: 0; border-bottom: none; }

.ficha dt {
  font-family: var(--font-cuerpo);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-oro-texto);
}

.ficha dd {
  font-family: var(--font-titulos);
  font-size: 1.02rem;
  line-height: 1.45;
  color: #0b0b0b;
  margin: 0;
}

.ficha dd a { border-bottom: 1px solid var(--color-oro); }
.ficha dd a:hover { color: var(--color-oro-hover); }

@media (min-width: 620px) {
  .ficha__fila {
    grid-template-columns: 150px 1fr;
    gap: 20px;
    align-items: baseline;
  }
}

/* ---------------------------------------------
   TARJETAS DE TALLER (laboratorio de exploración)
   La tarjeta entera es el enlace.
   --------------------------------------------- */
.talleres {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: 56px;
}

@media (min-width: 700px) {
  .talleres { grid-template-columns: 1fr 1fr; }
}

.taller {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  background: rgba(255,255,255,0.90);
  border: 1px solid rgba(255,255,255,0.75);
  /* filete dorado: da presencia a la tarjeta sin depender de una imagen */
  border-top: 4px solid var(--color-oro);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(58,44,26,0.14);
  transition: transform var(--transition), box-shadow var(--transition);
}
.taller:hover,
.taller:focus-visible {
  transform: translateY(-5px);
  box-shadow: 0 14px 32px rgba(58,44,26,0.22);
}

.taller__cuerpo {
  padding: 30px 30px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.taller__titulo {
  font-family: var(--font-titulos);
  font-size: 1.24rem;
  font-weight: 700;
  line-height: 1.3;
  color: #0b0b0b;
  margin-bottom: 12px;
}

.taller__subtitulo {
  font-family: var(--font-titulos);
  font-size: 0.98rem;
  font-style: italic;
  line-height: 1.45;
  color: #3a342e;
  margin-bottom: 15px;
}

.taller__datos {
  font-size: 0.86rem;
  line-height: 1.5;
  color: #4a443d;
  margin-bottom: 20px;
  flex: 1;   /* empuja el enlace al fondo: tarjetas igualadas */
}
.taller__datos li {
  position: relative;
  padding-left: 17px;
  margin-bottom: 5px;
}
.taller__datos li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-oro);
}

.taller__cta {
  font-family: var(--font-titulos);
  font-size: 0.96rem;
  font-weight: 600;
  font-style: italic;
  color: var(--color-oro-texto);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.taller__cta::after {
  content: '»';
  display: inline-block;
  transition: transform var(--transition);
}
.taller:hover .taller__cta::after { transform: translateX(5px); }

/* =============================================
   SECCIÓN DE CIERRE — foto enmarcada sobre blanco
   ============================================= */
.cierre {
  background: var(--color-blanco);
  padding: 90px 30px 30px;
  display: flex;
  justify-content: center;
}

.cierre__marco {
  position: relative;
  width: 100%;
  max-width: var(--img-enmarcada);
  line-height: 0;
  border-radius: 6px;
  overflow: hidden;
}

.cierre__marco img {
  width: 100%;
  height: auto;
  display: block;
}

/* Marco blanco por dentro de la foto */
.cierre__marco::after {
  content: '';
  position: absolute;
  inset: 16px;
  border: 3px solid rgba(255,255,255,0.92);
  pointer-events: none;
}

/* =============================================
   FOOTER — fondo blanco, común a todas las páginas
   ============================================= */
.footer {
  position: relative;
  background: var(--color-blanco);
  padding: 80px 30px 90px;
  overflow: hidden;
}

.footer__inner {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

/* --- Columnas --- */
.footer__col {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

/* Contacto y dirección */
.footer__item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-titulos);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-negro);
  transition: color var(--transition);
}
.footer__item:hover { color: var(--color-oro-hover); }

.footer__item svg {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  fill: var(--color-oro);
}

/* Enlaces legales */
.footer__legales {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.footer__legales a {
  font-family: var(--font-titulos);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--color-oro-texto);
  transition: color var(--transition);
  width: fit-content;
}
.footer__legales a:hover { color: var(--color-oro-hover); }

/* --- Marca de agua difuminada, abajo a la derecha --- */
.footer__marca {
  position: absolute;
  right: -30px;
  bottom: -25px;
  width: min(620px, 62%);
  z-index: 1;
  pointer-events: none;
  user-select: none;
  opacity: 0.30;
  /* se desvanece hacia la izquierda */
  -webkit-mask-image: linear-gradient(105deg, transparent 2%, #000 48%);
  mask-image: linear-gradient(105deg, transparent 2%, #000 48%);
}

.footer__marca img {
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(1);
}

@media (min-width: 800px) {
  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding-left: 6%;
  }
}

/* =============================================
   PÁGINA INTERIOR — header common
   ============================================= */
/* Subtítulos dentro del artículo (p. ej. los talleres del laboratorio) */
.articulo__subtitulo {
  font-family: var(--font-titulos);
  font-size: clamp(1.2rem, 2.6vw, 1.45rem);
  font-weight: 700;
  color: #0b0b0b;
  margin: 52px 0 26px;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .topbar { display: none; }

  /* en móvil la barra superior está oculta: solo resta la cabecera */
  .hero {
    height: calc(100vh - 84px);
    height: calc(100svh - 84px);
    min-height: 400px;
  }

  .que-es-enaira__inner { padding: 30px 25px; }

  .footer__legales { gap: 10px 10px; }
}

/* 2 columnas en tablet */
@media (min-width: 700px) {
  .sesiones__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 769px) {
  .nav-movil { display: none !important; }
}

/* 3 arriba + 3 abajo en escritorio */
@media (min-width: 1000px) {
  .sesiones__grid { grid-template-columns: repeat(3, 1fr); }
}


/* =============================================
   COMPONENTES COMUNES DE PÁGINAS INTERIORES
   ============================================= */
.pagina-intro {
  max-width: 760px;
  margin: 0 auto;
  padding: 86px 30px 0;
  text-align: center;
}

.pagina-intro__titulo {
  font-family: var(--font-titulos);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-negro);
  margin-bottom: 18px;
}

.pagina-intro__lead {
  font-family: var(--font-titulos);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.65;
  color: #33302b;
}
.pagina-intro__lead a { color: var(--color-enlace); }
.pagina-intro__lead a:hover { color: var(--color-enlace-hover); }

.pagina-intro__filete {
  width: 58px;
  height: 2px;
  background: var(--color-oro);
  margin: 30px auto 0;
  border: 0;
}

/* Etiqueta en versalitas doradas: categoría, tipo o lugar */
.eyebrow {
  font-family: var(--font-cuerpo);
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--color-oro-texto);
  margin-bottom: 12px;
}

/* =============================================
   MIGAS DE PAN
   ============================================= */
.migas { padding: 26px 30px 0; }

.migas__lista {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0;
  font-family: var(--font-titulos);
  font-size: 0.9rem;
}
.migas__lista li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-apagado);
}
.migas__lista li + li::before { content: '›'; color: rgba(75,64,36,0.5); }
.migas__lista a { color: var(--color-enlace); }
.migas__lista a:hover { color: var(--color-enlace-hover); text-decoration: underline; }
.migas__lista [aria-current="page"] { color: #2b2724; }

.migas + .pagina-intro { padding-top: 34px; }
.migas + .articulo { padding-top: 40px; }
.migas + .taller-pagina { padding-top: 44px; }
.migas + .actividad { padding-top: 34px; }

/* =============================================
   ANTERIOR / SIGUIENTE entre páginas hermanas
   ============================================= */
.hermanas { padding: 0 30px 80px; }

.hermanas__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  max-width: 900px;
  margin: 0 auto;
  padding-top: 34px;
  border-top: 1px solid rgba(75,64,36,0.2);
}
@media (min-width: 680px) {
  .hermanas__inner { grid-template-columns: 1fr 1fr; gap: 20px; }
}

.hermanas__enlace {
  display: block;
  padding: 18px 22px;
  background: rgba(255,255,255,0.72);
  border-radius: 12px;
  transition: background var(--transition), transform var(--transition);
}
.hermanas__enlace:hover { background: rgba(255,255,255,0.95); transform: translateY(-2px); }
.hermanas__enlace--siguiente { text-align: right; }

.hermanas__rotulo {
  display: block;
  font-family: var(--font-cuerpo);
  font-size: 0.66rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-oro-texto);
  margin-bottom: 5px;
}
.hermanas__titulo {
  display: block;
  font-family: var(--font-titulos);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.3;
  color: #0b0b0b;
}

/* Listas dentro de los artículos (legales, programas…) */
.articulo__lista { margin: 0 0 26px; padding: 0; }
.articulo__lista li {
  position: relative;
  font-family: var(--font-titulos);
  font-size: clamp(1.02rem, 2vw, 1.2rem);
  line-height: 1.55;
  color: #0b0b0b;
  padding-left: 20px;
  margin-bottom: 10px;
}
.articulo__lista li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.62em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--color-oro);
}

/* Contenedores del patrón de página de taller */
.taller-pagina__texto { min-width: 0; }
.taller-pagina__cartel { display: flex; justify-content: center; align-items: flex-start; }
.taller-dato { min-width: 0; }
.taller-bio__texto { min-width: 0; }
.taller-bio__media { display: flex; justify-content: center; }

/* =============================================
   ACTIVIDADES enAIRA
   Una banda por actividad, con el cartel a un
   lado y el texto al otro, alternando. Todos los
   carteles van en un marco del mismo tamaño: sus
   proporciones van de 0,71 a 1,08 y sin marco la
   página quedaba desigual.
   ============================================= */
.actividad { padding: 66px 30px; }
.actividad + .actividad { border-top: 1px solid rgba(0,0,0,0.13); }

.actividad__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.actividad__media { display: flex; justify-content: center; }

/* Marco común: passe-partout crema, misma huella
   para todos los carteles, sin recortar ninguno */
.actividad__marco {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 4 / 5;
  margin: 0;
  padding: 20px;
  background: #f4efe5;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(58,44,26,0.16);
}

.actividad__cartel {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  /* filete fino: despega los carteles claros del passe-partout */
  box-shadow: 0 0 0 1px rgba(0,0,0,0.10);
}

.actividad__texto { max-width: 560px; }

.actividad__titulo {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 400;
  line-height: 1.18;
  color: #0b0b0b;
  margin-bottom: 10px;
}

/* Quién lo imparte o en qué marco se enmarca */
.actividad__subtitulo {
  font-family: var(--font-titulos);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.45;
  color: var(--color-apagado);
  margin-bottom: 26px;
}

.actividad__parrafo {
  font-family: var(--font-titulos);
  font-size: 1.02rem;
  font-weight: 400;
  line-height: 1.6;
  color: #2b2724;
  margin-bottom: 20px;
}
.actividad__parrafo:last-child { margin-bottom: 0; }
.actividad__parrafo a { color: var(--color-enlace); }
.actividad__parrafo a:hover { color: var(--color-enlace-hover); }

.actividad__cita {
  font-style: italic;
  color: #4a443c;
  border-left: 2px solid var(--color-oro);
  padding-left: 20px;
  margin-bottom: 24px;
}

/* Rótulo que introduce una enumeración */
.actividad__rotulo {
  font-family: var(--font-cuerpo);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: #0b0b0b;
  margin-bottom: 12px;
}

.actividad__puntos { margin: 0 0 22px; padding: 0; }
.actividad__puntos li {
  position: relative;
  font-family: var(--font-titulos);
  font-size: 1.02rem;
  line-height: 1.55;
  color: #2b2724;
  padding-left: 19px;
  margin-bottom: 9px;
}
.actividad__puntos li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.62em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--color-oro);
}

/* --- Ficha de datos prácticos: fecha, precio, lugar… --- */
.actividad__ficha { margin: 30px 0 0; border-top: 1px solid rgba(0,0,0,0.14); }

.actividad__fila {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(0,0,0,0.09);
}
@media (min-width: 520px) {
  .actividad__fila { grid-template-columns: 122px 1fr; gap: 20px; }
}

.actividad__ficha dt {
  font-family: var(--font-cuerpo);
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--color-apagado);
  padding-top: 4px;
}

.actividad__ficha dd {
  margin: 0;
  font-family: var(--font-titulos);
  font-size: 0.98rem;
  line-height: 1.5;
  color: #2b2724;
  /* varios datos van escritos línea a línea */
  white-space: pre-line;
}
.actividad__ficha dd a { color: var(--color-enlace); }
.actividad__ficha dd a:hover { color: var(--color-enlace-hover); }

.actividad__link {
  display: inline-block;
  margin-top: 28px;
  font-family: var(--font-titulos);
  font-size: 1rem;
  font-style: italic;
  font-weight: 600;
  color: var(--color-enlace);
  transition: color var(--transition);
}
.actividad__link::after {
  content: '\00a0\2192';
  font-style: normal;
  display: inline-block;
  transition: transform var(--transition);
}
.actividad__link:hover { color: var(--color-enlace-hover); }
.actividad__link:hover::after { transform: translateX(5px); }

.actividad--sin-cartel .actividad__inner { max-width: 780px; }
.actividad--sin-cartel .actividad__texto { max-width: none; }

@media (min-width: 900px) {
  .actividad__inner { grid-template-columns: 1fr 1fr; gap: 76px; }
  .actividad--cartel-izq .actividad__media { order: 1; }
  .actividad--cartel-izq .actividad__texto { order: 2; }
  .actividad--cartel-der .actividad__media { order: 2; }
  .actividad--cartel-der .actividad__texto { order: 1; margin-left: auto; }
  .actividad--sin-cartel .actividad__inner { grid-template-columns: 1fr; }
}

/* =============================================
   HUB "CONGRESOS Y PUBLICACIONES"
   ============================================= */
.hub { padding: 78px 30px 110px; }
.hub .pagina-intro { padding-top: 0; margin-bottom: 54px; }

.hub__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  max-width: 920px;
  margin: 0 auto;
}
@media (min-width: 760px) { .hub__grid { grid-template-columns: 1fr 1fr; gap: 38px; } }

.hub__card {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(255,255,255,0.7);
  /* mismo filete dorado que las tarjetas de taller */
  border-top: 4px solid var(--color-oro);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(58,44,26,0.14);
  transition: transform var(--transition), box-shadow var(--transition);
}
.hub__card:hover,
.hub__card:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(58,44,26,0.24);
}

.hub__cuerpo { display: flex; flex-direction: column; flex: 1; padding: 36px 34px 34px; }

.hub__card-titulo {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  font-weight: 400;
  line-height: 1.15;
  color: #0b0b0b;
  margin-bottom: 16px;
}

.hub__desc {
  font-family: var(--font-titulos);
  font-size: 0.98rem;
  font-weight: 400;
  line-height: 1.6;
  color: #33302b;
  margin-bottom: 24px;
}

/* Índice de lo que contiene cada apartado */
.hub__lista { margin: 0 0 26px; padding: 0; border-top: 1px solid rgba(0,0,0,0.12); }
.hub__lista li {
  position: relative;
  font-family: var(--font-titulos);
  font-size: 0.92rem;
  line-height: 1.45;
  color: #2b2724;
  padding: 11px 0 11px 18px;
  border-bottom: 1px solid rgba(0,0,0,0.09);
}
.hub__lista li::before {
  content: '';
  position: absolute;
  left: 0; top: 1.05em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-oro);
}

.hub__cta {
  margin-top: auto;
  font-family: var(--font-titulos);
  font-size: 1rem;
  font-style: italic;
  font-weight: 600;
  color: var(--color-enlace);
  transition: color var(--transition);
}
.hub__cta::after {
  content: '\00a0\2192';
  font-style: normal;
  display: inline-block;
  transition: transform var(--transition);
}
.hub__card:hover .hub__cta { color: var(--color-enlace-hover); }
.hub__card:hover .hub__cta::after { transform: translateX(5px); }

/* =============================================
   ENTRADAS de congresos y de publicaciones
   ============================================= */
.entrada {
  /* la cabecera es sticky: deja hueco al saltar a un ancla */
  scroll-margin-top: 110px;
  background: rgba(255,255,255,0.86);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 14px;
  padding: 32px 34px 30px;
  margin-bottom: 28px;
  box-shadow: 0 4px 18px rgba(58,44,26,0.10);
}
.entrada:last-child { margin-bottom: 0; }

.entrada__titulo {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.6vw, 1.5rem);
  font-weight: 400;
  line-height: 1.25;
  color: #0b0b0b;
  margin-bottom: 8px;
}

/* Segunda línea del título: versión en inglés o subtítulo */
.entrada__subtitulo {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1.3;
  color: var(--color-apagado);
  margin-bottom: 20px;
}
.entrada__titulo + .entrada__parrafo { margin-top: 20px; }

.entrada__parrafo {
  font-family: var(--font-titulos);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: #2b2724;
  margin-bottom: 18px;
}

.entrada__parrafo--en {
  font-size: 0.94rem;
  font-style: italic;
  color: var(--color-apagado);
  padding-left: 18px;
  border-left: 2px solid rgba(160,137,76,0.35);
}

.entrada__pie { margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(0,0,0,0.12); }

.entrada__fuente {
  font-family: var(--font-titulos);
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-apagado);
  margin-bottom: 10px;
}

.entrada__link {
  display: inline-block;
  font-family: var(--font-titulos);
  font-size: 0.98rem;
  font-style: italic;
  font-weight: 600;
  color: var(--color-enlace);
  transition: color var(--transition);
}
.entrada__link::after {
  content: '\00a0\2192';
  font-style: normal;
  display: inline-block;
  transition: transform var(--transition);
}
.entrada__link:hover { color: var(--color-enlace-hover); }
.entrada__link:hover::after { transform: translateX(5px); }

/* =============================================
   BANNER · JORNADAS DE PUERTAS ABIERTAS
   Va bajo el vídeo y se apoya en la curva de su
   pie. No es una tarjeta con marco: es una franja
   cálida de esquinas muy suaves, con las tres
   fechas separadas por filetes en vez de por cajas.
   ============================================= */
.jornadas { position: relative; z-index: 3; padding: 30px 30px 10px; }

.jornadas__cinta {
  max-width: 1080px;
  margin: 0 auto;
  padding: 38px 34px 40px;
  background: rgba(253,251,247,0.94);
  border-radius: 26px;
  box-shadow: 0 18px 50px rgba(58,44,26,0.16);
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  align-items: center;
}

@media (min-width: 900px) {
  .jornadas { padding: 0 30px 46px; }
  .jornadas__cinta {
    margin-top: -70px;
    grid-template-columns: minmax(240px, 0.9fr) 1.6fr;
    gap: 58px;
    padding: 46px 52px 48px;
  }
}

.jornadas__titulo {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.4vw, 2.05rem);
  font-weight: 400;
  line-height: 1.15;
  color: #0b0b0b;
  margin-bottom: 14px;
}

.jornadas__lead {
  font-family: var(--font-titulos);
  font-size: 1.02rem;
  font-weight: 400;
  line-height: 1.6;
  color: #33302b;
  margin-bottom: 26px;
}

.jornadas__cta {
  display: inline-block;
  padding: 13px 30px;
  background: var(--color-negro);
  color: var(--color-blanco);
  font-family: var(--font-cuerpo);
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  border-radius: 999px;
  transition: background var(--transition), transform var(--transition);
}
.jornadas__cta:hover,
.jornadas__cta:focus-visible { background: var(--color-oro-hover); transform: translateY(-2px); }

.jornadas__nota {
  margin-top: 14px;
  font-family: var(--font-titulos);
  font-size: 0.92rem;
  line-height: 1.45;
  color: #45413b;
}
.jornadas__nota a { color: var(--color-enlace); border-bottom: 1px solid rgba(75,64,36,0.35); }
.jornadas__nota a:hover { color: var(--color-enlace-hover); }

/* --- Las tres citas: columnas, no cajas --- */
.jornadas__fechas { display: grid; grid-template-columns: 1fr; margin: 0; padding: 0; }

.jornadas__cita { padding: 20px 4px; border-top: 1px solid rgba(75,64,36,0.16); }
.jornadas__cita:first-child { border-top: 0; }

@media (min-width: 620px) {
  .jornadas__fechas { grid-template-columns: repeat(3, 1fr); }
  .jornadas__cita {
    display: flex;
    flex-direction: column;
    padding: 4px 22px;
    text-align: center;
    border-top: 0;
    border-left: 1px solid rgba(75,64,36,0.16);
  }
  .jornadas__cita:first-child { border-left: 0; padding-left: 4px; }
  .jornadas__cita:last-child { padding-right: 4px; }
}

.jornadas__dia {
  font-family: var(--font-cuerpo);
  font-size: 0.66rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-oro-texto);
  margin-bottom: 8px;
}

.jornadas__fecha {
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1.1;
  color: #0b0b0b;
  margin-bottom: 10px;
}
.jornadas__num { display: block; font-size: 2.6rem; line-height: 1; margin-bottom: 4px; }

.jornadas__hora {
  font-family: var(--font-titulos);
  font-size: 0.95rem;
  line-height: 1.4;
  color: #2b2724;
}

.jornadas__lugar {
  margin-top: 10px;
  font-family: var(--font-titulos);
  font-size: 0.88rem;
  font-style: italic;
  line-height: 1.35;
  color: #45413b;
}
@media (min-width: 620px) { .jornadas__lugar { margin-top: auto; padding-top: 12px; } }

/* =============================================
   TARJETA DEL LIBRO
   Arriba, portada y texto en dos columnas.
   Debajo, el vídeo: dentro de una sola columna
   dejaba media tarjeta vacía.
   ============================================= */
.libro { padding: 10px 30px 84px; }

.libro__tarjeta {
  max-width: 980px;
  margin: 0 auto;
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(58,44,26,0.18);
}

.libro__ficha { display: grid; grid-template-columns: 1fr; }
@media (min-width: 800px) { .libro__ficha { grid-template-columns: 330px 1fr; } }

.libro__portada {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 34px 30px;
  background: #f2ece0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
@media (min-width: 800px) {
  .libro__portada { border-bottom: 0; border-right: 1px solid rgba(0,0,0,0.08); }
}

.libro__img {
  width: 100%;
  max-width: 270px;
  height: auto;
  box-shadow: 0 10px 30px rgba(58,44,26,0.28);
}

.libro__cuerpo { padding: 32px 34px 34px; }

.libro__titulo {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 1.95rem);
  font-weight: 400;
  line-height: 1.15;
  color: #0b0b0b;
  margin-bottom: 10px;
}

.libro__autoria {
  font-family: var(--font-titulos);
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--color-apagado);
  margin-bottom: 20px;
}

.libro__desc {
  font-family: var(--font-titulos);
  font-size: 1.02rem;
  line-height: 1.6;
  color: #2b2724;
  margin-bottom: 26px;
}

.libro__rotulo {
  font-family: var(--font-cuerpo);
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-apagado);
  margin-bottom: 12px;
}

.libro__compras { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin: 0; padding: 0; }

.libro__cta {
  display: inline-block;
  padding: 13px 28px;
  background: var(--color-negro);
  color: var(--color-blanco);
  font-family: var(--font-cuerpo);
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  border-radius: 999px;
  transition: background var(--transition), transform var(--transition);
}
.libro__cta:hover,
.libro__cta:focus-visible { background: var(--color-oro-hover); transform: translateY(-2px); }

/* Segunda vía de compra: mismo peso, distinto acabado, para
   que se distingan de un vistazo sin que una parezca menor */
.libro__cta--alt {
  background: transparent;
  color: var(--color-negro);
  border: 1px solid rgba(26,26,26,0.45);
  padding: 12px 27px;
}
.libro__cta--alt:hover,
.libro__cta--alt:focus-visible {
  background: var(--color-negro);
  color: var(--color-blanco);
  border-color: var(--color-negro);
}

.libro__info {
  font-family: var(--font-titulos);
  font-size: 1rem;
  font-style: italic;
  font-weight: 600;
  color: var(--color-enlace);
  transition: color var(--transition);
}
.libro__info::after {
  content: '\00a0\2192';
  font-style: normal;
  display: inline-block;
  transition: transform var(--transition);
}
.libro__info:hover { color: var(--color-enlace-hover); }
.libro__info:hover::after { transform: translateX(5px); }


/* --- Vídeo de la pieza --- */
.libro__video { margin: 0; padding: 30px 34px 34px; border-top: 1px solid rgba(0,0,0,0.08); }

.libro__video-marco {
  display: block;
  position: relative;
  width: 100%;
  /* no ocupa todo el ancho de la tarjeta: se centra */
  max-width: 560px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 10px;
  background: #1a1a1a;
  cursor: pointer;
  box-shadow: 0 8px 26px rgba(58,44,26,0.22);
}

.libro__video-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, opacity var(--transition);
}
.libro__video-marco:hover .libro__video-img { transform: scale(1.03); opacity: 0.86; }

.libro__video-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 45px;
  border-radius: 12px;
  background: rgba(20,16,12,0.72);
  transition: background var(--transition), transform var(--transition);
}
.libro__video-play::after {
  content: '';
  position: absolute;
  top: 50%; left: 52%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 8px 0 8px 14px;
  border-color: transparent transparent transparent #fff;
}
.libro__video-marco:hover .libro__video-play,
.libro__video-marco:focus-visible .libro__video-play {
  background: #c8102e;
  transform: translate(-50%, -50%) scale(1.06);
}
.libro__video-marco:focus-visible { outline: 2px solid var(--color-oro-texto); outline-offset: 3px; }

.libro__video-marco iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.libro__video-pie {
  max-width: 560px;
  margin: 12px auto 0;
  font-family: var(--font-titulos);
  font-size: 0.9rem;
  font-style: italic;
  line-height: 1.45;
  color: var(--color-apagado);
}

/* =============================================
   PÁGINA DE CONTACTO
   ============================================= */
.contacto { padding: 20px 30px 90px; }

.contacto__inner {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  align-items: start;
}
@media (min-width: 860px) { .contacto__inner { grid-template-columns: 1.25fr 1fr; gap: 44px; } }

.contacto__tarjeta {
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 14px;
  padding: 34px 34px 36px;
  box-shadow: 0 6px 24px rgba(58,44,26,0.14);
}

.contacto__titulo {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 400;
  line-height: 1.2;
  color: #0b0b0b;
  margin-bottom: 12px;
}

.contacto__lead {
  font-family: var(--font-titulos);
  font-size: 1rem;
  line-height: 1.6;
  color: #33302b;
  margin-bottom: 28px;
}

.contacto__campo { margin-bottom: 20px; }

.contacto__campo label {
  display: block;
  font-family: var(--font-cuerpo);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-apagado);
  margin-bottom: 7px;
}

.contacto__campo input,
.contacto__campo textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-titulos);
  font-size: 1rem;
  color: var(--color-negro);
  background: #fbf9f4;
  border: 1px solid rgba(0,0,0,0.18);
  border-radius: 8px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.contacto__campo textarea { min-height: 140px; resize: vertical; }
.contacto__campo input:focus,
.contacto__campo textarea:focus {
  outline: none;
  border-color: var(--color-oro);
  box-shadow: 0 0 0 3px rgba(160,137,76,0.18);
}

.contacto__enviar {
  display: inline-block;
  padding: 13px 32px;
  background: var(--color-negro);
  color: var(--color-blanco);
  font-family: var(--font-cuerpo);
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.contacto__enviar:hover { background: var(--color-oro-hover); transform: translateY(-2px); }

.contacto__aviso {
  margin-top: 16px;
  font-family: var(--font-titulos);
  font-size: 0.88rem;
  line-height: 1.5;
  color: #45413b;
}
.contacto__aviso--ok {
  padding: 12px 16px;
  color: #2f5d33;
  background: rgba(90,140,95,0.14);
  border-radius: 8px;
}
.contacto__aviso--error {
  padding: 12px 16px;
  color: #8a2f24;
  background: rgba(160,60,45,0.12);
  border-radius: 8px;
}

/* Campo trampa: fuera de la vista, pero no con
   display:none, que algunos robots detectan */
.contacto__trampa {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contacto__datos { padding-top: 6px; }
.contacto__bloque { margin-bottom: 30px; }
.contacto__bloque:last-child { margin-bottom: 0; }

.contacto__rotulo {
  font-family: var(--font-cuerpo);
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-oro-texto);
  margin-bottom: 9px;
}

.contacto__valor {
  font-family: var(--font-titulos);
  font-size: 1.05rem;
  line-height: 1.55;
  color: #2b2724;
}
.contacto__valor a { color: var(--color-enlace); }
.contacto__valor a:hover { color: var(--color-enlace-hover); }

/* =============================================
   PRÓXIMAS CITAS (sobre el calendario)
   ============================================= */
.proximas { max-width: 940px; margin: 0 auto 46px; }

.proximas__rotulo {
  font-family: var(--font-cuerpo);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-oro-texto);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(75,64,36,0.22);
}

.proximas__grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 720px) { .proximas__grid { grid-template-columns: repeat(3, 1fr); } }

.proximas__cita {
  display: flex;
  flex-direction: column;
  padding: 24px 24px 22px;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 14px;
  box-shadow: 0 5px 20px rgba(58,44,26,0.12);
  transition: transform var(--transition), box-shadow var(--transition);
}
.proximas__cita:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(58,44,26,0.2); }

.proximas__dia {
  font-family: var(--font-cuerpo);
  font-size: 0.66rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-oro-texto);
  margin-bottom: 6px;
}

.proximas__fecha {
  font-family: var(--font-display);
  font-size: 1.02rem;
  line-height: 1.1;
  color: #0b0b0b;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(75,64,36,0.18);
}
.proximas__num { display: block; font-size: 2.3rem; line-height: 1; margin-bottom: 3px; }

.proximas__titulo {
  font-family: var(--font-titulos);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  color: #0b0b0b;
  margin-bottom: 7px;
}

.proximas__hora {
  font-family: var(--font-titulos);
  font-size: 0.94rem;
  line-height: 1.45;
  color: var(--color-apagado);
  margin-bottom: 14px;
}

.proximas__link {
  margin-top: auto;
  font-family: var(--font-titulos);
  font-size: 0.95rem;
  font-style: italic;
  font-weight: 600;
  color: var(--color-enlace);
}
.proximas__link::after {
  content: '\00a0\2192';
  font-style: normal;
  display: inline-block;
  transition: transform var(--transition);
}
.proximas__cita:hover .proximas__link { color: var(--color-enlace-hover); }
.proximas__cita:hover .proximas__link::after { transform: translateX(5px); }

/* =============================================
   CALENDARIO · rejilla mensual
   Un mes visible cada vez. Los días con cita se
   pueden pulsar y abren su ficha.
   ============================================= */
.cal { padding: 10px 30px 90px; }
.cal__inner { max-width: 940px; margin: 0 auto; }

.cal__nav { display: flex; align-items: center; justify-content: center; gap: 22px; margin-bottom: 26px; }

.cal__mes-titulo {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  font-weight: 400;
  color: #0b0b0b;
  text-align: center;
  min-width: 8.5em;
}
.cal__mes-titulo::first-letter { text-transform: uppercase; }

.cal__flecha {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--color-oro-texto);
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(75,64,36,0.28);
  border-radius: 50%;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.cal__flecha:hover:not(:disabled) { background: var(--color-negro); color: var(--color-blanco); border-color: var(--color-negro); }
.cal__flecha:disabled { opacity: 0.32; cursor: default; }

.cal__hoy[hidden] { display: none; }

.cal__hoy {
  display: block;
  margin: 0 auto 30px;
  padding: 9px 22px;
  font-family: var(--font-cuerpo);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--color-oro-texto);
  background: transparent;
  border: 1px solid rgba(75,64,36,0.3);
  border-radius: 999px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.cal__hoy:hover { background: var(--color-negro); color: var(--color-blanco); border-color: var(--color-negro); }

.cal__tabla {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255,255,255,0.86);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(58,44,26,0.12);
}

.cal__tabla th {
  padding: 14px 6px;
  font-family: var(--font-cuerpo);
  font-size: 0.66rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-apagado);
  border-bottom: 1px solid rgba(75,64,36,0.18);
}

.cal__tabla td {
  width: 14.28%;
  height: 104px;
  padding: 8px 8px 10px;
  vertical-align: top;
  border: 1px solid rgba(75,64,36,0.12);
  border-left: 0;
  border-top: 0;
}
.cal__tabla td:last-child { border-right: 0; }
.cal__tabla tr:last-child td { border-bottom: 0; }

.cal__dia--vacio { background: rgba(244,239,229,0.5); }

.cal__num {
  display: block;
  font-family: var(--font-titulos);
  font-size: 0.92rem;
  color: var(--color-apagado);
  margin-bottom: 5px;
}

.cal__dia--con { background: rgba(250,246,238,0.9); }
.cal__dia--con .cal__num { color: #0b0b0b; font-weight: 700; }

.cal__hoy-marca .cal__num {
  display: inline-block;
  width: 1.7em; height: 1.7em;
  line-height: 1.7em;
  text-align: center;
  color: var(--color-blanco);
  background: var(--color-negro);
  border-radius: 50%;
  margin-bottom: 4px;
}

.cal__evento {
  display: block;
  width: 100%;
  text-align: left;
  font-family: var(--font-titulos);
  font-size: 0.76rem;
  line-height: 1.25;
  color: #2b2724;
  background: rgba(160,137,76,0.14);
  border: 0;
  border-left: 2px solid var(--color-oro);
  border-radius: 0 4px 4px 0;
  padding: 4px 6px;
  margin-bottom: 4px;
  cursor: pointer;
  transition: background var(--transition);
}
.cal__evento:hover,
.cal__evento:focus-visible { background: rgba(160,137,76,0.3); }

/* Móvil: rejilla compacta, un punto por cita */
@media (max-width: 720px) {
  .cal__tabla td { height: 62px; padding: 6px 3px; text-align: center; }
  .cal__num { font-size: 0.86rem; margin-bottom: 3px; }
  .cal__evento {
    width: 7px; height: 7px;
    padding: 0;
    margin: 0 auto 3px;
    border: 0;
    border-radius: 50%;
    background: var(--color-oro);
    overflow: hidden;
    text-indent: -999px;
  }
}

/* --- Ficha emergente --- */
.cal__modal {
  margin: auto;
  position: relative;
  width: min(560px, calc(100vw - 40px));
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: #fdfbf7;
  box-shadow: 0 24px 60px rgba(58,44,26,0.4);
}
.cal__modal::backdrop { background: rgba(26,22,18,0.55); }

.cal__modal-cuerpo { padding: 34px 34px 34px; max-height: 78vh; overflow-y: auto; }

.cal__cerrar {
  position: absolute;
  z-index: 1;
  top: 12px; right: 14px;
  width: 34px; height: 34px;
  font-size: 1.2rem;
  line-height: 1;
  color: var(--color-apagado);
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}
.cal__cerrar:hover { background: rgba(75,64,36,0.12); color: #0b0b0b; }
.cal__cerrar:focus-visible,
.cal__flecha:focus-visible,
.cal__hoy:focus-visible,
.cal__evento:focus-visible { outline: 2px solid var(--color-oro-texto); outline-offset: 2px; }

/* --- Fichas: contenido de la ventana y respaldo sin JavaScript --- */
.cal__fichas { max-width: 860px; margin: 54px auto 0; }
.cal__ficha { margin-bottom: 26px; }
.cal__ficha:last-child { margin-bottom: 0; }
.cal__modal .cal__ficha { margin-bottom: 30px; }
.cal__modal .cal__ficha:last-child { margin-bottom: 0; }

.cal__ficha-fecha {
  font-family: var(--font-cuerpo);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-oro-texto);
  margin-bottom: 9px;
}

.cal__ficha-titulo {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 400;
  line-height: 1.25;
  color: #0b0b0b;
  margin-bottom: 12px;
}

.cal__ficha-dato {
  font-family: var(--font-titulos);
  font-size: 0.98rem;
  line-height: 1.55;
  color: #2b2724;
  margin-bottom: 4px;
}
.cal__ficha-lugar { color: var(--color-apagado); }

.cal__ficha-nota {
  display: inline-block;
  margin-top: 10px;
  padding: 5px 12px;
  font-family: var(--font-cuerpo);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--color-oro-texto);
  background: rgba(160,137,76,0.14);
  border-radius: 999px;
}

.cal__ficha-link {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--font-titulos);
  font-size: 0.98rem;
  font-style: italic;
  font-weight: 600;
  color: var(--color-enlace);
}
.cal__ficha-link::after {
  content: '\00a0\2192';
  font-style: normal;
  display: inline-block;
  transition: transform var(--transition);
}
.cal__ficha-link:hover { color: var(--color-enlace-hover); }
.cal__ficha-link:hover::after { transform: translateX(5px); }

/* Con JavaScript las fichas viven dentro de la ventana emergente */
.cal--js .cal__fichas { display: none; }

/* Marca de actividad todavía por celebrarse */
.proxima {
  display: inline-block;
  margin-left: 10px;
  padding: 3px 10px;
  font-family: var(--font-cuerpo);
  font-size: 0.62rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-blanco);
  background: var(--color-negro);
  border-radius: 999px;
  vertical-align: 1px;
}

/* =============================================
   REPORTAJE
   Páginas de congreso o seminario: una foto de
   apertura a todo el ancho, el texto en columna
   de lectura y el resto de fotos al cierre.
   ============================================= */
.reportaje { padding: 40px 30px 90px; }

.reportaje__inner { max-width: 880px; margin: 0 auto; }

.reportaje__portada {
  margin: 0 0 38px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(58,44,26,0.24);
}
.reportaje__portada img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center;
  display: block;
}

.reportaje__pie {
  margin-top: 12px;
  font-family: var(--font-titulos);
  font-size: 0.9rem;
  font-style: italic;
  line-height: 1.45;
  color: var(--color-apagado);
}

/* Fotos de cierre: tres en fila, sin recorte agresivo */
.reportaje__fotos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 46px 0 0;
  padding-top: 34px;
  border-top: 1px solid rgba(75,64,36,0.2);
}
@media (min-width: 700px) {
  .reportaje__fotos { grid-template-columns: repeat(3, 1fr); gap: 18px; }
}
.reportaje__fotos img {
  width: 100%;
  aspect-ratio: 3 / 4;
  /* «contain» y no «cover»: los carteles llevan datos abajo y
     recortarlos los deja ilegibles. Todas ocupan la misma caja
     sobre un passe-partout crema, sin perder nada. */
  object-fit: contain;
  background: #f4efe5;
  padding: 8px;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(58,44,26,0.20);
  transition: transform var(--transition);
}
.reportaje__fotos img:hover { transform: translateY(-3px); }
.reportaje__fotos figcaption {
  grid-column: 1 / -1;
  margin-top: 4px;
  font-family: var(--font-titulos);
  font-size: 0.9rem;
  font-style: italic;
  color: var(--color-apagado);
}

/* Marca de actividad todavía por celebrarse */
.proxima {
  display: inline-block;
  margin-left: 10px;
  padding: 3px 10px;
  font-family: var(--font-cuerpo);
  font-size: 0.62rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-blanco);
  background: var(--color-negro);
  border-radius: 999px;
  vertical-align: 1px;
}

/* =============================================
   ENTRADA CON FOTOS
   Texto y fotos en paralelo, alternando el lado.
   En tira debajo del texto quedaban perdidas.
   ============================================= */
.articulo--ancho .articulo__inner { max-width: 1080px; }

.entrada--con-fotos {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}

@media (min-width: 880px) {
  .entrada--con-fotos {
    grid-template-columns: 1fr 360px;
    gap: 40px;
    align-items: start;
  }
  .entrada--fotos-izq { grid-template-columns: 360px 1fr; }
  .entrada--fotos-izq .entrada__fotos { order: -1; }
}

.entrada__cuerpo { min-width: 0; }

.entrada__fotos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0;
}

.entrada__fotos img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 5px 16px rgba(58,44,26,0.20);
  transition: transform var(--transition);
}
.entrada__fotos img:hover { transform: translateY(-3px); }

.entrada__fotos figcaption {
  grid-column: 1 / -1;
  margin-top: 2px;
  font-family: var(--font-titulos);
  font-size: 0.86rem;
  font-style: italic;
  line-height: 1.4;
  color: var(--color-apagado);
}

/* Marca de actividad todavía por celebrarse */
.proxima {
  display: inline-block;
  margin-left: 10px;
  padding: 3px 10px;
  font-family: var(--font-cuerpo);
  font-size: 0.62rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-blanco);
  background: var(--color-negro);
  border-radius: 999px;
  vertical-align: 1px;
}

/* =============================================
   GALERÍA de fotos dentro de un artículo
   ============================================= */
.galeria {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 8px 0 34px;
}

@media (min-width: 620px) {
  .galeria { grid-template-columns: repeat(4, 1fr); gap: 16px; }
}

.galeria img {
  width: 100%;
  height: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(58,44,26,0.18);
  transition: transform var(--transition);
}
.galeria img:hover { transform: translateY(-3px); }

.galeria__pie {
  grid-column: 1 / -1;
  margin-top: 2px;
  font-family: var(--font-titulos);
  font-size: 0.9rem;
  font-style: italic;
  line-height: 1.45;
  color: var(--color-apagado);
}

/* Contenido que leen buscadores y lectores de pantalla
   pero que no se muestra. No se usa display:none porque
   entonces también desaparecería para ellos. */
.visualmente-oculto {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
