/* ==========================================================================
   FORTRESS - DESIGN SYSTEM & TACTICAL STYLESHEET
   Paleta: Deep Midnight Navy (#040813, #070e1c, #0c182c) & Shield Gold (#fdb813, #ffc933)
   Homologado na Polícia Federal - Portaria 18045/ABR/2023 - MJ/DG/PF
   ========================================================================== */

:root {
  --bg-darkest: #030712;
  --bg-dark: #060d1b;
  --bg-surface: #0a162b;
  --bg-surface-elevated: #10213d;
  --bg-card: #0c1a33;
  --bg-card-hover: #112447;
  
  --gold-primary: #fdb813;
  --gold-hover: #ffc933;
  --gold-dark: #c98e05;
  --gold-glow: rgba(253, 184, 19, 0.45);
  --gold-subtle: rgba(253, 184, 19, 0.1);
  --gold-border: rgba(253, 184, 19, 0.3);
  
  --cyan-hud: #00e5ff;
  --cyan-glow: rgba(0, 229, 255, 0.35);
  --green-online: #10b981;
  --green-glow: rgba(16, 185, 129, 0.4);
  --red-laser: #ef4444;
  --red-glow: rgba(239, 68, 68, 0.5);
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --border-subtle: #16294d;
  --border-active: #2b497e;
  
  --font-heading: 'Chakra Petch', 'Montserrat', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-tactical: 6px;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-gold: 0 0 30px rgba(253, 184, 19, 0.3);
  --shadow-card: 0 15px 35px -10px rgba(0, 0, 0, 0.85);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-darkest);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Background Cyber Grid Pattern */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(253, 184, 19, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(253, 184, 19, 0.025) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* Interactive Canvas Background in Hero */
#tactical-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.65;
}

/* Radial Glow Backdrops */
.tactical-glow-top {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  max-width: 100vw;
  height: 550px;
  background: radial-gradient(circle, rgba(253, 184, 19, 0.12) 0%, rgba(10, 22, 43, 0.5) 45%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: 0.5px;
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
}

p {
  color: var(--text-muted);
}

a {
  color: var(--gold-primary);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--gold-hover);
}

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   TOPBAR TACTICAL TICKER & MARQUEE
   ========================================================================== */
.tactical-topbar {
  background-color: #02050b;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.8125rem;
  padding: 0.45rem 0;
  position: relative;
  z-index: 101;
}

.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-muted);
}

.topbar-item i {
  color: var(--gold-primary);
  font-size: 0.85rem;
}

.topbar-item a {
  color: var(--text-muted);
}

.topbar-item a:hover {
  color: var(--gold-primary);
}

.topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(253, 184, 19, 0.12);
  color: var(--gold-primary);
  padding: 0.2rem 0.65rem;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid rgba(253, 184, 19, 0.35);
  box-shadow: 0 0 10px rgba(253, 184, 19, 0.15);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--green-online);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--green-online);
  animation: pulse-green 1.8s infinite;
}

@keyframes pulse-green {
  0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.8); }
  70% { transform: scale(1.15); box-shadow: 0 0 0 7px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Dynamic Live Marquee Ticker */
.tactical-ticker-bar {
  background: linear-gradient(90deg, #091428 0%, #030712 50%, #091428 100%);
  border-bottom: 1px solid var(--gold-border);
  overflow: hidden;
  position: relative;
  height: 38px;
  display: flex;
  align-items: center;
  z-index: 100;
}

.ticker-label {
  background: var(--gold-primary);
  color: #040813;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.78rem;
  padding: 0 1rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 2;
  box-shadow: 4px 0 15px rgba(0, 0, 0, 0.5);
  flex-shrink: 0;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: marquee 35s linear infinite;
  white-space: nowrap;
}

.ticker-track:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0 2rem;
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 600;
  color: #e2e8f0;
}

.ticker-item strong {
  color: var(--gold-primary);
}

.ticker-item .badge-online {
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
  font-size: 0.72rem;
  border: 1px solid #10b981;
}

.ticker-item .badge-pf {
  background: rgba(253, 184, 19, 0.15);
  color: var(--gold-primary);
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
  font-size: 0.72rem;
  border: 1px solid var(--gold-primary);
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(6, 13, 27, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 99;
  transition: var(--transition-smooth);
}

.site-header.scrolled {
  background: rgba(3, 7, 18, 0.98);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.75);
  border-bottom-color: var(--gold-border);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 0;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-logo-container {
  position: relative;
  width: 48px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.8));
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

.nav-brand:hover .brand-logo-img {
  transform: scale(1.08) rotate(-2deg);
  filter: drop-shadow(0 0 12px var(--gold-glow));
}

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

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  line-height: 1;
}

