/* =====================================================================
   CUSTODIA NACIONAL · REACTION GROUP PROTECTION
   Diseño de Alta Seguridad, Mando Operativo y Vanguardia Tecnológica
   Paleta: Obsidian #121214, Negro #1B1B1B, Oro #BBA359, Plata #C7CCCF
   Tipografía: Montserrat (con espaciado de letras tipo escudo militar)
   ===================================================================== */

:root {
  --bg-dark: #121214;
  --bg-surface: #18181b;
  --bg-card: #1d1d21;
  --bg-elevated: #242429;
  --bg-glass: rgba(24, 24, 27, 0.85);

  --gold-primary: #bba359;
  --gold-light: #d8c57e;
  --gold-dark: #8a7534;
  --gold-pale: #f2e7c4;
  --gold-muted: rgba(187, 163, 89, 0.15);
  --gold-border: rgba(187, 163, 89, 0.28);
  --gold-border-strong: rgba(187, 163, 89, 0.7);
  --gold-glow: 0 0 25px rgba(187, 163, 89, 0.25);
  --gold-gradient: linear-gradient(135deg, #f2e7c4 0%, #d8c57e 25%, #bba359 60%, #8a7534 100%);
  --gold-gradient-subtle: linear-gradient(180deg, rgba(187, 163, 89, 0.08) 0%, rgba(24, 24, 27, 0.95) 100%);

  --silver-text: #c7cccf;
  --silver-light: #e6ebed;
  --silver-dark: #8a9196;
  --white: #ffffff;

  --status-green: #10b981;
  --status-amber: #f59e0b;
  --status-red: #ef4444;

  --font-main: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-xl: 20px;
}

/* Modo Impresión / Modo Formal Claro */
body.light-theme {
  --bg-dark: #f8f9fa;
  --bg-surface: #ffffff;
  --bg-card: #f1f3f5;
  --bg-elevated: #e9ecef;
  --bg-glass: rgba(255, 255, 255, 0.92);
  --silver-text: #374151;
  --silver-light: #111827;
  --silver-dark: #6b7280;
  --white: #111827;
  --gold-border: rgba(138, 117, 52, 0.35);
  --gold-gradient-subtle: linear-gradient(180deg, rgba(187, 163, 89, 0.1) 0%, #ffffff 100%);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--silver-text);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  transition: background-color 0.4s ease, color 0.4s ease;
}

/* Línea de Oro que crece con el scroll (Efecto Adagio) */
#gold-scroll-line {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0%;
  background: var(--gold-gradient);
  box-shadow: 0 0 12px var(--gold-light);
  z-index: 1001;
  transition: width 0.1s linear;
}

/* Subtle Tactical Grid Overlay */
.tactical-grid-bg {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(rgba(187, 163, 89, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(187, 163, 89, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* Container & Layout */
.container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.text-gold {
  color: var(--gold-primary);
}

.text-gold-gradient {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-primary);
  background: var(--gold-muted);
  border: 1px solid var(--gold-border);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 60px;
}

.section-title {
  font-size: 2.25rem;
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: 0.08em;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--silver-dark);
  font-weight: 400;
  line-height: 1.7;
}

/* =====================================================================
   HEADER & TOPBAR DE MANDO
   ===================================================================== */
.top-command-bar {
  background: #0d0d0f;
  border-bottom: 1px solid rgba(187, 163, 89, 0.15);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--silver-dark);
  padding: 7px 0;
  position: relative;
  z-index: 1000;
}

.top-command-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.pulse-indicator {
  display: inline-block;
  width: 7px;
  height: 7px;
  background-color: var(--status-green);
  border-radius: 50%;
  margin-right: 6px;
  box-shadow: 0 0 8px var(--status-green);
  animation: pulseLight 2s infinite;
}

@keyframes pulseLight {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.top-command-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-command-link {
  color: var(--silver-text);
  text-decoration: none;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.top-command-link:hover {
  color: var(--gold-light);
}

/* Main Navigation */
.main-header {
  position: sticky;
  top: 0;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gold-border);
  z-index: 999;
  transition: var(--transition-smooth);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

.brand-logo-img {
  width: 48px;
  height: 56px;
  filter: drop-shadow(0 2px 8px rgba(187, 163, 89, 0.4));
  transition: var(--transition-smooth);
}

.brand-wrapper:hover .brand-logo-img {
  transform: scale(1.05);
}

.brand-text-col {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  color: var(--white);
  line-height: 1.1;
}

.brand-sub {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--gold-primary);
  margin-top: 3px;
}

/* Nav Menu Items */
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 22px;
}

.nav-item-link {
  color: var(--silver-text);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 4px;
  position: relative;
  transition: var(--transition-smooth);
}

.nav-item-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-primary);
  transition: var(--transition-smooth);
}

