/* ============================================================================
   DAYMA · Base común (carta e inicio) · estilo «A · Paseo»
   ============================================================================ */

:root {
  --fondo: #F4EEE2;      /* crema del logo */
  --papel: #FBF8F1;      /* cajas */
  --tinta: #10244F;      /* azul marino del logo */
  --rojo: #C2231E;       /* rojo de la copa: antetítulos y pestaña activa */
  --gris: #4A5368;       /* texto secundario (≥ 4,5:1 sobre el crema) */
  --agotado: #5E6372;
  --cuerpo: #2E3A57;     /* párrafos largos */
  --linea: #D8CDB8;
  --linea-suave: #E3D9C6;
  --verde: #1F7A4D;
  --titulos: "Bodoni Moda", Didot, "Bodoni 72", Georgia, serif;
  --texto: Archivo, system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

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

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--fondo);
  color: var(--tinta);
  font-family: var(--texto);
  font-size: 15px;
  line-height: 1.4;
}

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

a { color: var(--tinta); text-underline-offset: 0.15em; }
a:hover { color: var(--rojo); }

:focus-visible {
  outline: 3px solid var(--rojo);
  outline-offset: 2px;
  border-radius: 2px;
}

.oculto {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

[hidden] { display: none !important; }

/* Antetítulo rojo en versalitas */
.ante {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rojo);
}

.titulo {
  margin: 0;
  font-family: var(--titulos);
  font-style: italic;
  font-weight: 600;
  line-height: 1.1;
}

/* Estado de hoy: punto + frase */
.estado {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
}
.estado__punto {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--linea);
  transform: translateY(-1px);
}
.estado[data-tipo="abierto"] .estado__punto { background: var(--verde); }
.estado[data-tipo="cerrado"] .estado__punto { background: var(--agotado); }

/* Botones píldora */
.boton {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--tinta);
  color: var(--fondo);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
}
.boton:hover { color: var(--fondo); background: #1B3470; }
.boton--borde {
  min-height: 50px;
  background: transparent;
  color: var(--tinta);
  border: 1px solid var(--tinta);
  font-size: 15px;
  letter-spacing: 0;
}
.boton--borde:hover { background: var(--tinta); color: var(--fondo); }

/* Bloque crema que ocupa el sitio de una foto que aún no existe */
.hueco {
  background: var(--papel);
  border: 1px solid var(--linea-suave);
}