.brand-title span {
  color: var(--gold-primary);
}

.brand-subtitle {
  font-size: 0.68rem;
  letter-spacing: 1.8px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 3px;
  font-weight: 600;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.4rem 0.2rem;
  position: relative;
  transition: var(--transition-fast);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-primary), var(--cyan-hud));
  transition: width var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-toggle {
  display: none;
  background: rgba(253, 184, 19, 0.08);
  border: 1.5px solid var(--gold-primary);
  color: var(--gold-primary);
  font-size: 1.35rem;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  box-shadow: 0 0 12px rgba(253, 184, 19, 0.2);
  flex-shrink: 0;
}

.mobile-toggle:hover, .mobile-toggle:focus-visible {
  background: var(--gold-primary);
  color: #040813;
  box-shadow: 0 0 18px var(--gold-glow);
  outline: none;
}

/* ==========================================================================
   BUTTONS & TACTICAL CTA
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.6rem;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.75px;
  border-radius: var(--radius-tactical);
  cursor: pointer;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  border: none;
  text-decoration: none;
}

/* Laser sweep shimmer on hover */
.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: left 0.6s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-gold {
  background: linear-gradient(135deg, #fdb813 0%, #e69d00 100%);
  color: #040813;
  box-shadow: 0 4px 18px rgba(253, 184, 19, 0.4);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #ffc933 0%, #fdb813 100%);
  box-shadow: 0 8px 30px rgba(253, 184, 19, 0.65);
  transform: translateY(-2px);
  color: #000;
}

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

.btn-outline-gold:hover {
  background: var(--gold-primary);
  color: #040813;
  box-shadow: 0 0 25px rgba(253, 184, 19, 0.45);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--bg-surface-elevated);
  color: #ffffff;
  border: 1px solid var(--border-active);
}

.btn-dark:hover {
  background: #172d54;
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: #20ba59;
  color: #ffffff;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.8125rem;
}

.btn-lg {
  padding: 1rem 2.2rem;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   HERO SECTION & DYNAMIC TYPEWRITER
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 5rem 0 5.5rem;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(6, 13, 27, 0.85) 0%, rgba(3, 7, 18, 1) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(10, 22, 43, 0.9);
  border: 1px solid var(--gold-border);
  border-left: 3px solid var(--gold-primary);
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
}

.hero-badge-wrap span {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--gold-primary);
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(2.2rem, 4.2vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}

.hero-title .highlight {
  color: var(--gold-primary);
  text-shadow: 0 0 30px rgba(253, 184, 19, 0.45);
}

/* Typewriter Wrapper */
.typewriter-box {
  min-height: 2.4em;
  display: flex;
  align-items: center;
  margin-bottom: 1.25rem;
}

.typewriter-text {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: var(--cyan-hud);
  letter-spacing: 1px;
  text-transform: uppercase;
  text-shadow: 0 0 15px var(--cyan-glow);
}

.typewriter-cursor {
  display: inline-block;
  width: 3px;
  height: 1.2em;
  background: var(--gold-primary);
  margin-left: 5px;
  animation: blink 0.8s infinite;
  box-shadow: 0 0 8px var(--gold-primary);
  vertical-align: middle;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #cbd5e1;
  margin-bottom: 2.25rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

/* Hero Stats Counter Grid */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.stat-item {
  position: relative;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--gold-primary);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.35;
}