.nav-item-link:hover {
  color: var(--gold-light);
}

.nav-item-link:hover::after {
  width: 100%;
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-main);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
  outline: none;
}

.btn-gold {
  background: var(--gold-gradient);
  color: #0b0b0c;
  box-shadow: 0 4px 18px rgba(187, 163, 89, 0.35);
  font-weight: 800;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(216, 197, 126, 0.5);
  filter: brightness(1.08);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold-primary);
  border: 1px solid var(--gold-border-strong);
}

.btn-outline-gold:hover {
  background: var(--gold-muted);
  color: var(--gold-light);
  border-color: var(--gold-light);
  box-shadow: var(--gold-glow);
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.72rem;
}

.btn-icon-only {
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  color: var(--gold-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-icon-only:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
  background: var(--gold-muted);
}


/* =====================================================================
   HERO: LA PUERTA DEL MANDO
   ===================================================================== */
.hero-section {
  position: relative;
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  padding: 80px 0 60px;
  overflow: hidden;
  background: radial-gradient(circle at 65% 45%, rgba(187, 163, 89, 0.12) 0%, rgba(18, 18, 20, 0.98) 70%);
}

.hero-background-media {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.42;
  mask-image: radial-gradient(circle at center, black 40%, transparent 85%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 50%, transparent 100%);
}

.hero-background-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: contrast(1.15) brightness(0.9);
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 780px;
}

.hero-motto-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.25em;
  color: var(--gold-light);
  text-transform: uppercase;
  margin-bottom: 22px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--gold-border);
}

.hero-headline {
  font-size: 3.4rem;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}

.hero-headline-span {
  display: block;
}

.hero-description {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--silver-text);
  margin-bottom: 36px;
  max-width: 660px;
}

.hero-description strong {
  color: var(--white);
}

.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 48px;
}

/* Strategic Badges under Hero */
.hero-badges-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--silver-dark);
}

.badge-item strong {
  color: var(--white);
  font-weight: 700;
}

.badge-item svg {
  color: var(--gold-primary);
  flex-shrink: 0;
}

/* =====================================================================
   LIVE OPERATIONAL STATUS TICKER (TABLERO DE MANDO EN VIVO)
   ===================================================================== */
.live-ticker-band {
  background: #0f0f12;
  border-top: 1px solid var(--gold-border);
  border-bottom: 1px solid var(--gold-border);
  padding: 16px 0;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.7);
}

.ticker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  align-items: center;
}

.ticker-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 6px 12px;
  border-right: 1px solid rgba(187, 163, 89, 0.15);
}

.ticker-card:last-child {
  border-right: none;
}

.ticker-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--gold-muted);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  flex-shrink: 0;
}

.ticker-val {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  font-feature-settings: "tnum";
}

.ticker-lbl {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--silver-dark);
}

/* =====================================================================
   LEGAL CALLOUT: EL RIESGO DE CONTRATAR SIN AUTORIZACIÓN ($586,550)
   ===================================================================== */
.compliance-banner-section {
  padding: 70px 0;
  background: linear-gradient(180deg, var(--bg-dark) 0%, #151518 50%, var(--bg-dark) 100%);
}

.compliance-box {
  background: linear-gradient(135deg, rgba(29, 29, 33, 0.95) 0%, rgba(18, 18, 20, 0.98) 100%);
  border: 1px solid var(--gold-border);
  border-left: 5px solid var(--gold-primary);
  border-radius: var(--radius-md);
  padding: 36px 44px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.compliance-text h3 {
  font-size: 1.45rem;
  margin-bottom: 12px;
  color: var(--white);
}

.compliance-text p {
  font-size: 0.95rem;
  color: var(--silver-text);
  margin-bottom: 16px;
  line-height: 1.6;
}

.fine-highlight-tag {
  display: inline-block;
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.35);
  padding: 4px 10px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  border-radius: var(--radius-sm);
  margin-right: 8px;
}

.compliance-badges-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.comp-badge-card {
  background: rgba(18, 18, 20, 0.8);
  border: 1px solid rgba(187, 163, 89, 0.2);
  padding: 16px;
  border-radius: var(--radius-sm);
  text-align: center;
  transition: var(--transition-smooth);
}

.comp-badge-card:hover {
  border-color: var(--gold-primary);
  transform: translateY(-2px);
}

.comp-badge-num {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--gold-light);
  display: block;
  margin-bottom: 4px;
}

