/* ============================================================
   BYE MULTAS — Tema Markus IP (markusip-site/css/styles.css)
   Navy #1E3A5F · magenta #FF006E · Plus Jakarta Sans + Source Sans 3
   Cargar después de resultado-dashboard / inicio / servicio + premium
   ============================================================ */

body.page-inicio,
body.page-reporte,
body.page-servicio,
body.page-contacto,
body.page-pago-exito,
body.page-legal {
  --font-ui: "Source Sans 3", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: "Plus Jakarta Sans", -apple-system, sans-serif;
  --mk-primary: #1e3a5f;
  --mk-primary-soft: #2d4a6f;
  --mk-accent: #ff006e;
  --mk-accent-hover: #e60063;
  --mk-accent-soft: rgba(255, 0, 110, 0.12);
  --mk-accent-glow: rgba(255, 0, 110, 0.35);
  --mk-text: #1e293b;
  --mk-muted: #64748b;
  --mk-text-light: #94a3b8;
  --mk-bg: #fafafa;
  --mk-bg-alt: #f4f4f5;
  --mk-bg-dark: #1e3a5f;
  --mk-border: #e4e4e7;
  --mk-white: #ffffff;
  --mk-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  --mk-shadow-lg: 0 24px 48px rgba(0, 0, 0, 0.12);
  --mk-radius: 6px;
  --mk-radius-lg: 12px;

  --rp-canvas: var(--mk-bg);
  --rp-cream: var(--mk-bg-alt);
  --rp-white: var(--mk-white);
  --rp-ink: var(--mk-text);
  --rp-muted: var(--mk-muted);
  --rp-soft: #94a3b8;
  --rp-navy: var(--mk-bg-dark);
  --rp-navy-mid: var(--mk-primary-soft);
  --rp-blue: var(--mk-accent);
  --rp-blue-soft: var(--mk-accent-soft);
  --rp-red: #dc2626;
  --rp-green: #059669;
  --rp-gold: var(--mk-accent);
  --rp-radius: var(--mk-radius-lg);
  --rp-radius-lg: var(--mk-radius-lg);

  font-family: var(--font-ui);
  font-size: 1.0625rem;
  line-height: 1.7;
  background: var(--mk-bg) !important;
  color: var(--mk-text);
  color-scheme: light;
  -webkit-font-smoothing: antialiased;
}