/* ==========================================================================
   HERO VISUAL / 3D TILT TACTICAL CARD
   ========================================================================== */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tactical-card-wrapper {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: linear-gradient(145deg, rgba(16, 33, 61, 0.8) 0%, rgba(6, 13, 27, 0.98) 100%);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 35px rgba(253, 184, 19, 0.18);
  backdrop-filter: blur(14px);
  text-align: center;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Rotating Conic Glow Border Effect */
.glow-card {
  position: relative;
}

.glow-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--gold-primary), transparent 60%, var(--cyan-hud));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Tactical Corner Markers */
.tactical-card-wrapper::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 10px;
  width: 22px;
  height: 22px;
  border-top: 2px solid var(--gold-primary);
  border-left: 2px solid var(--gold-primary);
}

.corner-br {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 22px;
  height: 22px;
  border-bottom: 2px solid var(--gold-primary);
  border-right: 2px solid var(--gold-primary);
}

/* ==========================================================================
   VIGILANTE HERO INTERACTIVE CARD
   ========================================================================== */
.hero-vigilante-wrapper {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: linear-gradient(145deg, rgba(16, 33, 61, 0.85) 0%, rgba(6, 13, 27, 0.98) 100%);
  border: 2px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 35px rgba(253, 184, 19, 0.2);
  backdrop-filter: blur(14px);
  text-align: center;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vigilante-photo-box {
  position: relative;
  width: 100%;
  height: 380px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-active);
  background: #02050b;
}

.vigilante-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: contrast(105%) brightness(95%);
  transition: transform 0.5s ease;
}

.hero-vigilante-wrapper:hover .vigilante-photo-img {
  transform: scale(1.04);
}

/* Laser Scanner Bar traversing down the vigilante */
.laser-scan-bar {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--cyan-hud), var(--gold-primary), transparent);
  box-shadow: 0 0 15px var(--cyan-hud), 0 0 25px var(--gold-primary);
  top: 0;
  animation: laserScan 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 5;
}

@keyframes laserScan {
  0% { top: 0%; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { top: 98%; opacity: 0; }
}

/* Stamped Fortress Shield Badge on Corner */
.fortress-corner-stamp {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 48px;
  height: 56px;
  background: rgba(4, 8, 19, 0.85);
  border: 1.5px solid var(--gold-primary);
  border-radius: 6px;
  padding: 4px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fortress-corner-stamp img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Floating Interactive Tactical Pins on the Vigilante */
.tactical-pin {
  position: absolute;
  z-index: 10;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.pin-vest {
  top: 38%;
  left: 18%;
}

.pin-weapon {
  bottom: 22%;
  right: 18%;
}

.pin-cnv {
  top: 18%;
  left: 14%;
}

.pin-pulse {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold-primary);
  box-shadow: 0 0 10px var(--gold-primary);
  animation: pulse-pin 1.6s infinite;
}

@keyframes pulse-pin {
  0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(253, 184, 19, 0.8); }
  70% { transform: scale(1.2); box-shadow: 0 0 0 8px rgba(253, 184, 19, 0); }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(253, 184, 19, 0); }
}

.pin-tag {
  background: rgba(3, 7, 18, 0.9);
  color: #ffffff;
  border: 1px solid var(--border-active);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
  opacity: 0.9;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

.tactical-pin:hover .pin-tag {
  opacity: 1;
  border-color: var(--gold-primary);
  color: var(--gold-primary);
}

/* HUD Overlay on bottom of photo */
.vigilante-hud-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(0deg, rgba(3, 7, 18, 0.95) 0%, rgba(3, 7, 18, 0.6) 60%, transparent 100%);
  padding: 1.25rem 1rem 0.75rem;
  z-index: 6;
  text-align: left;
}

.operator-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid #10b981;
  color: #10b981;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.72rem;
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.operator-title {
  font-size: 1.15rem;
  color: #ffffff;
  margin: 0;
  line-height: 1.2;
}

.operator-sub {
  font-size: 0.78rem;
  color: var(--gold-primary);
  font-weight: 600;
}

.tactical-hud-meta {
  border-top: 1px dashed var(--border-active);
  padding-top: 1.25rem;
  margin-top: 1rem;
}