.comp-badge-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--silver-dark);
}

/* =====================================================================
   SECCIÓN ARGOS: LA INTELIGENCIA OPERATIVA DE CUSTODIA
   ===================================================================== */
.argos-section {
  padding: 100px 0;
  position: relative;
  background: radial-gradient(circle at 50% 30%, rgba(187, 163, 89, 0.08) 0%, transparent 60%);
}

.argos-dashboard-window {
  background: #111114;
  border: 1px solid var(--gold-border-strong);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), var(--gold-glow);
  overflow: hidden;
}

.window-chrome {
  background: #18181c;
  padding: 14px 22px;
  border-bottom: 1px solid rgba(187, 163, 89, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.window-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.window-title {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--gold-light);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

.argos-tabs-nav {
  display: flex;
  background: #141417;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow-x: auto;
}

.argos-tab-btn {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--silver-dark);
  font-family: var(--font-main);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 22px;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-smooth);
}

.argos-tab-btn:hover {
  color: var(--gold-light);
}

.argos-tab-btn.active {
  color: var(--gold-primary);
  border-bottom-color: var(--gold-primary);
  background: rgba(187, 163, 89, 0.05);
}

.argos-tab-content {
  display: none;
  padding: 32px;
}

.argos-tab-content.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Tab 1: Parte de Turno */
.parte-turno-container {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 30px;
}

.parte-body-card {
  background: #18181c;
  border: 1px solid rgba(187, 163, 89, 0.18);
  border-radius: var(--radius-md);
  padding: 26px;
}

.parte-header-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 20px;
}

.parte-log-entry {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.parte-timestamp {
  font-family: monospace;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold-light);
  min-width: 65px;
}

.parte-log-text {
  font-size: 0.9rem;
  color: var(--silver-text);
  line-height: 1.5;
}

.parte-log-text strong {
  color: var(--white);
}

.parte-stats-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stat-metric-box {
  background: #18181c;
  border: 1px solid rgba(187, 163, 89, 0.18);
  border-radius: var(--radius-md);
  padding: 18px;
}

.stat-metric-box .metric-num {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--gold-primary);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-metric-box .metric-lbl {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--silver-dark);
}

/* Tab 2: Fallas BiT */
.bit-faults-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.bit-fault-card {
  background: #18181c;
  border: 1px solid rgba(187, 163, 89, 0.2);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.bit-fault-card:hover {
  border-color: var(--gold-primary);
  transform: translateY(-3px);
}

.bit-img-wrapper {
  height: 160px;
  position: relative;
  background: #000;
}

.bit-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.bit-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid var(--gold-primary);
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--gold-light);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
}

.bit-details {
  padding: 16px;
}

.bit-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 6px;
}

.bit-meta {
  font-size: 0.75rem;
  color: var(--silver-dark);
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
}

/* =====================================================================
   VERIFICADOR OFICIAL DE GUARDIA (POR CÓDIGO QR / NÚMERO DE CREDENCIAL)
   ===================================================================== */
.verifier-section {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg-dark) 0%, #151518 100%);
  position: relative;
}

.verifier-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--gold-border-strong);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
}

.verifier-input-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.search-input-group {
  display: flex;
  gap: 10px;
}

.search-input-group input {
  flex: 1;
  background: #111114;
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  color: var(--white);
  font-family: var(--font-main);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-smooth);
}

.search-input-group input:focus {
  border-color: var(--gold-primary);
  box-shadow: var(--gold-glow);
}

