/* Página pública de xipeops.com — colores de XIPE Ops (xipe-ops/web/ui/tokens.css) */
:root {
  color-scheme: light;
  --crema: #FDF5F3;
  --tinta: #171B1A;
  --texto-2: #5D5351;
  --texto-3: #74676A;
  --borde: #E9DCDA;
  --superficie: #FFFFFF;
  --rojo: #BC1427;      /* solo firma: franjas */
  --granate: #8C0000;   /* marca y bloque del título */
  --aviso: #875100;
  --aviso-suave: #FDF1D6;
  --aviso-punto: #E99E00;
  --accion: #1A7457;
  --accion-hover: #145F47;
  --foco: #2769B7;
  --sombra: 0 1px 2px rgba(23, 27, 26, .06), 0 24px 60px -24px rgba(140, 0, 0, .28);
  --fuente: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--crema);
  color: var(--tinta);
  font: 16px/1.6 var(--fuente);
}
a { color: var(--accion); }
a:focus-visible { outline: 3px solid var(--foco); outline-offset: 2px; border-radius: 4px; }

/* ============================================================== portada */
.portada {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  background:
    radial-gradient(900px 520px at 100% -10%, rgba(188, 20, 39, .12), transparent 60%),
    radial-gradient(760px 460px at -10% 110%, rgba(140, 0, 0, .09), transparent 60%),
    var(--crema);
}
/* Marca de agua: la palabra XIPE en contorno, muy tenue */
.portada::before {
  content: "XIPE";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font: 800 clamp(160px, 38vw, 460px)/1 var(--fuente);
  letter-spacing: .06em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(140, 0, 0, .07);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
/* Franja de firma arriba */
.portada::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg, var(--granate), var(--rojo));
}

.escena {
  position: relative;
  z-index: 1;
  flex: 1;
  display: grid;
  place-items: center;
  padding: 48px 16px 24px;
}

.aviso {
  position: relative;
  width: min(540px, 100%);
  padding: 40px 32px 28px;
  background: var(--superficie);
  border: 1px solid var(--borde);
  border-radius: 20px;
  box-shadow: var(--sombra);
  text-align: center;
  overflow: hidden;
}
.aviso::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--granate), var(--rojo));
}

.producto {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--texto-3);
}
.logo-texto {
  margin: 6px 0 22px;
  padding-left: .14em; /* compensa el espaciado para que quede centrado */
  font-size: clamp(64px, 16vw, 96px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: .14em;
  color: var(--granate);
}

.estado {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--aviso-suave);
  color: var(--aviso);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
}
.punto {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--aviso-punto);
  box-shadow: 0 0 0 0 rgba(233, 158, 0, .55);
  animation: latido 1.8s ease-out infinite;
}

.aviso h1 {
  margin: 0;
  font-size: clamp(22px, 5vw, 28px);
  line-height: 1.25;
  font-weight: 700;
}
.texto { margin: 8px 0 0; color: var(--texto-2); }

.progreso {
  position: relative;
  height: 4px;
  margin: 26px auto 26px;
  max-width: 280px;
  border-radius: 999px;
  background: #F3E7E4;
  overflow: hidden;
}
.progreso span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 40%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--granate), var(--rojo));
  animation: avance 2.4s ease-in-out infinite;
}

.propiedad {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid var(--borde);
  color: var(--texto-2);
  font-size: 13px;
  line-height: 1.5;
  text-align: left;
}
.propiedad svg { flex: none; margin-top: 1px; color: var(--granate); }
.propiedad strong { color: var(--tinta); font-weight: 600; }

.pie {
  position: relative;
  z-index: 1;
  padding: 16px 16px 28px;
  color: var(--texto-3);
  font-size: 13px;
  text-align: center;
}
.pie a { color: inherit; }

@keyframes latido {
  0%   { box-shadow: 0 0 0 0 rgba(233, 158, 0, .55); }
  70%  { box-shadow: 0 0 0 8px rgba(233, 158, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(233, 158, 0, 0); }
}
@keyframes avance {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(260%); }
}
@media (prefers-reduced-motion: reduce) {
  .punto, .progreso span { animation: none; }
  .progreso span { width: 60%; }
}
@media (max-width: 420px) {
  .aviso { padding: 32px 20px 22px; border-radius: 16px; }
}

/* ============================================================== política de privacidad */
.franja { height: 6px; background: linear-gradient(90deg, var(--granate), var(--rojo)); }
.contenedor { max-width: 760px; margin: 0 auto; padding: 0 20px; }

.cabecera { background: var(--granate); color: #fff; }
.cabecera .contenedor { padding-top: 28px; padding-bottom: 32px; }
.marca {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.marca a { color: inherit; text-decoration: none; }
.cabecera h1 { margin: 0; font-size: clamp(28px, 6vw, 40px); line-height: 1.15; }
.bajada { margin: 12px 0 0; max-width: 60ch; opacity: .92; }

main.contenedor { padding-top: 24px; padding-bottom: 48px; }
h2 { margin: 32px 0 8px; font-size: 20px; line-height: 1.3; }
main.contenedor p, main.contenedor li { max-width: 68ch; }
ul { padding-left: 1.2em; }
li + li { margin-top: 4px; }
.fecha { color: var(--texto-2); font-size: 14px; }

footer.contenedor-pie {
  padding: 20px 0 32px;
  border-top: 1px solid var(--borde);
  color: var(--texto-2);
  font-size: 14px;
}
footer.contenedor-pie a { color: inherit; }