.hud-title {
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.hud-reg {
  font-size: 0.8rem;
  color: var(--gold-primary);
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
}

.hud-badges {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.hud-pill {
  font-size: 0.72rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  color: #cbd5e1;
}

/* ==========================================================================
   ACCREDITATION TRUST BAR
   ========================================================================== */
.trust-bar {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.6rem 0;
  position: relative;
  z-index: 2;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.trust-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: rgba(253, 184, 19, 0.12);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  font-size: 1.4rem;
  flex-shrink: 0;
}

.trust-text h4 {
  font-size: 0.9375rem;
  margin-bottom: 0.15rem;
}

.trust-text p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.35;
}

/* ==========================================================================
   SECTION COMMON STYLES
   ========================================================================== */
.section {
  padding: 5.5rem 0;
  position: relative;
  z-index: 2;
}

.section-darker {
  background-color: var(--bg-darkest);
}

.section-surface {
  background-color: var(--bg-dark);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold-primary);
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   COURSES CATALOG & LIVE SEARCH & FILTERS
   ========================================================================== */
.courses-search-wrap {
  max-width: 650px;
  margin: 0 auto 2rem;
  position: relative;
}

.search-input-box {
  width: 100%;
  background: #091529;
  border: 1.5px solid var(--border-active);
  color: #ffffff;
  padding: 0.95rem 1.25rem 0.95rem 3.2rem;
  border-radius: 30px;
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: var(--transition-fast);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.search-input-box:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 20px rgba(253, 184, 19, 0.35);
  background: #0c1b35;
}

.search-icon-inside {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold-primary);
  font-size: 1.15rem;
}