.quick-demo-pills {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.demo-pill {
  background: var(--bg-surface);
  border: 1px solid var(--gold-border);
  color: var(--silver-text);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.demo-pill:hover, .demo-pill.active {
  background: var(--gold-muted);
  border-color: var(--gold-primary);
  color: var(--gold-light);
}

/* Guard ID Credential Card */
.guard-badge-card {
  background: linear-gradient(135deg, #1b1b20 0%, #121215 100%);
  border: 2px solid var(--gold-primary);
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.guard-badge-card::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(187, 163, 89, 0.2) 0%, transparent 70%);
}

.guard-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(187, 163, 89, 0.3);
  padding-bottom: 12px;
  margin-bottom: 18px;
}

.guard-credential-badge {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--gold-light);
  text-transform: uppercase;
}

.guard-status-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--status-green);
  color: #34d399;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.08em;
}

.guard-card-body {
  display: flex;
  gap: 20px;
  align-items: center;
}

.guard-avatar {
  width: 90px;
  height: 110px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gold-primary);
  object-fit: cover;
  background: #242429;
}

.guard-info-fields {
  flex: 1;
}

.guard-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 4px;
}

.guard-rank {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold-primary);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.guard-data-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  font-size: 0.74rem;
}

.guard-data-item .label {
  color: var(--silver-dark);
  display: block;
}

.guard-data-item .value {
  color: var(--silver-light);
  font-weight: 600;
}

/* =====================================================================
   COTIZADOR EN 1 MINUTO (INTERACTIVO CON SALIDA A WHATSAPP)
   ===================================================================== */
.calculator-section {
  padding: 100px 0;
  background: radial-gradient(circle at 80% 50%, rgba(187, 163, 89, 0.06) 0%, transparent 60%);
}

.calculator-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border-strong);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 40px;
}

.calc-step {
  margin-bottom: 24px;
}

.calc-step-title {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--gold-light);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.step-num-badge {
  width: 22px;
  height: 22px;
  background: var(--gold-primary);
  color: #0b0b0c;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 900;
}

.options-pill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
}

.calc-option-btn {
  background: var(--bg-surface);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  padding: 12px 10px;
  color: var(--silver-text);
  font-family: var(--font-main);
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.calc-option-btn:hover {
  border-color: var(--gold-light);
  color: var(--white);
}

.calc-option-btn.selected {
  background: rgba(187, 163, 89, 0.18);
  border-color: var(--gold-primary);
  color: var(--gold-light);
  box-shadow: 0 0 12px rgba(187, 163, 89, 0.25);
}

.slider-container {
  padding: 8px 0;
}

.range-slider {
  width: 100%;
  accent-color: var(--gold-primary);
  height: 6px;
  border-radius: 3px;
  background: #242429;
  outline: none;
  cursor: pointer;
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--silver-dark);
}

/* Calculator Summary Box */
.calc-summary-panel {
  background: #131316;
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.summary-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 12px;
  margin-bottom: 20px;
}

.summary-items-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
}

.summary-item .label {
  color: var(--silver-dark);
}

.summary-item .val {
  color: var(--silver-light);
  font-weight: 600;
}

.summary-price-box {
  background: rgba(187, 163, 89, 0.08);
  border: 1px solid var(--gold-primary);
  border-radius: var(--radius-sm);
  padding: 18px;
  text-align: center;
  margin-bottom: 20px;
}

.price-range-title {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 4px;
}

.price-range-val {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
}

.price-range-note {
  font-size: 0.68rem;
  color: var(--silver-dark);
  margin-top: 6px;
}

/* =====================================================================
   CATÁLOGO DE SERVICIOS ESPECIALIZADOS
   ===================================================================== */
.services-section {
  padding: 100px 0;
  background: var(--bg-dark);
}

.services-filter-bar {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  color: var(--silver-text);
  font-family: var(--font-main);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--gold-primary);
  color: #0b0b0c;
  border-color: var(--gold-primary);
  box-shadow: 0 4px 14px rgba(187, 163, 89, 0.35);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 28px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  border-color: var(--gold-primary);
  transform: translateY(-4px);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.6), 0 0 20px rgba(187, 163, 89, 0.15);
}

.service-icon-box {
  width: 48px;
  height: 48px;
  background: var(--gold-muted);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  margin-bottom: 20px;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}