/* Sidebar servicio / topbar resultado — mismo tratamiento visual */
body.page-inicio .reporte-sidebar,
body.page-reporte .reporte-sidebar,
body.page-servicio .reporte-sidebar {
  background: linear-gradient(180deg, var(--mk-bg-dark) 0%, #152d4d 100%) !important;
  border-right-color: rgba(255, 255, 255, 0.08) !important;
  box-shadow: 4px 0 32px rgba(30, 58, 95, 0.25) !important;
  color: var(--mk-white);
}

body.page-reporte .site-header.site-header--navy {
  background: linear-gradient(180deg, var(--mk-bg-dark) 0%, #152d4d 100%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 4px 32px rgba(30, 58, 95, 0.25) !important;
  color: var(--mk-white);
}

body.page-inicio .reporte-brand a,
body.page-reporte .reporte-brand a,
body.page-servicio .reporte-brand a {
  color: #ffffff !important;
}

body.page-inicio .reporte-brand-text strong,
body.page-reporte .reporte-brand-text strong,
body.page-servicio .reporte-brand-text strong {
  color: #ffffff !important;
}

body.page-reporte .reporte-brand-text a small,
body.page-servicio .reporte-brand-text a small {
  color: rgba(255, 255, 255, 0.45) !important;
}

/* Columna principal — canvas claro */
body.page-reporte .reporte-main,
body.page-servicio .svc-main {
  background: var(--mk-bg) !important;
  background-image: none !important;
}

body.page-inicio .inicio-main {
  background: #eef0f4 !important;
}

/* Rejilla suave sobre el fondo gris de la zona institucional */
body.page-inicio .inicio-main.inicio-svc-embedded {
  background-image:
    linear-gradient(rgba(30, 58, 95, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 58, 95, 0.05) 1px, transparent 1px) !important;
  background-size: 32px 32px !important;
}

/* Tarjetas claramente blancas y elevadas sobre el fondo gris */
body.page-inicio .inicio-main .svc-card,
body.page-inicio .inicio-main .svc-problem-card {
  background: #ffffff !important;
  border: 1px solid #d8dce4 !important;
  box-shadow: 0 2px 12px rgba(30, 58, 95, 0.08), 0 6px 24px rgba(30, 58, 95, 0.06) !important;
}

body.page-reporte .reporte-main-head {
  background: rgba(250, 250, 250, 0.92) !important;
  border-bottom-color: rgba(0, 0, 0, 0.06) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}

body.page-reporte .reporte-main-head h1 {
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
  color: var(--mk-primary) !important;
}

body.page-inicio .inicio-hero {
  background: linear-gradient(180deg, var(--mk-bg-dark) 0%, #152d4d 100%) !important;
}

body.page-inicio .inicio-hero-title {
  font-family: var(--font-display) !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
  color: #fff !important;
}

body.page-inicio .inicio-hero-lead {
  color: var(--mk-text-light) !important;
}

body.page-inicio .inicio-hero-lead strong {
  color: rgba(255, 255, 255, 0.95) !important;
}

body.page-inicio .inicio-hero-lead--institucional {
  color: var(--mk-text-light) !important;
}

body.page-inicio .inicio-steps-heading--hero {
  color: rgba(255, 255, 255, 0.5) !important;
}

body.page-inicio .inicio-micro-steps--hero strong {
  color: #fff !important;
}

body.page-inicio .inicio-micro-steps--hero li > div > span {
  color: rgba(255, 255, 255, 0.65) !important;
}

body.page-reporte .reporte-main-head .text-muted {
  color: var(--mk-muted) !important;
}

body.page-inicio .inicio-eyebrow {
  color: var(--mk-accent) !important;
  background: var(--mk-accent-soft) !important;
  border-color: rgba(255, 0, 110, 0.22) !important;
}

/* Outline — como .btn--outline-dark sobre claro */
body.page-inicio .btn-outline-navy,
body.page-reporte .btn-outline-navy,
body.page-servicio .btn-outline-navy {
  background: transparent !important;
  border: 2px solid var(--mk-primary) !important;
  color: var(--mk-primary) !important;
}

body.page-inicio .btn-outline-navy:hover,
body.page-reporte .btn-outline-navy:hover,
body.page-servicio .btn-outline-navy:hover {
  background: var(--mk-primary) !important;
  color: var(--mk-white) !important;
  border-color: var(--mk-primary) !important;
  box-shadow: var(--mk-shadow-lg) !important;
}

/* Tarjetas — .card del referente */
body.page-reporte .reporte-card,
body.page-inicio .inicio-search-card,
body.page-inicio .inicio-feature {
  background: var(--mk-white) !important;
  border: 1px solid var(--mk-border) !important;
  box-shadow: var(--mk-shadow) !important;
}

body.page-reporte .reporte-card:hover {
  border-color: transparent !important;
  box-shadow: var(--mk-shadow-lg) !important;
}

body.page-reporte .reporte-card-stat {
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
  color: var(--mk-primary) !important;
}

body.page-reporte .reporte-mini-stat {
  background: var(--mk-bg-alt) !important;
  border-color: var(--mk-border) !important;
  color: var(--mk-muted) !important;
}

body.page-reporte .reporte-mini-stat strong {
  color: var(--mk-text) !important;
}

/* Tarjeta “trámites bloqueados”: fondo oscuro + texto claro (no fondo claro con tipografía blanca) */
body.page-reporte .reporte-card--lock {
  background: linear-gradient(145deg, var(--mk-bg-dark) 0%, #152d4d 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 8px 28px rgba(30, 58, 95, 0.35) !important;
  color: var(--mk-white) !important;
}

body.page-reporte .reporte-card--lock h3 {
  color: var(--mk-white) !important;
}

body.page-reporte .reporte-card--lock .reporte-lock-list {
  color: rgba(255, 255, 255, 0.82) !important;
}

body.page-reporte .reporte-card--lock .reporte-lock-list li::before {
  background: var(--mk-accent) !important;
}

/* Timeline */
body.page-reporte .reporte-tl-dot {
  background: var(--mk-white) !important;
  border-color: var(--mk-accent) !important;
}

body.page-reporte .reporte-tl-body strong {
  color: var(--mk-text) !important;
}

body.page-reporte .reporte-tl-body span {
  color: var(--mk-muted) !important;
}

/* Bloque solución */
body.page-reporte .reporte-solution {
  background: var(--mk-bg-dark) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: var(--mk-white);
  position: relative;
  overflow: hidden;
  z-index: 0;
}

body.page-reporte .reporte-solution::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -40%;
  right: -15%;
  width: 55%;
  height: 120%;
  background: radial-gradient(ellipse, rgba(255, 0, 110, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

body.page-reporte .reporte-solution > * {
  position: relative;
  z-index: 1;
}

body.page-reporte .reporte-solution-badge {
  background: var(--mk-accent-soft) !important;
  color: #ffb3d4 !important;
}

body.page-reporte .reporte-solution h2 {
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
  color: var(--mk-white) !important;
}

/* Tabla */
body.page-reporte #tablaInfracciones thead th {
  background: var(--mk-bg-alt) !important;
  color: var(--mk-primary) !important;
  border-bottom: 2px solid var(--mk-accent) !important;
}

body.page-reporte #tablaInfracciones tbody td {
  background: var(--mk-white) !important;
  color: var(--mk-muted) !important;
  border-color: var(--mk-border) !important;
}

body.page-reporte #tablaInfracciones tbody tr:hover td {
  background: var(--mk-accent-soft) !important;
}

/* Sticky CTA */
body.page-reporte .reporte-sticky-cta {
  background: rgba(255, 255, 255, 0.95) !important;
  border-top-color: var(--mk-border) !important;
  backdrop-filter: blur(12px) !important;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.06) !important;
}

body.page-reporte .reporte-cta-text strong {
  color: var(--mk-text) !important;
}

body.page-reporte .btn-primary {
  background: var(--mk-accent) !important;
  color: var(--mk-white) !important;
  border: 2px solid var(--mk-accent) !important;
  box-shadow: 0 8px 24px var(--mk-accent-glow) !important;
}

body.page-reporte .btn-primary:hover {
  background: var(--mk-accent-hover) !important;
  border-color: var(--mk-accent-hover) !important;
}

/* Inicio */
body.page-inicio .inicio-search-card::before {
  background: var(--mk-accent) !important;
  height: 3px !important;
}

body.page-inicio .inicio-search-card h2 {
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
  color: var(--mk-primary) !important;
}

body.page-inicio .inicio-search-card input[type="text"] {
  background: var(--mk-white) !important;
  border: 1px solid var(--mk-border) !important;
  color: var(--mk-text) !important;
}

body.page-inicio .inicio-plate-preview {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(244, 244, 245, 1) 100%) !important;
  border: 2px solid var(--mk-primary) !important;
  box-shadow: var(--mk-shadow) !important;
}

body.page-inicio .inicio-plate-preview-value {
  color: var(--mk-primary) !important;
}

body.page-inicio .inicio-plate-preview-sub {
  color: var(--mk-accent) !important;
}

body.page-inicio .inicio-micro-num {
  background: var(--mk-accent) !important;
  border-color: var(--mk-accent) !important;
  color: var(--mk-white) !important;
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
}

body.page-inicio .inicio-feature h3 {
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
  color: var(--mk-primary) !important;
}

body.page-inicio .inicio-feature:hover {
  border-color: rgba(255, 0, 110, 0.25) !important;
}

body.page-inicio .inicio-search-card .btn-primary {
  background: var(--mk-accent) !important;
  color: var(--mk-white) !important;
  border: 2px solid var(--mk-accent) !important;
  box-shadow: 0 8px 24px var(--mk-accent-glow) !important;
}

/* Servicio */
body.page-servicio .svc-main-head {
  background: var(--mk-bg-dark) !important;
  border-bottom-color: rgba(255, 255, 255, 0.1) !important;
  position: relative;
  overflow: hidden;
  z-index: 0;
}

body.page-servicio .svc-main-head::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 4px !important;
  height: 100% !important;
  background: linear-gradient(180deg, var(--mk-accent) 0%, var(--mk-primary-soft) 100%) !important;
  border-radius: 0 4px 4px 0 !important;
  opacity: 0.95 !important;
}