.courses-filter-bar {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.filter-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.filter-btn:hover, .filter-btn.active {
  background: var(--gold-primary);
  color: #040813;
  border-color: var(--gold-primary);
  box-shadow: 0 0 16px rgba(253, 184, 19, 0.35);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.course-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.course-card:hover {
  border-color: var(--gold-primary);
  transform: translateY(-8px);
  box-shadow: 0 25px 45px -10px rgba(0, 0, 0, 0.9), 0 0 30px rgba(253, 184, 19, 0.2);
}

/* Golden top border highlight on hover */
.course-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.course-card:hover::before {
  opacity: 1;
}

.course-card-top {
  padding: 1.75rem 1.75rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.course-badge-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
  gap: 0.5rem;
}

.course-badge {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  background: rgba(253, 184, 19, 0.12);
  color: var(--gold-primary);
  border: 1px solid var(--gold-border);
}

.course-badge.badge-ead {
  background: rgba(0, 229, 255, 0.15);
  color: var(--cyan-hud);
  border-color: var(--cyan-hud);
  box-shadow: 0 0 10px var(--cyan-glow);
}

.course-badge.badge-tiro {
  background: rgba(239, 68, 68, 0.15);
  color: #ff6b6b;
  border-color: #ff6b6b;
}

.course-hours {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  color: #cbd5e1;
  font-weight: 600;
}

.course-hours i {
  color: var(--gold-primary);
}

.course-code-tag {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--gold-primary);
  letter-spacing: 1px;
}

.course-title {
  font-size: 1.3rem;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.course-tagline {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.course-card-body {
  padding: 1.5rem 1.75rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.course-highlights-list {
  margin-bottom: 1.5rem;
}

.course-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: #cbd5e1;
  margin-bottom: 0.55rem;
}

.course-highlight-item i {
  color: var(--gold-primary);
  font-size: 0.8rem;
  margin-top: 4px;
  flex-shrink: 0;
}

.course-card-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

/* ==========================================================================
   INTERACTIVE SHOOTING RANGE (ESTANDE VIRTUAL INTERATIVO)
   ========================================================================== */
.virtual-range-section {
  background: linear-gradient(180deg, #070e1c 0%, #03060c 100%);
  border-top: 1px solid var(--gold-border);
  border-bottom: 1px solid var(--gold-border);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.virtual-range-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 3.5rem;
}

.target-wrapper {
  position: relative;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
  background: radial-gradient(circle, #0e1d38 0%, #050a14 75%);
  border: 2px solid var(--gold-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: crosshair;
  overflow: hidden;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.9), inset 0 0 40px rgba(253, 184, 19, 0.15);
  user-select: none;
}

/* Radar Sweep Line in Target */
.target-wrapper::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50%;
  height: 2px;
  background: linear-gradient(90deg, rgba(0, 229, 255, 0.8), transparent);
  transform-origin: 0 0;
  animation: radarSweep 4s linear infinite;
  pointer-events: none;
}

@keyframes radarSweep {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Target Concentric Rings */
.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(253, 184, 19, 0.4);
  pointer-events: none;
}

.ring-1 { width: 85%; height: 85%; }
.ring-2 { width: 68%; height: 68%; border-style: solid; border-color: rgba(253, 184, 19, 0.5); }
.ring-3 { width: 50%; height: 50%; }
.ring-4 { width: 32%; height: 32%; border-style: solid; border-color: rgba(253, 184, 19, 0.7); }
.bullseye {
  position: absolute;
  width: 16%;
  height: 16%;
  background: radial-gradient(circle, #ef4444 0%, #991b1b 100%);
  border-radius: 50%;
  box-shadow: 0 0 20px var(--red-glow);
  pointer-events: none;
}

/* Target Crosshairs */
.target-cross-h {
  position: absolute;
  width: 100%;
  height: 1px;
  background: rgba(0, 229, 255, 0.4);
  pointer-events: none;
}
.target-cross-v {
  position: absolute;
  width: 1px;
  height: 100%;
  background: rgba(0, 229, 255, 0.4);
  pointer-events: none;
}

/* Dynamic Bullet Hole on Click */
.bullet-hole {
  position: absolute;
  width: 16px;
  height: 16px;
  background: #111;
  border: 2px solid #555;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: inset 0 0 6px #000, 0 0 8px rgba(253, 184, 19, 0.6);
  pointer-events: none;
  animation: popBullet 0.15s ease-out;
}

@keyframes popBullet {
  0% { transform: translate(-50%, -50%) scale(2); opacity: 0.8; }
  100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

.shot-flash {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.3);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.08s ease;
}

/* Range Score HUD */
.range-hud-panel {
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  box-shadow: var(--shadow-card);
}

.range-score-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
  text-align: center;
}

.score-box {
  background: rgba(3, 7, 18, 0.7);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
}

.score-val {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gold-primary);
  line-height: 1;
}

.score-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 4px;
}

/* ==========================================================================
   SIMULADOR DE MATRÍCULA TÁTICO
   ========================================================================== */
.simulator-box {
  background: linear-gradient(145deg, #0d1b32 0%, #060d1b 100%);
  border: 2px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 35px rgba(253, 184, 19, 0.18);
  position: relative;
  overflow: hidden;
}

.simulator-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #fdb813, #00e5ff, #fdb813);
}

.sim-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.form-control, .form-select {
  width: 100%;
  background: var(--bg-darkest);
  border: 1.5px solid var(--border-active);
  color: #ffffff;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-fast);
  outline: none;
}

.form-control:focus, .form-select:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 16px rgba(253, 184, 19, 0.35);
  background: #09152b;
}

.form-select option {
  background-color: #0c182c;
  color: #ffffff;
}

.sim-preview-box {
  background: rgba(3, 7, 18, 0.85);
  border: 1px dashed var(--border-active);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.sim-preview-text {
  font-size: 0.875rem;
  color: #cbd5e1;
}

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

/* ==========================================================================
   DIFFERENTIALS (POR QUE A FORTRESS?)
   ========================================================================== */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.diff-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.2rem 1.8rem;
  position: relative;
  transition: var(--transition-smooth);
  overflow: hidden;
}

.diff-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.diff-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-border);
  box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.7), 0 0 20px rgba(253, 184, 19, 0.1);
}

.diff-card:hover::before {
  opacity: 1;
}

.diff-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(253, 184, 19, 0.15) 0%, rgba(12, 24, 44, 0.8) 100%);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  font-size: 1.6rem;
  margin-bottom: 1.4rem;
  transition: var(--transition-fast);
}

.diff-card:hover .diff-icon {
  background: var(--gold-primary);
  color: #040813;
  box-shadow: 0 0 18px var(--gold-glow);
}