.service-desc {
  font-size: 0.88rem;
  color: var(--silver-text);
  margin-bottom: 20px;
  line-height: 1.6;
}

.service-case-study {
  background: rgba(18, 18, 20, 0.7);
  border-left: 3px solid var(--gold-primary);
  padding: 12px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 24px;
}

.case-study-label {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-primary);
  display: block;
  margin-bottom: 2px;
}

.case-study-metric {
  font-size: 0.82rem;
  color: var(--silver-light);
  font-weight: 600;
}

/* =====================================================================
   "EL GUARDIA DE CUSTODIA NACIONAL" (ESTÁNDAR DE HONOR & FORMACIÓN)
   ===================================================================== */
.guard-standard-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #151518 0%, var(--bg-dark) 100%);
}

.standard-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.standard-step-card {
  background: var(--bg-surface);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  position: relative;
  transition: var(--transition-smooth);
}

.standard-step-card:hover {
  border-color: var(--gold-primary);
  transform: translateY(-3px);
}

.step-watermark-num {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(187, 163, 89, 0.12);
  line-height: 1;
}

.standard-step-card h4 {
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
}

.standard-step-card p {
  font-size: 0.82rem;
  color: var(--silver-dark);
  line-height: 1.55;
  position: relative;
  z-index: 2;
}

/* =====================================================================
   TIENDA & EQUIPAMIENTO / BOLSA DE TRABAJO
   ===================================================================== */
.store-jobs-section {
  padding: 100px 0;
}

.dual-columns-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.action-card-box {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.action-card-box h3 {
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 12px;
}

.action-card-box p {
  font-size: 0.9rem;
  color: var(--silver-text);
  margin-bottom: 24px;
}

.package-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.package-item-row:last-child {
  border-bottom: none;
}

.package-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--silver-light);
}

.package-badge {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--gold-light);
  background: var(--gold-muted);
  border: 1px solid var(--gold-border);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

/* =====================================================================
   MODAL DE DIAGNÓSTICO ESTRATÉGICO PARA COMANDANCIA
   ===================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 7, 0.88);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}

.modal-overlay.active {
  display: flex;
}

.modal-dialog {
  background: #141417;
  border: 2px solid var(--gold-primary);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 860px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.9), var(--gold-glow);
  position: relative;
}

.modal-header {
  padding: 24px 30px;
  border-bottom: 1px solid rgba(187, 163, 89, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-body {
  padding: 30px;
}

.close-modal-btn {
  background: transparent;
  border: none;
  color: var(--silver-dark);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.close-modal-btn:hover {
  color: var(--gold-light);
}

.alert-card-warning {
  background: rgba(245, 158, 11, 0.1);
  border-left: 4px solid var(--status-amber);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 24px;
}

.alert-card-warning h4 {
  color: #fbbf24;
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.alert-card-warning p {
  font-size: 0.85rem;
  color: var(--silver-text);
  line-height: 1.5;
}

.table-custom {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  font-size: 0.82rem;
}

.table-custom th {
  background: #1c1c21;
  color: var(--gold-light);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid var(--gold-border);
}

.table-custom td {
  padding: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--silver-text);
}

/* =====================================================================
   FOOTER INSTITUCIONAL
   ===================================================================== */
.site-footer {
  background: #09090b;
  border-top: 1px solid var(--gold-border);
  padding: 70px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--gold-light);
  margin-bottom: 20px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-list a {
  color: var(--silver-dark);
  text-decoration: none;
  font-size: 0.82rem;
  transition: var(--transition-smooth);
}

.footer-links-list a:hover {
  color: var(--gold-light);
  padding-left: 4px;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  color: var(--silver-dark);
  flex-wrap: wrap;
  gap: 12px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .hero-headline { font-size: 2.5rem; }
  .compliance-box { grid-template-columns: 1fr; }
  .parte-turno-container { grid-template-columns: 1fr; }
  .verifier-wrapper { grid-template-columns: 1fr; }
  .calculator-card { grid-template-columns: 1fr; }
  .dual-columns-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-menu { display: none; }
  .hero-section { min-height: auto; padding: 50px 0; }
  .hero-headline { font-size: 2rem; }
  .footer-grid { grid-template-columns: 1fr; }
}