body.page-servicio .svc-main-head::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: -40%;
  right: -15%;
  width: 55%;
  height: 120%;
  background: radial-gradient(ellipse, rgba(255, 0, 110, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

body.page-servicio .svc-main-head .svc-hero-top,
body.page-servicio .svc-main-head h1,
body.page-servicio .svc-main-head .svc-lead,
body.page-servicio .svc-main-head .svc-trust-strip {
  position: relative;
  z-index: 1;
}

body.page-servicio .svc-eyebrow {
  color: #ffb3d4 !important;
  background: var(--mk-accent-soft) !important;
  border-color: rgba(255, 0, 110, 0.25) !important;
}

body.page-servicio .svc-hero-cta {
  background: var(--mk-accent) !important;
  color: var(--mk-white) !important;
}

body.page-servicio .svc-main-head h1 {
  font-family: var(--font-display) !important;
  font-weight: 800 !important;
  color: var(--mk-white) !important;
}

body.page-servicio .svc-lead {
  color: var(--mk-text-light) !important;
}

body.page-servicio .svc-lead strong {
  color: var(--mk-white) !important;
}

body.page-servicio .svc-trust-strip li {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
}

body.page-servicio .svc-trust-strip li span {
  color: var(--mk-accent) !important;
}

body.page-servicio .svc-card,
body.page-servicio .svc-problem-card,
body.page-servicio .svc-do-list li {
  background: var(--mk-white) !important;
  border: 1px solid var(--mk-border) !important;
}

body.page-servicio .svc-section h2 {
  color: var(--mk-accent) !important;
  border-bottom-color: rgba(255, 0, 110, 0.25) !important;
}

body.page-servicio .svc-card p,
body.page-servicio .svc-problem-card p,
body.page-servicio .svc-do-list span {
  color: var(--mk-muted) !important;
}

body.page-servicio .svc-highlight,
body.page-servicio .svc-problem-card h3,
body.page-servicio .svc-do-list strong {
  color: var(--mk-text) !important;
}

body.page-servicio .svc-cta-final {
  background: var(--mk-bg-dark) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

body.page-servicio .svc-btn-full,
body.page-servicio .svc-btn-primary {
  background: var(--mk-accent) !important;
  color: var(--mk-white) !important;
}

body.page-servicio a:not(.reporte-sidebar a):not(.svc-side-nav a):not(.svc-side-secondary) {
  color: var(--mk-accent) !important;
}

/* Footer */
body.page-inicio .site-footer,
body.page-reporte .site-footer,
body.page-servicio .site-footer,
body.page-contacto .site-footer,
body.page-pago-exito .site-footer,
body.page-legal .site-footer {
  background: linear-gradient(180deg, var(--mk-bg-dark) 0%, #152d4d 100%) !important;
  border-top-color: rgba(255, 255, 255, 0.08) !important;
  color: var(--mk-text-light) !important;
}

body.page-inicio .site-footer-line,
body.page-reporte .site-footer-line,
body.page-servicio .site-footer-line,
body.page-contacto .site-footer-line,
body.page-pago-exito .site-footer-line,
body.page-legal .site-footer-line {
  color: var(--mk-text-light) !important;
}

body.page-inicio .site-footer a,
body.page-reporte .site-footer a,
body.page-servicio .site-footer a,
body.page-contacto .site-footer a,
body.page-pago-exito .site-footer a,
body.page-legal .site-footer a {
  color: var(--mk-text-light) !important;
}

body.page-inicio .site-footer a:hover,
body.page-reporte .site-footer a:hover,
body.page-servicio .site-footer a:hover,
body.page-contacto .site-footer a:hover,
body.page-pago-exito .site-footer a:hover,
body.page-legal .site-footer a:hover {
  color: var(--mk-accent) !important;
}

body.page-inicio .site-footer .site-footer-brand-link,
body.page-reporte .site-footer .site-footer-brand-link,
body.page-servicio .site-footer .site-footer-brand-link,
body.page-contacto .site-footer .site-footer-brand-link,
body.page-pago-exito .site-footer .site-footer-brand-link,
body.page-legal .site-footer .site-footer-brand-link {
  color: var(--mk-white) !important;
}

body.page-inicio .site-footer .site-footer-brand-link:hover,
body.page-reporte .site-footer .site-footer-brand-link:hover,
body.page-servicio .site-footer .site-footer-brand-link:hover,
body.page-contacto .site-footer .site-footer-brand-link:hover,
body.page-pago-exito .site-footer .site-footer-brand-link:hover,
body.page-legal .site-footer .site-footer-brand-link:hover {
  color: var(--mk-accent) !important;
}

body.page-inicio .site-footer-brand-tag,
body.page-reporte .site-footer-brand-tag,
body.page-servicio .site-footer-brand-tag,
body.page-contacto .site-footer-brand-tag,
body.page-pago-exito .site-footer-brand-tag,
body.page-legal .site-footer-brand-tag {
  color: var(--mk-accent) !important;
}

body.page-inicio .site-footer-markus .site-footer-card a,
body.page-reporte .site-footer-markus .site-footer-card a,
body.page-servicio .site-footer-markus .site-footer-card a,
body.page-contacto .site-footer-markus .site-footer-card a,
body.page-pago-exito .site-footer-markus .site-footer-card a,
body.page-legal .site-footer-markus .site-footer-card a {
  color: rgba(255, 255, 255, 0.95) !important;
}

body.page-inicio .site-footer-markus .site-footer-card a:hover,
body.page-reporte .site-footer-markus .site-footer-card a:hover,
body.page-servicio .site-footer-markus .site-footer-card a:hover,
body.page-contacto .site-footer-markus .site-footer-card a:hover,
body.page-pago-exito .site-footer-markus .site-footer-card a:hover,
body.page-legal .site-footer-markus .site-footer-card a:hover {
  color: var(--mk-accent) !important;
}

body.page-inicio .site-footer-contact-list li::before,
body.page-reporte .site-footer-contact-list li::before,
body.page-servicio .site-footer-contact-list li::before,
body.page-contacto .site-footer-contact-list li::before,
body.page-pago-exito .site-footer-contact-list li::before,
body.page-legal .site-footer-contact-list li::before {
  background: var(--mk-accent) !important;
}

/* Reporte pie / vacío */
body.page-reporte .reporte-volver-foot {
  background: var(--mk-bg-alt) !important;
  border-top-color: var(--mk-border) !important;
}

body.page-reporte .reporte-volver-foot a {
  color: var(--mk-accent) !important;
}

body.page-reporte .reporte-empty-inner {
  background: var(--mk-white) !important;
  border: 1px solid var(--mk-border) !important;
}

body.page-reporte .reporte-empty-inner h2 {
  font-family: var(--font-display) !important;
  font-weight: 700 !important;
  color: var(--mk-primary) !important;
}

body.page-reporte .reporte-urgencia-lead {
  color: var(--mk-text) !important;
}

body.page-reporte .reporte-chip {
  background: var(--mk-bg-alt) !important;
  border-color: var(--mk-border) !important;
  color: var(--mk-text) !important;
}

body.page-reporte .reporte-desglose-title,
body.page-reporte .reporte-captura-title {
  color: var(--mk-primary) !important;
}

body.page-reporte .reporte-captura-form input,
body.page-reporte .reporte-captura-form textarea {
  background: var(--mk-white) !important;
  border: 1px solid var(--mk-border) !important;
  color: var(--mk-text) !important;
}

/* Sidebar enlaces */
body.page-inicio .reporte-site-links a,
body.page-reporte .reporte-site-links a {
  color: rgba(255, 255, 255, 0.85) !important;
}

body.page-inicio .reporte-site-links a:hover,
body.page-reporte .reporte-site-links a:hover {
  color: #ffb3d4 !important;
}

body.page-inicio a,
body.page-reporte a,
body.page-contacto a,
body.page-pago-exito a,
body.page-legal a {
  color: var(--mk-accent);
}

body.page-inicio .inicio-main a.btn-primary,
body.page-reporte .reporte-main a.btn-primary,
body.page-contacto a.btn-primary {
  color: var(--mk-white) !important;
}

/* Franja superior sidebar / header resultado */
body.page-inicio .reporte-sidebar::after,
body.page-reporte .reporte-sidebar::after,
body.page-reporte .site-header.site-header--navy::after,
body.page-servicio .reporte-sidebar::after {
  background: linear-gradient(90deg, transparent, var(--mk-accent), #ff66a8, var(--mk-accent), transparent) !important;
}

/* Header: enlaces como .header__menu del referente (texto oscuro, hover magenta) */
body.page-inicio .site-header-nav a,
body.page-reporte .site-header-nav a,
body.page-servicio .site-header-nav a,
body.page-contacto .site-header-nav a,
body.page-pago-exito .site-header-nav a,
body.page-legal .site-header-nav a {
  color: var(--mk-text) !important;
}

body.page-inicio .site-header-nav a:hover,
body.page-reporte .site-header-nav a:hover,
body.page-servicio .site-header-nav a:hover,
body.page-contacto .site-header-nav a:hover,
body.page-pago-exito .site-header-nav a:hover,
body.page-legal .site-header-nav a:hover {
  color: var(--mk-accent) !important;
}

/* Resultado: header azul — enlaces y logo claros (anula regla anterior en esta variante) */
body.page-reporte .site-header.site-header--on-dark .site-header-nav a {
  color: rgba(255, 255, 255, 0.88) !important;
}

body.page-reporte .site-header.site-header--on-dark .site-header-nav a:hover {
  color: #ff66a8 !important;
}

body.page-inicio .site-header .logo-title,
body.page-reporte .site-header .logo-title,
body.page-servicio .site-header .logo-title,
body.page-contacto .site-header .logo-title,
body.page-pago-exito .site-header .logo-title,
body.page-legal .site-header .logo-title,
body.page-inicio .site-header .logo-link,
body.page-reporte .site-header .logo-link,
body.page-servicio .site-header .logo-link,
body.page-contacto .site-header .logo-link,
body.page-pago-exito .site-header .logo-link,
body.page-legal .site-header .logo-link {
  color: var(--mk-primary) !important;
}

/* Justificado inicio: ver ui-global.css (última capa, sin cortar palabras) */