.diff-title {
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
}

.diff-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   TESTIMONIALS & FAQ
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: var(--transition-smooth);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-border);
  box-shadow: var(--shadow-card);
}

.test-quote {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #cbd5e1;
  font-style: italic;
  margin-bottom: 1.75rem;
}

.test-stars {
  color: var(--gold-primary);
  font-size: 0.85rem;
  margin-bottom: 1rem;
  display: flex;
  gap: 0.25rem;
}

.test-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.2rem;
}

.test-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  border: 1.5px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--gold-primary);
}

.test-info h4 {
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.test-info p {
  font-size: 0.78rem;
  color: var(--gold-primary);
  font-weight: 500;
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-item.active {
  border-color: var(--gold-border);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.4rem 1.6rem;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
}

.faq-question i {
  color: var(--gold-primary);
  transition: transform var(--transition-smooth);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  background: rgba(3, 7, 18, 0.5);
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.6rem 1.4rem;
}

.faq-answer p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #cbd5e1;
}

/* ==========================================================================
   LOCATION & CONTACT
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-channels-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 2rem 0;
}

.contact-channel-item {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
}

.contact-icon-box {
  width: 46px;
  height: 46px;
  background: rgba(253, 184, 19, 0.1);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-channel-detail h4 {
  font-size: 0.9375rem;
  margin-bottom: 0.25rem;
  color: #ffffff;
}

.contact-channel-detail p, .contact-channel-detail a {
  font-size: 0.9375rem;
  color: #cbd5e1;
}

.contact-channel-detail a:hover {
  color: var(--gold-primary);
}

.map-wrapper {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-active);
  height: 100%;
  min-height: 380px;
  background: var(--bg-surface);
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  filter: invert(90%) hue-rotate(180deg) contrast(110%);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: #02050b;
  border-top: 2px solid var(--gold-border);
  padding: 4.5rem 0 2rem;
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 1.25rem 0 1.5rem;
}

.footer-compliance-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(253, 184, 19, 0.08);
  border: 1px solid var(--gold-border);
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  font-size: 0.75rem;
  color: var(--gold-primary);
  font-weight: 600;
}

.footer-heading {
  font-size: 1.1rem;
  margin-bottom: 1.4rem;
  color: #ffffff;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--gold-primary);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--gold-primary);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--text-dim);
}

.footer-credits {
  font-size: 0.8125rem;
  color: var(--text-dim);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.credits-link {
  color: var(--gold-primary);
  text-decoration: none;
  font-weight: 700;
  transition: var(--transition-fast);
  letter-spacing: 0.5px;
}

.credits-link:hover {
  color: #ffffff;
  text-decoration: underline;
  text-shadow: 0 0 10px var(--gold-glow);
}

/* ==========================================================================
   FLOATING WHATSAPP & ACTIONS
   ========================================================================== */
.floating-whatsapp-wrap {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
}

.floating-whatsapp-btn {
  width: 62px;
  height: 62px;
  background: #25d366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  text-decoration: none;
}

.floating-whatsapp-btn:hover {
  transform: scale(1.12);
  color: #ffffff;
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.75);
}

.floating-pulse {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.9); opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}

.whatsapp-tooltip {
  position: absolute;
  right: 75px;
  top: 50%;
  transform: translateY(-50%);
  background: #09152b;
  color: #ffffff;
  border: 1px solid var(--border-active);
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}

.whatsapp-tooltip::after {
  content: "";
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 6px 0 6px 6px;
  border-style: solid;
  border-color: transparent transparent transparent #09152b;
}

/* Subpage Hero */
.subpage-hero {
  padding: 4.5rem 0 3.5rem;
  background: linear-gradient(180deg, rgba(10, 22, 43, 0.95) 0%, rgba(3, 7, 18, 1) 100%);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-dim);
  margin-bottom: 1rem;
}

.breadcrumbs a {
  color: var(--text-muted);
}

.breadcrumbs a:hover {
  color: var(--gold-primary);
}

/* ==========================================================================
   TACTICAL COURSE MODAL
   ========================================================================== */
.tactical-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tactical-modal-backdrop.open {
  display: flex;
  opacity: 1;
}

