/* ==========================================================================
   RUPTIVA: capa de diseno de la marca (04-oct-2026)
   Aplica el manual (ruptiva-tokens.css v1.0 y README del simbolo A) sobre la plantilla comun.
   Va despues de marca.css y fuera de las capas de Tailwind, asi que manda sobre ambos.
   Reparto del manual: tinta 60 % (fondo) · violeta 30 % (identidad) · coral 7 % (accion) · lima 3 % (insight).
   ========================================================================== */

:root {
  --rp-violeta: #6C3BFF;
  --rp-coral:   #FF4F3A;
  --rp-coral-h: #FF6A58;   /* hover del coral, mismo tono un punto mas claro */
  --rp-lima:    #D4FF3A;
  --rp-tinta:   #0E0C1D;
  --rp-niebla:  #F7F6FB;
  --rp-suave:   #9B97B4;   /* --rp-texto-suave: 6,9:1 sobre tinta */
  --rp-borde:   #2D2A46;

  /* Los grises de Stellar pasan a los neutros del manual: fondo tinta, bordes, texto suave y niebla */
  --color-slate-900: var(--rp-tinta);
  --color-slate-800: var(--rp-borde);
  --color-slate-400: var(--rp-suave);
  --color-slate-100: var(--rp-niebla);
  --color-slate-50:  var(--rp-niebla);
}

/* ---------- Titulares: Outfit, color niebla liso (sin el degradado gris de Stellar) ---------- */
h1, h2, h3, .h1, .h2, .h3 {
  background: none;
  color: var(--rp-niebla);
  -webkit-text-fill-color: currentColor;
}
.h1, h1 { font-weight: 600; letter-spacing: -0.01em; }
.h2, h2 { font-weight: 600; letter-spacing: -0.01em; }
.h3, h3 { font-weight: 600; letter-spacing: -0.01em; }
.rp-display { font-weight: 700; letter-spacing: -0.02em; line-height: 1; }

/* ---------- Etiquetas (.rp-etiqueta): DM Mono 500, 12 px, mayusculas, +2 %, lima ---------- */
[data-antetitulo] {
  background: none;
  color: var(--rp-lima);
  -webkit-text-fill-color: currentColor;
  font-family: var(--fuente-datos);
  font-weight: 500;
  font-size: 0.75rem;
  line-height: 1.5;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.rp-insignia {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .25rem .75rem;
  border: 1px solid var(--rp-borde);
  border-radius: 9999px;
  text-decoration: none;
}
.rp-insignia::before {          /* el punto de la chispa, como indicador */
  content: "";
  width: .5rem;
  height: .5rem;
  border-radius: 9999px;
  background: var(--rp-lima);
}
.rp-insignia:hover, .rp-insignia:focus-visible { border-color: var(--rp-lima); }

/* ---------- Accion: el coral es solo para CTA (texto tinta sobre coral: 5,9:1) ---------- */
[data-boton="principal"] {
  background: var(--rp-coral);
  color: var(--rp-tinta);
  font-weight: 700;
}
[data-boton="principal"]:hover { background: var(--rp-coral-h); }
[data-boton="principal"] span { color: inherit; }
[data-boton="secundario"] {
  background: transparent;
  color: var(--rp-niebla);
  border: 1px solid var(--rp-borde);
}
[data-boton="secundario"]:hover { border-color: var(--rp-suave); }
[data-boton="cabecera"] span span { color: var(--rp-coral); }
[data-boton]:focus-visible, .rp-insignia:focus-visible {
  outline: 2px solid var(--rp-lima);
  outline-offset: 3px;
}

/* ---------- Motivo: la reticula del simbolo (paso 22 u, puntos de 16 u), desvanecida hacia el texto ---------- */
.rp-reticula {
  background-image: radial-gradient(circle, rgb(108 59 255 / .28) 2px, transparent 2.6px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 78% 45%, #000 0%, transparent 70%);
          mask-image: radial-gradient(ellipse 60% 70% at 78% 45%, #000 0%, transparent 70%);
}

/* Simbolo animado: area de proteccion de un punto por lado; sin sombras ni degradados sobre el (manual) */
.rp-simbolo {
  padding: 2.5rem;
  border-radius: 2rem;
  background: var(--rp-tinta);
  border: 1px solid var(--rp-borde);
}
.rp-simbolo img { display: block; width: 12rem; height: 12rem; }
@media (min-width: 768px) {
  .rp-simbolo img { width: 15rem; height: 15rem; }
}