.tactical-modal-content {
  background: linear-gradient(145deg, #0e1e3b 0%, #050b18 100%);
  border: 2px solid var(--gold-border);
  border-radius: var(--radius-lg);
  max-width: 650px;
  width: 100%;
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 40px rgba(253, 184, 19, 0.2);
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 90vh;
  overflow-y: auto;
}

.tactical-modal-backdrop.open .tactical-modal-content {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-active);
  color: #cbd5e1;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--gold-primary);
  color: #040813;
}

/* ==========================================================================
   SCROLL REVEAL UTILITIES
   ========================================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-visual {
    order: -1;
  }
  
  .virtual-range-grid {
    grid-template-columns: 1fr;
  }
  
  .diff-grid, .courses-grid, .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

/* ==========================================================================
   MOBILE TACTICAL DRAWER (OFF-CANVAS)
   ========================================================================== */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: rgba(2, 6, 17, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

body.drawer-open {
  overflow: hidden !important;
  touch-action: none;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 330px;
  max-width: 86vw;
  height: 100vh;
  height: 100dvh;
  background: linear-gradient(180deg, #070e1c 0%, #030712 100%);
  border-left: 2px solid var(--gold-border);
  box-shadow: -15px 0 50px rgba(0, 0, 0, 0.95);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  transform: translateX(105%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.mobile-drawer.active {
  transform: translateX(0);
}

.drawer-header {
  padding: 1.15rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(4, 8, 19, 0.85);
}

.drawer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.drawer-logo-wrap {
  width: 36px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.drawer-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 8px var(--gold-glow));
}

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

.drawer-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #ffffff;
  line-height: 1;
}

.drawer-subtitle {
  font-size: 0.62rem;
  letter-spacing: 1.5px;
  color: var(--gold-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  margin-top: 3px;
}

.drawer-close {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: #cbd5e1;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.drawer-close:hover, .drawer-close:focus-visible {
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
  color: #ef4444;
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.drawer-pf-badge {
  background: rgba(253, 184, 19, 0.08);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--gold-primary);
  letter-spacing: 0.5px;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
}

.drawer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.drawer-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-sm);
  color: #cbd5e1;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  position: relative;
}

.drawer-link-icon {
  width: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.drawer-link:hover, .drawer-link.active {
  background: rgba(253, 184, 19, 0.1);
  border-color: var(--gold-border);
  color: #ffffff;
  padding-left: 1.15rem;
}

.drawer-link:hover .drawer-link-icon, .drawer-link.active .drawer-link-icon {
  color: var(--gold-primary);
}

.drawer-link.highlight-link {
  background: rgba(253, 184, 19, 0.06);
  border: 1px dashed rgba(253, 184, 19, 0.4);
}

.drawer-badge-pill {
  margin-left: auto;
  font-size: 0.62rem;
  background: var(--gold-primary);
  color: #040813;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.drawer-cta-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 0.25rem;
}

.btn-block {
  width: 100%;
  justify-content: center;
  text-align: center;
}

.drawer-footer-info {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.76rem;
  color: #94a3b8;
}

.drawer-info-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  line-height: 1.4;
}

.drawer-info-estandes {
  margin-top: 0.25rem;
  padding: 0.4rem 0.6rem;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-sm);
  color: #10b981;
  font-size: 0.72rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 992px) {
  .mobile-toggle {
    display: flex !important;
  }
  
  .nav-menu {
    display: none !important;
  }
  
  .d-none-sm {
    display: none !important;
  }

  .topbar-right {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .sim-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .diff-grid, .courses-grid, .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .trust-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .simulator-box {
    padding: 1.75rem 1.25rem;
  }
  
  .floating-whatsapp-wrap {
    bottom: 1.25rem;
    right: 1.25rem;
  }
  
  .whatsapp-tooltip {
    display: none;
  }
}

@media (max-width: 576px) {
  .brand-subtitle {
    display: none;
  }

  .brand-title {
    font-size: 1.25rem;
  }

  .brand-logo-container {
    width: 38px;
    height: 44px;
  }

  .navbar {
    padding: 0.6rem 0;
  }
}
